/* ==========================================================================
   CortexLeads — Design System
   Warm editorial palette · system-fast · fully responsive
   ========================================================================== */

:root {
  /* Palette — warm, human, not the usual AI blue/purple */
  --paper:      #F5F1E8;   /* warm cream background          */
  --paper-2:    #EFEADD;   /* slightly deeper cream          */
  --card:       #FFFFFF;
  --ink:        #17130F;   /* warm near-black text           */
  --ink-soft:   #4A443C;   /* muted body text                */
  --line:       #DED7C7;   /* hairline borders               */
  --forest:     #103D33;   /* deep green — trust / dark areas */
  --forest-2:   #0B2C25;
  --accent:     #EF4F25;   /* vivid coral-orange             */
  --accent-2:   #C93C16;
  --gold:       #D9A441;   /* warm highlight                 */
  --on-dark:    #F3EFE6;
  --on-dark-soft:#AEB9B0;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(23,19,15,.05), 0 4px 14px rgba(23,19,15,.05);
  --shadow-md: 0 10px 40px rgba(23,19,15,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block; }
.eyebrow.center { justify-content: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }

.h-display { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.section-head { max-width: 640px; }
.section-head .h2 { margin: 16px 0 0; }
.section-head.center { margin-inline: auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .005em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(239,79,37,.28); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,241,232,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 600; }
.brand span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-links > li > .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 9px;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links > li > a:hover, .nav-links > li > .nav-trigger:hover { background: var(--paper-2); color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-trigger svg { width: 13px; height: 13px; transition: transform .25s; }

.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 10px; min-width: 320px;
  opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s; z-index: 50;
}
.dropdown--wide { min-width: 520px; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-menu:hover .nav-trigger svg { transform: rotate(180deg); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown a {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 11px 12px; border-radius: 9px; transition: background .18s;
}
.dropdown a:hover { background: var(--paper); }
.dropdown a .di { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--paper-2); color: var(--accent); display: grid; place-items: center; }
.dropdown a .di svg { width: 16px; height: 16px; }
.dropdown a b { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); }
.dropdown a small { font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .93rem; padding: 9px 6px; color: var(--ink); transition: color .2s; }
.nav-phone:hover { color: var(--accent); }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(239,79,37,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(16,61,51,.08), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 0; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--paper); margin-left: -12px; background: var(--forest); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 600; font-family: var(--sans); }
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust small { font-size: .86rem; color: var(--ink-soft); }
.hero-trust b { color: var(--ink); }

.hero-visual { position: relative; }
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); padding: 22px;
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero-card .hc-top b { font-family: var(--display); font-size: 1.05rem; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; color: var(--forest); font-family: var(--sans); }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: #1fae5a; box-shadow: 0 0 0 0 rgba(31,174,90,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(31,174,90,.5)} 70%{box-shadow:0 0 0 9px rgba(31,174,90,0)} 100%{box-shadow:0 0 0 0 rgba(31,174,90,0)} }
.bid-row { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.bid-row:last-child { border-bottom: none; }
.bid-row .geo { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.bid-row .bm { flex: 1; }
.bid-row .bm b { font-size: .92rem; font-family: var(--sans); }
.bid-row .bm small { display: block; color: var(--ink-soft); font-size: .78rem; }
.bid-row .bv { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--forest); }
.hero-card .hc-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; background: var(--forest); color: var(--on-dark); border-radius: 12px; padding: 14px 18px; }
.hero-card .hc-foot small { color: var(--on-dark-soft); font-size: .76rem; display: block; }
.hero-card .hc-foot b { font-family: var(--display); font-size: 1.25rem; }
.float-badge {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 13px 16px; display: flex; align-items: center; gap: 11px;
}
.float-badge .fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-badge b { font-family: var(--display); font-size: 1.15rem; display: block; line-height: 1; }
.float-badge small { font-size: .72rem; color: var(--ink-soft); }
.float-badge.fb1 { top: 32%; left: -34px; animation: floaty 6s ease-in-out infinite; }
.float-badge.fb2 { bottom: -24px; right: -18px; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ----- Logo marquee ----- */
.marquee-wrap { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.marquee-label { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.marquee { display: flex; gap: 60px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 60px; align-items: center; animation: scroll 32s linear infinite; flex: none; }
.marquee ul li { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--ink); opacity: .42; white-space: nowrap; letter-spacing: -.01em; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(calc(-100% - 60px))} }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { background: var(--forest); color: var(--on-dark); }
.stats .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat b { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); display: block; line-height: 1; color: #fff; white-space: nowrap; }
.stat b .accent { color: var(--gold); font-size: 1em; display: inline; }
.stat span { display: block; margin-top: 12px; color: var(--on-dark-soft); font-size: .92rem; letter-spacing: .02em; }
.stat + .stat { position: relative; }

/* ==========================================================================
   Feature / Benefits cards
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico { width: 52px; height: 52px; border-radius: 13px; background: var(--paper-2); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--accent); }
.card .more svg { width: 15px; height: 15px; transition: transform .25s; }
.card:hover .more svg { transform: translateX(3px); }

/* numbered benefit */
.benefit { position: relative; }
.benefit .num { font-family: var(--display); font-size: 1rem; color: var(--accent); font-weight: 600; }
.benefit .ico { background: var(--forest); color: var(--gold); }

/* ----- Split feature ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist li .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.checklist li .ck svg { width: 13px; height: 13px; }
.checklist li b { display: block; font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.checklist li span { color: var(--ink-soft); font-size: .94rem; }

/* a "panel" media mock */
.panel-mock { padding: 26px; background: linear-gradient(160deg, var(--forest), var(--forest-2)); color: var(--on-dark); }
.panel-mock .pm-row { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 15px 16px; display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.panel-mock .pm-row:last-child { margin-bottom: 0; }
.panel-mock .pm-row .dot { width: 38px; height: 38px; border-radius: 9px; background: rgba(217,164,65,.18); color: var(--gold); display: grid; place-items: center; flex: none; }
.panel-mock .pm-row b { font-family: var(--sans); font-size: .92rem; }
.panel-mock .pm-row small { display: block; color: var(--on-dark-soft); font-size: .78rem; }
.panel-mock .pm-row .pm-val { margin-left: auto; font-family: var(--display); font-size: 1.2rem; color: #fff; }

/* ==========================================================================
   Case studies
   ========================================================================== */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; position: relative; overflow: hidden;
}
.case-tag { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.case .big { font-family: var(--display); font-size: clamp(2.6rem,5vw,3.6rem); color: var(--accent); line-height: 1; margin: 16px 0 8px; }
.case h3 { font-size: 1.3rem; margin-bottom: 10px; }
.case p { color: var(--ink-soft); font-size: .96rem; }
.case .who { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.case .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 600; font-family: var(--sans); }
.case .who b { font-family: var(--sans); font-size: .92rem; }
.case .who small { display: block; color: var(--ink-soft); font-size: .8rem; }

/* ==========================================================================
   Process / steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; }
.step .sn { font-family: var(--display); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.step h3 { font-size: 1.18rem; margin: 14px 0 8px; }
.step p { color: var(--ink-soft); font-size: .93rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: calc(100% - 12px); width: 24px; height: 1.5px; background: var(--line); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.tg { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: .95rem; }
.quote p { font-size: 1.02rem; color: var(--ink); margin-bottom: 22px; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); color: var(--forest); display: grid; place-items: center; font-weight: 600; }
.quote .who b { display: block; font-size: .92rem; }
.quote .who small { color: var(--ink-soft); font-size: .8rem; }

/* ==========================================================================
   Verticals
   ========================================================================== */
.vert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.vert { position: relative; border-radius: var(--radius); overflow: hidden; padding: 34px; color: var(--on-dark); min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--forest); transition: transform .3s var(--ease); }
.vert:hover { transform: translateY(-4px); }
.vert::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(11,44,37,.65)); }
.vert .vt-ico { position: absolute; top: 28px; left: 30px; width: 50px; height: 50px; border-radius: 13px; background: rgba(217,164,65,.18); color: var(--gold); display: grid; place-items: center; }
.vert h3 { position: relative; font-size: 1.5rem; color: #fff; }
.vert p { position: relative; color: var(--on-dark-soft); font-size: .94rem; margin-top: 8px; }
.vert .more { position: relative; margin-top: 16px; color: var(--gold); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 7px; align-items: center; }
.vert:nth-child(2) { background: var(--accent); }
.vert:nth-child(2)::before { background: linear-gradient(180deg, transparent, rgba(201,60,22,.55)); }
.vert:nth-child(2) .vt-ico { background: rgba(255,255,255,.16); color: #fff; }
.vert:nth-child(2) .more { color: #fff; }
.vert:nth-child(3) { background: var(--ink); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; background: var(--ink); color: var(--on-dark); border-radius: 24px; padding: 64px 56px; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 320px at 85% 10%, rgba(239,79,37,.22), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(217,164,65,.12), transparent 55%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem,4vw,3rem); color: #fff; max-width: 16ch; }
.cta-band p { color: var(--on-dark-soft); margin-top: 16px; max-width: 50ch; }
.cta-band .hero-cta { margin-top: 30px; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { padding: 64px 0 56px; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 360px at 82% -20%, rgba(239,79,37,.09), transparent 60%); }
.page-hero h1 { margin: 18px 0 0; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .5; }

/* ==========================================================================
   Contact / forms
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--card); font-family: inherit; font-size: .97rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(239,79,37,.1); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .cii { width: 46px; height: 46px; border-radius: 12px; background: var(--paper-2); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-info-item b { display: block; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 4px; }
.contact-info-item a, .contact-info-item p { font-size: 1.08rem; color: var(--ink); font-family: var(--display); }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.form-success { display: none; padding: 16px; border-radius: 11px; background: rgba(16,61,51,.08); border: 1px solid var(--forest); color: var(--forest); font-size: .92rem; font-weight: 500; margin-bottom: 18px; }
.form-success.show { display: block; }

/* ==========================================================================
   Service / content detail
   ========================================================================== */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.8rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul.bullets { margin: 0 0 16px; display: grid; gap: 10px; }
.prose ul.bullets li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); border: 1.5px solid var(--accent); }
.prose ul.bullets li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.sidebar-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 94px; }
.sidebar-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.sidebar-card .sc-list a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; font-weight: 500; transition: color .2s, padding .2s; }
.sidebar-card .sc-list a:last-child { border-bottom: none; }
.sidebar-card .sc-list a:hover, .sidebar-card .sc-list a.active { color: var(--accent); padding-left: 6px; }
.sidebar-card .sc-list a svg { width: 15px; height: 15px; opacity: .5; }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; }
.faq-q[aria-expanded="true"] .pm { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { color: var(--ink-soft); padding-bottom: 22px; max-width: 70ch; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-2); color: var(--on-dark); padding: 72px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: var(--on-dark-soft); font-size: .94rem; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--on-dark); transition: background .2s, transform .2s, color .2s; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-soft); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--on-dark); opacity: .82; font-size: .94rem; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { color: var(--on-dark-soft); font-size: .84rem; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { color: var(--on-dark-soft); font-size: .84rem; }
.footer-bottom .fb-links a:hover { color: var(--gold); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-drawer .md-scrim { position: absolute; inset: 0; background: rgba(23,19,15,.4); opacity: 0; transition: opacity .3s; }
.mobile-drawer .md-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); background: var(--paper); box-shadow: var(--shadow-md); transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; padding: 22px; overflow-y: auto; }
.mobile-drawer.open { visibility: visible; }
.mobile-drawer.open .md-scrim { opacity: 1; }
.mobile-drawer.open .md-panel { transform: none; }
.md-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.md-close { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }
.md-close svg { width: 22px; height: 22px; }
.md-nav { display: flex; flex-direction: column; }
.md-nav > a, .md-acc > button { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-size: 1.08rem; font-weight: 500; font-family: var(--display); border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.md-acc > button svg { width: 16px; height: 16px; transition: transform .3s; }
.md-acc.open > button svg { transform: rotate(180deg); }
.md-acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.md-acc.open .md-acc-body { max-height: 700px; }
.md-acc-body a { display: block; padding: 11px 4px 11px 16px; font-size: .96rem; color: var(--ink-soft); }
.md-acc-body a:hover { color: var(--accent); }
.md-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions .nav-phone, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-4, .steps { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .sidebar-card { position: static; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .stats .stat-grid { grid-template-columns: repeat(2,1fr); gap: 36px 20px; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .case-grid, .tg, .vert-grid, .dropdown-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 12px; }
  .float-badge.fb1 { left: 0; }
  .float-badge.fb2 { right: 0; }
}
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .stats .stat-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 22px; }
  .cta-band { padding: 38px 22px; }
  .case, .card, .quote, .form-card { padding: 24px; }
}
