/* ==========================================================
   Wolff Wisdom AI Solutions — main stylesheet
   Brand colours live in :root — change them here only.
   ========================================================== */

:root {
  /* Brand: neurons (magenta → orange) meet circuits (cyan) */
  --navy: #07080f;
  --navy-2: #11131f;
  --navy-3: #1a1d2e;
  --magenta: #e6207f;
  --orange: #ff7a1a;
  --cyan: #22c8f0;
  --accent: #d81b76;
  --accent-dark: #b3125f;
  --brand-gradient: linear-gradient(95deg, var(--magenta) 0%, var(--orange) 100%);
  --spectrum: linear-gradient(90deg, var(--magenta) 0%, var(--orange) 45%, var(--cyan) 100%);

  --text: #1c2533;
  --muted: #5b6676;
  --light: #f4f5f9;
  --white: #ffffff;
  --border: #e3e5ee;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 8, 15, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 8, 15, 0.16);
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.accent, .grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.grad-text { background-image: linear-gradient(90deg, #ff3d9a 0%, #ff8a2a 42%, #fff1e0 60%, #7fe3ff 72%, var(--cyan) 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-position .4s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand-gradient); background-size: 160% 100%; background-position: 0 0;
  color: var(--white); box-shadow: 0 8px 24px rgba(230, 32, 127, .35);
}
.btn-primary:hover { background-position: 100% 0; color: var(--white); box-shadow: 0 10px 30px rgba(255, 122, 26, .4); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: rgba(7,8,15,.4); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); box-shadow: 0 0 22px rgba(34, 200, 240, .35); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 15, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: var(--header-h);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; letter-spacing: .5px; line-height: 1.1; color: var(--white); }
.logo-text small { font-size: 10.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; position: relative; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--spectrum); transition: width .25s;
}
.main-nav a:not(.btn):hover { color: var(--white); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Language switcher ---------- */
.header-inner { gap: 20px; }
.main-nav { margin-left: auto; }
.lang { position: relative; flex-shrink: 0; }
.lang-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; min-height: 42px;
  font: 600 14px/1 var(--font); color: var(--white);
  background: #0d1220;
  border: 1px solid rgba(34, 200, 240, .45); border-radius: 12px;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 200, 240, .15), 0 0 18px rgba(34, 200, 240, .2);
}
.lang-btn:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 200, 240, .35); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lang-globe { color: var(--cyan); }
.lang-chevron { opacity: .8; transition: transform .25s; }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-short { display: none; }

.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  min-width: 250px; margin: 0; padding: 6px; list-style: none;
  background: #0b0f1a; border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: none; }
.lang-menu [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); white-space: nowrap;
  cursor: pointer; outline: none; transition: background .15s, color .15s;
}
.lang-menu [role="option"]:hover, .lang-menu [role="option"]:focus-visible { background: rgba(255,255,255,.06); color: var(--white); }
.lang-menu [role="option"][aria-selected="true"] { color: var(--cyan); background: rgba(34, 200, 240, .08); }
.lang-check { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
[aria-selected="true"] > .lang-check { opacity: 1; }

.site-header .container { max-width: 1360px; }
.main-nav a, .logo-text { white-space: nowrap; }

@media (max-width: 1360px) {
  .main-nav { gap: 22px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: var(--white);
  min-height: clamp(620px, calc(100vh - var(--header-h)), 900px);
  display: flex; align-items: center;
  padding: 90px 0;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 52% at 50% 50%, rgba(7,8,15,.9) 0%, rgba(7,8,15,.6) 55%, rgba(7,8,15,0) 100%),
    linear-gradient(180deg, rgba(7,8,15,0) 70%, rgba(7,8,15,.85) 100%);
}
.hero-inner { position: relative; text-align: center; max-width: 860px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.88); padding: 8px 18px; border-radius: 50px; margin-bottom: 26px;
  border: 1px solid transparent;
  background: linear-gradient(rgba(7,8,15,.9), rgba(7,8,15,.9)) padding-box, var(--spectrum) border-box;
}
.eyebrow span { color: var(--orange); margin: 0 4px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero-lead { font-size: 18px; color: rgba(255,255,255,.84); max-width: 620px; margin: 0 auto 36px; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-points {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px; color: rgba(255,255,255,.75);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--light); }
.section-title { font-size: clamp(28px, 3.4vw, 40px); text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--accent); font-weight: 600; font-size: 18px; margin-bottom: 56px; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(230, 32, 127, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6207f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.sm li { font-size: 14px; margin-bottom: 8px; }
.tier.featured .check-list li::before {
  background-color: rgba(34, 200, 240, .15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c8f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}

/* Why */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.why-grid p { color: var(--muted); font-size: 17px; }
.advantages { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.advantages::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--spectrum); }
.advantages h3 { font-size: 20px; margin-bottom: 20px; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(230, 32, 127, .25); }
.card-icon, .feature-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--light);
  display: grid; place-items: center; margin: 0 auto 22px;
  transition: background .3s;
}
.card-icon svg, .feature-icon svg {
  width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s;
}
.card:hover .card-icon { background: var(--brand-gradient); }
.card:hover .card-icon svg { stroke: var(--white); }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }
.card-link { font-weight: 600; font-size: 14px; }

