/* ============================================================
   Frigo Lojistik — 2026 Redesign
   Light (default) + Dark theme · vanilla CSS · no framework
   Theme switch: html[data-theme="light" | "dark"]
   ============================================================ */

:root {
  /* ---- Light theme (default) ---- */
  --bg: #f4f8fd;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(9, 60, 110, 0.1);
  --card-border-hover: rgba(2, 132, 199, 0.5);
  --card-glow: rgba(56, 189, 248, 0.1);
  --ice: #0284c7;
  --ice-light: #0ea5e9;
  --ice-deep: #0369a1;
  --aurora-a: #7cc7f4;
  --aurora-b: #93b7f5;
  --aurora-c: #7fdcec;
  --aurora-opacity: 0.35;
  --text: #0c1a2b;
  --muted: #4e6379;
  --wa: #25d366;

  --grad-a: #0ea5e9;
  --grad-b: #1d4ed8;
  --btn-grad-a: #0ea5e9;
  --btn-grad-b: #0369a1;
  --btn-text: #ffffff;
  --ghost-bg: rgba(255, 255, 255, 0.7);
  --ghost-border: rgba(9, 60, 110, 0.18);

  --header-bg: rgba(255, 255, 255, 0.62);
  --header-bg-scrolled: rgba(255, 255, 255, 0.88);
  --header-shadow: 0 12px 40px rgba(9, 40, 80, 0.1);
  --nav-hover: rgba(2, 132, 199, 0.08);
  --menu-bg: rgba(255, 255, 255, 0.97);

  --soft-bg: rgba(255, 255, 255, 0.66);
  --soft-border: rgba(9, 60, 110, 0.12);
  --chip-bg: rgba(2, 132, 199, 0.07);
  --chip-border: rgba(2, 132, 199, 0.22);
  --input-bg: rgba(9, 60, 110, 0.04);
  --input-border: rgba(9, 60, 110, 0.16);
  --track: rgba(9, 60, 110, 0.12);
  --divider: rgba(9, 60, 110, 0.14);
  --divider-soft: rgba(9, 60, 110, 0.08);

  --stats-bg: rgba(255, 255, 255, 0.82);
  --footer-bg: rgba(255, 255, 255, 0.6);
  --deep-shadow: rgba(9, 40, 80, 0.16);
  --shadow-glow: 0 18px 44px rgba(2, 132, 199, 0.16);
  --icon-stroke: var(--ice);
  --temp-glow: 0 0 24px rgba(2, 132, 199, 0.25);

  --hero-img-opacity: 0.4;
  --hero-fade-1: rgba(244, 248, 253, 0.42);
  --hero-fade-2: rgba(244, 248, 253, 0.68);
  --media-fade: rgba(12, 26, 43, 0.55);
  --cta-grad-a: rgba(14, 165, 233, 0.1);
  --cta-grad-b: rgba(29, 78, 216, 0.08);
  --cta-border: rgba(2, 132, 199, 0.28);
  --noise-opacity: 0.16;
  --ambient-a: rgba(14, 165, 233, 0.1);
  --ambient-b: rgba(37, 99, 235, 0.07);
  --ambient-c: rgba(6, 182, 212, 0.06);

  --radius: 18px;
  --radius-lg: 28px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #060b18;
  --bg-2: #0b1426;
  --surface: #0e1830;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(148, 197, 255, 0.12);
  --card-border-hover: rgba(125, 211, 252, 0.45);
  --card-glow: rgba(56, 189, 248, 0.12);
  --ice: #38bdf8;
  --ice-light: #7dd3fc;
  --ice-deep: #0ea5e9;
  --aurora-a: #0ea5e9;
  --aurora-b: #2563eb;
  --aurora-c: #06b6d4;
  --aurora-opacity: 0.5;
  --text: #eaf2fb;
  --muted: #8fa3bf;

  --grad-a: #7dd3fc;
  --grad-b: #60a5fa;
  --btn-grad-a: #7dd3fc;
  --btn-grad-b: #0ea5e9;
  --btn-text: #041018;
  --ghost-bg: rgba(255, 255, 255, 0.05);
  --ghost-border: rgba(148, 197, 255, 0.25);

  --header-bg: rgba(10, 18, 36, 0.55);
  --header-bg-scrolled: rgba(8, 14, 30, 0.85);
  --header-shadow: 0 12px 40px rgba(2, 8, 23, 0.6);
  --nav-hover: rgba(125, 211, 252, 0.08);
  --menu-bg: rgba(8, 14, 30, 0.97);

  --soft-bg: rgba(255, 255, 255, 0.04);
  --soft-border: rgba(148, 197, 255, 0.1);
  --chip-bg: rgba(56, 189, 248, 0.08);
  --chip-border: rgba(56, 189, 248, 0.22);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(148, 197, 255, 0.15);
  --track: rgba(148, 197, 255, 0.12);
  --divider: rgba(148, 197, 255, 0.12);
  --divider-soft: rgba(148, 197, 255, 0.08);

  --stats-bg: rgba(13, 22, 44, 0.7);
  --footer-bg: rgba(5, 9, 20, 0.6);
  --deep-shadow: rgba(2, 8, 23, 0.55);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.25);
  --icon-stroke: var(--ice-light);
  --temp-glow: 0 0 30px rgba(56, 189, 248, 0.5);

  --hero-img-opacity: 0.28;
  --hero-fade-1: rgba(6, 11, 24, 0.25);
  --hero-fade-2: rgba(6, 11, 24, 0.55);
  --media-fade: rgba(8, 14, 28, 0.92);
  --cta-grad-a: rgba(14, 165, 233, 0.16);
  --cta-grad-b: rgba(37, 99, 235, 0.12);
  --cta-border: rgba(56, 189, 248, 0.3);
  --noise-opacity: 0.35;
  --ambient-a: rgba(14, 165, 233, 0.13);
  --ambient-b: rgba(37, 99, 235, 0.12);
  --ambient-c: rgba(6, 182, 212, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(56, 189, 248, 0.35); }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.02em; }

