/* ==========================================================
   Creative911 — styles
   Palette: red (action) · galaxy blue (highlight) · white (text)
   ========================================================== */

:root {
  /* Deep-space blue backgrounds */
  --bg: #061238;
  --bg-alt: #081747;
  --bg-deep: #030A26;
  --surface: rgba(120, 180, 255, 0.06);
  --surface-hover: rgba(120, 180, 255, 0.11);
  --border: rgba(140, 195, 255, 0.14);
  --border-strong: rgba(140, 195, 255, 0.26);

  /* Text */
  --text: #FFFFFF;
  --muted: #A9BCE3;
  --dim: #6F84B8;

  /* Red — buttons & calls to action */
  --red: #FF3D2E;
  --red-soft: #FF6B5E;
  --red-glow: rgba(255, 61, 46, 0.45);

  /* Galaxy blue — highlights, icons, glows */
  --blue: #6CC8FF;
  --blue-soft: #A8DEFF;
  --blue-deep: #2F6BFF;
  --blue-glow: rgba(108, 200, 255, 0.4);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--blue); color: var(--bg-deep); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Red → blue "galaxy" gradient text */
.accent-text {
  background: linear-gradient(100deg, var(--red) 0%, #FF6F91 42%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Deep space backdrop ---------- */
/* Nebula haze (fixed) + animated starfield canvas (drawn in script.js) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 5%, rgba(40, 110, 255, .32), transparent 70%),
    radial-gradient(ellipse 60% 50% at 5% 80%, rgba(30, 70, 200, .30), transparent 70%),
    radial-gradient(ellipse 45% 40% at 50% 50%, rgba(20, 60, 170, .25), transparent 75%),
    radial-gradient(ellipse 35% 30% at 75% 95%, rgba(255, 61, 46, .05), transparent 70%),
    linear-gradient(180deg, #041039 0%, var(--bg-deep) 55%, #020821 100%);
}
/* Faint galaxy band sweeping diagonally across the sky, slowly turning */
.galaxy-band {
  position: fixed; z-index: -2; pointer-events: none;
  left: 50%; top: 50%;
  width: 180vmax; height: 34vmax;
  margin: -17vmax 0 0 -90vmax;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(170, 215, 255, .16), transparent 70%),
    radial-gradient(ellipse 30% 22% at 38% 46%, rgba(120, 190, 255, .16), transparent 70%),
    radial-gradient(ellipse 22% 18% at 64% 56%, rgba(90, 140, 255, .18), transparent 70%),
    radial-gradient(ellipse 14% 30% at 55% 40%, rgba(2, 8, 33, .5), transparent 70%);
  filter: blur(30px);
  transform: rotate(-24deg);
  animation: band-drift 70s ease-in-out infinite alternate;
}
@keyframes band-drift { to { transform: rotate(-14deg) scale(1.08); } }
/* Dark vignette at the edges: the "lost in space" depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 85% 80% at 50% 45%, transparent 45%, rgba(1, 4, 18, .7) 100%);
}
.space {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 14px; --btn-pad-x: 24px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: 14px; }
.btn--lg { --btn-pad-y: 17px; --btn-pad-x: 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(180deg, var(--red-soft), var(--red));
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(173, 216, 255, .07);
  border-color: rgba(108, 200, 255, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(108, 200, 255, .14);
  border-color: var(--blue);
  box-shadow: 0 10px 34px -10px var(--blue-glow);
  transform: translateY(-2px);
}

.icon-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  transition: background .25s, border-color .25s, transform .3s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--surface-hover); border-color: var(--blue); color: var(--blue); transform: scale(1.06); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: padding .35s var(--ease), background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(4, 14, 48, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em;
}
.logo__num { color: var(--red); }
.logo__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px 2px var(--red-glow);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { box-shadow: 0 0 20px 5px var(--red-glow); } }

.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: var(--surface-hover); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  margin: 12px var(--gutter) 0;
  padding: 12px;
  background: rgba(6, 20, 64, 0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: var(--radius);
  animation: drop .35s var(--ease);
}
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 12px; font-size: 17px; font-weight: 500; }
.mobile-menu a:not(.btn):hover { background: var(--surface-hover); }
.mobile-menu .btn { margin-top: 8px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 220px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Planet horizon rising from the bottom of the hero */
/* Hero photo: planet from orbit, faded into the deep-space background */
.hero__photo {
  position: absolute; inset: 0;
  background: url("images/web/hero-planet.jpg") center 62% / cover no-repeat;
  opacity: .95;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  animation: photo-in 2s var(--ease) both;
}
/* Darken behind the headline so text stays crisp */
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 45%, rgba(3, 10, 38, .7), transparent 75%),
    linear-gradient(180deg, rgba(3, 10, 38, .35), rgba(3, 10, 38, .1) 50%, rgba(3, 10, 38, .45));
}
@keyframes photo-in { from { opacity: 0; transform: scale(1.06); } }

