/* ==========================================================================
   LUMINSANCAR TOURS — hoja de estilos
   Paleta derivada de los materiales reales de la marca (logo + flyer):
   verde pino, sol naranja, azul río, marfil.
   ========================================================================== */

:root {
  --verde-950: #0B3D20;
  --verde-800: #14522C;
  --verde-600: #1E7A43;
  --verde-100: #E3EEE6;
  --sol-500: #F29B2B;
  --sol-600: #DD8412;
  --rio-500: #2E86AB;
  --marfil: #F7F5EF;
  --arena: #EFEBE1;
  --blanco: #FFFFFF;
  --tinta: #1F2B24;
  --tinta-suave: #5C6B61;
  --borde: #E0DACC;

  --fuente-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --fuente-cuerpo: 'Nunito Sans', 'Segoe UI', sans-serif;

  --radio-sm: 10px;
  --radio-md: 16px;
  --radio-lg: 22px;
  --sombra: 0 4px 20px rgba(20, 82, 44, 0.10);
  --sombra-hover: 0 14px 38px rgba(20, 82, 44, 0.18);
  --transicion: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* ---------- Base ---------- */

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

button,
a,
input,
textarea,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sol-500);
  outline-offset: 2px;
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--tinta);
  background-color: var(--marfil);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--fuente-display);
  line-height: 1.05;
  text-wrap: balance;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 84px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1240px) {
  .container {
    padding: 0;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--verde-800);
  color: #fff;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radio-sm) 0;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Firma: línea de ruta ---------- */
/* Conector punteado con paradas en cada extremo: codifica el producto
   (rutas fijas origen-destino) y se repite en títulos y tarjetas. */

.route-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
  max-width: 220px;
}

.route-line::before,
.route-line::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sol-500);
  flex-shrink: 0;
}

.route-line .route-dash {
  flex: 1;
  height: 0;
  border-top: 3px dashed var(--verde-600);
  opacity: 0.55;
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(247, 245, 239, 0.96);
  box-shadow: 0 2px 20px rgba(11, 61, 32, 0.10);
  backdrop-filter: blur(10px);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 40px;
  }
}

@media (min-width: 1240px) {
  .navbar-inner {
    padding: 0;
  }
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease;
}

.navbar-logo img:hover {
  transform: scale(1.05);
}

.navbar-logo-text {
  font-family: var(--fuente-display);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.navbar.scrolled .navbar-logo-text {
  color: var(--verde-800);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 30px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--sol-500);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--tinta);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--verde-800);
}

.nav-cta {
  background: var(--sol-500);
  color: var(--verde-950) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800 !important;
  transition: var(--transicion) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--sol-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 155, 43, 0.45);
}

/* ---------- Menú móvil ---------- */

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease;
}

.navbar.scrolled .hamburger span {
  background: var(--tinta);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--marfil);
  z-index: 999;
  transition: right 0.4s ease;
  padding: 100px 32px 40px;
  box-shadow: -4px 0 30px rgba(11, 61, 32, 0.2);
  overscroll-behavior: contain;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 61, 32, 0.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--tinta);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radio-sm);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu a:hover {
  background: var(--verde-100);
  color: var(--verde-800);
}

.mobile-menu .mobile-cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--sol-500);
  color: var(--verde-950);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  text-align: center;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 90px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 118%;
  background-image: url('assets/images/hero-carretera-andina.jpg');
  background-size: cover;
  background-position: center 65%;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(168deg, rgba(11, 61, 32, 0.78) 0%, rgba(11, 61, 32, 0.45) 45%, rgba(9, 28, 17, 0.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 20px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--sol-500);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(3.4rem, 9vw, 6rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.015em;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(9, 28, 17, 0.45);
  animation: fadeInUp 0.8s ease 0.12s forwards;
  opacity: 0;
}

.hero-content h1 .acento {
  color: var(--sol-500);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  max-width: 620px;
  margin: 0 auto 28px;
  animation: fadeInUp 0.8s ease 0.24s forwards;
  opacity: 0;
}

.hero-rutas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
  animation: fadeInUp 0.8s ease 0.36s forwards;
  opacity: 0;
}

.hero-ruta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-ruta-pill .material-icons {
  font-size: 17px;
  color: var(--sol-500);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.48s forwards;
  opacity: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sol-500);
  color: var(--verde-950);
  padding: 16px 38px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.08rem;
  transition: var(--transicion);
}

.hero-cta:hover {
  background: var(--sol-600);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(242, 155, 43, 0.45);
}

.hero-cta-secundario {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  transition: var(--transicion);
}

