/* ============================================================
   Fundación Viviendo Diferente — Hojas de estilo
   Paleta inspirada en el logo: teal profundo, dorado y rojo coral
   ============================================================ */

:root {
  --teal-900: #11424d;
  --teal-800: #155a66;
  --teal-700: #1b6f7e;
  --teal-600: #26889a;
  --teal-500: #39a3b3;
  --teal-300: #9bd3da;
  --teal-100: #e6f3f5;

  --gold-700: #b88a2c;
  --gold-600: #d29c2f;
  --gold-500: #e9b44c;
  --gold-400: #f0c66c;
  --gold-100: #fbecc8;

  --red-700: #b13524;
  --red-600: #c93b2b;
  --red-500: #d6492f;
  --red-400: #e2674f;

  --cream: #fdf9f2;
  --cream-2: #f6efe2;
  --paper: #ffffff;
  --ink: #1f2d3a;
  --ink-soft: #4a5a66;
  --muted: #8a98a3;
  --line: #e6e2d6;

  --shadow-sm: 0 2px 8px rgba(17, 66, 77, 0.08);
  --shadow-md: 0 10px 30px rgba(17, 66, 77, 0.12);
  --shadow-lg: 0 20px 60px rgba(17, 66, 77, 0.18);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  --container: 1200px;
  --container-narrow: 860px;

  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); text-decoration: underline; }

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

em { color: var(--teal-700); font-style: italic; }
strong { color: var(--teal-900); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--teal-900);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 .75em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: 90px 0;
  position: relative;
}
.section--cream { background: var(--cream); }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.section__title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: .35em;
}
.section__sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-700);
  padding: 6px 14px;
  border: 1.5px solid var(--gold-500);
  border-radius: 999px;
  background: rgba(233, 180, 76, 0.08);
  margin-bottom: 14px;
}
.eyebrow--teal { color: var(--teal-700); border-color: var(--teal-500); background: rgba(41, 132, 148, 0.07); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

.btn--gold { background: var(--gold-500); color: var(--teal-900); }
.btn--gold:hover { background: var(--gold-600); color: var(--teal-900); }

.btn--red { background: var(--red-500); color: #fff; }
.btn--red:hover { background: var(--red-600); color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: var(--cream);
  font-size: .85rem;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 42px;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 24px;
}
.topbar__verse {
  margin: 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--gold-100);
  opacity: .9;
}
.topbar__links { display: flex; gap: 18px; }
.topbar__link {
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 6px;
  opacity: .9;
  transition: opacity .2s;
}
.topbar__link:hover { opacity: 1; color: var(--gold-400); text-decoration: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 249, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px;
  padding: 12px 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand__logo { height: 54px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__tag {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 2px;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal-900);
  letter-spacing: .01em;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  color: var(--teal-900);
  font-weight: 700;
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold-500);
  transition: width .25s ease;
}
.nav__link:hover { color: var(--teal-900); text-decoration: none; }
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 10px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1.5px solid var(--teal-700);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 55%, var(--teal-600) 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 90px 0 130px;
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  background: var(--teal-900);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(17, 66, 77, 0.78) 0%, rgba(27, 111, 126, 0.62) 55%, rgba(38, 136, 154, 0.55) 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(233, 180, 76, 0.18), transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(214, 73, 47, 0.18), transparent 38%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  text-align: center;
}
.hero__content { max-width: 820px; margin: 0 auto; width: 100%; }
.hero__content .eyebrow {
  color: var(--gold-400);
  border-color: var(--gold-500);
  background: rgba(233, 180, 76, 0.12);
}
.hero__title {
  font-size: clamp(2.2rem, 8vw, 5rem);
  color: #fff;
  margin-bottom: .35em;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero__title em {
  color: var(--gold-400);
  font-style: italic;
  font-weight: 600;
}
.hero__text {
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto 1.8em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero__text strong { color: var(--gold-400); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 90px;
  z-index: 2;
}
.hero__wave svg { width: 100%; height: 100%; display: block; }
.hero__wave svg path { fill: var(--cream); }

/* ---------- Stats ---------- */
.stats {
  background: var(--cream);
  padding: 60px 0 90px;
  margin-top: -30px;
  position: relative;
  z-index: 3;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.stat { text-align: center; padding: 10px 14px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1;
}
.stat__plus { font-family: var(--font-serif); font-size: 2rem; color: var(--gold-600); margin-left: 2px; }
.stat__label {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 8px 0 0;
  line-height: 1.4;
}

/* ---------- About ---------- */
.about .section__head { text-align: center; }
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 70px;
}
.about__text p { font-size: 1.02rem; color: var(--ink-soft); }
.about__text a { color: var(--teal-700); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }

.about__card {
  background: linear-gradient(160deg, #fff 0%, var(--cream-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.about__card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--teal-700), var(--gold-500), var(--red-500));
}
.about__card-icon {
  width: 48px; height: 48px;
  color: var(--red-500);
  margin-bottom: 14px;
}
.about__card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: var(--teal-900);
}
.about__card p { color: var(--ink-soft); }
.about__card-seal {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Misión / Visión */
.mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv__card {
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mv__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv__card h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}
.mv__card p { color: var(--ink-soft); font-size: 1rem; }
.mv__card--mission { border-top: 6px solid var(--teal-700); }
.mv__card--vision  { border-top: 6px solid var(--gold-500); }

/* ---------- Programs (tabs) ---------- */
.programs { background: var(--cream); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--teal-800);
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.tab:hover { color: var(--teal-900); transform: translateY(-1px); }
.tab__num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}
.tab.is-active { background: var(--teal-700); color: #fff; }
.tab.is-active .tab__num { background: var(--gold-500); color: var(--teal-900); }

.panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
  animation: fadeUp .35s ease both;
}
.panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.panel__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--teal-900);
  margin-bottom: 8px;
}
.panel__lead { color: var(--ink-soft); font-size: 1.05rem; }
.panel__audience {
  background: var(--teal-100);
  color: var(--teal-900);
  border-left: 4px solid var(--gold-500);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .96rem;
  margin: 16px 0 24px;
}
.panel__main h4 {
  font-size: 1.15rem;
  color: var(--teal-900);
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 24px 0 10px;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 38%, transparent 40%),
    linear-gradient(135deg, var(--teal-700), var(--teal-500));
  box-shadow: 0 0 0 3px rgba(38, 136, 154, 0.15);
}

