/* =========================================================
   TANTALLA — styles.css
   Sistema de diseño: oscuro, acento verde lima, tipografía
   geométrica. Basado en el manual de marca (logo adjunto).
   ========================================================= */

:root {
  --bg: #08090a;
  --bg-elevated: #0f110d;
  --bg-card: #14160f;
  --bg-card-hover: #191c13;
  --border: #24261e;
  --border-soft: #1a1c15;
  --text: #f3f4ee;
  --text-muted: #a7ab9e;
  --text-dim: #6f7368;
  --accent: #b6cf52;
  --accent-strong: #c6e05f;
  --accent-dark: #7f9339;
  --accent-contrast: #0a0b06;
  --accent-text: var(--accent);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 108px 0; }
section.tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(182, 207, 82, 0.6);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); color: var(--text); }
.section-head p { font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 8px 30px -8px rgba(182, 207, 82, 0.55);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border-soft); background: rgba(8, 9, 10, 0.92); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 24px; }
.mobile-menu li { border-bottom: 1px solid var(--border-soft); }
.mobile-menu a { display: block; padding: 18px 4px; font-size: 18px; font-family: var(--font-display); }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) { .nav-links { display: flex; } }
@media (max-width: 899px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(182,207,82,0.14) 0%, rgba(182,207,82,0) 65%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.hero-badge .dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(182,207,82,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(182,207,82,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(182,207,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(182,207,82,0); }
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent-text); }
.hero-lead { font-size: 18px; max-width: 520px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-presence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.hero-presence span.dot { color: var(--accent-text); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  height: 560px;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.95;
}
.hero-visual .float-card {
  position: absolute;
  left: 20px; bottom: 20px;
  right: 20px;
  background: rgba(10, 11, 8, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; color: var(--text); }
.float-card span { font-size: 13px; color: var(--text-muted); }
@media (max-width: 979px) { .hero-visual { height: 340px; } }

/* ---------- Marquee de canales ---------- */
.channels-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
}
.channels-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.channels-strip .label { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-display); }
.channels-strip .items { display: flex; flex-wrap: wrap; gap: 28px; }
.channels-strip .items span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--text-muted); font-weight: 500;
}
.channels-strip .items svg { width: 18px; height: 18px; color: var(--accent-text); }

/* ---------- Problema ---------- */
.problem-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: var(--accent-dark); }
.problem-card .num {
  font-family: var(--font-display);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.problem-card h3 { font-size: 19px; color: var(--text); margin-bottom: 10px; }
.problem-card p { font-size: 14.5px; margin: 0; }

.solution-line {
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(182,207,82,0.12), rgba(182,207,82,0.02));
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
}
.solution-line strong { color: var(--accent-text); }

/* ---------- Servicios flagship ---------- */
.flagship-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 60px;
}
@media (min-width: 860px) { .flagship-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .flagship-grid.products-grid { grid-template-columns: repeat(3, 1fr); } }
.flagship-grid.products-grid .flagship-card { display: flex; flex-direction: column; }
.flagship-grid.products-grid .flagship-card ul { flex: 1; }

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(182, 207, 82, 0.1);
  border: 1px solid var(--border);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.coming-soon-badge .dot-pulse { width: 6px; height: 6px; }
.flagship-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.flagship-card.highlight { border-color: var(--accent-dark); background: linear-gradient(160deg, rgba(182,207,82,0.08), var(--bg-card) 55%); }
.flagship-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(182,207,82,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.flagship-icon svg { width: 26px; height: 26px; color: var(--accent-text); }
.flagship-card h3 { font-size: 22px; color: var(--text); }
.flagship-card > p { font-size: 15px; margin-bottom: 20px; }
.flagship-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.flagship-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-muted);
}
.flagship-card li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent-text); }
.flagship-card .tag {
  display: inline-block;
  margin-top: 22px;
  font-size: 12.5px;
  font-family: var(--font-display);
  color: var(--accent-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pillars-head { text-align: center; max-width: 560px; margin: 0 auto 36px; }
.pillars-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.pillar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--accent-dark); background: var(--bg-card-hover); }
.pillar-card svg { width: 24px; height: 24px; color: var(--accent-text); margin-bottom: 14px; }
.pillar-card h4 { font-size: 15.5px; color: var(--text); margin-bottom: 8px; }
.pillar-card p { font-size: 13.5px; margin: 0; }

/* ---------- Cómo funciona (stepper) ---------- */
.steps-wrap {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .steps-wrap { grid-template-columns: 320px 1fr; } }

.steps-nav { display: flex; flex-direction: column; gap: 4px; }
.step-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease;
  font-family: var(--font-body);
}
.step-btn .circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.step-btn strong { display: block; font-size: 15px; color: var(--text); }
.step-btn span { font-size: 13px; color: var(--text-dim); }
.step-btn.active { background: var(--bg-card); border-color: var(--border); }
.step-btn.active .circle { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }

.step-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-panel .step-tag { font-family: var(--font-display); color: var(--accent-text); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.step-panel h3 { font-size: 26px; color: var(--text); margin-bottom: 14px; }
.step-panel p { font-size: 16px; max-width: 520px; }

/* ---------- Calculadora ---------- */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .calc-card { grid-template-columns: 1fr 1fr; } }

.calc-field { margin-bottom: 26px; }
.calc-field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display); font-size: 14px; color: var(--text);
  margin-bottom: 10px;
}
.calc-field label .value { color: var(--accent-text); font-weight: 700; }
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 6px;
}
.calc-field input[type="number"] {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
}
.calc-field input[type="number"]:focus { outline: none; border-color: var(--accent); }
.calc-note { font-size: 12.5px; color: var(--text-dim); }

.calc-result {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-family: var(--font-display); margin-bottom: 10px; }
.calc-result .big-number {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 48px);
  color: var(--accent-text);
  margin-bottom: 6px;
  word-break: break-word;
}
.calc-result .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.calc-result .assumptions {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- Industrias ---------- */
.industry-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.industry-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.industry-chip:hover { transform: translateY(-4px); border-color: var(--accent-dark); }
.industry-chip svg { width: 26px; height: 26px; color: var(--accent-text); margin: 0 auto 12px; }
.industry-chip span { font-size: 14px; font-weight: 500; color: var(--text); }

/* ---------- Quiénes somos ---------- */
.trust-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 40px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.trust-chip svg { width: 22px; height: 22px; color: var(--accent-text); flex-shrink: 0; }
.trust-chip-link { text-decoration: none; transition: border-color 0.2s ease; }
.trust-chip-link:hover { border-color: var(--accent); }
.trust-chip span { font-size: 14px; color: var(--text-muted); font-weight: 500; }

.about-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .about-grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; } }

.video-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-dim);
  text-align: center;
  padding: 24px;
}
.video-placeholder-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(182, 207, 82, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder-icon svg { width: 22px; height: 22px; color: var(--accent-text); }
.video-placeholder span { font-size: 14px; font-family: var(--font-display); }

.social-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.social-block p { margin: 0; font-family: var(--font-display); font-size: 15px; color: var(--text); }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { border-color: var(--accent); color: var(--accent-text); }

/* ---------- Demo / Reserva ---------- */
.demo-section { background: var(--bg-elevated); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.demo-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) { .demo-grid { grid-template-columns: 0.85fr 1.15fr; } }

.demo-intro .check-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.demo-intro .check-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-muted); }
.demo-intro .check-list svg { width: 18px; height: 18px; color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }

.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.booking-card .booking-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.booking-card .booking-head h3 { font-size: 19px; margin: 0; color: var(--text); }
.booking-card .booking-head .pill {
  font-size: 12px; font-family: var(--font-display);
  background: rgba(182,207,82,0.12); color: var(--accent-text);
  padding: 5px 12px; border-radius: 999px;
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: var(--font-body);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }
.service-options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 16px; }
.service-option {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.service-option.selected { border-color: var(--accent); background: rgba(182,207,82,0.08); }
.service-option strong { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 3px; }
.service-option span { font-size: 12px; color: var(--text-dim); }
.slot-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); margin-bottom: 20px; }
.slot-btn {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 13px;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s ease;
}
.slot-btn.selected { border-color: var(--accent); color: var(--accent-contrast); background: var(--accent); font-weight: 700; }
.form-msg { font-size: 13px; color: var(--text-dim); margin-top: 14px; text-align: center; }
.form-msg.error { color: #e07a6b; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: none; cursor: pointer;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-display); font-size: 15.5px; color: var(--text);
}
.faq-q .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.25s ease; }
.faq-q .plus::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-q .plus::after { width: 2px; height: 14px; left: 10px; top: 4px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 22px; font-size: 14.5px; margin: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(182,207,82,0.16), rgba(182,207,82,0.02));
  border: 1px solid var(--border);
  padding: 60px 40px;
  text-align: center;
}
.cta-final h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-final p { max-width: 520px; margin: 0 auto 30px; }
.cta-final .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
/* El footer se mantiene siempre oscuro por la misma razón que la barra
   superior: el logo trae su propio fondo oscuro incrustado en la imagen. */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr repeat(3, 0.8fr) 1.3fr;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 22px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; max-width: 280px; }
.footer-col h5 { font-family: var(--font-display); font-size: 13px; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent-text); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--accent); }