.hero-cta-secundario:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Títulos de sección ---------- */

.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: block;
  color: var(--sol-600);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title h2 {
  color: var(--verde-800);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--tinta-suave);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Por qué elegirnos ---------- */

.porque {
  padding: 96px 0;
  background: var(--marfil);
}

.porque-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 768px) {
  .porque-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .porque-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.porque-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--sombra);
  border: 1px solid rgba(20, 82, 44, 0.07);
  border-bottom: 4px solid transparent;
  transition: var(--transicion);
}

.porque-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-hover);
  border-bottom-color: var(--sol-500);
}

.porque-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--verde-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.porque-icon .material-icons {
  font-size: 30px;
  color: var(--verde-800);
}

.porque-card h3 {
  font-family: var(--fuente-cuerpo);
  text-transform: none;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--verde-800);
  margin-bottom: 8px;
}

.porque-card p {
  color: var(--tinta-suave);
  font-size: 0.95rem;
}

/* ---------- Contadores ---------- */

.counters {
  padding: 68px 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, 0.045) 26px 40px),
    linear-gradient(135deg, var(--verde-950), var(--verde-800));
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

@media (min-width: 768px) {
  .counters-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.counter-item {
  text-align: center;
}

.counter-number {
  font-family: var(--fuente-display);
  font-style: italic;
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--sol-500);
  line-height: 1.05;
}

@media (min-width: 768px) {
  .counter-number {
    font-size: 3.8rem;
  }
}

.counter-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- Nosotros ---------- */

.nosotros {
  padding: 96px 0;
  background: var(--arena);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .nosotros-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.nosotros-img-wrapper {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-hover);
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.nosotros-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.nosotros-img-wrapper:hover img {
  transform: scale(1.03);
}

.nosotros-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--sol-500);
  color: var(--verde-950);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(9, 28, 17, 0.25);
}

.nosotros-text .section-eyebrow {
  text-align: left;
}

.nosotros-text h2 {
  color: var(--verde-800);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
}

.nosotros-text p {
  color: var(--tinta-suave);
  margin-bottom: 16px;
}

.nosotros-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nosotros-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--tinta);
}

.nosotros-list .material-icons {
  color: var(--verde-600);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Rutas ---------- */

.rutas {
  padding: 96px 0;
  background: var(--marfil);
}

.rutas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .rutas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ruta-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid rgba(20, 82, 44, 0.07);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
}

.ruta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
}

.ruta-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ruta-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ruta-card:hover .ruta-card-img img {
  transform: scale(1.05);
}

.ruta-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--verde-800);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ruta-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Extremos de la ruta unidos por la línea punteada (firma) */
.ruta-endpoints {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ruta-endpoints .route-dash {
  flex: 1;
  border-top: 3px dashed var(--verde-600);
  opacity: 0.5;
  position: relative;
}

.ruta-endpoints .route-dash::before {
  content: 'directions_bus';
  font-family: 'Material Icons';
  font-size: 17px;
  color: var(--sol-600);
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blanco);
  padding: 0 4px;
  opacity: 1;
}

.ruta-endpoint {
  font-family: var(--fuente-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.35rem;
  color: var(--verde-800);
  line-height: 1;
}

.ruta-card-body > p {
  color: var(--tinta-suave);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.ruta-horarios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ruta-horario-tag {
  background: var(--verde-100);
  color: var(--verde-800);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ruta-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--sol-600);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.ruta-card-cta:hover {
  color: var(--verde-800);
}

/* ---------- Flota ---------- */

.flota {
  padding: 96px 0;
  background: var(--blanco);
}

.flota-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .flota-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flota-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flota-feature {
  background: var(--marfil);
  border-radius: var(--radio-md);
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--borde);
  transition: var(--transicion);
}

.flota-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
  border-color: var(--sol-500);
  background: var(--blanco);
}

.flota-feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radio-sm);
  background: var(--verde-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flota-feature-icon .material-icons {
  color: var(--sol-500);
  font-size: 26px;
}

.flota-feature h3 {
  font-family: var(--fuente-cuerpo);
  text-transform: none;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--verde-800);
  margin-bottom: 4px;
}

.flota-feature p {
  font-size: 0.9rem;
  color: var(--tinta-suave);
}

.flota-cta-wrapper {
  text-align: center;
}

.flota-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--verde-800);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transicion);
}

.flota-cta:hover {
  background: var(--verde-950);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(11, 61, 32, 0.35);
}

/* ---------- Galería ---------- */

