/* =============================================================
   Nadia y Pato por España — styles.css
   Arquetipo: Editorial Dark (adaptado a azul marino + dorado)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --navy:      #0A2342;   /* base de marca */
  --navy-deep: #061830;
  --navy-2:    #0E2C52;   /* tarjetas */
  --navy-3:    #143762;
  --gold:      #C9A84C;   /* acento de marca */
  --gold-soft: #E2CB86;
  --gold-dark: #9C7F2E;
  --white:     #FFFFFF;   /* texto de marca */
  --text-2:    #D3DCE8;
  --text-3:    #8FA2BC;
  --line:      rgba(255,255,255,.12);
  --line-gold: rgba(201,168,76,.35);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

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

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;
  --radius: 18px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--navy);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { 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; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
em { font-style: italic; font-variation-settings: "SOFT" 100; color: var(--gold); }
::selection { background: var(--gold); color: var(--navy); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; border-radius: 8px;
  background: var(--gold); color: var(--navy); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.section { position: relative; padding-block: clamp(3rem, 6vw, 5rem); }
.section-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 20ch;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
}

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
  will-change: transform;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 30px -12px rgba(201,168,76,.6);
}
.btn-gold:hover {
  background: var(--gold-soft);
  box-shadow: 0 18px 44px -14px rgba(201,168,76,.75);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .7rem 1.15rem; font-size: .88rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--gutter);
  transition: background .4s var(--ease-out), box-shadow .4s, height .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(6,24,48,.88);
  box-shadow: 0 1px 0 var(--line);
  height: 62px;
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-solid { background: rgba(6,24,48,.7); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  white-space: nowrap;
  margin-right: auto;
}
.nav-logo span {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3); margin-left: .35rem;
}
.nav-links { display: none; gap: 2rem; font-size: .92rem; color: var(--text-2); }
.nav-links a { position: relative; padding-block: .3rem; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 7px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

/* Menú móvil abierto */
.nav.is-open { background: var(--navy-deep); height: 100svh; align-items: flex-start; flex-wrap: wrap; padding-top: 1rem; }
.nav.is-open .nav-logo { line-height: 44px; }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; gap: 1.4rem;
  width: 100%; order: 3; margin-top: 3rem;
  font-family: var(--serif); font-size: 2rem; color: var(--white);
}
.nav.is-open .nav-cta { display: inline-flex; order: 4; margin-top: 1rem; }

/* ---------- Splash (doble red de seguridad) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 1.2rem;
  background: var(--navy);
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-out);
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.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); } }
.splash-mark { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.4rem); animation: splashIn 1s var(--ease-out) both; }
.splash-line { width: 120px; height: 1px; background: var(--gold); transform-origin: left; animation: splashLine 1.2s .2s var(--ease-out) both; }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes splashLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =============================================================
   5. Sections
   ============================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) clamp(3.5rem, 8vh, 5.5rem);
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(60% 70% at 75% 45%, var(--navy-3) 0%, var(--navy) 70%);
}

/* Retrato en arco (foto de redes, fondo claro) */
.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(78vw, 320px);
  aspect-ratio: 1 / 1;
  margin-bottom: 2.4rem;
}
.hero-portrait::before {           /* filete dorado desplazado */
  content: ""; position: absolute; inset: -12px 12px 12px -12px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  pointer-events: none;
}
.hero-portrait img {
  position: relative;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  border-radius: 18px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08);
  animation: portraitIn 1.6s .3s var(--ease-out) both;
}
@keyframes portraitIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-mesh {
  position: absolute; inset: -20%; z-index: -2;
  background:
    conic-gradient(from var(--mesh-angle) at 30% 70%, rgba(201,168,76,.32), transparent 30%, rgba(20,55,98,.5) 55%, transparent 75%, rgba(201,168,76,.32)),
    radial-gradient(40% 35% at 80% 20%, rgba(201,168,76,.18), transparent 70%);
  filter: blur(70px);
  mix-blend-mode: soft-light;
  animation: meshSpin 22s linear infinite;
  pointer-events: none;
}
@keyframes meshSpin { to { --mesh-angle: 360deg; } }
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .09; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-inner { max-width: 1200px; width: 100%; margin-inline: auto; display: grid; }
.hero-meta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  margin-bottom: 1.6rem;
}
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201,168,76,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(201,168,76,0); } 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); } }
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: .98;
  max-width: 16ch;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 30px rgba(6,24,48,.45);
}
.hero-sub {
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-2);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 2rem;
  display: none; align-items: center; gap: .8rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3);
}
.hero-scroll i { position: relative; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.hero-scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrollLine 2.2s var(--ease-soft) infinite;
}
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Split-text de titulares */
.split-word { display: inline-block; will-change: transform, opacity; }
.is-splitting .split-word { opacity: 0; transform: translateY(.5em) rotate(2deg); }
.is-splitting.is-split-in .split-word {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + 150ms);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--navy-deep);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex; width: max-content; gap: 2.2rem; align-items: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--text-2);
  animation: marquee 38s linear infinite;
}
.marquee-track b { color: var(--gold); font-style: normal; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Para quién ---------- */
.audience-head {
  display: grid; gap: .5rem; align-items: center;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
}
.audience-head .section-title { margin-bottom: 0; }
.flags {
  width: min(100%, 360px);
  height: auto;
  justify-self: center;
  overflow: visible;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.35));
}
.flags-route {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  opacity: .8;
  animation: routeFlow 2.5s linear infinite;
}
@keyframes routeFlow { to { stroke-dashoffset: -18; } }
.plane { filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.audience-grid { display: grid; gap: 1.2rem; }
.audience-card {
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
}
.audience-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.4rem; }
.audience-card li {
  position: relative; padding-left: 2rem; margin-bottom: .95rem; color: var(--text-2);
}
.audience-card li::before {
  position: absolute; left: 0; top: .05em; font-weight: 600;
}
.audience-card.is-yes { border-color: var(--line-gold); }
.audience-card.is-yes li::before { content: "✓"; color: var(--gold); }
.audience-card.is-no li::before { content: "—"; color: var(--text-3); }
.audience-card.is-no { background: transparent; }

