/* ============================================================
   Install Profits — style.css
   Brief-pinned world: navy + blue on warm paper.
   Signature: the tall navy promise panel from the ad creative.
   ============================================================ */

/* ---- Self-hosted fonts ------------------------------------ */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700; /* variable */
  font-display: swap;
  src: url("../fonts/source-sans-3-var.woff2") format("woff2");
}

/* ---- Tokens ------------------------------------------------ */
:root {
  /* Brand (from brief §7) */
  --navy-900: #0F2C5E;
  --navy-800: #14356B;
  --blue-700: #1150BC;   /* darker blue for text-on-paper links (AA) */
  --blue-600: #1560D7;
  --blue-100: #DDE8FA;
  --blue-50:  #EDF3FD;
  --paper:    #F5F5F3;
  --white:    #FFFFFF;
  --ink-700:  #33383F;
  --ink-500:  #565C66;   /* small meta text — AA-safe on paper */
  --ink-400:  #6B7280;
  --wa-green: #25D366;
  --wa-green-d: #1EB558;

  /* Surfaces / lines */
  --line:      #E4E4E0;
  --line-navy: rgba(255, 255, 255, 0.16);
  --tint-navy-fore: #C8D8F3; /* secondary text on navy — tinted, never gray */

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radius / shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 44, 94, 0.06), 0 2px 8px rgba(15, 44, 94, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 44, 94, 0.08), 0 12px 32px rgba(15, 44, 94, 0.07);
  --shadow-navy: 0 18px 44px rgba(15, 44, 94, 0.28);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;         /* 17px */
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff;
  padding: 0.7rem 1.1rem; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Shell / rhythm --------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Blue rule marker (from the ad) */
.rule { display: block; width: 60px; height: 4px; background: var(--blue-600); border-radius: 2px; }
.rule.center { margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; color: var(--navy-900); margin: 0; }
.eyebrow-hidden { display: none; }

h2.section-title {
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.15rem);
  margin-top: 1.1rem;
  text-transform: none;
}
.section-head p.lede {
  margin: 0.9rem 0 0;
  font-size: clamp(1.06rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-500);
  max-width: 40rem;
}

