* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0d1420;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c6a24a, #e2c982, #c6a24a);
  border-radius: 3px;
  opacity: var(--thumb-opacity, 0);
  transition: opacity 0.3s;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #c6a24a #0d1420;
}
body {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #ece6d7;
  background: #0d1420;
  line-height: 1.7;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

/* ----- Focus + skip link ----- */
:focus-visible {
  outline: 2px solid #e2c982;
  outline-offset: 4px;
  border-radius: 2px;
}
main:focus {
  outline: none;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: #e2c982;
  color: #0d1420;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ----- Animations ----- */
.reveal {
  opacity: 1;
}
.no-js .reveal {
  opacity: 1;
}
:not(.no-js) .reveal {
  opacity: 0;
}
.section-visible .reveal {
  animation: fadeInScale 0.35s ease forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ----- Site Header + Progress Bar ----- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 100;
  pointer-events: none;
}
/* Transparente sobre el inicio; el fondo aparece al bajar (solo opacidad, sin repintar) */
#site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 30, 0.94);
  border-bottom: 1px solid rgba(226, 201, 130, 0.1);
  opacity: 0;
  transition: opacity 0.35s ease;
}
#site-header.is-solid::before,
body.no-scroll #site-header::before {
  opacity: 1;
}
#progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}
#progress-fill {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: linear-gradient(90deg, #c6a24a, #e2c982, #c6a24a);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 12px rgba(226, 201, 130, 0.3);
}
/* Logo a la izquierda, menú a la derecha */
.header-inner {
  position: relative;
  /* Sobre el menú móvil (z-index 99) para que la hamburguesa siga visible al abrirlo */
  z-index: 100;
  height: 100%;
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  pointer-events: auto;
  flex-shrink: 0;
}
.brand-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
/* Estrella de 8 puntas (dos cuadrados) alrededor del emblema */
.brand-star {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(226, 201, 130, 0.6);
  background: rgba(226, 201, 130, 0.04);
}
.brand-star + .brand-star {
  transform: rotate(45deg);
}
.brand-emblem img {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(226, 201, 130, 0.4);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: #f1ebdd;
  white-space: nowrap;
}
.brand-accent {
  color: #e2c982;
}
.brand-sub {
  margin-top: 6px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2c982;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
  pointer-events: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
}
.header-nav-link {
  font-family: "Geist", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  color: rgba(236, 230, 215, 0.72);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  position: relative;
}
.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: #e2c982;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-nav-btn::after {
  display: none;
}
.header-nav-link:hover {
  color: #e2c982;
}
.header-nav-link:hover::after {
  transform: scaleX(0.6);
}
.header-nav-link.active {
  color: #e2c982;
}
.header-nav-link.active::after {
  transform: scaleX(1);
}
.nav-sep {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: rgba(226, 201, 130, 0.2);
  align-self: center;
}
.lang-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  font-family: "Geist", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  padding: 0;
  color: rgba(236, 230, 215, 0.55);
  color: #e2c982;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lang-nav-btn .lang-icon {
  width: 14px;
  height: 14px;
  color: #e2c982;
}

