/* ANAVET — Alianza Nacional de Agencias de Viajes y Empresas Turísticas */
:root {
  --orange: #f16522;
  --orange-deep: #d45212;
  --blue: #0099da;
  --blue-deep: #0077b0;
  --ink: #121826;
  --ink-soft: #2c3548;
  --muted: #5c667a;
  --line: rgba(18, 24, 38, 0.1);
  --paper: #ffffff;
  --mist: #eef3f8;
  --sea: #0b3d5c;
  --shadow-soft: 0 18px 50px rgba(18, 24, 38, 0.12);
  --radius: 4px;
  --nav-h: 190px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- NAV ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled {
  --nav-h: 170px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: grid;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.brand-logo {
  grid-area: 1 / 1;
  height: 290px;
  width: auto;
  max-width: min(760px, 68vw);
  object-fit: contain;
  transition: height 0.35s var(--ease), max-width 0.35s var(--ease), opacity 0.3s ease;
}

/* Sobre la foto: logo-anavet2 (texto blanco) */
.brand-logo-light {
  opacity: 1;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.4));
  pointer-events: auto;
}

.brand-logo-dark {
  opacity: 0;
  pointer-events: none;
}

/* Header blanco: logo original */
.site-header.is-scrolled .brand-logo {
  height: 250px;
}

.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
  pointer-events: none;
  filter: none;
}

.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-header.is-scrolled .nav-links a {
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  background: var(--orange);
  color: #fff !important;
  font-weight: 650;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--orange-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: 0.25s ease;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-weight: 650;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 24, 38, 0.2);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: start;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: heroKen 22s ease-out forwards;
}

@keyframes heroKen {
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 36, 0.55) 0%, rgba(8, 20, 36, 0.22) 38%, rgba(8, 20, 36, 0.78) 100%),
    linear-gradient(100deg, rgba(8, 20, 36, 0.7) 0%, rgba(8, 20, 36, 0.28) 48%, rgba(241, 101, 34, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 0.35rem) 0 5rem;
  align-self: start;
}

.hero-kicker {
  margin: 0 0 0.95rem;
  max-width: 44rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.12s forwards;
}

.hero h1 {
  margin: 0 0 1.15rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.7rem, 5.8vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.22s forwards;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.34s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.46s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- IMPACT STRIP ---------- */
.impact {
  padding: 0;
  background: var(--ink);
  color: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-item {
  padding: 1.85rem 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.35rem;
}

.impact-item:last-child {
  border-right: 0;
}

.impact-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.impact-item span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* ---------- DESTINO (AH Cancun inspired) ---------- */
.destino {
  background: #fff;
}

.destino-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.destino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.destino-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.estados-mosaic {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.estados-mosaic-head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.estados-mosaic-head h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.estados-mosaic-head p {
  margin: 0;
  color: var(--muted);
}

.estados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, 210px);
  gap: 0.75rem;
}

.estado-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.estado-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.estado-shot:hover img {
  transform: scale(1.05);
}

.estado-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0.95rem 0.85rem;
  background: linear-gradient(transparent, rgba(8, 14, 24, 0.88));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
}

.estado-shot-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.estado-shot-wide {
  grid-column: span 2;
}

.estado-shot-banner {
  grid-column: 1 / -1;
  min-height: 260px;
}

.estado-shot-banner img {
  object-position: center 45%;
}

/* ---------- CONSEJO DIRECTIVO ---------- */
.consejo {
  background: #fff;
}

.consejo-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.consejo-featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
  background:
    linear-gradient(120deg, rgba(0, 153, 218, 0.08), rgba(241, 101, 34, 0.06)),
    var(--mist);
  border-left: 4px solid var(--orange);
}

.consejo-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue), #0b5f8a);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.consejo-featured .consejo-avatar {
  width: 92px;
  height: 92px;
  font-size: 1.45rem;
  background: linear-gradient(145deg, var(--orange), var(--orange-deep));
}

.consejo-role {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.consejo-featured-copy h3,
.consejo-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.consejo-featured-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}

.consejo-phone {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}

.consejo-phone:hover {
  color: var(--orange);
}

.consejo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.consejo-card {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  padding: 1.4rem 1.3rem 1.45rem;
  background: var(--mist);
  border-top: 3px solid var(--blue);
}

.consejo-card:nth-child(even) {
  border-top-color: var(--orange);
}

.consejo-card .consejo-avatar {
  width: 58px;
  height: 58px;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.consejo-card h3 {
  font-size: 1.12rem;
}

/* ---------- COMUNIDAD ---------- */
.comunidad {
  position: relative;
  min-height: clamp(420px, 58vw, 560px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.comunidad-media {
  position: absolute;
  inset: 0;
}

.comunidad-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.comunidad-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.15) 0%, rgba(8, 18, 32, 0.82) 100%);
}

.comunidad-copy {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 5rem) 0;
  max-width: 40rem;
}