.accent { color: var(--blue-600); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  line-height: 1.15; padding: 0.95rem 1.4rem; border-radius: 999px;
  border: 1.5px solid transparent; white-space: nowrap; max-width: 100%; text-align: center;
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-wa { background: var(--wa-green); color: #06331A; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32); }
.btn-wa:hover { background: var(--wa-green-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: rgba(15, 44, 94, 0.22); }
.btn-ghost:hover { border-color: var(--navy-900); background: rgba(15, 44, 94, 0.04); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.btn-lg { padding: 1.1rem 1.7rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15, 44, 94, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand:hover { text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: 0.01em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand .wordmark .w-install { color: var(--navy-900); }
.brand .wordmark .w-profits { color: var(--blue-600); }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { color: var(--ink-700); font-weight: 600; font-size: 0.98rem; position: relative; }
.nav-desktop a:hover { color: var(--navy-900); text-decoration: none; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--blue-600); transition: right 0.25s var(--ease-out);
}
.nav-desktop a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.header-cta .btn-wa { display: none; padding: 0.62rem 1rem; font-size: 0.95rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--navy-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drop panel */
.nav-mobile {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
  background: #fff; border-bottom: 1px solid var(--line);
}
.nav-mobile.open { grid-template-rows: 1fr; }
.nav-mobile > div { overflow: hidden; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1.2rem; display: grid; gap: 0.15rem; }
.nav-mobile a { display: block; padding: 0.85rem 0.4rem; font-weight: 600; color: var(--ink-700); border-bottom: 1px solid var(--line); }
.nav-mobile a:hover { color: var(--navy-900); text-decoration: none; }

/* ============================================================
   Hero — the signature
   ============================================================ */
.hero { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; }

.hero-copy { min-width: 0; }
/* Long primary CTA wraps gracefully instead of forcing page width on small screens */
.hero-cta .btn-wa { white-space: normal; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.94;
  font-size: clamp(2.9rem, 1.7rem + 6.2vw, 5.4rem);
  color: var(--navy-900);
  text-wrap: balance;
}
.hero h1 .hl { color: var(--blue-600); }
.hero .rule { margin: clamp(1.1rem, 2vw, 1.6rem) 0; }
.hero .subline {
  font-size: clamp(1.12rem, 1rem + 0.7vw, 1.4rem);
  color: var(--ink-700); font-weight: 400; max-width: 30rem; margin: 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.5rem, 3vw, 2rem); }
.hero-trust { margin-top: 1.3rem; display: flex; align-items: center; gap: 0.55rem; color: var(--ink-500); font-size: 0.95rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--blue-600); flex: none; }

/* Navy promise panel */
.promise-panel {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 62%, #0B2350 100%);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-navy);
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
  position: relative; overflow: hidden;
}
.promise-panel::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 90% 8%, rgba(21, 96, 215, 0.5), transparent 55%),
    radial-gradient(60% 50% at 8% 100%, rgba(21, 96, 215, 0.28), transparent 60%);
  pointer-events: none;
}
.promise-panel > * { position: relative; z-index: 1; }
.promise-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
}
.promise-icon svg { width: 30px; height: 30px; color: #fff; }
.promise-panel p {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.05rem);
  line-height: 1.14; letter-spacing: -0.01em;
}
.promise-panel p .hl { color: #7FB0FF; }
.promise-panel .rule { background: var(--blue-600); }

/* ============================================================
   Services — hairline grid (mirrors the ad, not boxed cards)
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm);
}
.service {
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 1.1rem;
  padding: clamp(1.3rem, 3vw, 1.7rem);
  border-bottom: 1px solid var(--line);
  color: inherit; position: relative;
  transition: background-color 0.2s ease;
}
.service:hover { background: var(--blue-50); text-decoration: none; }
.service:last-child { border-bottom: none; }
.service-ic {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: transform 0.2s var(--ease-out);
}
.service:hover .service-ic { transform: scale(1.06); }
.service-ic svg { width: 26px; height: 26px; }
.service-body h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.24rem; color: var(--navy-900); line-height: 1.2; letter-spacing: 0; }
.service-body .adline { margin: 0.25rem 0 0.5rem; font-weight: 600; color: var(--blue-700); font-size: 0.98rem; }
.service-body p { margin: 0; color: var(--ink-700); font-size: 1rem; }
.service-arrow { align-self: center; color: var(--ink-400); transition: transform 0.2s var(--ease-out), color 0.2s ease; }
.service:hover .service-arrow { color: var(--blue-600); transform: translateX(4px); }
.service-arrow svg { width: 22px; height: 22px; }

/* ============================================================
   Process — numbered sequence
   ============================================================ */
.process { background: var(--white); border-block: 1px solid var(--line); }
.steps { display: grid; gap: 1.1rem; grid-template-columns: 1fr; counter-reset: step; margin-top: 0.5rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem 1.3rem; align-items: start;
  padding: clamp(1.3rem, 3vw, 1.7rem);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  position: relative;
}
.step-num {
  grid-row: span 2;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1;
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--navy-900); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); }
.step p { margin: 0.35rem 0 0; color: var(--ink-700); font-size: 1rem; }

/* ============================================================
   Sectors + proof
   ============================================================ */
.work-layout { display: grid; gap: clamp(1.8rem, 4vw, 2.6rem); }
.sectors { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.sector-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.96rem; color: var(--navy-900);
}
.sector-tag svg { width: 17px; height: 17px; color: var(--blue-600); }

