/* =========================================================================
   SunLive Invest — Hoja de estilos
   Tema: lujo sobrio. Azul marino (#1A2540) + dorado único (#D4AF7A) + crema.
   Tipografía: Cormorant Garamond (títulos) + Jost (UI/texto).
   ========================================================================= */

/* ----------------------------- Tokens ---------------------------------- */
:root {
  /* Sistema de azul marino: 2 tonos funcionales + superficies.
     Hero/CTA/Footer = más oscuro; contenido = base; banda = un pelo más clara. */
  --navy-900: #141C31;   /* Hero · Contacto (CTA) · Footer — el más oscuro */
  --navy-850: #1A2540;   /* base de contenido (fondo de página) */
  --navy-800: #1E2A48;   /* banda de contenido alterna (ligeramente más clara) */
  --navy-700: #232F50;   /* tarjetas / superficies elevadas */
  --navy-600: #2C3A5A;   /* hover / bordes */

  /* Dorado único #D4AF7A (mismo tono en todo el sitio) + crema */
  --gold:      #D4AF7A;
  --gold-2:    #D4AF7A;   /* mismo tono, sin derivas a amarillo/arena */
  --gold-deep: #C39A62;   /* sombra del mismo tono para gradientes sutiles */
  --gold-soft: rgba(212, 175, 122, 0.12);
  --cream:     #F0EAD8;

  /* Texto (crema cálida) */
  --ink:    #F0EAD8;     /* primario */
  --ink-2:  #AEB6C6;     /* secundario */
  --ink-3:  #7C88A0;     /* terciario / metadatos */

  /* Líneas */
  --line:      rgba(212, 175, 122, 0.22);  /* hairline dorado */
  --line-soft: rgba(240, 234, 216, 0.10);  /* hairline neutro */

  /* Sistema de radios: botones=pill, tarjetas=18px, inputs=12px, imágenes=18px */
  --r-card: 18px;
  --r-img:  18px;
  --r-input: 12px;

  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 24px 60px -28px rgba(212, 175, 122, 0.30);

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Tratamiento de fotografía. Desactivado (none) por rendimiento de scroll:
     los filter en imágenes fuerzan repintados/capas GPU al bajar. */
  --img-filter: none;
}

/* ------------------------------ Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy-850);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
::selection { background: var(--gold); color: var(--navy-900); }

/* --------------------------- Tipografía -------------------------------- */
.display, h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.serif-italic { font-style: italic; color: var(--gold-2); }

.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 56ch; }
p { color: var(--ink-2); max-width: 65ch; }

/* ----------------------------- Layout ---------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.4rem, 4vw, 2.75rem); }
section { padding-block: clamp(5.5rem, 11vw, 10rem); position: relative; }   /* +aire entre secciones */
.band { background: var(--navy-800); }        /* contenido alterno, un pelo más claro */
#contacto { background: var(--navy-900); }    /* sección CTA: la más oscura */
.section-head { max-width: 60ch; margin-bottom: clamp(3rem, 6vw, 4.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }
.center p { margin-inline: auto; }

/* ----------------------------- Botones --------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.15em; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 28px 64px -26px rgba(212,175,122,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-block { width: 100%; justify-content: center; }

.link-gold { color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.25s var(--ease); }
.link-gold:hover { gap: 0.7rem; }

/* ---------------------------- Navegación ------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 98px;
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20, 28, 49, 0.92);   /* más opaco: se sostiene con menos desenfoque */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line-soft);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo img { height: 84px; width: auto; filter: drop-shadow(0 3px 12px rgba(0,0,0,0.38)); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: 0.9rem; color: var(--ink-2); position: relative; padding-block: 0.4rem; transition: color 0.25s var(--ease); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.lang { display: flex; align-items: center; gap: 0.2rem; font-size: 0.78rem; padding: 0.15rem 0.3rem; border-radius: 999px; background: rgba(11, 19, 32, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang a { color: var(--ink); padding: 0.2rem 0.45rem; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.lang a.active { color: var(--navy-900); background: var(--gold); font-weight: 700; }
.lang a:hover { color: var(--gold-2); }
.lang a.active:hover { color: var(--navy-900); }
.lang span { color: rgba(255, 255, 255, 0.28); }

.nav-cta { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.nav-toggle { display: none; font-size: 1.6rem; color: var(--ink); }

/* ------------------- Hero (cinemático, a sangre) ----------------------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: var(--img-filter); }
.hero::after {
  /* velo navy (izq/abajo para legibilidad) + calidez de hora dorada (abajo-dcha) */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(20,28,49,0.95) 0%, rgba(20,28,49,0.55) 46%, rgba(20,28,49,0.12) 100%),
    linear-gradient(0deg, rgba(20,28,49,0.92) 0%, transparent 46%),
    radial-gradient(120% 85% at 88% 92%, rgba(212,175,122,0.18), transparent 55%);
}
.hero-inner { width: 100%; padding-top: 166px; padding-bottom: clamp(4rem, 9vh, 7.5rem); }
.hero-content { max-width: 880px; }   /* menos ancho de texto: más aire */
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); margin: 0.8rem 0 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-strip { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2.8rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.hero-strip b { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.2rem; color: var(--gold); }
.hero-strip .sep { color: var(--line); }

/* ---------------------- Por qué (lista de valores) --------------------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why-head { position: sticky; top: 110px; }
.value-list { display: grid; gap: 0; }
.value-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line-soft); }
.value-item:last-child { border-bottom: 1px solid var(--line-soft); }
.value-item .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold); font-size: 1.5rem; border: 1px solid var(--line); }
.value-item h3 { font-family: 'Jost', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; letter-spacing: 0; }
.value-item p { font-size: 0.96rem; margin: 0; }

/* --------------------------- Países (bento) ---------------------------- */
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 1.2rem; min-height: 620px; }
.country { position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate; min-height: 290px; display: flex; align-items: flex-end; }
.country:first-child { grid-row: 1 / 3; }
.country img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: var(--img-filter); transition: transform 0.9s var(--ease); }
.country::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,28,49,0.10) 0%, rgba(20,28,49,0.32) 38%, rgba(20,28,49,0.82) 72%, rgba(20,28,49,0.96) 100%); }
/* España es la tarjeta grande (más alta): el texto empieza más arriba, así que
   reforzamos el velo en la zona media para que gane legibilidad. */