/* ---------- Quiénes somos ---------- */
.about { background: var(--navy-deep); }
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
  transform-style: preserve-3d;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease-out); }
.about-figure:hover img { transform: scale(1.04); }
.about-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), rgba(201,168,76,.22), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.about-figure:hover::after { opacity: 1; }
.about-figure figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  padding: .6rem .9rem; border-radius: 10px;
  background: rgba(6,24,48,.78);
  font-size: .78rem; letter-spacing: .06em; color: var(--text-2);
}
.lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--text-2); max-width: 56ch; margin-bottom: 1.2rem; }
.lede + .people { margin-top: 2rem; }
.about-note { font-size: .95rem; color: var(--text-3); max-width: 56ch; margin-bottom: 2.2rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--navy-deep); }
.faq-inner { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-content: center;
  border: 1px solid var(--line-gold); color: var(--gold); font-family: var(--sans); font-size: 1.1rem;
  transition: transform .4s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold); }
.faq-item p { color: var(--text-2); padding-bottom: 1.4rem; max-width: 64ch; }
.faq-item a, .footer-copy a, .final-mail a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.people { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.4rem; }
@media (min-width: 540px) { .people { grid-template-columns: 1fr 1fr; } }
.person { padding: 1.2rem 1.3rem; border-left: 1px solid var(--gold); }
.person-name { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; margin-bottom: .3rem; }
.person-role { display: block; font-size: .88rem; color: var(--text-3); }
.person-era { display: block; font-size: .9rem; line-height: 1.5; color: var(--text-2); margin-top: .7rem; }
.person-era b {
  display: block; margin-bottom: .15rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.pull {
  position: relative;
  padding-left: 2.6rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.4;
  color: var(--white);
}
.pull::before {
  content: "“"; position: absolute; left: 0; top: -.35em;
  font-size: 3.6rem; color: var(--gold); line-height: 1;
}

/* ---------- Pilares ---------- */
.pillars-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
  display: grid; gap: .8rem;
}
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.pillar h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.pillar p { color: var(--text-2); max-width: 44ch; }

/* ---------- Servicios ---------- */
.services { overflow: visible; }
.services-halo {
  position: absolute; inset: -20% -10% -10% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 35% at 50% 55%, rgba(201,168,76,.16), transparent 75%);
  filter: blur(90px);
}
.services .container { position: relative; z-index: 1; }
.services-grid { display: grid; gap: 1.5rem; }
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-gold);
  background: linear-gradient(165deg, var(--navy-3) 0%, var(--navy-2) 45%, var(--navy-deep) 100%);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.8);
  transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease-out), border-color .4s;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--hx, 50%) var(--hy, 0%), rgba(201,168,76,.18), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover { border-color: var(--gold); box-shadow: 0 40px 90px -40px rgba(201,168,76,.35); }
