/*
Theme Name: Templo Lava Car Theme
Theme URI: https://templolavacar.com/
Description: Web oficial de Templo Lava Car - Centro de Detailing Profesional
Author: Antigravity
Version: 1.0.0
Text Domain: alvato
*/

/* ===== FONTS & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #00b4d8;
  --red-dark: #0096b7;
  --accent: #00b4d8;
  --accent-dark: #0096b7;
  --black: #ffffff;
  --dark: #ffffff;
  --gray: #cbd5e1;
  --light-gray: #0f172a;
  --border: rgba(255, 255, 255, 0.1);
  --white: #000000;
  --font-main: 'Lato', 'Roboto', sans-serif;
  --font-head: 'Poppins', 'Lato', sans-serif;
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo img, .header-logo-svg {
  height: 85px !important;
  width: auto !important;
  display: block;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition: all 0.3s ease;
}
.site-logo img.logo-svg, .header-logo-svg.logo-svg {
  height: 170px !important;
  margin-top: -45px !important;
  margin-bottom: -45px !important;
}
.site-logo .logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  color: var(--red);
  letter-spacing: 2px;
}
.site-logo .logo-sub {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  font-weight: 300;
}

/* NAV */
.main-nav ul { display: flex; align-items: center; gap: 8px; }
.main-nav ul li a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.main-nav ul li a:hover { color: var(--accent); }
.main-nav ul li.btn-reserva a {
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 700;
}
.main-nav ul li.btn-reserva a:hover { background: var(--accent-dark); }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #000;
  padding-top: 0;
  padding-bottom: 60px;
}
.hero-slide {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.hero-content .hero-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: #fff; color: var(--dark); }

/* Slider dots */
.slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active { background: #fff; }

/* ===== SECTION BASE ===== */
section { padding: 60px 0; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
  font-weight: 300;
}
.text-center { text-align: center; }
.text-red { color: var(--red); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: linear-gradient(135deg, var(--red) 0%, #0e5fa8 60%, var(--accent) 100%);
  padding: 30px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.feature-item {
  color: #fff;
  padding: 10px;
}
.feature-item .icon { font-size: 28px; margin-bottom: 10px; }
.feature-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-item p { font-size: 13px; opacity: 0.9; font-weight: 300; }

/* ===== INFINITE IMAGE STRIP (LEFT TO RIGHT) ===== */
.infinite-image-strip {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 15px;
  animation: marquee-scroll-right 32s linear infinite;
}
.marquee-slide {
  flex-shrink: 0;
  height: 180px;
  width: 180px;
}
.marquee-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.marquee-slide img:hover {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.4);
}

@keyframes marquee-scroll-right {
  0% {
    transform: translateX(-33.3333%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  animation: zoom-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes zoom-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.15) rotate(90deg);
}
#lightbox-caption {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  font-family: var(--font-head);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ===== SERVICIOS ===== */
.servicios-section { background: #fff; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.servicio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.servicio-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-3px); }
.servicio-card img { width: 100%; height: 200px; object-fit: cover; }
.servicio-card-body { padding: 24px; }
.servicio-card-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.servicio-card-body p { color: var(--gray); font-size: 14px; margin-bottom: 18px; font-weight: 300; line-height: 1.6; }
.servicio-card-body ul { margin-bottom: 18px; }
.servicio-card-body ul li {
  font-size: 14px;
  color: var(--dark);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.servicio-card-body ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.price-tag {
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}
.price-tag span { font-size: 15px; color: var(--gray); font-weight: 300; }

/* ===== RESERVA SECTION ===== */
.reserva-section {
  background: var(--light-gray);
}
.reserva-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.reserva-text .section-title { margin-bottom: 16px; }
.reserva-text p { color: var(--gray); margin-bottom: 24px; font-weight: 300; }
.reserva-steps { margin: 24px 0; }
.reserva-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.step-info h4 { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.step-info p { color: var(--gray); font-size: 14px; font-weight: 300; }

/* ===== CENTROS / UBICACIONES ===== */
.centros-section { background: #fff; }
.centros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.centro-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 28px;
  border-left: 4px solid var(--accent);
}
.centro-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.centro-card p { color: var(--gray); font-size: 14px; margin-bottom: 6px; font-weight: 300; }
.centro-card .horario { font-size: 13px; color: var(--accent); font-weight: 700; margin-top: 12px; }
.centro-card a.ver-mapa {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
}

/* ===== TESTIMONIOS ===== */
.testimonios-section { background: var(--light-gray); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonio-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.stars { color: #ffc107; font-size: 18px; margin-bottom: 12px; }
.testimonio-card blockquote {
  font-style: italic;
  color: var(--dark);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 300;
}
.testimonio-card cite { font-weight: 700; font-size: 14px; color: var(--black); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, #0e5fa8 60%, var(--accent) 100%);
  text-align: center;
  padding: 70px 20px;
}
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-section p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 32px; font-weight: 300; }
.btn-white {
  background: #fff;
  color: var(--red);
  padding: 16px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: all 0.2s;
}
.btn-white:hover { background: var(--light-gray); }

/* ===== FRANQUICIA SECTION ===== */
.franquicia-section {
  background: #fff;
}
.franquicia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.franquicia-img img { width: 100%; border-radius: 8px; }
.franquicia-text .section-title { margin-bottom: 16px; }
.franquicia-text p { color: var(--gray); margin-bottom: 16px; font-weight: 300; }
.ventajas-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}
.ventajas-list li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 16px; }

/* ===== FOOTER ===== */
.site-footer { background: #000000; color: #ccc; padding: 60px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { color: var(--red); font-size: 24px; font-weight: 700; font-family: var(--font-head); }
.footer-brand p { font-size: 14px; color: #999; margin-top: 12px; font-weight: 300; line-height: 1.7; }
.footer-brand .contact-info { margin-top: 16px; }
.footer-brand .contact-info p { color: #ccc; margin-bottom: 6px; }
.footer-brand .contact-info a { color: #ccc; }
.footer-brand .contact-info a:hover { color: var(--accent); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #999; font-size: 14px; font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 16px;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: #777; font-weight: 300; }
.footer-bottom a { color: #777; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== INNER PAGES ===== */
.page-hero {
  background: var(--light-gray);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.page-hero p { color: var(--gray); font-size: 17px; font-weight: 300; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.breadcrumb a { color: var(--red); }

/* Precios page */
.precios-section { background: #fff; }
.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.precio-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.precio-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,180,216,0.18);
}
.precio-card.featured::before {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 20px;
}
.precio-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.precio-card .price {
  font-size: 52px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin: 20px 0 8px;
}
.precio-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.precio-card .price sup { font-size: 24px; vertical-align: top; margin-top: 10px; }
.precio-card .desc { color: var(--gray); font-size: 14px; margin-bottom: 24px; font-weight: 300; }
.precio-card ul { text-align: left; margin-bottom: 28px; }
.precio-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.precio-card ul li:last-child { border-bottom: none; }
.precio-card ul li::before { content: '✓'; color: var(--red); font-weight: 700; }

/* Direcciones page */
.mapa-section { background: #fff; }
.direcciones-list { margin-top: 40px; }
.direccion-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.direccion-item:last-child { border-bottom: none; }
.dir-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.dir-info p { color: var(--gray); font-size: 15px; margin-bottom: 8px; font-weight: 300; }
.dir-info .horarios-table { margin-top: 16px; }
.horarios-table tr td { padding: 5px 0; font-size: 14px; }
.horarios-table tr td:first-child { color: var(--dark); font-weight: 700; min-width: 120px; }
.horarios-table tr td:last-child { color: var(--gray); }
.dir-map iframe { width: 100%; height: 300px; border: none; border-radius: 8px; }

/* Franquicia / abre tu centro */
.franquicia-page { background: #fff; }
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.beneficio-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.beneficio-card .icon { font-size: 40px; margin-bottom: 16px; }
.beneficio-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.beneficio-card p { color: var(--gray); font-size: 14px; font-weight: 300; }

/* Contact form */
.contacto-form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== CART SELECTIONS ===== */
.selectable-item {
  transition: all 0.3s ease;
  position: relative;
}
.precio-card.selectable-item.selected-service {
  border-color: #4CAF50 !important;
  background-color: rgba(76, 175, 80, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2) !important;
}
.precio-card.selectable-item.selected-service::after {
  content: '✔️';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 16px;
  background: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  color: #4CAF50;
}
.precio-card.selectable-item.selected-service .select-btn {
  background: #4CAF50 !important;
  border-color: #4CAF50 !important;
  color: #fff !important;
}
.selectable-table td.selectable-item {
  transition: background 0.3s ease;
}
.selectable-table td.selectable-item:hover {
  background: rgba(255,255,255,0.1);
}
.selectable-table td.selectable-item.selected-service {
  background: rgba(76, 175, 80, 0.3);
  position: relative;
}
.selectable-table td.selectable-item.selected-service::after {
  content: '✔️';
  font-size: 14px;
  margin-left: 8px;
}
.beneficios-grid .selectable-item.selected-service {
  background: rgba(76, 175, 80, 0.1) !important;
  border-left: 4px solid #4CAF50 !important;
}
.beneficios-grid .selectable-item.selected-service span:last-child {
  background: #4CAF50 !important;
}
#sticky-cart-banner.visible {
  bottom: 0 !important;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reserva-inner, .franquicia-inner { grid-template-columns: 1fr; gap: 30px; }
  .direccion-item { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; position: fixed; inset: 0; background: #000000; z-index: 2000; flex-direction: column; justify-content: center; align-items: center; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 20px; text-align: center; }
  .main-nav ul li a { font-size: 20px; }
  .menu-toggle { display: flex; z-index: 3000; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero-slide { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .precios-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .hero-section { padding-top: 0; padding-bottom: 50px; }
  .site-logo img, .header-logo-svg {
    height: 70px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .site-logo img.logo-svg, .header-logo-svg.logo-svg {
    height: 130px !important;
    margin-top: -30px !important;
    margin-bottom: -30px !important;
  }
}


/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9000;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  animation: whatsapp-breathe 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  animation: none !important;
  transform: scale(1.15) rotate(5deg) !important;
  background-color: #128c7e !important;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5) !important;
}
.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

/* breathing animation for active/alive feel */
@keyframes whatsapp-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  }
}

/* WhatsApp notification badge */
.whatsapp-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444; /* Alert red */
  color: #ffffff !important;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-family: var(--font-head);
  animation: badge-pulse 1.5s infinite;
  z-index: 9001;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-badge {
    width: 17px;
    height: 17px;
    font-size: 9px;
    top: -2px;
    right: -2px;
    border: 1.5px solid #ffffff;
  }
}

/* ===== SPLIT HERO SLIDE ===== */
.hero-slide.split-slide {
  flex-direction: row;
  min-height: 520px;
  padding: 0;
}
.hero-slide.split-slide::before {
  display: none; /* Hide default full-slide overlay */
}
.hero-half {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}
.hero-half-left {
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-half-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hero-half-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  transition: background 0.4s ease;
  z-index: 1;
}
.hero-half-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-half-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
  text-align: center;
}
.hero-half-desc {
  font-size: 15px !important;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 24px !important;
  color: #fff;
  line-height: 1.5;
  text-align: center;
}
.hero-half .hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.hero-half .hero-btns .btn-primary,
.hero-half .hero-btns .btn-outline {
  padding: 11px 24px;
  font-size: 14px;
}

/* Premium Hover Interactions */
.hero-half:hover .hero-half-bg {
  transform: scale(1.06);
}
.hero-half:hover .hero-half-overlay {
  background: rgba(0,0,0,0.4);
}

/* Mobile Responsiveness for Split Slide */
@media (max-width: 768px) {
  .hero-slide.split-slide {
    flex-direction: column !important;
    min-height: 600px;
  }
  .hero-half {
    flex: 1 !important;
    padding: 40px 20px;
  }
  .hero-half-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .hero-half-content h2 {
    font-size: 1.9rem;
    margin-bottom: 8px;
  }
  .hero-half-desc {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }
  .hero-half .hero-btns {
    gap: 8px;
  }
  .hero-half .hero-btns .btn-primary,
  .hero-half .hero-btns .btn-outline {
    padding: 9px 18px;
    font-size: 13px;
  }
}

/* ===== BUSINESS ENTRANCE CARDS ===== */
.entrance-section {
  padding: 60px 0;
  background: var(--light-gray);
}
.entrance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.entrance-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(208, 220, 232, 0.5);
}
.entrance-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: all 0.3s ease;
}
.entrance-card:first-child::after {
  background: var(--accent); /* Lavados: #00b4d8 */
}
.entrance-card:last-child::after {
  background: var(--red); /* Mecánica: #0a3d7c */
}
.entrance-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.12);
}
.entrance-logo-wrapper {
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.entrance-card:hover .entrance-logo-wrapper {
  transform: scale(1.08);
}
.entrance-logo {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.entrance-badge {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.badge-lavados {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-dark);
}
.badge-mecanica {
  background: rgba(10, 61, 124, 0.1);
  color: var(--red);
}
.entrance-description {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 30px;
  flex-grow: 1;
}
.entrance-btn {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 280px;
  border: none;
}
.btn-lavados {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.btn-lavados:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #007791 100%);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
  transform: translateY(-2px);
}
.btn-mecanica {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}
.btn-mecanica:hover {
  background: linear-gradient(135deg, var(--red-dark) 0%, #041935 100%);
  box-shadow: 0 8px 20px rgba(10, 61, 124, 0.3);
  transform: translateY(-2px);
}
.entrance-btn svg {
  transition: transform 0.3s ease;
}
.entrance-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .entrance-grid {
    gap: 24px;
  }
  .entrance-card {
    padding: 30px 20px;
  }
}
@media (max-width: 768px) {
  .entrance-section {
    padding: 40px 0;
  }
  .entrance-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .entrance-logo-wrapper {
    height: 140px;
  }
}

/* ===== SITE TITLE BANNER ===== */
.site-title-banner {
  background-color: #000000;
  text-align: center;
  padding: 25px 0 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-title-banner .main-title {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 6px;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 30%, #a2aab2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}
.site-title-banner .main-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent); /* Cyan accent line */
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .site-title-banner {
    padding: 15px 0 5px 0;
  }
}

/* Custom black styling for home entrance cards to blend JPEGs */
.entrance-card.card-lavados,
.entrance-card.card-mecanica {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}
.entrance-card.card-lavados:hover,
.entrance-card.card-mecanica:hover {
  box-shadow: 0 20px 50px rgba(0, 180, 216, 0.2) !important;
}
.entrance-card.card-lavados .entrance-description,
.entrance-card.card-mecanica .entrance-description {
  color: rgba(255, 255, 255, 0.8) !important;
}
.entrance-card.card-lavados .badge-lavados,
.entrance-card.card-mecanica .badge-mecanica {
  background: rgba(0, 180, 216, 0.2) !important;
  color: #00b4d8 !important;
}



/* ===== COMPLETE PURE BLACK THEME OVERRIDES ===== */
body, html {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
}

/* Override all white/light-gray section backgrounds */
section, .section, .servicios-section, .centros-section, .testimonios-section, .precios-section, .mapa-section, .franquicia-page, .site-header, .site-footer {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
}

/* Premium dark card styling (slate-900 with glassmorphism border) */
.precio-card, .testimonio-card, .entrance-card, .beneficio-card, .servicio-card, .centro-card, .insta-item, #quote-box, #search-results, [style*="background:#fff"], [style*="background: #fff"], [style*="background:#f8fafc"], [style*="background: #f8fafc"], [style*="background:#f0f4f8"], [style*="background: #f0f4f8"], [style*="background:#f1f5f9"], [style*="background: #f1f5f9"], [style*="background:#f0f7ff"], [style*="background: #f0f7ff"], [style*="background:#fff0f0"], [style*="background: #fff0f0"], [style*="background:#e6f4ea"], [style*="background: #e6f4ea"], [style*="background:#fce8e6"], [style*="background: #fce8e6"], .card-lavados, .franquicia-img {
  background-color: #0f172a !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Glowing borders and accents on cards on hover */
.precio-card:hover, .testimonio-card:hover, .entrance-card:hover, .beneficio-card:hover, .servicio-card:hover, .centro-card:hover, .card-lavados:hover {
  border-color: #00b4d8 !important;
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.2) !important;
  transform: translateY(-8px);
}

/* Ensure text is extremely readable */
p, li, blockquote, cite, span, td, th, h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

/* Keep accent colors colorful */
span[style*="color:#00b4d8"], span[style*="color: #00b4d8"], .section-title span, h1 span, h2 span, h3 span, span[style*="color:#0a3d7c"], span[style*="color: #0a3d7c"] {
  color: #00b4d8 !important;
}
p[style*="color:#00b4d8"], p[style*="color: #00b4d8"] {
  color: #00b4d8 !important;
}

/* Muted but highly legible secondary text for premium dark mode (slate-300) */
.section-subtitle, p.desc, p.description, .testimonio-card cite, .contact-info p, .footer-brand p, .footer-col ul li a, .entrance-description, .step-info p, .centro-card p, .servicio-card-body p, .price-tag span, .reserva-text p, .franquicia-text p, .page-hero p, .breadcrumb, .dir-info p, .beneficio-card p, .horarios-table tr td:last-child, [style*="color:#5a6a7a"], [style*="color: #5a6a7a"], [style*="color:#64748b"], [style*="color: #64748b"], [style*="color:#5a6a7a;"], [style*="color: #5a6a7a;"], [style*="color:#64748b;"], [style*="color: #64748b;"] {
  color: #cbd5e1 !important;
}

/* Form controls (inputs, textareas, selectors) */
input, textarea, select {
  background-color: #020617 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
input::placeholder, textarea::placeholder {
  color: #4b5563 !important;
}
input:focus, textarea:focus, select:focus {
  border-color: #00b4d8 !important;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.2) !important;
}

/* Adjust lists and checkboxes */
ul.ventajas-list li::before, ul.beneficios-list li::before {
  color: #00b4d8 !important;
}

/* Adjust the Whatsapp float button */
.whatsapp-float {
  background-color: #25D366 !important;
}

/* Adjust specific buttons */
.btn-primary, button.btn-primary {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%) !important;
  border-color: #00b4d8 !important;
  color: #ffffff !important;
}
.btn-primary:hover, button.btn-primary:hover {
  background: linear-gradient(135deg, #0096b7 0%, #005f94 100%) !important;
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.4) !important;
}

.btn-white {
  background: #ffffff !important;
  color: #000000 !important;
}
.btn-white:hover {
  background: #e2e8f0 !important;
}

.btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}
.btn-outline:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Adjust the budget selector stepped item */
.beneficio-card.selectable-item.selected-service {
  background: #22c55e !important;
  border-color: #22c55e !important;
}

/* Search suggestions box */
#search-results {
  background-color: #0f172a !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}
#search-results div:hover {
  background-color: #1e293b !important;
}

/* Select button styling inside the calculator cards */
.select-btn {
  background: #00b4d8 !important;
  color: #ffffff !important;
}
.selectable-item.selected-service .select-btn {
  background: #ffffff !important;
  color: #22c55e !important;
}

/* Soften light background details in page-hero and banners */
.page-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Trust blocks and info boxes */
div[style*="background:#f0f7ff"], div[style*="background: #f0f7ff"], div[style*="background:#f0f4f8"] {
  background-color: #0b1329 !important;
  border-left: 5px solid #00b4d8 !important;
}


/* ===== LOGO WHITE & LARGE OVERRIDES ===== */
/* Removed brightness filter to show the new colorful logo design */
.site-header .logo-png.logo-mecanica, 
.site-footer .logo-png.logo-mecanica,
.entrance-logo[src*="logo-mecanica"],
img[src*="logo-mecanica"] {
  transition: all 0.3s ease;
}

/* Adjust size to be smaller for circular/JPEG logos */
.site-header .logo-png.logo-main, 
.site-header .logo-png.logo-mecanica {
  height: 75px !important;
  width: auto !important;
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

.site-footer .logo-png.logo-main,
.site-footer .logo-png.logo-mecanica {
  height: 90px !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .site-header .logo-png.logo-main, 
  .site-header .logo-png.logo-mecanica {
    height: 60px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }
}

/* ===== SELECTED SERVICE CONTRAST FIX ===== */
.selectable-item.selected-service,
.selectable-item.selected-service *,
.selected-service,
.selected-service * {
  color: #ffffff !important;
}
.selectable-item.selected-service svg,
.selected-service svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
.selectable-item.selected-service svg[fill="currentColor"],
.selected-service svg[fill="currentColor"] {
  fill: #ffffff !important;
}
.selectable-item.selected-service span:last-child,
.selected-service span:last-child {
  background-color: #ffffff !important;
  color: #22c55e !important;
}
.selectable-item.selected-service .select-btn,
.selected-service .select-btn {
  background-color: #ffffff !important;
  color: #22c55e !important;
}
/* Style adjustments for the interactive seat calculator quantity bar inside selected card */
.selected-service div[onclick*="event.stopPropagation()"] {
  background-color: rgba(255, 255, 255, 0.15) !important;
}
.selected-service #btn-seats-minus,
.selected-service #btn-seats-plus {
  background-color: #ffffff !important;
  color: #22c55e !important;
  border-color: #ffffff !important;
}
.selected-service #btn-seats-minus:hover,
.selected-service #btn-seats-plus:hover {
  background-color: rgba(255, 255, 255, 0.85) !important;
}