.country:first-child::after {
  background: linear-gradient(180deg, rgba(20,28,49,0.18) 0%, rgba(20,28,49,0.50) 42%, rgba(20,28,49,0.88) 74%, rgba(20,28,49,0.97) 100%); }
.country:hover img { transform: scale(1.06); }
.country-body { padding: clamp(1.4rem, 2.5vw, 2.2rem); width: 100%; }
.country-body h3 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin-bottom: 0.35rem; }
.country-body p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 0.9rem; }
.country-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.country-facts span { font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.32rem 0.72rem; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); background: rgba(26, 37, 64, 0.84); }

/* -------------------------- Para quién --------------------------------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 1rem; }
.aud-item { padding: 2rem 1.6rem; position: relative; }
.aud-item + .aud-item::before { content: ''; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--line-soft); }
.aud-item i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.aud-item h3 { font-family: 'Jost', sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: 0; }
.aud-item p { font-size: 0.9rem; margin: 0; }

/* --------------------------- Proceso ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold);
  position: absolute; top: 0; left: 0;
}
.step::after { content: ''; position: absolute; top: 0.9rem; left: 2.6rem; right: -0.75rem; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; margin: 0; }

/* ----------------------- Propiedades (carrusel) ------------------------ */
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.prop-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(310px, 360px);
  gap: 1.4rem; overflow-x: auto; padding: 2.5rem 0 1.5rem; margin-top: 1rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--navy-600) transparent;
}
.prop-scroller::-webkit-scrollbar { height: 6px; }
.prop-scroller::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 999px; }
.prop-card { scroll-snap-align: start; background: var(--navy-700); border: 1px solid var(--line-soft); border-radius: var(--r-card); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.prop-card:hover { transform: translateY(-6px); border-color: var(--line); }
.prop-figure { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.prop-figure img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 0.8s var(--ease); }
.prop-card:hover .prop-figure img { transform: scale(1.07); }
.prop-tag { position: absolute; top: 1rem; left: 1rem; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(20,28,49,0.82); color: var(--gold); border: 1px solid var(--line); }
.prop-info { padding: 1.4rem 1.5rem 1.7rem; }
.prop-loc { font-size: 0.82rem; color: var(--ink-3); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.prop-info h3 { font-family: 'Jost', sans-serif; font-size: 1.12rem; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 0.9rem; }
.prop-meta { display: flex; gap: 1.1rem; font-size: 0.82rem; color: var(--ink-2); padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.prop-meta span { display: flex; align-items: center; gap: 0.35rem; }
.prop-price { display: flex; align-items: baseline; justify-content: space-between; }
.prop-price strong { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold-2); }
.prop-price small { color: var(--ink-3); font-size: 0.78rem; }

/* --------------------------- Testimonios ------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote { padding: 2.2rem 2rem; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); }
.quote .mark { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; line-height: 0.4; color: var(--gold); display: block; height: 1.6rem; }
.quote p { color: var(--ink); font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.6rem; }
.quote-by { display: flex; align-items: center; gap: 0.9rem; }
.avatar { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--navy-600); border: 1px solid var(--gold); color: var(--gold-2); font-weight: 700; font-size: 0.95rem; }
.quote-by strong { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.quote-by span { font-size: 0.8rem; color: var(--ink-3); }

/* ----------------------------- Sobre mí -------------------------------- */
.about { display: grid; grid-template-columns: 0.8fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; text-align: center; }
.about-photo .ph-mono { font-family: 'Cormorant Garamond', serif; font-size: 4rem; color: var(--gold); opacity: 0.6; }
.about-photo .note { position: absolute; bottom: 1rem; left: 0; right: 0; font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.04em; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.about h2 em { font-style: italic; color: var(--gold-2); }
.about .sign { margin-top: 1.8rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.6rem; color: var(--gold-2); }
.about .role { font-size: 0.82rem; color: var(--ink-3); letter-spacing: 0.04em; }

/* ------------------------------ Guía/Blog ------------------------------ */
.blog-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; }
.post-feature, .post { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-soft); background: var(--navy-700); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.post-feature:hover, .post:hover { transform: translateY(-4px); border-color: var(--line); }
.post-feature .img-wrap { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-list { display: grid; gap: 1.6rem; }
.post { display: grid; grid-template-columns: 130px 1fr; align-items: stretch; }
.post .img-wrap { display: block; overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 0.8s var(--ease); }
.post-feature:hover .img-wrap img, .post:hover .img-wrap img { transform: scale(1.05); }
.post-body { padding: 1.5rem 1.6rem 1.7rem; }
.post .post-body { padding: 1.2rem 1.3rem; }
.post-date { font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.post-feature h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.post h3 { font-family: 'Jost', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: 0; line-height: 1.35; }
.post-feature p { font-size: 0.96rem; }

/* ------------------------------ Artículo ------------------------------- */
.article-hero { position: relative; padding: 9rem 0 2.6rem; margin-bottom: 2.4rem; overflow: hidden; isolation: isolate; }
.article-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: var(--img-filter); }
.article-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,19,32,0.55) 0%, rgba(11,19,32,0.82) 100%); }
.article-hero-inner { max-width: 820px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 1.4rem; transition: color 0.2s var(--ease); }
.article-back:hover { color: var(--gold); }
.article-body { max-width: 760px; margin: 0 auto; padding-bottom: 3rem; }
.article-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold-2); margin: 2rem 0 0.7rem; }
.article-body p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 1rem; max-width: none; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }

