/* =========================================================
   Účetnictví Krejčí — styles.css
   Art direction: calm · ordered · trustworthy
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --navy:        #1F3A5F;
  --navy-700:    #274a78;
  --navy-900:    #16293f;
  --ink:         #1b2430;
  --muted:       #5a6673;
  --muted-2:     #7c8794;
  --line:        #e6e2da;
  --line-strong: #d8d3c9;
  --cream:       #f7f4ef;
  --cream-2:     #f1ece3;
  --white:       #ffffff;
  --accent:      #2f7d5b;   /* calm trust green */
  --accent-700:  #256349;
  --accent-soft: #e7f1eb;

  /* type */
  --font-head: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* fluid scale */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.24vw, 1.14rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3vw, 4rem);

  /* space */
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(31,58,95,.05), 0 4px 14px rgba(31,58,95,.05);
  --shadow-md: 0 12px 34px -12px rgba(31,58,95,.22);
  --shadow-lg: 0 30px 70px -30px rgba(22,41,63,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -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);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
  text-wrap: balance;
}

::selection { background: var(--navy); color: #fff; }

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

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: .6rem 1.1rem; border-radius: 0 0 10px 10px;
  z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.eyebrow-light { color: #a9e3c7; }
.eyebrow-light .dot { background: #7fd4a8; box-shadow: 0 0 0 4px rgba(127,212,168,.18); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.section-sub a { color: var(--accent-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--step-0);
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s;
  will-change: transform;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(31,58,95,.5); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); background: rgba(255,255,255,.6); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,239,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(247,244,239,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(31,58,95,.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); }
.brand-mark { display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .72rem; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.5rem); }
.nav-links a { font-size: .95rem; color: var(--ink); font-weight: 500; position: relative; padding: .3rem 0; transition: color .2s; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--navy); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: .6rem 1.15rem; border-radius: 999px; font-weight: 600;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(47,125,91,.10), transparent 55%),
    radial-gradient(90% 80% at -10% 20%, rgba(31,58,95,.08), transparent 60%),
    linear-gradient(180deg, var(--white), var(--cream) 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 60% at 60% 30%, #000, transparent 75%);
  opacity: .35;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy h1 { font-size: var(--step-4); margin: .3rem 0 1.3rem; }
.hero-copy .lead { font-size: var(--step-1); color: var(--muted); max-width: 34ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.8rem; }
.hero-assurances { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.hero-assurances li { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink); font-weight: 500; }
.hero-assurances svg { color: var(--accent); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-figure {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.7);
  aspect-ratio: 4 / 4.7;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(22,41,63,.28)); }
