/* ==========================================================================
   Storm Development — Homepage
   Palette derived from existing brand: blue #1266B5, cyan #00CCFF, Poppins
   ========================================================================== */

:root {
  --ink: #060e1a;
  --navy: #0a1a2e;
  --navy-2: #0e2440;
  --blue: #1266b5;
  --cyan: #00ccff;
  --sky: #6ec1e4;
  --grad: linear-gradient(120deg, #1266b5 0%, #00ccff 100%);
  --bg: #ffffff;
  --bg-soft: #f2f7fc;
  --text: #22303f;
  --muted: #5e7187;
  --line: rgba(18, 102, 181, 0.12);
  --radius: 20px;
  --shadow-lg: 0 30px 80px -20px rgba(6, 20, 40, 0.25);
  --shadow-sm: 0 10px 30px -12px rgba(6, 20, 40, 0.18);
  --header-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: rgba(0, 204, 255, 0.25); }

/* ---------- typography ---------- */

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.on-dark .eyebrow { color: var(--cyan); }

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 20px; }
.section-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 640px; }
.on-dark .section-lead { color: rgba(255, 255, 255, 0.72); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(0, 170, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(0, 170, 255, 0.65); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.16); }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 18px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(6, 14, 26, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.6);
}

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo img { height: 52px; width: auto; flex: none; transition: height 0.4s ease; }
.site-header.scrolled .logo img { height: 42px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, 0.1); }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 12px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 6px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 2.2s ease;
  will-change: transform, opacity;
}
.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.4%, 1.6%); }
}
.hero-slide:nth-child(even).is-active { animation-name: kenburns-alt; }
@keyframes kenburns-alt {
  from { transform: scale(1.14) translate(1.2%, -1.2%); }
  to { transform: scale(1) translate(0, 0); }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(18, 102, 181, 0.38), transparent 55%),
    linear-gradient(180deg, rgba(6, 14, 26, 0.72) 0%, rgba(6, 14, 26, 0.45) 45%, rgba(6, 14, 26, 0.92) 100%);
}

#storm-canvas {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding: calc(var(--header-h) + 60px) 0 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
}
.hero-badge .stars { color: #ffc531; letter-spacing: 2px; font-size: 0.8rem; }
.hero-badge .g-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.hero-badge .g-badge img { width: 13px; height: 13px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 800;
  max-width: 17ch;
  margin-bottom: 26px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { width: 17px; height: 17px; color: var(--cyan); flex: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--cyan);
  animation: cue 1.8s infinite var(--ease-out);
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- marquee ---------- */

.ticker {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  z-index: 4;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--cyan); font-size: 0.7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */

.stats {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}
.stats::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse at 70% 20%, rgba(0, 204, 255, 0.14), transparent 55%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.stat {
  text-align: center;
  padding: 34px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.stat-num {
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #7ed6ff, #00ccff 55%, #59b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: baseline;
}
.stat-num .suffix { font-size: 0.55em; margin-left: 2px; }
.stat-label {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 400;
}

/* ---------- services ---------- */

.services { padding: 130px 0; background: var(--bg); position: relative; }
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.service-card {
  grid-column: span 2;
  position: relative;
  border-radius: var(--radius);
  padding: 36px 30px;
  background: linear-gradient(180deg, #fff, #f7fafd);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
  will-change: transform;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 204, 255, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  /* purely decorative — being absolutely positioned puts it above the
     card's static content (icon/heading/link) in paint order regardless
     of DOM order, so without this it silently eats every click on the
     card, including "Learn more" */
  pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(0, 204, 255, 0.35); }
.service-card:hover::before { opacity: 1; }

.service-card.wide { grid-column: span 3; }
.service-card.featured {
  background: linear-gradient(140deg, var(--navy) 20%, #123a63 75%, #16548d);
  color: #fff;
  border-color: rgba(0, 204, 255, 0.25);
}
.service-card.featured p { color: rgba(255, 255, 255, 0.75); }
.service-card.featured .service-link { color: var(--cyan); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px -8px rgba(0, 170, 255, 0.5);
  position: relative;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }

.service-tag {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 204, 255, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(0, 204, 255, 0.35);
}
.service-card:not(.featured) .service-tag { background: rgba(18, 102, 181, 0.08); color: var(--blue); border-color: rgba(18, 102, 181, 0.25); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
}
.service-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- portfolio / grows ---------- */

.grows {
  padding: 130px 0 0;
  background: var(--bg-soft);
  overflow: hidden;
}
.grows-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  padding-bottom: 90px;
}
.grows-copy .check-list { margin: 28px 0 36px; display: grid; gap: 14px; }
.grows-copy .check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text);
}
.grows-copy .check-list svg {
  width: 22px; height: 22px;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
  padding: 4px;
  flex: none;
  margin-top: 2px;
}

.grows-visual { position: relative; }
.grows-visual .main-shot {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.grows-visual .main-shot img { width: 100%; height: 440px; object-fit: cover; object-position: top; }
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.float-card.speed { bottom: -26px; left: -34px; }
.float-card.training { top: -26px; right: -20px; }
.float-card .fc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: 0.95rem; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 0.78rem; }

.portfolio-marquee {
  padding: 0 0 110px;
  position: relative;
}
.pm-row {
  display: flex;
  gap: 26px;
  width: max-content;
  will-change: transform;
}
.pm-item {
  width: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  flex: none;
  border: 1px solid var(--line);
}
.pm-item img { width: 100%; height: 250px; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease-out); }
.pm-item:hover img { transform: scale(1.05); }
.pm-item .pm-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(6, 14, 26, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- why / parallax band ---------- */

.why {
  position: relative;
  color: #fff;
  padding: 150px 0;
  overflow: hidden;
  background: var(--ink);
}
.why-bg {
  position: absolute;
  inset: -22% 0;
  background: url("../img/Rheidol-18.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/Rheidol-18.webp") type("image/webp"), url("../img/Rheidol-18.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}

picture { display: block; }
.why::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 14, 26, 0.93) 30%, rgba(9, 30, 54, 0.72) 70%, rgba(6, 14, 26, 0.55));
}
.why .container { position: relative; z-index: 2; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.why-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); }
.why-card .why-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(0, 204, 255, 0.15);
  border: 1px solid rgba(0, 204, 255, 0.4);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.why-card .why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

