/* =========================================================
   Leones Camps — hoja de estilos principal
   ========================================================= */

@font-face {
  font-family: "Fugaz One";
  src: url("../fonts/FugazOne-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --orange: #f26122;
  --orange-dark: #d64d12;
  --purple: #a53895;
  --purple-dark: #6e2163;
  --purple-deep: #3c1236;
  --yellow: #fba919;
  --green: #02ad51;
  --blue: #0c4da1;

  --ink: #2a1f2d;
  --muted: #6b6070;
  --bg: #ffffff;
  --bg-soft: #fbf6f2;
  --line: #eee4ec;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(60, 18, 54, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(60, 18, 54, 0.35);

  --font-display: "Fugaz One", "Trebuchet MS", sans-serif;
  --font-body: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--orange);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--purple-deep);
  color: #fff;
  font-size: 0.9rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.topbar a:hover {
  opacity: 1;
  color: var(--yellow);
}
.topbar-phones {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-phones a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-phones svg {
  width: 15px;
  height: 15px;
}

/* ---------- Social icons ---------- */
.social {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s, transform 0.2s;
}
.social a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}
.social a {
  color: #fff;
}
.social svg {
  width: 16px;
  height: 16px;
}
.social--lg a {
  width: 44px;
  height: 44px;
}
.social--lg svg {
  width: 20px;
  height: 20px;
}

/* ---------- Header / navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -14px rgba(60, 18, 54, 0.4);
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand img {
  height: 64px;
  width: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 8px 11px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--orange);
  background: #fff1ea;
}
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--orange);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #fff1ea;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--orange);
  transition: transform 0.25s, opacity 0.25s;
  content: "";
}
.nav-toggle span {
  top: 23px;
}
.nav-toggle span::before {
  left: 0;
  top: -7px;
}
.nav-toggle span::after {
  left: 0;
  top: 7px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  :root {
    --header-h: 72px;
  }
  .brand img {
    height: 54px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0s linear 0.35s;
  }
  .site-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
    visibility: visible;
    transition: max-height 0.35s ease;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .site-nav a {
    padding: 12px 16px;
    font-size: 1.05rem;
  }
}
@media (max-width: 560px) {
  .topbar .social {
    display: none;
  }
  .topbar-phones {
    gap: 14px;
  }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(242, 97, 34, 0.8);
}
.btn--primary:hover {
  background: var(--orange-dark);
  color: #fff;
}
.btn--light {
  background: #fff;
  color: var(--purple);
}
.btn--light:hover {
  color: var(--orange);
}
.btn--outline {
  background: transparent;
  color: var(--purple);
  box-shadow: inset 0 0 0 2px var(--purple);
}
.btn--outline:hover {
  background: var(--purple);
  color: #fff;
}
.btn--ig {
  background: linear-gradient(45deg, #f9a12b, #e1306c 45%, #833ab4);
  color: #fff;
}
.btn--ig:hover {
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(131, 58, 180, 0.8);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center {
  justify-content: center;
}

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 15% 20%, rgba(251, 169, 25, 0.55), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(2, 173, 81, 0.35), transparent 40%),
    linear-gradient(135deg, var(--orange) 0%, #d8456a 45%, var(--purple) 100%);
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.07' transform='rotate(-18 60 60)'%3E%3Cellipse cx='60' cy='74' rx='20' ry='17'/%3E%3Cellipse cx='36' cy='50' rx='8' ry='10'/%3E%3Cellipse cx='52' cy='38' rx='8' ry='10'/%3E%3Cellipse cx='70' cy='38' rx='8' ry='10'/%3E%3Cellipse cx='85' cy='50' rx='8' ry='10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding-block: 72px 96px;
}
.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  text-shadow: 0 4px 24px rgba(60, 18, 54, 0.25);
}
.hero-lead {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  max-width: 34ch;
  margin-bottom: 30px;
}
.hero-mascot {
  justify-self: center;
  width: min(100%, 360px);
  filter: drop-shadow(0 20px 30px rgba(60, 18, 54, 0.35));
  animation: float 6s ease-in-out infinite;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 60px;
  display: block;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 48px 84px;
  }
  .hero-lead {
    margin-inline: auto;
  }
  .hero .btn-row {
    justify-content: center;
  }
  .hero-mascot {
    width: min(70%, 260px);
    order: -1;
  }
}

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding-block: 72px 96px;
  background: linear-gradient(135deg, var(--hero-a, var(--orange)), var(--hero-b, var(--purple)));
}
.page-hero h1 {
  position: relative;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.page-hero p {
  position: relative;
  max-width: 60ch;
  margin: 14px auto 0;
  font-size: 1.15rem;
  opacity: 0.95;
}
.page-hero--orange {
  --hero-a: var(--orange);
  --hero-b: #e8873a;
}
.page-hero--purple {
  --hero-a: var(--purple);
  --hero-b: var(--purple-dark);
}
.page-hero--green {
  --hero-a: var(--green);
  --hero-b: #0f7d48;
}
.page-hero--blue {
  --hero-a: var(--blue);
  --hero-b: #3b2b8f;
}
.page-hero--yellow {
  --hero-a: var(--yellow);
  --hero-b: var(--orange);
}

/* ---------- Secciones ---------- */
.section {
  padding-block: 88px;
}
.section--soft {
  background: var(--bg-soft);
}
.section--tight {
  padding-block: 56px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--purple);
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }
}