/* Voice tiers */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tier {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier.featured {
  color: var(--white); border-color: var(--navy);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 200, 240, .2), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(230, 32, 127, .25), transparent 55%),
    var(--navy);
}
.tier.featured p { color: rgba(255,255,255,.75); }
.tier-level { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.tier.featured .tier-level { color: var(--cyan); }
.tier h3 { font-size: 21px; }
.tier p { font-size: 14px; color: var(--muted); }
.tier .check-list { flex: 1; }
.tier-badge {
  position: absolute; top: -12px; right: 20px; background: var(--brand-gradient); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px;
}

/* POS */
.pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 960px; margin: 0 auto; }
.pos-card {
  background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
  border: 2px solid transparent; display: flex; flex-direction: column;
}
.pos-card.featured { background: linear-gradient(var(--white), var(--white)) padding-box, var(--spectrum) border-box; }
.pos-card h3 { font-size: 24px; }
.pos-card > p { color: var(--muted); }
.pos-card .check-list { flex: 1; }
.pos-card .check-list { margin-bottom: 28px; }

/* PlowPath */
.plowpath {
  position: relative; overflow: hidden; padding: 110px 0;
  color: var(--white);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(34, 200, 240, .18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(230, 32, 127, .14), transparent 50%),
    var(--navy);
}
.pp-snow {
  /* Static on purpose: an animated layer this tall corrupts rendering on many phone GPUs */
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='20' cy='30' r='1.6'/%3E%3Ccircle cx='90' cy='120' r='1.2'/%3E%3Ccircle cx='160' cy='60' r='2'/%3E%3Ccircle cx='220' cy='170' r='1.2'/%3E%3Ccircle cx='280' cy='90' r='1.6'/%3E%3Ccircle cx='60' cy='180' r='1'/%3E%3Ccircle cx='250' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.pp-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.pp-badge {
  display: inline-block; margin-bottom: 20px; padding: 7px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan);
  background: rgba(34, 200, 240, .1); border: 1px solid rgba(34, 200, 240, .35);
}
.plowpath .section-title { color: var(--white); }
.pp-lead { font-size: 18px; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 34px; }

.pp-features { list-style: none; padding: 0; margin: 0 0 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.pp-features li { display: flex; gap: 14px; align-items: flex-start; }
.pp-features strong { display: block; font-size: 15px; margin-bottom: 2px; }
.pp-features span:not(.pp-icon) { font-size: 14px; color: rgba(255,255,255,.65); }
.pp-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(34, 200, 240, .1); border: 1px solid rgba(34, 200, 240, .25);
}
.pp-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pp-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-store {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  font-size: 15px; font-weight: 700; line-height: 1.15;
}
.pp-store small { display: block; font-size: 10px; font-weight: 500; color: rgba(255,255,255,.6); }
.pp-store svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linejoin: round; }

/* PlowPath phone mockup */
.pp-visual { display: flex; justify-content: center; }
.pp-phone {
  position: relative; width: 300px; padding: 12px; border-radius: 44px;
  background: linear-gradient(145deg, #232838, #0b0e18);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.55), 0 0 80px rgba(34, 200, 240, .15);
  transform: rotate(-3deg);
}
.pp-notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 22px; margin-left: -45px; border-radius: 20px; background: #05070d; z-index: 2; }
.pp-screen { border-radius: 34px; background: #0a0f1c; padding: 48px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.pp-top { display: flex; justify-content: space-between; align-items: center; }
.pp-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 16px; }
.pp-brand svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; }
.pp-live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #7ee2a8; text-transform: uppercase; letter-spacing: 1px; }
.pp-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; animation: pp-pulse 1.6s infinite; }
@keyframes pp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.pp-alert {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(95deg, rgba(230, 32, 127, .25), rgba(255, 122, 26, .2));
  border: 1px solid rgba(255, 122, 26, .35);
}
.pp-alert strong { display: block; font-size: 13px; }
.pp-alert small { font-size: 11px; color: rgba(255,255,255,.7); }
.pp-alert-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); flex-shrink: 0; }
.pp-alert-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

