:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --forest: #15803d;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Barra lateral minimalista de avance 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;
  transition: height 0.08s ease-out;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

.nav-links a {
  margin-left: 1.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.btn-cta {
  background-color: var(--primary);
  color: white !important;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
}

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

/* Hero Jardinería y Terrenos */
.hero-garden {
  padding: 165px 2rem 95px;
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.9),
      rgba(15, 118, 110, 0.85)
    ),
    url("fotos/terreno.webp") center/cover;
  color: white;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid var(--accent);
  color: #fde68a;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-garden h1 {
  font-size: 2.9rem;
  max-width: 920px;
  margin: 0 auto 1.25rem;
  line-height: 1.18;
  font-weight: 800;
}

.hero-garden h1 span {
  color: #34d399;
}

.hero-garden p {
  font-size: 1.18rem;
  max-width: 780px;
  margin: 0 auto 2.25rem;
  color: #e2e8f0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  font-size: 1.05rem;
  padding: 1rem 2rem;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

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

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Barra de Garantías Operativas */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
}

.trust-item i {
  font-size: 1.45rem;
  color: var(--primary);
  background: #f0fdfa;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Secciones Generales */
.section {
  padding: 4.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 730px;
  margin: 0 auto;
  font-size: 1.08rem;
}

/* Selector de las 2 Grandes Necesidades (Jardín Formado vs Parcela Virgen) */
.dual-track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.track-card {
  background: white;
  border-radius: 16px;
  padding: 2.25rem;
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.track-card.formed {
  border-top: 6px solid var(--primary);
}

.track-card.virgin {
  border-top: 6px solid var(--accent);
}

.track-card h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Grilla de 6 Servicios de Jardinería y Terrenos */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.garden-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}

.garden-card p {
  text-align: justify;
}

.garden-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
  border-color: var(--primary);
}

.tag-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pill-green {
  background: #dcfce7;
  color: #166534;
}

.pill-amber {
  background: #fef3c7;
  color: #b45309;
}

.pill-red {
  background: #fee2e2;
  color: #dc2626;
}

.garden-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0fdfa;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.garden-card h3 {
  font-size: 1.28rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.pain-box {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
  color: var(--text-main);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1rem;
  font-style: italic;
}

.garden-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.check-list {
  list-style: none;
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.check-list li {
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-main);
}

.check-list li i {
  color: var(--primary);
  margin-top: 4px;
}

/* Sección Etapa Cero + Prevención de Incendios */
.firebreak-section {
  background-color: #1e293b;
  color: white;
  padding: 5rem 2rem;
}

.firebreak-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.firebreak-grid p,
.firebreak-grid span {
  text-align: justify;
}
.track-card p {
  text-align: justify;
}

.before-after-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
}

/* Cotizador Interactivo de Jardinería y Parcelas */
.quote-builder {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.08);
  border: 1px solid var(--border);
  padding: 3rem;
  max-width: 920px;
  margin: 0 auto;
}

.task-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.task-option {
  background: #f8fafc;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.task-option:hover {
  border-color: #99f6e4;
}

.task-option.selected {
  background: #f0fdfa;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.12);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.input-std {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

/* FAQs */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  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: all 0.3s ease;
  color: var(--text-muted);
}

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

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