.service-card:hover::after { opacity: 1; }
.service-tag {
  align-self: flex-start;
  padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-gold);
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.6rem;
}
.service-name { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.service-desc { color: var(--text-2); margin-bottom: 1.6rem; max-width: 46ch; }
.service-list { margin-bottom: 2.2rem; flex-grow: 1; }
.service-list li {
  position: relative; padding: .7rem 0 .7rem 1.8rem;
  border-top: 1px solid var(--line); font-size: .95rem;
}
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.service-card .btn { align-self: flex-start; }

/* Después de pagar → comprobante por WhatsApp */
.after-pay {
  margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px dashed var(--line-gold);
}
.after-pay p { font-size: .88rem; color: var(--text-2); margin-bottom: .7rem; max-width: 46ch; }
.after-pay b { color: var(--white); font-weight: 600; }
.wa-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .9rem; font-weight: 500; color: var(--gold);
  border-bottom: 1px solid transparent; transition: border-color .3s, color .3s;
}
.wa-link::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wa-link:hover { border-color: var(--gold); color: var(--gold-soft); }

/* Precio en las tarjetas y datos bajo la portada */
.service-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; margin: -.3rem 0 1.1rem; }
.service-price b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2rem); color: var(--gold); line-height: 1; }
.service-price span { font-size: .82rem; color: var(--text-3); }
.hero-buy-info { margin-top: 1.1rem; font-size: .85rem; color: var(--text-3); max-width: 52ch; }
.hero-buy-info b { color: var(--gold); font-weight: 600; }
.hero-buy-info a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.final .buy-terms { margin: -0.2rem auto 1rem; text-align: center; }

/* Barra fija de reserva (móvil) */
.sticky-cta {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .65rem .7rem .65rem 1.1rem;
  border-radius: 16px; border: 1px solid var(--gold);
  background: rgba(6,24,48,.96);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  transform: translateY(140%); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s;
  padding-bottom: calc(.65rem + env(safe-area-inset-bottom, 0px));
}
.sticky-cta.is-shown { transform: none; opacity: 1; }
.sticky-cta-info { display: grid; line-height: 1.25; min-width: 0; }
.sticky-cta-name { font-family: var(--serif); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta-price { font-size: .78rem; color: var(--gold); }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* Aviso de condiciones antes de pagar */
.buy-terms { font-size: .8rem; line-height: 1.5; color: var(--text-3); margin: 0 0 .9rem; max-width: 48ch; }
.buy-terms a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.buy-terms a:hover { color: var(--gold); }
.post-cta .buy-terms { margin: 1.2rem auto 0; text-align: center; }
.footer-legal { font-size: .85rem; }
.footer-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--gold); }
.legal .post-title { font-size: clamp(2rem, 5vw, 3rem); }
.legal-steps { list-style: none; }
.legal-steps strong { color: var(--gold); margin-right: .3rem; }
.post-body p.legal-updated { margin-top: 3rem; font-size: .85rem; color: var(--text-3); }

