/* ==========================================================================
   Fiduciaasoft — Fiduciaa Soft Solutions
   Design system + site styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0B2547;
  --navy-800: #0F2E5C;
  --navy-700: #123A6B;
  --navy-600: #1B4E8A;
  --navy-100: #E8EEF7;
  --navy-050: #F4F7FC;

  --teal-600: #0A9791;
  --teal-500: #0FB3AC;
  --teal-400: #38C9C2;
  --teal-100: #DDF5F3;

  --ink: #10203A;
  --body: #4A5A73;
  --muted: #6B7B94;
  --line: #E2E8F1;
  --surface: #FFFFFF;
  --canvas: #FBFCFE;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 58, .06), 0 2px 8px rgba(16, 32, 58, .04);
  --shadow: 0 2px 6px rgba(16, 32, 58, .06), 0 14px 34px rgba(16, 32, 58, .08);
  --shadow-lg: 0 30px 70px rgba(11, 37, 71, .16);

  --wrap: 1140px;
  --gutter: 24px;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--teal-600); }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .5em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--alt { background: var(--canvas); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy-800); color: #C6D5EA; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 52ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Section headers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal-500); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.section--navy .eyebrow { color: var(--teal-400); }

.section-head { max-width: 44rem; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--body); }
.section--navy .lead { color: #B9CBE4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); text-align: center;
}
.btn--primary { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--teal-500); color: #000; }
.btn--accent:hover { background: var(--teal-400); color: #000; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line); color: var(--navy-700); background: #fff; }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-800); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--navy-700);
}
.arrow-link svg { transition: transform .22s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.32rem;
  color: var(--navy-700); letter-spacing: -.025em;
}
.brand-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--ink); padding: 9px 14px; border-radius: 8px; transition: all .18s var(--ease);
}
.nav a:hover { color: var(--navy-700); background: var(--navy-050); }
.nav a.is-active { color: var(--teal-600); }
.header-cta { margin-left: 10px; padding: 11px 22px; }

/* `.nav a` (0,1,1) out-specifies `.btn--primary` (0,1,0), so the header button's
   own colours have to be restated here or the label inherits the nav link ink. */
.nav a.btn--primary,
.nav a.btn--primary:hover,
.nav a.btn--primary.is-active { color: #fff; }
.nav a.btn--primary { background: var(--navy-700); }
.nav a.btn--primary:hover { background: var(--navy-800); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-700); border-radius: 2px; position: relative; transition: all .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: all .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -12%, rgba(15,179,172,.16), transparent 62%),
    radial-gradient(760px 440px at 6% 0%, rgba(27,78,138,.10), transparent 60%),
    linear-gradient(180deg, #FBFDFE 0%, #F3F7FC 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(60px, 7vw, 104px) 0 clamp(64px, 7vw, 100px);
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent {
  background: linear-gradient(180deg, transparent 62%, rgba(15,179,172,.32) 62%);
  padding: 0 .06em;
}
.hero-lead { font-size: 1.16rem; max-width: 34rem; }
.hero-note { margin-top: 26px; font-size: .9rem; color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px 7px 8px; font-size: .84rem; font-weight: 600; color: var(--navy-700);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pill .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--teal-100); display: grid; place-items: center; }
.pill .dot i { width: 7px; height: 7px; background: var(--teal-500); border-radius: 50%; display: block; }

/* Hero visual — AI CFO console mock */
.console {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--line); background: var(--navy-050);
}
.console-bar .lights { display: flex; gap: 6px; }
.console-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #CBD6E6; display: block; }
.console-bar .lights i:first-child { background: var(--teal-400); }
.console-title { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--navy-700); letter-spacing: .01em; }
.console-body { padding: 22px; display: grid; gap: 16px; }

.ask {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--navy-100);
  background: var(--navy-050); border-radius: 12px; padding: 12px 14px;
  font-size: .92rem; color: var(--ink); font-weight: 500;
}
.ask svg { flex: none; }
.answer {
  border-left: 3px solid var(--teal-500); background: #F7FDFC;
  border-radius: 0 12px 12px 0; padding: 12px 16px; font-size: .92rem; color: var(--body);
}
.answer strong { color: var(--ink); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.kpi span { display: block; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kpi b { font-family: var(--font-display); font-size: 1.28rem; color: var(--navy-800); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .76rem; color: var(--teal-600); font-weight: 600; }

.spark { display: flex; align-items: flex-end; gap: 7px; height: 74px; padding-top: 4px; }
.spark i {
  display: block; flex: 1; border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700)); opacity: .82;
}
.spark i:nth-child(4) { background: linear-gradient(180deg, var(--teal-400), var(--teal-600)); opacity: 1; }
.mock-caption { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: all .24s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D3DEEC; }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .97rem; }
.card .arrow-link { margin-top: auto; padding-top: 18px; }

