/* ============================================================
   TUS ORÍGENES X EL MUNDO — home2.css
   Home modernizada · Hero video · Sora + Space Grotesk
   Paleta verde-lima + turquesa · Sin itálicas
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  /* Marca */
  --lima:        #A2CD4B;
  --lima-soft:   #C2D870;
  --bosque:      #557436;
  --bosque-2:    #709248;
  --oceano:      #0B90A5;
  --oceano-deep: #076B7C;
  --papel:       #EEF3E2;
  --papel-2:     #E6EED8;
  --marfil:      #F7FBF0;
  --white:       #ffffff;
  --ink:         #10200A;
  --ink-2:       #16290E;
  --whatsapp:    #25D366;

  /* Texto (light por defecto) */
  --text:        #1A2810;
  --text-mid:    #3D4F28;
  --text-soft:   #6B7D5A;

  /* Superficies temáticas (se sobreescriben en .section--dark) */
  --surface:     var(--marfil);
  --surface-2:   var(--white);
  --card-line:   rgba(16, 32, 10, .09);
  --on:          var(--text);
  --on-mid:      var(--text-mid);
  --on-soft:     var(--text-soft);
  --field-bg:    var(--white);

  /* Sistema */
  --header-h:    76px;
  --radius:      14px;
  --radius-lg:   24px;
  --radius-pill: 100px;
  --shadow:      0 6px 30px rgba(16, 32, 10, .08);
  --shadow-lg:   0 22px 60px rgba(16, 32, 10, .16);
  --shadow-oce:  0 18px 50px rgba(11, 144, 165, .22);
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --t:           .45s var(--ease);
  --maxw:        1220px;
}

.section--dark {
  --surface:   rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .07);
  --card-line: rgba(255, 255, 255, .13);
  --on:        #EDF5E1;
  --on-mid:    #C8D8B5;
  --on-soft:   #90A67D;
  --field-bg:  rgba(255, 255, 255, .06);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;            /* nunca cursiva */
  color: var(--text);
  background: var(--papel);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
em, i { font-style: normal; }    /* sin itálicas en todo el sitio */
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--oceano); color: #fff; }

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.06; color: var(--on); letter-spacing: -.02em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; }
h4 { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
p  { color: var(--on-mid); }

.kicker {
  font-family: 'Space Grotesk', monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--oceano);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--oceano);
  opacity: .6;
}
.section--dark .kicker { color: var(--lima); }
.section--dark .kicker::before { background: var(--lima); }

/* Kicker destacado (Inicio · Nosotras): mismo color, un poco más grande */
.kicker--lg { font-size: clamp(.86rem, 1.1vw, 1rem); letter-spacing: .18em; }
.kicker--lg::before { width: 34px; }

.mono { font-family: 'Space Grotesk', monospace; letter-spacing: .04em; }

