/* =================================================================
   Fuad Tech — style.css
   Custom premium site. No frameworks. CSS variables + clean layers.
   Sections:  1. Tokens  2. Base  3. Layout helpers  4. Buttons
   5. Header/Nav  6. Hero + dashboard visual  7. Sections
   8. Footer  9. Reveal/animation  10. Responsive
   ================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette */
  --navy:        #071A35;
  --deep-blue:   #0B1F3A;
  --royal:       #1457D9;
  --royal-dark:  #0F46AE;
  --cyan:        #00C2D1;
  --soft-cyan:   #E6FBFD;
  --light-bg:    #F6F9FC;
  --ink:         #1F2937;
  --muted:       #667085;
  --white:       #FFFFFF;

  /* Derived */
  --line:        #E6ECF3;
  --line-strong: #D6DEE9;
  --ink-light:   #C8D6EC;            /* body text on dark */
  --muted-light: #8FA3C4;            /* muted text on dark */

  /* Type */
  --f-head: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(16,35,64,.06), 0 2px 6px rgba(16,35,64,.05);
  --sh:    0 6px 20px rgba(16,35,64,.08), 0 2px 6px rgba(16,35,64,.05);
  --sh-lg: 0 24px 60px -20px rgba(11,31,58,.30), 0 8px 24px -12px rgba(11,31,58,.18);
  --sh-cyan: 0 18px 50px -18px rgba(0,194,209,.45);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --speed: .45s;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--cyan); color: var(--navy); }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 116px);
}
.section--light { background: var(--light-bg); }
.section--white { background: var(--white); }
.section--dark  { background: var(--navy); overflow: hidden; }

.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section__title {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  margin-top: 14px;
}
.section__title--light { color: var(--white); }
.section__sub {
  margin-top: 16px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
}

/* Eyebrow label (signature editorial detail) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow__dot {
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--royal), var(--cyan));
  border-radius: 2px;
}
.eyebrow--light { color: var(--cyan); }
.eyebrow--light .eyebrow__dot { background: linear-gradient(90deg, var(--cyan), transparent); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--royal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  line-height: 1;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
/* Light sheen that sweeps across on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .65s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--royal), var(--royal-dark));
  box-shadow: 0 10px 26px -10px rgba(20,87,217,.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(20,87,217,.8); }

.btn--cyan {
  background: linear-gradient(135deg, var(--cyan), #03A7B8);
  color: var(--navy);
  box-shadow: var(--sh-cyan);
}
.btn--cyan:hover { transform: translateY(-2px); box-shadow: 0 22px 56px -18px rgba(0,194,209,.6); }

.btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--soft-cyan); transform: translateY(-2px); }

.btn:active { transform: translateY(0); }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 16px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease),
              padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7,26,53,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255,255,255,.08);
  padding-block: 10px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -.02em;
  color: #fff;
}
.brand__mark { display: inline-flex; filter: drop-shadow(0 6px 14px rgba(0,194,209,.28)); }
.brand__word-accent { color: var(--cyan); margin-left: 2px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: .96rem;
  white-space: nowrap;
  color: rgba(255,255,255,.82);
  padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.hamburger span:nth-child(1) { transform: translate(-50%, -7px); }
.hamburger span:nth-child(3) { transform: translate(-50%, 5px); }
.hamburger.is-open span:nth-child(1) { transform: translate(-50%, -1px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translate(-50%, -1px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% -10%, #0E2A52 0%, var(--deep-blue) 42%, var(--navy) 100%);
  color: #fff;
  padding-top: clamp(120px, 16vw, 168px);
  padding-bottom: clamp(72px, 11vw, 130px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg--soft { opacity: .55; }

.hero__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 80%);
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift { to { background-position: 54px 54px; } }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__glow--1 { width: 460px; height: 460px; top: -120px; right: -60px;
  background: radial-gradient(circle, rgba(0,194,209,.55), transparent 65%); }
.hero__glow--2 { width: 520px; height: 520px; bottom: -220px; left: -120px;
  background: radial-gradient(circle, rgba(20,87,217,.5), transparent 65%); }
.hero__glow--3 { width: 600px; height: 600px; top: -200px; left: 30%;
  background: radial-gradient(circle, rgba(20,87,217,.35), transparent 70%); }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

/* Hero kicker pill (with a live pulsing dot) */
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--soft-cyan);
  padding: 8px 15px 8px 13px; border-radius: 999px;
  background: rgba(0,194,209,.08);
  border: 1px solid rgba(0,194,209,.28);
  backdrop-filter: blur(6px);
}
.hero__kicker-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0,194,209,.6);
  animation: kickerPulse 2s ease-out infinite;
}
@keyframes kickerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,194,209,.55); }
  100% { box-shadow: 0 0 0 8px rgba(0,194,209,0); }
}

