/* ==========================================================================
   NanoNergie — Design system
   Royal blue · white · black · orange accent
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue:        #2848D8;   /* sampled from logo */
  --blue-700:    #1E37AE;
  --blue-600:    #2340C4;
  --blue-400:    #5C75E8;
  --blue-200:    #B9C4F5;
  --blue-100:    #DDE3FB;
  --blue-50:     #EEF1FD;

  --ink:         #0B0F1A;   /* near-black */
  --ink-800:     #141925;
  --ink-700:     #20283A;

  --slate:       #545C6E;   /* muted body text */
  --slate-light: #6B7488;   /* darkened for AA contrast (placeholders, "— ou —") */

  --line:        #E6E8F0;
  --line-soft:   #EFF1F7;

  --white:       #FFFFFF;
  --bg:          #FFFFFF;
  --bg-soft:     #F5F7FC;
  --bg-blue:     #0E1530;   /* deep navy for dark sections */

  --orange:      #FF7A1A;   /* accent — graphics/icons only (3:1 graphic threshold) */
  --orange-600:  #F06600;
  --orange-50:   #FFF2E6;
  --orange-btn:      #C24E00; /* white-text buttons — meets WCAG AA (4.79:1) */
  --orange-btn-hover:#A84400; /* button hover */
  --orange-text:     #A8480A; /* orange TEXT on light bg — meets WCAG AA */

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11,15,26,.06), 0 1px 3px rgba(11,15,26,.05);
  --shadow-md: 0 6px 18px rgba(11,15,26,.07), 0 2px 6px rgba(11,15,26,.05);
  --shadow-lg: 0 24px 60px rgba(20,33,80,.16), 0 8px 24px rgba(20,33,80,.10);
  --shadow-blue: 0 18px 40px rgba(40,72,216,.28);
  --shadow-orange: 0 14px 30px rgba(255,122,26,.32);

  /* Layout */
  --maxw: 1180px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  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%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--slate); }