.pp-map { border-radius: 14px; overflow: hidden; background: #0f1627; border: 1px solid rgba(255,255,255,.06); }
.pp-map svg { width: 100%; height: auto; }
.pp-streets path { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 9; }
.pp-route-bg { fill: none; stroke: rgba(34, 200, 240, .18); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.pp-route {
  fill: none; stroke: var(--cyan); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 315; stroke-dashoffset: 315;
  animation: pp-route 6s linear infinite;
}
@keyframes pp-route { 0% { stroke-dashoffset: 315; } 70%, 100% { stroke-dashoffset: 0; } }
.pp-stops circle { fill: #0a0f1c; stroke: #bff0ff; stroke-width: 2; }
.pp-truck {
  fill: var(--orange); stroke: #fff; stroke-width: 2.5;
  /* Plain transform keyframes along the route: works on every phone (offset-path glitches on some) */
  animation: pp-truck 6s linear infinite;
}
@keyframes pp-truck {
  0%          { transform: translate(20px, 130px); }
  20%         { transform: translate(110px, 130px); }
  31%         { transform: translate(110px, 80px); }
  46.7%       { transform: translate(180px, 80px); }
  57.8%       { transform: translate(180px, 30px); }
  70%, 100%   { transform: translate(235px, 30px); }
}

.pp-crew {
  display: grid; grid-template-columns: auto 1fr 54px; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04);
}
.pp-crew strong { display: block; font-size: 13px; }
.pp-crew small { font-size: 11px; color: rgba(255,255,255,.6); }
.pp-dot { width: 10px; height: 10px; border-radius: 50%; }
.pp-dot.ok { background: #2ecc71; box-shadow: 0 0 8px #2ecc71; }
.pp-dot.warn { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.pp-progress { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.pp-progress span { display: block; height: 100%; border-radius: inherit; background: var(--cyan); }

.pp-notify {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px;
  font-size: 11.5px; color: rgba(255,255,255,.85); background: rgba(34, 200, 240, .1); border: 1px solid rgba(34, 200, 240, .25);
}
.pp-notify svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  .pp-route, .pp-truck, .pp-live::before { animation: none; }
  .pp-route { stroke-dashoffset: 0; }
  .pp-truck { transform: translate(235px, 30px); }
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 30px; margin-top: 56px; }
.feature { text-align: center; }
.feature-icon { width: 64px; height: 64px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-gradient); color: var(--white); font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(circle at 0% 100%, rgba(230, 32, 127, .35), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(34, 200, 240, .3), transparent 45%),
    var(--navy);
  color: var(--white); padding: 84px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 200, 240, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 200, 240, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-inner { position: relative; max-width: 760px; }
.cta-banner h2 { font-size: clamp(26px, 3.2vw, 36px); }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 30px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-intro p { color: var(--muted); }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px; background: var(--white); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(230, 32, 127, .3); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--light); color: var(--accent);
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; background: var(--brand-gradient); color: var(--white); }
.faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }
.faq-body p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 17px; }
.contact-form {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-lg);
}
.contact-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--spectrum); }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 18px; color: rgba(255,255,255,.85); }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--white); background: var(--navy-2); border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
/* Dropdown: dark native list with clearly readable options in every browser */
.contact-form select {
  color-scheme: dark;
  appearance: none; -webkit-appearance: none;
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c8f0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.contact-form select option {
  color: #ffffff; background-color: #1a1f30;
  font-size: 15px; font-weight: 500; padding: 10px 14px;
}
.contact-form select option[value=""] { color: #b8c0d4; }
.contact-form select option:checked { color: #ffffff; background-color: #1f6f8b; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 200, 240, .25);
}
.contact-form .invalid { border-color: #ff5c7a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin: 14px 0 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #7fe3ff; }
.form-status.err { color: #ff8fa6; }

.phone-card {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 8px;
  padding: 16px 22px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text);
  transition: transform .2s, box-shadow .2s;
}
.phone-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.phone-card small { display: block; font-size: 13px; color: var(--muted); }
.phone-card strong { font-size: 20px; letter-spacing: .5px; }
.phone-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-gradient); display: grid; place-items: center; flex-shrink: 0; }
.phone-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { position: relative; background: var(--navy); color: rgba(255,255,255,.7); padding: 44px 0; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--spectrum); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 14px; }
.footer-nav a:hover { color: var(--cyan); }
.copyright { margin: 0; font-size: 13px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Header collapses to a menu button earlier, so longer French labels always fit */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .lang { margin-left: auto; }
  .header-inner { gap: 10px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 12px 24px 24px;
    box-shadow: 0 20px 30px rgba(0,0,0,.4);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }
}

