/* =========================================
   SM SERVICIOS MARBELLA v1.3
   Design System — Navy #0F2A47 + Orange #D85A30
   ========================================= */

:root {
  --navy: #0F2A47;
  --navy-dark: #0A1E33;
  --navy-light: #1B3A5E;
  --orange: #D85A30;
  --orange-dark: #B94820;
  --orange-light: #E8734D;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #ADB5BD;
  --gray-600: #868E96;
  --gray-700: #5F5E5A;
  --gray-800: #343A40;
  --gray-900: #2C2C2A;

  --shadow-sm: 0 2px 4px rgba(15, 42, 71, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 42, 71, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 42, 71, 0.12);
  --shadow-xl: 0 24px 48px rgba(15, 42, 71, 0.16);

  --radius: 8px;
  --radius-lg: 14px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bebas Neue', 'Inter', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  font-weight: 400;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 32px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.logo img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo-name { font-weight: 800; font-size: 1.05rem; color: var(--navy); letter-spacing: -0.02em; white-space: nowrap; }
.logo-sub { font-size: 0.72rem; color: var(--gray-700); letter-spacing: 0.3em; margin-top: 3px; text-transform: uppercase; white-space: nowrap; }

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-weight: 500;
  color: var(--gray-800);
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition);
}
.nav a:hover { color: var(--orange); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== BOTÓN IDIOMA CON BANDERA ===== */
.lang-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  overflow: hidden;
}
.lang-btn:hover {
  border-color: var(--orange);
  transform: scale(1.05);
}
.flag-icon {
  width: 26px;
  height: 20px;
  border-radius: 2px;
  overflow: hidden;
  display: block;
}

.btn-call {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.btn-call:hover { transform: scale(1.08); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  flex-shrink: 0;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(216, 90, 48, 0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 90, 48, 0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1EB558;
  border-color: #1EB558;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 42, 71, 0.35) 0%, rgba(10, 30, 51, 0.55) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(216, 90, 48, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(216, 90, 48, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { position: relative; text-align: center; z-index: 2; }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(216, 90, 48, 0.15);
  border: 1px solid rgba(216, 90, 48, 0.4);
  color: var(--orange-light);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 720px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 0;
  flex-wrap: wrap;
}

/* ===== TRUST BAR (debajo del hero, fondo navy) ===== */
.trust-bar {
  background: var(--navy);
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 90, 48, 0.5), transparent);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px;
  text-align: left;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(216, 90, 48, 0.4);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2px;
  font-weight: 700;
}
.trust-item small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}

/* ===== SECTIONS GENERIC ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark .section-tag {
  background: rgba(216, 90, 48, 0.15);
  color: var(--orange-light);
}
.section-dark .section-header h2 { color: var(--white) !important; }
.section-dark .section-header p { color: rgba(255, 255, 255, 0.75); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(216, 90, 48, 0.1);
  color: var(--orange);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ===== SERVICIOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}
.service-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== FLOTA ===== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fleet-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.fleet-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.fleet-tonnage {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.fleet-card h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 700;
}
.fleet-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ===== NOSOTROS (REESTRUCTURADO CENTRADO) ===== */
.about-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-intro {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.about-image-wide {
  margin: 0 auto 48px;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--gray-100);
}
.about-image-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-outro {
  margin-top: 48px;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(216, 90, 48, 0.06), rgba(216, 90, 48, 0.02));
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  text-align: left;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.stat {
  padding: 28px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-700);
  font-weight: 600;
  line-height: 1.3;
}

/* ===== CAROUSEL TRABAJOS ===== */
.carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--navy);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16/10;
  background: var(--gray-100);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active {
  background: var(--orange);
  width: 30px;
  border-radius: 5px;
}

/* ===== ZONES / MAP ===== */
.section-zones { background: var(--gray-50); }

.map-wrap {
  max-width: 1100px;
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #0A1E33;
}

#serviceMap {
  width: 100%;
  height: 480px;
  background: #0A1E33;
}

/* Leaflet dark theme overrides */
.leaflet-container {
  background: #0A1E33 !important;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.leaflet-control-attribution {
  background: rgba(10, 30, 51, 0.85) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 10px !important;
  padding: 2px 8px !important;
}
.leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.7) !important;
}
.leaflet-control-zoom a {
  background: rgba(15, 42, 71, 0.95) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s;
}
.leaflet-control-zoom a:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}

/* Markers */
.sm-pin {
  width: 18px;
  height: 18px;
  background: var(--orange);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(216, 90, 48, 0.6);
  animation: sm-pulse-pin 2.5s ease-in-out infinite;
}
.sm-pin-base {
  width: 28px;
  height: 28px;
  background: var(--orange);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(216, 90, 48, 0.8), 0 4px 12px rgba(216, 90, 48, 0.5);
  animation: sm-pulse-pin-base 2.5s ease-in-out infinite;
}
@keyframes sm-pulse-pin {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 90, 48, 0.6); }
  50% { box-shadow: 0 0 0 14px rgba(216, 90, 48, 0); }
}
@keyframes sm-pulse-pin-base {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 90, 48, 0.8), 0 4px 12px rgba(216, 90, 48, 0.5); }
  50% { box-shadow: 0 0 0 22px rgba(216, 90, 48, 0), 0 4px 12px rgba(216, 90, 48, 0.5); }
}
.sm-tooltip {
  background: var(--orange) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  font-weight: 600 !important;
  padding: 5px 11px !important;
  border-radius: 100px !important;
  font-size: 0.75rem !important;
  font-family: var(--font-body) !important;
}
.sm-tooltip::before {
  border-top-color: var(--orange) !important;
}