/* Página 404 */
.notfound {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-content: center; justify-items: center; gap: 1rem;
  padding: 2rem var(--gutter); text-align: center;
  background: radial-gradient(50% 50% at 50% 40%, var(--navy-3), var(--navy) 75%);
}
.notfound-title { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 16ch; }
.notfound-text { color: var(--text-2); max-width: 44ch; margin-bottom: 1rem; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Servicio principal destacado */
.service-card.is-main {
  border-color: var(--gold);
  background: linear-gradient(165deg, #1A4275 0%, var(--navy-2) 45%, var(--navy-deep) 100%);
  box-shadow: 0 40px 90px -40px rgba(201,168,76,.45), 0 0 0 1px rgba(201,168,76,.25) inset;
}
.service-badge {
  position: absolute; top: -.85rem; right: 1.6rem; z-index: 2;
  padding: .4rem .95rem; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(201,168,76,.7);
}

/* ---------- Testimonios ---------- */
.testimonials-inner { display: grid; gap: 2.5rem; align-items: center; }
.testimonials .lede { margin-bottom: 2rem; }
.reels { display: grid; gap: 1.5rem; justify-items: center; }
.reel {
  width: 100%; max-width: 360px; height: 640px;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-gold);
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel-facade {
  height: 100%; display: grid; justify-items: center; align-content: center; gap: .8rem; text-align: center;
  padding: 2rem 1.6rem; color: var(--white);
  background:
    radial-gradient(60% 45% at 50% 35%, rgba(201,168,76,.22), transparent 70%),
    linear-gradient(165deg, var(--navy-3), var(--navy-deep));
  transition: background .4s;
}
.reel-facade:hover { background: radial-gradient(60% 45% at 50% 35%, rgba(201,168,76,.32), transparent 70%), linear-gradient(165deg, var(--navy-3), var(--navy-deep)); }
.reel-facade .play {
  width: 74px; height: 74px; border-radius: 50%; margin-bottom: .6rem;
  background: var(--gold); position: relative;
  animation: pulse 2.6s infinite;
}
.reel-facade .play::after {
  content: ""; position: absolute; left: 30px; top: 23px;
  border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--navy);
}
.reel-facade-title { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.reel-facade-text { color: var(--text-2); font-size: .95rem; max-width: 24ch; margin-bottom: .4rem; }
.reel-facade-note { font-size: .75rem; color: var(--text-3); max-width: 26ch; }
.reel-more {
  display: grid; justify-items: center; align-content: center; gap: .9rem; text-align: center;
  padding: 2rem 1.6rem;
  height: auto; min-height: 320px;
  background: linear-gradient(165deg, var(--navy-3), var(--navy-deep));
  transition: border-color .4s, transform .5s var(--ease-out);
}
.reel-more:hover { border-color: var(--gold); transform: translateY(-4px); }
.reel-more-title { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.reel-more-text { color: var(--text-2); font-size: .95rem; max-width: 24ch; margin-bottom: .6rem; }
.reel-more .play {
  width: 74px; height: 74px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--gold); position: relative;
  box-shadow: 0 0 0 0 rgba(201,168,76,.5);
  animation: pulse 2.6s infinite;
}
.reel-more .play::after {
  content: ""; position: absolute; left: 30px; top: 23px;
  border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--navy);
}

/* ---------- Galería «Vida real» ---------- */
.showcase {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--navy-deep);
}
.showcase .section-title { margin-bottom: 1.8rem; }
.showcase-viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 1rem 2rem;
}
.showcase-viewport::-webkit-scrollbar { display: none; }
.showcase-track {
  display: flex; gap: clamp(1rem, 2.5vw, 2rem);
  padding-inline: var(--gutter);
  width: max-content;
}
.shot {
  position: relative;
  flex: 0 0 auto;
  width: min(78vw, 360px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: center;
  background: var(--navy-2);
}
.shot-tall { aspect-ratio: 3 / 4; align-self: center; }
.shot-wide img { object-position: 70% 50%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.95); }
.shot:hover img { transform: scale(1.06); filter: saturate(1.15); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 3rem 1.3rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(6,24,48,.92));
  font-size: .92rem; color: var(--text-2);
}
.shot figcaption span {
  display: block; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--white); margin-bottom: .2rem;
}
.shot-end {
  display: grid; place-content: center; justify-items: center; gap: 1.4rem; text-align: center;
  border: 1px dashed var(--line-gold); background: transparent;
  padding: 2rem;
}
.shot-end p { font-family: var(--serif); font-size: 1.8rem; line-height: 1.15; max-width: 10ch; }

/* ---------- CTA final ---------- */
.final { text-align: center; overflow: clip; isolation: isolate; }
.final-mesh {
  position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--mesh-angle) at 50% 50%, rgba(201,168,76,.22), transparent 25%, rgba(20,55,98,.6) 50%, transparent 75%, rgba(201,168,76,.22));
  filter: blur(90px);
  animation: meshSpin 30s linear infinite;
}
.final-inner { display: grid; justify-items: center; }
.final-title { font-size: clamp(2.4rem, 6.5vw, 5rem); max-width: 14ch; margin-bottom: 1.4rem; }
.final-sub { color: var(--text-2); max-width: 46ch; font-size: 1.1rem; margin-bottom: 2.4rem; }
.final .hero-actions { justify-content: center; margin-bottom: 1.2rem; }
.final-mail { margin-bottom: 2.5rem; font-size: .95rem; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.2rem; }
.socials a {
  display: inline-block; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); font-size: .9rem; color: var(--text-2);
  transition: border-color .3s, color .3s, transform .4s var(--ease-bounce);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.socials a.is-whatsapp { border-color: var(--line-gold); color: var(--gold); }
