/* ==========================================================================
   JJ MOVIL - Hoja de Estilos Principal (Light Theme)
   Paleta: Azul Marino (#1B3A8C), Rojo (#B91C1C), Blanco y Gris Claro
   ========================================================================== */

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

:root {
  /* Fondos */
  --color-bg: #f8f9fa;
  --color-bg-card: #ffffff;
  --color-bg-alt: #ffffff;
  --color-bg-footer: #0a1330; /* Azul muy oscuro para el footer */

  /* Colores de Marca */
  --color-blue: #1B3A8C;
  --color-blue-hover: #153070;
  --color-blue-light: rgba(27, 58, 140, 0.1);
  --color-blue-border: rgba(27, 58, 140, 0.2);
  --color-blue-glow: rgba(27, 58, 140, 0.15);

  --color-red: #B91C1C;
  --color-red-hover: #991B1B;
  --color-red-light: rgba(185, 28, 28, 0.1);

  /* Texto y Neutrales */
  --color-text: #333333;
  --color-text-muted: #6c757d;
  --color-white: #ffffff;
  --color-light-gray: #e9ecef;
  --color-gray: #dee2e6;
  --color-border-subtle: rgba(0,0,0,0.08);
  
  /* WhatsApp */
  --color-whatsapp: #25d366;

  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: 0.3s ease;
}

[data-theme="dark"] {
  /* Fondos oscuros */
  --color-bg: #06091a;
  --color-bg-card: #0d1530;
  --color-bg-alt: #0a1025;
  --color-bg-footer: #03050f;

  /* Texto para fondo oscuro */
  --color-text: #ffffff;
  --color-text-muted: #b0b8cc;
  --color-light-gray: #151e3f;
  --color-gray: #344061;
  --color-border-subtle: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] #navbar { background: rgba(6, 9, 26, 0.95); box-shadow: 0 2px 15px rgba(0,0,0,0.5); }
[data-theme="dark"] #navbar.scrolled { background: rgba(6, 9, 26, 0.98); }
[data-theme="dark"] .nav-menu { background: var(--color-bg-card); }
[data-theme="dark"] .nav-brand img, [data-theme="dark"] .brand-logo { background: #fff; padding: 4px 10px; border-radius: 8px; }

/* Theme toggle button styles */
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 50%;
}
.theme-toggle-btn:hover {
  color: var(--color-blue);
  background: var(--color-light-gray);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-red); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
section { padding: 100px 0; position: relative; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-3 { margin-top: 20px; }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-red);
  margin-bottom: 10px;
  background: var(--color-red-light);
  padding: 5px 15px;
  border-radius: 20px;
}
.section-title, section h2 {
  font-family: var(--font-heading);
  color: var(--color-blue);
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.title-divider {
  width: 80px;
  height: 4px;
  background: var(--color-red);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.section-description {
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.btn-primary:hover {
  background: var(--color-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(185,28,28,0.3);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-outline:hover {
  background: var(--color-blue);
  color: #fff;
  transform: translateY(-3px);
}
.btn-large { padding: 16px 40px; font-size: 1rem; border-radius: 50px; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 10px;
}
.btn-whatsapp:hover {
  background: #1eb956;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37,211,102,0.3);
}
.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  transition: all var(--transition);
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
#navbar.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img, .brand-logo {
  height: 50px;
  width: auto;
}
.brand-name {
  font-family: var(--font-heading);
  color: var(--color-blue);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: none;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 5px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--color-blue); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-red);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-btn-cta {
  background: var(--color-red);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 700;
}
.nav-btn-cta::after { display: none; }
.nav-btn-cta:hover { background: var(--color-red-hover); transform: scale(1.05); color: #fff !important; }
.nav-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-whatsapp);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-whatsapp-btn:hover { color: #1eb956; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-blue);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(27,58,140,0.05) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blue-light);
  color: var(--color-blue);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 25px;
  border: 1px solid var(--color-blue-border);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--color-blue);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}
.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 35px;
  font-weight: 500;
}
.hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
}
.feature-icon {
  font-size: 1.8rem;
  color: var(--color-red);
}