.comunidad-copy .section-label {
  color: rgba(255, 255, 255, 0.75);
}

.comunidad-copy .section-title {
  color: #fff;
}

.comunidad-copy p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.gallery-grid-dense {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, 240px);
}

.gallery-grid-dense .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 100%;
}

.gallery-grid-dense .gallery-item:nth-child(2) {
  grid-column: span 2;
}

.gallery-grid-dense .gallery-item img {
  min-height: 200px;
}

.destino-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--mist);
  overflow: hidden;
}

.destino-card figure {
  margin: 0;
  overflow: hidden;
}

.destino-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.destino-card:hover img {
  transform: scale(1.05);
}

.destino-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.destino-card-body span {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.destino-card-body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.destino-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- WHY JOIN ---------- */
.why-join {
  background:
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.why-join-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.why-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.85rem 1.6rem 1.7rem;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 10px 36px rgba(18, 24, 38, 0.06);
}

.why-card:nth-child(2) {
  border-top-color: var(--orange);
}

.why-card:nth-child(3) {
  border-top-color: var(--sea);
}

.why-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.why-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.why-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.text-link {
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.01em;
}

.text-link:hover {
  color: var(--orange-deep);
}

.cta-kicker {
  color: rgba(255, 255, 255, 0.75) !important;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- SECTIONS ---------- */
section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-label {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ABOUT ---------- */
.about {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 153, 218, 0.08), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(241, 101, 34, 0.07), transparent 40%),
    var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto -1.1rem -1.1rem auto;
  width: 48%;
  height: 48%;
  border: 2px solid var(--orange);
  z-index: -1;
}

.about-caption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- MISSION / VISION ---------- */
.purpose {
  background: var(--sea);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.purpose::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 153, 218, 0.22), transparent 45%),
    url("../img/costa-pacifico.jpg") center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.purpose .container {
  position: relative;
  z-index: 1;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.purpose-block .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.purpose-block h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.purpose-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

/* ---------- VALUES ---------- */
.values {
  background: var(--mist);
}

.values-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.value-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.value-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 0.2rem;
}

.value-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

/* ---------- SERVICES / PILLARS ---------- */
.pillars {
  background: var(--paper);
}

.pillars-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.pillars-media {
  position: relative;
  overflow: hidden;
}

.pillars-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 2rem 1.5rem 0 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.pillar:not(:last-child) {
  padding-right: 1.75rem;
  margin-right: 1.75rem;
  border-right: 1px solid var(--line);
}

.pillar-index {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.pillar h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

/* ---------- GALLERY ---------- */
.gallery {
  background: var(--ink);
  color: #fff;
}

.gallery .section-label {
  color: rgba(255, 255, 255, 0.65);
}

.gallery .section-title {
  color: #fff;
}

.gallery .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-head {
  margin-bottom: 2.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.gallery-item:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(transparent, rgba(8, 14, 24, 0.85));
  font-size: 0.88rem;
  font-weight: 560;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: #fff;
  overflow: hidden;
}

.cta-band-media {
  position: absolute;
  inset: 0;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 24, 40, 0.88) 0%, rgba(241, 101, 34, 0.72) 100%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 16ch;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: var(--mist);
}

/* ---------- REGIONES ---------- */
.regiones {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 153, 218, 0.08), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(241, 101, 34, 0.07), transparent 38%),
    var(--mist);
}

.regiones-head {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.region-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.region-chip {
  appearance: none;
  border: 1px solid rgba(18, 24, 38, 0.14);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.region-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.region-chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.region-card {
  background: #fff;
  border-top: 3px solid var(--orange);
  padding: 1.35rem 1.3rem 1.4rem;
  display: grid;
  gap: 0.55rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.region-card.is-hidden {
  display: none;
}

.region-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.region-role {
  font-size: 0.78rem;
  color: var(--muted);
}

.region-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.region-phone {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.region-phone:hover {
  color: var(--orange);
}

.region-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.region-actions .btn {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.region-note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.region-note a {
  color: var(--orange);
  font-weight: 700;
}

.region-note a:hover {
  color: var(--orange-deep);
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}

.contact-list a {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink);
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--orange);
}

.contact-panel {
  background: var(--mist);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 2px;
}

.contact-panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.contact-panel > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(18, 24, 38, 0.14);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 153, 218, 0.15);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 153, 218, 0.12);
  color: var(--blue-deep);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 155px;
  width: auto;
  max-width: min(480px, 100%);
  object-fit: contain;
  margin: 0 0 0.35rem;
  display: block;
}

.footer-brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
    color 0.25s ease;
}

.social-link svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.social-links-light .social-link {
  border-color: rgba(18, 24, 38, 0.12);
  background: #fff;
  color: var(--ink);
}

.social-links-light .social-link svg {
  background: rgba(0, 153, 218, 0.1);
  color: var(--blue);
}

