/* ============================================================================
   INNOVA RESIDENCE — styles.css
   Editorial Dark · midnight azul + azul de marca (#2985E2) + latón
   ============================================================================ */

/* ============================================================
   1. TOKENS
   ============================================================ */
@property --mesh-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --angle  { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg:        #0A0F17;
  --bg-2:      #0C121C;
  --bg-3:      #121B29;   /* card */
  --bg-4:      #182334;
  --tile:      #F4EFE6;   /* cream tile for product photos */
  --tile-2:    #ECE4D6;

  --cream:     #EAF1F8;   /* main text on dark */
  --cream-2:   #B7C5D6;
  --cream-3:   #7C8CA3;   /* metadata */

  --accent:    #2985E2;   /* BRAND BLUE */
  --accent-2:  #57A6F5;
  --accent-deep:#1567BE;
  --gold:      #C9924F;
  --gold-2:    #E3B37B;

  --line:      rgba(234,241,248,.10);
  --line-2:    rgba(234,241,248,.20);

  --pad:       clamp(20px, 5vw, 80px);
  --maxw:      1240px;
  --radius:    18px;

  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  position: relative;
  min-height: 100vh;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.015em; font-weight: 500; }
::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: fixed; top: -120px; left: 1rem; z-index: 10001;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  border-radius: 8px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   3. AURORA GLOBAL + GRAIN
   ============================================================ */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--bg); transform: translateZ(0); }
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .8;
  will-change: transform;
}
.aurora-1 { width: 58vw; height: 58vw; left: -12vw; top: -14vw;
  background: radial-gradient(circle at 50% 50%, rgba(41,133,226,.5), transparent 62%);
  animation: auroraA 34s ease-in-out infinite; }
.aurora-2 { width: 50vw; height: 50vw; right: -14vw; top: 24vh;
  background: radial-gradient(circle at 50% 50%, rgba(21,103,190,.42), transparent 62%);
  animation: auroraB 44s ease-in-out infinite; }
.aurora-3 { width: 44vw; height: 44vw; left: 30vw; bottom: -16vw;
  background: radial-gradient(circle at 50% 50%, rgba(201,146,79,.22), transparent 64%);
  animation: auroraC 52s ease-in-out infinite; }
@keyframes auroraA { 0%,100%{ transform: translate3d(0,0,0) scale(1);} 50%{ transform: translate3d(6vw,4vh,0) scale(1.12);} }
@keyframes auroraB { 0%,100%{ transform: translate3d(0,0,0) scale(1.05);} 50%{ transform: translate3d(-5vw,-3vh,0) scale(.92);} }
@keyframes auroraC { 0%,100%{ transform: translate3d(0,0,0) scale(1);} 50%{ transform: translate3d(-4vw,-5vh,0) scale(1.15);} }

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

/* ============================================================
   4. SPLASH
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), clip-path 1.1s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;   /* red de seguridad CSS */
}
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.splash-logo { width: 74px; height: auto; opacity: .96; animation: splashPulse 2.2s var(--ease-soft) infinite; }
.splash-word { font-family: var(--mono); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--cream-3); }
.splash-bar { width: 120px; height: 2px; background: var(--line-2); overflow: hidden; border-radius: 2px; }
.splash-bar i { display: block; height: 100%; width: 40%; background: var(--accent); animation: splashBar 1.3s var(--ease-soft) infinite; }
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
@keyframes splashPulse { 0%,100%{ transform: scale(1); opacity:.96;} 50%{ transform: scale(1.06); opacity:1;} }
@keyframes splashBar { 0%{ transform: translateX(-120%);} 100%{ transform: translateX(320%);} }

/* ============================================================
   5. CURSOR PERSONALIZADO
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; display: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--accent-2); border-radius: 50%; }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px; border: 1.4px solid rgba(234,241,248,.55); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out),
              background-color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 54px; height: 54px; margin: -27px; border-color: var(--accent-2); background: rgba(41,133,226,.10); }
.cursor.is-label .cursor-ring { width: 74px; height: 74px; margin: -37px; background: var(--accent); border-color: transparent; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor-label {
  position: fixed; top: 0; left: 0; margin: -37px; width: 74px; height: 74px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: lowercase; color: #fff;
  pointer-events: none; will-change: transform; opacity: 0; transition: opacity .3s var(--ease-out);
}
.cursor.is-label .cursor-label { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }

/* ============================================================
   6. MARCA LATERAL FIJA
   ============================================================ */
.rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; align-items: center; gap: 12px;
  writing-mode: vertical-rl;
  padding: 14px 10px; pointer-events: none;
}
.rail-dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 0 rgba(53,208,127,.6); animation: railPulse 2.4s var(--ease-soft) infinite; }
.rail-text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-3); }
@keyframes railPulse { 0%{ box-shadow:0 0 0 0 rgba(53,208,127,.55);} 70%{ box-shadow:0 0 0 9px rgba(53,208,127,0);} 100%{ box-shadow:0 0 0 0 rgba(53,208,127,0);} }
@media (max-width: 1100px) { .rail { display: none; } }

/* ============================================================
   7. NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad);
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,15,23,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 11px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 11px; }
.nav-logo { width: 34px; height: auto; }
.nav-brand-txt { font-family: var(--mono); font-size: 10.5px; line-height: 1.15; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; font-size: 14px; font-weight: 500; color: var(--cream-2); padding: 4px 0; transition: color .3s var(--ease-out); }
.nav-num { font-family: var(--mono); font-size: 10px; color: var(--accent-2); margin-right: 3px; letter-spacing: .05em; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 20px; font-size: 13.5px; }
@media (max-width: 900px) { .nav-links, .nav-cta { display: none; } }

/* Burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 95; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { bottom: 17px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px) { .burger { display: block; } }

/* Menú móvil */
.nav-mobile {
  position: fixed; inset: 0; z-index: 92; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 12vh var(--pad) 8vh;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-soft);
  pointer-events: none;
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); pointer-events: auto; }
.nav-mobile-link { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 500; color: var(--cream); padding: 8px 0; display: flex; align-items: baseline; gap: 14px; }
.nav-mobile-link span { font-family: var(--mono); font-size: 13px; color: var(--accent-2); }
.nav-mobile-cta { margin-top: 22px; align-self: flex-start; }
.nav-mobile-foot { margin-top: 26px; display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }
.nav-mobile-foot a:hover { color: var(--accent-2); }

/* ============================================================
   8. BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  letter-spacing: .01em; position: relative; isolation: isolate;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(41,133,226,.6); }
.btn-primary:hover { transform: translateY(-3px); background: var(--accent-2); box-shadow: 0 22px 48px -14px rgba(41,133,226,.75); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost { color: var(--cream); border: 1px solid var(--line-2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent-2); background: rgba(41,133,226,.08); }

/* ============================================================
   9. HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 118px var(--pad) 80px; overflow: clip; }
.hero-mesh {
  position: absolute; inset: -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 42% at var(--mesh-x) var(--mesh-y), rgba(41,133,226,.42), transparent 62%),
    conic-gradient(from var(--mesh-a) at 62% 38%, rgba(41,133,226,.20), rgba(21,103,190,.10), rgba(201,146,79,.14), rgba(41,133,226,.20));
  filter: blur(58px) saturate(120%);
  opacity: .8;
  animation: heroMesh 26s linear infinite;
}
@keyframes heroMesh {
  0%   { --mesh-a: 0deg;   --mesh-x: 60%; --mesh-y: 34%; }
  50%  { --mesh-a: 180deg; --mesh-x: 44%; --mesh-y: 52%; }
  100% { --mesh-a: 360deg; --mesh-x: 60%; --mesh-y: 34%; }
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 78%);
  opacity: .6;
}
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero-col { max-width: 640px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 26px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px 2px rgba(87,166,245,.7); }

.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.9rem, 8.2vw, 6.6rem); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--accent-2); }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--cream-2); max-width: 34ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-stats { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats dt { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--cream); line-height: 1; }
.hero-stats dd { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }

/* Clúster de dispositivos flotantes (recortados, sin fondo) */
.hero-cluster { position: relative; height: 100%; min-height: 460px; }
.hero-cluster::before {
  content: ""; position: absolute; inset: 8% 6%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 46% at 60% 42%, rgba(41,133,226,.28), transparent 70%);
  filter: blur(30px);
}
.hero-cluster .chip { position: absolute; z-index: 1; will-change: transform; }
.hero-cluster .chip img {
  width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.55)) drop-shadow(0 6px 12px rgba(0,0,0,.4));
}
.chip-a { width: 42%; top: 2%;    right: 0;    animation: floatY 9s ease-in-out infinite;    z-index: 4; }
.chip-b { width: 13%; top: 9%;    left: 3%;    animation: floatY 11s ease-in-out infinite .4s; z-index: 3; }
.chip-c { width: 19%; bottom: 5%; right: 3%;   animation: floatY 10s ease-in-out infinite .8s; z-index: 5; }
.chip-d { width: 23%; bottom: 7%; left: 24%;   animation: floatY 12s ease-in-out infinite .2s; z-index: 2; }
@keyframes floatY { 0%,100%{ transform: translateY(0) rotate(-1deg);} 50%{ transform: translateY(-16px) rotate(1deg);} }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3); }
.hero-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--accent-2), transparent); animation: scrollLine 2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0%{ transform: scaleY(.3); transform-origin: top; opacity:.4;} 50%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(.3); transform-origin: bottom; opacity:.4;} }

