/* ============================================================
   Balam Castillo del Sumidero — Hoja de estilos
   Paleta: verde selva profundo + dorado + crema
   ============================================================ */

:root {
  --green-900: #0b2e23;
  --green-800: #103a2c;
  --green-700: #175140;
  --green-100: #e7f0ea;
  --gold: #c9a24b;
  --gold-light: #e3c57c;
  --gold-dark: #a5822f;
  --cream: #faf6ee;
  --ink: #1d2320;
  --ink-soft: #4c5751;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 46, 35, 0.16);
  --radius: 16px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 92%); }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-900);
  box-shadow: 0 10px 25px rgba(201, 162, 75, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(201, 162, 75, 0.45); }
.btn--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }
.btn--lg { padding: 1.05rem 2.6rem; font-size: 1rem; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
}
.topbar__phones { display: flex; gap: 1.4rem; }
.topbar__phones a:hover { color: var(--gold-light); }

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 46, 35, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(11, 46, 35, 0.12); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.nav__logo { line-height: 1.1; }
.nav__logo-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-800);
  letter-spacing: 0.03em;
}
.nav__logo-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.nav__menu a:not(.btn) { position: relative; padding: 0.3rem 0; color: var(--green-800); }
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__menu a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 0.55rem 1.5rem; font-size: 0.82rem; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--green-800);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: url("../img/hero.jpg") center 30% / cover no-repeat var(--green-900);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 46, 35, 0.94) 20%, rgba(11, 46, 35, 0.55) 55%, rgba(11, 46, 35, 0.2) 100%);
}
.hero__content {
  position: relative;
  color: var(--white);
  padding: 6rem 0;
}
.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.hero__text {
  max-width: 34rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  margin-top: 4rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll span {
  display: block;
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Franja de confianza ---------- */
.strip {
  background: var(--green-800);
  color: var(--white);
  padding: 2rem 0;
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.strip__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--gold-light);
}
.strip__item span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.05em; }

/* ---------- Secciones generales ---------- */
.section { padding: 6rem 0; }
.section--dark { background: var(--green-900); color: var(--white); }
.section--dark .section__title { color: var(--white); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.72); }
.section--cream { background: var(--cream); }
.section__head {
  max-width: 46rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section__kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}
.section--dark .section__kicker { color: var(--gold-light); }
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--green-800);
  margin-bottom: 1.1rem;
}
.section__title em { font-style: italic; font-weight: 400; color: var(--gold-dark); }
.section--dark .section__title em { color: var(--gold-light); }
.section__lead { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Características ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.feature {
  background: var(--cream);
  border: 1px solid rgba(11, 46, 35, 0.07);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-900);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.feature h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--green-800);
  margin-bottom: 0.6rem;
}
.feature p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Destinos ---------- */
.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.dest {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--green-700);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform 0.35s ease;
}
.dest::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 46, 35, 0.92) 0%, rgba(11, 46, 35, 0.25) 55%, transparent 100%);
  z-index: -1;
  transition: opacity 0.35s ease;
}
.dest:hover { transform: translateY(-8px); }
.dest__body { padding: 1.8rem; color: var(--white); }
.dest__body h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--gold-light);
}
.dest__body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}
.dest:hover .dest__body p { max-height: 120px; opacity: 1; }
.destinations__note {
  text-align: center;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.75);
}
.destinations__note a { color: var(--gold-light); border-bottom: 1px solid var(--gold); }

/* ---------- Servicios ---------- */
.service-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-hero img { height: 100%; object-fit: cover; }
.service-hero__text { padding: 2.5rem 2.5rem 2.5rem 0; }
.service-hero__text h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--green-800);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.service-hero__text p { color: var(--ink-soft); margin-bottom: 1.6rem; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.service {
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 46, 35, 0.1);
  border-top: 4px solid var(--gold);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service h3 {
  font-family: var(--font-head);
  color: var(--green-800);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.service p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(rgba(11, 46, 35, 0.86), rgba(11, 46, 35, 0.86)),
    url("../img/galeria-9.jpg") center / cover fixed no-repeat;
  color: var(--white);
  padding: 6.5rem 0;
  text-align: center;
}
.cta__inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.8rem;
}
.cta__inner p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--white);
  background: linear-gradient(transparent, rgba(11, 46, 35, 0.85));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery__item:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 24, 19, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(1000px, 92vw); text-align: center; }
.lightbox img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption { color: var(--gold-light); margin-top: 1rem; letter-spacing: 0.1em; }
.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.6rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 1rem;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 1rem; right: 1.4rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; }
.faq__item {
  background: var(--white);
  border: 1px solid rgba(11, 46, 35, 0.09);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-800);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.96rem; }
.faq__item a { color: var(--gold-dark); border-bottom: 1px dotted var(--gold); }

