/* ===== Verdagua Viajes y Turismo — estilos compartidos ===== */

:root {
  --verde: #3fa617;
  --verde-oscuro: #2f8a0f;
  --gris-oscuro: #3d3f3d;
  --fondo: #ffffff;
  --crema: #fdf6ea;
  --texto: #2b2b28;
  --fuente-titulo: 'Baloo 2', 'Comic Sans MS', sans-serif;
  --fuente-texto: 'Nunito', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fuente-texto);
  color: var(--texto);
  background: var(--fondo);
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--fuente-titulo);
  margin: 0;
}

/* ===== Botones ===== */
.btn {
  /* necesario para los <button>: si no, el móvil los dibuja a su manera */
  -webkit-appearance: none;
          appearance: none;
  display: inline-block;
  background: var(--verde);
  color: #fff;
  font-family: var(--fuente-titulo);
  font-size: 1.1rem;
  padding: 12px 34px;
  border-radius: 30px 8px 30px 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--verde-oscuro); transform: translateY(-2px); }

/* ===== Header / Hero ===== */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,25,15,.92) 0%, rgba(20,25,15,.75) 30%, rgba(20,25,15,.15) 60%, rgba(20,25,15,0) 80%);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--texto);
  color: var(--texto);
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  cursor: pointer;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 24px 90px;
  margin-top: auto;
}
.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.25;
}
.hero-content h1 strong { font-weight: 700; }

/* ===== Barra de navegación (logo + iconos + hamburguesa) ===== */
.icon-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--verde);
}

.icon-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 24px;
}
.icon-nav-logo img { height: 100px; width: auto; }

.icon-nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.icon-nav-links a {
  color: var(--texto);
  text-align: center;
  padding: 22px 10px 18px;
  font-size: .85rem;
  width: 138px;
  transition: background .15s ease;
}
.icon-nav-links a:hover { background: rgba(35, 124, 0, 0.253); }
.icon-nav-links a.active {
  color: var(--verde-oscuro);
  font-weight: 700;
  background: rgba(63,166,23,.12);
}
.icon-nav-links img {
  height: 42px;
  margin: 0 auto 10px;
}

/* Desktop: logo a la izquierda, opciones centradas en el resto del ancho */
@media (min-width: 881px) {
  .icon-nav {
    display: flex;
    align-items: center;
  }
  .icon-nav-bar { justify-content: flex-start; }
  .icon-nav-links { flex: 1; }
}