.panel__how {
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-800) 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 30px;
  position: relative;
  overflow: hidden;
}
.panel__how::before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 180, 76, 0.15), transparent 60%);
  pointer-events: none;
}
.panel__how-tag {
  display: inline-block;
  background: var(--gold-500);
  color: var(--teal-900);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.panel__how p { color: rgba(255,255,255,0.85); }
.panel__how .quote { background: rgba(255,255,255,0.06); }
.panel__how strong { color: var(--gold-400); }

.quote {
  margin: 18px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gold-500);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}
.quote cite {
  display: block;
  margin-top: 10px;
  font-size: .9rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--gold-400);
}

.howlist { list-style: none; padding: 0; margin: 14px 0 0; }
.howlist > li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: .96rem;
}
.howlist > li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.howlist > li::before {
  content: "";
  position: absolute; left: 0; top: 22px;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.howlist strong { color: var(--gold-400); }

.phases {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 6px;
  border-left: 1px dashed rgba(255,255,255,0.18);
  padding-left: 16px;
}
.phases li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: rgba(255,255,255,0.78);
  font-size: .92rem;
}
.phases li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(57, 163, 179, 0.25);
}
.phases span {
  display: block;
  font-weight: 800;
  color: var(--gold-400);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(17, 66, 77, 0.92), rgba(38, 136, 154, 0.92)),
    radial-gradient(circle at 80% 0%, rgba(233, 180, 76, 0.4), transparent 40%);
  color: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 100%, rgba(214, 73, 47, 0.35), transparent 40%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band__actions .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.accordion__item.is-open {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
}
.accordion__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal-900);
  font-family: var(--font-sans);
  transition: background .2s ease;
}
.accordion__btn:hover { background: var(--teal-100); }
.accordion__icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  color: var(--teal-700);
  margin-left: 18px;
  transition: transform .25s ease;
}
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); color: var(--gold-600); }
.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion__content p {
  padding: 0 26px 24px;
  margin: 0;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}
.accordion__content a { color: var(--teal-700); text-decoration: underline; text-decoration-color: var(--gold-500); }

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-900);
  color: var(--cream);
  padding-top: 70px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand { padding-right: 20px; }