/* Gradient text (theme aware) */
.grad {
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Theme-dependent logo variants */
.logo-dark { display: none; }
.logo-light { display: block; }
html[data-theme="dark"] .logo-dark { display: block; }
html[data-theme="dark"] .logo-light { display: none; }

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(60% 50% at 15% 0%, var(--ambient-a), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, var(--ambient-b), transparent 60%),
    radial-gradient(45% 45% at 50% 110%, var(--ambient-c), transparent 65%),
    var(--bg);
  transition: background 0.35s;
}
.ambient::after {
  content: ""; position: absolute; inset: 0; opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
#snow-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- Scroll progress ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--ice-deep), var(--ice-light));
  z-index: 1002; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1220px, 95%); z-index: 1000;
  border-radius: 20px;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--card-border);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.header.scrolled {
  background: var(--header-bg-scrolled);
  border-color: var(--soft-border);
  box-shadow: var(--header-shadow);
}
.navbar { padding: 0 22px; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 14px; }
.nav-logo img { height: 44px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 15px; border-radius: 12px;
  font-weight: 500; font-size: 0.95rem; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--text); background: var(--nav-hover); }
.nav-link.active { color: var(--ice); }
.nav-link.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--ice-deep), var(--ice-light));
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 13px; font-weight: 600; font-size: 0.92rem;
  color: var(--btn-text); background: linear-gradient(135deg, var(--btn-grad-a), var(--btn-grad-b));
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14, 165, 233, 0.5); }

/* Theme toggle */
.theme-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 13px; cursor: pointer;
  background: var(--soft-bg); border: 1px solid var(--soft-border);
  color: var(--muted);
  transition: transform 0.3s var(--ease-spring), color 0.25s, border-color 0.25s;
}
.theme-toggle:hover { transform: scale(1.08) rotate(10deg); color: var(--ice); border-color: var(--card-border-hover); }
.theme-toggle svg { width: 20px; height: 20px; stroke: currentColor; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.hamburger { display: none; cursor: pointer; background: none; border: 0; padding: 10px; }
.hamburger .bar { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 15px; font-weight: 600; font-size: 1rem;
  font-family: var(--font-head); letter-spacing: -0.01em; cursor: pointer; border: 0;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
  will-change: transform;
}
.btn-primary {
  color: var(--btn-text); background: linear-gradient(135deg, var(--btn-grad-a), var(--btn-grad-b));
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 36px rgba(14, 165, 233, 0.55); }
.btn-ghost {
  color: var(--text); background: var(--ghost-bg);
  border: 1px solid var(--ghost-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--nav-hover); border-color: var(--card-border-hover); }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 90px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--hero-img-opacity);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  transform: scale(1.08);
  animation: hero-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-drift { from { transform: scale(1.08) translateX(0); } to { transform: scale(1.08) translateX(-2%); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--hero-fade-1) 0%, var(--hero-fade-2) 55%, var(--bg) 100%);
}
.aurora {
  position: absolute; z-index: -1; filter: blur(90px); opacity: var(--aurora-opacity); border-radius: 50%;
  animation: aurora-float 16s ease-in-out infinite alternate;
}
.aurora-1 { width: 560px; height: 560px; top: -180px; left: -140px; background: var(--aurora-a); }
.aurora-2 { width: 480px; height: 480px; top: 10%; right: -160px; background: var(--aurora-b); animation-delay: -5s; }
.aurora-3 { width: 420px; height: 420px; bottom: -120px; left: 30%; background: var(--aurora-c); animation-delay: -10s; opacity: calc(var(--aurora-opacity) * 0.6); }
@keyframes aurora-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