.hero__title {
  color: #fff;
  font-size: clamp(2.45rem, 5.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-top: 22px;
  max-width: 15ch;
}
.hero__title-grad {
  background: linear-gradient(100deg, var(--cyan), #5AA6FF 55%, var(--royal));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  color: var(--ink-light);
  max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__actions .btn--primary svg { transition: transform .25s var(--ease); }
.hero__actions .btn--primary:hover svg { transform: translateX(4px); }
.hero__trust {
  display: flex; align-items: center; gap: 11px;
  margin-top: 26px;
  font-size: .95rem;
  color: var(--muted-light);
  max-width: 50ch;
}
.hero__trust strong { color: var(--ink-light); font-weight: 600; }
.hero__trust-check { color: var(--cyan); flex-shrink: 0; }

/* ============================================================
   Signature hero visual — the Fuad Tech AI guide (concierge)
   ============================================================ */
.hero__visual { position: relative; }

.guide {
  position: relative;
  height: clamp(450px, 47vw, 530px);
  display: grid;
  place-items: center;
  perspective: 1100px;
}

/* Ambient light field (JS shifts the whole layer with the cursor) */
.guide__aura {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none; z-index: 0;
  will-change: transform;
}
.guide__blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.guide__blob--cyan {
  width: clamp(240px, 30vw, 320px); aspect-ratio: 1; top: 14%;
  background: radial-gradient(circle, rgba(0,194,209,.5), transparent 65%);
  animation: blobPulse 6s ease-in-out infinite alternate,
             guideBloom 1.2s var(--ease) both;
}
.guide__blob--blue {
  width: clamp(280px, 34vw, 380px); aspect-ratio: 1; bottom: 2%;
  background: radial-gradient(circle, rgba(20,87,217,.4), transparent 68%);
  animation: blobPulse 7.5s ease-in-out -2s infinite alternate,
             guideBloom 1.4s var(--ease) both;
}
@keyframes blobPulse { from { opacity: .65; } to { opacity: 1; } }
/* one-time entrance: aura blooms outward */
@keyframes guideBloom { from { transform: scale(.55); } to { transform: scale(1); } }
/* one-time entrance: simple fade up (opacity only, no transform conflict) */
@keyframes guideIn { from { opacity: 0; } to { opacity: 1; } }

/* Tilted, slowly rotating halo ring */
.guide__orbit {
  position: absolute; top: 47%; left: 50%;
  width: clamp(280px, 33vw, 370px); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px dashed rgba(127,240,247,.18);
  transform: rotateX(70deg);
  animation: orbitSpin 24s linear infinite, guideIn 1s var(--ease) .35s both;
  pointer-events: none; z-index: 0;
}
.guide__orbit-node {
  position: absolute; top: -5px; left: 50%; translate: -50% 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
@keyframes orbitSpin { to { transform: rotateX(70deg) rotate(360deg); } }

/* The concierge figure (3D tilt wrapper; JS drives transform on desktop,
   CSS float is the fallback for touch / no-JS). */
.guide__figure {
  position: relative; z-index: 2;
  width: clamp(266px, 32vw, 350px);
  transform-style: preserve-3d;
  will-change: transform;
  animation: guideFloat 7s ease-in-out infinite alternate;
}
.guide__svg {
  width: 100%; height: auto; display: block; overflow: visible;
  filter: drop-shadow(0 34px 46px rgba(0,0,0,.5));
  animation: guideIn 1s var(--ease) .15s both;
}
@keyframes guideFloat { from { transform: translateY(4px); } to { transform: translateY(-12px); } }

/* Soft holographic light sweep down the figure */
.guide__scan {
  position: absolute; left: 7%; right: 7%; top: 4%; height: 70px;
  pointer-events: none; z-index: 3; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(127,240,247,.5), transparent);
  filter: blur(4px); mix-blend-mode: screen;
  animation: guideScan 7.5s ease-in-out 2.4s infinite;
}
@keyframes guideScan {
  0%   { transform: translateY(0);    opacity: 0; }
  8%   { opacity: .55; }
  42%  { opacity: .55; }
  52%  { transform: translateY(330px); opacity: 0; }
  100% { transform: translateY(330px); opacity: 0; }
}

.guide__base {
  position: absolute; bottom: -3%; left: 50%; translate: -50% 0;
  width: 64%; height: 42px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,194,209,.4), transparent 70%);
  filter: blur(7px);
}

/* SVG figure detailing */
.guide-eye-socket { fill: #0A2748; }
.guide-iris {
  transform-box: fill-box; transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(0,194,209,.7));
  animation: irisPulse 3.6s ease-in-out infinite;
}
@keyframes irisPulse { 0%,100% { opacity: .9; } 50% { opacity: 1; } }
.guide-lid {
  transform-box: fill-box; transform-origin: top center;
  transform: scaleY(0);
  animation: guideBlink 6.2s infinite;
}
@keyframes guideBlink {
  0%, 92% { transform: scaleY(0); }
  95%     { transform: scaleY(1); }
  98%,100%{ transform: scaleY(0); }
}
.guide-nodes { animation: nodePulse 2.6s ease-in-out infinite; }
@keyframes nodePulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* Floating business UI chips */
.guide-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px; border-radius: 13px;
  background: linear-gradient(165deg, rgba(20,40,74,.96), rgba(10,25,49,.94));
  border: 1px solid rgba(127,240,247,.16);
  box-shadow: 0 16px 38px -18px rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  font-family: var(--f-head); font-weight: 700; font-size: .8rem; color: #fff;
  white-space: nowrap;
}
/* Float (transform) + a one-time staggered fade-in (opacity) — different
   properties, so the two animations layer without conflicting. */