/* ----- Hamburger ----- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  width: 22px;
  height: 18px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(236, 230, 215, 0.35);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger:hover span {
  background: #e2c982;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ----- Mobile Menu Overlay ----- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(13, 20, 32, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav-link {
  font-family: "Geist", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(236, 230, 215, 0.62);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #e2c982;
}
.mobile-menu-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 201, 130, 0.15);
}
.mobile-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Geist", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(236, 230, 215, 0.6);
  transition: color 0.3s;
  padding: 0;
}
.mobile-lang-btn:hover,
.mobile-lang-btn.active {
  color: #e2c982;
}
.mobile-lang-sep {
  color: rgba(226, 201, 130, 0.25);
  font-size: 0.85rem;
}

/* ----- Layout ----- */
section {
  min-height: 100vh;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slide-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.gobernanza .container {
  text-align: left;
}
.section-tag {
  font-family: "Geist", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c6a24a;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-title {
  font-size: 3.2rem;
  line-height: 1.1;
  color: #ece6d7;
  margin-bottom: 20px;
}
.sectores-desc {
  color: rgba(236, 230, 215, 0.68);
  max-width: 600px;
  margin: 0 auto 8px;
  font-weight: 300;
  text-wrap: balance;
}

/* ----- Patrón: estrella de 8 puntas (la misma del header) ----- */
/* Fino y solo en una esquina, desvaneciéndose; en dos secciones. */
.proposito::before,
.gobernanza::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23E2C982' stroke-width='0.8' opacity='0.4'%3E%3Crect x='27' y='27' width='18' height='18'/%3E%3Crect x='27' y='27' width='18' height='18' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(560px 420px at 100% 0%, #000 0, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
  mask-image: radial-gradient(560px 420px at 100% 0%, #000 0, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
}
.gobernanza::before {
  -webkit-mask-image: radial-gradient(560px 420px at 0% 100%, #000 0, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
  mask-image: radial-gradient(560px 420px at 0% 100%, #000 0, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
}
.sectores .slide-content,
.proposito .slide-content,
.gobernanza .slide-content {
  position: relative;
  z-index: 1;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 104px clamp(20px, 5vw, 64px) 72px;
  background: #0b1524;
  overflow: hidden;
  isolation: isolate;
}
/* La foto va en variables: script.js calcula tamaño y posición para que el
   horizonte quede detrás del globo en cualquier proporción de pantalla.
   Sin JS se usan estos valores por defecto. */
.hero-bg {
  --photo: url("images/hero/hero-bg.webp");
  --photo-pos: 92% 72%;
  --photo-size: cover;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 16, 28, 0.86) 0%, rgba(9, 16, 28, 0.55) 34%, rgba(9, 16, 28, 0) 62%),
    linear-gradient(180deg, rgba(9, 16, 28, 0.55) 0%, rgba(9, 16, 28, 0) 26%, rgba(13, 20, 32, 0) 76%, #0d1420 100%),
    var(--photo) var(--photo-pos) / var(--photo-size) no-repeat;
  will-change: opacity;
}
/* Pantallas altas o casi cuadradas: imagen vertical (con cielo extra arriba) */
@media (max-aspect-ratio: 13/10) {
  .hero-bg {
    --photo: url("images/hero/hero-bg-phone.webp");
    --photo-pos: center 62%;
  }
}
@media (max-aspect-ratio: 13/10) and (min-width: 769px) {
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(9, 16, 28, 0.8) 0%, rgba(9, 16, 28, 0.45) 45%, rgba(9, 16, 28, 0) 75%),
      linear-gradient(180deg, rgba(9, 16, 28, 0.5) 0%, rgba(9, 16, 28, 0) 30%, rgba(13, 20, 32, 0) 78%, #0d1420 100%),
      var(--photo) var(--photo-pos) / var(--photo-size) no-repeat;
  }
}
/* Grano sutil para que el cielo no se vea plano */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero-copy {
  max-width: 660px;
}
.hero-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e2c982;
  font-weight: 500;
}
/* Línea dorada corta bajo el texto */
.hero-eyebrow::after {
  content: "";
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, #e2c982, rgba(226, 201, 130, 0.35));
}
.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  white-space: nowrap;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #f1ebdd;
  font-weight: 600;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero-accent {
  color: #e2c982;
  font-style: italic;
  font-weight: 500;
}
.hero-lead {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: rgba(236, 230, 215, 0.8);
  max-width: 46ch;
  font-weight: 300;
  margin-bottom: 38px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
}
/* Botón principal: forma de hoja (como las tarjetas) con la flecha en un cuadro dorado */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 20px;
  border-radius: 14px 0 14px 0;
  border: 1px solid rgba(226, 201, 130, 0.55);
  background: rgba(226, 201, 130, 0.08);
  color: #f1ebdd;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px 0 10px 0;
  background: #e2c982;
  color: #0d1420;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ico svg {
  width: 16px;
  height: 16px;
}
.btn-primary:hover {
  background-color: rgba(226, 201, 130, 0.15);
  border-color: #e2c982;
}
.btn-primary:hover .btn-ico {
  transform: translateX(3px);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #ece6d7;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}
.btn-link svg {
  width: 18px;
  height: 18px;
  color: #e2c982;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-link:hover {
  color: #e2c982;
}
.btn-link:hover svg {
  transform: translateX(4px);
}
.hero-globe-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  justify-self: end;
}
.hero-globe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Entrada del inicio: texto escalonado y globo que aparece después */
@media (prefers-reduced-motion: no-preference) {
  .hero.section-visible .reveal {
    animation-name: heroUp;
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
  }
  .hero .hero-eyebrow {
    animation-delay: 0.05s;
  }
  .hero .hero-title {
    animation-delay: 0.14s;
  }
  .hero .hero-lead {
    animation-delay: 0.24s;
  }
  .hero .hero-actions {
    animation-delay: 0.34s;
  }
  .hero-globe-wrap {
    animation: globeIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  }
}
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes globeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ----- Sectores (bento) ----- */
.sectores {
  position: relative;
  background: linear-gradient(165deg, #0a1628 0%, #0d1420 50%, #0a1628 100%);
  border-bottom: 1px solid rgba(226, 201, 130, 0.06);
}
.sectores .slide-content,
.sectores .container {
  max-width: 1240px;
}
.sectores .container {
  text-align: left;
}
.sectores-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.sectores-head .section-title {
  margin-bottom: 14px;
}
.sectores-head .sectores-desc {
  margin: 0;
  max-width: 52ch;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.bento-feature,
.bento-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px 0 20px 0;
  border: 1px solid rgba(226, 201, 130, 0.12);
  background: #0c1626;
  transition: border-color 0.4s ease;
}
/* Borde que se ilumina bajo el cursor (--mx/--my los pone script.js) */
.bento-feature::after,
.bento-tile::after,
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(236, 215, 159, 0.75),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.bento-feature:hover::after,
.bento-tile:hover::after,
.spot:hover::before {
  opacity: 1;
}
.bento-feature:hover,
.bento-tile:hover {
  border-color: rgba(226, 201, 130, 0.22);
}
.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(226, 201, 130, 0.3);
  background: rgba(9, 16, 28, 0.55);
  color: #e2c982;
}
.bento-ico {
  width: 20px;
  height: 20px;
}