strong { color: var(--ink); font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--slate); line-height: 1.55; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow--orange { color: var(--orange-text); background: var(--orange-50); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 16px; }
.grid { display: grid; gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--orange-btn); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-btn-hover); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(255,122,26,.42); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--blue:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--blue-200); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; color: var(--blue);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink-700);
  padding: 9px 14px; border-radius: var(--r-sm); transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--blue); background: var(--blue-50); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
}
.header__phone svg { width: 18px; height: 18px; color: var(--blue); }
.header__phone:hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(40,72,216,.12), transparent 60%),
    radial-gradient(720px 420px at 6% 8%, rgba(255,122,26,.07), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 7px 7px 16px; font-weight: 600; font-size: .9rem; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.hero__badge b { color: var(--ink); font-weight: 800; }
.hero__badge .pill { background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: var(--r-pill); }
.hero h1 { margin-top: 22px; }
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl-underline { background: linear-gradient(transparent 62%, var(--orange-50) 62%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__sub { margin-top: 22px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; color: var(--ink-700); }
.hero__trust svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.fineprint { margin-top: 18px; font-size: .8rem; color: var(--slate-light); max-width: 540px; }

/* ===== HERO — full-bleed roof photo + big logo ===== */
.hero--photo { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); padding: 0; }
.hero--photo .hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero--photo .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero--photo .hero__scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(102deg, rgba(7,12,22,.95) 0%, rgba(7,12,22,.80) 38%, rgba(7,12,22,.34) 70%, rgba(7,12,22,.08) 100%),
    linear-gradient(to top, rgba(7,12,22,.60) 0%, rgba(7,12,22,0) 36%); }
.hero--photo .hero__inner { position: relative; z-index: 2; display: block; padding: 116px 0 104px; }
.hero--photo .hero__content { max-width: 700px; }
.hero--photo .hero__logo { display: block; width: min(450px, 84%); height: auto; margin: 22px 0 24px; filter: drop-shadow(0 8px 26px rgba(0,0,0,.5)); }
.hero--photo h1 { color: #fff; }
.hero--photo .hl { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: #A9BBFF; color: #A9BBFF; }
.hero--photo .hero__sub { color: rgba(255,255,255,.86); }
.hero--photo .hero__sub strong { color: #fff; }
.hero--photo .hero__trust li { color: rgba(255,255,255,.94); }
.hero--photo .hero__trust svg { color: #fff; }
.hero--photo .hero__badge { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero--photo .hero__badge b { color: #fff; }
.hero--photo .hero__float { position: absolute; right: max(26px, 4vw); bottom: 36px; z-index: 3; margin: 0; }
@media (max-width: 760px) {
  .hero--photo { min-height: auto; }
  .hero--photo .hero__inner { padding: 92px 0 60px; }
  .hero--photo .hero__logo { width: min(320px, 88%); margin: 18px 0 20px; }
  .hero--photo .hero__float { display: none; }
  .hero--photo .hero__scrim { background:
    linear-gradient(180deg, rgba(7,12,22,.84) 0%, rgba(7,12,22,.62) 38%, rgba(7,12,22,.58) 66%, rgba(7,12,22,.82) 100%); }
}

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, #1B2C6B 0%, var(--blue) 55%, #1A3AC4 100%);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px;
}
.hero__card::before { /* roofline + water beads motif */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9;
  background-image:
    radial-gradient(circle at 22% 64%, rgba(255,255,255,.5) 0 4px, transparent 5px),
    radial-gradient(circle at 40% 72%, rgba(255,255,255,.42) 0 6px, transparent 7px),
    radial-gradient(circle at 60% 60%, rgba(255,255,255,.55) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 70%, rgba(255,255,255,.38) 0 8px, transparent 9px),
    radial-gradient(circle at 30% 54%, rgba(255,255,255,.35) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 50%, rgba(255,255,255,.3) 0 4px, transparent 5px);
}
.hero__card svg.roof { position: absolute; right: -40px; top: -30px; width: 280px; opacity: .14; color: #fff; }
.hero__card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; }
.hero__chip { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-pill); padding: 7px 14px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; backdrop-filter: blur(4px); }
.hero__card-body { position: relative; z-index: 1; color: #fff; }
.hero__card-body .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,4vw,2.7rem); letter-spacing: -.02em; line-height: 1.05; }
.hero__card-body .small { color: rgba(255,255,255,.82); margin-top: 8px; font-weight: 500; }
.hero__card-stat { position: relative; z-index: 1; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-lg); padding: 18px 20px; display: flex; gap: 16px; align-items: center; backdrop-filter: blur(4px); }
.hero__card-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: #fff; }
.hero__card-stat .lbl { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; line-height: 1.3; }

/* floating mini-card */
.hero__float {
  position: absolute; left: -28px; bottom: 38px; z-index: 2;
  background: #fff; border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 13px; max-width: 250px;
  border: 1px solid var(--line-soft);
}
.hero__float .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; color: var(--blue); flex: none; }
.hero__float .ico svg { width: 22px; height: 22px; }
.hero__float .t { font-family: var(--font-display); font-weight: 800; font-size: .98rem; color: var(--ink); line-height: 1.1; }
.hero__float .s { font-size: .82rem; color: var(--slate); }

/* ---------- Trust / logos bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 26px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.trustbar__item .tx b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.02rem; line-height: 1.1; }
.trustbar__item .tx span { font-size: .85rem; color: var(--slate); }

/* ---------- Problem / solution ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.compare-card { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare-card h3 { font-size: 1.18rem; display: flex; align-items: center; gap: 10px; }
.compare-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin: 6px 0 4px; letter-spacing: -.02em; }
.compare-card ul { margin-top: 16px; display: grid; gap: 11px; }
.compare-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ink-700); }
.compare-card li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.compare-card--bad { background: #fff; }
.compare-card--bad .price { color: var(--ink); }
.compare-card--bad li svg { color: #C9CDD8; }
.compare-card--good { background: linear-gradient(165deg, var(--blue-50), #fff); border-color: var(--blue-200); box-shadow: var(--shadow-md); position: relative; }
.compare-card--good .price { color: var(--blue); }
.compare-card--good li svg { color: var(--blue); }
.compare-tag { position: absolute; top: -13px; right: 22px; background: var(--orange-btn); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: 6px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-orange); }
.vs { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--slate-light); }

/* ---------- Services ---------- */
.services-grid { grid-template-columns: repeat(3, 1fr); margin-top: 50px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service--feature { background: linear-gradient(170deg, #fff, var(--blue-50)); border-color: var(--blue-100); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.service__icon svg { width: 28px; height: 28px; }
.service__icon--orange { background: var(--orange); box-shadow: var(--shadow-orange); }
.service__tag { font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: 22px; }
.service__tag--orange { color: var(--orange-text); }
.service h3 { margin-top: 8px; font-size: 1.3rem; }
.service p { margin-top: 12px; font-size: .98rem; }
.service__bullets { margin-top: 18px; display: grid; gap: 9px; }
.service__bullets li { display: flex; gap: 9px; align-items: flex-start; font-size: .94rem; color: var(--ink-700); }
.service__bullets svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.service__foot { margin-top: auto; padding-top: 22px; }
.img-band { position: relative; height: clamp(220px, 32vw, 420px); overflow: hidden; background: var(--ink); }
.img-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.img-band__caption { position: absolute; left: max(20px, 4vw); bottom: 22px; z-index: 1; color: #fff;
  background: rgba(8,14,34,.55); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--r-pill); padding: 9px 18px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.img-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,34,.5), rgba(8,14,34,0) 40%); }
.service__media { margin: -30px -30px 24px; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-50); }
.service__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.service:hover .service__media img { transform: scale(1.05); }

/* ---------- Process / steps ---------- */
.steps { grid-template-columns: repeat(4, 1fr); margin-top: 54px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.step:not(:last-child) .step__num::after { content: ""; position: absolute; left: 100%; top: 50%; width: calc(100% + 24px); height: 2px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 8px, transparent 8px 16px); }
.step h3 { margin-top: 20px; font-size: 1.16rem; }
.step p { margin-top: 8px; font-size: .95rem; }

/* ---------- Demo / water bead band ---------- */
.demo { background: var(--bg-blue); color: #fff; position: relative; overflow: hidden; }
.demo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 10%, rgba(40,72,216,.45), transparent 60%), radial-gradient(500px 300px at 8% 90%, rgba(255,122,26,.16), transparent 60%); }
.demo .container { position: relative; }
.demo .split { align-items: center; }
.demo h2 { color: #fff; }
.demo p { color: rgba(255,255,255,.78); }
.demo .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.demo__list { margin-top: 26px; display: grid; gap: 16px; }
.demo__list li { display: flex; gap: 14px; align-items: flex-start; }
.demo__list .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.demo__list .ico svg { width: 21px; height: 21px; }
.demo__list b { color: #fff; display: block; font-family: var(--font-display); }
.demo__list span { color: rgba(255,255,255,.72); font-size: .95rem; }
.demo__visual {
  border-radius: var(--r-xl); aspect-ratio: 1/1; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #24407F, #122451);
  border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.demo__roof { position: absolute; bottom: 0; left: 0; right: 0; height: 58%; background: linear-gradient(180deg, #3556C8, #25409B); transform: skewY(-7deg); transform-origin: bottom left; }
.bead { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(255,255,255,.35) 45%, rgba(255,255,255,.08) 70%); box-shadow: 0 4px 10px rgba(0,0,0,.25), inset 0 -2px 6px rgba(255,255,255,.5); animation: bead-roll 5s ease-in-out infinite; }
@keyframes bead-roll { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(14px) scale(1.05); } }
.demo__visual .label { position: relative; z-index: 2; background: rgba(8,14,34,.6); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-pill); padding: 9px 18px; font-family: var(--font-display); font-weight: 700; backdrop-filter: blur(6px); }
.demo__visual--photo { place-items: end start; padding: 22px; }
.demo__visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo__visual--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,34,.6), rgba(8,14,34,0) 48%); }