/* ===== LAYOUT ===== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { position: relative; padding: clamp(80px, 11vh, 150px) 0; }

/* Páginas internas (una sección por página) */
body.subpage { padding-top: var(--header-h); }
body.subpage .section:first-of-type { padding-top: clamp(30px, 5vh, 56px); }
.nav__link.is-current { color: var(--oceano); font-weight: 600; }
.header.is-scrolled .nav__link.is-current { color: var(--bosque); }
.mobile-menu a.is-current { color: var(--oceano); }
.section--dark { background: var(--ink); color: var(--on); isolation: isolate; }
.section--tint { background: var(--papel-2); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .kicker { margin-bottom: 22px; }
.section__title { margin-bottom: 20px; }
.section__title--sm { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.section__desc { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--on-mid); max-width: 62ch; }

/* Home (no subpáginas): títulos e info centrados */
body:not(.subpage) .section__head { margin-left: auto; margin-right: auto; text-align: center; }
body:not(.subpage) .section__head .kicker { justify-content: center; }
body:not(.subpage) .section__desc { margin-left: auto; margin-right: auto; }

/* ===== REVEAL (scroll) ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============================================================
   LÍNEA DE LINAJE — la firma de la página
   ============================================================ */
.lineage {
  position: fixed;
  left: clamp(16px, 3vw, 46px);
  top: 0; bottom: 0;
  width: 2px;
  z-index: 30;
  pointer-events: none;
}
.lineage__track { position: absolute; inset: 0; background: linear-gradient(var(--ink) 0%, rgba(16,32,10,.08) 8%, rgba(16,32,10,.08) 92%, transparent 100%); opacity: .12; }
.lineage__fill {
  position: absolute; left: 0; top: 0; width: 100%;
  height: var(--lin, 0%);
  background: linear-gradient(var(--oceano), var(--lima));
  box-shadow: 0 0 14px rgba(11,144,165,.5);
  transition: height .12s linear;
}
.lineage__node {
  position: absolute; left: 50%; top: var(--lin, 0%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--lima);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(162,205,75,.25), 0 0 18px rgba(162,205,75,.9);
  transition: top .12s linear;
}
.lineage__node::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--oceano); opacity: .5;
  animation: nodePulse 2.6s var(--ease) infinite;
}
@keyframes nodePulse { 0% { transform: scale(.6); opacity: .55; } 70%,100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 900px) { .lineage { display: none; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.header.is-scrolled {
  background: rgba(247, 251, 240, .82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(16,32,10,.06), 0 10px 40px rgba(16,32,10,.06);
}

.brand { display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand__logo {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.header:not(.is-scrolled) .brand__logo { box-shadow: 0 4px 18px rgba(0,0,0,.28); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.brand__name { display: flex; flex-direction: column; }
.brand__name b { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); }
.brand__name span { font-family: 'Space Grotesk', monospace; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bosque); }
.header:not(.is-scrolled) .brand__name b { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.header:not(.is-scrolled) .brand__name span { color: rgba(255,255,255,.85); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 16px; border-radius: 10px;
  font-size: .92rem; font-weight: 500;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.header:not(.is-scrolled) .nav__link { color: rgba(255,255,255,.9); }
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--oceano);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--oceano); }
.header:not(.is-scrolled) .nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: .3s var(--ease); }
.header:not(.is-scrolled) .burger span { background: #fff; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: rgba(247, 251, 240, .97);
  backdrop-filter: blur(20px);
  padding: 22px clamp(20px, 5vw, 48px) 34px;
  display: grid; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 6px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid rgba(16,32,10,.06); color: var(--ink); }
.mobile-menu .btn { margin-top: 18px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  --btn-bg: var(--lima);
  --btn-fg: var(--ink);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: var(--radius-pill);
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  z-index: 0;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--oceano);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-oce); color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--oceano); outline-offset: 3px; }

