/* ============================================================
   VISA & AVENTURA — Landing premium
   Paleta · Tipografía · Reset · Componentes
   ============================================================ */

:root {
  /* Brand */
  --c-purple-900: #2A0F4A;
  --c-purple-800: #3A1660;
  --c-purple-700: #4A1F6F;
  --c-purple-600: #5E2B89;
  --c-purple-500: #7C3FAA;
  --c-purple-100: #F2E8FA;
  --c-purple-050: #FAF5FF;

  --c-teal-700: #1F8C82;
  --c-teal-600: #2BA89C;
  --c-teal-500: #3DBDB0;
  --c-teal-400: #5DD4C8;
  --c-teal-100: #E6F8F6;

  /* Neutrals */
  --c-ink-900: #0F0B1A;
  --c-ink-800: #1B1530;
  --c-ink-700: #2C2540;
  --c-ink-500: #5A536A;
  --c-ink-400: #837C92;
  --c-ink-300: #B5B0C0;
  --c-ink-200: #DAD6E0;
  --c-ink-100: #EFEDF3;
  --c-ink-050: #F7F6FA;
  --c-white:   #FFFFFF;

  /* Effects */
  --grad-brand: linear-gradient(135deg, var(--c-purple-700) 0%, var(--c-purple-500) 50%, var(--c-teal-500) 100%);
  --grad-brand-soft: linear-gradient(135deg, #6B3B9A 0%, #3DBDB0 100%);
  --grad-text: linear-gradient(120deg, var(--c-purple-600) 0%, var(--c-teal-500) 100%);
  --grad-text-light: linear-gradient(120deg, #C9A8FF 0%, var(--c-teal-400) 100%);

  --shadow-sm: 0 2px 8px rgba(42, 15, 74, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(42, 15, 74, 0.18);
  --shadow-lg: 0 25px 60px -15px rgba(42, 15, 74, 0.28);
  --shadow-glow: 0 20px 60px -10px rgba(74, 31, 111, 0.45);
  --shadow-teal: 0 20px 60px -15px rgba(61, 189, 176, 0.5);

  /* Type */
  --ff-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --ff-script: 'Caveat', cursive;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 220ms;
  --d-base: 420ms;
  --d-slow: 720ms;
}

/* ============================================================
   RESET / BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-800);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Hard guard against horizontal overflow from any descendant */
.section, .hero, .footer, main, header {
  max-width: 100%;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { -webkit-user-drag: none; user-select: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-ink-900);
}

::selection { background: var(--c-purple-600); color: #fff; }

/* ============================================================
   UTIL
   ============================================================ */

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-purple-700);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--c-purple-100);
}
.eyebrow--light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-teal-500);
  box-shadow: 0 0 0 3px rgba(61, 189, 176, 0.25);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61, 189, 176, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(61, 189, 176, 0); }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow { margin-bottom: 18px; }
.section__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 16px;
}
.section__sub {
  color: var(--c-ink-500);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  --btn-bg: var(--c-purple-700);
  --btn-fg: #fff;
  --btn-bd: transparent;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--d-fast) var(--ease-out),
    box-shadow var(--d-base) var(--ease-out),
    color var(--d-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity var(--d-base) var(--ease-out);
  z-index: -1;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.25), transparent 50%);
  opacity: 0;
  transition: opacity var(--d-fast) var(--ease-out);
  z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-purple-700); color: #fff; }
.btn--primary svg { transition: transform var(--d-fast) var(--ease-out); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink-800);
  border-color: var(--c-ink-200);
}
.btn--ghost::before { background: var(--c-ink-100); }
.btn--ghost:hover { color: var(--c-purple-700); border-color: var(--c-purple-700); box-shadow: var(--shadow-md); }

