/* ============================================================
   KOLIBRIIIK STUDIO — style.css
   Svetlý minimalistický dizajn · Space Grotesk + Inter
   Akcent: oranžová · geometrické tvary s parallax animáciou
   ============================================================ */

/* ---------- 1. Premenné + reset ---------- */

:root {
  --bg:           #FAF8F4;
  --surface:      #FFFFFF;
  --ink:          #1B1815;
  --body:         #3E3A33;
  --muted:        #5D574E;
  --line:         #E9E3D8;
  --line-strong:  #D8D0C0;
  --accent:       #C2410C;
  --accent-deep:  #9A3412;
  --accent-soft:  #F3DBCE;
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Veľkosť textu v otvorenom burger menu (tlačidlá + spodný text).
     1 = pôvodná veľkosť, 1.2 = o 20 % väčšie, 0.9 = menšie. */
  --menu-text-scale: .7;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  /* Skryť automatický scrollbar prehliadača (stránka stále roluje) */
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE / staršie Edge */
}

/* Skryť scrollbar v Chrome, Safari, novom Edge */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.container--narrow {
  width: min(800px, 100% - 48px);
}

/* ---------- 2. Typografické utility ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
}

/* ---------- 3. Geometrické tvary ---------- */

.gs {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--s, 80px);
  height: var(--s, 80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.gs-i {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  animation: gsFloat var(--d, 8s) ease-in-out var(--dl, 0s) infinite alternate;
}

.gs-i::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--o, 1);
  transition: opacity 1.1s ease, transform 0.4s ease;
}

body.js:not(.is-ready) .gs-i::before {
  opacity: 0;
}

@keyframes gsFloat {
  from { transform: translate(-6px, -17px) rotate(-1.2deg); }
  to   { transform: translate(6px, 20px) rotate(1.2deg); }
}

.gs-circle::before {
  border: 1.5px solid rgba(27, 24, 21, 0.25);
  border-radius: 50%;
}

.gs-dot::before {
  background: var(--accent);
  border-radius: 50%;
}

.gs-ring::before {
  border: calc(var(--s, 120px) / 11) solid var(--accent);
  border-radius: 50%;
}

.gs-square::before {
  border: 2px solid rgba(27, 24, 21, 0.3);
  transform: rotate(45deg);
}