.why-family {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.why-family .paw {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
}
.why-family .paw svg { width: 24px; height: 24px; color: #fff; }

/* ---------- reviews ---------- */

.reviews { padding: 130px 0; background: var(--bg); position: relative; overflow: hidden; }
.reviews::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.08), transparent 65%);
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 34px;
  margin-bottom: 60px;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 20px 28px;
}
.rating-summary .big {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rating-summary .stars { color: #ffc531; font-size: 1.1rem; letter-spacing: 3px; }
.rating-summary small { color: var(--muted); display: block; margin-top: 4px; font-size: 0.82rem; }
.rating-summary .g-logo { width: 40px; height: 40px; }

.reviews-track-wrap { overflow: hidden; margin-inline: calc(50% - 50vw); padding: 10px calc(50vw - 50%); }
.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}
.review-card {
  width: 400px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-card .rc-head { display: flex; align-items: center; gap: 14px; }
.review-card .rc-head img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
}
.review-card .rc-head b { display: block; font-size: 0.95rem; }
.review-card .rc-head small { color: var(--muted); font-size: 0.78rem; }
.review-card .rc-stars { color: #ffc531; letter-spacing: 2px; font-size: 0.9rem; }
.review-card p {
  font-size: 0.9rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card .rc-g { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted); }
.review-card .rc-g img { width: 16px; height: 16px; }

/* ---------- cta band ---------- */

.cta-band {
  position: relative;
  margin: 0 0 0;
  padding: 130px 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(18, 102, 181, 0.5), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 204, 255, 0.22), transparent 50%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20ch; margin-inline: auto; margin-bottom: 20px; }
.cta-inner p { color: rgba(255, 255, 255, 0.75); max-width: 54ch; margin: 0 auto 42px; }
.cta-contacts {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 46px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
}
.cta-contacts a, .cta-contacts span { display: inline-flex; align-items: center; gap: 10px; }
.cta-contacts a { transition: color 0.25s; }
.cta-contacts a:hover { color: var(--cyan); }
.cta-contacts svg { width: 18px; height: 18px; color: var(--cyan); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 36px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .logo img { height: 46px; margin-bottom: 20px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 30px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s, transform 0.3s;
}
.footer-social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }

/* ---------- reveal helpers ---------- */

.reveal { opacity: 0; transform: translateY(46px); }
.reveal-l { opacity: 0; transform: translateX(-56px); }
.reveal-r { opacity: 0; transform: translateX(56px); }
.no-js .reveal, .no-js .reveal-l, .no-js .reveal-r { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .header-cta { display: none; }
  .nav a { padding: 10px 12px; font-size: 0.88rem; }
}

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grows-inner { grid-template-columns: 1fr; gap: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    height: 100vh; /* fallback for browsers without dvh support */
    height: 100dvh; /* tracks the real visible viewport as mobile browser toolbars show/hide, so the overlay never runs taller/shorter than what's on screen */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    z-index: 105;
  }
  .nav.open a { font-size: 1.3rem; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.wide { grid-column: span 1; }
  .float-card.speed { left: 0; }
  .float-card.training { right: 0; }
  .review-card { width: 320px; }
  .pm-item { width: 300px; }
  .pm-item img { height: 200px; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 24px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-l, .reveal-r { opacity: 1 !important; transform: none !important; }
}