.guide-chip--a { top: 7%;  left: -3%;  animation: chipFloatA 6.8s ease-in-out infinite alternate, guideIn .6s var(--ease) .85s both; }
.guide-chip--b { top: 25%; right: -5%; animation: chipFloatB 8s   ease-in-out infinite alternate, guideIn .6s var(--ease) 1.0s both; }
.guide-chip--c { bottom: 25%; left: -6%; animation: chipFloatA 7.4s ease-in-out -1.5s infinite alternate, guideIn .6s var(--ease) 1.15s both; }
.guide-chip--d { bottom: 9%; right: -2%; animation: chipFloatB 6.4s ease-in-out -2.5s infinite alternate, guideIn .6s var(--ease) 1.3s both; }
@keyframes chipFloatA { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes chipFloatB { from { transform: translateY(-9px); } to { transform: translateY(7px); } }

.guide-chip__ic {
  display: inline-grid; place-items: center;
  width: 25px; height: 25px; border-radius: 8px; flex-shrink: 0;
}
.guide-chip__ic--blue  { color: #fff; background: linear-gradient(135deg, var(--royal), var(--royal-dark)); }
.guide-chip__ic--cyan  { color: var(--navy); background: linear-gradient(135deg, var(--cyan), #0AAEC0); }
.guide-chip__ic--amber { color: #fff; background: linear-gradient(135deg, #F5A623, #E8890B); }
.guide-chip__check {
  width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0;
  background: #18B57A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.guide-chip__pulse {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--cyan);
  animation: chipPulse 1.9s ease-out infinite;
}
@keyframes chipPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,194,209,.55); }
  100% { box-shadow: 0 0 0 9px rgba(0,194,209,0); }
}

/* Status caption */
.guide__status {
  position: absolute; bottom: -7%; left: 50%; translate: -50% 0; z-index: 6;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(7,20,40,.72);
  border: 1px solid rgba(127,240,247,.2);
  backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 500; color: var(--ink-light); white-space: nowrap;
  animation: guideIn .7s var(--ease) 1.5s both;
}
.guide__status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3BE38A;
  box-shadow: 0 0 10px #3BE38A; animation: statusBlink 2.4s ease-in-out infinite;
}
@keyframes statusBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 7. Sections ---------- */

/* Problem / pain points */
.pain {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pain:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: rgba(0,194,209,.35); }
.pain__ic {
  flex-shrink: 0;
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: var(--royal);
  background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.22);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.pain:hover .pain__ic { color: var(--cyan); transform: scale(1.06); }
.pain p { color: var(--ink); font-size: 1.02rem; align-self: center; }

/* Services */
.svc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  color: var(--royal);
  background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.25);
  margin-bottom: 20px;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.svc:hover .svc__icon {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(20,87,217,.6);
}
.svc__title { font-size: 1.22rem; margin-bottom: 10px; }
.svc__text { color: var(--muted); font-size: 1rem; }