.card-num {
  font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  color: var(--teal-600); margin-bottom: 14px; display: block;
}

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-050), var(--teal-100));
  border: 1px solid var(--navy-100); margin-bottom: 20px; flex: none;
}
.icon-badge svg { width: 25px; height: 25px; stroke: var(--navy-700); }

/* Problem / landscape cards */
.stack-card {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal-500);
  border-radius: 12px; padding: 22px 24px;
}
.stack-card h4 { margin-bottom: .4em; color: var(--ink); }
.stack-card p { font-size: .95rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
  padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(15,179,172,.16); color: var(--teal-400);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  border: 1px solid rgba(15,179,172,.3);
}
.step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.step p { font-size: .96rem; margin: 0; }

/* ---------- Service detail blocks ---------- */
.service-block { padding: clamp(56px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.service-block--flip .service-copy { order: 2; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  font-size: .8rem; font-weight: 600; font-family: var(--font-display);
  background: var(--navy-050); color: var(--navy-700);
  border: 1px solid var(--navy-100); border-radius: 999px; padding: 6px 14px;
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 0; font-size: .97rem; }
.check-list li::before {
  content: ""; width: 21px; height: 21px; border-radius: 50%; margin-top: 3px;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A9791' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.panel {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.panel h4 { font-family: var(--font-display); color: var(--navy-800); margin-bottom: 18px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Leadership ---------- */
.leader { text-align: left; }
.leader-avatar {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.leader-avatar.alt { background: linear-gradient(150deg, var(--teal-600), var(--teal-500)); }
.leader-role { font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; color: var(--teal-600); margin-bottom: 10px; }

/* ---------- Values ---------- */
.value { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value h4 { color: var(--navy-800); margin-bottom: .45em; }
.value p { font-size: .95rem; margin: 0; }

/* ---------- Stat strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.strip div { border-left: 2px solid rgba(15,179,172,.45); padding-left: 18px; }
.strip b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: 4px; }
.strip span { font-size: .92rem; color: #AFC3DE; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, #14507F 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(15,179,172,.30), transparent 68%);
}
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #C3D4EA; margin: 0; max-width: 46ch; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--teal-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(15,179,172,.14);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #D64545; box-shadow: 0 0 0 4px rgba(214,69,69,.10);
}
.error-msg { font-size: .84rem; color: #C43333; min-height: 0; }
.error-msg:empty { display: none; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-600); }
.consent label { font-family: var(--font-body); font-size: .88rem; color: var(--muted); font-weight: 400; line-height: 1.5; }

.form-note { font-size: .84rem; color: var(--muted); margin-top: 6px; }

.form-status { border-radius: 12px; padding: 16px 18px; font-size: .95rem; margin-bottom: 22px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--teal-100); border: 1px solid #A9E4E0; color: #075B57; }
.form-status.is-error { background: #FDECEC; border: 1px solid #F5C6C6; color: #9B2B2B; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-grid { grid-template-columns: 1.35fr .95fr; gap: 48px; align-items: start; }

/* Contact aside */
.contact-card {
  background: var(--navy-800); color: #C6D5EA; border-radius: var(--radius-lg);
  padding: 34px; height: 100%;
}
.contact-card h3 { color: #fff; }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci-icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.contact-item .ci-icon svg { width: 19px; height: 19px; stroke: var(--teal-400); }
.contact-item b { display: block; color: #fff; font-family: var(--font-display); font-size: .93rem; margin-bottom: 2px; }
.contact-item a { color: #C6D5EA; }
.contact-item a:hover { color: var(--teal-400); }
.contact-item span { font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal-600); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 40px 22px 0; font-size: .97rem; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(760px 380px at 88% -30%, rgba(15,179,172,.16), transparent 60%),
    linear-gradient(180deg, #FBFDFE, #F4F8FC);
  border-bottom: 1px solid var(--line);
  padding: clamp(52px, 6vw, 84px) 0 clamp(48px, 5vw, 70px);
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { max-width: 46rem; }

.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #94A9C6; padding: 68px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #7C93B4; }
.site-footer h5 {
  font-family: var(--font-display); color: #fff; font-size: .78rem; letter-spacing: .13em;
  text-transform: uppercase; margin: 0 0 16px; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #94A9C6; }
.site-footer a:hover { color: var(--teal-400); }

/* Restated for the same specificity reason as the header button above. */
.site-footer a.btn--accent,
.site-footer a.btn--accent:hover { color: #000; }
.footer-about { max-width: 34ch; margin-top: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #7C93B4;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 78px 0 auto; display: none; flex-direction: column;
    align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 26px; box-shadow: var(--shadow); max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .header-cta { margin: 10px 0 0; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .service-block .wrap { grid-template-columns: 1fr; gap: 32px; }
  .service-block--flip .service-copy { order: 0; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .contact-card { padding: 26px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .header-cta { width: 100%; }
}
