/* =========================================================================
   CityWide Commerce -- Design System
   Premium, restrained, corporate. Minimal gradients, no heavy animation.
   ========================================================================= */

:root {
  /* Brand palette */
  --navy-900: #0B2545;
  --navy-800: #123157;
  --navy-700: #1B3E6B;
  --navy-100: #E7ECF4;
  --amber-500: #F4A340;
  --amber-600: #DB8A28;
  --ink-900: #14181F;
  --ink-700: #3C4453;
  --ink-500: #626B7C;
  --ink-300: #9AA3B2;
  --line-200: #E4E8EF;
  --line-100: #EEF1F6;
  --bg-white: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-navy: var(--navy-900);
  --success-600: #1C8A5A;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11,37,69,0.06), 0 1px 1px rgba(11,37,69,0.04);
  --shadow-md: 0 8px 24px rgba(11,37,69,0.08);
  --shadow-lg: 0 20px 48px rgba(11,37,69,0.14);

  --container-w: 1180px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 var(--space-4); color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 var(--space-4); color: var(--ink-700); }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { padding: var(--space-9) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.78); }
.section-tight { padding: var(--space-7) 0; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--amber-600); margin-bottom: var(--space-3);
}
.section-navy .eyebrow { color: var(--amber-500); }

.section-head { max-width: 700px; margin: 0 auto var(--space-7); text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--amber-500); color: var(--navy-900); }
.btn-accent:hover { background: var(--amber-600); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--line-200); }
.btn-outline:hover { border-color: var(--navy-900); }
.section-navy .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.section-navy .btn-outline:hover { border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  /* Solid background rather than a blurred/translucent one: backdrop-filter
     on an ancestor makes it the containing block for any position:fixed
     descendant (e.g. the mobile nav panel below), which breaks that panel's
     full-height layout. A solid header avoids that entirely and is simpler
     and cheaper to paint. */
  position: sticky; top: 0; z-index: 100; background: #ffffff;
  border-bottom: 1px solid var(--line-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-name-full { font-weight: 800; font-size: 1.08rem; color: var(--navy-900); letter-spacing: -0.01em; }

.primary-nav { display: flex; align-items: center; gap: var(--space-6); flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: 0.94rem;
  color: var(--ink-700); border-radius: var(--radius-sm); transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy-900); background: var(--navy-100); }
.nav-caret { width: 12px; height: 12px; transform: rotate(90deg); opacity: 0.6; }
.nav-link-faq { color: var(--ink-700); font-weight: 600; padding: 10px 14px; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line-100);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-link { display: block; padding: 10px 12px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-700); }
.dropdown-link:hover { background: var(--bg-soft); color: var(--navy-900); }

.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-toggle {
  display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--navy-900);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: var(--space-9) 0 var(--space-8);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: var(--space-5); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: var(--space-6); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: var(--space-7); }
.hero-trust { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.72); font-size: 0.88rem; font-weight: 600; }
.hero-trust-item .icon { width: 18px; height: 18px; color: var(--amber-500); }

.hero-visual { position: relative; }
.hero-panel {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg);
  padding: var(--space-6); backdrop-filter: blur(6px);
}
.hero-panel-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.hero-panel-value { font-weight: 700; color: #fff; }
.hero-metric-up { color: #6FE3A6; font-size: 0.82rem; font-weight: 700; }
.hero-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: var(--space-5); }
.hero-bar { flex: 1; background: var(--amber-500); border-radius: 6px 6px 0 0; opacity: 0.9; }
.hero-bar:nth-child(1){height:35%;background:rgba(255,255,255,0.25);}
.hero-bar:nth-child(2){height:55%;background:rgba(255,255,255,0.35);}
.hero-bar:nth-child(3){height:45%;background:rgba(255,255,255,0.3);}
.hero-bar:nth-child(4){height:75%;background:var(--amber-500);}
.hero-bar:nth-child(5){height:60%;background:rgba(255,255,255,0.4);}
.hero-bar:nth-child(6){height:88%;background:var(--amber-500);}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding: var(--space-8) 0 var(--space-7); }
.page-hero h1 { color: #fff; margin-bottom: var(--space-4); }
.page-hero-text { font-size: 1.08rem; color: rgba(255,255,255,0.8); max-width: 680px; }
.page-hero-inner .eyebrow { color: var(--amber-500); }

.breadcrumb { padding: 14px 0; }
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; }
.breadcrumb a { color: var(--ink-500); font-weight: 500; }
.breadcrumb a:hover { color: var(--navy-900); }
.breadcrumb li[aria-current="page"] { color: var(--ink-900); font-weight: 600; }
.breadcrumb-sep { color: var(--ink-300); }