/* Auto-numbered index watermark (pure CSS counter) */
.services { counter-reset: svc; }
.svc { counter-increment: svc; }
.svc::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute; top: 24px; right: 26px;
  font-family: var(--f-head); font-weight: 800; font-size: 1.05rem;
  color: var(--line-strong); letter-spacing: .02em;
  transition: color .3s var(--ease);
}
.svc:hover::after { color: var(--cyan); }

/* Starter Kit */
.kit {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
}
.kit__aside {
  position: relative;
  background: radial-gradient(130% 120% at 0% 0%, #0E2A52, var(--deep-blue) 55%, var(--navy));
  color: #fff;
  padding: clamp(30px, 4vw, 44px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.kit__aside::after {
  content: ""; position: absolute; width: 320px; height: 320px;
  right: -120px; bottom: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,209,.4), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.kit__tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.4);
  background: rgba(0,194,209,.12);
  padding: 5px 11px; border-radius: 999px;
  position: relative; z-index: 1;
}
.kit__price { margin-top: 26px; position: relative; z-index: 1; }
.kit__price-from { display: block; font-size: .9rem; color: var(--muted-light); }
.kit__price-num {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.4rem);
  color: #fff; letter-spacing: -.03em; line-height: 1;
}
.kit__price-cur { font-size: 1.1rem; color: var(--cyan); font-weight: 700; }
.kit__price-note { margin-top: 12px; font-size: .86rem; color: var(--muted-light); position: relative; z-index: 1; }
.kit__meta { margin-top: 24px; display: grid; gap: 12px; position: relative; z-index: 1; }
.kit__meta li { display: flex; align-items: center; gap: 10px; color: var(--ink-light); font-size: .96rem; }
.kit__meta svg { color: var(--cyan); flex-shrink: 0; }
.kit__cta { margin-top: auto; position: relative; z-index: 1; width: 100%; }
.kit__note { margin-top: 14px; font-size: .82rem; color: var(--muted-light); position: relative; z-index: 1; }

.kit__main { background: var(--white); padding: clamp(30px, 4vw, 46px); display: flex; flex-direction: column; }
.kit__main-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.kit__includes-title {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700; margin: 0;
}
.kit__count {
  font-family: var(--f-head); font-weight: 700; font-size: .76rem;
  color: var(--royal); background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.25);
  padding: 5px 11px; border-radius: 999px;
}
.kit__list { display: grid; gap: 15px; }
.kit__list li {
  display: flex; align-items: center; gap: 13px;
  font-size: 1.05rem; color: var(--ink); font-weight: 500;
  padding-bottom: 15px; border-bottom: 1px solid var(--line);
}
.kit__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kit__feature { margin-top: 4px; }
.kit__feature > span:nth-of-type(2) { flex: 1; }
.kit__feature-tag {
  font-family: var(--f-head); font-weight: 700; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--royal), var(--cyan));
  padding: 4px 9px; border-radius: 999px;
}
.kit__walk {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .98rem; color: var(--muted);
}
.check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; margin-top: 1px;
  /* SVG tick is listed FIRST so it paints on top of the gradient layer. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--royal), var(--cyan));
  background-size: 15px, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 10px -3px rgba(20,87,217,.5);
}

/* Results / before-after */
.compare-wrap { display: grid; gap: clamp(26px, 4vw, 40px); }
.compare {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--sh-sm);
}
.compare__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 22px;
}
.compare__label {
  display: inline-block;
  font-family: var(--f-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--royal);
  background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.25);
  padding: 6px 13px; border-radius: 999px;
}
.compare__outcome {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-head); font-weight: 700; font-size: .82rem;
  color: #0E9663;
  background: rgba(24,181,122,.1);
  border: 1px solid rgba(24,181,122,.28);
  padding: 6px 13px; border-radius: 999px;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
}
.ba { border-radius: var(--r); padding: 22px 22px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.ba__tag {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.ba--before {
  background: #F1F3F6;
  border: 1px dashed var(--line-strong);
}
.ba--before .ba__tag { color: var(--muted); background: #E6E9EE; }
.ba--before p { color: #8A93A1; font-size: 1.02rem; }
.ba--after {
  background: linear-gradient(180deg, #FFFFFF, #F0FCFD);
  border: 1.5px solid rgba(0,194,209,.55);
  box-shadow: 0 24px 52px -22px rgba(0,194,209,.5);
  position: relative; overflow: hidden;
}
.ba--after::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--royal)); border-radius: 3px;
}
.ba--after::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,209,.18), transparent 70%);
  pointer-events: none;
}
.ba--after .ba__tag {
  display: inline-flex; align-items: center; gap: 5px;
  color: #fff; background: linear-gradient(135deg, var(--royal), var(--cyan));
}
.ba--after p { color: var(--ink); font-size: 1.05rem; position: relative; }

