/* ============================================================
   EASY CAMINO SANTIAGO — style.css
   Versión multi-página para Netlify
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --naranja:     #F3A949;
  --azul:        #56A1A4;
  --azul-dark:   #2D4A52;
  --azul-light:  #8FBECA;
  --naranja-dark:#d4882a;
  --crema:       #ECE7E2;
  --gris:        #5a6b6a;
  --dark:        #2D4A52;
  --text:        #2D4A52;
  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Lato', sans-serif;
}

body { font-family: var(--font-body); color: var(--text); background: white; font-weight: 400; line-height: 1.6; }
img { max-width: 100%; }
a { text-decoration: none; }

/* ====== TIPOGRAFÍA GLOBAL — estilo Pilgrim ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--azul-dark);
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { font-family: var(--font-body); line-height: 1.7; }
strong { font-weight: 700; }

/* ====== NAVBAR ====== */
.ecs-nav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}
.ecs-nav ul { list-style: none; display: flex; gap: 18px; align-items: center; }
.ecs-nav ul li { position: relative; }
.ecs-nav ul li a {
  color: var(--azul-dark); text-decoration: none;
  font-size: 0.88rem; font-family: var(--font-body);
  transition: color 0.2s; font-weight: 600;
}
.ecs-nav ul li a:hover { color: var(--naranja); }
.btn-nav {
  background: var(--naranja) !important; color: white !important;
  padding: 8px 18px; border-radius: 25px; font-weight: bold !important;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--naranja-dark) !important; }
.ecs-nav-logo { height: 52px; width: auto; display: block; }

/* Dropdown rutas */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%); background: white; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15); min-width: 240px;
  padding: 8px 0; z-index: 1000; border: 1px solid rgba(86,161,164,0.25);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block !important; padding: 9px 18px;
  color: var(--azul-dark) !important; font-size: 0.84rem !important;
  white-space: nowrap; border-bottom: 1px solid var(--crema);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--crema); color: var(--naranja) !important; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }

/* Lang toggle */
.lang-toggle { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: 1px solid #8FBECA; color: var(--azul-dark);
  font-size: 0.78rem; font-family: var(--font-body); padding: 4px 10px;
  border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.lang-btn.active { background: var(--naranja); border-color: var(--naranja); color: white; font-weight: bold; }
.lang-btn:hover:not(.active) { background: var(--crema); }

/* Agente button */
.btn-agente {
  display: flex; align-items: center; gap: 9px; text-decoration: none; cursor: pointer;
  background: var(--crema); border: 1.5px solid var(--azul-light);
  border-radius: 50px; padding: 5px 14px 5px 5px; transition: background 0.2s;
}
.btn-agente:hover { background: #d8eae7; }
.agente-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--naranja); flex-shrink: 0; background: var(--azul);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.agente-avatar img { width: 100%; height: 100%; object-fit: cover; }
.agente-avatar svg { width: 22px; height: 22px; fill: white; }
.agente-txt { line-height: 1.25; }
.agente-txt strong { display: block; color: var(--azul-dark); font-size: 0.78rem; font-family: var(--font-body); }
.agente-txt span { color: var(--naranja); font-size: 0.7rem; font-family: var(--font-heading); font-weight: 700; }

/* Hamburger mobile */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--azul-dark); border-radius: 2px; }
.nav-mobile-overlay {
  display: none; position: fixed; inset: 0; background: white;
  z-index: 998; flex-direction: column; padding: 80px 24px 24px; overflow-y: auto;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  display: block; padding: 14px 0; border-bottom: 1px solid #ddeaec;
  color: var(--azul-dark); font-family: var(--font-body); font-size: 1rem; font-weight: 600;
}
.nav-mobile-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  font-size: 1.8rem; color: var(--azul-dark); cursor: pointer; line-height: 1;
}