/* ---------- Platform / trust cards ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.platform-card {
  background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: var(--space-6);
  transition: box-shadow .2s ease, transform .2s ease;
}
.platform-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.platform-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy-100); color: var(--navy-900); font-weight: 800; font-size: 1.05rem; margin-bottom: var(--space-4);
}
.platform-card h3 { margin-bottom: var(--space-2); }
.platform-note { text-align: center; color: var(--ink-500); font-size: 0.92rem; margin-top: var(--space-6); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.service-card {
  background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: var(--space-6);
  display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--navy-900); color: var(--amber-500);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: var(--space-2); }
.service-summary { font-size: 0.95rem; margin-bottom: var(--space-4); }
.service-bullets { margin-bottom: var(--space-5); flex: 1; }
.service-bullets li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-700); padding: 4px 0; }
.service-bullets .icon { width: 16px; height: 16px; color: var(--success-600); margin-top: 3px; flex-shrink: 0; }
.service-note { font-size: 0.8rem; color: var(--ink-500); margin-top: var(--space-3); font-style: italic; }

/* ---------- Notice / eligibility callout ---------- */
.notice-box { padding: var(--space-6); border-radius: var(--radius-md); background: var(--bg-soft); border: 1px solid var(--line-200); border-left: 4px solid var(--navy-900); }
.notice-box h3 { margin-bottom: var(--space-2); font-size: 1.05rem; }
.notice-box p:last-child { margin-bottom: 0; }
.eligibility-list { margin: var(--space-4) 0; }
.eligibility-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line-200); font-weight: 700; color: var(--navy-900); font-size: 0.95rem; }
.eligibility-list li:last-child { border-bottom: none; }
.eligibility-list .icon { width: 18px; height: 18px; color: var(--amber-600); margin-top: 2px; flex-shrink: 0; }

/* ---------- Why us cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.why-card { padding: var(--space-6); border-radius: var(--radius-md); background: var(--bg-soft); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line-200); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); color: var(--navy-900); }
.why-icon .icon { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: var(--space-2); font-size: 1.05rem; }
.why-card p { font-size: 0.92rem; margin: 0; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: step; }
.step-card { position: relative; padding: var(--space-6) var(--space-5); border: 1px solid var(--line-200); border-radius: var(--radius-md); background: #fff; }
.step-number { font-size: 1.8rem; font-weight: 800; color: var(--navy-100); display: block; margin-bottom: var(--space-3); }
.step-card h3 { font-size: 1.02rem; margin-bottom: var(--space-2); color: var(--navy-900); }
.step-card p { font-size: 0.9rem; margin: 0; color: var(--ink-700); }
/* step-card keeps a white background even inside a dark (.section-navy)
   section, so its text must stay dark regardless of the section theme. */
