/* ============================================================
   Autoškola Blažek — styles.css
   Art direction: "Zelená na semaforu" — confident cobalt blue
   + energetic lime accent, fresh & trustworthy, road motifs.
   ============================================================ */

:root {
  /* Brand */
  --blue: #1f4dff;
  --blue-600: #123bd6;
  --blue-700: #0b2fb8;
  --blue-900: #071d47;
  --ink: #0c1730;
  --ink-soft: #43506b;
  --lime: #c6f24e;
  --lime-600: #a9e02a;

  /* Surfaces */
  --paper: #ffffff;
  --mist: #eef3ff;
  --mist-2: #f5f8ff;
  --line: #dfe6f5;
  --dark: #0a1430;
  --dark-2: #0f1b3d;

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Metrics */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(12, 23, 48, .06);
  --shadow: 0 18px 40px rgba(12, 23, 48, .10);
  --shadow-lg: 0 30px 70px rgba(11, 47, 184, .18);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap; will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--accent { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px rgba(169, 224, 42, .4); }
.btn--accent:hover { background: var(--lime-600); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(169, 224, 42, .5); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(31, 77, 255, .35); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 77, 255, .45); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: inherit; border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.08rem; }
.btn--full { width: 100%; }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.brand__mark { color: var(--blue); display: inline-flex; }
.brand__text strong { color: var(--blue); font-weight: 800; }

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links > a:not(.btn) { font-size: .97rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: .3rem 0; transition: color .2s; }
.nav__links > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--blue); border-radius: 2px; transition: width .25s var(--ease); }
.nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__links > a:not(.btn):hover::after { width: 100%; }
.nav__cta { margin-left: .3rem; }

.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 12px; }
.hamburger span { width: 24px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; padding: clamp(2.5rem, 1rem + 6vw, 5.5rem) 0 clamp(3rem, 2rem + 5vw, 6rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(31, 77, 255, .5), transparent 70%); top: -160px; right: -120px; animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(198, 242, 78, .55), transparent 70%); bottom: -180px; left: -140px; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(-40px, 50px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(50px, -40px) scale(1.08); } }
.road-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, transparent 0 60px, rgba(31, 77, 255, .04) 60px 62px);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-700); background: var(--mist); padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.eyebrow--center { display: inline-flex; }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .12); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-600); box-shadow: 0 0 0 0 rgba(169, 224, 42, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(169, 224, 42, .6); } 70% { box-shadow: 0 0 0 10px rgba(169, 224, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 224, 42, 0); } }

.hero__copy h1 .hl { position: relative; color: var(--blue); white-space: nowrap; }
.hero__copy h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .34em; background: var(--lime); z-index: -1; border-radius: 4px; transform: skewX(-8deg); }
.hero__lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); max-width: 34ch; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 2.2rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.hero__badges svg { width: 20px; height: 20px; flex: none; stroke: var(--blue); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; background: var(--mist); border-radius: 50%; padding: 3px; }

.hero__media { position: relative; }
.hero__img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; transform: rotate(1.4deg); }
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(7, 29, 71, .35)); }

.hero__float { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: .85rem 1.1rem; display: flex; flex-direction: column; }
.hero__float--rating { top: 6%; left: -6%; }
.hero__float--rating .stars { color: #ffb300; letter-spacing: 2px; font-size: .9rem; }
.hero__float--rating strong { font-family: var(--font-display); font-size: 1.3rem; }
.hero__float--rating span { font-size: .78rem; color: var(--ink-soft); }
.hero__float--pass { bottom: 7%; right: -7%; flex-direction: row; align-items: center; gap: .7rem; }
.hero__float-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.hero__float--pass span:last-child { font-size: .82rem; font-weight: 600; max-width: 9ch; }
.float-anim { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font-display); }
.scroll-hint span { width: 24px; height: 38px; border: 2px solid var(--line); border-radius: 14px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 5px; height: 8px; background: var(--blue); border-radius: 3px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ----------------------------- Trust / counters ----------------------------- */
.trust { padding: clamp(2rem, 1rem + 3vw, 3.2rem) 0; background: var(--dark); color: #fff; position: relative; }
.trust::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(31, 77, 255, .35), transparent 55%); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; text-align: center; }
.stat { padding: .5rem; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1; color: var(--lime); }
.stat__label { margin-top: .6rem; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.trust__grid .stat:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .1); }