.socials a.is-whatsapp::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .5rem; vertical-align: middle;
  border-radius: 50%; background: var(--gold);
}
.handle { font-size: .85rem; letter-spacing: .08em; color: var(--text-3); }

/* ---------- Banda «Consejos» en la home ---------- */
.tips-band {
  border-block: 1px solid var(--line-gold);
  background: linear-gradient(120deg, var(--navy-2), var(--navy-deep));
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.tips-inner { display: grid; gap: 1.6rem; align-items: center; }
.tips-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .6rem; max-width: 22ch; }
.tips-text { color: var(--text-2); max-width: 52ch; }
.tips-inner .btn { justify-self: start; }

/* ---------- Páginas internas (Consejos) ---------- */
.page-sub .nav { background: rgba(6,24,48,.94); box-shadow: 0 1px 0 var(--line); height: 62px; }
.page-sub .nav.is-open { height: 100svh; background: var(--navy-deep); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.page-sub main { padding-top: 62px; }

.blog-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(1.5rem, 3vw, 2rem); }
.blog-title { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 18ch; margin-bottom: 1.2rem; }
.blog-list-wrap { padding-top: 1rem; }
.post-list { display: grid; gap: 1.4rem; }
.post-card {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-2), var(--navy-deep));
  transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s;
}
.post-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(201,168,76,.4); }
.post-card-link { display: grid; gap: .8rem; padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.post-tag { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post-card-title { font-size: clamp(1.4rem, 2.8vw, 1.9rem); max-width: 34ch; }
.post-card-excerpt { color: var(--text-2); max-width: 70ch; }
.post-card-more { color: var(--gold); font-weight: 500; font-size: .95rem; }
.post-card-more i { font-style: normal; display: inline-block; transition: transform .4s var(--ease-out); }
.post-card:hover .post-card-more i { transform: translateX(5px); }

/* Artículo */
.post { padding-bottom: clamp(3rem, 6vw, 5rem); }
.post-head, .post-body, .post-cta { max-width: 780px; }
.post-head { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 2rem; }
.post-back { display: inline-block; font-size: .9rem; color: var(--text-3); margin-bottom: 2rem; transition: color .3s; }
.post-back:hover { color: var(--gold); }
.post-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 1.4rem; }
.post-title em { display: block; }
.post-lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--text-2); margin-bottom: 2rem; }
.post-author {
  display: flex; gap: 1rem; align-items: center;
  padding: 1rem 1.2rem; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.post-author img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 25% 30%; flex: 0 0 58px; border: 1px solid var(--gold); }
.post-author-name { display: block; font-family: var(--serif); font-size: 1.2rem; }
.post-author-role { display: block; font-size: .82rem; color: var(--text-3); line-height: 1.5; }

.post-body { font-size: 1.06rem; line-height: 1.75; }
.post-body > p { color: var(--text-2); margin-bottom: 1.6rem; }
.post-body strong { color: var(--white); }
.post-body em { color: var(--gold-soft); }
.post-callout {
  margin: 2.2rem 0; padding: 1.6rem 1.7rem;
  border-left: 2px solid var(--text-3); border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.04);
}
.post-callout.is-gold { border-left-color: var(--gold); background: rgba(201,168,76,.08); }
.post-callout h2 { font-size: 1.35rem; margin-bottom: .7rem; }
.post-callout p { color: var(--text-2); }
.post-callout p + p { margin-top: .7rem; }

.post-keys { list-style: none; counter-reset: key; display: grid; gap: 2rem; margin: 2.6rem 0; }
.post-keys li { counter-increment: key; position: relative; padding-left: 4rem; }
.post-keys li::before {
  content: counter(key);
  position: absolute; left: 0; top: -.1rem;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-content: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-size: 1.3rem;
}
.post-keys h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: .6rem; }
.post-keys p { color: var(--text-2); }

