/* ═══════════════════════════════════════════════════════════
   SAVEX · Landing Page
   Design system: Industrial-Premium Dark
   Palette: Navy #07091A · Blue #1A6BFF · Gold #F5C518
   Fonts: Space Grotesk (display) · DM Sans (body)
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ────────────────────────────────────────────── */
:root {
  --bg:           #07091A;
  --surface:      #0D1128;
  --surface-2:    #111830;
  --border:       #1C2540;
  --border-light: #243060;

  --blue:         #1A6BFF;
  --blue-dim:     rgba(26, 107, 255, 0.15);
  --blue-glow:    rgba(26, 107, 255, 0.35);
  --gold:         #F5C518;
  --gold-dim:     rgba(245, 197, 24, 0.12);

  --text:         #EEF2FF;
  --text-muted:   #7B8BA8;
  --text-faint:   #4A5568;

  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  --nav-h:        72px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout:   cubic-bezier(0.45, 0, 0.55, 1);

  --shadow-sm:    0 2px 8px rgba(0,0,0,.4);
  --shadow-md:    0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:    0 24px 64px rgba(0,0,0,.6);
  --shadow-blue:  0 8px 32px rgba(26, 107, 255, 0.3);
  --shadow-gold:  0 8px 32px rgba(245, 197, 24, 0.2);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── SVG GRAIN FILTER ──────────────────────────────────── */
.svg-filters {
  position: fixed;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.gold { color: var(--gold); }
.blue { color: var(--blue); }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 150ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    background 200ms var(--ease-out),
    color 200ms var(--ease-out);
  cursor: pointer;
  min-height: 48px;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 var(--blue-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn--primary:active {
  transform: scale(0.97);
  box-shadow: none;
}
.btn--primary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: var(--border-light);
  background: var(--surface);
}
.btn--ghost:active  { transform: scale(0.97); }
.btn--ghost:focus-visible { outline: 2px solid var(--border-light); outline-offset: 3px; }

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 52px;
}

/* ─── SECTION UTILITIES ──────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 1px solid var(--blue-dim);
  border-radius: 100px;
  background: var(--blue-dim);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto;
}

/* ─── REVEAL ANIMATION ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 400ms var(--ease-out),
    transform 400ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ─── PULSE DOT ──────────────────────────────────────────── */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

/* ═══════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.modal.open {
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.modal.open .modal__overlay {
  opacity: 1;
}

.modal__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 620px;
  max-height: 90dvh;
  overflow-y: auto;
  transform: scale(0.95) translateY(8px);
  opacity: 0;
  transition:
    transform 300ms var(--ease-out),
    opacity   300ms var(--ease-out);
  z-index: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}
.modal.open .modal__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 150ms, color 150ms;
}
.modal__close:hover {
  background: var(--bg);
  color: var(--text);
}
.modal__close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.modal__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 28px;
  padding-right: 32px;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   FORM
═══════════════════════════════════════════════════════════ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}
.form-label em {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}

.form-required { color: var(--blue); }

.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  transition:
    border-color 200ms var(--ease-out),
    box-shadow   200ms var(--ease-out);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 107, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 76px;
}

.contact-form__submit {
  align-self: center;
  min-width: 200px;
  justify-content: center;
}

.form-feedback {
  text-align: center;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
  line-height: 1.5;
}
.form-feedback.visible        { display: block; }
.form-feedback--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}
.form-feedback--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(7, 9, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 16px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  transition: opacity 150ms;
}
.nav__logo:hover { opacity: 0.8; }

.nav__wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.nav__x { color: var(--blue); }

.nav__sub {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav__link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 150ms, background 150ms;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.nav__cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 150ms;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger:hover { background: var(--surface); }
.hamburger:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 300ms var(--ease-out),
    opacity   200ms var(--ease-out);
  transform-origin: center;
}

.hamburger.open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(7, 9, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
  z-index: 99;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-menu__link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 24px;
  border-radius: var(--radius);
  transition: color 150ms, background 150ms;
  min-height: 52px;
  display: flex;
  align-items: center;
}
.mobile-menu__link:hover { color: var(--text); background: var(--surface); }
.mobile-menu__cta { min-height: 52px; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 65%, rgba(26, 107, 255, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 20%, rgba(245, 197, 24, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 110%, rgba(26, 107, 255, 0.18) 0%, transparent 50%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ─── Hero copy ──────────────────────────────────────────── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__headline-em {
  font-style: normal;
  color: var(--gold);
}

.hero__body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Hero visual ────────────────────────────────────────── */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Carousel ───────────────────────────────────────────── */
.hero__carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms var(--ease-out);
}
.carousel__slide.active { opacity: 1; }

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__carousel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(7, 9, 26, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}

.carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 0;
  min-height: 0;
  transition:
    background 250ms var(--ease-out),
    transform  250ms var(--ease-out);
}
.carousel__dot.active       { background: #fff; transform: scale(1.3); }
.carousel__dot:hover:not(.active) { background: rgba(255, 255, 255, 0.65); }
.carousel__dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 9, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 200ms ease-out,
    transform  200ms ease-out;
}
.carousel__btn:hover {
  background: rgba(26, 107, 255, 0.45);
  transform: translateY(-50%) scale(1.1);
}
.carousel__btn:active {
  transform: translateY(-50%) scale(0.95);
}
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ─── Trust metrics ──────────────────────────────────────── */
.hero__trust {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.hero__trust-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  transition:
    opacity   400ms var(--ease-out),
    transform 400ms var(--ease-out);
}
.hero__trust-inner.fading {
  opacity: 0;
  transform: translateY(6px);
}

.hero__trust-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__trust-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Scroll indicator ───────────────────────────────────── */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero__scroll-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════════ */
.process {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process__track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 8px;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 16px;
}

.process__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--border-light);
  transition: color 300ms;
}
.process__step:hover .process__num { color: var(--blue); }

.process__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.process__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 22ch;
  margin: 0 auto;
}

.process__connector {
  align-self: center;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--border-light), var(--border));
  margin-top: -40px;
  position: relative;
  flex-shrink: 0;
}
.process__connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services {
  padding: 120px 0;
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* ─── Service card ───────────────────────────────────────── */
.scard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

.scard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(26, 107, 255, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
  pointer-events: none;
}

.scard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.scard:hover::before { opacity: 1; }

.scard--featured {
  border-color: rgba(26, 107, 255, 0.4);
  background: linear-gradient(160deg, rgba(26, 107, 255, 0.08) 0%, var(--surface) 60%);
}
.scard--featured:hover { border-color: var(--blue); }

/* ─── Card image ─────────────────────────────────────────── */
.scard__image {
  position: relative;
  height: 180px;
  margin: -32px -32px 0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface-2);
  flex-shrink: 0;
}

.scard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}
.scard:hover .scard__image img { transform: scale(1.04); }

.scard__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(7, 9, 26, 0.75);
  border: 1px solid rgba(245, 197, 24, 0.35);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.scard__icon {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scard__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.scard__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.scard__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.scard__list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.scard__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 11px;
}

.scard__brands {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 500;
}

.services__cta {
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   INSPECTION
═══════════════════════════════════════════════════════════ */
.inspection {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.inspection::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26, 107, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.inspection__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.inspection__copy .section-title { margin-bottom: 16px; }

.inspection__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}
.inspection__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.inspection__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.inspection__photo--main { grid-column: 1 / -1; }

.inspection__photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.inspection__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}
.inspection__photo:hover img { transform: scale(1.04); }

.inspection__photo--main { min-height: 260px; }
.inspection__photo--sm   { min-height: 140px; }

/* ═══════════════════════════════════════════════════════════
   WHY SAVEX
═══════════════════════════════════════════════════════════ */
.why {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 64px;
}