.proof-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.proof-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); margin-bottom: 1rem; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.proof-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; color: var(--ink-700); }
.proof-list .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 1px;
  background: var(--blue-100); color: var(--blue-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.proof-list .tick svg { width: 15px; height: 15px; }
.proof-note { margin: 1.1rem 0 0; font-size: 0.9rem; color: var(--ink-500); }

/* ============================================================
   Why — 3 claims + founder
   ============================================================ */
.why { background: var(--white); border-block: 1px solid var(--line); }
.why-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 0.5rem; }
.claim {
  padding: clamp(1.5rem, 3vw, 1.9rem);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); transition: box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.22s ease;
}
.claim:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.claim .claim-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-600); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; box-shadow: 0 6px 14px rgba(21, 96, 215, 0.25); }
.claim .claim-ic svg { width: 24px; height: 24px; }
.claim h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.18rem; color: var(--navy-900); }
.claim p { margin: 0.4rem 0 0; color: var(--ink-700); font-size: 1rem; }

.founder {
  margin-top: 1.4rem; display: grid; gap: 1.2rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff; box-shadow: var(--shadow-navy);
}
.founder p { margin: 0; }
.founder .quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.7rem); line-height: 1.2; }
.founder .quote .hl { color: #7FB0FF; }
.founder .byline { color: var(--tint-navy-fore); font-weight: 600; }
.founder .byline strong { color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.15rem, 2.5vw, 1.4rem) clamp(1.15rem, 3vw, 1.6rem);
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--navy-900);
}
.faq-q:hover { background: var(--blue-50); }
.faq-q .chev { flex: none; color: var(--blue-600); transition: transform 0.28s var(--ease-out); }
.faq-q .chev svg { width: 22px; height: 22px; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 clamp(1.15rem, 3vw, 1.6rem) clamp(1.2rem, 2.5vw, 1.5rem); color: var(--ink-700); max-width: 60ch; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* ============================================================
   Contact band
   ============================================================ */
.contact { background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 55%, #0B2350 100%); color: #fff; }
.contact .rule { background: var(--blue-600); }
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }
.contact .lede { color: var(--tint-navy-fore); font-size: clamp(1.06rem, 1rem + 0.5vw, 1.25rem); margin-top: 0.9rem; max-width: 34rem; }

.contact-actions { display: grid; gap: 0.9rem; margin-top: 1.6rem; max-width: 26rem; }
.contact-line { display: flex; align-items: center; gap: 0.85rem; color: #fff; font-weight: 600; }
.contact-line a { color: #fff; }
.contact-line a:hover { color: var(--tint-navy-fore); text-decoration: none; }
.contact-line .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-line .ic svg { width: 20px; height: 20px; color: #fff; }
.contact-line small { display: block; color: var(--tint-navy-fore); font-weight: 400; font-size: 0.85rem; }

/* Form */
.lead-form {
  background: var(--white); color: var(--ink-700);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.2rem);
  box-shadow: var(--shadow-navy);
}
.lead-form h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; color: var(--navy-900); }
.lead-form .form-sub { margin: 0.35rem 0 1.3rem; color: var(--ink-500); font-size: 0.98rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy-900); margin-bottom: 0.4rem; }
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink-700);
  padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 96, 215, 0.15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field-error { display: none; margin-top: 0.35rem; font-size: 0.86rem; color: #C02626; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C02626; }
.field.invalid .field-error { display: block; }
.form-note { margin: 0.4rem 0 0; font-size: 0.86rem; color: var(--ink-500); }
.form-status { margin-top: 0.9rem; font-weight: 600; font-size: 0.95rem; }
.btn-submit { margin-top: 0.4rem; }
.btn-submit .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading .label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-brand .brand img { height: 34px; }
.footer-brand p { margin: 0.9rem 0 0; color: var(--ink-500); max-width: 30rem; font-size: 0.98rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin: 0 0 0.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a, .footer-col span { color: var(--ink-700); font-weight: 500; }
.footer-bottom { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; color: var(--ink-500); font-size: 0.9rem; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-bottom .made svg { width: 15px; height: 15px; color: var(--blue-600); }

/* ============================================================
   Floating WhatsApp (mobile)
   ============================================================ */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease-out);
}
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ============================================================
   Thank-you page
   ============================================================ */
.ty { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.ty-inner { max-width: 40rem; }
.ty-badge {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.6rem;
  background: var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center;
}
.ty-badge svg { width: 44px; height: 44px; }
.ty h1 { font-size: clamp(2.2rem, 1.5rem + 3.5vw, 3.4rem); }
.ty p { margin: 1.1rem auto 0; color: var(--ink-700); font-size: 1.14rem; max-width: 34rem; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
/* Section marker draws in with its heading */
html.js .section-head .rule, html.js .contact .rule { transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out) 0.12s; }
html.js .section-head.in .rule, html.js .contact .reveal.in .rule { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .service:hover .service-ic, .service:hover .service-arrow, .wa-float:hover { transform: none !important; }
}

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 620px) {
  .brand .wordmark { font-size: 1.5rem; }
  .header-cta .btn-wa { display: inline-flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-last-child(2):nth-child(odd) { border-bottom: none; } /* even count tidy */
  .service { border-right: 1px solid var(--line); }
  .service:nth-child(even) { border-right: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .header-cta .btn-wa { padding: 0.7rem 1.15rem; font-size: 0.98rem; }

  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); }
  .promise-panel { align-self: stretch; }

  .work-layout { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }

  .wa-float { display: none; }
}

@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   MOTION LAYER — thesis: "upward momentum" (growth).
   Focal moment: the growth-line drawing itself in the promise
   panel. Everything else is disciplined feedback + entrances.
   All initial-hidden states require html.js (visible without JS)
   and are disabled under prefers-reduced-motion.
   ============================================================ */

/* Scroll progress — the measurement/growth motif */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-600), #5A93F0 60%, #7FB0FF);
  z-index: 200; pointer-events: none;
}