/* ---------- Why nano (features) ---------- */
.features { grid-template-columns: repeat(3, 1fr); margin-top: 50px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature__ico { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { margin-top: 18px; font-size: 1.12rem; }
.feature p { margin-top: 9px; font-size: .95rem; }

/* ---------- Stats band ---------- */
.stats { grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.stat .lbl { margin-top: 10px; color: var(--slate); font-size: .96rem; }

/* ---------- Regions ---------- */
.regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.region-chip { background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 18px; font-weight: 600; font-size: .94rem; color: var(--ink-700); display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, color .15s; }
.region-chip svg { width: 15px; height: 15px; color: var(--blue); }
.region-chip:hover { border-color: var(--blue-200); color: var(--blue); }
a.region-chip { text-decoration: none; cursor: pointer; }
a.region-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 40px; }
.city-link { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; transition: border-color .15s, transform .15s, box-shadow .15s; }
.city-link svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.city-link:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.city-link span { margin-left: auto; color: var(--slate-light); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; margin-top: 46px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--blue-50); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h2 { font-size: 1.2rem; line-height: 1.3; }
.post-card__body p { margin-top: 10px; color: var(--slate); font-size: .95rem; flex: 1; }
.post-card__more { margin-top: 16px; color: var(--blue); font-weight: 700; font-family: var(--font-display); font-size: .92rem; display: inline-flex; align-items: center; gap: 7px; }
.post-card__more svg { width: 16px; height: 16px; }
.article-meta { display: flex; align-items: center; gap: 10px; color: var(--slate-light); font-size: .9rem; margin-top: 14px; }
.prose h2 { margin-top: 38px; font-size: 1.5rem; }
.prose .key-takeaways { margin-top: 26px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-md); padding: 20px 24px; }
.prose .post-faq { margin-top: 40px; }
.post-cta { margin-top: 44px; padding: 30px; background: linear-gradient(160deg, var(--blue), var(--blue-600)); color: #fff; border-radius: var(--r-xl); text-align: center; }
.post-cta h3 { color: #fff; font-size: 1.5rem; }
.post-cta p { color: rgba(255,255,255,.88); margin: 12px auto 22px; max-width: 520px; }

/* ---------- Testimonials ---------- */
.testi-grid { grid-template-columns: repeat(3, 1fr); margin-top: 50px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi__stars { display: flex; gap: 3px; color: var(--orange); }
.testi__stars svg { width: 19px; height: 19px; }
.testi p { margin-top: 16px; color: var(--ink-700); font-size: 1.02rem; line-height: 1.55; }
.testi__who { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 13px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.testi__who b { display: block; font-family: var(--font-display); color: var(--ink); }
.testi__who span { font-size: .88rem; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; margin-top: 44px; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .chev { width: 22px; height: 22px; color: var(--blue); flex: none; transition: transform .25s ease; }
.faq__item[open] .faq__q .chev { transform: rotate(180deg); }
.faq__a { padding: 0 24px 22px; color: var(--slate); }
.faq__a p + p { margin-top: 12px; }

/* ---------- Lead form / CTA ---------- */
.cta-final { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--blue-700), var(--blue) 60%, #1B3BCB); color: #fff; }
.cta-final::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 10% 90%, rgba(255,122,26,.25), transparent 45%); }
.cta-final .container { position: relative; }
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.lead-copy h2 { color: #fff; }
.lead-copy p { color: rgba(255,255,255,.85); }
.lead-copy .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.lead-copy ul { margin-top: 26px; display: grid; gap: 13px; }
.lead-copy li { display: flex; gap: 11px; align-items: center; font-weight: 600; }
.lead-copy li svg { width: 22px; height: 22px; color: #fff; flex: none; }
.lead-copy .callnow { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; }
.lead-copy .callnow .ph { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.lead-copy .callnow svg { width: 26px; height: 26px; }

.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { font-size: 1.4rem; }
.form-card > p { margin-top: 6px; font-size: .95rem; }
.field { margin-top: 16px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-700); margin-bottom: 7px; }
.field label .req { color: var(--orange-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-light); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { margin-top: 22px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--slate); text-align: center; }
.form-note a { color: var(--blue); font-weight: 600; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 34px; height: 34px; }
form.is-sent .form-fields { display: none; }
form.is-sent .form-success { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-blue); color: rgba(255,255,255,.72); padding-top: 70px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 36px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.62); max-width: 320px; font-size: .95rem; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background-color .15s, transform .15s; }
.footer__social a:hover { background: var(--blue); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,.66); font-size: .95rem; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: .95rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--blue-400); flex: none; margin-top: 3px; }
.footer__contact a { color: rgba(255,255,255,.82); }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 24px; font-size: .86rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Sub-page hero ---------- */
.page-hero { background: linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero__grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(700px 300px at 80% 0, #000, transparent 70%); -webkit-mask-image: radial-gradient(700px 300px at 80% 0, #000, transparent 70%); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--slate); position: relative; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb svg { width: 15px; height: 15px; }
.page-hero h1 { margin-top: 16px; max-width: 760px; position: relative; }
.page-hero p { margin-top: 18px; max-width: 620px; position: relative; }
.page-hero .hero__cta { margin-top: 28px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose p { margin-top: 16px; }
.prose ul.bul { margin-top: 16px; display: grid; gap: 11px; }
.prose ul.bul li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-700); }
.prose ul.bul svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }
.prose .muted-list { margin-top: 12px; padding-left: 20px; list-style: disc; }
.prose .muted-list li { margin-top: 6px; color: var(--slate); }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 440px; }
  .services-grid, .features, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .step:not(:last-child) .step__num::after { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .nav, .header__phone { display: none; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 14px var(--gutter) 22px; transform: translateY(-120%); transition: transform .3s ease; z-index: 90;
  }
  body.nav-open .nav { display: flex; transform: none; }
  body.nav-open { overflow: hidden; } /* lock page scroll behind the open drawer */
  .nav a { padding: 14px; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav .btn { margin-top: 12px; }
  body.nav-open .nav .btn, body.nav-open .nav .nav__phone { display: flex; }
  .nav__phone { display: flex; align-items: center; gap: 10px; padding: 14px; font-family: var(--font-display); font-weight: 700; color: var(--blue); }
  .nav__phone svg { width: 20px; height: 20px; }
  .split, .lead-wrap, .demo .split { grid-template-columns: 1fr; gap: 32px; }
  .vs { padding: 6px 0; }
  .lead-wrap { gap: 36px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .services-grid, .features, .testi-grid, .stats { grid-template-columns: 1fr; }
  .stats { gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .hero__float { left: 8px; bottom: 8px; }
  .hero__badge { border-radius: var(--r-md); align-items: flex-start; flex-wrap: wrap; font-size: .82rem; padding: 9px 13px; }
  .hero__badge .pill { margin-top: 1px; }
  .hero__cta .btn { width: 100%; }
  .field--row { grid-template-columns: 1fr; }
  .trustbar__inner { gap: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}
/* nav-embedded phone + CTA are for the mobile drawer only — hidden on desktop */
.nav__phone { display: none; }
.nav > .btn { display: none; }