.planet {
  position: absolute; left: 50%; top: 270px;
  width: 2600px; height: 2600px; margin-left: -1300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 200, 255, .28) 0%, transparent 6%),
    radial-gradient(circle at 50% 0%, #12307E 0%, #071A52 10%, var(--bg-deep) 24%);
  box-shadow:
    0 0 0 1px rgba(168, 222, 255, .55),
    0 -6px 30px rgba(168, 222, 255, .5),
    0 -30px 120px rgba(108, 200, 255, .4),
    0 -80px 260px rgba(47, 107, 255, .3);
  animation: planet-rise 1.6s var(--ease) both;
}
@keyframes planet-rise { from { transform: translateY(90px); opacity: 0; } }

/* Tilted orbit rings with a red "911 beacon" satellite */
.orbits {
  position: absolute; left: 50%; top: 46%;
  width: 0; height: 0;
  transform: rotate(-12deg);
}
.orbit {
  position: absolute; left: 0; top: 0;
  border-radius: 50%;
  border: 1px solid rgba(168, 222, 255, .16);
  transform-style: preserve-3d;
}
.orbit--1 {
  width: 1180px; height: 1180px; margin: -590px 0 0 -590px;
  transform: rotateX(76deg);
  animation: orbit-1 38s linear infinite;
}
.orbit--2 {
  width: 820px; height: 820px; margin: -410px 0 0 -410px;
  border-color: rgba(168, 222, 255, .1);
  transform: rotateX(72deg) rotateY(8deg);
  animation: orbit-2 26s linear infinite reverse;
}
@keyframes orbit-1 { to { transform: rotateX(76deg) rotateZ(360deg); } }
@keyframes orbit-2 { to { transform: rotateX(72deg) rotateY(8deg) rotateZ(360deg); } }
.orbit__body {
  position: absolute; top: -7px; left: 50%; margin-left: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFB0A8, var(--red) 60%);
  box-shadow: 0 0 14px 4px var(--red-glow), 0 0 40px 10px rgba(255, 61, 46, .25);
}
.orbit__body--blue {
  width: 9px; height: 9px; top: -4.5px; margin-left: -4.5px;
  background: radial-gradient(circle at 35% 35%, #fff, var(--blue) 60%);
  box-shadow: 0 0 12px 3px var(--blue-glow);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.blob--1 {
  width: 640px; height: 640px; left: 50%; top: 4%;
  margin-left: -320px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 65%);
  opacity: .42;
  animation: float-1 16s ease-in-out infinite;
}
.blob--2 {
  width: 500px; height: 500px; left: 6%; top: 34%;
  background: radial-gradient(circle, #2F6BFF 0%, transparent 65%);
  opacity: .45;
  animation: float-2 20s ease-in-out infinite;
}
.blob--3 {
  width: 560px; height: 560px; right: 4%; top: 22%;
  background: radial-gradient(circle, #1E3FD8 0%, transparent 65%);
  opacity: .38;
  animation: float-3 22s ease-in-out infinite;
}
@keyframes float-1 { 50% { transform: translate(40px, 60px) scale(1.12); } }
@keyframes float-2 { 50% { transform: translate(120px, -60px) scale(.9); } }
@keyframes float-3 { 50% { transform: translate(-110px, 50px) scale(1.15); } }


.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(173, 216, 255, .08);
  border: 1px solid rgba(108, 200, 255, .3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; color: #E3EEFF; letter-spacing: .01em;
}
.pill__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative;
}
.pill__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red);
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.hero__title {
  margin-top: 28px;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8.4vw, 112px);
  line-height: .98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
@media (min-width: 641px) { .hero__title .accent-text { white-space: nowrap; } }
.hero__sub {
  margin-top: 28px;
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  text-wrap: pretty;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Trust bar ---------- */
.trust { padding: 24px 0 40px; }
.trust__label {
  text-align: center; color: var(--dim);
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.marquee {
  margin-top: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee__track {
  display: flex; gap: 20px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.logo-ph {
  display: grid; place-items: center;
  width: 176px; height: 64px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(173, 216, 255, .18);
  background: rgba(173, 216, 255, .03);
  color: #56628A;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .12em;
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
/* Translucent "nebula band" so the starfield still shows through */
.section--alt {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(108, 200, 255, .10), transparent 70%),
    linear-gradient(180deg, rgba(10, 35, 110, .30), rgba(10, 35, 110, .12));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Ringed red planet floating in the Process section */
.ringed {
  position: absolute; right: max(4vw, 24px); top: 70px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FFB0A8, var(--red) 38%, #7A1020 75%, #3A0812);
  box-shadow: inset -14px -10px 30px rgba(7, 10, 26, .65), 0 0 60px -6px var(--red-glow);
  animation: bob 9s ease-in-out infinite;
  pointer-events: none;
}
.ringed::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 210px; height: 56px; margin: -28px 0 0 -105px;
  border-radius: 50%;
  border: 2px solid rgba(168, 222, 255, .55);
  border-top-color: transparent;
  box-shadow: 0 0 18px rgba(108, 200, 255, .25);
  transform: rotate(-18deg);
}
@keyframes bob { 50% { transform: translateY(-16px) rotate(4deg); } }

/* Cratered moon behind the contact form */
.moon {
  position: absolute; z-index: -1; right: -120px; top: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 38%, rgba(7, 10, 26, .35) 0 18px, transparent 19px),
    radial-gradient(circle at 58% 24%, rgba(7, 10, 26, .3) 0 10px, transparent 11px),
    radial-gradient(circle at 62% 62%, rgba(7, 10, 26, .32) 0 26px, transparent 27px),
    radial-gradient(circle at 40% 72%, rgba(7, 10, 26, .25) 0 8px, transparent 9px),
    radial-gradient(circle at 34% 30%, #C9E6FF, #6E8FC4 40%, #26335F 75%);
  box-shadow: inset -50px -30px 80px rgba(7, 10, 26, .85), 0 0 90px -10px rgba(108, 200, 255, .45);
  opacity: .85;
  animation: bob 12s ease-in-out infinite;
}

.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__head--left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section__title {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.04em;
  text-wrap: balance;
}
.section__lead { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); text-wrap: pretty; }

/* ---------- Cards (glass + cursor glow) ---------- */
.card {
  --mx: 50%; --my: 0%;
  position: relative;
  background: linear-gradient(180deg, rgba(173, 216, 255, .08), rgba(173, 216, 255, .025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .35s, box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(108, 200, 255, .16), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: rgba(108, 200, 255, .4);
  box-shadow: 0 30px 80px -30px rgba(108, 200, 255, .35);
}
.card > * { position: relative; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(108, 200, 255, .24), rgba(108, 200, 255, .06));
  border: 1px solid rgba(108, 200, 255, .4);
  color: var(--blue);
  box-shadow: 0 0 30px -6px var(--blue-glow);
}
.icon-badge { position: relative; }
.icon-badge::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px dashed rgba(108, 200, 255, .45);
  opacity: 0; transform: scale(.8);
  transition: opacity .4s, transform .6s var(--ease);
}
.card:hover .icon-badge::after, .benefit:hover .icon-badge::after {
  opacity: 1; transform: scale(1);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.icon-badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge--sm { width: 46px; height: 46px; border-radius: 13px; }
.icon-badge--sm svg { width: 22px; height: 22px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #DCE5F7; font-size: 15px; }
.checklist li::before {
  content: ""; flex: none; margin-top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(108, 200, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236CC8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--lg li { font-size: 17px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { padding: 34px 26px 32px; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-6px); }
.service__art {
  width: 168px; height: 168px; margin: -12px 0 0 -14px;
  filter: drop-shadow(0 18px 30px rgba(1, 4, 18, .55));
  transition: transform .7s var(--ease);
  animation: bob 8s ease-in-out infinite;
}
.service:nth-child(2) .service__art { animation-delay: -2.6s; }
.service:nth-child(3) .service__art { animation-delay: -5.2s; }
.service:nth-child(4) .service__art { animation-delay: -1.3s; }
.service:hover .service__art { transform: scale(1.08) rotate(-4deg); }
.service h3 {
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em;
}
.service > p { margin-top: 12px; color: var(--muted); }
.service .checklist { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }

/* ---------- Results ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(173, 216, 255, .04);
  overflow: hidden;
}
.stat { padding: 44px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 5.4vw, 68px); line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { margin-top: 14px; color: var(--muted); font-size: 15px; }
.ph-note { margin-top: 16px; text-align: center; color: var(--dim); font-size: 13px; font-style: italic; }

.tag {
  display: inline-block; align-self: flex-start;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-soft); background: rgba(108, 200, 255, .1); border: 1px dashed rgba(108, 200, 255, .45);
}

/* ---------- Our Work carousel ---------- */
.work-section { padding-top: clamp(56px, 8vw, 96px); }
.work__head { margin-bottom: 4px; }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.work__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.work__nav { display: flex; gap: 10px; }

.work__track {
  display: flex; gap: 22px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 36px var(--gutter) 48px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.work__track::-webkit-scrollbar { display: none; }
.work__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.work__track.is-dragging .work-card { pointer-events: none; }

.work-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; flex: 0 0 clamp(250px, 27vw, 330px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  box-shadow: 0 20px 50px -25px rgba(1, 4, 18, .8);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .4s, filter .4s;
  will-change: transform;
}
.work-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter .5s;
  user-select: none; -webkit-user-drag: none;
}
/* Readability gradient + cursor-following shine */
.work-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 10, 38, .55) 62%, rgba(3, 10, 38, .95) 100%);
}
.work-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(168, 222, 255, .22), transparent 60%);
  opacity: 0; transition: opacity .4s;
}

.work-card__info {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 22px;
}
.work-card__info .tag { margin-bottom: 10px; background: rgba(3, 10, 38, .6); }
.work-card__info h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.work-card__info p,
.work-card__stat {
  display: block;
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(10px);
  transition: max-height .5s var(--ease), opacity .4s, transform .5s var(--ease), margin .5s var(--ease);
}
.work-card__info p { color: var(--blue-soft); font-size: 14px; font-weight: 500; }
.work-card__stat { color: #DCE5F7; font-size: 14px; padding-top: 0; }
.work-card__stat strong { color: #fff; font-family: var(--font-display); font-size: 18px; }

/* The "pop": lift, grow, tilt toward the cursor, glow, reveal details */
.work-card:hover, .work-card:focus-within, .work-card.is-active {
  z-index: 5;
  border-color: rgba(108, 200, 255, .55);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px) scale(1.05);
  box-shadow: 0 30px 70px -20px rgba(47, 107, 255, .65), 0 0 0 1px rgba(255, 61, 46, .25), 0 0 50px -10px rgba(255, 61, 46, .35);
}
.work-card:hover .work-card__img, .work-card.is-active .work-card__img { transform: scale(1.1); filter: brightness(1.08) saturate(1.1); }
.work-card:hover::after { opacity: 1; }
.work-card:hover .work-card__info p, .work-card:hover .work-card__stat,
.work-card:focus-within .work-card__info p, .work-card:focus-within .work-card__stat,
.work-card.is-active .work-card__info p, .work-card.is-active .work-card__stat {
  max-height: 80px; opacity: 1; transform: none; margin-top: 6px;
}
@media (hover: hover) {
  .work__track:hover .work-card:not(:hover) { opacity: .55; filter: saturate(.75); }
}
/* Touch screens: details always visible */
@media (hover: none) {
  .work-card__info p, .work-card__stat { max-height: 80px; opacity: 1; transform: none; margin-top: 6px; }
}

/* ---------- Process ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 1px;
  background: linear-gradient(90deg, var(--blue), rgba(255, 61, 46, .6) 70%, transparent);
}
.step { position: relative; padding-right: 12px; }
.step__num {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid rgba(108, 200, 255, .5);
  color: var(--blue);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  box-shadow: 0 0 0 6px var(--bg-deep), 0 0 30px -4px var(--blue-glow);
  transition: background .35s, color .35s, border-color .35s, box-shadow .35s, transform .5s var(--ease);
}
.step:hover .step__num {
  background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06);
  box-shadow: 0 0 0 6px var(--bg-deep), 0 0 34px -4px var(--red-glow);
}
.step h3 { margin-top: 28px; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Why Us ---------- */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.why .btn { margin-top: 32px; }
.why__content .section__head { margin-bottom: 40px; }

/* ---------- Photos blended into space ---------- */
.why__photo {
  position: relative; margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(140, 195, 255, .25);
  box-shadow: 0 40px 100px -30px rgba(47, 107, 255, .55), 0 0 0 1px rgba(255, 61, 46, .08);
}
.why__photo img, .cta__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.why__photo img { object-position: 50% 30%; }
.why__photo:hover img, .cta__photo:hover img { transform: scale(1.04); }
/* Deep-blue grade + soft vignette so photos sit inside the galaxy */
.why__photo::after, .cta__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 10, 38, .15) 0%, transparent 35%, transparent 60%, rgba(3, 10, 38, .75) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(3, 10, 38, .45) 100%);
}

/* City skyline glowing behind the Results stats */
.results { overflow: hidden; isolation: isolate; }
.city-bg {
  position: absolute; z-index: -1; left: 0; right: 0; top: 0;
  height: min(1000px, 120vw);
  background: url("images/web/city-skyline.jpg") center 78% / cover no-repeat;
  opacity: .6;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
}
.city-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(3, 10, 38, .55), transparent 75%);
}
.results .stats { background: rgba(3, 10, 38, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background .3s, border-color .3s, transform .5s var(--ease);
}
.benefit:hover { background: var(--surface-hover); border-color: rgba(108, 200, 255, .4); transform: translateY(-4px); }
.benefit h3 { margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.carousel { max-width: 860px; margin: 0 auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius); }
.carousel__track { display: flex; transition: transform .7s var(--ease); touch-action: pan-y; }
.testimonial {
  flex: 0 0 100%;
  margin: 0;
  padding: clamp(32px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 28px;
}
.testimonial:hover { box-shadow: none; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -0.02em;
  text-wrap: pretty;
}
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption strong { display: block; font-weight: 600; }
.testimonial figcaption small { color: var(--muted); font-size: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), var(--blue-deep));
  font-weight: 600; font-size: 15px;
}
.carousel__controls { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(173, 216, 255, .25);
  transition: width .4s var(--ease), background .3s;
}
.carousel__dots button[aria-selected="true"] { width: 28px; background: var(--blue); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .3s, background .3s;
}
.faq__item.is-open { border-color: rgba(108, 200, 255, .4); background: var(--surface-hover); }
.faq__item h3 { font-size: inherit; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px;
  background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.6vw, 19px); letter-spacing: -0.01em;
}
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.faq__a { overflow: hidden; transition: height .45s var(--ease); }
.faq__a p { padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA / Form ---------- */
.cta { overflow: hidden; isolation: isolate; }
.cta__glow {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 1100px; height: 700px; transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 61, 46, .18), transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(108, 200, 255, .22), transparent 55%);
  filter: blur(40px);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .6; transform: translate(-50%, -50%) scale(1.08); } }
