/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jakarta-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jakarta-1.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jakarta-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jakarta-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/jakarta-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/jakarta-1.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/jakarta-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/jakarta-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/jakarta-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/jakarta-1.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/jakarta-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/jakarta-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================
   SEUWEB — PIRINEO EDITORIAL (Gate 0 craft)
   Estándar de la casa: primero caro en estático
   Paleta fría glaciar + cyan solo como firma interactiva
   ============================================ */

:root {
  /* Typography — editorial first */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-display-sans: "Archivo", "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Type scale (editorial rhythm) */
  --text-hero: clamp(3.1rem, 9.2vw, 6.75rem);
  --text-section: clamp(2.4rem, 5.6vw, 4.4rem);
  --text-card-title: clamp(1.15rem, 2vw, 1.45rem);
  --text-body: 1.05rem;
  --text-small: 0.875rem;
  --text-micro: 0.72rem;
  --leading-tight: 0.96;
  --leading-snug: 1.2;
  --leading-body: 1.65;
  --tracking-display: -0.035em;
  --tracking-label: 0.18em;

  /* Motion — surgical, not cinematic dump */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-premium: cubic-bezier(0.23, 1.0, 0.32, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --dur-ui: 220ms;
  --dur-reveal: 700ms;

  /* Spacing — silence is material */
  --space-section: clamp(6.5rem, 16vh, 11rem);
  --space-block: clamp(2rem, 5vw, 4rem);
  --space-hero-gap: clamp(1.25rem, 3vw, 2rem);
  --max-width: 78rem;
  --max-prose: 38rem;
  --nav-height: 4.25rem;
  --header-total: var(--nav-height);

  /* Radii — quieter */
  --radius-sm: 0.3rem;
  --radius-md: 0.55rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.35rem;
  --radius-full: 9999px;

  /* Shadows — soft depth, not neon glow default */
  --shadow-soft: 0 28px 90px -28px rgba(0, 0, 0, 0.72);
  --shadow-glow: 0 0 48px -18px rgba(125, 168, 198, 0.22);
  --shadow-card: 0 18px 56px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--color-border);
  --shadow-glass: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);

  /* Z-index */
  --z-preloader: 999;
  --z-progress: 80;
  --z-nav: 70;
  --z-fab: 60;
  --z-modal: 100;

  --color-transition: 0.4s var(--ease-out-expo);

  /* =========================================
     PALETTE — glacial void / bone / cyan firma
     ========================================= */
  color-scheme: dark;

  --color-bg: #06080c;
  --color-bg-elevated: #0a0d12;
  --color-surface: #0e1218;
  --color-surface-elevated: #151a22;
  --color-surface-glass: rgba(10, 14, 20, 0.78);

  /* Bone text (not pure white — quieter) */
  --color-text: #f2f0eb;
  --color-text-muted: #9aa3ad;
  --color-text-faint: #6a7380;

  /* Signature accent — cyan only for action / focus */
  --color-accent: #5ed7e8;
  --color-accent-light: #8ae4f0;
  --color-accent-hover: #a8eef7;
  --color-accent-contrast: #06080c;

  /* Glacier secondary (replaces loud violet as structure) */
  --color-violet: #6d8fad;
  --color-violet-light: #8eabc4;
  --color-violet-glow: rgba(109, 143, 173, 0.22);

  /* Warm gold — scarce (price, exclusivity) */
  --color-gold: #c4a574;
  --color-gold-light: #d4bb90;
  --color-gold-glow: rgba(196, 165, 116, 0.16);

  /* Supporting */
  --color-silver: #d9dde3;
  --color-border: rgba(242, 240, 235, 0.07);
  --color-border-strong: rgba(242, 240, 235, 0.14);
  --color-border-accent: rgba(94, 215, 232, 0.35);

  --color-glow: rgba(94, 215, 232, 0.1);
  --color-glow-strong: rgba(94, 215, 232, 0.22);
  --color-shadow: rgba(0, 0, 0, 0.68);

  --color-nav-bg: rgba(6, 8, 12, 0.9);
  --color-overlay: rgba(6, 8, 12, 0.94);

  --color-frame: #12161d;
  --color-frame-border: rgba(242, 240, 235, 0.09);
  --color-hover-surface: rgba(94, 215, 232, 0.04);

  /* Gradients — cold grade, not neon wash */
  --gradient-hero: linear-gradient(
    180deg,
    rgba(6, 8, 12, 0.2) 0%,
    rgba(6, 8, 12, 0.5) 42%,
    rgba(6, 8, 12, 0.88) 78%,
    rgba(6, 8, 12, 0.98) 100%
  );
  --gradient-vignette: radial-gradient(
    ellipse at 42% 35%,
    transparent 28%,
    rgba(6, 8, 12, 0.55) 72%,
    rgba(6, 8, 12, 0.85) 100%
  );
  --gradient-gold: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  --gradient-cyan-violet: linear-gradient(135deg, var(--color-violet-light), var(--color-accent));

  --gradient-progress: linear-gradient(90deg, var(--color-violet), var(--color-accent));
  --color-strike: rgba(154, 163, 173, 0.4);

  /* Robot tokens — quieter */
  --robot-body: var(--color-surface-elevated);
  --robot-shell: var(--color-bg);
  --robot-stroke: var(--color-border-strong);
  --robot-ring: var(--color-violet-light);
  --robot-eye: var(--color-accent);
  --robot-eye-deep: var(--color-accent);
  --robot-thruster: var(--color-violet);

  /* Constelación — barely there (not demo) */
  --constelacion-dot: 125, 168, 198;
  --constelacion-line: 109, 143, 173;
  --constelacion-opacity: 0.12;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --color-transition: 0s;
    --ease-out-expo: linear;
    --ease-premium: linear;
    --dur-ui: 0ms;
    --dur-reveal: 0ms;
  }
}

@media (prefers-contrast: more) {
  :root {
    --color-text: #ffffff;
    --color-border: rgba(242, 240, 235, 0.2);
  }
}
/* SEUWEB v5d — Base (cinematic premium) */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  position: relative;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

