/* ==========================================================================
   MIGONI TRUCKING - Official Landing Page Stylesheet
   Design: Executive Navy & Amber Gold / Mobile-First Responsive Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #0a1626;         /* Deep Executive Navy */
  --primary-light: #112239;   /* Slate Navy */
  --primary-border: #1e3553;  /* Border Navy */
  --primary-accent: #172c47;  /* Card Background */
  
  --gold: #f59e0b;            /* Migoni Amber Gold */
  --gold-hover: #d97706;      /* Deep Gold Hover */
  --gold-glow: rgba(245, 158, 11, 0.25);
  --gold-light: #fef3c7;

  --navy-dark: #050b14;       /* Background deepest */
  --text-main: #f8fafc;       /* Crisp White text */
  --text-muted: #94a3b8;      /* Secondary grey */
  --surface-card: #0f1d31;
  --surface-card-hover: #142640;
  --border-color: rgba(255, 255, 255, 0.09);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--navy-dark);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--navy-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   TOP BAR (Direct Contact)
   ========================================================================== */
.top-bar {
  background-color: #040810;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  color: var(--text-muted);
}

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

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item svg {
  color: var(--gold);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.top-bar-link {
  color: var(--text-main);
  font-weight: 600;
}

.top-bar-link:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 22, 38, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(5, 12, 22, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: #cbd5e1;
  position: relative;
  padding: 0.4rem 0;
}

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

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

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

.nav-mobile-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #08111e;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.4);
}

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

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

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.84rem;
  min-height: 38px;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.02rem;
  min-height: 48px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(23, 44, 71, 0.6) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              #07111e;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-tag .pulse {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-desc {
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  color: #cbd5e1;
  margin-bottom: 1.8rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 29, 49, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
}

.hero-pill-item svg {
  color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero Media Card */
.hero-media-wrap {
  position: relative;
  width: 100%;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  background: #091320;
}

.hero-media-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-floating-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(8, 18, 32, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.floating-badge-text h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.floating-badge-text p {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.floating-badge-icon {
  background: var(--gold);
  color: #0a1626;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.92rem;
}

/* ==========================================================================
   STATS BAR (Executive metrics)
   ========================================================================== */
.stats-bar {
  background: #081322;
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

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

.stat-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}

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

.section-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   NOSOTROS (QUIÉNES SOMOS)
   ========================================================================== */
.about-section {
  background: #07111e;
  border-bottom: 1px solid var(--border-color);
}

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

.about-text h2 {
  margin-bottom: 1.1rem;
}

.about-text p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.8rem;
}

.about-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.about-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
}

.about-card-icon {
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.about-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.about-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Values Grid */
.values-wrap {
  background: #0a1727;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.values-header {
  margin-bottom: 1.35rem;
}

.values-header h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #ffffff;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  color: #f1f5f9;
}

.value-item svg {
  color: var(--gold);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services-section {
  background: #050b14;
  border-bottom: 1px solid var(--border-color);
}

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

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  background: var(--surface-card-hover);
}

.service-card.featured {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, #12243b 0%, #0d1a2d 100%);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--gold);
  color: #07111e;
  transform: scale(1.05);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.service-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.9rem;
  margin-bottom: 1.15rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

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

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: auto;
  padding: 0.3rem 0;
}

.service-btn svg {
  transition: transform 0.2s ease;
}

.service-card:hover .service-btn svg {
  transform: translateX(4px);
}

/* ==========================================================================
   FLOTA & TECNOLOGÍA GPS
   ========================================================================== */
.fleet-section {
  background: #081321;
  border-bottom: 1px solid var(--border-color);
}

.fleet-banner {
  background: linear-gradient(135deg, #0f223a 0%, #0a1626 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
  box-shadow: var(--shadow-md);
}

.fleet-banner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.fleet-banner-content p {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.55;
}

.fleet-banner-badge {
  text-align: right;
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
}

.fleet-banner-badge h4 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.fleet-banner-badge p {
  font-size: 0.82rem;
  color: #e2e8f0;
  margin-top: 0.25rem;
}

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

.unit-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.unit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-lg);
}

.unit-card-img-wrap {
  height: 210px;
  position: relative;
  background: #050b14;
  overflow: hidden;
}

.unit-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.unit-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #07111e;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.unit-card-body {
  padding: 1.35rem;
}

.unit-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.unit-card-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.unit-specs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
  font-size: 0.82rem;
}

.unit-specs-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.unit-specs-item span:first-child {
  color: var(--text-muted);
}

