/* DRIVE SERVICE - Logística Integral & Transporte Ejecutivo
   Light Theme: Color Hueso / Marfil & Blanco Neve con Acentos Rojo Corporativo */

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

:root {
  --bg-bone: #FAF8F5;
  --bg-bone-subtle: #F2EFE9;
  --bg-bone-warm: #EAE5DC;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAF9F6;
  
  --primary-red: #E62129;
  --primary-red-hover: #C8151D;
  --primary-red-soft: rgba(230, 33, 41, 0.08);
  --primary-red-glow: rgba(230, 33, 41, 0.25);
  
  --text-dark: #0F172A;
  --text-slate: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1ebd5b;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  --border-subtle: rgba(15, 23, 42, 0.07);
  --border-hover: rgba(230, 33, 41, 0.35);
  
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.08), 0 6px 16px -4px rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-bone);
  color: var(--text-slate);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--primary-red);
  color: #ffffff;
}

/* Custom Scrollbar for Light Theme */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1EDE6;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
  border: 2px solid #F1EDE6;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Headings */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

/* Ambient Radial Glows (Light / Warm bone) */
.bg-bone-ambient {
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(230, 33, 41, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 85% 45%, rgba(230, 33, 41, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(214, 180, 150, 0.12) 0%, transparent 50%);
}

.bg-bone-grid {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
}

/* Light Glassmorphism Cards */
.glass-panel-light {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-light:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 20px -5px rgba(230, 33, 41, 0.12);
  transform: translateY(-4px);
}

.glass-nav-light {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Badges */
.badge-red-light {
  background: rgba(230, 33, 41, 0.08);
  border: 1px solid rgba(230, 33, 41, 0.25);
  color: #d11219;
}

.badge-bone {
  background: #F4EFEB;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
}

/* Buttons */
.btn-primary-red {
  background: linear-gradient(135deg, #e62129 0%, #c41219 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(230, 33, 41, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-primary-red:hover {
  background: linear-gradient(135deg, #ff2e37 0%, #db171f 100%);
  box-shadow: 0 6px 26px rgba(230, 33, 41, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1eaf53 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae36e 0%, #22c75e 100%);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px) scale(1.02);
  color: #ffffff;
}

.btn-ghost-light {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0F172A;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost-light:hover {
  background: #F8F6F1;
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(220, 39, 67, 0.30);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.btn-instagram:hover {
  filter: brightness(1.07);
  box-shadow: 0 6px 26px rgba(220, 39, 67, 0.48);
  transform: translateY(-2px) scale(1.02);
  color: #ffffff;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #159e44 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #25D366;
  opacity: 0.8;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-bubble-light {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* FAQ Accordion Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-content {
  max-height: 400px;
  transition: max-height 0.45s ease-in-out;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-red);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .whatsapp-bubble-light {
    display: none;
  }
  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    width: 56px;
    height: 56px;
  }
}
