/* =========================================================
   Vidriera Web — estilos
   Arquetipo: Mouse-Reactive Gradient (adaptado a la marca)
   ========================================================= */

:root {
  --navy:    #0D2654;
  --navy-2:  #0A1E44;
  --navy-3:  #132F66;
  --coral:   #FF6B5B;
  --coral-2: #FF8576;
  --yellow:  #FFD23F;
  --paper:   #F7F4EE;
  --ink:     #0D2654;
  --white:   #FFFFFF;
  --mute:    #A9B6D3;
  --line:    rgba(255,255,255,.12);
  --wa:      #25D366;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy-2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); line-height: 1; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--yellow); color: var(--navy); }

.skip {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--navy); padding: .6rem 1rem; border-radius: 10px; font-weight: 800;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 100;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  padding: .9rem 1.4rem; font-size: 1rem; line-height: 1.1;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease), border-color .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn-lg { padding: 1.15rem 1.7rem; font-size: 1.08rem; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-coral { background: var(--coral); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.btn-coral:hover { background: var(--coral-2); box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.btn-wa { background: var(--coral); color: var(--navy); }
.btn-wa:hover { background: var(--yellow); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.link-under {
  font-weight: 700; text-decoration: none; position: relative; padding-bottom: 3px;
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-under:hover { background-size: 0% 2px; background-position: right bottom; }


.h2 {
  font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 800;
  font-variation-settings: "wdth" 112; letter-spacing: -.02em; line-height: .98;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 58ch; margin-top: 1.3rem; color: var(--mute); }
.lead strong { color: inherit; font-weight: 800; }

section { position: relative; padding: clamp(5rem, 11vw, 9rem) var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--gutter);
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav.is-scrolled {
  background: var(--navy-2);
  box-shadow: 0 1px 0 var(--line);
  padding-top: .6rem; padding-bottom: .6rem;
}
.nav-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.nav-logo svg { width: 38px; height: 38px; transition: transform .5s var(--ease); }
.nav-logo:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--mute); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-toggle {
  display: none; align-items: center; gap: .55rem; margin-left: auto;
  background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .55rem .95rem; min-height: 44px; font: 700 .92rem/1 var(--f-body); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 16px; height: 10px; }
.nav-toggle-bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle-bars i:first-child { top: 0; }
.nav-toggle-bars i:last-child { top: 8px; }
.nav.is-open .nav-toggle-bars i:first-child { top: 4px; transform: rotate(45deg); }
.nav.is-open .nav-toggle-bars i:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 7.5rem; padding-bottom: 5rem;
  overflow: hidden; isolation: isolate;
  background: var(--navy);
}
.hero-gradient {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 40%), rgba(255,107,91,.85) 0, rgba(255,107,91,0) 28%),
    radial-gradient(circle at calc(100% - var(--mx, 70%)) calc(var(--my, 40%) + 25%), rgba(255,210,63,.55) 0, rgba(255,210,63,0) 24%),
    radial-gradient(circle at 15% 90%, rgba(70,110,220,.55) 0, rgba(70,110,220,0) 35%),
    var(--navy);
  filter: blur(50px) saturate(130%);
  transition: background-position .2s;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.7fr .8fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.promo-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,210,63,.14); border: 1px solid rgba(255,210,63,.5); color: var(--yellow);
  padding: .45rem .95rem; border-radius: 999px; font-weight: 800; font-size: .9rem;
  margin-bottom: 1.6rem;
  animation: rise .9s var(--ease) both;
}
.promo-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

.hero-title {
  font-size: clamp(2.9rem, 5.6vw, 6rem);
  font-weight: 900; font-variation-settings: "wdth" 108;
  letter-spacing: -.035em; line-height: .9;
  animation: rise 1.1s .1s var(--ease) both;
}
.hero-title .hl { color: var(--coral); position: relative; display: inline-block; white-space: nowrap; }
.hero-title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .12em;
  background: var(--yellow); border-radius: 99px; transform-origin: left;
  animation: draw 1s 1s var(--ease) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 50ch; color: #D6DEF0; margin-top: 1.8rem; animation: rise 1.1s .25s var(--ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; margin-top: 2.2rem; animation: rise 1.1s .4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Teléfono con chat */