@media (max-width: 992px) {
  .trust-grid,
  .dual-track-grid,
  .firebreak-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

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

  .nav-links a {
    margin: 0.75rem 0;
  }

  .hero-garden h1 {
    font-size: 2.1rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .quote-builder {
    padding: 1.5rem;
  }
}

/* =========================================================
   1. ALINEAR ICONOS CON H3 EN LAS 6 TARJETAS (PC Y MÓVIL)
   ========================================================= */
.garden-card > div:first-child {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: center;
}

.garden-card .tag-pill {
  position: static;
  grid-column: 1 / -1;
  justify-self: end;
  margin-bottom: 0.5rem;
}

.garden-card .garden-icon {
  grid-column: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.garden-card h3 {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.garden-card .pain-box {
  grid-column: 1 / -1;
  margin-top: 0.9rem;
}

.garden-card p {
  grid-column: 1 / -1;
}

/* =========================================================
   2. BLINDAJE ANTI-DESBORDE DEL COTIZADOR Y SELECTS
   ========================================================= */
.quote-builder,
.form-grid-2,
.form-grid-2 > div {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.input-std {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-overflow: ellipsis;
}

/* =========================================================
   3. OPTIMIZACIÓN RESPONSIVA MÓVIL (JARDINERÍA)
   ========================================================= */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .section {
    padding: 3rem 1rem;
  }

  .hero-garden {
    padding: 125px 1rem 60px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-garden h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-garden p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-btns .btn-large {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
  }

  /* Barra de Garantías en Grilla 2x2 limpia */
  .trust-bar {
    padding: 1rem;
    background: #f8fafc;
  }

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

  .trust-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.6rem;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .trust-item i {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    border-radius: 50%;
  }

  /* Títulos de sección proporcionados */
  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Tarjetas Dual Track (Línea 1 y Línea 2) */
  .dual-track-grid {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .track-card {
    padding: 1.35rem 1.15rem;
  }

  .track-card h3 {
    font-size: 1.2rem;
  }

  /* Grilla de Servicios de Jardinería sin mínimo de 340px */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .garden-card {
    padding: 1.35rem 1.15rem;
  }

  .garden-card h3 {
    font-size: 1.1rem;
  }

  /* Sección Oscura Etapa Cero */
  .firebreak-section {
    padding: 3rem 1rem;
  }

  .firebreak-grid {
    gap: 2rem;
  }

  .firebreak-grid h2 {
    font-size: 1.55rem !important;
  }

  .before-after-card {
    padding: 1.35rem 1.15rem;
  }

  /* Cotizador Interactivo en Grilla 2x3 compacta */
  .quote-builder {
    padding: 1.35rem 1rem;
    border-radius: 16px;
  }

  .quote-builder h2 {
    font-size: 1.45rem !important;
  }

  .task-select-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .task-option {
    padding: 0.9rem 0.5rem;
  }

  .input-std {
    padding: 0.8rem 0.85rem;
    font-size: 0.92rem;
  }

  .faq-question {
    padding: 1.1rem 1rem;
    font-size: 0.95rem;
  }
}
/* =========================================================
   MODO NOCHE LACUSTRE PARA JARDINERIA.HTML (JARDINERIA.CSS)
   ========================================================= */
[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;
  --border: rgba(255, 255, 255, 0.12);
  --header-bg: rgba(15, 23, 42, 0.92);
}

.theme-toggle-btn {
  background: var(--surface-soft, #f1f5f9);
  border: 1.5px solid var(--border, #e2e8f0);
  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;
  margin-left: 1rem;
  transition: all 0.25s ease;
}
.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="dark"] header,
[data-theme="dark"] .nav-links {
  background-color: var(--header-bg) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .trust-bar {
  background: var(--surface-soft) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .track-card,
[data-theme="dark"] .garden-card,
[data-theme="dark"] .quote-builder,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .trust-item {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .task-option,
[data-theme="dark"] .input-std,
[data-theme="dark"] .pain-box {
  background: var(--surface-soft) !important;
  border-color: var(--border) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .task-option.selected {
  background: rgba(20, 184, 166, 0.16) !important;
  border-color: var(--primary) !important;
}

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

[data-theme="dark"] footer {
  background-color: #0f172a !important;
}

/* =========================================================
   HEADER MAESTRO UNIFICADO + DROPDOWN + ELEVATOR LATERAL
   ========================================================= */
:root {
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --border: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.96);
}

[data-theme="dark"] {
  --surface: #1e293b;
  --surface-soft: #0f172a;
  --border: rgba(255, 255, 255, 0.12);
  --header-bg: rgba(15, 23, 42, 0.94);
}

header {
  background-color: var(--header-bg) !important;
  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 !important;
  margin: 0 auto;
  padding: 0.65rem 1.5rem !important;
  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 !important;
  width: 46px !important;
  object-fit: contain;
  border-radius: 50%;
}

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

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

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

.nav-links .btn-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 0.52rem 1.1rem !important;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-login-nav {
  border: 1.5px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-main) !important;
  padding: 0.48rem 0.9rem !important;
  border-radius: 8px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
}

.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;
  margin: 0 !important;
  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;
}

/* Dropdown de Especialidades */
.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.9rem;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.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: 981px) {
  .nav-dropdown:hover .nav-dropdown-content {
    display: block;
  }
}

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

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

.nav-dropdown-content a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 0.58rem 0.75rem !important;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-main) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: left !important;
}

.nav-dropdown-content a i {
  width: 20px;
  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) !important;
}

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

/* Elevator Lateral de Secciones (Puntos de Scroll) */
.section-elevator {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.elevator-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.38);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
}

.elevator-dot:hover,
.elevator-dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(15, 118, 110, 0.5);
}

.elevator-label {
  position: absolute;
  right: 22px;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.elevator-dot:hover .elevator-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 980px) {
  .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,
  .nav-dropbtn {
    padding: 0.75rem 0 !important;
    width: 100%;
    text-align: left !important;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
  }
  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--surface-soft);
    border-radius: 10px;
    margin: 0.4rem 0;
    width: 100%;
  }
  .nav-links > .btn-cta,
  .nav-links > .btn-login-nav {
    justify-content: center;
    text-align: center !important;
    margin-top: 0.6rem !important;
    padding: 0.75rem !important;
    border-bottom: none;
  }
  .section-elevator {
    display: none;
  }
}
[data-theme="dark"] .firebreak-section {
  background-color: #0f172a !important;
}