/* Tarjetas destacadas con imagen */
.bento-feature {
  grid-column: span 6;
  min-height: 254px;
  display: flex;
  align-items: flex-end;
}
.bento-feature--lg {
  grid-row: span 2;
  min-height: 520px;
}
.bento-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0) 42%, rgba(8, 14, 24, 0.45) 68%, rgba(8, 14, 24, 0.86) 100%),
    linear-gradient(90deg, rgba(8, 14, 24, 0.3), rgba(8, 14, 24, 0) 55%);
}
.bento-feature:hover img {
  transform: scale(1.06);
}
.bento-feature-body {
  padding: 28px 30px;
}
.bento-feature h3 {
  margin: 16px 0 6px;
  font-size: 2rem;
  line-height: 1.05;
  color: #f1ebdd;
}
.bento-feature--lg h3 {
  font-size: 2.6rem;
}
.bento-feature p {
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(236, 230, 215, 0.8);
}

/* Mosaicos compactos */
.bento-tile {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 22px 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(226, 201, 130, 0.06), transparent 55%),
    #0c1626;
}
.bento-tile h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 600;
  color: #ece6d7;
}
.bento-tile--cta {
  grid-column: span 6;
  text-decoration: none;
  background:
    linear-gradient(110deg, rgba(226, 201, 130, 0.14), rgba(226, 201, 130, 0.03) 60%),
    #0c1626;
  border-color: rgba(226, 201, 130, 0.22);
}
.bento-cta-copy {
  flex: 1;
  min-width: 0;
}
.bento-cta-text {
  margin-top: 2px;
  font-size: 0.85rem;
  color: rgba(236, 230, 215, 0.7);
}
.bento-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: #e2c982;
}
.bento-cta-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-tile--cta:hover .bento-cta-link svg {
  transform: translateX(4px);
}
.bento-tile--cta:active {
  transform: scale(0.99);
}

/* Entrada escalonada */
@media (prefers-reduced-motion: no-preference) {
  .sectores.section-visible .bento > .reveal {
    animation-name: heroUp;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
  }
  .bento > :nth-child(2) { animation-delay: 0.06s; }
  .bento > :nth-child(3) { animation-delay: 0.12s; }
  .bento > :nth-child(4) { animation-delay: 0.18s; }
  .bento > :nth-child(5) { animation-delay: 0.21s; }
  .bento > :nth-child(6) { animation-delay: 0.24s; }
  .bento > :nth-child(7) { animation-delay: 0.27s; }
  .bento > :nth-child(8) { animation-delay: 0.3s; }
  .bento > :nth-child(9) { animation-delay: 0.33s; }
  .bento > :nth-child(10) { animation-delay: 0.36s; }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .bento-feature {
    grid-column: span 3;
  }
  .bento-feature--lg {
    grid-column: span 6;
    grid-row: auto;
    min-height: 360px;
  }
  .bento-tile {
    grid-column: span 2;
  }
  .bento-tile--cta {
    grid-column: span 6;
  }
}