/* ====== HERO HOMEPAGE ====== */
.ecs-hero {
  background: url('peregrina-camino-santiago-libertad-montana.jpg') center/cover no-repeat;
  min-height: 90vh;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; padding: 100px 20px 60px;
}
@media (max-width: 768px) {
  .ecs-hero {
    background: url('peregrina-camino-santiago-libertad-montana-mobile.jpg') center top/cover no-repeat;
    min-height: unset;
    padding: 110px 20px 60px;
  }
}
.ecs-hero h1 {
  color: white; font-size: 3.8rem; line-height: 1.15; max-width: 820px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  font-family: var(--font-heading); font-weight: 800;
}
.ecs-hero h1 span { color: var(--naranja); }
.ecs-hero p { color: #eee; font-size: 1.2rem; margin: 20px 0 36px; max-width: 600px; font-family: var(--font-body); }

/* ====== HERO PÁGINAS DE RUTA ====== */
.page-hero {
  min-height: 65vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 100px 24px 70px; position: relative;
}
.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.72) 100%);
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 2; max-width: 860px; width: 100%; text-align: center; }
.breadcrumb { font-family: var(--font-body); font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.95); }
.page-hero h1 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 2.5rem; color: white; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6); margin-bottom: 14px;
}
.page-hero h1 em { color: var(--naranja); font-style: normal; }
.page-hero p { color: rgba(255,255,255,0.85); font-family: var(--font-body); font-size: 1.05rem; line-height: 1.6; max-width: 620px; margin: 0 auto 24px; }
.page-hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
  color: white; padding: 7px 16px; border-radius: 30px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: bold;
  backdrop-filter: blur(4px);
}
.hero-badge.orange { background: var(--naranja); border-color: var(--naranja); }

/* ====== ROUTE STATS STRIP ====== */
.route-strip {
  background: var(--azul); display: flex;
  justify-content: center; gap: 0; flex-wrap: wrap;
}
.route-strip-item {
  text-align: center; padding: 22px 32px;
  border-right: 1px solid rgba(255,255,255,0.2); flex: 1; min-width: 120px;
}
.route-strip-item:last-child { border-right: none; }
.route-strip-item strong {
  display: block; color: var(--naranja);
  font-size: 1.5rem; font-family: var(--font-body); font-weight: 800;
}
.route-strip-item span { color: rgba(255,255,255,0.8); font-size: 0.8rem; font-family: var(--font-body); }