/* ------------------------------ Contacto ------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info p { margin-bottom: 2rem; }
.phones { display: grid; gap: 0.9rem; margin-bottom: 2rem; }
.phone-row { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-soft); }
.phone-row .flag { font-size: 1.3rem; }
.phone-row .c { font-size: 0.78rem; color: var(--ink-3); display: block; }
.phone-row a { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.phone-row a:hover { color: var(--gold); }
.contact-extra { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.9rem; color: var(--ink-2); padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--gold-soft); }
.contact-extra i { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }

.form { background: var(--navy-700); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: clamp(1.6rem, 3vw, 2.4rem); }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { font-size: 0.82rem; color: var(--ink-2); font-weight: 500; letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  background: var(--navy-850); border: 1px solid var(--line-soft); border-radius: var(--r-input);
  padding: 0.85rem 1rem; color: var(--ink); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF7A' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.consent { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.4rem; }
.consent input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.consent label { font-size: 0.82rem; color: var(--ink-3); line-height: 1.5; }
.consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.9rem 1.1rem; border-radius: var(--r-input); margin-bottom: 1.3rem; font-size: 0.92rem; line-height: 1.5; }
.form-note i { font-size: 1.2rem; flex-shrink: 0; }
.form-note.ok { background: var(--gold-soft); border: 1px solid var(--line); color: var(--gold-2); }
.form-note.err { background: rgba(224,106,90,0.12); border: 1px solid #E06A5A; color: #f0b8b0; }

/* ------------------------------ Footer --------------------------------- */
.footer { background: var(--navy-900); border-top: 1px solid var(--line-soft); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-soft); }
.footer-brand img { height: 108px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer h4 { font-family: 'Jost', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-3); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; font-size: 0.92rem; color: var(--ink-2); padding: 0.35rem 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.5rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--ink-2); font-size: 1.1rem; transition: all 0.25s var(--ease); }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-legal { padding-top: 1.8rem; font-size: 0.8rem; line-height: 1.6; color: var(--ink-3); }
.footer-legal strong { color: var(--ink-2); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; font-size: 0.82rem; color: var(--ink-3); }