/* ----- Propósito: misión y visión en un solo panel ----- */
.proposito {
  position: relative;
  background: #0d1420;
}
.proposito .slide-content,
.proposito .container {
  max-width: 1240px;
}
.proposito .section-title {
  margin-bottom: 40px;
}
.prop-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: "Geist", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e2c982;
}
.prop-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #e2c982, rgba(226, 201, 130, 0.2));
}
.prop-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 1px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px);
  border-radius: 28px 0 28px 0;
  border: 1px solid rgba(226, 201, 130, 0.24);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(226, 201, 130, 0.09), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(60, 96, 150, 0.16), transparent 60%),
    linear-gradient(160deg, #101b2d 0%, #0b1424 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 80px -40px rgba(3, 8, 16, 0.9);
}
/* Esquinas doradas en los vértices rectos de la hoja */
.prop-panel::before,
.prop-panel::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: none;
}
.prop-panel::before {
  top: 14px;
  right: 14px;
  border-top: 1px solid rgba(226, 201, 130, 0.7);
  border-right: 1px solid rgba(226, 201, 130, 0.7);
}
.prop-panel::after {
  bottom: 14px;
  left: 14px;
  border-bottom: 1px solid rgba(226, 201, 130, 0.7);
  border-left: 1px solid rgba(226, 201, 130, 0.7);
}
/* Estrella de 8 puntas grande y tenue detrás del texto */
.prop-star {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(520px, 70%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: rgba(226, 201, 130, 0.07);
  pointer-events: none;
}
.prop-divider {
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(226, 201, 130, 0.45) 20%, rgba(226, 201, 130, 0.45) 80%, transparent);
}
.prop-statement {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 1.75vw, 1.7rem);
  line-height: 1.4;
  font-weight: 500;
  color: rgba(236, 230, 215, 0.9);
  text-wrap: pretty;
}
.prop-em {
  color: #e2c982;
  font-style: italic;
}
@media (prefers-reduced-motion: no-preference) {
  .proposito.section-visible .reveal {
    animation-name: heroUp;
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
  }
  .proposito .prop-panel {
    animation-delay: 0.1s;
  }
}

/* ----- Gobernanza + Consejo ----- */
.gobernanza .slide-content,
.gobernanza .container,
.consejo .slide-content,
.consejo .container {
  max-width: 1240px;
}
.spot {
  position: relative;
}
.gobernanza {
  position: relative;
  background: linear-gradient(165deg, #0a1628 0%, #0d1420 50%, #0a1628 100%);
  border-top: 1px solid rgba(226, 201, 130, 0.06);
  border-bottom: 1px solid rgba(226, 201, 130, 0.06);
}
.consejo {
  position: relative;
  background: #0d1420;
  /* Solo 3 tarjetas: sin altura de pantalla completa para que no quede hueca */
  min-height: auto;
}
.consejo .container {
  text-align: left;
}
.consejo .sectores-desc {
  margin: 0;
  max-width: 52ch;
}
.consejo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(198, 162, 74, 0.07), transparent 70%);
}
.consejo .slide-content {
  position: relative;
  z-index: 1;
}

/* Small gold label between groups (same style as the mission/vision labels) */
.gov-label {
  font-size: 0.74rem;
  color: #e2c982;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 28px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.gov-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #e2c982, rgba(226, 201, 130, 0.2));
}