/* Buttons: light sweep on hover + tactile press */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-130%); transition: transform 0.6s var(--ease-out);
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-wa::after { background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.5) 50%, transparent 80%); }

/* Service rows: icon fills on hover, lift + sheen */
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(21,96,215,0.06));
  transition: opacity 0.25s ease;
}
.service:hover::before { opacity: 1; }
.service:hover .service-ic { background: var(--blue-600); color: #fff; box-shadow: 0 8px 18px rgba(21,96,215,0.32); }
.service-body h3 { transition: color 0.2s ease; }
.service:hover .service-body h3 { color: var(--blue-700); }

/* Sector tags: pop + lift */
.sector-tag { transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, border-color 0.2s ease; }
.sector-tag:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--blue-100); }

/* Step badges: subtle float on hover of the card */
.step { transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.step-num { transition: transform 0.35s var(--ease-out); }
.step:hover .step-num { transform: translateY(-2px) rotate(-4deg); }

/* Living navy surfaces — slow drifting light so they never read flat */
.promise-panel::after { animation: drift-a 16s ease-in-out infinite alternate; }
.founder, .contact { position: relative; overflow: hidden; }
.founder::after, .contact::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(45% 40% at 85% 12%, rgba(21,96,215,0.5), transparent 60%),
    radial-gradient(40% 45% at 10% 95%, rgba(21,96,215,0.28), transparent 62%);
  animation: drift-b 18s ease-in-out infinite alternate;
}
.founder > * { position: relative; z-index: 1; }
.contact .wrap { position: relative; z-index: 1; }
@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4%, -3%, 0) scale(1.1); } }

/* Floating WhatsApp — inviting pulse ring */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa-green); z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.55; } 70%,100% { transform: scale(1.9); opacity: 0; } }

/* --- The focal moment: growth-line in the promise panel --- */
.growth {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%;
  z-index: 0; opacity: 0.6; pointer-events: none; overflow: visible;
}
.growth .bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.growth .trend { stroke-dasharray: 100; stroke-dashoffset: 100; }
.growth .head { opacity: 0; }
.growth .spark { opacity: 0; }

