/* Las fuentes se cargan con <link> en el <head> de cada página (más rápido que @import) */

/* --- SISTEMA DE DISEÑO --- */
:root {
  --primary-color: #004b93;      /* Azul Corporativo */
  --primary-light: #1e81b0;      /* Azul Claro */
  --primary-dark: #002d59;       /* Azul Oscuro */
  --accent-color: #2e7d32;       /* Verde Acento Logo */
  --accent-dark: #1b5e20;        /* Verde Oscuro */
  --accent-light: #4caf50;       /* Verde Claro */
  --text-dark: #0f172a;          /* Slate 900 */
  --text-medium: #334155;        /* Slate 700 */
  --text-muted: #56657a;         /* Gris medio (contraste AA sobre fondos claros) */
  --bg-light: #f0f4f8;           /* Gris Azulado Suave */
  --bg-white: #ffffff;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 8px 24px rgba(46, 125, 50, 0.25);
  --shadow-primary: 0 8px 24px rgba(0, 75, 147, 0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

p {
  color: var(--text-medium);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

section {
  padding: 100px 0;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- REUSABLE COMPONENTS --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  background-color: rgba(0, 75, 147, 0.08);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.section-title span {
  color: var(--primary-light);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 75, 147, 0.3);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 125, 50, 0.35);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 20px 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 75, 147, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 100px;
  width: auto;
  transition: var(--transition-normal);
}

header.scrolled .logo img {
  height: 75px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-medium);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-color);
}

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

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* --- ACCESIBILIDAD --- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100002;
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

main:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(30, 129, 176, 0.1) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 20% 80%, rgba(46, 125, 50, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(46, 125, 50, 0.12);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.hero-tag-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 45, 89, 0.4) 0%, rgba(255, 255, 255, 0) 65%);
}

.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 10;
  border-left: 5px solid var(--accent-color);
  max-width: calc(100% - 48px);
}

.hero-visual-badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.hero-visual-badge-desc {
  font-size: 0.85rem;
  color: var(--text-medium);
}