/* ---------- Reserva / Contacto ---------- */
.reserva {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.reserva__info .section__title,
.reserva__info .section__kicker { text-align: left; }
.reserva__contact { list-style: none; margin-top: 2rem; display: grid; gap: 1.1rem; }
.reserva__contact span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.55);
}
.reserva__contact a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold-light);
}
.reserva__contact a:hover { color: var(--white); }

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form__field { margin-bottom: 1.1rem; }
.form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 0.4rem;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(11, 46, 35, 0.18);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
}
.form__field textarea { resize: vertical; }
.form__submit { width: 100%; }
.form__note {
  margin-top: 0.9rem;
  font-size: 0.83rem;
  color: var(--ink-soft);
  text-align: center;
}
.form__note.error { color: #b3392e; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
}
.footer__brand span { color: var(--gold-light); font-style: italic; }
.footer__tag { margin-top: 0.7rem; max-width: 26rem; font-size: 0.94rem; }
.footer h4 {
  font-family: var(--font-head);
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.footer__grid a { display: block; padding: 0.28rem 0; font-size: 0.95rem; }
.footer__grid a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp {
  position: fixed;
  right: 1.4rem;
  bottom: 5.4rem;
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}
.whatsapp:hover { transform: scale(1.1); }

/* ---------- Animaciones de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .reserva { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-hero { grid-template-columns: 1fr; }
  .service-hero__text { padding: 0 2rem 2.2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar__inner { justify-content: center; }
  .topbar__inner > span { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(11, 46, 35, 0.97);
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav__menu a:not(.btn) { color: var(--white) !important; }
  .nav__menu.open { opacity: 1; pointer-events: auto; z-index: 99; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero { min-height: 78vh; }
  .hero__overlay {
    background: linear-gradient(rgba(11, 46, 35, 0.82), rgba(11, 46, 35, 0.55));
  }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Nuevas secciones: pasos, mapa, quiz, testimonios, mapa Google
   ============================================================ */

.btn--outline-dark {
  border-color: var(--green-700);
  color: var(--green-800);
}
.btn--outline-dark:hover { background: var(--green-100); transform: translateY(-3px); }

/* ---------- Iconos SVG ---------- */
.feature__icon svg { width: 26px; height: 26px; }
.service__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: 1rem;
}
.service__icon svg { width: 26px; height: 26px; }

/* ---------- Cómo funciona (pasos) ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: paso;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed rgba(165, 130, 47, 0.45);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.6rem;
}
.step__num {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-900);
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(201, 162, 75, 0.4);
}
.step h3 {
  font-family: var(--font-head);
  color: var(--green-800);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Mapa interactivo ---------- */
.mapa {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.mapa__svg svg {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.pin { cursor: pointer; outline: none; }
.pin .pin-dot { transition: r 0.2s ease, fill 0.2s ease; }
.pin:hover .pin-dot,
.pin:focus .pin-dot,
.pin.active .pin-dot { fill: var(--gold-dark); r: 13; }
.pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

.mapa__panel {
  background: var(--cream);
  border: 1px solid rgba(11, 46, 35, 0.09);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.mapa__panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}
.mapa__panel h3 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--green-800);
  margin-bottom: 0.7rem;
}
.mapa__panel > p { color: var(--ink-soft); font-size: 0.97rem; }
.mapa__fact {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--green-100);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.mapa__fact span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.mapa__fact p { font-size: 0.93rem; color: var(--ink); }
.mapa__panel-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.mapa__panel-actions .btn { padding: 0.65rem 1.3rem; font-size: 0.78rem; }
.mapa__legend {
  list-style: none;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(11, 46, 35, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.mapa__legend button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.mapa__legend button:hover,
.mapa__legend button.active { background: var(--green-100); color: var(--green-800); }
.mapa__legend b {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-900);
  font-size: 0.72rem;
}

/* ---------- Quiz ---------- */
.quiz {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem;
  text-align: center;
}
.quiz__progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.quiz__progress span {
  width: 34px; height: 5px;
  border-radius: 99px;
  background: rgba(11, 46, 35, 0.12);
  transition: background 0.3s ease;
}
.quiz__progress span.active { background: var(--gold); }
.quiz__question {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--green-800);
  margin-bottom: 1.6rem;
}
.quiz__options {
  display: grid;
  gap: 0.8rem;
  max-width: 30rem;
  margin: 0 auto;
}
.quiz__options button {
  padding: 1rem 1.4rem;
  border: 2px solid rgba(11, 46, 35, 0.14);
  border-radius: 12px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.quiz__options button:hover {
  border-color: var(--gold);
  background: var(--green-100);
  transform: translateY(-2px);
}
.quiz__result {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.8rem;
  align-items: center;
  text-align: left;
}
.quiz__result img {
  border-radius: 14px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.quiz__result-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.quiz__result-body h3 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--green-800);
  margin-bottom: 0.6rem;
}
.quiz__result-body > p { color: var(--ink-soft); font-size: 0.96rem; }
.quiz__fact {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  background: var(--green-100);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: var(--ink) !important;
}
.quiz__result-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.quiz__result-actions .btn { padding: 0.7rem 1.5rem; font-size: 0.8rem; }

/* ---------- Testimonios ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(11, 46, 35, 0.08);
  border: 1px solid rgba(11, 46, 35, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial__stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
}
.testimonial p { color: var(--ink-soft); font-size: 0.97rem; font-style: italic; flex: 1; }
.testimonial footer strong {
  display: block;
  font-family: var(--font-head);
  color: var(--green-800);
  font-size: 1.05rem;
}
.testimonial footer span { font-size: 0.85rem; color: var(--ink-soft); }
.testimonials__note {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* ---------- Mapa de Google ---------- */
.gmap {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2.5rem;
  align-items: center;
}
.gmap__text h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 0.7rem;
}
.gmap__text p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.gmap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(0.9);
}

/* ---------- Responsive nuevas secciones ---------- */
@media (max-width: 900px) {
  .mapa { grid-template-columns: 1fr; }
  .gmap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .quiz { padding: 1.8rem 1.3rem; }
  .quiz__result { grid-template-columns: 1fr; text-align: center; }
  .quiz__result img { max-width: 260px; margin: 0 auto; }
  .quiz__result-actions { justify-content: center; }
  .mapa__legend { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
}

/* El atributo hidden debe ganar a los display personalizados */
[hidden] { display: none !important; }