.cta__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.cta__title {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(52px, 8vw, 104px); line-height: .95; letter-spacing: -0.05em;
}
.cta__copy .checklist { margin-top: 32px; }
.cta__photo {
  position: relative; margin-top: 28px;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(140, 195, 255, .25);
  box-shadow: 0 40px 100px -30px rgba(47, 107, 255, .5);
}
.cta__photo img { object-position: 30% 42%; }
.cta__photo .call-line {
  position: absolute; z-index: 1; left: 16px; bottom: 16px; margin: 0;
  background: rgba(3, 10, 38, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #DCE5F7;
}
.call-line {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 16px;
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.call-line strong { color: var(--text); font-weight: 600; }
.call-line:hover { border-color: var(--red); background: var(--surface-hover); transform: translateY(-2px); }
.call-line__icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--red-soft), var(--red));
  box-shadow: 0 0 20px -4px var(--red-glow);
}
.call-line__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card:hover { transform: none; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: #DCE5F7; }
.field label span { color: var(--red-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(7, 10, 26, .45);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEB9D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select:invalid,
.field select:has(option[value=""]:checked) { color: var(--dim); }
.field select option { background: var(--bg-alt); color: #fff; }
.field ::placeholder { color: #5B678C; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(108, 200, 255, .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: rgba(7, 10, 26, .6);
  box-shadow: 0 0 0 4px rgba(108, 200, 255, .2);
}
.field.has-error input, .field.has-error select { border-color: var(--red); }
.form__error { color: #FF8A80; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fine { text-align: center; color: var(--dim); font-size: 13px; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading svg { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.thanks { text-align: center; padding: 48px 12px; animation: drop .6s var(--ease); }
.thanks:focus { outline: none; }
.thanks__icon {
  width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 0 60px -6px var(--blue-glow);
}
.thanks__icon svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.thanks p { margin-top: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding-top: 72px;
  background: linear-gradient(180deg, rgba(7, 10, 26, .6), rgba(7, 10, 26, .95));
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--red) 70%, transparent);
  box-shadow: 0 0 24px 2px rgba(108, 200, 255, .35);
}
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 320px; }
.socials { margin-top: 24px; display: flex; gap: 12px; }
.social {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  color: #DCE5F7;
  transition: color .25s, background .25s, border-color .25s, box-shadow .35s, transform .4s var(--ease);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social .social__stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social .social__dot { fill: currentColor; stroke: none; }
.social:hover {
  color: #fff; background: rgba(108, 200, 255, .14); border-color: var(--blue);
  box-shadow: 0 0 24px -4px var(--blue-glow);
  transform: translateY(-3px);
}
/* Social icons in the top menu bar + mobile menu */
.nav__socials { display: flex; gap: 8px; margin-left: 6px; }
.social--sm { width: 36px; height: 36px; }
.social--sm svg { width: 17px; height: 17px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer__col a, .footer__col span { color: #DCE5F7; font-size: 15px; transition: color .2s; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--dim); font-size: 14px;
}
.footer__top:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero animates on load rather than waiting for the scroll observer */
.js .hero .reveal {
  opacity: 1; transform: none; transition: none;
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms + 100ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .why, .cta__inner { grid-template-columns: 1fr; }
  .why__photo { aspect-ratio: 4 / 3; }
  .why__photo img { object-position: 50% 35%; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__socials { margin-left: auto; }
  .nav__inner { gap: 10px; }
  .nav__toggle { margin-left: 4px; }
  .nav__toggle { display: block; }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 190px; }
  .horizon { height: 360px; }
  .planet { width: 1500px; height: 1500px; margin-left: -750px; top: 220px; }
  .orbit--1 { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
  .orbit--2 { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
  .ringed { width: 64px; height: 64px; top: 40px; }
  .ringed::after { width: 124px; height: 34px; margin: -17px 0 0 -62px; }
  .moon { width: 220px; height: 220px; right: -90px; top: -40px; opacity: .6; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .blob { filter: blur(70px); }
  .blob--1 { width: 380px; height: 380px; margin-left: -190px; }
  .blob--2, .blob--3 { width: 320px; height: 320px; }
  .section__head { margin-bottom: 44px; }
  .services, .cases, .benefits { grid-template-columns: 1fr; }
  .service { padding: 32px 26px; }
  .stat { padding: 32px 14px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps::before {
    display: block; top: 32px; bottom: 32px; left: 31px; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--blue), rgba(255, 61, 46, .5));
  }
  .step { padding-left: 88px; padding-right: 0; }
  .step__num { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .logo-ph { width: 140px; height: 56px; font-size: 13px; }
}

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