/* ============================================================
   10. MARQUEE
   ============================================================ */
.marquee { overflow: hidden; position: relative; border-block: 1px solid var(--line); padding: 20px 0; background: rgba(255,255,255,.012); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.55rem); color: var(--cream-2); }
.marquee-track i { color: var(--accent); font-style: normal; }

/* ============================================================
   11. SECCIONES GENÉRICAS
   ============================================================ */
.section { position: relative; max-width: var(--maxw); margin-inline: auto; padding: clamp(70px, 11vw, 140px) var(--pad); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.kicker-num { color: var(--accent-2); }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.018em; }
.section-title em { font-style: italic; color: var(--accent-2); }
.section-lead { margin-top: 24px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--cream-2); max-width: 60ch; }
.section-lead strong { color: var(--cream); font-weight: 600; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* Defensiva: un elemento con reveal + split NUNCA debe quedar invisible */
[data-reveal][data-split] { opacity: 1 !important; transform: none !important; }
.split-word { display: inline-block; will-change: transform, opacity; }

/* ============================================================
   12. CONCEPTO — pilares
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }
.pillar { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), background-color .4s; }
.pillar:hover { border-color: var(--line-2); transform: translateY(-5px); background: rgba(41,133,226,.05); }
.pillar-n { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: .1em; }
.pillar h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: 14px 0 12px; }
.pillar p { color: var(--cream-2); font-size: .98rem; }

/* ============================================================
   13. SISTEMAS — showcase
   ============================================================ */
.showcase { max-width: none; padding-inline: 0; }
.showcase .section-head { max-width: 760px; margin-inline: auto; padding-inline: var(--pad); }
.showcase-track {
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 10px var(--pad) 28px;
  scrollbar-width: none;
  cursor: grab;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-track.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.has-cursor .showcase-track { cursor: none; }

.sys-card {
  flex: 0 0 auto; width: clamp(230px, 74vw, 288px);
  scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-3); overflow: hidden;
  transition: border-color .4s var(--ease-out), box-shadow .5s var(--ease-out), transform .5s var(--ease-soft);
}
.sys-tile { aspect-ratio: 1; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.sys-tile img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .6s var(--ease-soft); }
.sys-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(41,133,226,.5), 0 0 0 1px rgba(41,133,226,.3); }
.sys-card:hover .sys-tile img { transform: scale(1.06); }
.sys-body { padding: 20px 20px 24px; }
.sys-cat { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.sys-body h3 { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; line-height: 1.1; margin-bottom: 8px; }
.sys-body p { font-size: .9rem; color: var(--cream-2); margin-bottom: 14px; min-height: 2.4em; }
.sys-brands { font-family: var(--mono); font-size: 10.5px; color: var(--cream-3); letter-spacing: .03em; }

.showcase-foot { display: flex; align-items: center; gap: 20px; max-width: var(--maxw); margin: 8px auto 0; padding: 0 var(--pad); }
.showcase-progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.showcase-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); transform-origin: 0 50%; transform: scaleX(0.04); transition: transform .12s linear; }
.showcase-hint { flex: 0 0 auto; text-align: right; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); transition: opacity .4s; }

/* ============================================================
   14. ESCENAS
   ============================================================ */