/* ---- Motion that only runs with JS + motion allowed ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js .scroll-progress { display: block; }

  /* Hero kinetic entrance */
  html.js .hero h1 .line { display: block; overflow: hidden; padding-top: 0.08em; margin-top: -0.08em; }
  html.js .hero h1 .line > span { display: block; transform: translateY(115%); }
  html.js .hero .subline, html.js .hero-cta, html.js .hero-trust { opacity: 0; transform: translateY(18px); }
  html.js .promise-panel { opacity: 0; transform: translateY(24px) scale(0.98); }
  html.js .hero .rule { transform: scaleX(0); transform-origin: left; }

  html.js body.loaded .hero h1 .line > span { transform: none; transition: transform 0.85s var(--ease-out); }
  html.js body.loaded .hero h1 .line:nth-child(1) > span { transition-delay: 0.06s; }
  html.js body.loaded .hero h1 .line:nth-child(2) > span { transition-delay: 0.15s; }
  html.js body.loaded .hero h1 .line:nth-child(3) > span { transition-delay: 0.24s; }
  html.js body.loaded .hero .rule { transition: transform 0.7s var(--ease-out) 0.36s; transform: none; }
  html.js body.loaded .hero .subline { transition: opacity 0.7s ease 0.44s, transform 0.8s var(--ease-out) 0.44s; opacity: 1; transform: none; }
  html.js body.loaded .hero-cta { transition: opacity 0.7s ease 0.54s, transform 0.8s var(--ease-out) 0.54s; opacity: 1; transform: none; }
  html.js body.loaded .hero-trust { transition: opacity 0.7s ease 0.66s, transform 0.8s var(--ease-out) 0.66s; opacity: 1; transform: none; }
  html.js body.loaded .promise-panel { transition: opacity 0.9s ease 0.3s, transform 1s var(--ease-out) 0.3s; opacity: 1; transform: none; }

  /* Growth-line draws once the panel has settled */
  html.js body.loaded .growth .bar { animation: bar-grow 0.7s var(--ease-out) forwards; }
  html.js body.loaded .growth .bar.b1 { animation-delay: 0.7s; }
  html.js body.loaded .growth .bar.b2 { animation-delay: 0.82s; }
  html.js body.loaded .growth .bar.b3 { animation-delay: 0.94s; }
  html.js body.loaded .growth .bar.b4 { animation-delay: 1.06s; }
  html.js body.loaded .growth .trend { animation: draw 1.3s var(--ease-out) 0.95s forwards; }
  html.js body.loaded .growth .head { animation: head-in 0.01s linear 2.2s forwards, bob 3s ease-in-out 2.3s infinite; }
  html.js body.loaded .growth .spark { animation: spark 2.6s ease-in-out 2.4s infinite; }

  @keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes head-in { to { opacity: 1; } }
  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
  @keyframes spark { 0%,100% { opacity: 0; } 45%,55% { opacity: 0.9; } }

  /* Staggered list reveals */
  html.js .stg > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 65ms); }
  html.js .stg.in > * { opacity: 1; transform: none; }
}

/* Reduced motion: everything visible and still */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .growth .bar { transform: none; }
  .growth .trend { stroke-dashoffset: 0; }
  .growth .head { opacity: 1; }
  .promise-panel::after, .founder::after, .contact::after, .wa-float::before { animation: none; }
  .stg > * { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Cookie consent banner (injected by main.js; gates the Meta Pixel)
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(15, 44, 94, 0.12);
  padding: 0.9rem 0;
}
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem 1.5rem; flex-wrap: wrap;
}
.cookie-text { margin: 0; color: var(--ink-700); font-size: 0.95rem; flex: 1 1 320px; min-width: 0; }
.cookie-text a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 0.6rem; flex: 0 0 auto; }
.cookie-actions .btn { padding: 0.68rem 1.2rem; font-size: 0.95rem; }
.cookie-reopen {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: var(--ink-500); text-decoration: underline; cursor: pointer;
}
.cookie-reopen:hover { color: var(--blue-700); }

/* Lift the floating WhatsApp button above the banner while it is open (mobile) */
@media (max-width: 899px) {
  body.cookie-open .wa-float { bottom: 92px; }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .cookie-banner { transform: translateY(120%); transition: transform 0.45s var(--ease-out); }
  html.js .cookie-banner.show { transform: none; }
  .wa-float { transition: transform 0.2s var(--ease-out), bottom 0.35s var(--ease-out); }
}
