/* ==========================================================================
   TRANSTURAMA - SITIO WEB OFICIAL
   Estilos CSS Modernos, Responsivos y Optimizados
   Paleta: Azul Marino (#071e3d), Azul Real (#004aad), Celeste Eléctrico (#00a8ff)
   ========================================================================== */

/* --- Importación de Tipografías Modernas --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

/* --- Variables Globales y Design Tokens --- */
:root {
  /* Paleta de Colores Extraída del Flyer Oficial */
  --color-primary-dark: #071e3d;       /* Azul marino profundo de fondo y encabezados */
  --color-primary: #002d72;            /* Azul institucional */
  --color-primary-light: #004aad;      /* Azul real vibrante */
  --color-accent: #00a8ff;             /* Celeste cian eléctrico */
  --color-accent-hover: #0088cc;
  --color-whatsapp: #25d366;           /* Verde oficial WhatsApp */
  --color-whatsapp-dark: #128c7e;

  /* Neutros y Superficies */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-dark: #1e3a5f;

  /* Texto */
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  --color-text-inverse: #ffffff;

  /* Tipografías */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive, sans-serif;

  /* Sombras y Elevaciones */
  --shadow-sm: 0 2px 8px rgba(7, 30, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 30, 61, 0.1);
  --shadow-lg: 0 16px 40px rgba(7, 30, 61, 0.15);
  --shadow-xl: 0 24px 60px rgba(7, 30, 61, 0.22);
  --shadow-glow: 0 0 25px rgba(0, 168, 255, 0.4);
  --shadow-whatsapp: 0 10px 30px rgba(37, 211, 102, 0.45);

  /* Transiciones y Bordes */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reseteo y Base --- */
*, *::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-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: clip; /* clip en lugar de hidden para preservar position: sticky en PC y móviles */
}

section[id] {
  scroll-margin-top: 85px; /* Offset para que el menú sticky nunca tape títulos al navegar */
}

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

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

button, input, select, textarea {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Barra Superior de Contacto Rápido --- */
.top-bar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--color-accent);
}

.top-bar-badge {
  background: rgba(0, 168, 255, 0.2);
  color: var(--color-accent);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Header y Navbar Principal (Sticky con Glassmorphism) --- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 10px rgba(0, 45, 114, 0.08);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 20px rgba(7, 30, 61, 0.12);
  padding-block: 0.15rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

/* Logo Oficial Recreado */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--color-primary-dark);
  line-height: 1;
  white-space: nowrap;
}

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

.logo-tagline {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-top: 3px;
  line-height: 1;
  white-space: nowrap;
}

/* Enlaces de Navegación de Escritorio - Fluido y Adaptativo */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.35vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: clamp(0.82rem, 0.92vw, 0.95rem);
  color: var(--color-text-main);
  position: relative;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

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

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

/* Botones de Acción */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 14px rgba(0, 74, 173, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.45);
  color: var(--color-text-inverse);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

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

.btn-outline:hover {
  background: var(--color-primary-light);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* Botón Hamburguesa Móvil Moderno y Visible */
.mobile-toggle {
  display: none;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(7, 30, 61, 0.2);
  transition: all var(--transition-fast);
}

.mobile-toggle:hover, .mobile-toggle:active {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.35);
}

.mobile-hamburger-icon {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* --- Hero Section (Inspirada en el Flyer) --- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #edf4fc 0%, #f7faff 60%, #ffffff 100%);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-text-area {
  padding-top: 1rem;
}

.hero-badge-container {
  margin-bottom: 1.25rem;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--color-primary-dark);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 15px rgba(7, 30, 61, 0.08);
  border: 1px solid rgba(0, 74, 173, 0.18);
}

.hero-slogan-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--color-primary-light);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #0088cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subheadline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-subheadline::before, .hero-subheadline::after {
  content: '';
  height: 2px;
  background: var(--color-accent);
  flex: 1;
  max-width: 45px;
}