/* ====== BOTONES ====== */
.btn-primary {
  background: var(--naranja); color: white; padding: 16px 40px; border-radius: 35px;
  font-size: 1.05rem; font-weight: bold; text-decoration: none; font-family: var(--font-body);
  transition: transform 0.2s, background 0.2s; display: inline-block;
}
.btn-primary:hover { transform: scale(1.04); background: var(--naranja-dark); color: white; }
.btn-secondary {
  background: transparent; color: white; padding: 14px 36px; border-radius: 35px;
  font-size: 1rem; font-weight: bold; text-decoration: none; font-family: var(--font-body);
  border: 2px solid white; margin-left: 14px; transition: background 0.2s; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

.btn-pricing {
  background: var(--azul); color: white; padding: 16px 30px;
  border-radius: 35px; font-size: 1rem; font-weight: bold;
  text-decoration: none; font-family: var(--font-body);
  display: inline-block; transition: transform 0.2s, background 0.2s;
  margin-top: 20px;
}
.btn-pricing:hover { transform: scale(1.02); background: var(--azul-dark); color: white; }

.btn-dark {
  background: var(--azul-dark); color: white; padding: 14px 32px;
  border-radius: 35px; font-size: 1rem; font-weight: bold;
  text-decoration: none; font-family: var(--font-body);
  display: inline-block; transition: transform 0.2s, background 0.2s;
}
.btn-dark:hover { transform: scale(1.02); background: #000; color: white; }

.pricing-section .section-subtitle { margin: 0 auto 28px; max-width: 740px; }
.pricing-section .pricing-note { margin-top: 32px; }

.btn-hero-primary,
  .btn-cta-primary {
    background: var(--naranja); color: white; padding: 16px 40px;
    border-radius: 35px; font-size: 1.05rem; font-weight: bold;
    text-decoration: none; font-family: var(--font-body);
    transition: transform 0.2s, background 0.2s; display: inline-block;
  }
  .btn-hero-primary:hover,
  .btn-cta-primary:hover { transform: scale(1.04); background: var(--naranja-dark); }
  .btn-hero-secondary,
  .btn-cta-secondary {
    background: transparent; color: white; padding: 14px 36px;
    border-radius: 35px; font-size: 1rem; font-weight: bold;
    text-decoration: none; font-family: var(--font-body);
    border: 2px solid white; margin-left: 14px;
    transition: background 0.2s; display: inline-block;
  }
  .btn-hero-secondary:hover,
  .btn-cta-secondary:hover { background: rgba(255,255,255,0.15); }
/* ====== STATS ====== */
.ecs-stats {
  background: var(--azul); display: flex; justify-content: center;
  gap: 60px; padding: 28px 40px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; color: var(--naranja); font-size: 2rem; font-family: var(--font-body); }
.stat span { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-family: var(--font-body); }

/* ====== SECCIONES ====== */
section { padding: 80px 40px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.1rem; color: var(--azul-dark); margin-bottom: 12px; }
.section-title p { color: var(--gris); font-size: 1.05rem; font-family: var(--font-body); max-width: 600px; margin: 0 auto; }
.section-title .linea { width: 60px; height: 4px; background: var(--naranja); margin: 16px auto 0; border-radius: 2px; }
.brochure-section .brochure-content { max-width: 760px; margin: 0 auto; text-align: center; }
.brochure-section .brochure-content p { margin-bottom: 22px; color: #5a6772; font-size: 1rem; line-height: 1.7; }
.brochure-btn { padding: 14px 42px; }

/* ====== TABS ====== */
.rutas-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.tab-btn {
  background: white; border: 2px solid var(--azul); color: var(--azul);
  padding: 11px 28px; border-radius: 30px; font-size: 0.95rem;
  font-family: var(--font-heading); font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.tab-btn:hover { background: var(--azul); color: white; }
.tab-btn.active { background: var(--naranja); border-color: var(--naranja); color: white; }
.ver-mas-btn {
  display: inline-block; background: transparent; border: 2px solid var(--azul); color: var(--azul);
  padding: 13px 36px; border-radius: 30px; font-size: 0.95rem; font-family: var(--font-body);
  font-weight: bold; cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.ver-mas-btn:hover { background: var(--azul); color: white; }

/* ====== CARDS ====== */
.rutas { background: var(--crema); }
.ecs-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.card {
  background: white; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.09); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,0.14); }
.card-img { width: 100%; height: 200px; object-fit: cover; object-position: center center; display: block; }
.card-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--azul), var(--azul-dark));
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.card-body { padding: 22px; }
.badge {
  background: var(--naranja); color: white; font-size: 0.72rem; font-weight: bold;
  padding: 3px 10px; border-radius: 12px; font-family: var(--font-body);
  display: inline-block; margin-bottom: 10px; letter-spacing: 0.5px;
}
.hero-badges .badge {
  background: rgba(255,255,255,0.18); color: white; border: 1px solid rgba(255,255,255,0.45);
  font-size: 0.78rem; font-weight: 600; padding: 5px 13px; border-radius: 20px;
  letter-spacing: 0.3px; backdrop-filter: blur(4px);
}
.hero-badges .badge-price {
  background: rgba(243,169,73,0.25); border-color: rgba(243,169,73,0.7); font-weight: 800;
}
.card-body h3 { font-size: 1.2rem; color: var(--azul-dark); margin-bottom: 8px; }
.card-body > p { color: var(--gris); font-size: 0.9rem; font-family: var(--font-body); line-height: 1.6; margin-bottom: 14px; }
.card-meta { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-meta span { font-size: 0.8rem; color: var(--gris); font-family: var(--font-body); }
.card-meta span strong { color: var(--azul-dark); }
.precios-tabla { background: var(--crema); border-radius: 8px; padding: 12px; margin-bottom: 16px; font-family: var(--font-body); font-size: 0.82rem; }
.precio-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #dce9f0; color: var(--gris); }
.precio-row:last-child { border-bottom: none; }
.precio-row strong { color: var(--azul-dark); }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.precio-desde { font-size: 1.4rem; font-weight: bold; color: var(--naranja-dark); }
.precio-desde small { font-size: 0.78rem; font-weight: normal; color: var(--gris); font-family: var(--font-body); }
.btn-card {
  background: var(--azul); color: white; padding: 10px 22px;
  border-radius: 25px; text-decoration: none; font-size: 0.88rem;
  font-family: var(--font-heading); font-weight: 700; transition: background 0.2s;
}
.btn-card:hover { background: var(--azul-dark); color: white; }

/* ====== TABLA DE PRECIOS (páginas de ruta) ====== */
.pricing-section { background: var(--crema); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white; border-radius: 18px; padding: 32px 28px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--azul); }
.pricing-card.featured { border-color: var(--naranja); box-shadow: 0 8px 36px rgba(240,161,69,0.18); }
.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--naranja); color: white; padding: 4px 18px;
  border-radius: 20px; font-family: var(--font-body); font-size: 0.75rem; font-weight: bold; white-space: nowrap;
}
.pricing-card h3 { color: var(--azul-dark); font-size: 1.1rem; margin-bottom: 6px; font-family: var(--font-body); }
.pricing-card .price { font-size: 2.5rem; font-weight: bold; color: var(--naranja-dark); margin: 16px 0 4px; font-family: var(--font-body); }
.pricing-card .price-sub { color: var(--gris); font-family: var(--font-body); font-size: 0.82rem; margin-bottom: 22px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 26px; }
.pricing-card ul li {
  font-family: var(--font-body); font-size: 0.85rem; color: var(--gris);
  padding: 7px 0; border-bottom: 1px solid #ECE7E2; display: flex; align-items: flex-start; gap: 8px;
}
.pricing-card ul li::before { content: '✓'; color: var(--azul); font-weight: bold; flex-shrink: 0; }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card .btn-primary { width: 100%; text-align: center; display: block; }
.pricing-card .btn-pricing { margin-top: auto; width: 100%; }
.pricing-card .btn-pricing:hover { transform: scale(1.02); }