.footer__logo {
  height: 72px;
  margin-bottom: 14px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
}
.footer__motto {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.footer__desc { color: rgba(255,255,255,0.7); font-size: .95rem; }

.footer__col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}
.footer__link {
  display: block;
  color: rgba(255,255,255,0.78);
  padding: 6px 0;
  font-size: .95rem;
  transition: color .2s ease, padding-left .2s ease;
}
.footer__link:hover { color: var(--gold-400); text-decoration: none; padding-left: 4px; }
.footer__note { color: rgba(255,255,255,0.6); font-size: .85rem; margin-top: 12px; line-height: 1.5; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  background: rgba(0,0,0,0.15);
}
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,0.65);
}
.footer__bottom-inner p { margin: 0; }
.footer__credit a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.footer__credit a:hover {
  color: var(--gold-400);
  border-color: var(--gold-400);
  text-decoration: none;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Botón volver arriba ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  min-width: 48px;
  height: 48px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: var(--teal-700);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(17, 66, 77, 0.32);
  border: 2px solid var(--gold-500);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, box-shadow .2s ease, visibility 0s linear .25s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, box-shadow .2s ease, visibility 0s;
}
.to-top:hover {
  background: var(--gold-500);
  color: var(--teal-900);
  border-color: var(--teal-700);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(17, 66, 77, 0.42);
}
.to-top:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}
.to-top svg { display: block; }
.to-top__label {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Sección Misiones en video ---------- */
.video-section { background: var(--cream); }
.video-section.section { padding: 90px 0; }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.video-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17, 66, 77, 0.10);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(17, 66, 77, 0.18);
}

.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--teal-900);
  overflow: hidden;
}
.video-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.video-card__media.is-playing .video-card__poster,
.video-card__media.is-playing .video-card__play { opacity: 0; pointer-events: none; }
.video-card__media.is-playing .video-card__play { display: none; }

.video-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity .3s ease;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(233, 180, 76, 0.95);
  border: 3px solid rgba(255, 255, 255, 0.85);
  color: var(--teal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, background .2s ease;
}
.video-card__play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-500); }
.video-card__play svg { width: 32px; height: 32px; margin-left: 4px; }

.video-card__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(17, 66, 77, 0.85);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}

.video-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.video-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-500);
  background: rgba(41, 132, 148, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.video-card__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--teal-900);
  margin: 0;
}
.video-card__desc { color: var(--ink-soft); margin: 0; line-height: 1.55; }
.video-card__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-soft);
}
.video-card__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.video-card__meta-item svg { width: 16px; height: 16px; opacity: .7; }

.video-section__cta {
  margin-top: 44px;
  text-align: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .videos-grid { grid-template-columns: 1fr; gap: 24px; }
  .video-section.section { padding: 70px 0; }
  .video-card__play { width: 64px; height: 64px; }
  .video-card__play svg { width: 26px; height: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 70px 0; }
  .hero { padding: 50px 0 90px; }
  .hero__inner { min-height: auto; }
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__text { margin-left: auto; margin-right: auto; padding: 0 4px; }
  .hero__actions { justify-content: center; padding: 0 4px; flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }

  .header {
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    border-radius: 0 !important;
    background: transparent !important;
    border-bottom: 0;
    box-shadow: none;
  }
  .header__inner { min-height: 64px; padding: 8px 14px; }
  .brand__logo { height: 40px; }
  .brand__name { font-size: 1.1rem; }
  .brand__tag { font-size: .62rem; letter-spacing: .26em; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); padding: 28px 14px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .mv__grid { grid-template-columns: 1fr; }
  .panel__grid { grid-template-columns: 1fr; gap: 28px; }
  .panel { padding: 30px 26px; }
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; padding-right: 0; text-align: center; }
  .footer__logo { margin: 0 auto 14px; }

  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 8px 0; }
  .nav__cta { margin-left: 0; align-self: center; }
  .burger { display: flex; }
  .header__inner { min-height: 84px; padding: 24px 18px 10px; }
  .brand__name { font-size: 1.2rem; }
  .brand__logo { height: 44px; }
}

@media (max-width: 560px) {
  .topbar { display: none !important; height: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; }
  .hero { padding-top: 112px; }
  .header { top: -14px; }
  body { margin: 0 !important; padding: 0 !important; }
  .hero { margin-top: 0 !important; }
  .tabs { border-radius: 16px; }
  .tab { padding: 10px 14px; font-size: .85rem; }
  .tab__name { display: none; }
  .tab.is-active .tab__name { display: inline; }
  .tabs { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__col h4 { margin-left: auto; margin-right: auto; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .panel { padding: 24px 20px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .to-top { right: 16px !important; bottom: 16px !important; height: 44px; padding: 0 12px 0 10px; }
}