.hero-badge {
  position: absolute; left: -18px; bottom: 34px; z-index: 2;
  background: #fff; border-radius: 18px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: .8rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.hero-badge strong { font-family: var(--font-head); font-size: 2.4rem; color: var(--accent); line-height: 1; font-weight: 700; }
.hero-badge span { font-size: .82rem; color: var(--muted); line-height: 1.25; }

/* ---------- Trust / stats ---------- */
.trust { background: var(--navy); color: #fff; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.stat { text-align: center; position: relative; padding: .4rem 1rem; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.14); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.stat-label { display: block; margin-top: .6rem; font-size: .9rem; color: #b9c6d6; line-height: 1.4; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--white), var(--cream)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--navy)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-700); margin-bottom: 1.2rem;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card-icon { background: var(--navy); color: #fff; transform: rotate(-4deg); }
.card h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- How it works ---------- */
.how { background: var(--cream); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; }
.step::before {
  content: ""; position: absolute; top: calc(1.5rem + 27px); left: 60px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}
.steps .step:last-child::before { display: none; }
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line-strong); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; max-width: 34ch; }

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, var(--cream), var(--white)); }
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-list { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1.4rem; }
.why-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; flex-shrink: 0; }
.why-list h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.why-list p { color: var(--muted); font-size: .96rem; }
.why-figure { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.5; border: 1px solid rgba(255,255,255,.7); }
.why-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-figure { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.7; border: 1px solid var(--line); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.about-figure figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(22,41,63,.82); color: #dfe7f0; font-size: .78rem; padding: .5rem .8rem; border-radius: 10px;
  backdrop-filter: blur(4px);
}
.about-copy h2 { font-size: var(--step-3); margin-bottom: .3rem; }
.about-role { color: var(--accent-700); font-family: var(--font-head); font-weight: 600; margin-bottom: 1.3rem; }
.about-copy p { color: var(--muted); margin-bottom: 1rem; }
.creds { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.creds li { display: flex; align-items: baseline; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.creds strong { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; min-width: 72px; }
.creds span { color: var(--muted); font-size: .95rem; }

/* ---------- References ---------- */
.refs { background: var(--cream); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: #e0a92e; letter-spacing: 2px; font-size: 1rem; }
.quote blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.q-avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; flex-shrink: 0;
}
.q-meta { display: flex; flex-direction: column; line-height: 1.25; }
.q-meta strong { color: var(--navy); font-size: .98rem; }
.q-meta em { font-style: normal; color: var(--muted-2); font-size: .84rem; }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, var(--cream), var(--white)); }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.3rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq-plus::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-plus::after { left: 9px; top: 2px; width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); padding-bottom: 1.3rem; font-size: .98rem; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(90% 70% at 90% 0%, rgba(47,125,91,.25), transparent 55%);
}
.contact > * { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-copy h2 { color: #fff; font-size: var(--step-3); margin-bottom: 1rem; }
.contact-copy .section-sub { color: #c3d0e0; }
.contact-details { list-style: none; padding: 0; margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.contact-details li { display: flex; align-items: center; gap: 1rem; }
.c-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #a9e3c7; flex-shrink: 0; }
.c-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8ba0b8; }
.contact-details a { color: #fff; font-weight: 500; }
.contact-details a:hover { color: #a9e3c7; }
.contact-details div span:last-child:not(.c-label) { color: #e5edf6; }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); }
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); font-family: var(--font-head); }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.1); }
.field-error { color: #c0392b; font-size: .8rem; min-height: 1em; }
.form-note { font-size: .8rem; color: var(--muted-2); text-align: center; }
.form-status { text-align: center; font-weight: 600; padding: .9rem 1rem; border-radius: 10px; font-size: .95rem; }
.form-status.success { background: var(--accent-soft); color: var(--accent-700); }
.form-status.error { background: rgba(192,57,43,.1); color: #c0392b; }

.map-wrap { margin-top: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.12); line-height: 0; }
.map-wrap iframe { filter: grayscale(.25) contrast(1.04); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c3d0e0; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand-mark { color: var(--accent); margin-bottom: .8rem; }
.footer-brand strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.2rem; margin-bottom: .6rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; color: #9fb1c6; }
.footer-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: .92rem; }
.footer-col a:hover { color: #a9e3c7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #8195ad; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.35rem; border-radius: 999px; box-shadow: 0 14px 34px -10px rgba(47,125,91,.6);
  transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease), background .25s;
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; }
.sticky-cta:hover { background: var(--accent-700); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .why-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .why-figure, .about-figure { max-width: 460px; margin-inline: auto; }
  .about-grid { direction: ltr; }
  .about-figure { order: -1; }
  .faq-head { position: static; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.2rem; align-items: start; padding-top: 0; }
  .step-num { margin-bottom: 0; }
  .step h3 { grid-column: 2; }
  .step p { grid-column: 2; }
  .step::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .stat:nth-child(3)::before, .stat:nth-child(odd)::before { display: none; }
}

@media (max-width: 760px) {
  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .4s var(--ease), opacity .3s var(--ease);
  }
  .nav-links.open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 1rem; padding: .9rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .cards, .quotes { grid-template-columns: 1fr; }
  .hero-copy .lead { max-width: none; }
  .hero-badge { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}