/* ====== ITINERARIO ====== */
.itinerary-section { background: #f5f0eb; }
.itinerary { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.etapa {
  display: flex; gap: 0; align-items: stretch;
  background: white; border: 1px solid #d6eae6; border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.etapa:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); }
.etapa-num {
  width: 64px; min-width: 64px;
  background: var(--azul); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem;
}
.etapa-content { flex: 1; padding: 20px 24px; }
.etapa-content h4, .etapa-content h3 {
  color: var(--azul-dark); font-size: 1.05rem; margin-bottom: 8px;
  font-family: var(--font-heading); font-weight: 700;
}
.etapa-content p { color: var(--gris); font-family: var(--font-body); font-size: 0.88rem; line-height: 1.65; margin-bottom: 0; }
.etapa-meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.etapa-meta span {
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
  color: var(--azul); background: var(--crema);
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(86,161,164,0.18);
}

/* ====== QUÉ INCLUYE ====== */
.included-section { background: var(--crema); }
.included-section h2 { margin-bottom: 24px; }
.included-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.included-item { background: white; border-radius: 12px; padding: 22px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; box-shadow: 0 2px 12px rgba(86,161,164,0.1); }
.included-item h4 { color: var(--azul-dark); font-size: 0.92rem; margin-bottom: 8px; }
.included-item p { color: var(--gris); font-family: var(--font-body); font-size: 0.82rem; line-height: 1.6; margin: 0; }

/* ====== SERVICIOS ====== */
.servicios { background: white; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; max-width: 1050px; margin: 0 auto; }
.feature { text-align: center; padding: 28px 18px; border-radius: 14px; background: var(--crema); box-shadow: 0 2px 12px rgba(86,161,164,0.1); transition: transform 0.2s; }
.feature:hover { transform: translateY(-4px); }
.feature-icon { color: var(--azul); margin-bottom: 14px; display: flex; justify-content: center; }
.feature-icon svg { width: 52px; height: 52px; }
.feature h3 { color: var(--azul-dark); font-size: 1rem; margin-bottom: 8px; }
.feature p { color: var(--gris); font-size: 0.88rem; font-family: var(--font-body); line-height: 1.6; }

/* ====== ICONOS ====== */
.footer-ico { display: inline-flex; vertical-align: middle; margin-right: 6px; color: var(--naranja); }
.footer-ico svg { width: 15px; height: 15px; }
.ecs-ico { display: inline-flex; vertical-align: middle; margin-right: 4px; color: var(--azul); flex-shrink: 0; }
.ecs-ico svg { width: 13px; height: 13px; }
.ecs-ico-lg { display: inline-flex; vertical-align: middle; margin-right: 7px; }
.ecs-ico-lg svg { width: 18px; height: 18px; }
.pago-item .pago-icon svg { width: 22px; height: 22px; }

/* ====== CÓMO FUNCIONA ====== */
.como { background: var(--crema); }
.steps { display: flex; justify-content: center; max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; text-align: center; padding: 20px; position: relative; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -10px; top: 36px; font-size: 1.5rem; color: var(--naranja); }
.step-num { width: 54px; height: 54px; background: var(--azul); color: white; border-radius: 50%; font-size: 1.4rem; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-family: var(--font-body); }
.step h4 { color: var(--azul-dark); font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--gris); font-size: 0.86rem; font-family: var(--font-body); line-height: 1.5; }

/* ====== FAQ ====== */
.faq-section { background: white; }
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #B5D5D8; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 0; background: none; border: none;
  font-family: var(--font-body); font-size: 1rem; font-weight: bold; color: var(--azul-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: '▾'; font-size: 1.2rem; color: var(--azul); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 18px; color: var(--gris); font-family: var(--font-body); font-size: 0.92rem; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ====== FORMULARIO ====== */
.form-section { background: white; }
.form-container { max-width: 750px; margin: 0 auto; background: var(--crema); border-radius: 20px; padding: 44px; box-shadow: 0 6px 30px rgba(86,161,164,0.15); border: 1px solid #B5D5D8; }
.form-container h3 { color: var(--azul-dark); font-size: 1.5rem; margin-bottom: 6px; text-align: center; }
.form-sub { text-align: center; color: var(--gris); font-family: var(--font-body); font-size: 0.92rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.8rem; font-family: var(--font-heading); font-weight: 700; color: var(--azul-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #8FBECA;
  border-radius: 8px; font-size: 0.93rem; font-family: var(--font-body);
  color: var(--text); background: white; transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--azul); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-form { width: 100%; background: var(--naranja); color: white; padding: 16px; border: none; border-radius: 35px; font-size: 1.05rem; font-weight: bold; font-family: var(--font-body); cursor: pointer; transition: background 0.2s, transform 0.2s; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-form:hover { background: var(--naranja-dark); transform: scale(1.02); }
.form-nota { text-align: center; color: var(--gris); font-size: 0.82rem; font-family: var(--font-body); margin-top: 14px; }

/* ====== TESTIMONIOS ====== */
.testimonios { background: var(--crema); }
.testimonios .section-title h2 { color: var(--azul-dark); }
.testimonios .section-title p { color: var(--gris); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1000px; margin: 0 auto; }
.testi { background: white; border-radius: 14px; padding: 26px; border: 1px solid rgba(86,161,164,0.2); box-shadow: 0 2px 14px rgba(0,0,0,0.06); }
.stars { color: var(--naranja); font-size: 1.1rem; margin-bottom: 12px; }
.testi p { color: var(--gris); font-size: 0.92rem; font-family: var(--font-body); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testi-autor { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--naranja); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: bold; color: white; font-family: var(--font-body); }
.testi-autor div strong { color: var(--azul-dark); font-size: 0.92rem; display: block; }
.testi-autor div small { color: var(--gris); font-size: 0.8rem; font-family: var(--font-body); }

/* ====== PAGOS ====== */
.pagos { background: var(--crema); text-align: center; padding: 50px 40px; }
.pagos h3 { color: var(--azul-dark); font-size: 1.2rem; margin-bottom: 24px; font-family: var(--font-body); }
.pagos-grid { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.pago-item { background: white; border: 1.5px solid #8FBECA; border-radius: 12px; padding: 14px 24px; display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 0.9rem; font-weight: bold; color: var(--azul-dark); box-shadow: 0 2px 8px rgba(86,161,164,0.1); }
.pago-item .pago-icon { color: var(--azul); display: flex; }

/* ====== CTA FINAL ====== */
.cta-final { background: linear-gradient(135deg, var(--azul-light), var(--azul)); text-align: center; padding: 90px 40px; }
.cta-final h2 { color: white; font-size: 2.3rem; margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.88); font-size: 1.1rem; font-family: var(--font-body); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ====== FOOTER ====== */
.ecs-footer { background: var(--dark); color: #9ABCC4; padding: 50px 40px 28px; font-family: var(--font-body); font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto 36px; }
.footer-col h4 { color: var(--naranja); font-size: 0.9rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { color: #9ABCC4; text-decoration: none; display: block; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-col p { line-height: 1.8; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 46px; width: auto; filter: brightness(0) invert(1) opacity(0.85); }
.social-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-btn { background: rgba(255,255,255,0.1); color: white !important; padding: 8px 14px; border-radius: 8px; font-weight: bold; font-size: 0.82rem; transition: background 0.2s !important; }
.social-btn:hover { background: var(--naranja) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; max-width: 1100px; margin: 0 auto; }
.footer-bottom a { color: var(--naranja); }

/* ====== HERO FORM ====== */
.hero-form-wrap { background: rgba(20,50,65,0.78); backdrop-filter: blur(10px); border-radius: 16px; padding: 28px 30px 22px; border: 1px solid rgba(255,255,255,0.15); width: 100%; max-width: 560px; margin-top: 32px; }
.hero-form-wrap h3 { color: white; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 16px; text-align: center; font-weight: 700; }
.hero-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.hero-form-grid .full { grid-column: 1 / -1; }
.hero-form-wrap input,
.hero-form-wrap select { width: 100%; padding: 11px 13px; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); border-radius: 8px; color: white; font-family: var(--font-body); font-size: 0.88rem; outline: none; transition: border-color 0.2s; }
.hero-form-wrap input::placeholder { color: rgba(255,255,255,0.5); }
.hero-form-wrap input:focus,
.hero-form-wrap select:focus { border-color: var(--naranja); }
.hero-form-wrap select option { background: #2D4A52; color: white; }
.hero-form-submit { width: 100%; background: var(--naranja); color: white; border: none; padding: 14px; border-radius: 10px; font-size: 1rem; font-weight: bold; font-family: var(--font-body); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.hero-form-submit:hover { background: var(--naranja-dark); transform: scale(1.02); }
.hero-form-nota { text-align: center; color: rgba(255,255,255,0.45); font-size: 0.74rem; font-family: var(--font-body); margin-top: 10px; }

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 14px 20px; border-radius: 50px; text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform 0.2s; }
.whatsapp-float:hover { transform: scale(1.06); color: white; }
.whatsapp-float svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
.wa-pulse { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; background: var(--naranja); border-radius: 50%; animation: ecs-pulse 1.8s infinite; }
@keyframes ecs-pulse { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(2.2); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }

/* ====== POPUP CALLBACK ====== */
#ecs-callback-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 99999; align-items: center; justify-content: center; padding: 16px; }
#ecs-callback-overlay.open { display: flex; }
#ecs-callback-box { background: white; border-radius: 20px; width: 100%; max-width: 380px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.35); animation: ecs-popup-in 0.25s ease; }
@keyframes ecs-popup-in { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#ecs-callback-header { background: linear-gradient(135deg, var(--azul-light), var(--azul)); padding: 24px 20px 20px; text-align: center; position: relative; }
#ecs-callback-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.4rem; cursor: pointer; line-height: 1; }
#ecs-callback-close:hover { color: white; }
#ecs-callback-header img.cb-logo { height: 42px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
#ecs-callback-header .cb-agente-foto { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--naranja); margin: 0 auto 10px; display: block; background: var(--azul); overflow: hidden; }
#ecs-callback-header .cb-agente-foto img { width: 100%; height: 100%; object-fit: cover; }
#ecs-callback-header h3 { color: white; font-family: var(--font-body); font-size: 1rem; margin-bottom: 4px; }
#ecs-callback-header p { color: #8FBECA; font-family: var(--font-body); font-size: 0.82rem; }
#ecs-callback-body { padding: 24px 24px 20px; }
#ecs-callback-body h4 { color: var(--azul-dark); font-family: var(--font-body); font-size: 1rem; margin-bottom: 6px; text-align: center; }
#ecs-callback-body p { color: var(--gris); font-size: 0.82rem; font-family: var(--font-body); text-align: center; margin-bottom: 18px; }
#ecs-cb-tel { width: 100%; padding: 13px 16px; border: 2px solid #8FBECA; border-radius: 10px; font-size: 1rem; font-family: var(--font-body); color: var(--text); outline: none; transition: border-color 0.2s; margin-bottom: 12px; }
#ecs-cb-tel:focus { border-color: var(--azul); }
#ecs-cb-privacy { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
#ecs-cb-privacy input { margin-top: 2px; flex-shrink: 0; accent-color: var(--azul); width: 15px; height: 15px; }
#ecs-cb-privacy label { font-size: 0.75rem; color: var(--gris); font-family: var(--font-body); line-height: 1.4; }
#ecs-cb-privacy label a { color: var(--azul); }
#ecs-cb-submit { width: 100%; background: var(--naranja); color: white; border: none; padding: 14px; border-radius: 10px; font-size: 1rem; font-weight: bold; font-family: var(--font-body); cursor: pointer; transition: background 0.2s; }
#ecs-cb-submit:hover { background: var(--naranja-dark); }
#ecs-cb-nota { text-align: center; color: #a0a0a0; font-size: 0.72rem; font-family: var(--font-body); margin-top: 12px; }

/* ====== LEGAL PAGES ====== */
.legal-section { max-width: 860px; margin: 0 auto; padding: 80px 40px; }
.legal-section h1 { color: var(--azul-dark); font-size: 2rem; margin-bottom: 8px; }
.legal-section .legal-fecha { color: var(--gris); font-family: var(--font-body); font-size: 0.85rem; margin-bottom: 40px; }
.legal-section h2 { color: var(--azul-dark); font-size: 1.2rem; margin: 32px 0 12px; }
.legal-section p, .legal-section li { color: var(--gris); font-family: var(--font-body); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.legal-section ul { padding-left: 22px; margin-bottom: 16px; }
.legal-section a { color: var(--azul); }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .ecs-hero h1 { font-size: 1.6rem; }
  .ecs-nav ul { display: none; }
  .nav-hamburger { display: flex; }
  .ecs-stats { gap: 28px; }
  .step:not(:last-child)::after { display: none; }
  .btn-secondary { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-container { padding: 24px 18px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .hero-form-grid { grid-template-columns: 1fr; }
  .hero-form-wrap { padding: 20px 16px 16px; margin-top: 20px; }
  .agente-txt { display: none; }
  section { padding: 60px 20px; }
  .ecs-nav { padding: 10px 16px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero { min-height: unset; padding: 110px 20px 60px; }
  .route-strip-item { padding: 16px 16px; }
  .etapa { flex-direction: column; gap: 0; }
  .etapa-num { width: 100%; height: 48px; min-width: unset; font-size: 1.1rem; }
  .pricing-card { padding: 24px 20px; }
  .cta-final h2 { font-size: 1.8rem; }
  .legal-section { padding: 60px 20px; }
}
@media (max-width: 480px) {
  .section-title h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 1.4rem; }
  .page-hero { padding: 100px 16px 50px; }
}

/* ====== STICKY SUB-NAV (estilo Macs Adventure) ====== */
.page-subnav {
  background: white;
  border-bottom: 2px solid #e0eeec;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  position: sticky;
  top: 72px;
  z-index: 90;
}
.page-subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-subnav-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-subnav-tabs::-webkit-scrollbar { display: none; }
.subnav-tab {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gris);
  padding: 16px 18px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.subnav-tab:hover { color: var(--azul); border-bottom-color: rgba(86,161,164,0.3); }
.subnav-tab.active { color: var(--azul); border-bottom-color: var(--azul); font-weight: 700; }
.page-subnav-btns {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.subnav-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  line-height: 1.3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
}
.subnav-btn-primary {
  background: var(--azul);
  color: white !important;
}
.subnav-btn-primary:hover { background: var(--azul-dark); }
.subnav-btn-outline {
  background: transparent;
  color: var(--azul);
  border: 1.5px solid var(--azul);
}
.subnav-btn-outline:hover { background: var(--crema); }
@media (max-width: 768px) {
  .page-subnav-inner { padding: 0 12px; }
  .subnav-tab { padding: 12px 10px; font-size: 0.75rem; }
  .subnav-btn { padding: 7px 11px; font-size: 0.72rem; }
  .page-subnav { top: 60px; }
}

/* ── RELATED ROUTES ────────────────────────────────── */
.related-routes { background: #f5fafa; padding: 60px 24px; }
.related-routes h2 { font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--azul-dark); margin-bottom: 28px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.related-card { display: block; background: white; border-radius: 14px; border: 1.5px solid #ddeaec; padding: 22px 20px; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
.related-card:hover { box-shadow: 0 8px 28px rgba(86,161,164,0.18); transform: translateY(-3px); border-color: var(--azul); }
.related-tag { display: inline-block; font-size: 0.75rem; color: var(--azul); font-weight: 700; margin-bottom: 8px; }
.related-card h4 { font-family: 'Raleway', sans-serif; font-size: 0.95rem; font-weight: 800; color: var(--azul-dark); margin-bottom: 8px; line-height: 1.3; }
.related-price { font-size: 0.85rem; color: var(--naranja); font-weight: 700; }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* ── GALLERY SLIDER ─────────────────────────────────── */
.gallery-section { background: var(--white); }
.gallery-slider-wrap { position: relative; padding: 0 36px; }
.gallery-viewport { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory; }
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: 12px; }
.gallery-slide { flex-shrink: 0; width: calc(25% - 9px); min-width: 180px; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; background: #eee; scroll-snap-align: start; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; display: block; }
.gallery-slide:hover img { transform: scale(1.06); }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); background: white; border: 2px solid var(--border); width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.12); cursor: pointer; font-size: 1.6rem; color: var(--azul); display: flex; align-items: center; justify-content: center; transition: all 0.2s; line-height: 1; padding: 0; z-index: 2; }
.gallery-btn:hover { background: var(--azul); color: white; border-color: var(--azul); }
.gallery-prev { left: -4px; }
.gallery-next { right: -4px; }
@media (max-width: 768px) {
  .gallery-slider-wrap { padding: 0; }
  .gallery-track { gap: 0; }
  .gallery-slide { width: 100%; min-width: 100%; aspect-ratio: 4/3; border-radius: 0; scroll-snap-align: center; }
  .gallery-btn { top: auto; bottom: 14px; transform: none; width: 34px; height: 34px; font-size: 1.3rem; }
  .gallery-prev { left: auto; right: 58px; }
  .gallery-next { right: 14px; }
}

/* ── ROUTE MAP ──────────────────────────────────────── */
.map-section { background: #f0f9f9; }
.route-map-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: start; max-width: 960px; margin: 0 auto; }
.route-map-svg { width: 100%; display: block; border-radius: 12px; box-shadow: 0 4px 20px rgba(86,161,164,0.15); }
.route-stages-list { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.route-stage-item { display: flex; align-items: flex-start; gap: 12px; }
.route-stage-num { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: var(--azul); color: white; font-size: 0.74rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.route-stage-info strong { display: block; font-size: 0.88rem; color: var(--azul-dark); margin-bottom: 2px; }
.route-stage-info span { font-size: 0.76rem; color: var(--gris); }
@media (max-width: 768px) {
  .route-map-wrap { grid-template-columns: 1fr; gap: 24px; }
  .route-stages-list { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .route-stage-item { width: calc(50% - 5px); }
}