.compare__arrow {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  box-shadow: 0 10px 24px -10px rgba(20,87,217,.6);
  flex-shrink: 0;
  animation: arrowPulse 2.2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%,100% { box-shadow: 0 10px 24px -10px rgba(20,87,217,.55); }
  50%     { box-shadow: 0 14px 34px -8px rgba(0,194,209,.75); }
}

.compare__impact {
  display: flex; align-items: center; gap: 11px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 1rem;
}
.compare__impact svg { color: var(--cyan); flex-shrink: 0; }

/* Process steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.steps::before {
  content: ""; position: absolute; left: 9%; right: 9%; top: 52px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0,194,209,.55) 0 7px, transparent 7px 15px);
  opacity: .6;
}
.step {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  backdrop-filter: blur(4px);
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), background .35s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(0,194,209,.45);
  background: linear-gradient(160deg, rgba(0,194,209,.1), rgba(255,255,255,.03));
  box-shadow: 0 26px 52px -26px rgba(0,194,209,.55);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  font-family: var(--f-head); font-weight: 800; font-size: 1.08rem; color: var(--navy);
  background: linear-gradient(135deg, var(--cyan), var(--royal));
  box-shadow: 0 10px 24px -10px rgba(0,194,209,.6), 0 0 0 6px rgba(0,194,209,.08);
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: transform .35s var(--ease);
}
.step:hover .step__num { transform: translateY(-2px) scale(1.04); }
.step__title { color: #fff; font-size: 1.2rem; margin-bottom: 9px; }
.step__text { color: var(--muted-light); font-size: .98rem; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about__copy p { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }
.about__copy .section__title { margin-top: 14px; }

.founder {
  position: relative;
  background: radial-gradient(120% 120% at 100% 0%, #0E2A52, var(--deep-blue) 60%, var(--navy));
  border-radius: var(--r-xl);
  padding: 38px 34px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.founder__glow {
  position: absolute; width: 260px; height: 260px; top: -100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,194,209,.4), transparent 65%);
  filter: blur(40px);
}
.founder__avatar-wrap {
  position: relative; z-index: 1;
  width: 100px; height: 100px; margin: 0 auto 22px;
}
.founder__avatar {
  width: 100px; height: 100px;
  border-radius: 28px;
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 800; font-size: 2.1rem; letter-spacing: -.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  box-shadow: 0 16px 40px -14px rgba(0,194,209,.6),
              inset 0 0 0 1px rgba(255,255,255,.12);
}
.founder__badge {
  position: absolute; right: -6px; bottom: -6px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #18B57A, #0E9663);
  border: 3px solid var(--deep-blue);
  box-shadow: 0 6px 14px -4px rgba(24,181,122,.6);
}
.founder__name { color: #fff; font-size: 1.4rem; position: relative; z-index: 1; }
.founder__role { color: var(--cyan); font-weight: 600; margin-top: 6px; position: relative; z-index: 1; }
.founder__tags {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.founder__tags li {
  font-family: var(--f-head); font-weight: 600; font-size: .76rem;
  color: var(--soft-cyan);
  background: rgba(0,194,209,.1);
  border: 1px solid rgba(0,194,209,.26);
  padding: 5px 11px; border-radius: 999px;
}
.founder__meta { margin-top: 22px; display: grid; gap: 11px; position: relative; z-index: 1; text-align: left; }
.founder__meta li {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: .94rem; color: var(--ink-light);
}
.founder__meta svg { color: var(--cyan); flex-shrink: 0; }

/* Expectations */
.expect__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.expect__card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--royal));
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.expect__card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.expect__card:hover::before { transform: scaleY(1); }
.expect__ic {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  color: var(--royal);
  background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.25);
  margin-bottom: 18px;
  transition: transform .32s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.expect__card:hover .expect__ic {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  color: #fff;
}
.expect__title { font-size: 1.12rem; margin-bottom: 8px; }
.expect__text { color: var(--muted); font-size: .98rem; }