.unit-specs-item span:last-child {
  color: #f1f5f9;
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   ALCANCE GEOGRÁFICO & RUTAS (PROMINENT LARGE MAP)
   ========================================================================== */
.coverage-section {
  background: #050b14;
  border-bottom: 1px solid var(--border-color);
}

.coverage-showcase-container {
  max-width: 1100px;
  margin: 0 auto;
}

.coverage-large-card {
  background: #091524;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.coverage-large-card:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.map-img-wrapper {
  position: relative;
  width: 100%;
  background: #060e19;
  cursor: zoom-in;
  overflow: hidden;
}

.coverage-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.map-img-wrapper:hover .coverage-hero-img {
  transform: scale(1.015);
}

.map-zoom-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 22, 38, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.map-img-wrapper:hover .map-zoom-hint {
  background: var(--gold);
  color: #07111e;
}

.coverage-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: rgba(12, 25, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.coverage-footer-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.coverage-footer-text p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  max-width: 580px;
}

.coverage-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Complementary Row */
.coverage-info-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.coverage-destinations-box {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.destinations-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dest-tag {
  background: rgba(23, 44, 71, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f8fafc;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.coverage-base-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.coverage-base-card svg {
  color: var(--gold);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.coverage-base-card h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.coverage-base-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Modal Lightbox for Map */
.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.map-modal.active {
  display: flex;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.map-modal-content {
  position: relative;
  z-index: 2001;
  max-width: 95vw;
  max-height: 92vh;
  background: #091524;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-map-img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.map-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 22, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2002;
}

.map-modal-close:hover {
  background: var(--gold);
  color: #07111e;
}

/* ==========================================================================
   COTIZADOR & CONTACTO
   ========================================================================== */
.contact-section {
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 60%),
              #050b14;
  padding: 4.5rem 0;
}

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

.contact-info-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-direct-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-details h5 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-details strong {
  font-size: 1.02rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-link {
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--gold);
}

/* Quote Form Card */
.quote-form-card {
  background: #0a1727;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.quote-form-header {
  margin-bottom: 1.5rem;
}

.quote-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.quote-form-header p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  background: #050b14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  color: #ffffff;
  font-size: 16px; /* Prevents auto-zoom on iOS mobile */
  transition: var(--transition);
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
  background: #071220;
}

select.form-control {
  cursor: pointer;
}

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

.form-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #03060a;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 5.5rem; /* extra space on mobile for sticky bar */
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.86rem;
}

.footer-col ul a:hover {
  color: var(--gold);
}

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

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (DESKTOP & TABLET)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #0a1626;
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}

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

/* ==========================================================================
   MOBILE QUICK ACTION BAR (STICKY BOTTOM)
   ========================================================================== */
.mobile-quick-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(8, 18, 32, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.65rem 1rem env(safe-area-inset-bottom, 0.65rem);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  gap: 0.75rem;
}

.quick-bar-btn {
  flex: 1;
  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.7rem 0.85rem;
  border-radius: var(--radius-sm);
  min-height: 46px;
  text-align: center;
  transition: var(--transition);
}

.quick-call {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.quick-call:active {
  background: rgba(255, 255, 255, 0.16);
}

.quick-wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.quick-wa:active {
  background: #20ba5a;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (min-width: 769px) {
  .site-footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-media-wrap {
    max-width: 600px;
    margin: 0 auto;
  }

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

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

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

@media (max-width: 768px) {
  /* Show Mobile Sticky Bar */
  .mobile-quick-bar {
    display: flex;
  }

  /* Move Floating WhatsApp above bottom bar */
  .floating-whatsapp {
    bottom: 74px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  /* Compact Top Bar */
  .top-bar {
    padding: 0.45rem 0;
    font-size: 0.78rem;
  }

  .top-bar-inner {
    justify-content: center;
    gap: 0.5rem;
  }

  .top-bar-right {
    display: none;
  }

  .email-top-item {
    display: none;
  }

  /* Mobile Header & Nav Drawer */
  .nav-wrapper {
    height: 68px;
  }

  .brand-logo-img {
    height: 40px;
  }

  .nav-phone-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(5, 12, 22, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 3rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 0.5rem;
  }

  /* Section Spacings on Mobile */
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 2.75rem 0 2.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .about-grid,
  .coverage-info-row,
  .fleet-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fleet-banner {
    padding: 1.5rem;
  }

  .fleet-banner-badge {
    text-align: left;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

  .fleet-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .form-row,
  .form-btn-row {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .quote-form-card {
    padding: 1.6rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-box {
    padding: 0.75rem 0.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .destinations-tags {
    gap: 0.5rem;
  }

  .dest-tag {
    font-size: 0.8rem;
    padding: 0.38rem 0.65rem;
  }
}