@media (max-width: 960px) {

  .hero { padding: 70px 0; min-height: 600px; }
  .hero-scrim { background: radial-gradient(ellipse 80% 55% at 50% 50%, rgba(7,8,15,.9) 0%, rgba(7,8,15,.55) 60%, rgba(7,8,15,.1) 100%); }
  .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-grid { grid-template-columns: 1fr; }
  .pp-grid { grid-template-columns: 1fr; gap: 56px; }
  .plowpath { padding: 80px 0; }
  .faq-intro { position: static; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-sub { margin-bottom: 40px; }
  .card-grid, .tier-grid, .steps { grid-template-columns: 1fr; }
  .feature-grid { gap: 36px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .pp-features { grid-template-columns: 1fr; }
  .pp-phone { width: 280px; transform: none; }
  .pp-actions .btn { width: 100%; }
  .contact-form, .pos-card { padding: 28px 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 18px; }
  .logo-text { font-size: 15px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ---------- Phone polish ---------- */
h1, h2, h3, .section-sub { text-wrap: balance; }
p, li { text-wrap: pretty; }

@media (max-width: 640px) {
  :root { --header-h: 68px; }

  /* Hero */
  .hero { min-height: 0; padding: 56px 0 64px; }
  .hero-scrim {
    background:
      radial-gradient(ellipse 95% 60% at 50% 48%, rgba(7,8,15,.92) 0%, rgba(7,8,15,.7) 55%, rgba(7,8,15,.25) 100%),
      linear-gradient(180deg, rgba(7,8,15,0) 75%, rgba(7,8,15,.9) 100%);
  }
  .eyebrow { font-size: 10.5px; letter-spacing: 1.6px; padding: 7px 14px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); letter-spacing: -.5px; margin-bottom: 18px; }
  .hero-lead { font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 32px; font-size: 12.5px; text-align: left; }
  .hero-points li { justify-content: flex-start; }

  /* Typography */
  .section-title { font-size: clamp(26px, 7.2vw, 32px); }
  .section-sub { font-size: 16px; }
  .why-grid p, .contact-copy > p, .pp-lead { font-size: 16px; }
  .cta-banner { padding: 64px 0; }
  .cta-banner p { font-size: 16px; }

  /* Cards */
  .card { padding: 30px 22px; }
  .advantages { padding: 28px 22px; }
  .pos-card h3 { font-size: 21px; }
  .faq-item summary { padding: 18px 50px 18px 18px; font-size: 15px; }
  .faq-item summary::after { right: 16px; }
  .faq-body { padding: 0 18px 18px; }
  .phone-card { display: flex; width: 100%; }

  /* Buttons: comfortable tap size */
  .btn { padding: 15px 22px; }
  .btn-outline, .pos-card .btn { width: 100%; }
}

/* Small phones (iPhone SE, compact Android) */
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 14px; }
  .logo-text small { font-size: 9px; letter-spacing: 2.4px; }
  .lang-btn { padding: 8px 10px; gap: 6px; min-height: 40px; }
  .lang-chevron { display: none; }
  .lang-menu { right: -48px; min-width: 240px; }
  .eyebrow { font-size: 9.5px; letter-spacing: 1.2px; padding: 6px 12px; }
  .hero-points { font-size: 12px; }
  .pp-phone { width: 260px; }
  .pp-stores { width: 100%; }
  .pp-store { flex: 1; justify-content: center; }
}

/* ==========================================================
   Stacked sections: each section slides over the previous one
   with rounded corners, which keeps the page compact.
   ========================================================== */
:root { --overlap: 36px; }

main > section:not(.hero) {
  position: relative;
  margin-top: calc(-1 * var(--overlap));
  border-radius: var(--overlap) var(--overlap) 0 0;
  box-shadow: 0 -16px 40px rgba(7, 8, 15, .10);
}
.section { background: var(--white); }
.section.alt { background: var(--light); }

.hero { padding: 90px 0 calc(90px + var(--overlap)); }
.section { padding: 80px 0 calc(80px + var(--overlap)); }
.plowpath { padding: 96px 0 calc(96px + var(--overlap)); }
.cta-banner { padding: 72px 0 calc(72px + var(--overlap)); }
.site-footer {
  margin-top: calc(-1 * var(--overlap));
  border-radius: var(--overlap) var(--overlap) 0 0;
  overflow: hidden; padding: 48px 0 40px;
}
.section-sub { margin-bottom: 40px; }

/* Compact "Why choose us": icon beside the text */
.feature-grid { margin-top: 40px; gap: 32px 28px; }
.feature { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start; text-align: left; }
.feature-icon { width: 52px; height: 52px; margin: 0; border-radius: 14px; grid-row: span 2; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 16px; margin-bottom: 4px; }

/* ---------- PlowPath demo ---------- */
.pp-demo {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 32px; border-radius: 24px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
}
.pp-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(circle at 20% 80%, rgba(230, 32, 127, .25), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(34, 200, 240, .25), transparent 55%),
    #0a0f1c;
  border: 1px solid rgba(34, 200, 240, .3);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.pp-video video { display: none; width: 100%; height: 100%; object-fit: cover; background: #000; }
.pp-video.has-video video { display: block; }
.pp-video.has-video .pp-video-placeholder { display: none; }
.pp-video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 20px;
}
.pp-video-placeholder strong { font-size: 18px; margin-top: 10px; }
.pp-video-placeholder small { font-size: 14px; color: rgba(255,255,255,.65); }
.pp-play {
  position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-gradient); box-shadow: 0 10px 30px rgba(230, 32, 127, .45);
}
.pp-play::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); animation: pp-ring 2s ease-out infinite;
}
@keyframes pp-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.pp-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.pp-demo-copy h3 { font-size: 28px; margin-bottom: 12px; }
.pp-demo-copy p { color: rgba(255,255,255,.75); }
.pp-demo-copy .check-list li { font-size: 15px; }