.btn--outline { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--oceano), var(--shadow-oce); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--oceano); padding: 10px 4px; border-radius: 6px; }
.btn--ghost::before { display: none; }
.btn--ghost:hover { color: var(--bosque); transform: translateX(4px); box-shadow: none; gap: 13px; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; }
.btn--whatsapp::before { background: #1eb257; }
.btn--whatsapp:hover { color: #fff; }
.btn--lg { padding: 17px 38px; font-size: 1.02rem; }
.btn--full { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 104svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 38px) 0 clamp(96px, 12vh, 148px);
  overflow: hidden;
  color: #fff; text-align: center;
}
.hero__bg {           /* gradiente animado — parece video aunque falte el mp4 */
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(125deg, #0b1c07 0%, #16451f 26%, var(--bosque) 48%, var(--oceano-deep) 74%, #063b45 100%);
  background-size: 260% 260%;
  animation: heroFlow 22s ease-in-out infinite;
}
@keyframes heroFlow { 0%,100% { background-position: 0% 40%; } 50% { background-position: 100% 60%; } }
.hero__video {        /* el usuario coloca img/hero.mp4 luego */
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero__video.is-ready { opacity: 1; }
.hero__scrim {        /* legibilidad garantizada sobre el video */
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(11,144,165,.28), transparent 55%),
    linear-gradient(180deg, rgba(16,32,10,.15) 0%, rgba(16,32,10,.35) 55%, rgba(16,32,10,.82) 100%);
}
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 3px 3px; }

.hero__inner { position: relative; width: 100%; max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3.5vw, 36px); }
.hero__brand-logo { width: clamp(150px, 20vw, 240px); height: auto; flex: none; }
.hero__brand-name { font-family: 'Sora', sans-serif; font-weight: 600; font-size: clamp(1.5rem, 5vw, 3.4rem); letter-spacing: clamp(.02em, .3vw, .1em); text-transform: uppercase; line-height: 1.12; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__brand-name .hbn-a { color: #fff; white-space: nowrap; text-shadow: 0 2px 18px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.35); }
.hero__brand-name .hbn-b { color: #c4da78; font-weight: 400; font-size: .6em; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero__kicker { color: var(--lima-soft); margin-bottom: 26px; }
.hero__kicker::before { background: var(--lima-soft); }
.hero__title {
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  font-weight: 700; letter-spacing: -.035em; line-height: .96;
  max-width: none; margin: 0 auto; white-space: nowrap;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.hero__title b { font-weight: 800; color: var(--lima); text-shadow: none; }
@supports (-webkit-background-clip: text) {
  .hero__title b {
    background: linear-gradient(100deg, #AFD858 0%, var(--lima) 46%, #7FB637 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.hero__desc { margin: 26px auto 0; max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: rgba(255,255,255,.9); text-wrap: balance; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero__meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: center; }
.hero__meta-item { display: flex; align-items: center; gap: 12px; }
.hero__meta-item b { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.02em; }
.hero__meta-item span { font-family: 'Space Grotesk', monospace; font-size: .68rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.75); text-align: left; line-height: 1.3; }
.hero__meta-sep { width: 1px; height: 36px; background: rgba(255,255,255,.28); flex: none; }

.hero__stamp {
  position: absolute; top: calc(var(--header-h) + 6px); right: clamp(20px, 5vw, 48px);
  font-family: 'Space Grotesk', monospace; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7); text-align: right; line-height: 1.7;
}
.hero__stamp b { display: block; color: var(--lima-soft); font-weight: 500; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', monospace; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.7), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--lima); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { top: -50%; } 100% { top: 100%; } }
@media (max-width: 640px) {
  .header .brand { display: none; }
  .header__inner { justify-content: flex-end; }
  .hero__scroll, .hero__stamp { display: none; }
  .hero__video { object-position: 32% center; }
  .hero { min-height: auto; padding: calc(var(--header-h) - 20px) 0 52px; }
  .hero__brand { margin-bottom: 16px; gap: 10px; }
  .hero__brand-logo { width: 150px; }
  .hero__brand-name { font-size: 2rem; letter-spacing: .04em; }
  .hero__title { font-size: 1.25rem; }
  .hero__kicker { margin-bottom: 18px; }
  .hero__desc { margin-top: 20px; }
  .hero__actions { margin-top: 28px; width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__meta { margin-top: 28px; flex-wrap: nowrap; gap: clamp(8px, 3vw, 16px); }
  .hero__meta-sep { display: none; }
  .hero__meta-item { gap: clamp(5px, 1.6vw, 9px); }
  .hero__meta-item b { font-size: clamp(1.05rem, 5.2vw, 1.5rem); }
  .hero__meta-item span { font-size: clamp(.5rem, 2.5vw, .62rem); letter-spacing: .08em; line-height: 1.25; }
}

/* ============================================================
   TYPEWRITER (scroll-driven, bidireccional)
   ============================================================ */
.type { position: relative; }
.type__caret {
  display: inline-block; width: .06em; min-width: 3px; height: 1em;
  background: var(--oceano); margin-left: .06em; transform: translateY(.12em);
  animation: caretBlink 1s steps(1) infinite;
}
.section--dark .type__caret { background: var(--lima); }
@keyframes caretBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
.type.is-complete .type__caret { animation: none; opacity: 0; }

/* ============================================================
   ABOUT / ¿QUIÉNES SOMOS?
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--on); font-weight: 500; line-height: 1.5; margin-bottom: 24px; letter-spacing: -.01em; }
.about__lead strong { color: var(--bosque); font-weight: 700; }
.about__text { color: var(--on-mid); font-size: 1.05rem; }
.about__founders { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; }
.founder { display: flex; align-items: center; gap: 14px; }
.founder__ini { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--bosque-2), var(--oceano)); font-size: 1.05rem; }
.founder b { display: block; font-size: .98rem; color: var(--on); }
.founder span { font-family: 'Space Grotesk', monospace; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-soft); }

/* Datos destacados sin recuadro (Nosotras) */
.facts { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.fact { display: flex; align-items: baseline; gap: 16px; }
.fact b {
  flex: none; min-width: 4.2ch;
  font-family: 'Sora'; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, var(--bosque), var(--oceano));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact span { font-family: 'Sora', sans-serif; font-size: 1.05rem; color: var(--on-mid); }

/* ============================================================
   CARDS (Genealogía / Legal)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  transform-style: preserve-3d;
}
.card::after {  /* sheen */
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .8s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: rgba(11,144,165,.5); box-shadow: var(--shadow-lg); }
.card:hover::after { left: 130%; }
.section--dark .card::after { background: linear-gradient(100deg, transparent, rgba(162,205,75,.18), transparent); }

.card__ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(162,205,75,.18), rgba(11,144,165,.14));
  color: var(--bosque); transition: transform var(--t);
}
.card:hover .card__ico { transform: scale(1.06) rotate(-4deg); }
.card__ico svg { width: 30px; height: 30px; }
.card__ico-svg { width: 34px; height: 34px; display: block; }
.card__title { margin-bottom: 12px; }
.card__desc { color: var(--on-mid); font-size: .96rem; margin-bottom: 18px; }
.card__list { display: grid; gap: 9px; margin-bottom: 24px; }
.card__list li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--on-soft); }
.card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 0 3px rgba(162,205,75,.2); }
.card__subtitle { font-size: .9rem; font-weight: 600; color: var(--on-soft); margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .04em; }

.section__cta { margin-top: clamp(40px, 5vw, 60px); text-align: center; }

/* ============================================================
   FONDO POR PAÍS — Ciudadanías (foto del punto turístico)
   ============================================================ */
#ciudadanias { position: relative; }
#ciudadanias > .wrap { position: relative; z-index: 2; }
.ciu-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ciu-bg__layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 9s ease-out;
  will-change: opacity, transform;
}
.ciu-bg__layer.is-active { opacity: 1; transform: scale(1.16); }
.ciu-bg__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(115% 80% at 72% 8%, rgba(16,32,10,.5), transparent 58%),
    linear-gradient(180deg, rgba(16,32,10,.78) 0%, rgba(16,32,10,.72) 42%, rgba(16,32,10,.93) 100%);
}