.scene-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.scene {
  position: relative; padding: 34px 32px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(41,133,226,.05), rgba(255,255,255,.01));
  overflow: hidden; isolation: isolate;
  transition: border-color .4s var(--ease-out), transform .5s var(--ease-soft);
}
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(41,133,226,.14), transparent 60%); opacity: 0; transition: opacity .5s var(--ease-out); }
.scene:hover { border-color: var(--accent); transform: translateY(-4px); }
.scene:hover::before { opacity: 1; }
.scene-idx { font-family: var(--mono); font-size: 11px; color: var(--accent-2); letter-spacing: .1em; }
.scene-cue { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; color: var(--cream); margin: 14px 0 14px; line-height: 1.05; }
.scene-res { color: var(--cream-2); font-size: 1rem; max-width: 42ch; }

/* ============================================================
   15. CONFIANZA
   ============================================================ */
.trust { }
.trust-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.trust-points { list-style: none; margin: 30px 0 34px; display: grid; gap: 14px; }
.trust-points li { position: relative; padding-left: 30px; color: var(--cream-2); font-size: 1.02rem; }
.trust-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--accent); }
.trust-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); transition: border-color .4s, transform .4s; }
.stat:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat-v { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; color: var(--cream); line-height: 1; }
.stat-v em { font-style: normal; color: var(--accent-2); font-size: .6em; }
.stat-l { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }

/* ============================================================
   16. CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 72px); align-items: start; }
.contact-direct { list-style: none; margin-top: 34px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.contact-direct li { display: flex; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cd-k { flex: 0 0 92px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.contact-direct a { color: var(--cream); font-weight: 500; transition: color .3s; }
.contact-direct a:hover { color: var(--accent-2); }

.contact-form-wrap { position: relative; padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--bg-3); }
.cta-form { transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 8px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255,255,255,.02); color: var(--cream); transition: border-color .3s var(--ease-out), background-color .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { padding: 15px 42px 15px 16px; appearance: none; -webkit-appearance: none; color: var(--cream); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237C8CA3' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.field select:invalid { color: var(--cream-3); }
.field select option { color: #16232B; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(41,133,226,.05); }
.field label {
  position: absolute; left: 16px; top: 15px; pointer-events: none; color: var(--cream-3); font-size: .95rem;
  transition: all .25s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
}
.cta-submit { width: 100%; margin-top: 8px; position: relative; }
.cta-note { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--cream-3); }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after { content: ""; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.cta-success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out) .2s; }
.cta-success.is-visible { opacity: 1; pointer-events: auto; }
.cta-success svg { width: 52px; height: 52px; }
.cta-success svg path { stroke: var(--accent-2); stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cta-success.is-visible svg path { animation: draw .7s var(--ease-out) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cta-success h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.cta-success p { color: var(--cream-2); font-size: .95rem; max-width: 30ch; }

.contact-map { margin-top: clamp(40px, 6vw, 64px); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.3) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 80px) var(--pad) 30px; max-width: var(--maxw); margin-inline: auto; }
.footer-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; }
.footer-brand span { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--cream-2); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 40px 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--cream-2); font-size: .95rem; transition: color .3s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--cream-3); }
.footer-up:hover { color: var(--accent-2); }

/* ============================================================
   18. WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #062b16;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 44px -8px rgba(37,211,102,.75); }
@media (max-width: 1100px) { .wa-float { right: 16px; bottom: 16px; } }

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cluster { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .scene-list { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(2.7rem, 13vw, 4rem); }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { flex-direction: column; }
  /* Contacto directo: etiqueta encima del valor, sin desbordar */
  .contact-direct li { flex-direction: column; align-items: flex-start; gap: 3px; }
  .cd-k { flex: 0 0 auto; }
  .contact-direct a, .contact-direct li > span:last-child { word-break: break-word; overflow-wrap: anywhere; }
  .footer-col a { word-break: break-word; overflow-wrap: anywhere; }
}

/* ============================================================
   20. REDUCED-MOTION — solo efectos INTRUSIVOS
   (NO desactivar hovers, reveals, tilt, mesh, count-up, marquee)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash-logo { animation: none; }
  .hero-scroll i { animation: none; }
  .rail-dot { animation: none; }
  .hero-cluster .chip { animation: none; }
  .aurora-blob { animation-duration: 90s; }
}
