/* =========================================================
   VARIABLES GLOBALES (MODO DÍA Y MODO NOCHE LACUSTRE)
   ========================================================= */
:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text-main: #334155;
  --text-muted: #64748b;
  --heading-color: #1e293b;
  --border: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.96);
  --card-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] {
  --primary: #14b8a6;
  --primary-dark: #0f766e;
  --secondary: #f8fafc;
  --accent: #fbbf24;
  --bg-light: #0b1120;
  --surface: #1e293b;
  --surface-soft: #0f172a;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --heading-color: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
  --header-bg: rgba(15, 23, 42, 0.94);
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .premium {
  background-color: #fbbf24 !important;
}
[data-theme="dark"] .premium .plan-price {
  color: #0f766e !important;
}
[data-theme="dark"] .premium plan-price {
  background-color: #0b1120 !important;
}
[data-theme="dark"] .premium li {
  color: #0b1120 !important;
}
[data-theme="dark"] .premium p {
  color: #0b1120 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Barra lateral minimalista de progreso de scroll */
.side-scroll-track {
  position: fixed;
  top: 0;
  right: 0;
  width: 4px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.06);
  z-index: 9999;
  pointer-events: none;
}

.side-scroll-bar {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 8px rgba(15, 118, 110, 0.4);
  transition: height 0.08s ease-out;
}

/* =========================================================
   HEADER UNIFICADO Y SUBMENÚ DESPLEGABLE (DESKTOP Y MÓVIL)
   ========================================================= */
header {
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links > a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links > a:hover {
  color: var(--primary);
}

.btn-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cta:hover {
  background-color: var(--primary-dark);
}

.btn-login-nav {
  border: 1.5px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-main) !important;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-login-nav:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.theme-toggle-btn {
  background: var(--surface-soft);
  border: 1.5px solid var(--border);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.2rem;
}

/* Dropdown de Servicios */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropbtn {
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-dropbtn i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropbtn {
  color: var(--primary);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--surface);
  min-width: 250px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  padding: 0.5rem;
  z-index: 1100;
}

.nav-dropdown-content::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

@media (min-width: 961px) {
  .nav-dropdown:hover .nav-dropdown-content {
    display: block;
    animation: fadeIn 0.18s ease forwards;
  }
}

.nav-dropdown.open .nav-dropdown-content {
  display: block;
}

.nav-dropdown.open .nav-dropbtn i {
  transform: rotate(180deg);
}

.nav-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-content a i {
  width: 22px;
  text-align: center;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.nav-dropdown-content a:hover {
  background: var(--surface-soft);
  color: var(--primary);
}

.dropdown-footer-link {
  border-top: 1px solid var(--border);
  margin-top: 0.3rem;
  padding-top: 0.65rem !important;
  color: var(--primary) !important;
  justify-content: center;
}

/* Comportamiento Responsivo del Header (Tablets y Celulares) */
@media (max-width: 960px) {
  .nav-mobile-actions {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .desktop-only-theme {
    display: none !important;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    padding: 0.75rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    max-height: 82vh;
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > a {
    padding: 0.8rem 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 0;
  }

  .nav-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--surface-soft);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    padding: 0.4rem;
    width: 100%;
  }

  .nav-links > .btn-cta,
  .nav-links > .btn-login-nav {
    justify-content: center;
    text-align: center;
    margin-top: 0.65rem;
    padding: 0.8rem;
    border-bottom: none;
  }
}

/* =========================================================
   BANNER ESTACIONAL (Araña de Rincón)
   ========================================================= */
.seasonal-alert-banner {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 100%);
  color: white;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 68px;
  z-index: 99;
  position: relative;
}

.seasonal-alert-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #f87171;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(248, 113, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
  }
}

.banner-btn {
  background: white;
  color: #7f1d1d;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.banner-btn:hover {
  background: #fee2e2;
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION Y SECCIONES PRINCIPALES
   ========================================================= */
.hero {
  padding: 160px 2rem 100px;
  background: linear-gradient(rgba(30, 41, 59, 0.6), rgba(30, 41, 59, 0.8)),
    url("foto.webp") center/cover;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
}

.acento {
  color: #d97706;
}

.btn-large {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s, background 0.3s;
}

.btn-large:hover {
  background-color: #d97706;
  transform: translateY(-2px);
}

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  text-align: center !important;
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 3rem;
}