.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-purple-700);
  transition: gap var(--d-fast) var(--ease-out);
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { transition: transform var(--d-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--c-purple-900);
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 600ms var(--ease-out), visibility 600ms;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader__logo { width: 64px; height: 64px; filter: brightness(1.5); animation: loaderPulse 1.6s ease-in-out infinite; }
.loader__bar {
  width: 140px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-teal-500);
  transform: translateX(-100%);
  animation: loaderBar 1.4s var(--ease-in-out) infinite;
}
@keyframes loaderBar {
  to { transform: translateX(100%); }
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

/* ============================================================
   CURSOR GLOW (desktop)
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 189, 176, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 400ms;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: padding var(--d-base) var(--ease-out), background var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(15, 11, 26, 0.06);
  padding: 10px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 38px; height: 38px; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--ff-serif);
  font-weight: 700;
  color: var(--c-ink-900);
  letter-spacing: -0.01em;
}
.nav__brand-line1 { font-size: 14px; color: var(--c-purple-700); }
.nav__brand-line2 { font-size: 14px; color: var(--c-teal-600); font-family: var(--ff-script); margin-top: 2px; }
.nav__brand-amp { display: none; }

.nav__menu { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-700);
  border-radius: 999px;
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-text);
  transition: width var(--d-base) var(--ease-out), left var(--d-base) var(--ease-out);
  border-radius: 2px;
}
.nav__link:hover { color: var(--c-purple-700); }
.nav__link:hover::after { width: 18px; left: calc(50% - 9px); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 12px;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--c-ink-900);
  border-radius: 2px;
  transition: transform var(--d-base) var(--ease-out), opacity var(--d-base) var(--ease-out), top var(--d-base) var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100dvh;
  padding: 96px 28px 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform var(--d-base) var(--ease-out);
  box-shadow: -20px 0 60px rgba(15, 11, 26, 0.18);
  z-index: 999;
}
.nav__drawer.is-open { transform: translateX(0); }
.nav__drawer-link {
  padding: 16px 12px;
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-ink-900);
  border-bottom: 1px solid var(--c-ink-100);
  transition: color var(--d-fast), padding-left var(--d-fast) var(--ease-out);
}
.nav__drawer-link:hover { color: var(--c-purple-700); padding-left: 18px; }
.nav__drawer-cta { margin-top: 24px; align-self: stretch; }

/* ============================================================
   HERO — CINEMATIC VIDEO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: #0A0717;
  color: #fff;
}

.hero--cinematic {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Media stack */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0A0717;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  /* Subtle visual polish */
  filter: contrast(1.05) saturate(1.08);
  transform: scale(1.02); /* hides any 1px edge cropping during crossfade */
}
.hero__video--a { opacity: 1; }
.hero__video--b { opacity: 0; }

.hero__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 7, 23, 0.6) 0%,
      rgba(10, 7, 23, 0.4) 30%,
      rgba(10, 7, 23, 0.55) 65%,
      rgba(10, 7, 23, 0.95) 100%
    ),
    linear-gradient(110deg,
      rgba(74, 31, 111, 0.4) 0%,
      rgba(74, 31, 111, 0.08) 50%,
      rgba(31, 140, 130, 0.2) 100%
    );
  pointer-events: none;
}
.hero__media-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 110% 90% at 50% 45%, transparent 30%, rgba(10, 7, 23, 0.6) 100%);
  pointer-events: none;
}
.hero__media-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* Hero inner — single-column centered layout */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 160px;
  padding-bottom: 100px;
  gap: 56px;
}
.hero__content {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero__content > * { max-width: 100%; }
/* Soft spotlight behind text for legibility on top of video */
.hero__content::before {
  content: '';
  position: absolute;
  inset: -10% -8%;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(10, 7, 23, 0.45) 0%, rgba(10, 7, 23, 0.25) 50%, transparent 80%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

/* Text color overrides for cinematic hero */
.hero--cinematic .hero__title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  margin: 28px 0 26px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 16ch;
  width: 100%;
}
.hero--cinematic .hero__sub {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero--cinematic .hero__ctas { margin-bottom: 8px; }
.hero--cinematic .hero__chips {
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.hero--cinematic .hero__chip-ico {
  background: rgba(61, 189, 176, 0.22);
  color: #5DD4C8;
  box-shadow: inset 0 0 0 1px rgba(93, 212, 200, 0.45);
}

.text-grad-bright {
  background: linear-gradient(120deg, #C9A8FF 0%, #5DD4C8 70%, #5DD4C8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow--glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.btn--glass::before { background: rgba(255, 255, 255, 0.16); }
.btn--glass:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.45);
}

/* Scroll cue */
.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color var(--d-fast) var(--ease-out), transform var(--d-base) var(--ease-out);
}
.hero__scroll:hover { color: #fff; transform: translateY(-2px); }
.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 14px;
  position: relative;
  display: block;
}
.hero__scroll-dot {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  60% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 31, 111, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 31, 111, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 14s var(--ease-in-out) infinite;
}
.hero__orb--1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #B98CFA 0%, transparent 70%);
  top: -120px; left: -120px;
}
.hero__orb--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #5DD4C8 0%, transparent 70%);
  bottom: -160px; right: -100px;
  animation-delay: -7s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  margin: 22px 0 22px;
  letter-spacing: -0.025em;
}
.hero__title-script {
  display: block;
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: 0.78em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 8px;
  line-height: 1;
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--c-ink-500);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__chips {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-ink-500);
}
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.hero__chip-ico {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-teal-100);
  color: var(--c-teal-700);
  font-size: 11px;
  font-weight: 700;
}

/* hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin-left: auto;
  perspective: 1200px;
}

.hero__card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--d-slow) var(--ease-out);
}

.hero__card--main {
  inset: 0;
  transform: rotate(-1deg);
}
.hero__photo { position: relative; width: 100%; height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.hero__card--main:hover .hero__photo img { transform: scale(1.06); }
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 15, 74, 0.45) 100%);
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
}
.hero__badge strong {
  display: block;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink-900);
}
.hero__badge span {
  display: block;
  font-size: 11px;
  color: var(--c-ink-500);
  letter-spacing: 0.04em;
}
.hero__badge-flag { font-size: 28px; line-height: 1; }

.hero__badge--top {
  top: 20px;
  left: -20px;
  animation: floatY 5s var(--ease-in-out) infinite;
}
.hero__badge--bottom {
  bottom: 100px;
  right: -20px;
  animation: floatY 5s var(--ease-in-out) infinite -2.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__plane {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 36px;
  height: 36px;
  color: var(--c-white);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  animation: planeFloat 7s var(--ease-in-out) infinite;
}
.hero__plane svg { width: 100%; height: 100%; transform: rotate(-30deg); }
@keyframes planeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -14px) rotate(6deg); }
}

.hero__card--mini {
  bottom: -36px;
  left: -28px;
  padding: 18px 22px;
  background: var(--c-ink-900);
  color: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-glow);
  animation: floatY 6s var(--ease-in-out) infinite -3s;
}
.hero__mini-grid { display: flex; align-items: center; gap: 18px; }
.hero__mini-stat strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-teal-400);
}
.hero__mini-stat strong span { font-size: 16px; color: rgba(255,255,255,0.5); }
.hero__mini-stat > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.hero__mini-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }

/* Marquee */
.hero__marquee {
  position: relative;
  z-index: 2;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 7, 23, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero__marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__marquee-track span:nth-child(even) { color: var(--c-teal-400); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-ink-100);
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card--featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.service-card--featured .service-card__media { aspect-ratio: 16 / 11; }
.service-card--featured .service-card__body { flex: 1; }

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__flag {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}

.service-card__body { padding: 26px 26px 28px; }
.service-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-teal-700);
  background: var(--c-teal-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.service-card__body h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 12px;
}
.service-card__body p {
  color: var(--c-ink-500);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--c-ink-100);
}
.service-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ff-serif);
}
.service-card__price small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-400);
  font-family: var(--ff-sans);
  font-weight: 500;
}
.service-card__price strong { font-size: 22px; color: var(--c-purple-700); font-weight: 600; }

/* ============================================================
   METHOD (Lo que hacemos por ti)
   ============================================================ */

.method { background: var(--c-ink-050); }
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.method-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--c-ink-100);
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.method-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity var(--d-base) var(--ease-out);
  z-index: 0;
}
.method-card > * { position: relative; z-index: 1; transition: color var(--d-base) var(--ease-out); }
.method-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.method-card:hover::before { opacity: 1; }
.method-card:hover h3,
.method-card:hover p { color: #fff; }
.method-card:hover .method-card__icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.method-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-purple-100);
  color: var(--c-purple-700);
  margin-bottom: 20px;
  transition: all var(--d-base) var(--ease-out);
}
.method-card__icon svg { width: 24px; height: 24px; }
.method-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  transition: color var(--d-base);
}
.method-card p {
  font-size: 14px;
  color: var(--c-ink-500);
  line-height: 1.6;
}

/* ============================================================
   TEST DE PERFIL
   ============================================================ */

.test { padding-top: 0; }
.test__wrap {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 80px);
  border-radius: var(--radius-xl);
  background: var(--c-purple-900);
  color: #fff;
  overflow: hidden;
}
.test__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 63, 170, 0.5), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(61, 189, 176, 0.35), transparent 50%);
}