.social-links-light .social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff;
}

.social-links-light .social-link:hover svg {
  background: rgba(241, 101, 34, 0.12);
  color: var(--orange);
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.88rem;
}

.site-credit {
  background: #fff;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
  padding: 0.85rem 1.25rem;
  text-align: center;
}

.site-credit a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.site-credit a:hover {
  color: var(--orange);
}

/* ---------- CONTACT FLOAT ---------- */
.contact-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a3d 55%, var(--blue) 160%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(241, 101, 34, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.contact-float:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(241, 101, 34, 0.42);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .destino-grid-4,
  .consejo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .estados-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(180px, 220px);
  }

  .estado-shot-lg {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-grid-dense {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(180px, 220px);
  }

  .gallery-grid-dense .gallery-item:first-child,
  .gallery-grid-dense .gallery-item:nth-child(2) {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* Tablets / móviles: UNA SOLA COLUMNA (apilar hacia abajo) */
@media (max-width: 900px) {
  .container {
    width: min(1180px, calc(100% - 1.75rem));
  }

  .nav-inner {
    width: min(1180px, calc(100% - 1.5rem));
    gap: 0.75rem;
  }

  .site-header {
    --nav-h: 168px;
  }

  .site-header.is-scrolled {
    --nav-h: 148px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand-logo {
    height: 190px !important;
    max-width: min(520px, 78vw) !important;
  }

  .site-header.is-scrolled .brand-logo {
    height: 160px !important;
  }

  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
    z-index: 5;
  }

  .nav-toggle:focus,
  .nav-toggle:focus-visible,
  .nav-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .site-header.is-scrolled .nav-toggle {
    background: transparent !important;
    border: 0 !important;
  }

  .nav-toggle span {
    display: block;
    width: 28px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 99px;
    background: #fff;
    transform-origin: center;
    transition: transform 0.28s var(--ease), opacity 0.2s ease, background 0.25s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 1.25rem 1.35rem 1.75rem;
    background: #fff;
    border-top: 1px solid rgba(18, 24, 38, 0.08);
    box-shadow: 0 24px 48px rgba(18, 24, 38, 0.12);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 99;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    display: block;
    color: var(--ink) !important;
    padding: 1.05rem 0.15rem;
    border-bottom: 1px solid rgba(18, 24, 38, 0.08);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: transparent !important;
  }

  .nav-links a:not(.nav-cta):hover {
    color: var(--orange) !important;
  }

  .nav-links .nav-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: 1.15rem;
    padding: 0.95rem 1.25rem !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--orange) !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(241, 101, 34, 0.28);
  }

  .hero-actions .btn,
  .cta-actions .btn {
    min-height: 54px;
    border-radius: 4px;
    font-size: 1rem;
  }

  .hero-actions .btn-primary,
  .cta-actions .btn-primary {
    box-shadow: 0 10px 24px rgba(241, 101, 34, 0.28);
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-content {
    padding: calc(var(--nav-h) + 1.25rem) 0 3rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  .hero-lead {
    font-size: 1.02rem;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-grid,
  .purpose-grid,
  .pillars-head,
  .pillars-row,
  .contact-grid,
  .cta-band .container,
  .footer-top,
  .why-join-grid,
  .destino-grid,
  .destino-grid-4,
  .region-grid,
  .impact-grid,
  .gallery-grid,
  .gallery-grid-dense,
  .estados-grid,
  .consejo-grid,
  .consejo-featured,
  .form-row,
  .value-item {
    grid-template-columns: 1fr !important;
  }

  .consejo-featured {
    justify-items: start;
  }

  .estado-shot-lg,
  .estado-shot-wide,
  .estado-shot-banner {
    grid-column: auto;
    grid-row: auto;
  }

  .estado-shot-banner {
    min-height: 200px;
  }

  .estados-grid {
    grid-auto-rows: minmax(190px, 220px);
  }

  .impact-item {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pillar:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    padding-bottom: 1.5rem;
  }

  .gallery-item:first-child,
  .gallery-grid-dense .gallery-item:first-child,
  .gallery-grid-dense .gallery-item:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .about-visual img {
    aspect-ratio: 16 / 10;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .cta-band .container {
    gap: 1.35rem;
  }

  .region-actions {
    flex-direction: column;
  }

  .region-actions .btn {
    width: 100%;
  }

  .comunidad {
    min-height: 420px;
  }

  .contact-float {
    right: 0.85rem;
    bottom: 0.85rem;
    min-height: 46px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  section {
    padding: 3.25rem 0;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 170px !important;
    max-width: min(460px, 80vw) !important;
  }

  .site-header {
    --nav-h: 152px;
  }

  .site-header.is-scrolled {
    --nav-h: 136px;
  }

  .site-header.is-scrolled .brand-logo {
    height: 145px !important;
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .nav-links {
    padding: 1.1rem 1.15rem 1.5rem;
  }
}