button, input, textarea, select { font: inherit; color: inherit; }

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

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 1.25rem; z-index: 200;
  padding: 0.75rem 1.4rem; background: var(--color-accent); color: var(--color-accent-contrast);
  font-weight: 700; border-radius: var(--radius-md); font-size: 0.9rem;
  transition: top .2s var(--ease-out-expo);
}
.skip-link:focus { top: 1.25rem; }

/* Container */
.container {
  width: min(100% - 2.75rem, var(--max-width));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 3.25rem, var(--max-width));
  }

  /* Extra safety to kill any right margin/overscroll on mobile */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

/* Premium section headers */
.section {
  padding: var(--space-section) 0;
}

.section--border {
  border-top: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-family: var(--font-display-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
  opacity: 0.95;
}

.section-num {
  font-feature-settings: "tnum";
  margin-right: 0.6em;
  opacity: 0.75;
}

.section-title {
  font-family: var(--font-display-sans);
  font-size: clamp(2.95rem, 7.1vw, 5.65rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  color: var(--color-text);
  margin-bottom: 1.1rem;
  max-width: none;
}

.section-header.center .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  font-size: 1.1rem;
  max-width: 42rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Text accents — como prod online */
.text-accent, .text-gradient {
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
}

.accent {
  color: var(--color-accent);
  font-weight: 600;
  font-style: normal;
  font-family: inherit;
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: var(--z-progress);
  background: linear-gradient(to right, var(--color-accent), var(--color-violet));
  width: var(--progress, 0%);
  transition: width 60ms linear;
  pointer-events: none;
}

/* Film grain */
.page-grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Constelación canvas */
.constelacion {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.65;
  mix-blend-mode: screen;
}

/* Preloader — cinematic */
/* Si html.loaded va en <head> (LCP), el preloader no pinta y no se convierte en LCP */
html.loaded .preloader {
  display: none !important;
}

.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  background: #050508; display: flex; align-items: center; justify-content: center;
  transition: opacity 420ms var(--ease-out-expo), visibility 420ms;
}
.preloader--done { opacity: 0; visibility: hidden; }

.preloader__inner { text-align: center; width: 260px; }
.preloader__logo { margin-bottom: 2.4rem; }
.preloader__word {
  display: block; font-family: var(--font-display-sans); font-size: 2.1rem; font-weight: 800;
  letter-spacing: -0.04em; color: #fff;
}
.preloader__tag { font-size: 0.72rem; letter-spacing: 0.35em; color: var(--color-text-muted); }
.preloader__bar {
  height: 1px; background: rgba(255,255,255,0.1); position: relative; margin: 0 auto 1.25rem;
  width: 100%; max-width: 220px; overflow: hidden;
}
.preloader__bar-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet-light));
  transition: width 380ms var(--ease-out-expo);
}
.preloader__status { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--color-text-faint); }

.preloader__particles {
  position: absolute; inset: 0; background: radial-gradient(circle at 40% 30%, rgba(0,240,255,0.035) 0%, transparent 55%);
}

/* Footer */
.footer {
  padding: 4.5rem 0 2.5rem; border-top: 1px solid var(--color-border); background: var(--color-bg-elevated);
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3.25rem; }
.footer__brand { font-family: var(--font-display-sans); font-size: 1.35rem; font-weight: 800; margin-bottom: 0.65rem; }
.footer__desc { color: var(--color-text-muted); max-width: 26rem; }
.footer__col-title { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 1rem; color: var(--color-text-muted); }
.footer__bottom { margin-top: 3.75rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: 0.82rem; color: var(--color-text-faint); text-align: center; opacity: 0.75; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Form base */
.form { margin-top: 2rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__field { margin-bottom: 1.15rem; }
.form__field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.45rem; color: var(--color-text-muted); }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 0.95rem 1.1rem; background: var(--color-surface); border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md); font-size: 1rem; transition: border-color .2s var(--ease-out-expo), box-shadow .2s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(0,240,255,0.08); outline: none;
}
.form__textarea { min-height: 132px; resize: vertical; }

.fineprint, .audit__fineprint { font-size: 0.78rem; color: var(--color-text-faint); text-align: center; margin-top: 1rem; }

/* Toast */
.toast {
  position: fixed; bottom: 1.75rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--color-surface-elevated); color: var(--color-text); padding: 0.7rem 1.35rem; border-radius: var(--radius-full);
  font-size: 0.88rem; box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); opacity: 0; pointer-events: none;
  transition: all .3s var(--ease-out-expo);
  z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* Responsive base */
@media (max-width: 640px) {
  .form__grid { grid-template-columns: 1fr; }
}
/* SEUWEB v5d — Components (luxury level) */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  background: var(--color-nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: var(--nav-height);
}

.nav__brand {
  display: flex; align-items: center; gap: 0.6rem; font-weight: 800; letter-spacing: -0.01em;
}
.nav__wordmark { font-family: var(--font-display-sans); font-size: 1.35rem; }
.nav__location { font-size: 0.65rem; letter-spacing: 0.16em; color: var(--color-text-muted); margin-left: 0.35rem; opacity: 0.7; }

.nav__links { display: flex; gap: 1.85rem; font-size: 0.95rem; }
.nav__link {
  position: relative; padding: 0.35rem 0; opacity: 0.85; transition: opacity .2s;
}
.nav__link:hover { opacity: 1; }
.nav__link:after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px;
  background: var(--color-accent); transition: width .3s var(--ease-out-expo);
}
.nav__link:hover:after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

/* Selector de idioma ES/CA */
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.nav__lang-opt {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__lang-opt:hover { color: var(--color-text); }
.nav__lang-opt.is-active {
  color: var(--color-accent-contrast);
  background: var(--color-accent);
}
@media (max-width: 640px) {
  .nav__lang { margin-right: 0.2rem; }
  .nav__lang-opt { padding: 0.35rem 0.5rem; font-size: 0.68rem; }
}

.nav__toggle {
  display: none; background: none; border: 1px solid var(--color-border); padding: 8px; border-radius: 6px;
  color: var(--color-text);
}

/* Premium Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.75rem; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur-ui, 220ms) var(--ease-premium),
    color var(--dur-ui, 220ms) var(--ease-premium),
    border-color var(--dur-ui, 220ms) var(--ease-premium),
    transform var(--dur-ui, 220ms) var(--ease-premium),
    box-shadow var(--dur-ui, 220ms) var(--ease-premium);
  position: relative; overflow: hidden;
  text-decoration: none;
  min-height: 48px;
}

/* Primary = signature cyan only here (action), not everywhere */
.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}
.btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -12px var(--color-glow-strong);
}
.btn--primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent; border-color: var(--color-border-strong); color: var(--color-text);
}
.btn--ghost:hover { background: var(--color-hover-surface); border-color: var(--color-accent); }