/* Bloques de artículo: secciones, listas, fichas, resumen, casos */
.post-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 3rem 0 1rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.post-body > .post-h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.post-body > p + p { margin-top: -.6rem; }
.post-body a:not(.btn):not(.wa-link) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-points { list-style: none; display: grid; gap: .5rem; margin: 0 0 1.6rem; color: var(--text-2); }
.post-points.is-dots li { position: relative; padding-left: 1.5rem; }
.post-points.is-dots li::before {
  content: ""; position: absolute; left: .2rem; top: .7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.post-facts { display: grid; gap: 1rem; margin: 1.4rem 0; }
.post-fact {
  padding: 1.2rem 1.4rem; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.post-fact.is-no { border-color: rgba(255,120,120,.25); }
.post-fact h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: .5rem; }
.post-fact p, .post-fact li { color: var(--text-2); font-size: .98rem; }
.post-fact ul { list-style: none; display: grid; gap: .3rem; }
.post-summary {
  display: grid; gap: 0; margin: 1.4rem 0 2rem;
  border: 1px solid var(--line-gold); border-radius: 14px; overflow: hidden;
}
.post-summary > div { display: grid; grid-template-columns: minmax(8.5rem, 34%) 1fr; }
.post-summary > div + div { border-top: 1px solid var(--line); }
.post-summary dt, .post-summary dd { padding: .95rem 1.2rem; margin: 0; }
.post-summary dt { font-family: var(--serif); font-style: italic; color: var(--gold); background: rgba(201,168,76,.07); }
.post-summary dd { color: var(--text-2); }
.post-summary dd::before { content: "→ "; color: var(--gold); }
.post-cases { display: grid; gap: 1rem; margin: 2.2rem 0 1rem; }
.post-case {
  padding: 1.5rem 1.4rem 1.3rem;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--navy-2), var(--navy-deep));
}
.post-case.is-yes { border-color: var(--line-gold); }
.post-case.is-no { border-color: rgba(255,120,120,.3); }
.post-case-initial {
  display: grid; place-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  font-family: var(--serif); font-size: 1.3rem; color: var(--navy); background: var(--gold);
  margin-bottom: .8rem;
}
.post-case.is-no .post-case-initial { background: #e8a0a0; }
.post-case h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.post-case p { color: var(--text-2); font-size: .95rem; margin-bottom: .4rem; }
.post-case p.post-case-result { color: var(--white); font-weight: 600; margin-top: .6rem; }
.post-body p.post-thanks {
  margin-top: 3rem; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--white);
}
.post-thanks span { font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 720px) {
  .post-facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .post-cases { grid-template-columns: repeat(3, 1fr); }
}

.post-cta {
  margin-top: 1rem; padding: clamp(2rem, 4vw, 2.8rem);
  border: 1px solid var(--gold); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, #1A4275 0%, var(--navy-2) 50%, var(--navy-deep) 100%);
  text-align: center;
}
.post-cta h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 auto 1.6rem; max-width: 26ch; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1.4rem; }
.post-cta-note { font-size: .92rem; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3rem; background: var(--navy-deep); }
.footer-inner { display: grid; gap: 1.4rem; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; }
.footer-brand span { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-left: .35rem; }
.disclaimer {
  max-width: 78ch; font-size: .86rem; color: var(--text-3);
  padding: 1rem 1.2rem; border-left: 2px solid var(--gold); background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0;
}
.disclaimer strong { color: var(--text-2); font-weight: 600; }
.footer-copy { font-size: .8rem; color: var(--text-3); }

/* =============================================================
   7. Effects — reveal
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: un elemento con reveal + split nunca queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }
/* Sin JS: todo visible */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 720px) {
  .audience-head { grid-template-columns: 1.2fr .8fr; gap: 2rem; }
  .flags { justify-self: end; }
  .audience-grid { grid-template-columns: 1.15fr 1fr; }
  .reels { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tips-inner { grid-template-columns: 1fr auto; gap: 3rem; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 0; }
  .pillar { border-top: 1px solid var(--gold); border-bottom: 0; padding-top: 1.6rem; }
  .services-grid { grid-template-columns: 1.12fr 1fr; align-items: stretch; }
  .hero-scroll { display: inline-flex; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .hero-portrait { order: 2; width: 100%; max-width: 440px; margin-bottom: 0; }
  .hero-copy { order: 1; }
  .about-grid { grid-template-columns: 5fr 6fr; }
  /* Galería: fila fija de 4 fotos en escritorio */
  .showcase-viewport { overflow: visible; scroll-snap-type: none; padding-block: 0; }
  .showcase-track {
    display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
    width: 100%; max-width: 1200px; margin-inline: auto;
  }
  .shot, .shot-tall { width: auto; }
  .shot-end { display: none; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-meta .dot { animation: none; }
  .hero-scroll i::after { animation: none; }
}