/* Mobile: logo centrado, hamburguesa a la derecha, opciones colapsadas debajo */
@media (max-width: 880px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  .icon-nav-links {
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .icon-nav-links.open { max-height: 900px; }
  .icon-nav-links a {
    width: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 24px;
    text-align: left;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .icon-nav-links img { height: 34px; margin: 0; }
}

/* ===== Divisor tipo papel rasgado ===== */
.torn {
  height: 34px;
  width: 100%;
  display: block;
}

/* ===== Sección intro (Subite al recorrido) ===== */
.intro {
  background: var(--fondo);
  padding: 20px 0;
}
.intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro h1 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.intro p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
.intro-img img {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

/* ===== Carrusel ===== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.carousel-btn:hover { background: rgba(0,0,0,.55); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: none;
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active { background: #fff; }

/* ===== Stats destacados ===== */
.stats {
  background: var(--gris-oscuro);
  padding: 36px 0 30px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  /* el color plano queda de reserva: si un navegador no recorta el fondo al
     texto, ignora también el text-fill y el número se ve igual */
  color: var(--verde);
  background: linear-gradient(160deg, #b7ec6b 0%, #6fc22e 45%, #2f8a0f 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  display: block;
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-top: 8px;
}

/* ===== Testimonios ===== */
.testimonials {
  background: var(--crema);
  padding: 70px 0;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 40px;
}
/* Huellas sobre el título. Va como máscara y no como <img> para poder teñirla
   del verde de la marca: el PNG original es negro. */
.titulo-huella::before {
  content: "";
  display: block;
  width: 41px;
  height: 58px;          /* el archivo es 360x512 */
  margin: 0 auto 14px;
  background-color: var(--verde);
  -webkit-mask: url("img/iconos/huellas.png") no-repeat center / contain;
          mask: url("img/iconos/huellas.png") no-repeat center / contain;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* ===== Desfile continuo de reseñas =====
   La pista lleva las 9 tarjetas dos veces. La animación la corre exactamente
   el ancho de una copia (-50%) y vuelve a cero: como la copia 2 queda justo
   donde estaba la 1, el salto no se ve y el movimiento parece infinito.
   Por eso cada tarjeta usa margin-right y no gap: con gap el -50% no cae
   en el punto exacto y el empalme se notaría. */
.marquee {
  overflow: hidden;
  padding: 18px 0;          /* aire para que no se recorte la sombra */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 90px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 90px), transparent);
}
.marquee-pista {
  display: flex;
  width: max-content;
  animation: desfile 60s linear infinite;
}
.marquee-pista .testimonial {
  flex: none;
  width: 340px;
  margin-right: 30px;
}
.marquee:hover .marquee-pista { animation-play-state: paused; }

@keyframes desfile {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* quien pidió menos animación al sistema no debería ver esto girando */
@media (prefers-reduced-motion: reduce) {
  .marquee-pista { animation: none; }
  .marquee { overflow-x: auto; }
}
.testimonial {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
/* cinco estrellas con una sola máscara que se repite; así no dependen de la
   tipografía del sistema ni hacen falta 5 SVG por tarjeta */
.estrellas {
  display: block;
  width: 100px;          /* 5 x 20px */
  height: 20px;
  margin-bottom: 14px;
  background-color: #ffc82e;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23000'%3E%3Cpath d='M10 1.6l2.35 4.76 5.25.76-3.8 3.7.9 5.23L10 13.58l-4.7 2.47.9-5.23-3.8-3.7 5.25-.76z'/%3E%3C/svg%3E") repeat-x left center / 20px 20px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23000'%3E%3Cpath d='M10 1.6l2.35 4.76 5.25.76-3.8 3.7.9 5.23L10 13.58l-4.7 2.47.9-5.23-3.8-3.7 5.25-.76z'/%3E%3C/svg%3E") repeat-x left center / 20px 20px;
}

.testimonial-quote {
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 16px;
  position: relative;
}
.testimonial-name {
  display: block;
  font-weight: 700;
  color: var(--verde-oscuro);
}

/* Origen de la reseña. La "G" va de fondo y no de máscara porque es
   multicolor: la máscara aplana todo a un solo color. */
.resena-fuente {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: .82rem;
  color: #7a7a72;
}
.resena-fuente::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background: var(--logo) no-repeat center / contain;
}
.fuente-google   { --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M23.5 12.27c0-.79-.07-1.54-.2-2.27H12v4.51h6.47a5.53 5.53 0 0 1-2.4 3.63v3h3.88c2.27-2.09 3.58-5.17 3.58-8.87z'/%3E%3Cpath fill='%2334A853' d='M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.88-3a7.2 7.2 0 0 1-10.7-3.77H1.34v3.09A11.99 11.99 0 0 0 12 24z'/%3E%3Cpath fill='%23FBBC05' d='M5.35 14.32a7.2 7.2 0 0 1 0-4.61V6.62H1.34a12 12 0 0 0 0 10.79l4.01-3.09z'/%3E%3Cpath fill='%23EA4335' d='M12 4.77c1.76 0 3.35.61 4.6 1.8l3.44-3.44C17.95 1.19 15.24 0 12 0 7.31 0 3.26 2.69 1.34 6.62l4.01 3.09A7.2 7.2 0 0 1 12 4.77z'/%3E%3C/svg%3E"); }
.fuente-facebook { --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231877F2' d='M24 12a12 12 0 10-13.88 11.85v-8.38H7.08V12h3.04V9.36c0-3 1.79-4.67 4.53-4.67 1.31 0 2.68.24 2.68.24v2.95h-1.51c-1.49 0-1.95.92-1.95 1.87V12h3.32l-.53 3.47h-2.79v8.38A12 12 0 0024 12z'/%3E%3C/svg%3E"); }

/* ===== Boton flotante de WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 100;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Teaser Brasil ===== */
.teaser {
  background: var(--fondo);
  padding-bottom: 70px;
}
.teaser-wrap {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--crema);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
.teaser-photo img { width: 100%; }
.teaser-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
  padding: 30px;
  align-items: center;
}
.teaser-body ul li {
  padding: 4px 0;
  position: relative;
  padding-left: 18px;
}
.teaser-body ul li::before {
  content: "•";
  color: var(--verde);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.teaser-body p { line-height: 1.6; margin: 0 0 16px; }
.teaser-title { font-family: var(--fuente-titulo); font-weight: 400; font-size: 1.6rem; margin-bottom: 6px; }
.teaser-subtitle { font-family: var(--fuente-titulo); font-size: 1.1rem; margin-bottom: 14px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--gris-oscuro);
  color: #fff;
  border-top: 4px solid var(--verde);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--verde);
}
.footer-col p { line-height: 1.8; margin: 0; color: rgba(255,255,255,.85); }
.footer-col a:hover { color: var(--verde); }

.footer-tagline {
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin: 0 0 20px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.footer-social a:hover { background: var(--verde); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom span { display: block; }
/* Registro oficial de la agencia. Estaba solo dentro del PNG del logo, en
   cuerpo diminuto: acá es texto, se puede leer, copiar y buscar. */
.legajo {
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  letter-spacing: .02em;
}

/* ===== Encabezado de página (título grande, sin foto) ===== */
.page-header {
  background: var(--crema);
  padding: 50px 0 44px;
  text-align: center;
}
.page-header h1 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--texto);
}
/* trazo verde, el mismo gesto que separa los títulos del footer */
.page-header h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 3px;
  margin: 16px auto 0;
  background: var(--verde);
}
.page-header p {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #5a5a52;
}

/* ===== Páginas internas (vacaciones / educativo / regulares) ===== */
.section {
  padding: 60px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--crema);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
.card img { width: 100%; }

/* Card con título superpuesto */
.card-media { position: relative; }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,25,15,.85) 0%, rgba(20,25,15,.35) 40%, rgba(20,25,15,0) 70%);
}
.card-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 20px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.card-caption h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}
.card-caption p {
  font-family: var(--fuente-titulo);
  font-size: .95rem;
  margin: 4px 0 0;
}