.test__head { text-align: center; max-width: 620px; margin: 0 auto 48px; position: relative; z-index: 1; }
.test__head h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 18px 0 14px; }
.test__head p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

.test__quiz {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  min-height: 360px;
}

.test__quiz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  min-height: 32px;
}
.test__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  margin-left: -8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  transition: all var(--d-fast) var(--ease-out);
}
.test__back:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: translateX(-2px); }
.test__back[hidden] { display: none !important; }
.test__back svg { transition: transform var(--d-fast) var(--ease-out); }
.test__back:hover svg { transform: translateX(-2px); }

.test__progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}
.test__progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--grad-text-light);
  border-radius: 2px;
  transition: width var(--d-slow) var(--ease-out);
}
.test__step-count {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.test__step-count small { opacity: 0.5; margin: 0 2px; }

.test__step {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out);
}
.test__step.is-active { display: block; opacity: 1; transform: translateY(0); }

.test__step h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 22px;
  line-height: 1.3;
}

.test__opts { display: flex; flex-direction: column; gap: 10px; }
.test__opt {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--d-fast) var(--ease-out);
  position: relative;
}
.test__opt::after {
  content: '→';
  position: absolute;
  right: 20px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--d-fast), transform var(--d-fast) var(--ease-out);
  color: var(--c-teal-400);
}
.test__opt:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-teal-500);
  transform: translateX(4px);
}
.test__opt:hover::after { opacity: 1; transform: translateX(0); }
.test__opt.is-selected {
  background: rgba(61, 189, 176, 0.16);
  border-color: var(--c-teal-400);
  color: #fff;
}
.test__opt.is-selected::after { opacity: 1; transform: translateX(0); content: '✓'; }

/* Review step (between last question and result) */
.test__step--review {
  text-align: center;
  padding: 4px 0;
}
.test__review-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-teal-500), var(--c-teal-400));
  color: #fff;
  box-shadow: 0 0 0 8px rgba(61, 189, 176, 0.18), 0 12px 30px -8px rgba(61, 189, 176, 0.45);
  animation: testReviewIco 600ms var(--ease-out);
}
@keyframes testReviewIco {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
.test__step--review h3 { color: #fff; margin-bottom: 10px; font-size: 1.4rem; line-height: 1.3; }
.test__step--review p { color: rgba(255, 255, 255, 0.72); margin-bottom: 26px; font-size: 0.98rem; line-height: 1.55; }
.test__review-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}
.test__review-actions .btn { width: 100%; }

/* Result */
.test__result {
  display: none;
  opacity: 0;
  transition: opacity var(--d-slow) var(--ease-out);
  text-align: center;
}
.test__result.is-active { display: block; opacity: 1; }
.test__result-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 8px auto 20px;
}
.test__result-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.test__ring-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 8; }
.test__ring-fg {
  fill: none;
  stroke: url(#noring);
  stroke: var(--c-teal-400);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}
.test__result-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ff-serif);
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.test__result-num small { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 400; }

#testResultTitle { font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
#testResultDesc { color: rgba(255,255,255,0.7); margin-bottom: 24px; font-size: 1rem; }

.test__retry {
  display: block;
  margin: 16px auto 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  transition: color var(--d-fast);
}
.test__retry:hover { color: #fff; }

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews__carousel { position: relative; }
.reviews__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 20px;
  margin: 0 -4px;
}
.reviews__track::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-purple-100);
}
.review__stars { display: flex; gap: 2px; color: #FFB547; font-size: 16px; margin-bottom: 14px; }
.review__text {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--c-ink-800);
  margin-bottom: 22px;
  flex: 1;
}
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid var(--c-purple-100);
}
.review__author strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 15px;
  color: var(--c-ink-900);
  font-weight: 600;
}
.review__author span { font-size: 12px; color: var(--c-ink-400); }

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.reviews__btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-ink-200);
  color: var(--c-ink-700);
  transition: all var(--d-fast) var(--ease-out);
}
.reviews__btn:hover {
  background: var(--c-purple-700);
  color: #fff;
  border-color: var(--c-purple-700);
  transform: scale(1.08);
}
.reviews__btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.reviews__dots { display: flex; gap: 8px; align-items: center; }
.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-ink-200);
  transition: all var(--d-fast) var(--ease-out);
}
.reviews__dot.is-active { background: var(--c-purple-700); width: 24px; border-radius: 4px; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing__tabs {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 6px;
  background: var(--c-ink-050);
  border-radius: 999px;
}
.pricing__tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-500);
  transition: color var(--d-fast) var(--ease-out);
}
.pricing__tab.is-active { color: #fff; }
.pricing__tab-flag { font-size: 18px; }
.pricing__tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  background: var(--c-purple-700);
  border-radius: 999px;
  transition: all var(--d-base) var(--ease-out);
  box-shadow: 0 6px 20px -8px rgba(74, 31, 111, 0.6);
  z-index: 0;
}

