/* ========== HUMAN5 — Landing page ========== */

:root {
  --bg-0: #07080b;          /* casi negro */
  --bg-1: #0d1015;          /* paneles oscuros */
  --bg-2: #f3efe7;          /* crema claro */
  --bg-3: #ebe5d8;          /* crema más cálido */
  --ink-0: #f5f1e8;         /* texto sobre oscuro */
  --ink-1: #b9b2a2;         /* texto secundario sobre oscuro */
  --ink-2: #8a8270;         /* texto terciario */
  --ink-dark-0: #1b1a16;    /* texto sobre crema */
  --ink-dark-1: #4a4639;    /* secundario sobre crema */
  --ink-dark-2: #7a7464;    /* terciario sobre crema */
  --gold: #c9a86a;          /* dorado champagne */
  --gold-2: #b8965a;        /* dorado profundo */
  --gold-soft: #d8bd86;     /* dorado claro */
  --rule: rgba(255,255,255,0.08);
  --rule-dark: rgba(0,0,0,0.12);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-0);
  color: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ========== Top Nav ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  background: linear-gradient(to bottom, rgba(7,8,11,0.85), rgba(7,8,11,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(7,8,11,0.92);
  padding: 12px 36px;
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  font-weight: 600;
}
.nav-logo .mark {
  width: 26px; height: 26px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.nav-logo .mark::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--ink-1);
  transition: color .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink-0); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--ink-0);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--bg-0); }

.nav-burger { display: none; }

.lang-switch__select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: var(--ink-0);
  border: 1px solid rgba(245,241,232,0.3);
  border-radius: 999px;
  padding: 6px 26px 6px 10px;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23f5f1e8' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  transition: border-color 0.2s, color 0.2s;
}
.lang-switch__select:hover { border-color: var(--gold); color: var(--gold); }
.lang-switch__select option { background: #0d1015; color: var(--ink-0); }

/* ========== Slide system ========== */
.slide {
  position: relative;
  min-height: 100vh;
  padding: 110px 64px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide-counter {
  position: absolute;
  bottom: 24px; left: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.55;
}
.dark .slide-counter { color: var(--ink-1); }
.light .slide-counter { color: var(--ink-dark-2); }

.dark { background: var(--bg-0); color: var(--ink-0); }
.light { background: var(--bg-2); color: var(--ink-dark-0); }
.cream { background: var(--bg-3); color: var(--ink-dark-0); }

/* ========== 01 HERO ========== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(108px, 18vw, 256px) 24px 0;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    url('img/hero.jpg') center center / cover no-repeat,
    #04060c;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(255,210,140,0.10), transparent 70%),
    linear-gradient(to bottom, rgba(7,8,11,0.55) 0%, rgba(7,8,11,0.4) 40%, rgba(7,8,11,0.9) 100%),
    rgba(7,8,11,0.18);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 9vw, 128px);
  letter-spacing: 0.18em;
  line-height: 1;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 0 60px rgba(255,210,140,0.25);
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: 0.02em;
  font-style: italic;
  color: var(--ink-0);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-1);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 999px;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold-2) 100%);
  color: #1b1a16;
  box-shadow: 0 6px 24px rgba(201,168,106,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(201,168,106,0.4);
}
.btn-ghost {
  border: 1px solid rgba(245,241,232,0.5);
  color: var(--ink-0);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-1);
}
.hero-scroll svg {
  margin: 8px auto 0;
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ========== Two-column slides ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 100vh;
}
.split > .panel {
  padding: 90px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 600px;
}
.panel.has-img { padding: 0; overflow: hidden; }
.panel.has-img .img-wrap {
  width: 100%; height: 100%;
  min-height: 600px;
  position: relative;
}

/* Section Title (serif) */
.s-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.s-title em {
  font-style: italic;
  color: var(--gold);
}
.s-body {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
  font-weight: 400;
  max-width: 480px;
}
.s-body p { margin-bottom: 14px; }
.dark .s-body { color: var(--ink-1); }
.light .s-body, .cream .s-body { color: var(--ink-dark-1); }

/* ========== 02 Vivimos rodeados ========== */
.crowd-img {
  background:
    linear-gradient(90deg, rgba(7,8,11,0.55) 0%, rgba(7,8,11,0.1) 30%, transparent 60%),
    url('img/metro.webp') center / cover no-repeat,
    #0a0c10;
  width: 100%; height: 100%;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 24px;
}
.img-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ========== 03 Lo que NO es ========== */
.no-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 28px;
  max-width: 540px;
}
.no-card {
  background: #1a1d24;
  border: 1px solid #2a2e36;
  border-radius: 14px;
  aspect-ratio: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.no-card .x {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #d94d4d;
  display: grid; place-items: center;
  font-size: 11px; color: #fff;
  font-weight: 700;
  line-height: 1;
}
.no-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 12px;
  display: grid; place-items: center;
  color: var(--ink-0);
}
.no-card .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-0);
  line-height: 1.3;
}
.no-card .label small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 2px;
  letter-spacing: 0.14em;
}
.no-foot {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-1);
  max-width: 520px;
}
.no-foot p { margin-bottom: 4px; }