.ainote {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 32px;
  background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.3);
  border-radius: var(--r-lg);
  padding: 24px 26px;
}
.ainote__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: #fff; background: linear-gradient(135deg, var(--royal), var(--cyan));
}
.ainote p { color: #0B4A52; font-size: 1.02rem; }
.ainote strong { color: var(--navy); }

/* Important note band */
.band { background: var(--deep-blue); padding-block: 30px; }
.band__inner {
  display: flex; align-items: flex-start; gap: 16px;
}
.band__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: var(--cyan); border: 1px solid rgba(0,194,209,.4); background: rgba(0,194,209,.1);
}
.band p { color: var(--ink-light); font-size: .98rem; max-width: 92ch; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
.contact__lead { color: var(--muted); margin-top: 18px; font-size: 1.08rem; max-width: 42ch; }
.contact__assure {
  margin-top: 22px; display: flex; flex-direction: column; gap: 10px;
}
.contact__assure li {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--f-head); font-weight: 600; font-size: .98rem; color: var(--navy);
}
.contact__assure-dot {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--soft-cyan)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231457D9' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid rgba(0,194,209,.3);
}
.contact__details { margin-top: 30px; display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact__details li { display: flex; align-items: center; gap: 14px; }
.contact__ic {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: var(--royal); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.contact__k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact__details a { font-weight: 600; color: var(--navy); }
.contact__details a:hover { color: var(--royal); }

/* Form */
.contact__formwrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--sh-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--light-bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder { color: #A6B0BE; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20,87,217,.12);
}
.field.has-error input, .field.has-error textarea {
  border-color: #E0506A;
  background: #FDF3F5;
}
.field__err { font-size: .82rem; color: #D23E58; min-height: 0; }
.field.has-error .field__err { min-height: 18px; }

.form__submit { width: 100%; margin-top: 6px; }
.form__hint { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 14px; }
.form__success {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 18px;
  background: var(--soft-cyan);
  border: 1px solid rgba(0,194,209,.35);
  border-radius: 12px;
  padding: 14px 16px;
  color: #0B4A52; font-size: .95rem;
}
.form__success svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.form__success a { color: var(--royal); font-weight: 700; }

/* ---------- 8. Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--ink-light);
  padding-top: clamp(50px, 7vw, 76px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 44px;
}
.brand--footer { font-size: 1.2rem; margin-bottom: 16px; }
.footer__tag { color: var(--muted-light); max-width: 34ch; }
.footer__meta { margin-top: 16px; color: var(--ink-light); font-size: .95rem; }
.footer__meta a { color: var(--cyan); font-weight: 600; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__navtitle {
  font-family: var(--f-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 4px;
}
.footer__nav a { color: var(--ink-light); font-size: .98rem; width: fit-content; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--cyan); }
.footer__cta p { font-family: var(--f-head); font-weight: 700; color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .88rem; color: var(--muted-light);
}

/* ---------- 9. Reveal / animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Mobile nav panel base (kept off-canvas on desktop only via media query) */

/* ---------- 10. Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: 2; margin-top: 18px; }
  .guide { height: clamp(440px, 78vw, 520px); }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .hamburger { display: block; z-index: 120; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 28px 36px;
    background: linear-gradient(180deg, var(--deep-blue), var(--navy));
    border-left: 1px solid rgba(255,255,255,.1);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,.6);
    transform: translateX(110%);
    transition: transform .4s var(--ease);
    z-index: 110;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav__link {
    display: block;
    font-family: var(--f-head); font-weight: 600; font-size: 1.1rem;
    color: #fff;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 22px; width: 100%; }

  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(7,26,53,.55);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    z-index: 105;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-lock { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
}

/* On small phones, pull the floating chips inward so they stay on-screen
   and shrink the guide a touch. */
@media (max-width: 540px) {
  .guide { height: clamp(400px, 96vw, 470px); }
  .guide__figure { width: clamp(220px, 62vw, 270px); }
  .guide-chip { font-size: .72rem; padding: 7px 11px; gap: 7px; }
  .guide-chip__ic { width: 22px; height: 22px; }
  .guide-chip--a { top: 5%;  left: 0; }
  .guide-chip--b { top: 23%; right: 0; }
  .guide-chip--c { bottom: 27%; left: 0; }
  .guide-chip--d { bottom: 11%; right: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .guide__figure { animation: none; transform: none; }
  .guide-lid { transform: scaleY(0); }
  /* keep the entrance-animated guide parts visible without the choreography */
  .guide__svg, .guide-chip, .guide__status, .guide__orbit, .guide__blob {
    opacity: 1 !important; animation: none !important;
  }
  .guide__blob { transform: none !important; }
  .guide__scan { display: none; }
}