.pricing__panels {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}
.pricing__panel {
  display: none;
  animation: fadeUp 600ms var(--ease-out);
}
.pricing__panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-ink-100);
  overflow: hidden;
}
.pricing__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand-soft);
}

.pricing__head { text-align: center; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px dashed var(--c-ink-100); }
.pricing__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-purple-700);
  background: var(--c-purple-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pricing__badge--alt { color: var(--c-teal-700); background: var(--c-teal-100); }

.pricing__head h3 { font-size: 1.55rem; margin-bottom: 16px; }
.pricing__price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.pricing__currency { font-size: 13px; color: var(--c-ink-400); font-weight: 600; letter-spacing: 0.1em; }
.pricing__price strong {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.pricing__note { font-size: 12.5px; color: var(--c-ink-400); margin-top: 10px; }

.pricing__features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--c-ink-700);
}
.pricing__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-teal-100);
  position: relative;
}
.pricing__check::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--c-teal-700);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pricing__cta { width: 100%; }
.pricing__foot { text-align: center; margin-top: 28px; font-size: 14.5px; color: var(--c-ink-500); }
.pricing__foot a { color: var(--c-purple-700); font-weight: 600; }
.pricing__foot a:hover { text-decoration: underline; }

/* ============================================================
   PROCESS
   ============================================================ */

.process { background: var(--c-ink-050); }
.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.process__line {
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-ink-200) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.process__step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.process__num {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-purple-700);
  background: #fff;
  border-radius: 50%;
  border: 1.5px solid var(--c-purple-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--d-base) var(--ease-out);
}
.process__step:hover .process__num {
  background: var(--c-purple-700);
  color: #fff;
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
  border-color: var(--c-purple-700);
}
.process__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process__body p { font-size: 14px; color: var(--c-ink-500); line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */

.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--d-base) var(--ease-out);
}
.faq__item[open] {
  border-color: var(--c-purple-200, var(--c-purple-100));
  box-shadow: var(--shadow-md);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink-900);
  transition: color var(--d-fast) var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-purple-700); }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-ink-050);
  transition: all var(--d-base) var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-ink-700);
  border-radius: 1px;
  transition: transform var(--d-base) var(--ease-out), background var(--d-base) var(--ease-out);
}
.faq__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon { background: var(--c-purple-700); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__answer {
  padding: 0 24px 24px;
  color: var(--c-ink-500);
  font-size: 15px;
  line-height: 1.7;
  animation: faqOpen 380ms var(--ease-out);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT / CTA FINAL
   ============================================================ */

.contact { padding-bottom: clamp(72px, 10vw, 130px); }
.contact__wrap {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--c-ink-900);
  color: #fff;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
}
.contact__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(124, 63, 170, 0.45), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(61, 189, 176, 0.3), transparent 45%);
}

.contact__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.contact__left h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 18px 0 14px;
}
.contact__script {
  display: inline-block;
  font-family: var(--ff-script);
  font-weight: 700;
  color: var(--c-teal-400);
  transform: rotate(-2deg);
}
.contact__left > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.contact__perks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
}
.contact__perks svg { color: var(--c-teal-400); flex-shrink: 0; }

.contact__form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.contact__field--full { grid-column: span 2; }
.contact__field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}
.contact__field label span { color: rgba(255,255,255,0.35); font-weight: 400; text-transform: lowercase; }

.contact__field input,
.contact__field select,
.contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 14.5px;
  transition: border-color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
  outline: none;
  font-family: inherit;
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  border-color: var(--c-teal-400);
  background: rgba(255,255,255,0.08);
}
.contact__field textarea { resize: vertical; min-height: 80px; }

.contact__field input.is-error,
.contact__field select.is-error,
.contact__field textarea.is-error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  animation: shake 360ms cubic-bezier(.36,.07,.19,.97);
}
.contact__field-error {
  display: none;
  margin-top: 4px;
  font-size: 12px;
  color: #ff8a8a;
  font-weight: 500;
}
.contact__field-error.is-visible { display: block; animation: fadeUp 220ms var(--ease-out); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}