/* Pills de zonas */
.zone-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}
.zone-pill {
  padding: 10px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--navy);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}
.zone-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.zone-pill-base {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(216, 90, 48, 0.35);
}
.zone-pill-base:hover {
  background: var(--orange-dark);
  color: white;
  border-color: var(--orange-dark);
}
.zone-pill-base small {
  font-size: 0.7rem;
  opacity: 0.9;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  opacity: 0.95;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info { margin-top: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.contact-item:not(.static):hover {
  padding-left: 8px;
  color: var(--orange);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-item:not(.static):hover .contact-icon {
  background: var(--orange);
  color: var(--white);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.contact-item strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}

.contact-form-wrap {
  background: var(--gray-50);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 800;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-800);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-top: 14px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--orange); }
.footer p a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}
.footer p a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-tagline {
  color: var(--orange-light);
  font-style: italic;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 32px; height: 32px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* HEADER MÓVIL */
  .header-inner {
    padding: 14px 16px;
    gap: 10px;
    min-height: 68px;
  }
  .logo { gap: 10px; }
  .logo img { width: 42px; height: 42px; }
  .logo-name { font-size: 1rem; }
  .logo-sub { display: none; }
  .header-actions { gap: 8px; }
  .lang-btn { width: 40px; height: 40px; }
  .flag-icon { width: 22px; height: 17px; }
  .btn-call {
    display: flex;
    width: 40px;
    height: 40px;
  }
  .btn-call svg { width: 18px; height: 18px; }
  .mobile-toggle { display: flex; padding: 6px; }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }

  .hero { padding: 50px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  /* Trust bar móvil */
  .trust-bar { padding: 24px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-item { padding: 0; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 32px; }

  /* Mapa móvil */
  #serviceMap { height: 360px; }
  .zone-pill { font-size: 0.82rem; padding: 8px 16px; }

  /* Hero móvil - imagen de fondo */
  .hero-bg-image { opacity: 0.8; }

  /* ===== CARRUSEL HORIZONTAL SERVICIOS EN MÓVIL ===== */
  .services-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 36px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    gap: 14px !important;
    padding: 4px 36px 24px !important;
    margin: 0 -16px !important;
    scrollbar-width: none;
    width: calc(100% + 32px) !important;
    box-sizing: border-box;
  }
  .services-grid::-webkit-scrollbar { display: none !important; }
  .service-card {
    scroll-snap-align: start;
    flex: 0 0 auto !important;
    width: 80% !important;
    max-width: 320px !important;
    min-width: 260px;
    padding: 26px 22px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* ===== CARRUSEL HORIZONTAL FLOTA EN MÓVIL ===== */
  .fleet-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 36px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    gap: 14px !important;
    padding: 4px 36px 24px !important;
    margin: 0 -16px !important;
    scrollbar-width: none;
    width: calc(100% + 32px) !important;
    box-sizing: border-box;
  }
  .fleet-grid::-webkit-scrollbar { display: none !important; }
  .fleet-card {
    scroll-snap-align: start;
    flex: 0 0 auto !important;
    width: 68% !important;
    max-width: 260px !important;
    min-width: 220px;
    padding: 24px 22px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* ===== NOSOTROS EN MÓVIL ===== */
  .about-intro { font-size: 1rem; margin-bottom: 32px; }
  .about-image-wide { margin-bottom: 32px; aspect-ratio: 16/10; }
  .about-outro {
    margin-top: 32px;
    padding: 22px 24px;
    font-size: 1.05rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    text-align: left;
  }
  .stat::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--orange), var(--orange-light));
  }
  .stat-num {
    font-size: 2.6rem;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 80px;
  }
  .stat-label { font-size: 0.95rem; flex: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 20px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }

  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }

  .whatsapp-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .header-inner {
    padding: 12px 14px;
    gap: 8px;
    min-height: 64px;
  }
  .logo img { width: 38px; height: 38px; }
  .logo-name { font-size: 0.95rem; }
  .lang-btn { width: 36px; height: 36px; }
  .flag-icon { width: 20px; height: 15px; }
  .btn-call { width: 38px; height: 38px; }
  .btn-call svg { width: 16px; height: 16px; }
  .nav { top: 64px; }

  .service-card { width: 88%; }
  .fleet-card { width: 78%; }

  .stat {
    padding: 18px 20px;
    gap: 16px;
  }
  .stat-num {
    font-size: 2.3rem;
    min-width: 65px;
  }
  .stat-label { font-size: 0.88rem; }
}