.section-navy .step-card h3 { color: var(--navy-900); }
.section-navy .step-card p { color: var(--ink-700); }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--space-8) 0; }
.cta-band--dark { background: var(--navy-900); color: #fff; }
.cta-band--dark .cta-band-heading { color: #fff; }
.cta-band--dark .cta-band-text { color: rgba(255,255,255,0.78); }
.cta-band--light { background: var(--bg-soft); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.cta-band-heading { margin-bottom: var(--space-2); font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.cta-band-text { margin: 0; max-width: 560px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.price-card { border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: var(--space-6); background: #fff; display: flex; flex-direction: column; }
.price-card.is-highlight { border-color: var(--navy-900); box-shadow: var(--shadow-lg); position: relative; }
.price-badge { position: absolute; top: -14px; left: var(--space-6); background: var(--amber-500); color: var(--navy-900); font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-name { font-size: 1.2rem; margin-bottom: var(--space-1); }
.price-audience { font-size: 0.9rem; color: var(--ink-500); margin-bottom: var(--space-5); }
.price-value { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); margin-bottom: var(--space-5); }
.price-value span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--ink-500); margin-top: 2px; }
.price-features { flex: 1; margin-bottom: var(--space-6); }
.price-features li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; padding: 6px 0; color: var(--ink-700); }
.price-features .icon { width: 16px; height: 16px; color: var(--success-600); margin-top: 3px; flex-shrink: 0; }
.pricing-note { max-width: 720px; margin: var(--space-7) auto 0; text-align: center; color: var(--ink-500); font-size: 0.92rem; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.case-card { border: 1px solid var(--line-200); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.case-card-head { background: var(--navy-900); color: #fff; padding: var(--space-5) var(--space-6); }
.case-card-head p { color: rgba(255,255,255,0.7); margin: 4px 0 0; font-size: 0.85rem; }
.case-card-body { padding: var(--space-5) var(--space-6); }
.case-field { margin-bottom: var(--space-4); }
.case-field:last-child { margin-bottom: 0; }
.case-field-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber-600); margin-bottom: 4px; }
.case-field-value { font-size: 0.92rem; color: var(--ink-700); font-style: italic; }
.case-disclaimer { text-align: center; color: var(--ink-500); font-size: 0.88rem; max-width: 640px; margin: var(--space-7) auto 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-200); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: var(--space-5) 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  font-size: 1rem; font-weight: 700; color: var(--navy-900);
}
.faq-question .icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease; color: var(--ink-500); }
.faq-item[open] .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 var(--space-5); margin: 0; color: var(--ink-700); max-width: 720px; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- About / content pages ---------- */
.content-block { max-width: 780px; }
.content-block h2 { margin-top: var(--space-7); }
.content-block h2:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
.stat-item { text-align: center; padding: var(--space-5); border-radius: var(--radius-md); background: var(--bg-soft); }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); display: block; }
.stat-label { font-size: 0.85rem; color: var(--ink-500); }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.value-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.value-item .why-icon { flex-shrink: 0; margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { margin-top: var(--space-7); }
.legal-content ul { margin: 0 0 var(--space-4); padding-left: 1.2em; list-style: disc; }
.legal-content li { color: var(--ink-700); margin-bottom: 6px; }
.legal-updated { color: var(--ink-500); font-size: 0.9rem; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-8); align-items: start; }
.contact-info-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: var(--space-6); }
.contact-info-card h3 { color: #fff; }
.contact-channel { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-channel:last-child { border-bottom: none; }
.contact-channel .icon { width: 20px; height: 20px; color: var(--amber-500); flex-shrink: 0; }
.contact-channel-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.contact-channel-value { font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: var(--space-6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-field { margin-bottom: var(--space-4); }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--ink-900); background: #fff; transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy-700);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: var(--space-2); }
.form-status { margin-top: var(--space-4); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.is-success { display: block; background: #E7F6EE; color: var(--success-600); }
.form-status.is-error { display: block; background: #FCEAEA; color: #B3261E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding-top: var(--space-8); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.footer-brand .brand-name-full { color: #fff; }
.footer-tagline { margin: var(--space-4) 0; font-size: 0.9rem; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact-static { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.footer-contact .icon { width: 16px; height: 16px; color: var(--amber-500); flex-shrink: 0; }
.footer-heading { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.footer-list li { margin-bottom: 10px; }
.footer-list a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: var(--space-5) 0 var(--space-6); display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; font-size: 0.82rem; }
.footer-disclaimer { max-width: 640px; color: rgba(255,255,255,0.5); margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
/* Content is visible immediately -- no scroll-triggered hide/reveal.
   That keeps the page correct for users who don't scroll in the expected
   pattern, for link-preview/screenshot tools, for print, and for crawlers,
   and matches the brief's request to avoid heavy animation. Cards still
   get a small hover lift (see .service-card:hover etc.) for polish. */
.reveal { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .service-grid, .platform-grid, .why-grid, .case-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .primary-nav {
    position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: var(--space-5) 24px; overflow-y: auto; transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    justify-content: flex-start; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line-100); border-radius: 0; }
  .dropdown {
    position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none;
    display: none; padding: 0 0 0 var(--space-4); min-width: 0;
  }
  .nav-item.has-dropdown.is-open .dropdown { display: block; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: var(--space-5); gap: 10px; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: block; }
}

@media (max-width: 680px) {
  section { padding: var(--space-8) 0; }
  .hero { padding: var(--space-7) 0 var(--space-6); }
  .service-grid, .platform-grid, .why-grid, .case-grid, .pricing-grid, .steps-grid, .value-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