/* Leaders: horizontal cards (photo left, role + name right) */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* Directiva: presidente y vicepresidente, alineados con los 2 de directores */
.leaders-grid--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
/* Consejo empresarial: mismo formato que la directiva */
.council-leaders {
  margin-top: 20px;
}
.person-company {
  margin-top: 6px;
  font-size: 0.88rem;
  color: rgba(236, 230, 215, 0.66);
}
.leader {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 22px;
  text-align: left;
  border: 1px solid rgba(226, 201, 130, 0.22);
  border-radius: 20px 0 20px 0;
  background: rgba(10, 22, 40, 0.65);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.leader-photo {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #e9e9ea;
  box-shadow: 0 0 0 4px rgba(226, 201, 130, 0.08);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.leader-text .person-role {
  margin-bottom: 6px;
}
.leader-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ece6d7;
  text-wrap: balance;
}
@media (hover: hover) {
  .leader:hover {
    transform: translateY(-4px);
    border-color: #e2c982;
    box-shadow:
      0 16px 36px rgba(3, 8, 16, 0.55),
      0 0 28px rgba(226, 201, 130, 0.1);
  }
  .leader:hover .leader-photo {
    transform: scale(1.04);
  }
}
/* Tablet: 3 columns are too narrow for side-by-side, stack photo over text */
@media (min-width: 769px) and (max-width: 1080px) {
  .leaders-grid:not(.leaders-grid--two) .leader {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 22px 16px;
  }
}
.leaders-grid + .directors-grid {
  margin-top: 28px;
}

/* Person card (council) */
.council-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px auto 0;
}
.person-card {
  position: relative;
  text-align: center;
  border: 1px solid rgba(226, 201, 130, 0.14);
  border-radius: 20px 0 20px 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.2) 0%,
    rgba(198, 162, 74, 0.05) 100%
  );
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.person-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2c982, transparent);
  opacity: 0.5;
  z-index: 2;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s;
}
.person-card.spot::before {
  z-index: 4;
}
.person-card--lead {
  border-color: rgba(226, 201, 130, 0.35);
}
.person-card--lead::after {
  opacity: 1;
}
.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9e9ea;
}
.person-photo::after {
  /* Soft navy fade so the light photo background melts into the card */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(13, 20, 32, 0.4));
  pointer-events: none;
}
.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  filter: saturate(0.92);
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s;
}
.person-body {
  padding: 18px 16px 22px;
}
.person-role {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c6a24a;
  font-weight: 600;
  margin-bottom: 4px;
}
.person-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: #e2c982;
  text-wrap: balance;
}
@media (hover: hover) {
  .person-card:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 201, 130, 0.6);
    box-shadow:
      0 18px 40px rgba(3, 8, 16, 0.55),
      0 0 32px rgba(226, 201, 130, 0.1);
  }
  .person-card:hover::after {
    transform: scaleX(2.2);
    opacity: 1;
  }
  .person-card:hover .person-photo img {
    transform: scale(1.05);
    filter: saturate(1);
  }
}

/* Directors: two columns of horizontal cards */
.directors-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.director {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 16px;
  text-align: left;
  border: 1px solid rgba(226, 201, 130, 0.16);
  border-radius: 16px 0 16px 0;
  background: rgba(10, 22, 40, 0.65);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.director-photo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #e9e9ea;
}
.director-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ece6d7;
  transition: color 0.3s;
}
@media (hover: hover) {
  .director:hover {
    transform: translateX(4px);
    border-color: #e2c982;
    box-shadow: 0 10px 28px rgba(3, 8, 16, 0.45);
  }
  .director:hover .director-name {
    color: #e2c982;
  }
}