.gs-tri::before {
  background: var(--accent-soft);
  -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.gs-plus::before {
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 20% no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 20% 100% no-repeat;
}

.gs-dots {
  --o: 0.75;
}

.gs-dots::before {
  background-image: radial-gradient(circle, rgba(27, 24, 21, 0.3) 1.5px, transparent 1.7px);
  background-size: 18px 18px;
}

.gs-half::before {
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  top: 25%;
  bottom: 25%;
}

/* ---------- 4. Tlačidlá ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.75rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ---------- 5. Hlavička + navigácia ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(250, 248, 244, 0.85);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-iii {
  color: var(--accent);
  transition: letter-spacing 0.3s ease;
}

.logo:hover .logo-iii {
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav a:not(.nav-cta) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body);
  padding: 0.2rem 0;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--ink);
  background-size: 100% 2px;
}

.nav-cta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.48rem 1.15rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobilné menu */

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.5rem clamp(1.5rem, 8vw, 4rem) 2.5rem;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

body.menu-open .menu-panel {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.menu-panel-links a {
  display: block;
  font-family: var(--font-head);
  font-size: calc(clamp(2rem, 9vw, 2.7rem) * var(--menu-text-scale));
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 0.45rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.3s ease;
}

.menu-panel-links a:hover {
  color: var(--accent-deep);
}

body.menu-open .menu-panel-links a {
  opacity: 1;
  transform: none;
}

body.menu-open .menu-panel-links a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .menu-panel-links a:nth-child(2) { transition-delay: 0.14s; }
body.menu-open .menu-panel-links a:nth-child(3) { transition-delay: 0.2s; }
body.menu-open .menu-panel-links a:nth-child(4) { transition-delay: 0.26s; }

.menu-panel-tag {
  margin-top: auto;
  color: var(--muted);
  font-size: calc(0.92rem * var(--menu-text-scale));
}

.menu-gs {
  right: -50px;
  bottom: -50px;
  left: auto;
  top: auto;
  width: 230px;
  height: 230px;
  --o: 0.4;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- 6. Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(8rem, 16vh, 10rem) 0 clamp(4rem, 8vh, 6rem);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-inner {
  max-width: 1120px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw + 0.6rem, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 15ch;
  margin-bottom: 1.6rem;
}

.accent-word {
  font-style: normal;
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) left 88% / 100% 0.36em no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2.4rem;
}

/* ---------- 7. Služby — karty ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.7rem 1.9rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #F0C4A8;
}

.card-shape {
  position: absolute;
  top: 1.7rem;
  right: 1.6rem;
  width: 30px;
  height: 30px;
}

.card-shape .gs-i {
  animation: none;
}

.card:hover .gs-dot::before {
  transform: scale(1.18);
}

.card:hover .gs-square::before {
  transform: rotate(135deg);
}

.card:hover .gs-tri::before {
  transform: translateY(-4px);
}

.card-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  margin: 1.5rem 0 1rem;
  color: transparent;
  -webkit-text-stroke: 1.3px #CFC7B8;
  transition: -webkit-text-stroke-color 0.35s ease;
}

.card:hover .card-num {
  -webkit-text-stroke-color: var(--accent);
}

@supports not (-webkit-text-stroke: 1px #000) {
  .card-num {
    color: #DCD4C5;
  }
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--muted);
}

.note {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  max-width: 820px;
  padding: 1.35rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  font-size: 1.02rem;
  color: var(--body);
}

/* ---------- 8. Postup — kroky ---------- */

.steps {
  list-style: none;
  max-width: 780px;
}

.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.step:first-child {
  border-top: 0;
  padding-top: 0.4rem;
}

.step:last-child {
  padding-bottom: 0.4rem;
}

.step-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 0.2rem;
  color: transparent;
  -webkit-text-stroke: 1.2px #CFC7B8;
  transition: -webkit-text-stroke-color 0.3s ease;
}

.step:hover .step-num {
  -webkit-text-stroke-color: var(--accent);
}

@supports not (-webkit-text-stroke: 1px #000) {
  .step-num {
    color: #DCD4C5;
  }
}

.step-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.step-body p {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- 9. FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem 0.2rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.faq-q:hover {
  color: var(--accent-deep);
}

.faq-icon {
  position: relative;
  flex: 0 0 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--accent-deep);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.faq-a {
  display: none;
}

.faq-a-inner {
  padding: 0.1rem 0.2rem 1.6rem;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.75;
}

.faq-a-inner p + p {
  margin-top: 0.8rem;
}

.faq-a-inner strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 10. Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info .section-head {
  margin-bottom: 0;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.contact-lead {
  color: var(--muted);
  max-width: 30rem;
  margin: 1.2rem 0 2.2rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: grid;
  gap: 0.1rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list li > span + span {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
  width: fit-content;
}

.contact-list a {
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.contact-list a:hover {
  color: var(--accent-deep);
  background-size: 100% 2px;
}

.contact-form {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: grid;
  gap: 1.15rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #FBFAF7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #A9A296;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
  margin-top: -0.4rem;
}

.form-privacy a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-soft);
  transition: text-decoration-color 0.3s ease;
}

.form-privacy a:hover {
  text-decoration-color: var(--accent);
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

.form-status.is-ok {
  display: block;
  background: #EAF5EC;
  border: 1px solid #CBE7D2;
  color: #1F6B3B;
}

.form-status.is-err {
  display: block;
  background: #FCEDE9;
  border: 1px solid #F3D2C8;
  color: #AE3A20;
}

/* ---------- 11. Pätička ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-slogan {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 30rem;
  margin-top: 0.6rem;
}

.footer-contact {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
}

.footer-contact a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-deep);
}

.footer-legal {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.footer-legal-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer-legal-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.55rem 2rem;
  font-size: 0.86rem;
  color: var(--body);
}

.footer-legal-list span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.footer-legal-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-deep);
  text-decoration-color: var(--accent);
}

/* ---------- 12. Právna stránka ---------- */

.legal {
  padding-top: clamp(8rem, 16vh, 10rem);
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-date {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-intro {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--body);
}

.legal-block {
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.legal-num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 50%;
}

.legal-block p,
.legal-block li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-block p + p,
.legal-block p + ul {
  margin-top: 0.7rem;
}

.legal-block ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.legal-block li {
  position: relative;
  padding-left: 1.25rem;
}

.legal-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}

.legal-block a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-soft);
  transition: text-decoration-color 0.3s ease;
}

.legal-block a:hover {
  text-decoration-color: var(--accent);
}

.legal-back {
  margin-top: 3rem;
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s ease;
}

.legal-back a:hover {
  color: var(--accent-deep);
}

.btn-arrow--back {
  display: inline-block;
  transition: transform 0.3s ease;
}

.legal-back a:hover .btn-arrow--back {
  transform: translateX(-4px);
}

/* ---------- 13. Scroll reveal ---------- */

body.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.js .reveal.d1 { transition-delay: 0.1s; }
body.js .reveal.d2 { transition-delay: 0.2s; }
body.js .reveal.d3 { transition-delay: 0.3s; }

body.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 14. Responzivita ---------- */

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .gs--desktop {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .container,
  .container--narrow {
    width: calc(100% - 40px);
  }

  .hero h1 {
    max-width: none;
  }

  .step {
    grid-template-columns: 62px 1fr;
    gap: 1.1rem;
    padding: 1.5rem 0;
  }

  .step-num {
    font-size: 1.9rem;
  }

  .faq-q {
    font-size: 1rem;
    padding: 1.2rem 0.1rem;
  }

  .faq-icon {
    flex-basis: 30px;
    height: 30px;
  }

  .card {
    padding: 1.7rem 1.4rem 1.6rem;
  }

  .footer-contact {
    justify-items: start;
  }
}

/* ---------- 15. Obmedzený pohyb ---------- */

@media (prefers-reduced-motion: reduce) {
  .gs-i {
    animation: none;
  }

  body.js:not(.is-ready) .gs-i::before {
    opacity: var(--o, 1);
  }

  body.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