/* ---------- Layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--wide-right {
  grid-template-columns: 0.9fr 1.1fr;
}
.split--top {
  align-items: start;
}
@media (max-width: 900px) {
  .split,
  .split--wide-right {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Tarjetas ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card h3 {
  font-size: 1.5rem;
}
.card--accent {
  border-top: 6px solid var(--accent, var(--orange));
}

/* Programas (inicio) */
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.program-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--accent, var(--orange));
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.program-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent, var(--orange));
  color: #fff;
}
.program-icon svg {
  width: 28px;
  height: 28px;
}
.program-card h3 {
  font-size: 1.35rem;
  margin: 6px 0 0;
  color: var(--accent, var(--orange));
}
.program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.program-card .more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--purple);
}
.programs {
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

/* Visión / Misión / Vocación */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.value {
  padding: 64px clamp(24px, 4vw, 56px);
  color: #fff;
}
.value h2 {
  font-size: 2.2rem;
}
.value p {
  margin: 0;
  font-size: 1.05rem;
}
.value--orange {
  background: var(--orange);
}
.value--purple {
  background: var(--purple);
}
.value--yellow {
  background: var(--yellow);
  color: var(--purple-deep);
}
@media (max-width: 900px) {
  .values {
    grid-template-columns: 1fr;
  }
  .value {
    padding-block: 48px;
  }
}

/* Listas tipo "chip" (temáticas, destinos) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--chip-bg, #fff1ea);
  color: var(--chip-fg, var(--orange-dark));
  font-weight: 700;
  font-size: 0.95rem;
}
.chips--purple {
  --chip-bg: #f6e8f3;
  --chip-fg: var(--purple-dark);
}
.chips--blue {
  --chip-bg: #e7eef9;
  --chip-fg: var(--blue);
}
.chips--green {
  --chip-bg: #e2f6eb;
  --chip-fg: #08703a;
}

/* Lista con viñetas personalizadas */
.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}
.check-list li {
  position: relative;
  padding-left: 40px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center/16px no-repeat;
}
.check-list strong {
  display: block;
  color: var(--purple);
  letter-spacing: 0.02em;
}

/* Mascotas */
.mascot {
  width: min(100%, 320px);
  margin-inline: auto;
  filter: drop-shadow(0 18px 24px rgba(60, 18, 54, 0.22));
}
.mascot-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.mascot-wrap::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blob, #fff1ea);
}
.mascot-wrap .mascot {
  position: relative;
}

/* Cita destacada */
.quote {
  position: relative;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff1ea, #f6e8f3);
  color: var(--purple-deep);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: 22px;
  font: 6rem/1 var(--font-display);
  color: var(--orange);
  opacity: 0.6;
}
.quote p:last-child {
  margin: 0;
}

/* Badge AMC */
.badge-amc {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.badge-amc img {
  width: 96px;
}
.badge-amc span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Instagram ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  align-items: start;
}
.ig-grid--single {
  grid-template-columns: minmax(0, 540px);
  justify-content: center;
}
.ig-grid--feature {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.ig-post {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 200px;
}
.ig-post .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Tarjeta de respaldo visible mientras carga (o si el script de Instagram se bloquea) */
.ig-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 320px;
  padding: 32px;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(45deg, #f9a12b, #e1306c 45%, #833ab4);
}
.ig-fallback svg {
  width: 48px;
  height: 48px;
}
.ig-fallback strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
}
.ig-fallback span {
  font-size: 0.95rem;
  opacity: 0.9;
}
.ig-cta {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Contacto ---------- */
.contact-info {
  display: grid;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s;
}
a.contact-item:hover {
  background: #fff1ea;
  color: var(--ink);
}
.contact-item .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--orange);
}
.contact-item .ico {
  color: #fff;
}
.contact-item .ico svg {
  width: 22px;
  height: 22px;
}
.contact-item small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.contact-item b {
  font-size: 1.05rem;
  word-break: break-word;
}
.contact-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  margin-top: 8px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field {
  display: grid;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--purple-deep);
}
.field label .opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #e2d6df;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 97, 34, 0.15);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #d02d4c;
}
.captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.captcha img {
  border-radius: 10px;
  border: 1.5px solid #e2d6df;
  background: #fff;
}
.captcha button {
  border: 0;
  background: none;
  color: var(--purple);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px;
}
.captcha button:hover {
  color: var(--orange);
}
@media (max-width: 640px) {
  .form {
    grid-template-columns: 1fr;
  }
}

.alert {
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
}
.alert h2 {
  font-size: 1.8rem;
}
.alert--ok {
  background: #e2f6eb;
  color: #08703a;
}
.alert--error {
  background: #fde8ec;
  color: #a3203a;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- Banda CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 64px);
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, var(--purple), var(--orange));
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.cta-band p {
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 0 auto 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  height: 92px;
  width: auto;
  margin-bottom: 16px;
}
.site-footer h3 {
  font-size: 1.15rem;
  color: var(--yellow);
}
.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--yellow);
}
.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  font-size: 0.9rem;
  text-align: center;
}
.copy p {
  margin: 0;
}
.copy .sep {
  opacity: 0.4;
  margin-inline: 8px;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--purple);
}
.to-top svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

/* ---------- Animación al hacer scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Utilidades ---------- */
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-lg {
  margin-top: 56px;
}
.stack > * + * {
  margin-top: 24px;
}
.eyebrow + .quote {
  margin-top: 28px;
}