.quick-contact-form { display: flex; flex-direction: column; gap: 10px; }
.quick-contact-form input,
.quick-contact-form textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text);
  font-family: var(--font-body);
}
.quick-contact-form textarea { min-height: 64px; resize: vertical; }
.quick-contact-form .btn { font-size: 13.5px; padding: 11px 20px; }
.quick-contact-form .form-msg:not(:empty) { font-size: 12.5px; color: var(--accent-text); margin-top: 2px; }
.quick-contact-form .form-msg.error { color: #e07a6b; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-dim);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(182,207,82,0.6);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--accent-contrast); }

/* ---------- Barra de progreso de lectura ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ---------- Botones flotantes: compartir y volver arriba ---------- */
.back-to-top, .share-btn {
  position: fixed;
  right: 22px;
  z-index: 900;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.back-to-top svg, .share-btn svg { width: 19px; height: 19px; }
.back-to-top:hover, .share-btn:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.share-btn { bottom: 90px; }
.back-to-top {
  bottom: 148px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.share-btn.copied { position: relative; border-color: var(--accent); color: var(--accent-text); }
.share-btn.copied::after {
  content: attr(data-copied-label);
  position: absolute;
  right: 54px; top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 640px) {
  .back-to-top, .share-btn { width: 42px; height: 42px; right: 16px; }
  .share-btn { bottom: 80px; }
  .back-to-top { bottom: 132px; }
}

/* ---------- Chat en vivo (widget flotante de preguntas frecuentes) ---------- */
.chat-launcher {
  position: fixed;
  right: 22px; bottom: 214px;
  z-index: 950;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  border: none;
  color: var(--accent-contrast);
  cursor: pointer;
  box-shadow: 0 10px 30px -6px rgba(182,207,82,0.6);
  transition: transform 0.2s ease;
}
.chat-launcher:hover { transform: scale(1.08); }
.chat-launcher svg { width: 20px; height: 20px; }
.chat-launcher .chat-dot {
  position: absolute; top: -2px; right: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #e07a6b;
  box-shadow: 0 0 0 2px var(--bg);
  animation: pulse 2s infinite;
}
.chat-launcher.seen .chat-dot { display: none; }

.chat-panel {
  position: fixed;
  right: 22px; bottom: 270px;
  z-index: 1000;
  width: min(360px, calc(100vw - 32px));
  max-height: min(520px, 70vh);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-panel-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg-elevated); border-bottom: 1px solid var(--border-soft); }
.chat-panel-header img { width: 34px; height: 34px; border-radius: 50%; }
.chat-panel-header .chat-info { flex: 1; min-width: 0; }
.chat-panel-header strong { display: block; font-size: 14.5px; }
.chat-panel-header span { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.chat-panel-close { background: none; border: none; color: var(--text-dim); cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-panel-close svg { width: 18px; height: 18px; }

.chat-panel-body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-panel-body .msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.chat-panel-body .msg-bot { align-self: flex-start; background: var(--bg-card-hover); color: var(--text); border-bottom-left-radius: 4px; }
.chat-panel-body .msg-user { align-self: flex-end; background: var(--accent); color: var(--accent-contrast); border-bottom-right-radius: 4px; }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.chat-quick-replies button { border: 1px solid var(--border); background: transparent; color: var(--text); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.chat-quick-replies button:hover { border-color: var(--accent); color: var(--accent-text); }

.chat-panel-footer { border-top: 1px solid var(--border-soft); padding: 12px 14px; }
.chat-panel-footer .hint { font-size: 11px; color: var(--text-dim); margin: 0 0 8px; }
.chat-panel-input-row { display: flex; gap: 8px; }
.chat-panel-input-row input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; font-size: 13px; color: var(--text); font-family: var(--font-body); }
.chat-panel-input-row button { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); border: none; color: var(--accent-contrast); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.chat-panel-input-row button svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .chat-launcher { width: 42px; height: 42px; right: 16px; bottom: 184px; }
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 232px; }
}

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1100;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner p { font-size: 13.5px; margin: 0 0 16px; color: var(--text-muted); }
.cookie-banner p a { color: var(--accent-text); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { padding: 11px 20px; font-size: 13.5px; }
@media (max-width: 480px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; } }

/* ---------- Páginas internas (política) ---------- */
.legal-page { padding-top: 148px; padding-bottom: 40px; }
.legal-page h2 { font-size: clamp(26px, 4vw, 36px); margin-top: 44px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { font-size: 18px; color: var(--text); margin-top: 28px; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 15px; }
.legal-page ul { padding-left: 20px; }
.legal-page .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 40px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 32px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); color: var(--text-muted); }
.legal-table th { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-back { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--accent-text); font-family: var(--font-display); font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider-dot { color: var(--accent-text); }
::selection { background: var(--accent); color: var(--accent-contrast); }

@media (max-width: 640px) {
  section { padding: 76px 0; }
  .flagship-card, .booking-card, .calc-card, .step-panel { padding: 26px; }
  .cta-final { padding: 44px 24px; }
}