.hero-inner { display: grid; gap: 34px; max-width: 860px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--ice); background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  backdrop-filter: blur(8px);
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ice);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; line-height: 1.08;
}
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 620px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted);
  padding: 8px 14px; border-radius: 12px;
  background: var(--soft-bg); border: 1px solid var(--soft-border);
}
.hero-badge svg { width: 16px; height: 16px; stroke: var(--ice); flex-shrink: 0; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--track); border-radius: 14px;
}
.scroll-hint::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: var(--ice);
  animation: scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes scroll-wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Stats band ---------- */
.stats-band { position: relative; margin-top: -30px; padding-bottom: 30px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 30px; border-radius: var(--radius-lg);
  background: var(--stats-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px var(--deep-shadow);
}
.stat { text-align: center; padding: 8px 4px; }
.stat-value {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ice); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-desc { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius-lg); padding: 34px 30px;
  background: var(--card); border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-spring), border-color 0.35s, box-shadow 0.4s, background 0.35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--card-glow), transparent 65%);
  transition: opacity 0.4s; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--card-border-hover); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }

.icon-chip {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.12));
  border: 1px solid var(--chip-border); margin-bottom: 22px;
  transition: transform 0.4s var(--ease-spring);
}
.icon-chip svg { width: 26px; height: 26px; stroke: var(--icon-stroke); }
.card:hover .icon-chip { transform: scale(1.1) rotate(-6deg); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ice); font-size: 0.95rem;
}
.service-link svg { width: 16px; height: 16px; stroke: currentColor; transition: transform 0.3s var(--ease-spring); }
.service-link:hover svg { transform: translateX(5px); }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Temperature strip ---------- */
.temp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.temp-card { text-align: center; }
.temp-value {
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem;
  color: var(--ice); text-shadow: var(--temp-glow);
}
.temp-name { font-weight: 600; margin-top: 4px; }
.temp-desc { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.temp-gauge {
  height: 6px; border-radius: 6px; margin-top: 18px;
  background: var(--track); overflow: hidden; position: relative;
}
.temp-gauge span {
  position: absolute; inset: 0; width: 0; border-radius: 6px;
  background: linear-gradient(90deg, var(--grad-b), var(--grad-a));
  transition: width 1.4s var(--ease-spring);
}
.temp-card.in-view .temp-gauge span { width: var(--fill, 70%); }

/* ---------- Marquee ---------- */
.marquee-section { padding: 30px 0; border-block: 1px solid var(--divider-soft); overflow: hidden; }
.marquee { display: flex; gap: 18px; width: max-content; animation: marquee-scroll 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  color: var(--muted); background: var(--soft-bg);
  border: 1px solid var(--soft-border);
}
.marquee-item svg { width: 18px; height: 18px; stroke: var(--ice); }

/* ---------- Process timeline ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; }
.process-step .step-no {
  position: absolute; top: 20px; right: 24px; font-family: var(--font-head);
  font-size: 3rem; font-weight: 800; opacity: 0.08; line-height: 1;
}
.process-step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Split sections (service detail) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split.reverse > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 60px var(--deep-shadow);
}
.split-media::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%;
  border-radius: var(--radius-lg); z-index: -1;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), transparent);
  filter: blur(2px);
}
.split-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 18px; }
.split-text > p { color: var(--muted); margin-bottom: 26px; }

.check-list { display: grid; gap: 13px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; }
.check-list svg { width: 20px; height: 20px; stroke: var(--ice); flex-shrink: 0; margin-top: 3px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  background: var(--chip-bg); border: 1px solid var(--chip-border);
  color: var(--text); transition: transform 0.3s var(--ease-spring), background 0.3s;
}
.chip:hover { transform: translateY(-2px) scale(1.04); background: var(--nav-hover); }
.chip svg { width: 15px; height: 15px; stroke: var(--ice); }

/* ---------- Vehicle cards ---------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle-card { padding: 0; overflow: hidden; }
.vehicle-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-spring); }
.vehicle-card:hover .vehicle-media img { transform: scale(1.07); }
.vehicle-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, var(--media-fade) 100%);
}
.vehicle-temp {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 7px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  color: #06202e; background: rgba(125, 211, 252, 0.92); backdrop-filter: blur(6px);
}
.vehicle-body { padding: 26px 26px 30px; }
.vehicle-body h3 { font-size: 1.28rem; margin-bottom: 16px; }
.spec-rows { display: grid; gap: 10px; margin-bottom: 16px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; padding-bottom: 10px; border-bottom: 1px dashed var(--divider); }
.spec-row dt { color: var(--muted); }
.spec-row dd { font-weight: 600; }
.vehicle-body > p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Values / bento ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { text-align: center; padding: 30px 20px; }
.cert-card h3 { font-size: 1.05rem; margin: 14px 0 4px; }
.cert-card p { color: var(--muted); font-size: 0.88rem; }
.cert-card .icon-chip { margin-inline: auto; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 34px; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--ice), transparent);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--ice);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}
.timeline-year { font-family: var(--font-head); font-weight: 700; color: var(--ice); font-size: 1.06rem; }
.timeline-item h3 { font-size: 1.14rem; margin: 6px 0; }
.timeline-item p { color: var(--muted); font-size: 0.95rem; max-width: 560px; }

/* ---------- Regions map ---------- */
.regions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.region-title { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 18px; }
.region-title svg { width: 22px; height: 22px; stroke: var(--icon-stroke); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 780px; margin-inline: auto; }
.faq-item {
  border-radius: var(--radius); border: 1px solid var(--card-border);
  background: var(--card); overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--card-border-hover); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; cursor: pointer; font-weight: 600; font-family: var(--font-head);
  font-size: 1.02rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; stroke: var(--ice); flex-shrink: 0; transition: transform 0.35s var(--ease-spring); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 22px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { text-align: center; }
.contact-card .icon-chip { margin-inline: auto; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.94rem; }
.contact-card a:hover { color: var(--ice); }

.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--card-border);
  box-shadow: 0 24px 60px var(--deep-shadow);
}
html[data-theme="dark"] .map-wrap { filter: saturate(0.7) contrast(1.05); }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }

/* Quote form */
.quote-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.quote-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 13px; font: inherit; color: var(--text);
  background: var(--input-bg); border: 1px solid var(--input-border);
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ice); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.form-note { font-size: 0.84rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-section { padding: 60px 0 100px; }
.cta-box {
  position: relative; text-align: center; padding: 70px 30px; border-radius: 32px; overflow: hidden;
  background: linear-gradient(135deg, var(--cta-grad-a), var(--cta-grad-b));
  border: 1px solid var(--cta-border);
}
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: calc(var(--aurora-opacity) * 0.9); z-index: 0;
}
.cta-box::before { width: 340px; height: 340px; background: var(--aurora-a); top: -160px; left: -80px; }
.cta-box::after { width: 300px; height: 300px; background: var(--aurora-b); bottom: -140px; right: -60px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--divider-soft); padding: 70px 0 30px; background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 300px; }
.footer h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--text); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 0.93rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--ice); }
.footer-contact { display: grid; gap: 12px; color: var(--muted); font-size: 0.93rem; }
.footer-contact a { color: var(--muted); } .footer-contact a:hover { color: var(--ice); }
.footer-contact .row { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--ice); flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--divider-soft); padding-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 0.85rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2fe07a, var(--wa));
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.12) rotate(6deg); box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6); animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.55); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 80px; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 14px; }
.page-hero .lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--ice); }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs [aria-current] { color: var(--ice); }

/* ---------- Reveal animations (only when JS is active: html.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring); transition-delay: var(--d, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring); }
.js .reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring); }
.js .reveal-left.in-view, .js .reveal-right.in-view { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .vehicle-grid, .temp-strip { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .values-grid, .cert-grid, .contact-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .split-media { order: 0; }
  .quote-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-menu {
    position: fixed; inset: 92px 3% auto; z-index: 999;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px;
    border-radius: 22px; background: var(--menu-bg);
    border: 1px solid var(--soft-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px var(--deep-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s var(--ease-spring), visibility 0.3s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 14px 18px; font-size: 1rem; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .services-grid, .vehicle-grid, .temp-strip, .regions-grid, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .section { padding: 70px 0; }
  .stats-grid { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-box { padding: 50px 22px; }
  .page-hero { padding-top: 150px; }
}

@media (max-width: 480px) {
  .features-grid, .values-grid, .cert-grid, .contact-grid, .process-steps, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 6px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right { opacity: 1; transform: none; }
  #snow-canvas { display: none; }
}