.btn--secondary {
  background: var(--color-surface-elevated); border-color: var(--color-border-strong);
}
.btn--secondary:hover { border-color: var(--color-accent); }

.btn--xl { padding: 1.05rem 2.35rem; font-size: 1.02rem; font-weight: 700; }

.btn--full { width: 100%; }

.btn__arrow { transition: transform .3s var(--ease-out-expo); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn__shine {
  position: absolute; top: -50%; left: -100%; width: 40%; height: 200%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.38), transparent);
  transition: left 0.65s;
}
.btn:hover .btn__shine { left: 250%; }

/* Ripple táctil (span .touch-ripple que crea js/touch.js al tocar).
   Este CSS es obligatorio: sin position:absolute + animación, el span
   con width/height inline se vuelve flex-item e infla los botones
   (y sin animationend nunca se elimina). El .btn ya lo recorta con
   position:relative + overflow:hidden. */
.touch-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.12) 42%, transparent 68%);
  transform: scale(0);
  opacity: 0.9;
  animation: touch-ripple 480ms var(--ease-out-expo) forwards;
}
@keyframes touch-ripple {
  to { transform: scale(1); opacity: 0; }
}
/* contenedores de ripple que no son .btn: recorte solo en táctil */
body.is-touch .contact-channel,
body.is-touch .nav__link,
body.is-touch .blog-card__link {
  position: relative;
  overflow: hidden;
}

/* Glass card base */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .45s var(--ease-premium), box-shadow .45s var(--ease-premium), border-color .3s;
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 90px -18px rgba(0,0,0,0.7);
  border-color: var(--color-border-strong);
}

/* Service cards */
.card--service {
  padding: 2.1rem 1.95rem;
  position: relative;
}
.card__accent {
  position: absolute; top: 0; left: 0; width: 3px; height: 42%; background: linear-gradient(var(--color-accent), transparent);
}
.case__type { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--color-accent); margin-bottom: 0.6rem; font-weight: 700; }
.card__title { font-family: var(--font-display-sans); font-size: 1.45rem; font-weight: 800; line-height: 1.05; margin-bottom: 0.9rem; }
.card__desc { color: var(--color-text-muted); font-size: 0.97rem; line-height: 1.6; }
.card__highlights { margin: 1.35rem 0; font-size: 0.88rem; color: var(--color-text-muted); }
.card__highlights li { margin-bottom: 0.35rem; }

/* Case cards */
.card--case { display: flex; flex-direction: column; }
.case__media { position: relative; overflow: hidden; }
.case__media img { transition: transform 720ms var(--ease-premium); display: block; }
.card--case:hover .case__media img { transform: scale(1.035); }

.case__overlay {
  position: absolute; top: 0; left: 0; right: 0; padding: 1.1rem 1.25rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
}
.case__tag { font-size: 0.68rem; letter-spacing: 0.15em; background: rgba(0,0,0,0.5); padding: 2px 9px; border-radius: 999px; }

.case__body { padding: 1.35rem 1.55rem 1.75rem; }
.case__name { font-size: 1.28rem; font-weight: 700; margin-bottom: 0.2rem; }
.case__role { font-size: 0.85rem; color: var(--color-accent); margin-bottom: 0.85rem; }
.case__metrics { font-size: 0.93rem; color: var(--color-text-muted); margin-bottom: 1.1rem; line-height: 1.55; }