/* Sello en la esquina de la foto (ej. "Base doble") */
.media-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  background: #ffc82e;
  color: #2b2b28;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 6px;
}

.card-body { padding: 22px; }
.card-body ul li {
  padding: 4px 0 4px 18px;
  position: relative;
}
.card-body ul li::before {
  content: "•";
  color: var(--verde);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.card-body .btn { margin-top: 16px; }

/* ===== Detalle desplegable del tour ===== */
/* El que abre es secundario; el de contacto, dentro del panel, es el principal */
.btn-secundario {
  background: transparent;
  color: var(--verde-oscuro);
  border: 2px solid var(--verde);
  box-shadow: none;
}
.btn-secundario:hover {
  background: var(--verde);
  color: #fff;
}

.detalle {
  margin-top: 16px;
  padding: 18px 20px;
  background: var(--crema);
  border-left: 4px solid var(--verde);
  border-radius: 10px;
}
.detalle p {
  line-height: 1.65;
  margin: 0 0 14px;
}
.detalle .btn { margin-top: 4px; }

/* ===== Botón de video y visor a pantalla ===== */
.programa-acciones {
  margin-top: auto;         /* empuja los botones al pie de la tarjeta */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.programa-acciones .btn { margin-top: 0; }
/* el margen que perdieron los botones lo toma la fila que los contiene */
.card-body .programa-acciones { margin-top: 16px; }

.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-video::before {        /* triangulito de reproducción */
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* El visor tapa la página: el video vertical necesita alto para lucirse */
.visor {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12,14,11,.90);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.visor[hidden] { display: none; }

.visor-video {
  max-width: min(92vw, 420px);
  max-height: 88vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.visor-cerrar {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.visor-cerrar:hover { background: rgba(255,255,255,.28); }

/* con el visor abierto, el fondo no debe desplazarse */
body.sin-scroll { overflow: hidden; }

/* ===== Características con icono ===== */
/* El <li> lleva class="f f-loquesea"; la variable --ico define el dibujo. */
.card-body ul li.f,
.highlight-body ul li.f,
.teaser-body ul li.f,
.destino-feats li.f {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}
.card-body ul li.f::before,
.highlight-body ul li.f::before,
.teaser-body ul li.f::before,
.destino-feats li.f::before {
  content: "";
  position: static;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background-color: var(--verde);
  -webkit-mask: var(--ico) no-repeat center / contain;
          mask: var(--ico) no-repeat center / contain;
}

.f-traslado    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Ccircle cx='7.5' cy='19' r='1.5'/%3E%3Ccircle cx='16.5' cy='19' r='1.5'/%3E%3C/svg%3E"); }
.f-nautica     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h18l-2 4H5z'/%3E%3Cpath d='M12 3v14'/%3E%3Cpath d='M12 6l6 8h-6'/%3E%3C/svg%3E"); }
.f-taza        { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h13v5a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z'/%3E%3Cpath d='M17 11h1.5a2.5 2.5 0 0 1 0 5H17'/%3E%3Cpath d='M7 3v2.5'/%3E%3Cpath d='M11 3v2.5'/%3E%3C/svg%3E"); }
.f-seguro      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v5.5c0 4.6-3.3 8.2-8 9.5-4.7-1.3-8-4.9-8-9.5V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }
.f-guia        { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h12l-2.8 4.2L17 12.5H5z'/%3E%3C/svg%3E"); }
.f-binoculares { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='16' r='4'/%3E%3Ccircle cx='18' cy='16' r='4'/%3E%3Cpath d='M10 16h4'/%3E%3Cpath d='M6 12V5.5h3.5V12'/%3E%3Cpath d='M18 12V5.5h-3.5V12'/%3E%3C/svg%3E"); }
.f-naturaleza  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20C4 11.2 11.2 4 20 4c0 8.8-7.2 16-16 16z'/%3E%3Cpath d='M4 20c3.5-5.5 7.5-8.5 11.5-10.5'/%3E%3C/svg%3E"); }
.f-libro       { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.8 5 8.8 4 6.5 4H3v14h3.5c2.3 0 4.3 1 5.5 2.5'/%3E%3Cpath d='M12 6.5C13.2 5 15.2 4 17.5 4H21v14h-3.5c-2.3 0-4.3 1-5.5 2.5'/%3E%3Cpath d='M12 6.5v14'/%3E%3C/svg%3E"); }
.f-comida      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v6a2.5 2.5 0 0 0 5 0V3'/%3E%3Cpath d='M8.5 11.5V21'/%3E%3Cpath d='M17 21v-8'/%3E%3Cellipse cx='17' cy='7' rx='2.5' ry='4'/%3E%3C/svg%3E"); }
.f-hongo       { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11.5a8.5 7.5 0 0 1 17 0z'/%3E%3Cpath d='M9.5 11.5v6a2.5 2.5 0 0 0 5 0v-6'/%3E%3C/svg%3E"); }
.f-coordinacion{ --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-1a8 8 0 0 1 16 0v1'/%3E%3Cpath d='M4 13h2a1.5 1.5 0 0 1 1.5 1.5v3A1.5 1.5 0 0 1 6 19h-.5A1.5 1.5 0 0 1 4 17.5z'/%3E%3Cpath d='M20 13h-2a1.5 1.5 0 0 0-1.5 1.5v3A1.5 1.5 0 0 0 18 19h.5a1.5 1.5 0 0 0 1.5-1.5z'/%3E%3C/svg%3E"); }
.f-mapa        { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5S19 15 19 10a7 7 0 1 0-14 0c0 5 7 11.5 7 11.5z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.f-calendario  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3C/svg%3E"); }
.f-alojamiento { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V8'/%3E%3Cpath d='M3 14h18'/%3E%3Cpath d='M21 20v-6a2 2 0 0 0-2-2h-9v2'/%3E%3Ccircle cx='6.8' cy='9.8' r='1.8'/%3E%3C/svg%3E"); }
.f-asistencia  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); }
.f-avion       { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10.4 3.4a1.6 1.6 0 0 1 3.2 0v5.3l7.9 4.6v2.1l-7.9-2.4v4.6l2.6 1.9v1.7L12 20.4l-4.2.8v-1.7l2.6-1.9v-4.6L2.5 15.4v-2.1l7.9-4.6z'/%3E%3C/svg%3E"); }
.f-salud       { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2v6a4 4 0 0 0 8 0V2'/%3E%3Cpath d='M9 12v2.5a4.5 4.5 0 0 0 9 0V13'/%3E%3Ccircle cx='18' cy='11' r='2'/%3E%3C/svg%3E"); }
.f-hotel       { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16'/%3E%3Cpath d='M2 21h20'/%3E%3Cpath d='M8 7h1.5M14.5 7H16M8 11h1.5M14.5 11H16'/%3E%3Cpath d='M10 21v-4h4v4'/%3E%3C/svg%3E"); }
.f-excursion   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='3.8' r='2'/%3E%3Cpath d='M14.5 8.2 11 10l-.8 4.6 2.8 2.2.9 5'/%3E%3Cpath d='M12.4 16.2 8.6 21.8'/%3E%3Cpath d='m14.5 8.2 3.1 2.1 1.1 3.2'/%3E%3C/svg%3E"); }
.f-precio      { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.2V4.5a1.5 1.5 0 0 1 1.5-1.5h7.7a2 2 0 0 1 1.4.6l7.3 7.3a1.5 1.5 0 0 1 0 2.1l-7.7 7.7a1.5 1.5 0 0 1-2.1 0L3.6 13.6a2 2 0 0 1-.6-1.4z'/%3E%3Ccircle cx='7.8' cy='7.8' r='1.6'/%3E%3C/svg%3E"); }

.highlight {
  max-width: 1200px;
  margin: 40px auto 0;
  background: var(--crema);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
.highlight img { width: 100%; }

/* Imagen con título superpuesto */
.highlight-media { position: relative; }
.highlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,25,15,.8) 0%, rgba(20,25,15,.3) 35%, rgba(20,25,15,0) 65%);
}
.highlight-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.highlight-caption h3 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
}
.highlight-caption p {
  font-family: var(--fuente-titulo);
  font-size: 1.3rem;
  margin: 8px 0 0;
}

.highlight-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
  padding: 30px;
  align-items: center;
}
.highlight-body ul li {
  padding: 4px 0 4px 18px;
  position: relative;
}
.highlight-body ul li::before {
  content: "•"; color: var(--verde); position: absolute; left: 0; font-weight: 700;
}

/* ===== Programas de turismo educativo =====
   Los 4 colores salen del folleto 2026: un color por sección.
   Todo lo demás (banda, número, viñetas, botón) lo deriva de --acento. */
/* --acento sigue siendo el color del folleto: lo usan el número, las viñetas,
   el borde de la tarjeta y el botón. La banda usa su propio par, un 10% más
   claro, para aclararla sin tocar el resto de la sección. */
.s-azul    { --acento: #238CC7; --acento-osc: #1B6E9C; --banda-a: #7BBADD; --banda-b: #3998CD; --tinte: #EDF6FB; }
.s-rojo    { --acento: #E34C1F; --acento-osc: #B93B16; --banda-a: #EE9479; --banda-b: #E65E35; --tinte: #FDF1EC; }
.s-verde   { --acento: #6BA74E; --acento-osc: #55853D; --banda-a: #A6CA95; --banda-b: #7AB060; --tinte: #F2F7ED; }
.s-violeta { --acento: #7D64A5; --acento-osc: #634E85; --banda-a: #B1A2C9; --banda-b: #8A74AE; --tinte: #F4F1F9; }

.prog-sec { background: var(--tinte); }

/* La banda y su borde rasgado son una sola pieza: la sombra va en el envoltorio
   con drop-shadow, que sigue la silueta recortada en vez de dibujar un rectángulo. */
.banda-wrap {
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.16));
  margin-bottom: 42px;
}
.seccion-banda {
  /* el tono claro queda en la esquina; el título, centrado, cae sobre el
     segundo tono, que es el que sostiene el contraste contra el blanco */
  background: linear-gradient(135deg, var(--banda-a) 0%, var(--banda-b) 58%, var(--banda-b) 100%);
  border-radius: 14px 14px 0 0;
  padding: 22px 26px 26px;
  text-align: center;
}
.seccion-banda h2 {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  /* la sombra compensa el fondo más claro sin cambiar el color de la letra */
  text-shadow: 0 2px 5px rgba(0,0,0,.38);
}
/* mismo gesto que el divisor de papel rasgado del sitio */
.banda-borde {
  display: block;
  width: 100%;
  height: 24px;
  margin-top: -1px;      /* evita la línea de 1px entre la banda y el borde */
  color: var(--banda-b); /* mismo tono con el que termina la banda: empalma sin corte */
}

.seccion-nota {
  text-align: center;
  color: #5a5a52;
  margin: -22px 0 34px;
}

.programas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.programa {
  position: relative;
  background: #fff;
  border-top: 5px solid var(--acento);
  border-radius: 14px;
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 12px 26px rgba(0,0,0,.12);
}

/* etiqueta con el número del folleto */
.programa-num {
  position: absolute;
  top: -16px;
  right: 20px;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--acento);
  color: #fff;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.20);
}

.programa h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--acento-osc);
  margin: 0 44px 12px 0;   /* deja libre la esquina de la etiqueta */
}

.programa-dur {
  display: inline-block;
  align-self: flex-start;
  background: var(--gris-oscuro);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 14px;
}

.programa ul { margin-bottom: 16px; }
.programa ul li {
  position: relative;
  padding: 4px 0 4px 20px;
  line-height: 1.5;
}
/* viñeta en forma de flecha, como en el folleto */
.programa ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 0;
  height: 0;
  border-left: 7px solid var(--acento);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.programa-opcional {
  font-size: .9rem;
  line-height: 1.5;
  color: #5a5a52;
  background: var(--tinte);
  border-left: 3px solid var(--acento);
  padding: 10px 12px;
  margin: 0 0 16px;
}

.programa .btn {
  margin-top: auto;
  align-self: flex-start;
  background: var(--acento);
  font-size: 1rem;
  padding: 10px 26px;
}
.programa .btn:hover { background: var(--acento-osc); }

/* El desplegable dentro de un programa toma el color de su sección.
   Hace falta ganarle a `.programa .btn`, que es más específico que
   `.btn-secundario` y si no le pinta el fondo al botón de abrir. */
.programa .btn-secundario {
  background: transparent;
  color: var(--acento-osc);
  border: 2px solid var(--acento);
}
.programa .btn-secundario:hover {
  background: var(--acento);
  color: #fff;
}
.programa .detalle {
  background: var(--tinte);
  border-left-color: var(--acento);
}

/* ===== Fondos de las secciones de Vacaciones =====
   Degradados muy suaves: las tarjetas son blancas y con sombra marcada, así que
   el fondo tiene que dejarlas resaltar, no competir con ellas. */
.sec-destinos {
  background:
    radial-gradient(90% 55% at 50% 0%, #EAF5EE 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4FAF6 100%);
}

.sec-preventa {
  position: relative;
  padding-top: 88px;           /* deja lugar para la ola */
  background:
    radial-gradient(75% 50% at 82% 0%, #FBEFD8 0%, rgba(253,246,234,0) 65%),
    linear-gradient(180deg, var(--crema) 0%, #F7EDDC 100%);
}
/* La ola se pinta del color con el que termina la sección de arriba: da la
   sensación de que una se derrama sobre la otra. */
.ola {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 46px;
  display: block;
}

/* Título en pastilla: repite la forma asimétrica de los botones de la marca */
.pill {
  display: inline-block;
  background: linear-gradient(135deg, #6FC22E 0%, var(--verde) 50%, var(--verde-oscuro) 100%);
  color: #fff;
  font-weight: 700;
  padding: 10px 34px;
  border-radius: 30px 8px 30px 8px;
  box-shadow: 0 4px 12px rgba(47,138,15,.30);
}

/* ===== Pestañas de vacaciones =====
   Son 22 destinos: sin las pestañas, la segunda tanda queda a varias
   pantallas de scroll y casi nadie llega. */
.tabs-barra {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 18px 0;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tab {
  -webkit-appearance: none;
          appearance: none;
  font-family: var(--fuente-titulo);
  font-size: 1.05rem;
  color: var(--verde-oscuro);
  background: #fff;
  border: 2px solid var(--verde);
  padding: 11px 30px;
  border-radius: 30px 8px 30px 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.tab:hover { background: rgba(63,166,23,.10); }
.tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6FC22E 0%, var(--verde) 50%, var(--verde-oscuro) 100%);
  box-shadow: 0 4px 12px rgba(47,138,15,.30);
}

.destinos-panel[hidden] { display: none; }
/* el relleno extra de esta sección era para la ola, que como panel ya no va */
.sec-preventa.destinos-panel { padding-top: 70px; }

/* Título que solo leen los lectores de pantalla y los buscadores: en
   pantalla el nombre de la sección ya lo dice la pestaña activa. */
.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .tab { font-size: .95rem; padding: 10px 18px; }
}

/* ===== Tarjetas de destino (vacaciones) =====
   Cada destino es una tarjeta con su carrusel arriba y el detalle abajo.
   Dos columnas en escritorio: con el texto de venta completo, tres quedan
   demasiado angostas para leer. */
.seccion-intro {
  text-align: center;
  margin: -28px 0 38px;
  font-size: 1.05rem;
  color: #5c6159;
}

.destinos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 30px;
  align-items: start;
}

.destino {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
/* Las fotos se recortaron a 3:2, no al 16:9 del carrusel del inicio */
.destino .carousel {
  aspect-ratio: 3 / 2;
  border-radius: 0;
  flex: none;
}

.destino-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
/* Nombre del lugar y sellos en la misma línea; si no entran, los sellos
   bajan solos y quedan alineados debajo del título. */
.destino-encabezado {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.destino-body h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}
.destino-zona {
  margin: 4px 0 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde-oscuro);
}
/* La descripción arranca recortada a 2 líneas: con 23 tarjetas, el texto
   completo de todas hace una página interminable. */
.destino-desc {
  margin: 0 0 6px;
  font-size: .97rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
          line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.destino-desc.abierto {
  -webkit-line-clamp: unset;
          line-clamp: unset;
  overflow: visible;
}
.ver-mas {
  -webkit-appearance: none;
          appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 16px;
  font-family: var(--fuente-texto);
  font-size: .92rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  cursor: pointer;
  align-self: flex-start;
}
.ver-mas:hover { text-decoration: underline; }
.ver-mas::after { content: " ▾"; font-size: .8em; }
.ver-mas[aria-expanded="true"]::after { content: " ▴"; }

/* El dato de temporada es de lo que más se consulta: va destacado y no
   perdido en medio del párrafo. */
.dato-viajero {
  margin: 0 0 18px;
  padding: 10px 14px;
  font-size: .9rem;
  line-height: 1.5;
  background: rgba(63,166,23,.08);
  border-left: 3px solid var(--verde);
  border-radius: 0 8px 8px 0;
}
.dato-viajero strong { color: var(--verde-oscuro); }

.destino-feats {
  margin-bottom: 18px;
  font-size: .95rem;
}
.hotel-estrellas {
  color: #e0a800;
  letter-spacing: 1px;
  font-size: .85em;
}

.destino-precio {
  margin: 0 0 18px;
  font-family: var(--fuente-titulo);
  font-size: 1.05rem;
}
.destino-precio strong {
  font-size: 1.6rem;
  color: var(--verde-oscuro);
}
/* Las condiciones del precio como sellos, con el mismo amarillo sobre negro
   del sello de las fotos. */
.precio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.precio-badge {
  background: #ffc82e;
  color: #2b2b28;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 6px;
}

/* El botón siempre al pie, aunque las descripciones tengan distinto largo */
.destino-body .btn { margin-top: auto; align-self: flex-start; }

/* Destinos que todavía no tienen fotos: una franja de color reemplaza al
   carrusel para que la tarjeta no se vea rota. */
.destino-simple .destino-body { padding-top: 30px; }
.destino-simple::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(135deg, #6FC22E 0%, var(--verde) 50%, var(--verde-oscuro) 100%);
}

@media (max-width: 520px) {
  .destino-body { padding: 20px; }
  .destino-body h3 { font-size: 1.35rem; }
  .seccion-intro { font-size: .97rem; }
}

/* ===== Tres pilares =====
   Banda oscura, como la de datos del home, para cortar la página después
   de los paquetes. Los iconos reusan la técnica de máscara del sitio. */
.pilares {
  background: var(--gris-oscuro);
  padding: 64px 0 70px;
}
.pilares-titulo {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 46px;
}
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  text-align: center;
}
.pilar h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pilar p {
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 280px;
}

.pilar-ico {
  position: relative;
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 8px 22px rgba(63,166,23,.35);
}
.pilar-ico::before {
  content: "";
  position: absolute;
  inset: 22px;
  background-color: #fff;
  -webkit-mask: var(--ico) no-repeat center / contain;
          mask: var(--ico) no-repeat center / contain;
}

.p-experiencia { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='5.5'/%3E%3Cpath d='M8.4 13.4L7 22l5-2.8L17 22l-1.4-8.6'/%3E%3C/svg%3E"); }
.p-calidad     { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.4 5.9.9-4.3 4.2 1 5.9-5.2-2.8-5.2 2.8 1-5.9L3.5 9.3l5.9-.9z'/%3E%3C/svg%3E"); }
.p-seguridad   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v5.5c0 4.6-3.3 8.2-8 9.5-4.7-1.3-8-4.9-8-9.5V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }

/* ===== Bloque de texto con imagen al costado ===== */
.sobre {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.sobre-img img { width: 100%; }
.sobre-texto h2 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sobre-texto p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 22px;
}
.sobre-texto p:last-child { margin-bottom: 0; }

/* ===== Página de contacto ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}
.contacto-grid h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contacto-intro {
  line-height: 1.6;
  color: #5a5a52;
  margin: 0 0 24px;
}

.campo { margin-bottom: 18px; }
.campo label {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 6px;
}
.campo .opcional { font-weight: 400; color: #7a7a72; }
.campo input,
.campo select,
.campo textarea {
  /* sin esto, iOS y Android dibujan los campos con su apariencia nativa
     e ignoran borde, fondo y radio */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  font-family: var(--fuente-texto);
  font-size: 1rem;   /* menos de 16px hace que iOS haga zoom al enfocar */
  line-height: 1.4;
  color: var(--texto);
  background-color: #fff;
  padding: 12px 14px;
  border: 2px solid #ddd8cc;
  border-radius: 10px;
  transition: border-color .15s ease;
}
.campo textarea { resize: vertical; }

/* al quitarle la apariencia nativa, el select se queda sin flecha */
.campo select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d3f3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--verde);
}
.form-error {
  color: #b3261e;
  font-weight: 700;
  margin: 14px 0 0;
}

.contacto-datos {
  background: var(--crema);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
.dato { margin-top: 22px; }
.dato h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--verde-oscuro);
}
.dato p { line-height: 1.7; margin: 0; }
.dato a:hover { color: var(--verde); }

.seccion-mapa { padding-top: 0; }

/* ===== Mapa de ubicación ===== */
.mapa {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 20px 44px rgba(0,0,0,.30);
}
.mapa iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mapa-pie {
  text-align: center;
  line-height: 1.7;
  margin: 24px 0 0;
}

/* ===== Placeholder pages ===== */
.placeholder-hero {
  min-height: 260px;
}
.placeholder-hero .hero-content {
  margin: auto;
  text-align: center;
  padding: 70px 24px;
  max-width: 100%;
}
.placeholder-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.placeholder-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.placeholder-icon-wrap img { width: 42px; height: 42px; }
.placeholder-body h2 { font-size: 2rem; margin-bottom: 18px; }
.placeholder-body p { font-size: 1.05rem; line-height: 1.7; color: #444; }

/* ===== Responsive ===== */
/* Mismo corte que usa la barra de navegación (línea 156), para que el nav y el
   layout cambien juntos y no queden desfasados entre 881 y 900px. */
@media (max-width: 880px) {
  .intro .container, .teaser-body, .highlight-body, .contacto-grid, .sobre {
    grid-template-columns: 1fr;
  }
  /* en una columna, la ilustración no debe comerse la pantalla */
  .sobre-img { max-width: 380px; margin: 0 auto; }
  .intro-img { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .programas { grid-template-columns: 1fr 1fr; }
  .pilares-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content h1 { font-size: 1.7rem; }
  .highlight-caption { padding: 20px; }
  .highlight-caption h3 { font-size: 1.6rem; }
  .highlight-caption p { font-size: 1.05rem; }
  .card-caption { padding: 24px 26px; }
  .card-caption h3 { font-size: 1.8rem; }
  .card-caption p { font-size: 1.1rem; }
  .page-header { padding: 40px 0 34px; }
  .page-header h1 { font-size: 2.5rem; }
  .page-header p { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat-number { font-size: 2.8rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .icon-nav-bar { padding: 12px 16px; }
  /* mismo alto que el recuadro de .menu-toggle (46px) */
  .icon-nav-logo img { height: 46px; }
  .menu-toggle { right: 14px; }
  .hero-content { padding: 40px 20px 60px; }
  .page-header { padding: 32px 0 28px; }
  .stat-number { font-size: 2.3rem; }
  .page-header h1 { font-size: 2rem; }
  /* la tarjeta acá mide ~330px, no ~830px como a 880px de ancho */
  .card-caption { padding: 16px 18px; }
  .card-caption h3 { font-size: 1.3rem; }
  .card-caption p { font-size: .9rem; }
  /* la tarjeta acá es angosta: abajo a la derecha el sello choca con el
     título, que va abajo a la izquierda. Se sube a la esquina de arriba. */
  .media-badge {
    top: 12px;
    bottom: auto;
    right: 12px;
    font-size: .78rem;
    padding: 6px 10px;
  }
  .highlight-caption { padding: 18px; }
  .highlight-caption h3 { font-size: 1.4rem; }
  .highlight-caption p { font-size: 1rem; }
  .mapa { aspect-ratio: 4 / 3; }
  .programas { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* Una sola columna: se centra todo el contenido del footer */
  .footer-col { text-align: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  /* .footer-col .footer-tagline y no .footer-tagline a secas: hace falta
     ganarle en especificidad a la regla .footer-col p { margin: 0 } */
  .footer-col .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