/* Entrance: fade-up with stagger (replaces the global scale-in for people) */
.section-visible .person-card.reveal,
.section-visible .leader.reveal,
.section-visible .director.reveal {
  animation-name: fadeUp;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.leaders-grid .leader:nth-child(1),
.council-grid .person-card:nth-child(1) { animation-delay: 0.1s; }
.leaders-grid .leader:nth-child(2),
.council-grid .person-card:nth-child(2) { animation-delay: 0.18s; }
.leaders-grid .leader:nth-child(3),
.council-grid .person-card:nth-child(3) { animation-delay: 0.26s; }
.council-grid .person-card:nth-child(4) { animation-delay: 0.34s; }
.director:nth-child(1) { animation-delay: 0.3s; }
.director:nth-child(2) { animation-delay: 0.35s; }
.director:nth-child(3) { animation-delay: 0.4s; }
.director:nth-child(4) { animation-delay: 0.45s; }
.director:nth-child(5) { animation-delay: 0.5s; }
.director:nth-child(6) { animation-delay: 0.55s; }
.director:nth-child(7) { animation-delay: 0.6s; }

/* ----- Noticias ----- */
.noticias {
  position: relative;
  background: linear-gradient(165deg, #0a1628 0%, #0d1420 50%, #0a1628 100%);
  border-top: 1px solid rgba(226, 201, 130, 0.06);
}
.noticias .slide-content,
.noticias .container {
  max-width: 1240px;
}
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.news-head .sectores-desc {
  margin: 0;
  max-width: 52ch;
}
.news-head .section-title {
  margin-bottom: 14px;
}
.news-head .news-all {
  flex-shrink: 0;
  margin-bottom: 4px;
}
/* 1 destacada + 2 compactas */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px;
}
.news-grid > .news-card:first-child {
  grid-row: span 2;
}
.news-grid > .news-card:only-child {
  grid-column: 1 / -1;
  grid-row: auto;
  flex-direction: row;
}
/* Una sola noticia: tarjeta horizontal (imagen a la izquierda, texto a la derecha) */
.news-grid > .news-card:only-child .news-card-media {
  flex: 0 0 48%;
  aspect-ratio: auto;
  min-height: 320px;
}
.news-grid > .news-card:only-child .news-card-body {
  justify-content: center;
}
.news-grid > .news-card:first-child .news-card-title {
  font-size: 1.9rem;
}
.news-grid > .news-card:first-child .news-card-body {
  padding: 24px 28px 28px;
}
.news-grid > .news-card:first-child .news-card-media {
  aspect-ratio: 16 / 9;
}
.news-grid > .news-card:not(:first-child) {
  flex-direction: row;
}
.news-grid > .news-card:not(:first-child) .news-card-media {
  flex: 0 0 38%;
  aspect-ratio: auto;
}
.news-grid > .news-card:not(:first-child) .news-card-excerpt {
  -webkit-line-clamp: 2;
}
.news-grid:empty {
  display: none;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0c1626;
  border: 1px solid rgba(226, 201, 130, 0.14);
  border-radius: 20px 0 20px 0;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.news-card:nth-child(2) {
  animation-delay: 0.08s;
}
.news-card:nth-child(3) {
  animation-delay: 0.16s;
}
.news-card:focus-within {
  border-color: #e2c982;
}
.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1628;
}
.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Portada de marca para noticias de la Cámara sin foto */
.news-card-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(9, 16, 28, 0.15), rgba(9, 16, 28, 0.6)),
    url("images/hero/hero-bg.webp") 62% 68% / cover no-repeat;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-cover-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
}
.news-cover-star {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(226, 201, 130, 0.75);
  background: rgba(9, 16, 28, 0.35);
}
.news-cover-star + .news-cover-star {
  transform: rotate(45deg);
}
.news-cover-emblem img {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
@media (hover: hover) {
  .news-card:hover .news-card-cover {
    transform: scale(1.04);
  }
}
/* Nota de prensa sin foto: la misma portada, con el nombre del medio bajo el emblema */
.news-card-cover.is-press {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
}
.news-cover-source {
  position: relative;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  color: #e2c982;
  text-align: center;
  text-shadow: 0 1px 12px rgba(9, 16, 28, 0.9);
}
/* En un video sin portada el play va al centro: el nombre queda debajo */
.news-cover-source:only-child {
  margin-top: 96px;
}
.news-grid > .news-card:first-child .news-cover-source {
  font-size: 1.7rem;
}
/* Cada tarjeta muestra otra parte del paisaje: dunas, los Andes, el skyline */
.news-card:nth-child(3n + 2) .news-card-cover {
  background-position: center, 14% 62%;
}
.news-card:nth-child(3n + 3) .news-card-cover {
  background-position: center, 94% 64%;
}
.news-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(13, 20, 32, 0.75);
  border: 1px solid rgba(226, 201, 130, 0.6);
  color: #e2c982;
}
.news-card-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 8px;
  font-size: 0.74rem;
  color: rgba(236, 230, 215, 0.68);
}
.news-card-label {
  font-size: 0.64rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #c6a24a;
}
.news-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
  text-wrap: balance;
}
.news-card-title a {
  color: #ece6d7;
  text-decoration: none;
  transition: color 0.3s;
}
.news-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.news-card-title a:focus-visible {
  outline: none;
}
.news-card-excerpt {
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(236, 230, 215, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2c982;
}
.news-card-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 201, 130, 0.55);
    box-shadow:
      0 18px 40px rgba(3, 8, 16, 0.55),
      0 0 30px rgba(226, 201, 130, 0.08);
  }
  .news-card:hover .news-card-media img {
    transform: scale(1.04);
  }
  .news-card:hover .news-card-title a {
    color: #e2c982;
  }
  .news-card:hover .news-card-more svg {
    transform: translateX(4px);
  }
}
.news-status {
  margin-top: 32px;
  color: rgba(236, 230, 215, 0.68);
}
@media (min-width: 769px) and (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-grid > .news-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
  }
  .news-grid > .news-card:first-child .news-card-media {
    flex: 0 0 50%;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .news-grid > .news-card:first-child .news-card-title {
    font-size: 1.6rem;
  }
  .news-grid > .news-card:not(:first-child) {
    flex-direction: column;
  }
  .news-grid > .news-card:not(:first-child) .news-card-media {
    flex: none;
    aspect-ratio: 16 / 10;
  }
}