.phone {
  background: #0B1A38; border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px; padding: 1rem; max-width: 380px; justify-self: end; width: 100%;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 6px rgba(255,255,255,.03);
  animation: float-in 1.2s .5s var(--ease) both;
  transform: rotate(2deg);
}
@keyframes float-in { from { opacity: 0; transform: translateY(40px) rotate(6deg); } to { opacity: 1; transform: rotate(2deg); } }
.phone-top { display: flex; align-items: center; gap: .75rem; padding: .4rem .5rem 1rem; border-bottom: 1px solid var(--line); }
.phone-top strong { display: block; font-size: .98rem; line-height: 1.2; }
.phone-top small { color: var(--wa); font-weight: 700; font-size: .8rem; }
.phone-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .9rem; }
.phone-chat {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem .3rem .6rem; min-height: 290px;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 14px 14px;
}
.msg {
  max-width: 82%; padding: .7rem .95rem; border-radius: 16px; font-size: .95rem; line-height: 1.4;
  animation: pop .5s var(--d, 0s) var(--ease) both;
}
.msg.in  { align-self: flex-start; background: #1E3566; border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--coral); color: var(--navy); font-weight: 600; border-bottom-right-radius: 4px; }
.msg.typing { align-self: flex-start; background: #1E3566; display: flex; gap: 4px; padding: .8rem .9rem; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s; }
.msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.phone-note { text-align: center; font-size: .8rem; color: var(--mute); padding-top: .6rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; overflow: clip; padding: 1.4rem 0; margin: -2.6rem 0 -1.4rem; position: relative; z-index: 2; }
.marquee { background: var(--coral); color: var(--navy); overflow: hidden; padding: 1.05rem 0; transform: rotate(-1.2deg); margin: 0 -2%; width: 104%; }
.marquee-track { display: flex; width: max-content; gap: 1.6rem; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(1.2rem, 2.4vw, 1.9rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee b { color: var(--yellow); font-size: 1.1rem; -webkit-text-stroke: 1px var(--navy); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto ---------- */
.idea { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.manifesto {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 100;
  font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.14; letter-spacing: -.02em;
  max-width: 30ch;
}
.manifesto .w.key { background: linear-gradient(var(--yellow), var(--yellow)) left 92% / 0% .08em no-repeat; transition: color .6s var(--ease), background-size .8s var(--ease); }
.manifesto .w.key.on { color: var(--yellow); background-size: 100% .08em; }

/* ---------- Ejemplos ---------- */
.ejemplos { background: var(--navy); }
.gallery {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem);
}
.mock:nth-child(3n+2) { transform: translateY(2.5rem); }
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: .6rem .8rem;
  background: #E9ECF3; border-radius: 14px 14px 0 0;
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9CFDC; }
.mock-bar i:first-child { background: var(--coral); }
.mock-bar i:nth-child(2) { background: var(--yellow); }
.mock-bar span { margin-left: .6rem; flex: 1; background: var(--white); color: #56628A; font-size: .74rem; padding: .3rem .8rem; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-screen { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 0 0 14px 14px; background: #1E3566; }
.mock-screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mock-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(8,16,36,.82) 100%); }
.mock-site { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.mock-site small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: #fff; padding: .3rem .6rem; border-radius: 6px; }
.mock-site strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.05; letter-spacing: -.01em; }
.mock-wa { font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 1px; }
.mock-link:hover .mock-screen img { transform: scale(1.06); }
.swipe-hint { display: none; margin-top: 1rem; font-weight: 700; color: var(--coral); }
.mock-link { display: block; text-decoration: none; color: inherit; border-radius: 16px; }
.mock-link:focus-visible { outline-offset: 6px; }
.mock-cap { margin-top: .9rem; color: var(--mute); font-size: .95rem; }
.mock-cta { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; margin-top: .2rem; font-weight: 800; color: var(--coral); background: linear-gradient(var(--coral), var(--coral)) left 85% / 0% 2px no-repeat; transition: background-size .4s var(--ease); }
.mock-link:hover .mock-cta, .mock-link:focus-visible .mock-cta { background-size: 100% 2px; }
.mock-cap b { color: var(--white); margin-right: .35rem; }

/* ---------- Planes (sección clara) ---------- */
.planes { background: var(--paper); color: var(--ink); }
.planes .lead { color: #44507A; }
.promo-banner {
  max-width: var(--max); margin: 0 auto 2rem;
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--yellow); color: var(--navy); border-radius: var(--radius); padding: 1rem 1.4rem;
}
.promo-badge { flex: none; font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; background: var(--navy); color: var(--yellow); padding: .4rem .75rem; border-radius: 14px; transform: rotate(-4deg); }
.plans { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  border: 1px solid #E4E0D6;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.plan-featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.plan-featured .plan-when, .plan-featured .plan-old, .plan-featured .plan-extra { color: var(--mute); }
.plan-featured .plan-list li::before { background: var(--coral); }
.plan-tag { position: absolute; top: -14px; left: 1.8rem; background: var(--coral); color: var(--navy); font-weight: 800; font-size: .8rem; padding: .4rem .9rem; border-radius: 99px; letter-spacing: .02em; }
.plan-name { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.plan-name .opt { display: inline-block; vertical-align: .2em; margin-left: .5rem; font: 800 .72rem/1 var(--f-body); letter-spacing: .04em; color: var(--navy); background: var(--yellow); padding: .4rem .65rem; border-radius: 99px; }
.plan-old { margin-top: 1.2rem; color: #5A6688; text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; font-weight: 700; }
.plan-price { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 110; font-size: clamp(2.6rem, 4.4vw, 3.4rem); letter-spacing: -.03em; line-height: 1; }
.plan-price span { font-size: .5em; vertical-align: .55em; margin-right: .08em; }
.plan-when { color: #5A6688; font-weight: 700; font-size: .92rem; margin-top: .5rem; }
.plan-extra { color: #5A6688; font-size: .85rem; margin-top: .2rem; }
.plan-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 3px; background: var(--navy); transform: rotate(45deg); }
.plan .btn { width: 100%; }
.maint {
  max-width: var(--max); margin: 1.4rem auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  border: 2px dashed #C9C2B2; border-radius: var(--radius); padding: 1.4rem 1.8rem;
}
.maint-text { color: #44507A; margin-top: .3rem; max-width: 60ch; }
.maint-price { font-family: var(--f-display); font-weight: 900; font-size: 2rem; white-space: nowrap; letter-spacing: -.02em; }
.maint-price small { font-size: .5em; font-weight: 700; color: #56628A; }
.fine { max-width: var(--max); margin: 1.2rem auto 0; font-size: .85rem; color: #56628A; }

/* ---------- Cómo trabajamos ---------- */
.como { background: var(--navy-2); }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.5rem 1.8rem; border-top: 2px solid var(--line); transition: border-color .4s; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--coral); transition: width .8s var(--ease); }
.step.is-visible::before { width: 100%; }
.step-n { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--coral); display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .6rem; }
.step p { color: var(--mute); }

/* ---------- Quiénes somos ---------- */
.nosotros { background: var(--paper); color: var(--navy); }
.nosotros-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.nosotros .lead, .promesa p { color: #44507A; }
.ficha { margin: 2rem 0 0; display: grid; gap: 1rem; }
.ficha div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline; }
.ficha dt { font-family: var(--f-display); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #C23B2C; }
.ficha dd { margin: 0; color: #44507A; }
.ficha a { font-weight: 800; color: inherit; text-underline-offset: 3px; white-space: nowrap; }
.promesas { list-style: none; margin: 0; padding: 0; }
.promesa { padding: 1.5rem 0; border-top: 2px solid var(--coral); }
.promesa:last-child { border-bottom: 2px solid var(--coral); }
.promesa h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .45rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--navy); }
.faq-list { max-width: var(--max); margin: 0 auto; }
.qa { max-width: 900px; }
.section-head + .faq-list { margin-top: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 3.5rem 1.5rem 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.01em;
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.3); font-size: 1.45rem; font-weight: 700; line-height: 1;
  transition: transform .4s var(--ease), background .25s, color .25s;
}
.qa summary:hover { color: var(--coral); }
.qa[open] summary::after { transform: rotate(45deg); background: var(--coral); color: var(--navy); border-color: var(--coral); }
.qa-a { padding: 0 3.5rem 1.6rem 0; color: #CBD5EA; max-width: 68ch; }
.qa[open] .qa-a { animation: rise .5s var(--ease) both; }

/* ---------- Contacto ---------- */
.contacto { overflow: hidden; isolation: isolate; text-align: left; background: var(--navy-2); padding-bottom: clamp(5rem, 10vw, 8rem); }
.contacto > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.hero-gradient--soft { opacity: .6; max-width: none; }
.big-link {
  display: block; text-decoration: none;
  font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 120;
  font-size: clamp(3rem, 10vw, 8.5rem); line-height: .9; letter-spacing: -.04em;
  transition: color .3s;
}
.big-link .arrow { display: inline-block; color: var(--coral); margin-left: .1em; transition: transform .5s var(--ease); }
.big-link:hover { color: var(--yellow); }
.big-link:hover .arrow { transform: translate(.08em, -.08em) rotate(8deg); }
.contact-note { color: #D6DEF0; font-size: 1.15rem; margin-top: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.contact-list li { border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-list span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 800; margin-bottom: .3rem; }
.contact-list a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.08rem; text-decoration: none; word-break: break-word; background: linear-gradient(var(--coral), var(--coral)) left bottom / 0% 2px no-repeat; transition: background-size .4s var(--ease); }
.contact-list a:hover { background-size: 100% 2px; }

/* ---------- Footer ---------- */
.footer { background: #071633; color: var(--mute); padding: 2.2rem var(--gutter) 6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .92rem; }
.footer-brand strong { color: var(--white); }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 700; text-underline-offset: 4px; }
.credits { width: 100%; font-size: .8rem; }
.credits summary { cursor: pointer; width: max-content; }
.credits ul { padding-left: 1.1rem; margin: .6rem 0 0; display: grid; gap: .2rem; }
.credits a { color: var(--mute); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  /* Va arriba de la burbuja del chatbot (56px, a 20px del borde) */
  position: fixed; right: 20px; bottom: 90px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
  transition: opacity .3s, transform .4s var(--ease), visibility 0s;
  animation: rise .8s 1.5s var(--ease) backwards;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float.is-hidden { animation: none; opacity: 0; transform: scale(.6); visibility: hidden; pointer-events: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }


/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensa: nunca invisibles */
.mock.reveal.is-visible:nth-child(3n+2) { transform: translateY(2.5rem); }
.gallery .mock:nth-child(3n+2) { transition-delay: .12s; }
.gallery .mock:nth-child(3n) { transition-delay: .24s; }
.plans .plan:nth-child(2) { transition-delay: .1s; }
.plans .plan:nth-child(3) { transition-delay: .2s; }
.steps .step:nth-child(2) { transition-delay: .1s; }
.steps .step:nth-child(3) { transition-delay: .2s; }
.steps .step:nth-child(4) { transition-delay: .3s; }
/* Sin JS: todo visible */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .manifesto .w { opacity: 1; }

/* Menos movimiento si la persona lo pidió: sin loops ni desplazamientos, solo fundidos */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; padding-left: var(--gutter); }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .reveal { transform: none; }
  .msg, .promo-pill, .hero-title, .hero-sub, .hero-ctas, .phone, .wa-float { animation-duration: .01s; animation-delay: 0s; }
  .msg.typing i { animation: none; }
  .mock-screen img, .plan, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 0; padding: .5rem 1.2rem;
    background: var(--navy); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
  .nav.is-open { background: rgba(10,30,68,.97); }
  .nav-links a { display: flex; align-items: center; min-height: 52px; font-size: 1.1rem; color: var(--white); border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nosotros-inner { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .phone { justify-self: start; max-width: 360px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .mock:nth-child(3n+2), .mock.reveal.is-visible:nth-child(3n+2) { transform: none; }
  .mock:nth-child(2n), .mock.reveal.is-visible:nth-child(2n) { transform: translateY(2rem); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .promo-banner, .maint, .fine { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav-logo { font-size: 1rem; gap: .5rem; }
  .nav-logo svg { width: 34px; height: 34px; }
  .nav { gap: .5rem; }
  .nav-cta span { display: none; }
  .nav-cta { width: 44px; height: 44px; padding: 0; }
  .nav-cta .ico { width: 1.3em; height: 1.3em; }
  .hero { padding-top: 6.5rem; padding-bottom: 4.5rem; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 4rem); font-variation-settings: "wdth" 105; }
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-ctas .link-under { align-self: center; }
  .hero-ctas .btn .arrow { display: none; }
  .phone-chat { min-height: 0; }
  .phone .msg:nth-child(4) { display: none; }
  .ficha div { grid-template-columns: 1fr; gap: .2rem; }
  .phone { transform: none; animation-name: rise; justify-self: stretch; max-width: none; }
  .scroll-cue { display: none; }
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .mock { scroll-snap-align: start; }
  .swipe-hint { display: block; }
  .fab-on .nav-cta { display: none; }
  /* En celular el chatbot sube su burbuja: WhatsApp va a la izquierda, a la misma altura */
  .wa-float { right: auto; left: 20px; bottom: 100px; }
  .plan { padding-bottom: 2.4rem; }
  .mock:nth-child(2n), .mock.reveal.is-visible:nth-child(2n) { transform: none; }
  .promo-banner { flex-direction: column; align-items: flex-start; }
  .maint { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .fine { padding-bottom: 4.5rem; }
  .contact-list { grid-template-columns: 1fr; }
  .qa summary { padding-right: 3rem; }
  .qa-a { padding-right: 0; }
}