/* Review panel (form confirmation) */
.contact__panels { position: relative; }
.contact__review {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: fadeUp 500ms var(--ease-out);
}
.contact__review[hidden] { display: none; }
.contact__review-head { text-align: center; margin-bottom: 22px; }
.contact__review-head .eyebrow { margin-bottom: 12px; }
.contact__review-head h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.contact__review-head > p { color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.5; }

.contact__review-list {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 22px;
}
.contact__review-list .review-row { display: flex; flex-direction: column; gap: 2px; }
.contact__review-list .review-row + .review-row { padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.contact__review-list dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.contact__review-list dd {
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
}
.contact__review-list .review-row--diag dd {
  color: var(--c-teal-400);
  font-family: var(--ff-serif);
  font-weight: 600;
}

.contact__review-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.contact__review-actions .btn { padding: 14px 22px; }

.btn--whatsapp {
  background: #25D366;
  color: #062014;
}
.btn--whatsapp::before { background: #20BD5A; }
.btn--whatsapp:hover { color: #fff; box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.55); }
.btn--whatsapp svg { color: currentColor; }

.contact__review-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 540px) {
  .contact__review { padding: 24px 20px; }
  .contact__review-actions { grid-template-columns: 1fr; }
  .contact__review-actions .btn { width: 100%; }
}

.contact__select-wrap { position: relative; }
.contact__select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 38px;
}
.contact__select-wrap select option { background: var(--c-ink-900); color: #fff; }
.contact__select-wrap svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,0.5);
}

.contact__submit { grid-column: span 2; margin-top: 8px; }
.contact__legal { grid-column: span 2; font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; line-height: 1.5; }