/* --- STATS SECTION --- */
.stats {
  padding: 40px 0;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(124, 208, 36, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #7cd024; /* Verde acento original más vivo para contraste */
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

/* --- SERVICES SECTION --- */
.services {
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 75, 147, 0.04);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 75, 147, 0.1);
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-icon-badge {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg-white);
  z-index: 5;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-badge {
  background-color: var(--accent-color);
  transform: rotate(360deg);
}

.service-body {
  padding: 40px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.service-card:hover .service-title {
  color: var(--primary-color);
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 30px;
  padding-top: 15px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.service-features-list li {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.service-cta {
  width: 100%;
}

/* --- COVERAGE MAP SECTION --- */
.coverage {
  background-color: var(--bg-light);
  overflow: hidden;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.coverage-content {
  max-width: 500px;
}

.countries-accordion {
  margin-top: 30px;
}

.country-tab {
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
}

.country-tab:hover {
  transform: translateX(5px);
  border-left-color: var(--primary-light);
}

.country-tab.active {
  border-left-color: #7cd024; /* Verde acento original más vivo */
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.country-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.country-header:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 6px;
  border-radius: 4px;
}

.country-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.country-transit {
  font-size: 0.85rem;
  color: var(--accent-color); /* Verde oscuro: contraste AA sobre el fondo verde claro */
  font-weight: 700;
  background-color: rgba(124, 208, 36, 0.12); /* Fondo verde más vivo */
  padding: 4px 10px;
  border-radius: 50px;
}

.country-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  font-size: 0.9rem;
  color: var(--text-medium);
  padding-top: 0;
}

.country-tab.active .country-details {
  max-height: 320px;
  padding-top: 12px;
}

.map-wrapper {
  position: relative;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle at 55% 55%, rgba(30, 129, 176, 0.06), transparent 65%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 75, 147, 0.05);
}

/* SVG Map styling: el SVG y las capitales comparten el mismo lienzo para que siempre coincidan */
.map-canvas {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.svg-map {
  display: block;
  width: 100%;
  height: auto;
  max-height: 550px;
}

.country-path.context-country {
  fill: #f3f6f9;
  stroke: #dde5ee;
  stroke-width: 1;
  cursor: default;
}

.country-path.context-country:hover {
  fill: #f3f6f9;
  stroke: #dde5ee;
  stroke-width: 1;
}

.map-route {
  fill: none;
  stroke: rgba(0, 75, 147, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  pointer-events: none;
}

.country-path {
  fill: rgba(226, 232, 240, 0.7);
  stroke: var(--bg-white);
  stroke-width: 2;
  transition: var(--transition-normal);
  cursor: pointer;
}

.country-path:hover,
.country-path.active {
  fill: rgba(0, 75, 147, 0.15);
  stroke: var(--primary-color);
  stroke-width: 2.5;
}

.country-path.target-country {
  fill: #d3e2f1;
  stroke: #ffffff;
  stroke-width: 1.2;
}

.country-path.target-country:hover,
.country-path.target-country.active {
  fill: rgba(124, 208, 36, 0.3);
  stroke: #5fa81a;
  stroke-width: 1.5;
}

.map-hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.map-hotspot.active .hotspot-dot {
  transform: scale(1.35);
}

/* Sede central (San José) en azul */
.map-hotspot[data-hq] .hotspot-dot {
  background-color: var(--primary-light);
  box-shadow: 0 8px 24px rgba(30, 129, 176, 0.4);
}

.map-hotspot[data-hq] .hotspot-pulse {
  background-color: rgba(30, 129, 176, 0.4);
}

.hotspot-dot {
  width: 12px;
  height: 12px;
  background-color: #7cd024; /* Verde acento original más vivo */
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  box-shadow: 0 8px 24px rgba(124, 208, 36, 0.4);
  position: relative;
  z-index: 2;
}

.hotspot-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(124, 208, 36, 0.45); /* Verde acento original más vivo */
  animation: pulseGreen 2s infinite;
  z-index: 1;
}

.map-hotspot:hover .hotspot-dot {
  background-color: var(--primary-color);
  transform: scale(1.2);
  box-shadow: var(--shadow-primary);
}

.map-hotspot:hover .hotspot-pulse {
  background-color: rgba(0, 75, 147, 0.4);
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 75, 147, 0.1);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 100;
  max-width: 220px;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 4px;
}

.tooltip-desc {
  font-size: 0.8rem;
  color: var(--text-medium);
}

/* --- FLEET SECTION --- */
.fleet {
  background-color: var(--bg-white);
}

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

.fleet-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.fleet-image img {
  width: 100%;
  transition: var(--transition-slow);
}

.fleet-image:hover img {
  transform: scale(1.03);
}

.fleet-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.fleet-list {
  list-style: none;
  margin-top: 30px;
}

.fleet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.fleet-icon {
  background-color: rgba(0, 75, 147, 0.06);
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.fleet-item:hover .fleet-icon {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.fleet-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.fleet-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- FAQ SECTION --- */
.faq {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.faq-item {
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 75, 147, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.faq-item[open] {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 75, 147, 0.18);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-dark);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-color);
  transition: var(--transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .faq {
    padding: 70px 0;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* La etiqueta no debe estirarse a todo el ancho */
.contact-info .section-tag {
  align-self: flex-start;
}

.contact-desc {
  margin-bottom: 40px;
}

/* Utilidades de botones */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-secondary-action {
  margin-top: 12px;
}

/* Contacto en el pie de página */
.footer-contact {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact li {
  margin-bottom: 10px;
}

.footer-contact a {
  color: inherit;
}

.contact-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 75, 147, 0.04);
  display: flex;
  gap: 20px;
  transition: var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 75, 147, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card:hover .contact-icon {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.contact-text h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-text p {
  font-size: 0.95rem;
  color: var(--text-medium);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 75, 147, 0.04);
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 75, 147, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 75, 147, 0.1);
}

.form-control[aria-invalid="true"] {
  border-color: #c62828;
  background-color: #fff5f5;
}

.form-error {
  color: #c62828;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
}

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

/* --- FOOTER --- */
footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: inline-block;
  background-color: var(--bg-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.footer-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: #f8fafc;
}

.footer-logo img {
  height: 100px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bg-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6); /* antes heredaba gris oscuro y casi no se leía */
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-normal);
}

.whatsapp-btn {
  position: relative;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.12);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.whatsapp-float:hover .whatsapp-btn {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #2de370 0%, #0fa373 100%);
}

.whatsapp-btn svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  position: relative;
  z-index: 2;
}

/* Dual pulse rings */
.whatsapp-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.35);
  animation: waPulse 2.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
  z-index: 0;
}

.whatsapp-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.2);
  animation: waPulse 2.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite 0.8s;
}

@keyframes waPulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  70%  { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}

/* Tooltip label */
.whatsapp-label {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #128c7e;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  white-space: nowrap;
  border: 1px solid rgba(37,211,102,0.2);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}


/* Contenedor de imágenes con elementos superpuestos (insignias) */
.edit-img-container {
  position: relative;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100001;
}

.toast {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-color);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.visible {
  transform: translateX(0);
}

.toast-error {
  border-left-color: #ef4444;
}