/* ===== SERVICIOS ===== */
.services-section { background: var(--color-bg-card); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--color-bg);
  border-radius: 15px;
  padding: 35px 30px;
  border: 1px solid var(--color-border-subtle);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(27,58,140,0.08);
  border-color: var(--color-blue-border);
}
.service-card.featured {
  border-color: var(--color-blue);
  box-shadow: 0 10px 30px rgba(27,58,140,0.1);
}
.service-badge {
  position: absolute;
  top: 15px; right: -30px;
  background: var(--color-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.service-icon-wrapper {
  width: 70px; height: 70px;
  background: var(--color-blue-light);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.service-icon { font-size: 2rem; color: var(--color-blue); }
.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-blue);
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
}
.service-summary {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}
.price-list { margin-bottom: 20px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}
.price-row:last-child { border-bottom: none; }
.vehicle-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.vehicle-type i { color: var(--color-blue); font-size: 0.85rem; }
.price-value {
  color: var(--color-red);
  font-weight: 700;
  font-size: 1.05rem;
}
.price-value small { font-weight: 500; font-size: 0.8rem; color: var(--color-text-muted); }
.quote-tag {
  font-size: 0.9rem;
  background: var(--color-blue-light);
  color: var(--color-blue);
  padding: 4px 12px;
  border-radius: 5px;
}
.price-quote { border-bottom: none; }
.service-benefits {
  margin: 15px 0 25px;
  padding: 0;
}
.service-benefits li {
  padding: 8px 0;
  color: var(--color-text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-benefits li i { color: var(--color-red); font-size: 0.85rem; }

/* ===== GALERÍA ===== */
.gallery-section { background: var(--color-bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
}
.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(27, 58, 140, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.overlay-icon { font-size: 2.5rem; color: #fff; }
.gallery-caption {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding: 0 15px;
}

/* ===== LIGHTBOX ===== */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  cursor: pointer;
}
.lightbox-container {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  line-height: 1;
}
.lightbox-close:hover { color: var(--color-red); transform: scale(1.2); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.3rem;
  padding: 15px 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 10;
}
.lightbox-nav:hover { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption-wrapper {
  text-align: center;
  margin-top: 15px;
}
.lightbox-caption {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}
.lightbox-counter {
  color: #ccc;
  font-size: 0.9rem;
}

/* ===== AGENDAR CITA ===== */
.appointment-section { background: var(--color-bg-card); }
.appointment-card-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: 20px;
  padding: 50px 40px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group { margin-bottom: 0; }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
}
.form-label i { color: var(--color-blue); font-size: 0.9rem; }
.required { color: var(--color-red); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-light);
}
.form-control::placeholder { color: #adb5bd; }
select.form-control { cursor: pointer; appearance: auto; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-error-msg { color: var(--color-red); font-size: 0.85rem; margin-top: 5px; display: block; }
.form-actions { margin-top: 25px; }

/* Success card */
.appointment-success-card {
  text-align: center;
  animation: fadeInUp 0.6s ease;
}
.success-icon-wrapper {
  font-size: 4rem;
  color: var(--color-whatsapp);
  margin-bottom: 15px;
}
.success-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-blue);
  margin-bottom: 10px;
  font-weight: 800;
}
.success-message {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 25px;
}
.appointment-summary-box {
  background: var(--color-blue-light);
  border: 1px solid var(--color-blue-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  text-align: left;
}
.summary-details p {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: var(--color-text);
}
.summary-details p:last-child { border-bottom: none; }
.summary-details strong { color: var(--color-blue); margin-right: 5px; }
.summary-details i { margin-right: 3px; width: 18px; text-align: center; }
.whatsapp-secondary-card {
  margin: 20px 0;
}
.whatsapp-secondary-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ===== UBICACIÓN ===== */
.location-section { background: var(--color-bg); }
.map-wrapper {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  height: 400px;
  margin-bottom: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }
.location-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 35px;
}
.location-info-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.location-info-card:hover {
  border-color: var(--color-blue-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27,58,140,0.08);
}
.info-card-icon {
  font-size: 1.8rem;
  color: var(--color-red);
  min-width: 40px;
  text-align: center;
  padding-top: 3px;
}
.info-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-blue);
  margin-bottom: 8px;
  font-weight: 700;
}
.info-card-content p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 5px; }
.info-card-content a { color: var(--color-blue); font-size: 0.9rem; font-weight: 600; }
.btn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 5px;
}
.btn-map-link:hover { color: var(--color-red); }
.hours-list { padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-light-gray);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 600; color: var(--color-text); }
.hours-list .hours { color: var(--color-blue); font-weight: 500; }
.hours-list .closed { color: var(--color-red); font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg-footer);
  padding: 60px 0 30px;
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  background: #fff; /* Fondo blanco para el logo transparente en footer oscuro */
  padding: 8px 15px;
  border-radius: 8px;
  display: inline-flex;
}
.footer-logo {
  height: 40px;
  width: auto;
}
.footer-brand-name { display: none; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.6; }
.footer-contact-info { display: flex; flex-direction: column; gap: 15px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.footer-icon { color: var(--color-red); font-size: 1.1rem; width: 20px; text-align: center; }
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-item span { color: rgba(255,255,255,0.8); }
.social-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.05rem;
}
.social-icons { display: flex; gap: 12px; }
.social-btn {
  width: 45px; height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--color-red);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom { text-align: center; }
.copyright { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 10px; }
.footer-links { font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.6); margin: 0 5px; }
.footer-links a:hover { color: #fff; }

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2s infinite;
}
.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
  color: #fff;
}
.whatsapp-floating-tooltip {
  position: absolute;
  right: 75px;
  background: #fff;
  color: var(--color-text);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-floating-btn:hover .whatsapp-floating-tooltip { opacity: 1; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    gap: 10px;
    border-top: 1px solid var(--color-light-gray);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-menu.nav-menu-active { display: flex; }
  .nav-item { width: 100%; text-align: center; }
  .nav-link { display: block; padding: 12px; }
  .nav-btn-cta { display: inline-block; margin: 10px auto; }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-features { gap: 20px; }
  .hero-cta-group { flex-direction: column; align-items: center; }

  section { padding: 70px 0; }
  .section-title, section h2 { font-size: 2rem; margin-bottom: 15px; }
  .section-header { margin-bottom: 35px; }

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

  .appointment-card-wrapper { padding: 35px 25px; }
  .form-grid { grid-template-columns: 1fr; }

  .location-details-grid { grid-template-columns: 1fr; }
  .map-wrapper { height: 300px; }

  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-logo-wrap { justify-content: center; }
  .footer-contact-info { align-items: center; }
  .social-icons { justify-content: center; }

  .lightbox-nav { padding: 10px 13px; font-size: 1rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-large { padding: 14px 30px; width: 100%; justify-content: center; }
  .whatsapp-floating-btn { width: 55px; height: 55px; font-size: 1.8rem; bottom: 20px; right: 20px; }
}