@media (prefers-reduced-motion: reduce) { .pp-play::after { animation: none; } }

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero { padding: 70px 0 calc(70px + var(--overlap)); }
  .plowpath { padding: 80px 0 calc(80px + var(--overlap)); }
  .pp-demo { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
}

@media (max-width: 640px) {
  :root { --overlap: 24px; }

  .hero { padding: 56px 0 calc(64px + var(--overlap)); }
  .section { padding: 60px 0 calc(60px + var(--overlap)); }
  .plowpath { padding: 64px 0 calc(64px + var(--overlap)); }
  .cta-banner { padding: 56px 0 calc(56px + var(--overlap)); }
  .section-sub { margin-bottom: 28px; }

  /* Service cards: icon beside the text */
  .card-grid { gap: 14px; }
  .card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; padding: 20px; }
  .card-icon { width: 52px; height: 52px; margin: 0; grid-row: span 3; }
  .card-icon svg { width: 24px; height: 24px; }
  .card h3 { font-size: 17px; margin-bottom: 4px; }
  .card p { font-size: 14px; margin-bottom: 6px; }

  /* Voice levels and steps: swipe sideways instead of a long stack */
  .tier-grid, .steps {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 16px 16px 10px; scrollbar-width: none;
  }
  .tier-grid::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .tier-grid > *, .steps > * { flex: 0 0 82%; scroll-snap-align: center; }
  .tier:hover { transform: none; }

  .feature-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .pp-demo { padding: 16px; gap: 24px; margin-top: 44px; border-radius: 20px; }
  .pp-demo-copy { padding: 0 6px 8px; }
  .pp-demo-copy h3 { font-size: 23px; }
  .pp-demo-copy .btn { width: 100%; }
  .pp-play { width: 60px; height: 60px; }
  .pp-video-placeholder strong { font-size: 15px; }
  .pp-video-placeholder small { font-size: 12.5px; }
}