.galeria {
  padding: 96px 0;
  background: var(--marfil);
}

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.galeria-item {
  border-radius: var(--radio-md);
  overflow: hidden;
  box-shadow: var(--sombra);
  aspect-ratio: 4 / 3;
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.06);
}

.galeria-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(9, 28, 17, 0.82), transparent);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  pointer-events: none;
}

.galeria-caption .material-icons {
  font-size: 16px;
  color: var(--sol-500);
}

/* ---------- Testimonios ---------- */

.testimonios {
  padding: 96px 0;
  background: var(--arena);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonio-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 32px 26px;
  box-shadow: var(--sombra);
  border: 1px solid rgba(20, 82, 44, 0.07);
  transition: var(--transicion);
  position: relative;
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}

.testimonio-quote {
  font-family: var(--fuente-display);
  font-size: 4.5rem;
  font-style: italic;
  color: var(--sol-500);
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 24px;
  opacity: 0.35;
}

.testimonio-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonio-stars .material-icons {
  color: var(--sol-500);
  font-size: 20px;
}

.testimonio-text {
  color: var(--tinta-suave);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sol-500);
}

.testimonio-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--tinta);
}

.testimonio-role {
  font-size: 0.82rem;
  color: var(--tinta-suave);
}

/* ---------- FAQ ---------- */

.faq {
  padding: 96px 0;
  background: var(--marfil);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--blanco);
  border-radius: var(--radio-md);
  box-shadow: var(--sombra);
  overflow: hidden;
  border: 1px solid rgba(20, 82, 44, 0.07);
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-left-color: var(--sol-500);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--fuente-cuerpo);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tinta);
  text-align: left;
  gap: 12px;
}

.faq-question .material-icons {
  font-size: 24px;
  color: var(--verde-600);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question .material-icons {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--tinta-suave);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Contacto ---------- */

.contacto {
  padding: 96px 0;
  background: var(--blanco);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contacto-form {
  background: var(--marfil);
  padding: 34px 32px;
  border-radius: var(--radio-lg);
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);
}

.contacto-form h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--verde-800);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tinta);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--borde);
  border-radius: var(--radio-sm);
  font-family: var(--fuente-cuerpo);
  font-size: 1rem;
  color: var(--tinta);
  background: var(--blanco);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--verde-600);
  box-shadow: 0 0 0 3px rgba(30, 122, 67, 0.12);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-800);
  color: #fff;
  border: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: var(--fuente-cuerpo);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transicion);
  width: 100%;
  justify-content: center;
}

.form-submit:hover {
  background: var(--verde-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 61, 32, 0.3);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-success,
.form-error {
  display: none;
  padding: 16px 24px;
  border-radius: var(--radio-sm);
  margin-top: 16px;
  font-weight: 700;
  text-align: center;
}

.form-success {
  background: var(--verde-100);
  color: var(--verde-800);
}

.form-error {
  background: #FBEAE5;
  color: #A83A22;
}

.form-success.show,
.form-error.show {
  display: block;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--marfil);
  padding: 20px;
  border-radius: var(--radio-md);
  border: 1px solid var(--borde);
  transition: var(--transicion);
}

.contacto-info-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
  border-color: var(--sol-500);
}

.contacto-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radio-sm);
  background: var(--verde-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sol-500);
}

.contacto-info-icon .material-icons {
  font-size: 22px;
}

.contacto-info-icon .fab {
  font-size: 20px;
}

.contacto-info-text h3 {
  font-family: var(--fuente-cuerpo);
  text-transform: none;
  font-size: 1rem;
  font-weight: 800;
  color: var(--verde-800);
  margin-bottom: 2px;
}

.contacto-info-text p {
  color: var(--tinta-suave);
  font-size: 0.92rem;
}

.contacto-info-text a {
  color: var(--verde-600);
  text-decoration: none;
  font-weight: 700;
}

.contacto-info-text a:hover {
  text-decoration: underline;
}

.contacto-map {
  margin-top: 4px;
  border-radius: var(--radio-md);
  overflow: hidden;
  box-shadow: var(--sombra);
  line-height: 0;
}

.contacto-map iframe {
  border: 0;
  width: 100%;
  height: 300px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--verde-950);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h3 {
  font-family: var(--fuente-cuerpo);
  text-transform: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--sol-500);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transicion);
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--sol-500);
  color: var(--verde-950);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: var(--sol-500);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------- WhatsApp flotante ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 997;
  animation: whatsappPulse 2.4s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ---------- Animaciones de scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-eyebrow,
  .hero-content h1,
  .hero-subtitle,
  .hero-rutas,
  .hero-actions {
    opacity: 1;
    transform: none;
  }
}