/* ========== 04 Hands ========== */
.hands-img {
  background:
    radial-gradient(ellipse at 60% 50%, rgba(220,180,120,0.25), transparent 70%),
    url('img/hands.jpg') center / cover no-repeat,
    #14110b;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 24px;
}
.hands-img::before { content: none; }

/* ========== 05 Sunset ========== */
.sunset-img {
  background:
    url('img/dos.webp') center / cover no-repeat,
    #2a1810;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 24px;
}
.sunset-img::before { content: none; }

.bullets {
  list-style: none;
  margin: 14px 0 18px;
}
.bullets li {
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-dark-0);
}
.bullets li svg {
  color: var(--gold-2);
  flex-shrink: 0;
}

/* ========== 06 Cómo funciona — full width dark ========== */
.full {
  min-height: 100vh;
  padding: 110px 64px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.full .s-title { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 30px auto 0;
  max-width: 1100px;
  width: 100%;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.step-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  color: var(--ink-0);
  margin-bottom: 16px;
  background: rgba(201,168,106,0.05);
  transition: transform .3s ease, background .3s ease;
}
.step:hover .step-icon {
  background: rgba(201,168,106,0.12);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}
.step-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--ink-0);
}
.step-desc {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-1);
  max-width: 150px;
}
.step-arrow {
  position: absolute;
  top: 28px;
  right: -8px;
  color: var(--gold);
  opacity: 0.6;
}
.step:last-child .step-arrow { display: none; }

/* ========== 07 Lo que dejamos atrás ========== */
.leave {
  background: var(--bg-2);
  color: var(--ink-dark-0);
}
.leave-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 880px;
  width: 100%;
  margin: 36px auto 28px;
}
.leave-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.leave-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-dark-1);
  display: grid; place-items: center;
  color: var(--ink-dark-0);
  margin-bottom: 12px;
  position: relative;
}
.leave-icon::after {
  content: "";
  position: absolute; left: 14%; right: 14%;
  top: 50%; height: 1.5px;
  background: #c14b4b;
  transform: rotate(-18deg);
  border-radius: 1px;
}
.leave-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dark-1);
  line-height: 1.35;
  letter-spacing: 0.02em;
  max-width: 110px;
}
.leave-foot {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  text-align: center;
  color: var(--ink-dark-0);
}

/* ========== 08 Sin barreras ========== */
.barriers {
  background: var(--bg-3);
}
.barrier-icons {
  display: flex;
  gap: 18px;
  margin: 20px 0 28px;
  flex-wrap: wrap;
}
.b-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  width: 76px;
}
.b-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-dark-1);
  display: grid; place-items: center;
  margin-bottom: 8px;
  color: var(--ink-dark-0);
}
.b-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-dark-1);
}
.world-img {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(26,42,58,0.4) 0%, rgba(10,18,24,0.6) 60%, rgba(5,8,16,0.85) 100%),
    url('img/worldmap.jpg') center / cover no-repeat,
    #050810;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  min-height: 600px;
  overflow: hidden;
}

/* ========== 09 El futuro ========== */
.future-img {
  background:
    url('img/future.jpg') center / cover no-repeat,
    #0b1726;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

/* ========== 10 Multiplica ========== */
.multiply {
  background:
    url('img/horizonte.webp') center bottom / cover no-repeat,
    radial-gradient(ellipse at 50% 70%, #c9885a 0%, #6e3e22 25%, #1a1208 60%, #07050a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Move content UP to where the sky is darker, leaving the silhouettes + golden sun untouched below */
  align-items: flex-start;
  padding-top: 120px;
}
.multiply-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.multiply-pre {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-dark-1);   /* same dark token used by other body text */
  margin-bottom: 16px;
}
.multiply h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  color: var(--ink-dark-0);   /* darkest ink, matches other titles */
}
.multiply h2 span { display: block; }
.multiply h2 em {
  /* keep the highlighted words in the same dark ink */
  color: var(--ink-dark-0) !important;
  font-style: italic;
}
.multiply-silhouette {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  z-index: 1;
}

/* ========== 11 Final CTA ========== */
.final {
  text-align: center;
}
.final-content {
  max-width: 560px;
  margin: 0 auto;
}
.final-mark {
  width: 56px; height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  position: relative;
}
.final-mark::after {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
}
.final h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.18em;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 28px;
  color: var(--ink-0);
}
.final-text {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink-1);
  margin-bottom: 14px;
}
.final-text em {
  font-style: italic;
  color: var(--ink-0);
  display: block;
  margin-top: 18px;
}
.final .btn { margin-top: 32px; }

/* ========== Footer ========== */
.footer {
  background: #050608;
  border-top: 1px solid var(--rule);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--gold); }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > .panel { padding: 80px 28px; min-height: auto; }
  .panel.has-img .img-wrap { min-height: 380px; }
  .slide { padding: 100px 28px 70px; }
  .full { padding: 100px 24px 70px; }
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-burger {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border: 1px solid var(--rule);
    border-radius: 8px;
  }
  .steps { flex-direction: column; gap: 24px; }
  .step-arrow { display: none !important; }
  .step-desc { max-width: 240px; }
  .leave-grid { grid-template-columns: repeat(2, 1fr); }
  .no-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}

/* ========== Reveal animation ========== */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.in {
  animation: revealIn .9s ease forwards;
}
/* Hero content is above-the-fold — show immediately, no reveal */
.hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}