/* ============================================================
   PILLS + PANELS (Ciudadanías / Visas)
   ============================================================ */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--radius-pill);
  font-size: .92rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--card-line); color: var(--on);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pill:hover { transform: translateY(-2px); border-color: var(--oceano); }
.pill.is-active {
  background: linear-gradient(120deg, var(--lima), var(--oceano));
  color: #fff; border-color: transparent; box-shadow: var(--shadow-oce);
}
.pills--sub { margin: 4px 0 34px; }
.pills--sub .pill { padding: 9px 16px; font-size: .86rem; }

.pill[data-tab="uk"] .pill__cc { font-size: .65em; font-weight: 400; }
.pill[data-tab="uk"] .pill__cc-mobile { display: none; }
@media (max-width: 768px) {
  .pill[data-tab="uk"] .pill__cc { display: none; }
  .pill[data-tab="uk"] .pill__cc-mobile { display: inline; }
}

.panels { position: relative; }
.panel { display: none; }
.panel.is-active { display: block; animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.panel__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.panel__flag { font-size: 3rem; line-height: 1; margin-bottom: 16px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.panel__info h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.panel__info > p { color: var(--on-mid); margin-bottom: 26px; font-size: 1.05rem; }
.panel__info em { font-style: normal; color: var(--oceano); font-weight: 600; }
.section--dark .panel__info em { color: var(--lima); }

.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--on-mid); font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(11,144,165,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B90A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.section--dark .checks li::before { background-color: rgba(162,205,75,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A2CD4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

.details { display: grid; gap: 14px; }
.detail {
  background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 20px 22px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.detail:hover { transform: translateX(6px); border-color: var(--oceano); box-shadow: var(--shadow); }
.detail h4 { margin-bottom: 7px; color: var(--on); }
.detail p { font-size: .92rem; color: var(--on-soft); }
.details .btn { margin-top: 6px; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.tst { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tst-card {
  background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.tst-card::before { content: "\201C"; position: absolute; top: 6px; right: 26px; font-family: Georgia, serif; font-size: 5rem; color: var(--lima); opacity: .28; line-height: 1; }
.tst-card:hover { transform: translateY(-6px); border-color: rgba(11,144,165,.4); box-shadow: var(--shadow-lg); }
.tst__stars { color: var(--lima); letter-spacing: .18em; margin-bottom: 16px; font-size: .95rem; }
.tst__text { color: var(--on); font-size: 1.04rem; line-height: 1.6; margin-bottom: 24px; }
.tst__who { display: flex; align-items: center; gap: 14px; }
.tst__ini { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--bosque-2), var(--oceano)); }
.tst__who b { display: block; color: var(--on); }
.tst__who span { font-family: 'Space Grotesk', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-soft); }

/* Testimonio dentro de un panel (Visas) */
.details .tst-card { padding: 30px 28px; }
.details .tst-card .tst__text { font-size: 1rem; margin-bottom: 20px; }
.details .tst-card::before { font-size: 4.2rem; top: 4px; right: 22px; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.cc {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 20px 22px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.cc:hover { transform: translateY(-3px); border-color: var(--oceano); box-shadow: var(--shadow); }
.cc__ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.2rem; background: linear-gradient(135deg, rgba(162,205,75,.2), rgba(11,144,165,.16)); }
.cc h4 { margin-bottom: 4px; }
.cc a, .cc p { font-size: .92rem; color: var(--on-mid); }
.cc a { color: var(--oceano); font-weight: 600; }
.cc a:hover { text-decoration: underline; }

/* ===== Home contact block (Sobre + Contacto) ===== */
.hcontact { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 18px; max-width: 900px; margin: 8px auto 0; align-items: stretch; }
.hcontact__card {
  background: linear-gradient(165deg, rgba(255,255,255,.72), rgba(243,249,236,.5));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px; padding: clamp(26px,3vw,34px);
  box-shadow: 0 16px 46px -26px rgba(16,42,20,.4), inset 0 1px 0 rgba(255,255,255,.5);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hcontact__ico { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; }
.hcontact__ico--wa { background: linear-gradient(135deg,#25D366,#0f9d76); box-shadow: 0 10px 22px -8px rgba(37,211,102,.7); }
.hcontact__ico--mail { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(162,205,75,.3), rgba(11,144,165,.2)); }
.hcontact__label { font-family: 'Space Grotesk', monospace; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bosque); }

/* WhatsApp = card-link centrado */
.hcontact__wa { gap: 12px; text-decoration: none; justify-content: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.hcontact__wa:hover { transform: translateY(-4px); box-shadow: 0 24px 52px -26px rgba(16,42,20,.46); border-color: rgba(162,205,75,.5); }
.hcontact__wa-body { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.hcontact__value { font-size: clamp(1.25rem,2.4vw,1.55rem); font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.hcontact__meta { font-size: .82rem; color: var(--on-mid); }
.hcontact__arrow { margin-top: 6px; color: var(--oceano); font-size: .7rem; font-weight: 600; font-family: 'Space Grotesk', monospace; letter-spacing: .16em; text-transform: uppercase; transition: transform .3s var(--ease); }
.hcontact__wa:hover .hcontact__arrow { transform: translateX(4px); }

/* Emails centrados */
.hcontact__head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 10px; }
.hcontact__mails { list-style: none; width: 100%; }
.hcontact__mails li + li { border-top: 1px solid rgba(16,42,20,.06); }
.hcontact__mails a { display: block; text-align: center; padding: 11px 6px; border-radius: 11px; font-size: .9rem; font-weight: 500; color: var(--oceano); text-decoration: none; overflow-wrap: anywhere; transition: background .2s var(--ease), color .2s var(--ease); }
.hcontact__mails a:hover { background: rgba(162,205,75,.14); color: var(--bosque); }

@media (max-width: 720px) { .hcontact { grid-template-columns: 1fr; } .hcontact__card { padding: 24px; } }

.form {
  background: var(--surface-2); border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: 'Space Grotesk', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-soft); }
.field input, .field select, .field textarea {
  background: var(--field-bg); border: 1.5px solid var(--card-line); border-radius: 12px;
  padding: 13px 15px; font-size: .96rem; color: var(--on); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--on-soft); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oceano); box-shadow: 0 0 0 4px rgba(11,144,165,.14); }
.field__err { font-size: .78rem; color: #d5455a; display: none; }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-color: #d5455a; }
.field.is-err .field__err { display: block; }
.form .btn { margin-top: 8px; }
.form__ok { display: none; text-align: center; padding: 22px 0 6px; }
.form__ok.is-show { display: block; animation: panelIn .5s var(--ease); }
.form__ok-ico { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--lima), var(--oceano)); }
.form__ok h3 { margin-bottom: 8px; }
.form__ok p { color: var(--on-mid); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #cdddba; padding: clamp(56px, 8vw, 90px) 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand p { color: #90a67d; font-size: .95rem; margin: 20px 0 24px; max-width: 38ch; }
.footer h5 { color: #fff; font-size: .8rem; font-family: 'Space Grotesk', monospace; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }

/* Solo los títulos de sección, en blanco */
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; align-content: start; gap: 20px clamp(22px, 3vw, 46px); }
.footer__nav a {
  color: #fff; font-family: 'Space Grotesk', monospace; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: color .25s var(--ease);
}
.footer__nav a:hover { color: var(--lima); }

/* Nombres del equipo, centrados */
.footer__team { margin-top: clamp(34px, 5vw, 54px); display: grid; gap: 7px; text-align: center; }
.footer__team span { color: #a8bd94; font-size: .95rem; }

.footer__bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer__bottom p { color: #7a8f68; font-size: .82rem; font-family: 'Space Grotesk', monospace; letter-spacing: .04em; }

/* ============================================================
   FABs
   ============================================================ */
.fab { position: fixed; right: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); }
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab--wa { bottom: 24px; background: var(--whatsapp); }
.fab--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: nodePulse 2.4s var(--ease) infinite; }
.fab--ig { bottom: 90px; background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about__grid, .panel__grid, .contact__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 620px) {
  .form__row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, auto); }
  .hero__meta-sep { display: none; }
  .section { padding: 68px 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { animation: none; }
}