.contact__success {
  grid-column: span 2;
  text-align: center;
  padding: 24px 8px;
  animation: fadeUp 500ms var(--ease-out);
}
.contact__success-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--c-teal-500);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(61, 189, 176, 0.2);
}
.contact__success h3 { color: #fff; margin-bottom: 6px; }
.contact__success p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--c-ink-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand .footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand img { width: 42px; height: 42px; }
.footer__brand strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.footer__brand small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.footer__about { font-size: 14px; line-height: 1.6; max-width: 360px; }

.footer__col h4 {
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--d-fast), padding-left var(--d-fast) var(--ease-out);
}
.footer__col a:hover { color: var(--c-teal-400); padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1024px) {
  .hero--cinematic .hero__title { font-size: clamp(2.2rem, 7vw, 3.6rem); }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-row: span 1; grid-column: span 2; flex-direction: row; }
  .service-card--featured .service-card__media { width: 45%; aspect-ratio: auto; }
  .service-card--featured .service-card__body { width: 55%; }

  .method__grid { grid-template-columns: 1fr 1fr; }

  .contact__content { grid-template-columns: 1fr; gap: 40px; }

  .reviews__track > .review { flex: 0 0 calc(50% - 10px); }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 720px) {
  /* Tighter rhythm in mobile to reduce scroll fatigue */
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .section__title { font-size: clamp(1.6rem, 7vw, 2rem); margin-bottom: 10px; }
  .section__sub { font-size: 0.96rem; line-height: 1.5; }
  .container { padding: 0 18px; }

  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .hero--cinematic .hero__inner {
    padding-top: 130px;
    padding-bottom: 64px;
    padding-left: 22px;
    padding-right: 22px;
    gap: 32px;
  }
  .hero--cinematic .hero__title {
    font-size: clamp(2.15rem, 9vw, 3rem);
    margin: 22px 0 22px;
    max-width: none;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .hero--cinematic .hero__title-script {
    font-size: 0.7em;
    margin-top: 10px;
  }
  .hero--cinematic .hero__sub {
    font-size: 1.02rem;
    margin-bottom: 30px;
    max-width: 100%;
    padding: 0 6px;
    line-height: 1.6;
  }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .hero__chips { font-size: 12.5px; gap: 18px 16px; justify-content: center; row-gap: 10px; }
  .hero__video { object-position: center 42%; }
  .hero__scroll { display: none; }
  .hero__content::before { inset: -6% -10%; filter: blur(28px); }
  .eyebrow--glass { font-size: 11.5px; padding: 9px 18px; white-space: nowrap; }

  .section { padding: clamp(60px, 12vw, 90px) 0; }
  .section__head { margin-bottom: 36px; }

  /* Services: stacked but compact */
  .services__grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card--featured { grid-column: span 1; flex-direction: column; }
  .service-card--featured .service-card__media,
  .service-card--featured .service-card__body { width: 100%; }
  .service-card--featured .service-card__media { aspect-ratio: 16 / 9; }
  .service-card__media { aspect-ratio: 21 / 9; }
  .service-card__body { padding: 20px 20px 22px; }
  .service-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.25; }
  .service-card__body p { font-size: 13.5px; margin-bottom: 16px; line-height: 1.5; }
  .service-card__foot { padding-top: 14px; }
  .service-card__price strong { font-size: 18px; }

  /* Method: 2 columns in mobile (less scroll) */
  .method__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .method-card { padding: 20px 16px; border-radius: 14px; }
  .method-card__icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
  .method-card__icon svg { width: 20px; height: 20px; }
  .method-card h3 { font-size: 0.96rem; line-height: 1.25; margin-bottom: 4px; }
  .method-card p { font-size: 12.5px; line-height: 1.45; }

  .test__wrap { padding: 48px 24px; border-radius: var(--radius-lg); }
  .test__quiz { padding: 28px 22px; min-height: 320px; }
  .test__step h3 { font-size: 1.2rem; }
  .test__opt { padding: 14px 16px; font-size: 14px; }

  .reviews__track > .review { flex: 0 0 calc(100% - 8px); padding: 22px; }
  .review__text { font-size: 0.98rem; margin-bottom: 18px; }
  .review__author strong { font-size: 14px; }

  /* FAQ: tighter summary */
  .faq__list { gap: 8px; }
  .faq__item summary { padding: 16px 18px; font-size: 0.98rem; gap: 14px; }
  .faq__icon { width: 28px; height: 28px; }
  .faq__answer { padding: 0 18px 18px; font-size: 14px; line-height: 1.55; }

  /* Footer: tighter */
  .footer { padding-top: 44px; }
  .footer__inner { gap: 28px; padding-bottom: 28px; }

  .pricing__tabs { width: 100%; }
  .pricing__tab { flex: 1; justify-content: center; padding: 12px 12px; font-size: 13px; }
  .pricing__card { padding: 32px 24px; }

  /* Process: compact horizontal-row stack */
  .process__timeline { grid-template-columns: 1fr; gap: 10px; max-width: none; }
  .process__line { display: none; }
  .process__step {
    text-align: left;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--c-ink-100);
    border-radius: 14px;
  }
  .process__num { width: 52px; height: 52px; margin: 0; font-size: 15px; }
  .process__body h3 { font-size: 1rem; margin-bottom: 2px; }
  .process__body p { font-size: 13px; line-height: 1.4; }

  .contact__wrap { padding: 36px 24px; border-radius: var(--radius-lg); }
  .contact__form { grid-template-columns: 1fr; padding: 22px; }
  .contact__field--full,
  .contact__submit,
  .contact__legal,
  .contact__success { grid-column: span 1; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .nav__brand-line1, .nav__brand-line2 { font-size: 13px; }
  .method__grid { gap: 8px; }
  .method-card { padding: 16px 12px; }
}

/* Landscape phones — avoid awkward white space on rotation */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 500px) {
  .hero--cinematic { min-height: 92vh; min-height: 92dvh; }
  .hero--cinematic .hero__inner {
    padding-top: 90px;
    padding-bottom: 40px;
    gap: 20px;
  }
  .hero--cinematic .hero__title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 14px 0 14px; }
  .hero--cinematic .hero__sub { font-size: 0.95rem; margin-bottom: 18px; }
  .hero__chips { gap: 12px; }
  .section { padding: 48px 0; }
  .hero__video { object-position: center 40%; }
}

/* Absolute final guard against any horizontal overflow */
img, video, iframe, svg, canvas { max-width: 100%; }
.hero, .hero__media, .hero__inner, .hero__content,
.section, .container,
.footer, .footer__inner,
.contact__wrap, .contact__panels, .contact__form, .contact__review,
.test__wrap, .test__quiz,
.method__grid, .services__grid,
.reviews__carousel, .reviews__track,
.process__timeline,
.faq__list, .faq__item,
.pricing__panels, .pricing__panel, .pricing__card { max-width: 100%; }