/* Price cards — columnas alineadas: head → deal → features → CTA */
.card--price {
  padding: 1.5rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.card--price.is-featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), 0 18px 48px -24px var(--color-glow-strong), var(--shadow-card);
  z-index: 1;
}
.price__head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 7.6rem;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}
.price__off {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  line-height: 1.2;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--color-gold);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.05em;
  min-height: 1.35rem;
  box-sizing: border-box;
}
.price__off--empty {
  visibility: hidden;
  background: transparent;
  color: transparent;
  user-select: none;
}
.price__badge {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text);
  margin: 0;
  line-height: 1.25;
}
.card--price.is-featured .price__badge { color: var(--color-accent); }
.price__tagline {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  margin: 0;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.price__deal {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 5.6rem;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
  overflow: hidden;
}
.card--price.is-featured .price__deal {
  height: auto;
  min-height: 5.6rem;
  overflow: visible;
}
.price__was {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  min-height: 1.25em;
  line-height: 1.25;
}
.price__was s { opacity: 0.55; }
.price__amount {
  font-size: clamp(2.15rem, 2.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.2rem;
  min-height: 2.75rem;
}
.price__amount .price__num { font-variant-numeric: tabular-nums; }
.price__amount .price__currency { font-size: 0.55em; font-weight: 700; opacity: 0.9; }
.price__from {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0.7;
  margin-right: 0.15em;
}
.price__save {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--color-gold);
  font-weight: 600;
  min-height: 1.2em;
  line-height: 1.2;
}
.price__save--empty { visibility: hidden; user-select: none; }
.price__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
.price__hint--empty { display: none; }
.price__list,
.price__features {
  margin: 0.5rem 0 1.15rem;
  flex: 1 1 auto;
  font-size: 0.86rem;
  line-height: 1.35;
  list-style: none;
  padding: 0;
}
.price__list li,
.price__features li {
  padding: 0.28rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.price__list li svg,
.price__features li svg {
  flex-shrink: 0;
  margin-top: 0.15em;
  opacity: 0.85;
}
.price__list li.plus,
.price__features li.is-plus {
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 0.2rem;
  padding-bottom: 0.25rem;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}
.price__features li.is-plus--spacer {
  color: transparent;
  user-select: none;
  pointer-events: none;
}
.card--price .price__cta,
.card--price > .btn {
  margin-top: auto;
  width: 100%;
  min-height: 3.35rem;
  height: auto;
  padding: 0.7rem 0.85rem;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Quote cards */
.card--quote {
  padding: 2.1rem 1.85rem; position: relative;
}
.quote__mark { font-family: var(--font-display); font-size: 6.5rem; line-height: 1; opacity: 0.08; position: absolute; top: -0.3rem; left: 1.2rem; }
blockquote { font-size: 1.05rem; line-height: 1.55; margin-bottom: 1.4rem; }
.quote__author { font-size: 0.9rem; }
.quote__author span { display: block; color: var(--color-text-muted); font-size: 0.82rem; }

/* Form & contact */
.contact-channels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0;
}
.contact-channel {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem; display: block;
}
.contact-channel .label { display: block; font-size: 0.72rem; color: var(--color-text-muted); letter-spacing: 0.08em; }
.contact-channel .value { display: block; font-size: 1.1rem; font-weight: 600; margin-top: 0.2rem; }

/* Sticky CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  display: none; background: var(--color-overlay); backdrop-filter: blur(18px);
  padding: 0.9rem 1rem; border-top: 1px solid var(--color-border);
  gap: 0.7rem; justify-content: center;
}
@media (max-width: 820px) { .sticky-cta { display: flex; } }

/* FAB */
.fab {
  position: fixed; bottom: 1.85rem; right: 1.85rem; z-index: var(--z-fab);
  width: 54px; height: 54px; border-radius: 999px; background: var(--color-accent); color: #050508;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px -6px var(--color-glow-strong);
  transition: transform .2s var(--ease-out-expo);
}
/* hover solo con puntero real: en táctil el :hover se queda "pegado"
   tras el toque y el FAB permanecía escalado */
@media (hover: hover) {
  .fab:hover { transform: scale(1.06); }
}

/* Nav drawer */
.nav__drawer {
  position: fixed; top: var(--nav-height); right: 0; width: 82%; max-width: 310px; background: var(--color-surface-elevated);
  border-left: 1px solid var(--color-border); z-index: 65; padding: 1.6rem; transform: translateX(100%);
  transition: transform .42s var(--ease-out-expo);
  display: none; flex-direction: column; gap: 0.3rem;
  /* prevent any contribution to horizontal scroll width */
  overflow: hidden;
}
.nav__drawer.open { transform: translateX(0); display: flex; }
.nav__drawer-link { padding: 0.85rem 0; border-bottom: 1px solid var(--color-border); }

/* Marquee — cinta de velocidad */
.marquee {
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  padding: 1.05rem 0; background: rgba(0,0,0,0.2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: inline-flex; will-change: transform;
  animation: marquee 38s linear infinite; /* fallback sin JS; marquee.js toma el control */
}
.marquee__group { display: inline-flex; align-items: center; gap: 2.75rem; padding-right: 2.75rem; }
.marquee__item {
  font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; opacity: 0.7;
}
.marquee__item--serif {
  font-family: var(--font-display); font-style: italic; text-transform: none;
  letter-spacing: 0.02em; font-size: 1.08rem; font-weight: 400;
  color: var(--color-accent-light); opacity: 0.92;
}
.marquee__sep { color: var(--color-accent); font-size: 0.65rem; opacity: 0.75; animation: marquee-sep-spin 9s linear infinite; }
@keyframes marquee-sep-spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .marquee__sep { animation: none; }
}
/* Utility */
.link-accent { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Responsive nav */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
/* SEUWEB v5d — Sections + Cinematic Hero (the crown jewel) */

/* =========================================
   HERO CINEMATOGRÁFICO — NIVEL 25k USD
   ========================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__layers {
  position: absolute; inset: 0; z-index: 1;
}

.hero__photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 42%;
  /* Photo as design: cold grade, not filter soup */
  filter: contrast(1.05) saturate(0.72) brightness(0.78) hue-rotate(-6deg);
  will-change: transform;
  transform: scale(1.04);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 8, 12, 0.55) 0%, transparent 48%),
    linear-gradient(0deg, rgba(6, 8, 12, 0.35) 0%, transparent 40%);
  pointer-events: none;
}

.hero__atmosphere {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Volumetric fog layers */
.hero__fog-1 {
  background: linear-gradient(180deg, transparent 0%, rgba(5,5,8,0.35) 48%, rgba(5,5,8,0.75) 88%);
  mix-blend-mode: multiply;
}
.hero__fog-2 {
  background: radial-gradient(ellipse at 68% 22%, rgba(120,160,210,0.12) 0%, transparent 58%);
  mix-blend-mode: screen;
}
.hero__fog-3 {
  background: linear-gradient(160deg, rgba(90,100,130,0.08) 12%, transparent 70%);
}

/* God rays — true cinematic */
.hero__godrays {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
}
.godray {
  position: absolute;
  background: linear-gradient(160deg, rgba(225,235,255,0.085) 0%, rgba(200,220,255,0.03) 32%, transparent 62%);
  filter: blur(32px);
  mix-blend-mode: screen;
  animation: godray-drift 32s linear infinite, godray-pulse 18s ease-in-out infinite;
  will-change: transform, opacity;
}
.godray--1 {
  top: -22%; right: 8%; width: 42%; height: 118%; transform: rotate(-28deg);
  opacity: 0.45;
}
.godray--2 {
  top: -32%; right: 22%; width: 26%; height: 128%; transform: rotate(-19deg);
  animation-delay: -11s; opacity: 0.28;
}
.godray--3 {
  top: -12%; right: -2%; width: 22%; height: 95%; transform: rotate(-38deg);
  animation-delay: -22s; opacity: 0.2;
}
.godray--4 {
  top: -5%; right: 38%; width: 14%; height: 70%; transform: rotate(-12deg);
  animation-delay: -4s; opacity: 0.15; filter: blur(42px);
}
@keyframes godray-drift {
  0% { transform: rotate(-28deg) translateX(0) scale(1); }
  50% { transform: rotate(-28deg) translateX(22px) scale(1.015); }
  100% { transform: rotate(-28deg) translateX(0) scale(1); }
}
@keyframes godray-pulse {
  0%,100% { opacity: 0.9; }
  50% { opacity: 0.55; }
}

/* Vignette + grain */
.hero__overlay { position: absolute; inset: 0; background: var(--gradient-hero); z-index: 4; }
.hero__vignette { position: absolute; inset: 0; background: var(--gradient-vignette); z-index: 5; }
.hero__grain { position: absolute; inset: 0; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27120%27 height=%27120%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.9%27 numOctaves=%273%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27 opacity=%270.16%27/%3E%3C/svg%27'); mix-blend-mode: overlay; z-index: 6; opacity: 0.28; }

/* Canvas — surgical: barely present (craft first, demo never) */
.hero__canvas {
  position: absolute; inset: 0; z-index: 7; mix-blend-mode: soft-light; pointer-events: none;
  opacity: 0.22;
}

@media (pointer: coarse), (max-width: 768px) {
  .hero__canvas { opacity: 0.12; }

  .hero__photo,
  .hero__fog-1,
  .hero__fog-2 {
    will-change: transform;
    transform: translateZ(0);
  }
}

/* Ensure no horizontal overflow on mobile causing ugly right margin on swipe */
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden;
  }
}