.comparison__col {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.comparison__col--bad  { background: rgba(239, 68, 68, 0.04);  border-color: rgba(239, 68, 68, 0.15); }
.comparison__col--good { background: rgba(26, 107, 255, 0.06); border-color: rgba(26, 107, 255, 0.25); }

.comparison__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.comparison__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comparison__icon--bad  { background: rgba(239, 68, 68, 0.15);  color: #ef4444; }
.comparison__icon--good { background: rgba(26, 107, 255, 0.15); color: var(--blue); }

.comparison__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comparison__list li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.comparison__col--bad .comparison__list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.comparison__col--good .comparison__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.method__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.method__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.method__list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.method__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.method__aside {
  border-left: 2px solid var(--border-light);
  padding-left: 32px;
}
.method__aside p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.method__highlight {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════
   CTA FORM SECTION
═══════════════════════════════════════════════════════════ */
.cta-form {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 107, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(245, 197, 24, 0.05) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.nav__logo-img,
.footer__logo-img {
  display: block;
  object-fit: contain;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 13px;
  color: var(--text-faint);
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__soc-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition:
    color       150ms,
    border-color 150ms,
    background  150ms,
    transform   150ms var(--ease-out);
}
.footer__soc-link:hover {
  color: var(--text);
  border-color: var(--border-light);
  background: var(--surface);
  transform: translateY(-2px);
}
.footer__soc-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.footer__credit {
  font-size: 11px;
  color: var(--text-faint);
  opacity: 0.45;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 200ms;
}
.footer__credit:hover {
  opacity: 0.8;
}
.footer__credit-brand {
  color: var(--gold);
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO GALLERY
═══════════════════════════════════════════════════════════ */
.vgallery {
  padding: 120px 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.vgallery .container {
  padding-bottom: 0;
}

.vgallery .section-header {
  margin-bottom: 28px;
}

.vcarousel {
  position: relative;
  height: 540px;
  overflow: hidden;
  margin-top: 0;
}

.vcarousel__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.vslide {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 500px;
  aspect-ratio: 9 / 16;
  width: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  will-change: transform, opacity;
  transition:
    transform 500ms var(--ease-out),
    opacity   500ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}

.vslide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vslide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 26, 0.35);
  transition: opacity 300ms var(--ease-out);
  pointer-events: none;
}

/* Posiciones — flat, sin rotateY */
.vslide[data-pos="-2"] {
  transform: translate(-50%, -50%) translateX(-610px) scale(0.68);
  opacity: 0.25;
  z-index: 0;
}
.vslide[data-pos="-1"] {
  transform: translate(-50%, -50%) translateX(-315px) scale(0.86);
  opacity: 0.72;
  z-index: 1;
}
.vslide[data-pos="0"] {
  transform: translate(-50%, -50%) translateX(0) scale(1);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-light);
}
.vslide[data-pos="0"] .vslide__overlay {
  opacity: 0;
}
.vslide[data-pos="1"] {
  transform: translate(-50%, -50%) translateX(315px) scale(0.86);
  opacity: 0.72;
  z-index: 1;
}
.vslide[data-pos="2"] {
  transform: translate(-50%, -50%) translateX(610px) scale(0.68);
  opacity: 0.25;
  z-index: 0;
}
.vslide[data-pos="hidden"] {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%) scale(0.5);
}

/* Hover en slides laterales */
.vslide[data-pos="-1"]:hover,
.vslide[data-pos="1"]:hover {
  opacity: 0.88;
}

/* Botón de sonido */
.vslide__sound {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 9, 26, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out), background 200ms, transform 150ms var(--ease-out);
  z-index: 5;
  cursor: pointer;
}
.vslide[data-pos="0"] .vslide__sound {
  opacity: 1;
  pointer-events: auto;
}
.vslide__sound:hover {
  background: rgba(26, 107, 255, 0.7);
  transform: scale(1.1);
}
.vslide__sound:active { transform: scale(0.95); }

.vslide__sound .icon-muted   { display: block; }
.vslide__sound .icon-unmuted { display: none; }
.vslide.is-unmuted .vslide__sound .icon-muted   { display: none; }
.vslide.is-unmuted .vslide__sound .icon-unmuted { display: block; }

/* Botones de navegación prev/next */
.vcarousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition:
    background    200ms var(--ease-out),
    color         200ms var(--ease-out),
    transform     200ms var(--ease-out),
    border-color  200ms var(--ease-out);
}
.vcarousel__btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.vcarousel__btn:active { transform: translateY(-50%) scale(0.96); }
.vcarousel__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.vcarousel__btn--prev { left: 24px; }
.vcarousel__btn--next { right: 24px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (< 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav__inner > nav { display: none; }
  .hamburger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .hero__badge, .hero__actions { justify-content: center; }
  .hero__body { margin: 0 auto 40px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .scard:last-child { grid-column: 1 / -1; }

  .process__track { grid-template-columns: 1fr; gap: 0; }
  .process__step  { flex-direction: row; text-align: left; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
  .process__step:last-child { border-bottom: none; }
  .process__num { font-size: 32px; min-width: 48px; }
  .process__desc { max-width: none; }
  .process__connector { display: none; }

  .inspection__inner { grid-template-columns: 1fr; gap: 48px; }
  .inspection__copy  { order: 1; }
  .inspection__visual { order: 2; }

  .comparison { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; gap: 32px; }
  .method__aside { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }

  .vcarousel { height: 460px; }
  .vslide { height: 420px; }
  .vslide[data-pos="-1"] { transform: translate(-50%, -50%) translateX(-200px) scale(0.84); }
  .vslide[data-pos="1"]  { transform: translate(-50%, -50%) translateX(200px)  scale(0.84); }
  .vslide[data-pos="-2"], .vslide[data-pos="2"] { opacity: 0; pointer-events: none; }
  .vcarousel__btn--prev { left: 12px; }
  .vcarousel__btn--next { right: 12px; }

  .footer__inner  { flex-direction: column; text-align: center; gap: 20px; }
  .footer__tagline { border-left: none; padding-left: 0; }
  .footer__brand  { flex-direction: column; gap: 6px; }

  .modal__panel { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 640px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 639px) {
  .container { padding: 0 16px; }
  :root { --nav-h: 64px; }

  .hero__inner { padding-top: 28px; padding-bottom: 28px; }
  .hero__headline { font-size: 36px; }
  .hero__body     { font-size: 16px; }
  .hero__actions  { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__carousel { aspect-ratio: 16 / 9; }

  .services   { padding: 80px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .scard:last-child { grid-column: auto; }

  .process    { padding: 80px 0; }
  .inspection { padding: 80px 0; }
  .why        { padding: 80px 0; }
  .vgallery   { padding: 80px 0 0; }
  .cta-form   { padding: 80px 0; }

  .vcarousel { height: 400px; }
  .vslide { height: 360px; }
  .vslide[data-pos="-1"] { transform: translate(-50%, -50%) translateX(-155px) scale(0.82); opacity: 0.5; }
  .vslide[data-pos="1"]  { transform: translate(-50%, -50%) translateX(155px)  scale(0.82); opacity: 0.5; }
  .vslide[data-pos="-2"], .vslide[data-pos="2"] { opacity: 0; pointer-events: none; }
  .vcarousel__btn { width: 40px; height: 40px; }
  .vcarousel__btn--prev { left: 8px; }
  .vcarousel__btn--next { right: 8px; }

  .section-header { margin-bottom: 40px; }
  .mobile-menu__link { font-size: 22px; }

  .modal__panel   { padding: 28px 20px; max-height: 95dvh; }
  .modal__title   { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE INTRO ANIMATIONS
═══════════════════════════════════════════════════════════ */

/* Nav oculto antes de que arranque la animación (opciones 2 y 4) */
body[data-anim="2"] #nav,
body[data-anim="4"] #nav {
  opacity: 0;
}

/* Opción 4: hero__copy como bloque unificado */
body[data-anim="4"] .hero__copy {
  opacity: 0;
}
body[data-anim="4"] .hero__copy .hero__headline,
body[data-anim="4"] .hero__copy .hero__body,
body[data-anim="4"] .hero__copy .hero__actions {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ── OPCIÓN 2: Stagger por bloques ── */
body[data-anim="2"].anim-run #nav {
  animation: intro-down  500ms cubic-bezier(.22,1,.36,1) 0ms   both;
}
body[data-anim="2"].anim-run .hero__headline {
  animation: intro-up    600ms cubic-bezier(.22,1,.36,1) 120ms both;
}
body[data-anim="2"].anim-run .hero__body {
  animation: intro-up    600ms cubic-bezier(.22,1,.36,1) 230ms both;
}
body[data-anim="2"].anim-run .hero__actions {
  animation: intro-up    600ms cubic-bezier(.22,1,.36,1) 330ms both;
}
body[data-anim="2"].anim-run .hero__visual {
  animation: intro-right 700ms cubic-bezier(.22,1,.36,1) 460ms both;
}

/* ── OPCIÓN 4: Split screen ── */
body[data-anim="4"].anim-run #nav {
  animation: intro-fade    400ms ease-out                0ms   both;
}
body[data-anim="4"].anim-run .hero__copy {
  animation: intro-split-l 700ms cubic-bezier(.22,1,.36,1) 150ms both;
}
body[data-anim="4"].anim-run .hero__visual {
  animation: intro-split-r 700ms cubic-bezier(.22,1,.36,1) 150ms both;
}

/* ── OPCIÓN 5: Loader flash (overlay, la página renderiza debajo) ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: #07091a;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.page-loader__logo {
  opacity: 0;
  transform: scale(0.88);
}
body:not([data-anim="5"]) .page-loader {
  display: none;
}

body[data-anim="5"].anim-run .page-loader__logo {
  animation: intro-loader-logo 500ms cubic-bezier(.22,1,.36,1) 80ms  both;
}
body[data-anim="5"].anim-run .page-loader {
  animation: intro-loader-out  450ms ease-in               900ms both;
}

/* ── KEYFRAMES ── */
@keyframes intro-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes intro-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes intro-right {
  from { opacity: 0; transform: translateX(42px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes intro-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes intro-split-l {
  from { opacity: 0; transform: translateX(-52px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes intro-split-r {
  from { opacity: 0; transform: translateX(52px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes intro-loader-logo {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes intro-loader-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