/* ----------------------------- Sections ----------------------------- */
.section { padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0; }
.section--mist { background: var(--mist-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 720px; margin: 0 auto clamp(2.2rem, 1.5rem + 2vw, 3.6rem); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.08rem; }
.section--dark .section__sub { color: rgba(255, 255, 255, .8); }
.section__sub a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------- Cards (kurzy) ----------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card--feature { border-color: var(--blue); box-shadow: 0 20px 44px rgba(31, 77, 255, .12); }
.card__tag { position: absolute; top: -12px; left: 1.5rem; background: var(--blue); color: #fff; font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 28px; height: 28px; stroke: var(--blue); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .6rem; }
.card > p { color: var(--ink-soft); font-size: .96rem; }
.card__list { margin: 1.1rem 0 1.4rem; display: grid; gap: .55rem; }
.card__list li { position: relative; padding-left: 1.6rem; font-size: .9rem; color: var(--ink-soft); }
.card__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--lime-600); border-bottom: 2px solid var(--lime-600); transform: rotate(-45deg); }
.card__link { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--blue); font-size: .95rem; transition: gap .2s, color .2s; }
.card__link:hover { color: var(--blue-700); }

/* ----------------------------- Pricing ----------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { background: linear-gradient(180deg, var(--blue-700), var(--blue)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card--featured .price-card__desc { color: rgba(255, 255, 255, .82); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: .4rem 1rem; border-radius: 999px; }
.price-card__name { font-size: 1.35rem; }
.price-card--featured .price-card__name { color: #fff; }
.price-card__desc { color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 1.2rem 0 1.4rem; }
.price-card__price span { font-size: 2.6rem; }
.price-card__price small { font-size: .95rem; font-weight: 500; opacity: .7; }
.price-card__list { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.price-card__list li { position: relative; padding-left: 1.7rem; font-size: .95rem; }
.price-card__list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--mist); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4dff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.price-card--featured .price-card__list li::before { background-color: rgba(255, 255, 255, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f24e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.pricing__note { text-align: center; color: var(--ink-soft); font-size: .88rem; margin-top: 1.8rem; max-width: 60ch; margin-inline: auto; }

/* ----------------------------- Steps ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 24px); z-index: 0; }
.step { position: relative; text-align: center; padding-top: .5rem; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(31, 77, 255, .3); }
.step:nth-child(5) .step__num { background: var(--lime); color: var(--ink); box-shadow: 0 8px 20px rgba(169, 224, 42, .4); }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .9rem; }

/* ----------------------------- Why ----------------------------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.why__item { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 1.7rem; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.why__item:hover { transform: translateY(-5px); border-color: rgba(198, 242, 78, .5); background: #13235a; }
.why__icon { width: 50px; height: 50px; border-radius: 13px; background: rgba(31, 77, 255, .25); display: grid; place-items: center; margin-bottom: 1rem; }
.why__icon svg { width: 26px; height: 26px; stroke: var(--lime); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { margin-bottom: .5rem; }
.why__item p { color: rgba(255, 255, 255, .78); font-size: .95rem; }

/* ----------------------------- About ----------------------------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.about__stamp { position: absolute; bottom: -18px; right: -14px; background: var(--lime); color: var(--ink); border-radius: 16px; padding: 1rem 1.3rem; box-shadow: var(--shadow); text-align: center; transform: rotate(-4deg); }
.about__stamp strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.about__stamp span { font-size: .82rem; font-weight: 600; }
.about__copy h2 { margin-bottom: 1.2rem; }
.about__copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.about__points { display: grid; gap: .7rem; margin: 1.6rem 0 2rem; }
.about__points li { position: relative; padding-left: 1.8rem; }
.about__points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--mist); }
.about__points strong { color: var(--ink); }

/* ----------------------------- Reviews ----------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; }
.review::before { content: "\201C"; position: absolute; top: -.2rem; right: 1.2rem; font-family: var(--font-display); font-size: 5rem; color: var(--mist); line-height: 1; }
.review__stars { color: #ffb300; letter-spacing: 2px; margin-bottom: 1rem; }
.review blockquote { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.review figcaption { display: flex; align-items: center; gap: .8rem; }
.review__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex: none; }
.review figcaption strong { display: block; font-family: var(--font-display); }
.review figcaption small { color: var(--ink-soft); font-size: .84rem; }

/* ----------------------------- FAQ ----------------------------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.faq__list { display: grid; gap: .8rem; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::before { top: 10px; left: 3px; right: 3px; height: 2.4px; }
.faq__icon::after { left: 10px; top: 3px; bottom: 3px; width: 2.4px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__item[open] .faq__answer { max-height: 320px; }
.faq__answer p { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); font-size: .96rem; }

/* ----------------------------- Contact ----------------------------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.8rem; align-items: start; }
.contact__form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); box-shadow: var(--shadow); }
.form__row { margin-bottom: 1.1rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist-2); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 77, 255, .12); }
.field.is-invalid input, .field.is-invalid select { border-color: #e23b3b; background: #fff5f5; }
.field__error { color: #d32828; font-size: .82rem; min-height: 1em; }
.field__error:empty { min-height: 0; }

.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 .3rem; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; flex: none; accent-color: var(--blue); margin-top: .1rem; }
.form__note { color: var(--ink-soft); font-size: .82rem; margin-top: .9rem; text-align: center; }
.btn.btn--full { margin-top: .5rem; }

.form__success { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; padding: 1.1rem 1.3rem; background: #ecfbe6; border: 1.5px solid var(--lime-600); border-radius: 14px; animation: pop .4s var(--ease); }
.form__success svg { width: 34px; height: 34px; flex: none; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; background: var(--lime-600); border-radius: 50%; padding: 6px; }
.form__success strong { font-family: var(--font-display); }
.form__success p { font-size: .9rem; color: var(--ink-soft); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

.contact__card { background: linear-gradient(180deg, var(--blue-700), var(--blue)); color: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); margin-bottom: 1.4rem; }
.contact__card h3 { color: #fff; margin-bottom: 1.2rem; }
.contact__details { display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact__details li { display: flex; align-items: flex-start; gap: .85rem; font-size: .96rem; }
.contact__details svg { width: 24px; height: 24px; flex: none; stroke: var(--lime); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact__details a { text-decoration: none; }
.contact__details a:hover { text-decoration: underline; }
.contact__card .btn--primary { background: var(--lime); color: var(--ink); box-shadow: none; }
.contact__card .btn--primary:hover { background: var(--lime-600); }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact__map iframe { display: block; }

/* ----------------------------- Footer ----------------------------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .78); padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer .brand__mark { color: var(--lime); }
.brand--footer .brand__text strong { color: var(--lime); }
.footer__brand p { font-size: .92rem; max-width: 32ch; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a, .footer__col li { font-size: .92rem; color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* ----------------------------- Sticky CTA ----------------------------- */
.sticky-cta {
  position: fixed; z-index: 90; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700;
  padding: .95rem 2.2rem; border-radius: 999px; box-shadow: 0 14px 34px rgba(11, 47, 184, .3);
  transition: transform .4s var(--ease); display: none;
}
.sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }

/* ----------------------------- Reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.2rem; }
  .steps::before { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .trust__grid .stat:nth-child(2) { border-right: none; }
  .trust__grid .stat { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1.4rem; }
  .trust__grid .stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; order: -1; }
  .hero__lead { max-width: 48ch; }
  .scroll-hint { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .faq { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem 1.2rem 1.6rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .4s var(--ease); z-index: 99;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links > a:not(.btn) { padding: .95rem .3rem; border-bottom: 1px solid var(--mist); font-size: 1.05rem; }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }
  .sticky-cta { display: inline-flex; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__float--rating { left: 0; top: 3%; }
  .hero__float--pass { right: 0; bottom: 3%; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__grid .stat { border-right: none; }
}