/* Constelación hero — whisper only */
.hero__constelacion {
  position: absolute; inset: 0; z-index: 8; mix-blend-mode: soft-light; pointer-events: none; opacity: 0.18;
}

/* Content */
.hero__layout {
  position: relative; z-index: 10;
  max-width: 68rem;
}

.hero__content {
  max-width: 46rem;
  padding-left: 0.25rem; /* extra inset on mobile to avoid text too close to left edge */
}

@media (max-width: 640px) {
  .hero__content {
    padding-left: 0.75rem;
  }
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono, monospace);
  font-size: var(--text-micro, 0.72rem);
  letter-spacing: var(--tracking-label, 0.18em);
  font-weight: 500;
  padding: 0.4rem 1.05rem 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 12, 0.5);
  backdrop-filter: blur(12px);
  margin-bottom: var(--space-hero-gap, 1.5rem);
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.badge-dot {
  width: 5px; height: 5px; background: var(--color-violet-light); border-radius: 50%;
  box-shadow: none;
}

/* Tipografía de prod: Archivo black + impact gradient (no Fraunces editorial) */
.hero__title {
  font-family: var(--font-display-sans);
  font-size: clamp(3.1rem, 8.5vw, 7.2rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.052em;
  margin-bottom: 1.1rem;
  color: var(--color-text);
  max-width: none;
}
.title-line {
  display: block;
  transition: transform 0.6s var(--ease-premium), opacity 0.6s;
}
.title-line--impact {
  font-size: 1.05em;
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(90deg, #fff, var(--color-accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
}

.hero__lead {
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  line-height: var(--leading-snug, 1.25);
  max-width: 28rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-weight: 450;
}
.hero__sublead {
  font-size: 0.98rem;
  line-height: var(--leading-body, 1.65);
  color: var(--color-text-muted);
  margin-bottom: 1.65rem;
  max-width: 32rem;
}

.hero__price {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
}
.price-num {
  font-family: var(--font-display-sans);
  font-size: 2.1rem;
  font-weight: 800;
  font-style: normal;
  color: var(--color-accent);
}
.price-note {
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

/* Silence around the single primary CTA */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
  margin-bottom: 2.25rem;
}

/* Secondary path under the single primary CTA (desktop + mobile): text link, not a rival button */
.hero__secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease-out-expo), border-color .2s var(--ease-out-expo);
}
.hero__secondary-link::after {
  content: "↓";
  color: var(--color-accent);
  font-weight: 700;
}
.hero__secondary-link:hover,
.hero__secondary-link:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

.proof-bar {
  display: flex;
  gap: 1.85rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.proof-bar__item {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.proof-bar__value {
  font-weight: 700;
  color: var(--color-accent);
  font-feature-settings: "tnum";
}

.hero__scroll-indicator {
  position: absolute; bottom: 3.5%; left: 50%; transform: translateX(-50%); z-index: 10;
  font-size: 0.7rem; letter-spacing: 0.2em; opacity: 0.6; display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
}
.hero__scroll-indicator .scroll-line {
  width: 1px; height: 42px; background: linear-gradient(transparent, var(--color-accent));
}

/* =========================================
   COMPARISON / ANTES DESPUÉS
   ========================================= */
.comparison-wrap { margin: 2.5rem 0 1.75rem; }
.comparison {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card); aspect-ratio: 16 / 9; background: #111;
}
.comparison__before, .comparison__after { position: absolute; inset: 0; }
.comparison__before img, .comparison__after img { width: 100%; height: 100%; object-fit: cover; }

/* Fixed: use --comparison-pos for dynamic slider. 
   before full under; after clipped to show right side starting at pos.
   This corrects the inverted before/after visual. */
.comparison__after { 
  clip-path: inset(0 0 0 var(--comparison-pos, 50%)); 
  z-index: 1;
}
.comparison__handle {
  position: absolute; top: 0; bottom: 0; left: var(--comparison-pos, 50%); width: 3px; background: #fff; z-index: 2;
  transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,0.6);
}
.comparison__handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; background: #fff; border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center;
}
.comparison__handle-grip:after {
  content: ''; width: 2px; height: 16px; background: #111; box-shadow: 10px 0 #111, -10px 0 #111;
}
.comparison__label {
  position: absolute; top: 1.25rem; padding: 0.15rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 700;
  background: rgba(0,0,0,0.65); border-radius: 999px; z-index: 3;
}
.comparison__label--before { left: 1.25rem; }
.comparison__label--after { right: 1.25rem; background: var(--color-accent); color: #050508; }
.comparison__caption { position: absolute; bottom: 1.1rem; font-size: 0.78rem; padding: 0.25rem 0.75rem; background: rgba(0,0,0,0.65); border-radius: 4px; }
.comparison__caption--after { right: 1.1rem; }

.comparison__input {
  position: absolute; inset: 0; z-index: 4; opacity: 0; cursor: ew-resize; width: 100%;
}

.comparison-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem;
}
.comparison-item {
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}
.comparison-item__before { color: var(--color-text-faint); text-decoration: line-through; }
.comparison-item__after { color: var(--color-accent); font-weight: 600; }