/* --- ANIMATIONS --- */
@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(124, 208, 36, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(124, 208, 36, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(124, 208, 36, 0);
  }
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .coverage-content {
    max-width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .fleet-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .services-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  /* Hero compacto: que la imagen y los botones se vean antes */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 48px;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-desc {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }
  .hero-ctas {
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  /* Cifras en cuadrícula 2x2 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-card {
    padding: 20px 10px;
  }
  .stat-number {
    font-size: 2.1rem;
  }
  .stat-label {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  .stat-desc {
    display: none;
  }
  /* Mapa más grande en pantallas pequeñas */
  .map-wrapper {
    padding: 12px;
  }
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-label {
    display: none;
  }
  .whatsapp-btn {
    width: 54px;
    height: 54px;
  }
  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   SERVICIOS ESPECÍFICOS - CARGA CONSOLIDADA PUERTA A PUERTA (LTL)
   ========================================================================== */

/* Hero Especial LTL */
.hero-consolidado {
  background: radial-gradient(circle at 10% 20%, rgba(0, 75, 147, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 90% 80%, rgba(46, 125, 50, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  padding-top: 150px;
  padding-bottom: 60px;
}

.hero-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-flow-step {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: rgba(0, 75, 147, 0.06);
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-flow-step:last-child {
  color: var(--accent-dark);
  background-color: rgba(46, 125, 50, 0.12);
}

.hero-flow-arrow {
  color: var(--text-muted);
  font-weight: bold;
}

.hero-footnote {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* Sección Explicativa Concepto */
.concepto-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.concepto-slogan {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.concepto-destaque {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 75, 147, 0.04);
}

/* Timeline Vertical Interactiva */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-light), var(--accent-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: 20px;
  top: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--primary-color);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.timeline-item:hover .timeline-badge {
  transform: scale(1.15);
  border-color: var(--accent-color);
  color: var(--accent-dark);
  box-shadow: var(--shadow-accent);
}

.timeline-content {
  background-color: var(--bg-white);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 75, 147, 0.04);
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 75, 147, 0.1);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Sección Anticipación Aduanera (Paralelo) */
.anticipation-section {
  background-color: var(--bg-white);
}

.anticipation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.anticipation-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.anticipation-card-doc {
  border-left: 5px solid var(--primary-light);
}

.anticipation-card-truck {
  border-left: 5px solid var(--accent-color);
}

.anticipation-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.anticipation-flow {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.anticipation-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-fast);
}

.anticipation-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.anticipation-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 75, 147, 0.08);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.anticipation-card-truck .anticipation-step-num {
  background-color: rgba(46, 125, 50, 0.12);
  color: var(--accent-dark);
}

/* Mapa Físico e Interactivo */
.mapa-ruta-section {
  background-color: var(--bg-light);
}

.mapa-ruta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.map-svg-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 75, 147, 0.05);
}

.route-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.route-node-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.route-node-item:hover, .route-node-item.active {
  background-color: var(--bg-light);
}

.route-node-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--primary-color);
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition-fast);
}

.route-node-item:hover .route-node-bullet, .route-node-item.active .route-node-bullet {
  background-color: var(--accent-color);
  box-shadow: 0 0 0 2px var(--accent-color);
}

.route-node-info h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.route-node-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Audiencia (Público Objetivo) */
.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.audience-tab-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition-normal);
}

.audience-tab-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-primary);
}

.audience-cards-container {
  max-width: 800px;
  margin: 0 auto;
}

.audience-card-item {
  display: none;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 75, 147, 0.04);
  animation: fadeIn 0.5s ease;
}

.audience-card-item.active {
  display: block;
}

.audience-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.audience-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.audience-card-item h3 {
  font-size: 1.4rem;
  margin: 0;
}

.audience-steps-list {
  list-style: none;
  margin-top: 20px;
}

.audience-steps-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audience-steps-list li svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

/* Tabla de un Vistazo */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--bg-white);
}

.vista-rapida-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.vista-rapida-table th {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 18px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.vista-rapida-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--text-medium);
}

.vista-rapida-table tr:last-child td {
  border-bottom: none;
}

.vista-rapida-table tr:nth-child(even) {
  background-color: rgba(0, 75, 147, 0.02);
}

.vista-rapida-table tr:hover {
  background-color: rgba(46, 125, 50, 0.05);
}

.vista-rapida-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary-color);
  background-color: rgba(0, 75, 147, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Sección de Cierre / Requerimientos */
.cierre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.req-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 75, 147, 0.05);
}

.req-list {
  list-style: none;
  margin-top: 20px;
}

.req-list li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.req-list-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 75, 147, 0.06);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-cierre-card {
  text-align: center;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-bottom: 5px solid var(--accent-color);
}

.cta-cierre-card h2 {
  color: var(--bg-white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-cierre-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SVG Line dash array animations for map */
.map-route-line {
  stroke-dasharray: 8 4;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* RESPONSIVO ESPECÍFICO DE LTL */
@media (max-width: 1024px) {
  .concepto-layout, .anticipation-grid, .mapa-ruta-grid, .cierre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .map-svg-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-item {
    padding-left: 50px;
  }
  .timeline-badge {
    left: 0;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .audience-tabs {
    flex-direction: column;
    align-items: center;
  }
  .audience-tab-btn {
    width: 100%;
    max-width: 320px;
  }
  .cta-cierre-card {
    padding: 35px 20px;
  }
}