.section-title.white,
.section-title-white {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 680px;
  margin: -1.5rem auto 0;
  font-size: 1.1rem;
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.pain-points li,
.benefits li {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
}

.pain-points li i {
  color: #ef4444;
  margin-right: 1rem;
  font-size: 1.5rem;
  margin-top: 4px;
}

.benefits li i {
  color: var(--primary);
  margin-right: 1rem;
  font-size: 1.5rem;
  margin-top: 4px;
}

/* =========================================================
   TARJETAS DE PLANES (PRICING)
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.price-card.premium {
  border: 2px solid var(--primary);
  background-color: #f0fdfa;
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.875rem;
}

.plan-name {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.plan-price {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: normal;
}

.plan-features {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.plan-features li {
  list-style: none;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.plan-features li i {
  color: var(--primary);
  margin-top: 0.25rem;
  margin-right: 0.75rem;
}

.btn-outline {
  display: block;
  text-align: center;
  padding: 1rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-outline:hover,
.price-card.premium .btn-outline {
  background-color: var(--primary);
  color: white;
}

.bg-gray {
  background-color: #f1f5f9;
}

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

.testimonial-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.client-info div {
  margin-left: 1rem;
}

.client-name {
  font-weight: bold;
  color: var(--secondary);
  font-style: normal;
}

.client-location {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: normal;
}

.cta-section {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* =========================================================
   TIMELINE: EL CÍRCULO DE LA TRANQUILIDAD
   ========================================================= */
.cycle-section {
  background-color: #1e293b;
  color: white;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cycle-title {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 4rem;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 0%;
  background: var(--primary);
  transform: translateX(-50%);
  border-radius: 4px;
  z-index: 1;
  transition: height 0.2s ease-out;
  box-shadow: 0 0 15px var(--primary);
}

.timeline-item {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #1e293b;
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: all 0.4s ease;
}

.timeline-item.in-view .timeline-icon {
  background-color: var(--primary);
  box-shadow: 0 0 20px var(--primary);
}

.timeline-content {
  width: 80%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 3rem;
  text-align: left;
}

.timeline-content h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 0;
}

/* =========================================================
   BANNER PARCELAS Y SERVICIOS PROFESIONALES
   ========================================================= */
.banner-parcelas {
  position: relative;
  padding: 5rem 2rem;
  background: linear-gradient(
      to right,
      rgba(15, 118, 110, 0.95),
      rgba(17, 94, 89, 0.8)
    ),
    url("https://images.unsplash.com/photo-1585255474320-997e594b46c6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
      center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-parcelas-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.banner-parcelas-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.banner-parcelas-text h2 span {
  color: var(--accent, #f59e0b);
}

.banner-parcelas-text p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.parcelas-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.parcelas-features li {
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
}

.parcelas-features li i {
  color: var(--accent, #f59e0b);
  margin-right: 10px;
  font-size: 1.2rem;
}

.banner-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
}

.banner-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.btn-parcelas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent, #f59e0b);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
  width: 100%;
  border: none;
}

.btn-parcelas:hover {
  background-color: #d97706;
  transform: translateY(-3px);
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: #f0fdfa;
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin: 0;
  line-height: 1.25;
}

.service-list {
  list-style: none;
}

.service-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-list li i {
  color: var(--primary);
  margin-top: 4px;
  margin-right: 8px;
  font-size: 0.8rem;
}

/* =========================================================
   MAPA DE COBERTURA, TESTIMONIOS, FAQS Y CARRUSELES
   ========================================================= */
.map-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--surface);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

#coverage-map {
  height: 400px;
  border-radius: 12px;
  z-index: 1;
  border: 2px solid var(--border);
}

.coverage-info h3 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.coverage-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--surface-soft);
  color: var(--secondary);
  border-radius: 50px;
  font-weight: 600;
  margin: 0.5rem 0.5rem 0.5rem 0;
  font-size: 0.9rem;
}