/* Light & fast horizontal scroller (restored from v5c for "ligero y rapido" scroll feel) */
.cases-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden; /* evita barra vertical no deseada */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.cases-scroll .card--case {
  min-width: 280px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
  /* altura controlada para evitar scroll vertical */
  height: auto;
  max-height: 520px;
}

.cases-scroll .case__image-wrap {
  flex: 1;
  min-height: 160px;
  max-height: 220px;
  overflow: hidden;
}

.cases-scroll .case__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make horizontal scroller full-bleed on mobile (edge to edge) to avoid right margin when swiping */
@media (max-width: 768px) {
  .cases-scroll {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    padding-left: 1.5rem;   /* left breathing room */
    padding-right: 0;       /* last card reaches very close to the right edge */
  }

  .cases-scroll .card--case:last-child {
    margin-right: 1rem; /* breathing room so last card doesn't touch the bezel */
  }
}
.cases-scroll-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* =========================================
   PROCESS + GUARANTEES
   ========================================= */
.process-timeline {
  display: grid; gap: 1.8rem;
}
.process-step {
  display: grid; grid-template-columns: 68px 1fr; gap: 1.35rem; align-items: start;
}
.process-step__num {
  font-family: var(--font-display-sans); font-size: 2.1rem; font-weight: 800;
  color: var(--color-accent); opacity: 0.9;
}
.process-step__content h3 { font-size: 1.2rem; margin-bottom: 0.35rem; color: var(--color-text); }
.process-step__content p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.5; }

.guarantees {
  margin-top: 3.5rem; display: flex; gap: 3rem; flex-wrap: wrap; justify-content: center;
}
.guarantee { text-align: center; }
.guarantee strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--color-accent); line-height: 1; }
.guarantee span { font-size: 0.8rem; color: var(--color-text-muted); }

/* =========================================
   PRICING + COMPARATOR
   ========================================= */
.comparator { text-align: center; margin: 1rem 0 2.25rem; }
.comparator__label { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--color-accent); }
.comparator__active { font-size: 1.05rem; font-weight: 700; margin-top: 0.65rem; color: var(--color-accent); }

.comparator__range {
  width: 100%; max-width: 460px; accent-color: var(--color-accent); margin: 1.1rem 0 0.4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}
.pricing-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
.pricing-note {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* =========================================
   AUDIT GLASS + CTA
   ========================================= */
.audit.glass {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.4rem;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.8rem; align-items: center;
}
.audit__title { font-size: clamp(1.85rem, 4.6vw, 2.7rem); line-height: 1.05; font-weight: 800; margin: 0.6rem 0 1.2rem; }
.audit__list li { padding: 0.45rem 0; display: flex; align-items: center; gap: 0.6rem; color: var(--color-text-muted); }

/* =========================================
   BLOG / FAQ
   ========================================= */
.blog-grid, .cases-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.65rem;
}