/* Lema estilo Brush Script del flyer */
.hero-tagline-brush {
  background: linear-gradient(135deg, #071e3d 0%, #002d72 100%);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-tagline-brush::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--color-accent);
}

.hero-script-text {
  font-family: var(--font-script);
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-block-caps {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-top: 0.25rem;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* 4 Badges de Garantía del Flyer */
.hero-guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary-dark);
}

.guarantee-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Hero Visual / Flyer Showcase Card */
.hero-visual-area {
  position: relative;
}

.hero-card-frame {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(0, 168, 255, 0.2);
  transition: transform var(--transition-normal);
}

.hero-card-frame:hover {
  transform: translateY(-4px);
}

.hero-flayer-image {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* Badges flotantes interactivos */
.floating-stat-card {
  position: absolute;
  background: rgba(7, 30, 61, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(0, 168, 255, 0.3);
  z-index: 2;
}

.floating-stat-card.bottom-left {
  bottom: -20px;
  left: -20px;
}

.floating-stat-card.top-right {
  top: 25px;
  right: -20px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.stat-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/* --- Banner de Contacto Oficial (Diseño del Flyer) --- */
.contact-highlight-strip {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #002d72 100%);
  color: #ffffff;
  padding: 1.5rem 0;
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}

.contact-strip-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-strip-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-strip-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.contact-strip-icon-circle svg {
  width: 26px;
  height: 26px;
}

.contact-strip-info .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  display: block;
}

.contact-strip-info .value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.contact-strip-info .value:hover {
  color: var(--color-accent);
}

.contact-strip-divider {
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

/* --- Sección: 4 Pilares Principales (Como en el Flyer) --- */
.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 255, 0.4);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.08) 0%, rgba(0, 168, 255, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.pillar-card:hover .pillar-icon-box {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.pillar-icon-box svg {
  width: 34px;
  height: 34px;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Sección: Historia de la Empresa Familiar --- */
.history-section {
  background: #ffffff;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.history-image-wrapper {
  position: relative;
}

.history-main-card {
  position: relative;
  background: linear-gradient(135deg, #071e3d 0%, #002d72 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.history-main-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.25) 0%, transparent 70%);
}

.history-family-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 255, 0.2);
  border: 1px solid rgba(0, 168, 255, 0.4);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.history-quote {
  font-family: var(--font-script);
  font-size: 2.2rem;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.history-card-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.history-val-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.history-val-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.history-val-item h5 {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.history-val-item p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.history-text-area p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.history-text-area strong {
  color: var(--color-primary-dark);
}

/* --- Sección: Tipos de Traslado (9 Solicitados por el Dueño) --- */
.services-section {
  background: var(--color-bg);
}

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

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 74, 173, 0.3);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 45, 114, 0.2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: #eef4ff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

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

.service-btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}

/* --- Sección: Tipos de Vehículos (Flota: SUV, Van, Minibuses, Buses) --- */
.fleet-section {
  background: #ffffff;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fleet-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.fleet-img-wrapper {
  position: relative;
  background: linear-gradient(180deg, #eef4ff 0%, #dfe9f7 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
}

.fleet-img-wrapper img, .fleet-img-wrapper svg {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.fleet-card:hover .fleet-img-wrapper img,
.fleet-card:hover .fleet-img-wrapper svg {
  transform: scale(1.06);
}

.fleet-capacity-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--color-primary-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fleet-capacity-badge svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.fleet-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.35rem;
}

.fleet-model-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 0.85rem;
}

.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.spec-item {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spec-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary-light);
}

.fleet-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* --- Sección: Cotizador Interactivo Rápido (Con Salida a WhatsApp) --- */
.quote-section {
  background: linear-gradient(135deg, #071e3d 0%, #002d72 50%, #071e3d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.quote-card-container {
  max-width: 960px;
  margin-inline: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  color: var(--color-text-main);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.quote-card-header {
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.quote-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
}

.quote-card-header p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.quote-header-badge {
  background: var(--color-whatsapp);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quote-form {
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-alt);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary-light);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.quote-privacy-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quote-privacy-note svg {
  width: 16px;
  height: 16px;
  color: var(--color-whatsapp);
}

/* --- Sección: ¿Por Qué Elegirnos? (Confianza y Seguridad) --- */
.why-us-section {
  background: var(--color-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.why-card:hover {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* --- Sección: Preguntas Frecuentes (FAQ para SEO) --- */
.faq-section {
  background: var(--color-bg);
}

.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-arrow {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-normal);
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Sección de Contacto Directo y Mapa --- */
.contact-section {
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card-info {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #002d72 100%);
  color: #ffffff;
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.contact-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-card-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 168, 255, 0.2);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
}

.contact-detail-content h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
}

.contact-detail-content a, .contact-detail-content span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.contact-detail-content a:hover {
  color: var(--color-accent);
}

.contact-map-wrapper {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.coverage-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.coverage-badge-item {
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coverage-badge-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.coverage-badge-item h5 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.coverage-badge-item p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --- Footer Oficial (Estilo y Slogan del Flyer) --- */
.site-footer {
  background: var(--color-primary-dark);
  color: #ffffff;
  padding-top: 4.5rem;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo-title {
  color: #ffffff;
}

.footer-brand .logo-tagline {
  color: var(--color-accent);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-slogan-box {
  background: rgba(0, 168, 255, 0.1);
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-slogan-box .slogan-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  display: block;
}

.footer-slogan-box .slogan-main {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

/* Slogan Final del Flyer: VIAJAMOS CONTIGO, LLEGAMOS JUNTOS */
.footer-banner-slogan {
  background: linear-gradient(90deg, #002d72 0%, var(--color-primary-light) 50%, #002d72 100%);
  padding: 1.25rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 168, 255, 0.3);
  border-bottom: 1px solid rgba(0, 168, 255, 0.3);
}

.footer-banner-slogan h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  padding: 1.75rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-credits {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.credit-link {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  border-bottom: 1px dotted rgba(0, 168, 255, 0.5);
  display: inline-block;
}

.credit-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.7);
  transform: translateY(-1px);
}

.credit-separator {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.35rem;
}

.credit-author {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-values {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

/* --- Widget Flotante de WhatsApp (Permanente a la Derecha) --- */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-tooltip {
  background: #ffffff;
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(10px);
  opacity: 0;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-floating-widget:hover .whatsapp-tooltip {
  transform: translateX(0);
  opacity: 1;
}

.whatsapp-btn-float {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-whatsapp);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-bounce);
  border: none;
  outline: none;
}

.whatsapp-btn-float svg {
  width: 36px;
  height: 36px;
}

.whatsapp-btn-float:hover {
  transform: scale(1.12);
  background: #20ba59;
}

/* Pulso animado para captar atención sin ser invasivo */
.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-whatsapp);
  opacity: 0.7;
  z-index: -1;
  animation: pulseRipple 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-badge-online {
  position: absolute;
  top: 0;
  right: 2px;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-badge-online::after {
  content: '';
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
}

/* Botón Subir al Inicio */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   NAVEGACIÓN MÓVIL PERMANENTE Y DRAWER DESLIZANTE
   Garantiza que el usuario NUNCA pierda el menú principal en el celular
   ========================================================================== */

/* Bloqueo de scroll cuando el drawer está abierto */
body.drawer-open {
  overflow: hidden !important;
}

/* Backdrop difuminado detrás del drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 61, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer Lateral Deslizante (LADO IZQUIERDO PARA CELULAR) */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  bottom: 0;
  width: min(340px, 86vw);
  background: linear-gradient(180deg, #071e3d 0%, #00224f 100%);
  color: #ffffff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  border-right: 1px solid rgba(0, 168, 255, 0.25);
  border-left: none;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover, .drawer-close-btn:active {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.drawer-close-btn svg {
  width: 20px;
  height: 20px;
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
}

.drawer-nav-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.drawer-nav-item:hover, .drawer-nav-item.active {
  background: rgba(0, 168, 255, 0.15);
  color: #ffffff;
  transform: translateX(4px);
}

.drawer-nav-item.active svg {
  color: #ffffff;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN MÓVIL INFERIOR FIJA (TIPO APP)
   ========================================================================== */
.mobile-bottom-nav {
  display: none; /* Oculta en pantallas de escritorio */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(7, 30, 61, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 168, 255, 0.25);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 9990;
  padding-inline: 0.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex: 1;
  max-width: 72px;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  transition: all var(--transition-fast);
}

.bottom-nav-item:hover, .bottom-nav-item.active {
  color: var(--color-accent);
}

.bottom-nav-item.active svg {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Destacado Cotizar en la barra inferior */
.bottom-nav-item.highlight {
  color: #ffffff;
}

.bottom-nav-item.highlight svg {
  color: var(--color-accent);
}

/* Icono verde WhatsApp en barra inferior */
.bottom-nav-item.whatsapp-item {
  color: var(--color-whatsapp);
}

.bottom-nav-item.whatsapp-item svg {
  color: var(--color-whatsapp);
}

/* ==========================================================================
   MEDIA QUERIES PARA RESPONSIVIDAD TOTAL Y PROTECCIÓN ANTI-DESBORDAMIENTO
   ========================================================================== */

/* Asegurar que nada cause scroll horizontal involuntario sin romper position: sticky */
html, body {
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

/* Laptops y Pantallas de Escritorio Medianas (<= 1200px) */
@media (max-width: 1200px) {
  .logo-tagline {
    display: none; /* Ocultar el lema largo para dar amplio espacio al menú de 7 enlaces en notebooks */
  }

  .nav-links {
    gap: 1rem;
  }
}

/* Laptops Compactas y Tablets Horizontales (<= 992px) */
@media (max-width: 992px) {
  .nav-links {
    gap: 0.65rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.25rem 0.1rem;
  }

  .nav-actions .nav-whatsapp-btn span {
    display: none; /* En pantallas de 992px muestra el icono de WhatsApp estilizado */
  }

  .nav-actions .nav-whatsapp-btn {
    padding: 0.55rem;
    border-radius: 50%;
  }
}

/* Laptops y Pantallas Medianas (<= 1024px) */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-area {
    max-width: 580px;
    margin-inline: auto;
    width: 100%;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Dispositivos Móviles y Tablets (<= 880px) */
@media (max-width: 880px) {
  /* Espaciado inferior en el cuerpo para no tapar contenido con la barra fija */
  body {
    padding-bottom: 68px;
  }

  /* Ocultar barra superior fija para ganar espacio */
  .top-bar {
    display: none;
  }

  /* Mostrar la barra inferior fija permanente (TIPO APP) */
  .mobile-bottom-nav {
    display: flex;
  }

  /* Activar botón de menú hamburguesa moderno en header AL LADO IZQUIERDO */
  .mobile-toggle {
    display: inline-flex !important;
    order: 1;
    margin-right: 0.5rem;
  }

  /* Logo al lado del botón de menú en celular */
  .brand-logo {
    order: 2;
    gap: 0.5rem;
    margin-right: auto;
  }

  /* Los enlaces directos de navegación del header se ocultan en favor del drawer lateral */
  .nav-links {
    display: none !important;
  }

  /* Ocultar el icono y botón de WhatsApp arriba en el header cuando se ve por el celular */
  .site-header .nav-actions,
  .nav-actions {
    display: none !important;
  }

  /* Logo compacto para pantallas móviles */
  .logo-symbol {
    width: 38px;
    height: 38px;
  }

  .logo-title {
    font-size: 1.35rem;
  }

  .logo-tagline {
    display: none;
  }

  /* Ajustar botón de WhatsApp flotante para que quede ARRIBA de la barra inferior */
  .whatsapp-floating-widget {
    bottom: 78px;
    right: 16px;
  }

  .whatsapp-btn-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-btn-float svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-tooltip {
    display: none; /* Mantener la pantalla limpia en móviles */
  }

  /* Botón volver arriba reubicado */
  .back-to-top {
    bottom: 78px;
    left: 16px;
    width: 40px;
    height: 40px;
  }

  /* Ajuste de Hero y Badges flotantes para evitar desbordes */
  .hero-section {
    padding: 2rem 0 3rem;
  }

  .hero-card-frame {
    padding: 0.5rem;
  }

  .floating-stat-card {
    position: static;
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .floating-stat-card.bottom-left,
  .floating-stat-card.top-right {
    position: static;
  }

  .hero-guarantees {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .contact-strip-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .contact-strip-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .quote-form {
    padding: 1.5rem 1.25rem;
  }

  .quote-card-header {
    padding: 1.5rem 1.25rem;
  }

  .contact-card-info {
    padding: 1.75rem 1.25rem;
  }

  .contact-map-wrapper {
    padding: 1.5rem 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    text-align: center;
  }
}

/* Teléfonos Pequeños (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .logo-title {
    font-size: 1.2rem;
  }

  .logo-tagline {
    display: none; /* Simplificar para que quepa perfectamente con el botón menú */
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-script-text {
    font-size: 1.6rem;
  }

  .hero-block-caps {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .hero-tagline-brush {
    padding: 1rem;
  }

  .hero-guarantees {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .guarantee-item {
    font-size: 0.72rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .history-main-card {
    padding: 2rem 1.25rem;
  }

  .history-card-values {
    grid-template-columns: 1fr;
  }

  .coverage-badges-grid {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .btn {
    width: 100%;
  }

  /* Inputs de 16px para evitar auto-zoom indeseado en iOS Safari */
  .form-control {
    font-size: 16px !important;
  }
}

/* Pantallas Ultra Pequeñas (<= 360px) */
@media (max-width: 360px) {
  .logo-symbol {
    width: 32px;
    height: 32px;
  }

  .logo-title {
    font-size: 1.1rem;
  }

  .mobile-toggle {
    padding: 0.35rem 0.65rem;
  }

  .mobile-toggle-label {
    display: none; /* Mantener solo el icono para evitar compresión */
  }

  .hero-guarantees {
    grid-template-columns: 1fr;
  }

  .bottom-nav-item span {
    font-size: 0.62rem;
  }
}