.swiper-container-testimonials {
  width: 100%;
  padding-bottom: 3rem;
  overflow: hidden;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-item i {
  transition: transform 0.3s ease;
}

.faq-item.active i {
  transform: rotate(180deg);
}

.icon-service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 160px;
  justify-content: center;
}

.icon-service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.1);
  transform: translateY(-5px);
}

.icon-service-card .icon-wrapper {
  width: 60px;
  height: 60px;
  background: #f0fdfa;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.icon-service-card:hover .icon-wrapper {
  background: var(--primary);
  color: white;
}

.icon-service-card h4 {
  font-size: 1rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 600;
}

.service-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1e293b;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  width: 220px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  pointer-events: none;
}

.service-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

@media (hover: hover) {
  .icon-service-card:hover .service-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.swiper-pagination-icons .swiper-pagination-bullet {
  background-color: #cbd5e1;
  opacity: 1;
}

.swiper-pagination-icons .swiper-pagination-bullet-active {
  background-color: var(--primary);
}

/* Tabs Cómo Funciona */
.tabs-controls {
  display: none;
  margin-bottom: 2rem;
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 0.25rem;
  width: 100%;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .tabs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .tab-panel {
    display: block !important;
    opacity: 1 !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carrusel Nativo de Fotos */
.native-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.carousel-track-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.native-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  min-height: 400px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.native-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  height: 100%;
  min-height: 400px;
}

.carousel-item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 4rem 2rem 2.5rem;
  z-index: 2;
}

.carousel-overlay h4 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.carousel-overlay p {
  color: #e2e8f0;
  margin: 0;
  font-size: 0.95rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 16px;
}

.carousel-btn-next {
  right: 16px;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator-dot.active {
  background-color: white;
  transform: scale(1.4);
}

.divider-illustration,
.divider-illustration2 {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: transparent;
  position: relative;
  z-index: 5;
}

.divider-illustration img,
.divider-illustration2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   SECCIÓN BITÁCORA Y GENERADOR DE PLANES
   ========================================================= */
.bitacora-section {
  background-color: var(--surface);
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.bitacora-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.bitacora-text h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.bitacora-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.bitacora-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 500;
}

.bitacora-features li i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-right: 1rem;
}

.bitacora-mockup {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.bitacora-header {
  border-bottom: 2px dashed var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.b-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.b-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.b-row span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.b-row span:last-child {
  color: var(--secondary);
  font-weight: 700;
}

.b-check-list {
  margin-top: 1.5rem;
  background: var(--surface);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border);
}

.b-check-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.b-check-item:last-child {
  border-bottom: none;
}

.b-check-item i {
  color: #10b981;
}

.b-photos {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.b-photos div {
  flex: 1;
  height: 60px;
  background: #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

.clean-link {
  text-decoration: none;
  color: inherit;
}

.leaflet-routing-container {
  display: none !important;
}

.builder-section {
  background: var(--bg-light);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.builder-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  padding: 3rem;
}

.builder-step {
  margin-bottom: 3rem;
}

.builder-step h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.builder-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.option-card {
  background: var(--surface-soft);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
}

.option-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.option-card.selected {
  background: rgba(20, 184, 166, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.option-card .check-circle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
}

.option-card.selected .check-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.option-icon {
  font-size: 2.2rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.option-card.selected .option-icon {
  color: var(--primary);
}

.option-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

.b-input {
  width: 100%;
  padding: 1rem;
  background: var(--surface-soft);
  color: var(--text-main);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.b-input:focus {
  outline: none;
  border-color: var(--primary);
}

.builder-summary-bar {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* =========================================================
   WIDGET GOOGLE BUSINESS PROFILE
   ========================================================= */
.gbp-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: var(--card-shadow);
}

.gbp-brand-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gbp-g-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gbp-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.15rem;
  color: var(--secondary);
}

.gbp-verified {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
}

.gbp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.gbp-score {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

.gbp-stars {
  color: #fbbc05;
  font-size: 1rem;
  letter-spacing: 1px;
}

.gbp-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gbp-actions-right {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-gbp-write {
  background: #1a73e8;
  color: white !important;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gbp-outline {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-main);
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gbp-review-card {
  font-style: normal !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gbp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.gbp-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gbp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gbp-stars-sm {
  color: #fbbc05;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gbp-new-tag {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* =========================================================
   OVERRIDES ADICIONALES MODO NOCHE
   ========================================================= */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-gray {
  background: var(--bg-light) !important;
}

[data-theme="dark"] .lead-form-box,
[data-theme="dark"] #equipo .grid-2,
[data-theme="dark"] #planes div[style*="background: white"] {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] #planes div[style*="background: #F8FAFC"],
[data-theme="dark"] #leadForm input {
  background: var(--surface-soft) !important;
  border-color: var(--border) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .service-icon,
[data-theme="dark"] .icon-service-card .icon-wrapper {
  background: rgba(20, 184, 166, 0.15) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] footer {
  background-color: #0b1120 !important;
  border-top: 1px solid var(--border);
}

/* =========================================================
   RESPONSIVE GENERAL (TABLETS Y MÓVILES)
   ========================================================= */
@media (max-width: 992px) {
  .grid-2,
  .pricing-grid,
  .testimonial-grid,
  .bitacora-grid,
  .banner-parcelas-content,
  .map-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .map-container {
    padding: 1.5rem;
  }

  #coverage-map {
    height: 300px;
    width: 100%;
  }

  .service-tooltip {
    position: static;
    transform: none;
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    padding: 1rem 0 0 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .service-tooltip::after {
    display: none;
  }

  .icon-service-card {
    height: auto;
  }

  .icon-service-card.active-mobile .service-tooltip {
    display: block;
  }
}

@media (max-width: 768px) {
  .logo span {
    font-size: 1.2rem;
  }

  .logo img {
    height: 40px;
    width: 40px;
  }

  .seasonal-alert-banner {
    margin-top: 60px;
    padding: 0.45rem 1rem;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .seasonal-alert-banner .banner-content {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .banner-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero {
    padding: 110px 1.25rem 70px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .section {
    padding: 3.25rem 1.25rem;
  }

  .section-title,
  .section-title-white,
  .cycle-title {
    font-size: 1.55rem;
    margin-bottom: 1.25rem;
  }

  .tabs-controls {
    display: flex;
  }

  .desktop-title {
    display: none;
  }

  .tabs-container {
    display: block;
  }

  .tab-panel {
    display: none;
  }

  .tab-panel.active {
    display: block;
  }

  .pain-points li,
  .benefits li {
    background: var(--surface);
    padding: 1.15rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 0.85rem;
  }

  .cycle-section {
    padding: 3.5rem 1rem;
  }

  .timeline::before,
  .timeline-progress {
    left: 20px;
  }

  .timeline-icon {
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 52px;
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    margin: 0;
    padding: 1.25rem;
    text-align: left;
  }

  .timeline-content h3 {
    font-size: 1.15rem;
  }

  .native-carousel-wrapper {
    padding: 0;
  }

  .carousel-track-container {
    border-radius: 0 0 16px 16px;
  }

  .native-carousel {
    height: 340px;
  }

  .carousel-btn {
    display: none;
  }

  .bitacora-section,
  .builder-section {
    padding: 3.5rem 1rem;
  }

  .bitacora-mockup,
  .builder-container {
    padding: 1.25rem 1rem;
  }

  .options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  #grid-frecuencia {
    grid-template-columns: 1fr;
  }

  #grid-frecuencia .option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    text-align: left;
  }

  #grid-frecuencia .option-card .check-circle {
    position: static;
    order: 2;
  }

  .form-row,
  .parcelas-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lead-container {
    grid-template-columns: 1fr !important;
    padding: 1.75rem 1.25rem !important;
    text-align: center;
  }

  .gbp-header-card {
    padding: 1.25rem;
  }

  .gbp-actions-right {
    width: 100%;
  }

  .btn-gbp-write,
  .btn-gbp-outline {
    flex: 1;
    justify-content: center;
  }
}