/* ----- Contacto (cierre) ----- */
.contacto-section {
  position: relative;
  isolation: isolate;
  background: #0a1628;
}
.contacto-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #0d1420 0%, rgba(13, 20, 32, 0.45) 26%, rgba(9, 16, 28, 0) 56%, rgba(9, 16, 28, 0.2) 82%, #070e1a 100%),
    linear-gradient(90deg, rgba(9, 16, 28, 0.75) 0%, rgba(9, 16, 28, 0.3) 45%, rgba(9, 16, 28, 0) 70%),
    var(--photo) var(--photo-pos) / var(--photo-size) no-repeat;
}
/* Mismo encuadre que el inicio: script.js ajusta foto, tamaño y posición */
.contacto-bg {
  --photo: url("images/hero/hero-bg.webp");
  --photo-pos: center 80%;
  --photo-size: cover;
}
@media (max-aspect-ratio: 13/10) {
  .contacto-bg {
    --photo: url("images/hero/hero-bg-phone.webp");
    --photo-pos: center 90%;
  }
}
.contacto-section .slide-content {
  max-width: 1240px;
}
.contacto-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: clamp(32px, 5vw, 72px);
}
.contacto-statement {
  margin: 20px 0 34px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  line-height: 1.06;
  font-weight: 600;
  color: #f1ebdd;
  max-width: 20ch;
  text-wrap: balance;
}
.contacto-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.contacto-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(226, 201, 130, 0.14);
  border-radius: 16px 0 16px 0;
  background: rgba(11, 20, 34, 0.82);
}
.contacto-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: #ece6d7;
  font-size: 1rem;
}
.contacto-kind {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(236, 230, 215, 0.6);
}
.contacto-meta a {
  color: #ece6d7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}
.contacto-meta a:hover {
  color: #e2c982;
}
@media (prefers-reduced-motion: no-preference) {
  .contacto-section.section-visible .reveal {
    animation-name: heroUp;
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
  }
  .contacto-statement {
    animation-delay: 0.08s;
  }
  .contacto-copy .btn-primary {
    animation-delay: 0.16s;
  }
  .contacto-list {
    animation-delay: 0.24s;
  }
}

/* ----- Footer (mismo formato que el portal de pagos) ----- */
.site-footer {
  padding: 30px clamp(20px, 5vw, 64px);
  background: #08111e;
  color: #a6b1be;
  border-top: 1px solid rgba(201, 171, 112, 0.24);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 22px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 171, 112, 0.24);
}
.footer-mark img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
}
.footer-name {
  display: flex;
  flex-direction: column;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: #f9f5ed;
}
.footer-name small {
  margin-top: 2px;
  font-family: "Geist", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c8a969;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.72rem;
  color: #a6b1be;
}
/* ----- Back to top ----- */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(226, 201, 130, 0.1);
  border: 1px solid rgba(226, 201, 130, 0.2);
  color: #e2c982;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
  z-index: 90;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover {
  background: #e2c982;
  color: #0d1420;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(226, 201, 130, 0.2);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hero {
    padding: 92px 20px 40px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(9, 16, 28, 0.7) 0%, rgba(9, 16, 28, 0.35) 40%, rgba(9, 16, 28, 0) 62%, rgba(13, 20, 32, 0.15) 88%, #0d1420 100%),
      var(--photo) var(--photo-pos) / var(--photo-size) no-repeat;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hero-globe-wrap {
    justify-self: center;
    width: 84%;
    max-width: 380px;
  }
  .hero-title {
    white-space: normal;
  }
  .hero-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 20px;
  }
  .hero-lead {
    margin-bottom: 28px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.no-scroll {
    overflow: hidden;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .sectores-head {
    margin-bottom: 28px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .bento-feature,
  .bento-feature--lg {
    grid-column: span 2;
    grid-row: auto;
    min-height: 230px;
  }
  .bento-feature--lg {
    min-height: 300px;
  }
  .bento-feature-body {
    padding: 22px;
  }
  .bento-feature h3,
  .bento-feature--lg h3 {
    font-size: 1.8rem;
  }
  .bento-tile {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }
  .bento-tile h3 {
    font-size: 1.2rem;
  }
  .bento-tile--cta {
    grid-column: span 2;
  }
  .proposito .section-title {
    margin-bottom: 28px;
  }
  .prop-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }
  .prop-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(226, 201, 130, 0.45), transparent);
  }
  .prop-statement {
    font-size: 1.3rem;
  }
  .council-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .leaders-grid,
  .directors-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .leader {
    padding: 16px 18px;
    gap: 18px;
  }
  .leader-photo {
    width: 84px;
    height: 84px;
  }
  .leader-name {
    font-size: 1.35rem;
  }
  .person-name {
    font-size: 1.2rem;
  }
  .person-body {
    padding: 14px 10px 16px;
  }
  .person-role {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }
  .director {
    gap: 18px;
  }
  .director-photo {
    width: 56px;
    height: 56px;
  }
  .news-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }
  .news-grid > .news-card:first-child {
    grid-row: auto;
  }
  .news-grid > .news-card:only-child {
    flex-direction: column;
  }
  .news-grid > .news-card:only-child .news-card-media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .news-grid > .news-card:first-child .news-card-title {
    font-size: 1.5rem;
  }
  .news-grid > .news-card:first-child .news-card-body {
    padding: 18px 20px 20px;
  }
  .news-grid > .news-card:not(:first-child) .news-card-media {
    flex-basis: 34%;
  }
  .news-grid > .news-card:not(:first-child) .news-card-excerpt {
    display: none;
  }
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contacto-statement {
    font-size: 2.1rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contacto-list {
    margin-top: 28px;
  }
  /* Celular: capas más suaves para que el horizonte se vea entre y bajo las tarjetas */
  .contacto-section {
    padding-bottom: 150px;
  }
  .contacto-bg {
    background:
      linear-gradient(180deg, #0d1420 0%, rgba(13, 20, 32, 0.6) 30%, rgba(9, 16, 28, 0.1) 68%, rgba(9, 16, 28, 0.3) 90%, #070e1a 100%),
      var(--photo) var(--photo-pos) / var(--photo-size) no-repeat;
  }
  .site-footer {
    padding-bottom: 88px;
  }
  .back-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal::before,
  .reveal::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .section-visible .reveal {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Hasta 1100 px no caben logo + 7 enlaces: el menú pasa a la hamburguesa */
@media (max-width: 1100px) {
  .nav-links,
  .header-nav .nav-sep,
  .header-nav .lang-nav-btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  #site-header {
    height: 64px;
  }
  .brand-emblem {
    width: 40px;
    height: 40px;
  }
  .brand-emblem img {
    width: 22px;
    height: 22px;
  }
  .header-brand {
    gap: 11px;
  }
  .brand-divider {
    height: 28px;
  }
  .brand-name {
    font-size: 1.22rem;
  }
  .brand-sub {
    margin-top: 5px;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
}

/* Tarjetas chicas en el celular: emblema más chico para que quepa el medio */
@media (max-width: 768px) {
  .news-grid > .news-card:not(:first-child) .news-cover-emblem {
    width: 60px;
    height: 60px;
  }
  .news-grid > .news-card:not(:first-child) .news-cover-star {
    inset: 8px;
  }
  .news-grid > .news-card:not(:first-child) .news-cover-emblem img {
    width: 28px;
    height: 28px;
  }
  .news-grid > .news-card:not(:first-child) .news-cover-source {
    font-size: 1.05rem;
  }
  .news-grid > .news-card:not(:first-child) .news-cover-source:only-child {
    margin-top: 84px;
  }
}