/* -------------------------- WhatsApp flotante -------------------------- */
.wa { position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1.2rem, 3vw, 1.9rem); z-index: 60;
  width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center;
  background: #1E8E4E; color: #F2EEE2; font-size: 1.55rem;   /* verde atenuado, icono crema */
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5), 0 4px 12px -4px rgba(30,142,78,0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.wa:hover { transform: scale(1.06) translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(0,0,0,0.55), 0 5px 14px -4px rgba(30,142,78,0.5); }

/* ------------------------------ Artículo ------------------------------- */
.article-page { padding-top: clamp(8rem, 12vw, 10rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.article-back { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 1.6rem; transition: color 0.2s var(--ease); }
.article-back:hover { color: var(--gold); }
.article-head { max-width: 760px; }
.article-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; }
.article-head h1 { margin: 0.7rem 0 0.6rem; font-size: clamp(2rem, 5vw, 3rem); }
.article-date { color: var(--ink-3); font-size: 0.85rem; }
.article-cover { margin: 2.2rem 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; }
.article-lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink); margin: 0 0 1.6rem; }
.article-body p { margin: 0 0 1.1rem; line-height: 1.8; color: var(--ink-2); }
.article-body h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); margin: 2rem 0 0.7rem; }
.article-cta { margin-top: 2.6rem; }

/* ----------------------------- Splash ---------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy-900);
  display: grid; place-items: center;
  /* a prueba de fallos: se desvanece solo aunque el JS no corra */
  animation: splashFade 0.8s var(--ease) 1.9s forwards;
}
.no-splash .splash { display: none; }
.splash-inner { display: grid; justify-items: center; gap: 1.8rem; padding: 1.5rem; }
.splash-logo {
  width: min(76vw, 360px); height: auto;
  opacity: 0; transform: translateY(16px) scale(0.96);
  animation: splashLogo 1.1s var(--ease) 0.12s forwards;
}
.splash-bar {
  width: 130px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 45%, var(--gold-2) 55%, transparent);
  background-size: 220% 100%;
  animation: splashShimmer 1.5s linear infinite, splashBarIn 0.6s ease 0.5s forwards;
}
@keyframes splashLogo { to { opacity: 1; transform: none; } }
@keyframes splashBarIn { to { opacity: 1; } }
@keyframes splashShimmer { 0% { background-position: 220% 0; } 100% { background-position: -220% 0; } }
@keyframes splashFade { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .splash { animation: splashFade 0.4s ease 0.9s forwards; }
  .splash-logo { animation: none; opacity: 1; transform: none; }
  .splash-bar { animation: none; opacity: 0.4; }
}

/* --------------------- Animaciones de aparición ------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ----------------------------- Responsive ------------------------------ */
@media (max-width: 980px) {
  .why-grid, .about, .contact, .blog-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .country:first-child { grid-row: auto; }
  .country { min-height: 260px; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .aud-item:nth-child(3)::before, .aud-item:nth-child(odd)::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .step::after { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  /* Barra opaca cuando el menú está abierto: los títulos ya no se ven cortados */
  .nav.open { background: rgba(20,28,49,0.98); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom-color: var(--line-soft); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 98px; left: 0; right: 0;
    background: rgba(20,28,49,0.98); backdrop-filter: blur(8px); padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  }
  .nav.open .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
  .hero-inner { padding-top: 126px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  /* #9 titulares serif ~12% más pequeños en móvil */
  h1 { font-size: clamp(2.3rem, 8vw, 2.9rem); }
  h2 { font-size: clamp(1.75rem, 6.4vw, 2.4rem); }
  .hero h1 { font-size: clamp(2.15rem, 8vw, 2.9rem); }
  .country-body h3 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-head { margin-bottom: 2.2rem; }
  section { padding-block: clamp(4rem, 11vw, 6rem); }   /* #11 aire equilibrado en móvil */
  /* WhatsApp móvil: mismo tamaño, separado del contenido para no taparlo */
  .wa { width: 44px; height: 44px; font-size: 1.22rem; right: 1rem; bottom: 1.5rem; }
  /* Aire extra al final para que el botón flotante no tape el texto del pie */
  .footer { padding-bottom: 5.5rem; }
  /* Logo un poco más grande en cabecera móvil */
  .nav-logo img { height: 78px; }
}
@media (max-width: 460px) {
  .audience { grid-template-columns: 1fr; }
  .aud-item::before { display: none !important; }
  .aud-item { border-top: 1px solid var(--line-soft); }
  .steps { grid-template-columns: 1fr; }
}

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