.faq-list details {
  border-bottom: 1px solid var(--color-border); padding: 1.15rem 0;
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { padding-top: 0.85rem; color: var(--color-text-muted); }

.faq-container, .contact-container { max-width: 48rem; margin-inline: auto; }

/* Responsive hero + sections */
@media (max-width: 1100px) {
  .pricing-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
  .price__head { height: 7.2rem; }
}
@media (max-width: 860px) {
  .hero__title { font-size: clamp(2.75rem, 9.6vw, 4.9rem); }
  .audit.glass { grid-template-columns: 1fr; }
  .pricing-grid:not(.pricing-grid--four) { grid-template-columns: 1fr; }
  .pricing-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 640px) {
  .pricing-grid,
  .pricing-grid--four { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .card--price { padding: 1.45rem 1.3rem 1.35rem; }
  .price__head,
  .price__deal,
  .card--price.is-featured .price__deal { height: auto; min-height: 0; }
  .price__tagline { -webkit-line-clamp: unset; display: block; }
  .price__hint--empty { display: none; }
  .price__features li.is-plus { min-height: 0; }
  .price__features li.is-plus--spacer { display: none; }
  .card--price .price__cta,
  .card--price > .btn { min-height: 3.1rem; }
}

/* =========================================
   ELITE VALUE SIMULATOR — high-converting interactive ROI tool
   ========================================= */
.simulator {
  padding: 2rem 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(0,0,0,0.1));
}
.sim-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.6rem 2.2rem;
  margin-bottom: 1.8rem;
}
.sim-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
}
.sim-input-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sim-input-row input[type="range"] {
  flex: 1;
  accent-color: var(--color-accent);
}
.sim-input-row output {
  min-width: 4.2rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
}
.sim-results {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.sim-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.sim-metric {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}
.sim-metric__label {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}
.sim-metric__value {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.0;
  font-family: var(--font-display-sans);
}
.sim-metric__unit { font-size: 0.75rem; opacity: 0.7; margin-left: 0.25rem; }
.sim-reco {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: space-between;
}
.sim-reco__label { font-size: 0.72rem; letter-spacing: .08em; opacity: .8; }
.sim-reco__plan { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
@media (max-width: 860px) {
  .sim-results { grid-template-columns: 1fr; }
  .sim-metrics { grid-template-columns: 1fr 1fr; }
}

/* Fallback grids now that TW CDN removed */
.services-grid, .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.65rem; }
/* ============================================
   SEUWEB v5d — Rediseño del hero SOLO MÓVIL (<768px)
   Cargado el ÚLTIMO (después de motion.css) para ganar el cascade
   sin tocar ninguna regla desktop. Todo vive bajo el media query
   salvo la base de .nav__cta-compact (oculto también en desktop).
   Estados JS: html.loaded (preloader terminado, hero-cinematic.js),
   #hero.hero-anim-pre / html.hero-cta-header / html.hero-passed
   (js/hero-mobile.js).
   ============================================ */

/* CTA compacto del header: solo existe en móvil, tras 80% del hero */
.nav__cta-compact { display: none; }

@media (max-width: 767px) {

  /* ---------- HEADER: solo logo + hamburguesa ---------- */
  .nav__location,
  #nav-cta-desktop { display: none; }

  /* área táctil ≥44px (22px icono + 2×10 padding + 2×1 borde) */
  .nav__toggle { padding: 10px; }

  .nav__cta-compact {
    display: inline-flex;
    min-height: 44px;
    padding: 0.5rem 1.05rem;
    font-size: 0.86rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 300ms var(--ease-out-expo), transform 360ms var(--ease-out-expo);
  }
  html.hero-cta-header .nav__cta-compact {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* ---------- HERO: viewport y safe areas (Safari iOS) ---------- */
  #hero.hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  /* ---------- FONDO: scrim vertical más fuerte + glow cian ---------- */
  #hero .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 8, 0.34) 0%,
      rgba(5, 5, 8, 0.58) 30%,
      rgba(5, 5, 8, 0.87) 64%,
      rgba(5, 5, 8, 0.97) 100%
    );
  }
  .hero__content { position: relative; }
  .hero__content::before {
    content: "";
    position: absolute;
    left: -14%;
    top: 4%;
    width: 128%;
    height: 46%;
    background: radial-gradient(ellipse at 42% 45%, rgba(0, 240, 255, 0.13), transparent 68%);
    filter: blur(34px);
    pointer-events: none;
    z-index: -1;
  }

  /* ---------- PILL DE UBICACIÓN: una sola línea ---------- */
  #hero .hero__badge {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
    padding: 0.32rem 0.75rem 0.32rem 0.65rem;
    white-space: nowrap;
    margin-bottom: 1.2rem;
  }

  /* ---------- HEADLINE: ~90% del ancho, LCP visible en CSS base ---------- */
  #hero .hero__title {
    font-size: clamp(2.75rem, 14.3vw, 4.3rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin-bottom: 1rem;
  }

  /* ---------- SUBCOPY: contraste AA sobre la imagen ---------- */
  #hero .hero__lead { font-size: 1.16rem; margin-bottom: 0.5rem; }
  #hero .hero__sublead {
    color: #d6d6dd;
    text-shadow: 0 1px 14px rgba(5, 5, 8, 0.55);
    margin-bottom: 1.3rem;
  }

  /* ---------- LOCKUP DE PRECIO: pieza de diseño, cero huérfanas ---------- */
  #hero .hero__price { margin: 0 0 1.45rem; }
  .price-overline {
    display: block;
    font-family: var(--font-display-sans);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
  }
  #hero .price-num { font-size: 3.1rem; line-height: 1; letter-spacing: -0.02em; }
  .price-cur {
    font-family: var(--font-display-sans);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-accent);
  }
  .price-dash { display: none; }
  #hero .price-note {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #c9c9d2;
  }

  /* ---------- CTAs: un viewport, una decisión ---------- */
  #hero .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
  }
  #hero .hero__ctas .btn--primary {
    width: 100%;
    min-height: 54px;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    font-size: 1.04rem;
  }
  /* Secondary path: text link (no competing button box) */
  #hero .hero__ctas .hero__secondary-link,
  #hero .hero__ctas .btn--ghost {
    background: none;
    border-color: transparent;
    min-height: 44px;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #d6d6dd;
    gap: 0.45rem;
    justify-content: center;
  }
  #hero .hero__ctas .btn--ghost::after {
    content: "↓";
    color: var(--color-accent);
    font-weight: 700;
  }
  #hero .hero__ctas .hero__secondary-link:hover,
  #hero .hero__ctas .hero__secondary-link:active,
  #hero .hero__ctas .btn--ghost:hover,
  #hero .hero__ctas .btn--ghost:active {
    background: none;
    border-color: transparent;
    color: var(--color-text);
  }

  /* proof bar algo más compacta bajo el CTA */
  #hero .hero__proof { gap: 0.7rem 1.35rem; font-size: 0.78rem; }

  /* el indicador de scroll compite con el CTA en pantallas bajas */
  #hero .hero__scroll-indicator { display: none; }

  /* ---------- STICKY BAR ("Ver planes") Y FAB: fuera del hero ---------- */
  /* ocultos hasta superar el hero (html.hero-passed, IntersectionObserver);
     solo transform/opacity → cero CLS */
  .sticky-cta {
    transform: translateY(102%);
    opacity: 0;
    pointer-events: none;
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    transition: transform 440ms var(--ease-out-expo), opacity 300ms ease-out;
  }
  html.hero-passed .sticky-cta {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .fab {
    opacity: 0;
    transform: scale(0.55);
    pointer-events: none;
    transition: opacity 300ms var(--ease-out-expo), transform 420ms var(--ease-spring);
  }
  html.hero-passed .fab {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* Entrada suave SIN ocultar LCP: el H1 nunca nace en opacity:0 */
  #hero.hero-anim-pre :is(.hero__badge, .hero__lead, .hero__sublead, .hero__price, .hero__ctas) {
    opacity: 0.92;
    transform: translateY(6px);
  }
  #hero.hero-anim-pre .title-line {
    opacity: 1;
    transform: none;
  }
  html.loaded #hero.hero-anim-pre :is(.hero__badge, .hero__lead, .hero__sublead, .hero__price, .hero__ctas) {
    opacity: 1;
    transform: none;
    transition: opacity 280ms var(--ease-out-expo), transform 320ms var(--ease-out-expo);
  }
}

/* Reduced motion: todo visible y sin transiciones (además el JS no
   añade .hero-anim-pre con esta preferencia; esto es el cinturón) */
@media (prefers-reduced-motion: reduce) {
  #hero.hero-anim-pre :is(.hero__badge, .title-line, .hero__lead, .hero__sublead, .hero__price, .hero__ctas) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .nav__cta-compact, .sticky-cta, .fab { transition: none !important; }
}
/* SEUWEB v5d — Premium Motion & Reveals */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-reveal, 700ms) var(--ease-out-expo),
    transform var(--dur-reveal, 700ms) var(--ease-out-expo);
  will-change: transform, opacity;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 90ms; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 180ms; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 280ms; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 380ms; }

/* Card hover lift + premium */
.card[data-tilt] {
  transition: transform 420ms var(--ease-premium), box-shadow 420ms var(--ease-premium);
}

/* Magnetic buttons already handled in JS but add polish */
.btn {
  transition: transform 280ms var(--ease-out-expo), box-shadow 280ms, background 280ms;
}

/* Form focus states */
.form__input:focus, .form__select:focus, .form__textarea:focus {
  box-shadow: 0 0 0 4px var(--color-glow, rgba(94, 215, 232, 0.1));
}

/* Comparison handle polish */
.comparison__handle {
  transition: left 80ms linear;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .card, .btn, .hero__photo, .godray {
    transition: none !important;
    animation: none !important;
  }
  .hero__photo { transform: none !important; }
}

/* Hero content always full opacity for LCP (no dim while preloader runs) */
html:not(.loaded) .hero__content > * {
  opacity: 1;
}

/* Subtle scroll progress bar accent */
.scroll-progress {
  box-shadow: 0 0 10px var(--color-accent);
}

/* Toast polish */
.toast {
  box-shadow: 0 16px 60px -12px rgba(0,0,0,0.6);
}

/* Extended premium for task 4: glassmorphism + 3D hover depth + loading states */
.glass {
  background: var(--color-surface-glass, rgba(12,12,18,0.72));
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-strong);
}

[data-tilt]:hover {
  box-shadow: 0 30px 90px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--color-accent);
}

.hero__layers > * {
  transition: transform 1.1s var(--ease-premium);
}

/* —— Cursor de firma: retículo editorial + rombo glacial (js/cursor.js) —— */
body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}
@media (pointer: coarse) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }
}

/* Legado: si quedara basura en el DOM, no se ve */
.custom-cursor,
.custom-cursor-trail {
  display: none !important;
}

.sw-cursor,
.sw-cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100000;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms var(--ease-premium, ease);
  will-change: transform, opacity;
}
.sw-cursor.is-on,
.sw-cursor-aura.is-on {
  opacity: 1;
}
.sw-cursor-aura {
  z-index: 99999;
}

/* Cruz editorial (core al instante) */
.sw-cursor__arm {
  position: absolute;
  background: rgba(242, 240, 235, 0.92);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition:
    width 220ms var(--ease-premium, ease),
    height 220ms var(--ease-premium, ease),
    background 220ms ease,
    box-shadow 220ms ease;
}
.sw-cursor__arm--h {
  width: 14px;
  height: 1px;
  left: 0;
  top: 0;
}
.sw-cursor__arm--v {
  width: 1px;
  height: 14px;
  left: 0;
  top: 0;
}
.sw-cursor__nucleus {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: var(--color-accent, #5ed7e8);
  box-shadow: 0 0 10px 1px rgba(94, 215, 232, 0.55);
  transition: transform 180ms var(--ease-premium, ease), box-shadow 220ms ease;
}

/* Rombo glacial (aura con lag) */
.sw-cursor-aura__diamond {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(242, 240, 235, 0.45);
  background: transparent;
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 1px;
  box-shadow:
    0 0 0 0 rgba(94, 215, 232, 0),
    inset 0 0 12px rgba(109, 143, 173, 0.08);
  transition:
    width 260ms var(--ease-premium, ease),
    height 260ms var(--ease-premium, ease),
    border-color 220ms ease,
    box-shadow 260ms ease,
    background 220ms ease;
}

/* Click */
.sw-cursor.is-active .sw-cursor__arm--h { width: 8px; }
.sw-cursor.is-active .sw-cursor__arm--v { height: 8px; }
.sw-cursor.is-active .sw-cursor__nucleus {
  transform: scale(0.7);
  box-shadow: 0 0 6px 0 rgba(94, 215, 232, 0.4);
}
.sw-cursor-aura.is-active .sw-cursor-aura__diamond {
  width: 14px;
  height: 14px;
  border-color: rgba(94, 215, 232, 0.7);
}

/* Hover sobre interactivos — cian de firma, cruz más abierta, rombo vivo */
.sw-cursor.is-magnetic .sw-cursor__arm {
  background: var(--color-accent, #5ed7e8);
  box-shadow: 0 0 8px rgba(94, 215, 232, 0.35);
}
.sw-cursor.is-magnetic .sw-cursor__arm--h { width: 22px; }
.sw-cursor.is-magnetic .sw-cursor__arm--v { height: 22px; }
.sw-cursor.is-magnetic .sw-cursor__nucleus {
  transform: scale(1.35);
  box-shadow: 0 0 14px 2px rgba(94, 215, 232, 0.75);
}
.sw-cursor-aura.is-magnetic .sw-cursor-aura__diamond {
  width: 36px;
  height: 36px;
  border-color: rgba(94, 215, 232, 0.85);
  background: rgba(94, 215, 232, 0.04);
  box-shadow:
    0 0 24px -4px rgba(94, 215, 232, 0.45),
    inset 0 0 16px rgba(94, 215, 232, 0.08);
}

/* Énfasis data-pinned */
.sw-cursor.is-pinned .sw-cursor__nucleus {
  box-shadow:
    0 0 0 3px rgba(94, 215, 232, 0.35),
    0 0 16px 2px rgba(94, 215, 232, 0.7);
}
/* Legal / interior pages — compact reading layout on house tokens */

.legal-page {
  padding: calc(var(--nav-height, 4.5rem) + 3rem) 0 4rem;
  min-height: 70vh;
}

.legal-page__header {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.legal-page__kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.legal-page h1 {
  font-family: var(--font-display-sans, var(--font-body));
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-page__meta {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.legal-prose {
  max-width: 44rem;
  color: var(--color-text);
}

.legal-prose h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-prose p,
.legal-prose li {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.legal-nav-back:hover {
  color: var(--color-accent);
}

/* Honeypot: hidden from humans, present for bots */
.form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form__status {
  min-height: 1.35rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.form__status.is-error {
  color: #ff8a8a;
}

.form__status.is-ok {
  color: var(--color-accent);
}

/* Toast: support both class names used in runtime */
.toast.is-visible,
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-height, 4.5rem) + 3rem) 1.5rem 4rem;
}

.error-page__code {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.error-page h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 0.85rem;
}

.error-page__lead {
  color: var(--color-text-muted);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
