/* Fuego Social España — landing
 * Mobile-first. Tokens identical to main site.
 */

:root {
  --color-primary: #FF5A00;
  --color-primary-dark: #C43E12;
  --color-bg: #0C0A08;
  --color-surface: #161210;
  --color-surface-2: #1f1a16;
  --color-text: #F2EDE4;
  --color-text-dim: #B8AEA0;
  --color-border: rgba(242, 237, 228, 0.12);
  --color-success: #4FB286;
  --color-error: #E84855;
  --font-primary: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container-max: 1080px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; color: #fff; }

h1, h2, h3 { font-family: var(--font-primary); margin: 0 0 16px; line-height: 1.18; }
h1 { font-size: clamp(34px, 6.5vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 19px; font-weight: 700; }
p  { margin: 0 0 14px; }

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

/* ---------------- NAV ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(12, 10, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  flex-shrink: 0;
}
.nav-wordmark { display: inline-flex; align-items: baseline; }
.nav-fuego  { font-weight: 800; letter-spacing: 0.04em; color: #fff; font-size: 17px; }
.nav-social { font-weight: 900; letter-spacing: 0.04em; color: var(--color-primary); margin-left: 2px; font-size: 17px; }
.nav-badge {
  display: inline-block; margin-left: 8px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--color-primary); color: #fff;
  border: 1px solid var(--color-primary);
  vertical-align: middle;
}
.nav-pin {
  display: inline-block; margin-left: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255, 90, 0, 0.14); color: var(--color-primary);
  border: 1px solid rgba(255, 90, 0, 0.35);
}
@media (max-width: 600px) {
  .nav { padding: 12px 16px; gap: 10px; }
  .nav-fuego, .nav-social { font-size: 15px; }
  .nav-badge { font-size: 9.5px; padding: 3px 7px; letter-spacing: 0.1em; }
  /* Hide the nav CTA on mobile — the hero CTA covers the same action one scroll away,
     and keeping it here pushes the BARCELONA badge into a visual collision. */
  .nav-cta { display: none; }
}
.nav-cta {
  font-weight: 700; font-size: 14px; color: var(--color-text);
  padding: 9px 14px; border: 1px solid var(--color-border); border-radius: 999px;
  text-decoration: none; transition: border-color .15s, color .15s;
}
.nav-cta:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: saturate(1.05);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,10,8,0.30) 0%, rgba(12,10,8,0.55) 45%, rgba(12,10,8,0.92) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 22px;
}
.hero-pill {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 90, 0, 0.15); color: var(--color-primary);
  border: 1px solid rgba(255, 90, 0, 0.4);
  margin-bottom: 22px;
}
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 90, 0, 0.10); color: var(--color-primary);
  border: 1px solid rgba(255, 90, 0, 0.30);
  margin-bottom: 16px;
}
.hero-title { color: #fff; margin-bottom: 18px; max-width: 920px; }
.hero-accent { color: var(--color-primary); }
.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--color-text);
  max-width: 720px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-primary); color: #fff;
}
.btn-primary:hover { background: #ff7325; color: #fff; }
.btn-ghost {
  background: transparent; color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---------------- TRUSTBAR ---------------- */
.trustbar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 26px 0;
}
.trustbar-row {
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { font-size: 22px; font-weight: 800; color: var(--color-primary); }
.trust-item span { font-size: 13px; color: var(--color-text-dim); }

@media (min-width: 720px) {
  .trustbar-row { grid-template-columns: repeat(4, 1fr); }
  .trust-item strong { font-size: 26px; }
}

/* ---------------- SECTIONS ---------------- */
.section {
  padding: 70px 0;
  border-bottom: 1px solid var(--color-border);
}
.lead { font-size: 17.5px; color: var(--color-text); max-width: 760px; margin-bottom: 14px; }
@media (min-width: 720px) { .lead { font-size: 19px; } }

.section-problem { background: var(--color-bg); }
.section-how { background: var(--color-surface); }
.section-econ { background: var(--color-bg); }
.section-who { background: var(--color-surface); }
.section-control { background: var(--color-bg); }
.section-bcn { background: var(--color-surface); }
.section-faq { background: var(--color-bg); }
.section-chat { background: var(--color-surface); }
.section-cta-final {
  background: linear-gradient(135deg, rgba(255,90,0,0.10), rgba(196,62,18,0.05));
  text-align: center;
}
.section-cta-final .hero-ctas { justify-content: center; }

/* ---------------- HOW ---------------- */
.how-steps {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; gap: 22px;
  position: relative;
}
.how-steps li {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
  position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px; margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(255, 90, 0, 0.35);
}
.how-steps p { color: var(--color-text-dim); margin: 0; }

@media (min-width: 800px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  /* Visual connector line that runs through the three step circles */
  .how-steps::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 14%; right: 14%;
    height: 2px;
    background: linear-gradient(90deg,
      rgba(255,90,0,0) 0%,
      rgba(255,90,0,0.45) 18%,
      rgba(255,90,0,0.45) 82%,
      rgba(255,90,0,0) 100%);
    z-index: 0;
  }
  .how-steps li { z-index: 1; }
}

/* ---------------- BCN STATS ---------------- */
.bcn-stats {
  display: grid; gap: 18px; margin-top: 30px;
  grid-template-columns: 1fr;
}
.bcn-stat {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.bcn-stat-num {
  font-family: inherit;
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 68px);
  line-height: 1.05;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.bcn-stat-label {
  color: var(--color-text);
  font-weight: 700;
  font-size: 17px;
}
.bcn-stat-label span {
  display: block;
  color: var(--color-text-dim);
  font-weight: 400;
  font-size: 14px;
  margin-top: 4px;
}
@media (min-width: 720px) { .bcn-stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- ECON ---------------- */
.econ-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
.econ-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.econ-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 17px;
}
.econ-row strong { color: var(--color-primary); font-size: 22px; }
.econ-total {
  font-size: 54px; font-weight: 900; color: var(--color-primary);
  letter-spacing: -0.02em; padding-top: 18px; line-height: 1;
}
.econ-total small {
  display: block; font-size: 13px; font-weight: 500; color: var(--color-text-dim);
  letter-spacing: 0; margin-top: 8px;
}
.econ-foot {
  margin-top: 18px; font-size: 13px; color: var(--color-text-dim);
}
.econ-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 22px; padding: 14px 22px; font-size: 16px;
  text-align: center; line-height: 1.2;
}
@media (min-width: 880px) {
  .econ-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
}
.control-cta-row {
  margin-top: 32px; display: flex; justify-content: center;
}
.control-cta-row .btn { padding: 16px 28px; font-size: 17px; }
.chat-sub { color: var(--color-text-dim); margin: 8px 0 20px; }
.chat-sub a { color: var(--color-primary); text-decoration: underline; }

/* ---------------- WHO ---------------- */
.who-list { list-style: none; padding: 0; margin: 18px 0 30px; }
.who-list li {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.who-check { color: var(--color-primary); font-weight: 800; font-size: 22px; line-height: 1; flex-shrink: 0; width: 22px; }
.who-cross { color: var(--color-text-dim); font-weight: 800; font-size: 22px; line-height: 1; flex-shrink: 0; width: 22px; }
.who-not { margin-top: 40px; color: var(--color-text-dim); font-weight: 700; font-size: 17px; }

/* ---------------- CONTROL ---------------- */
.control-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}
.control-grid > div {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
}
.control-grid h3 { color: var(--color-primary); margin-bottom: 8px; }
.control-grid p { color: var(--color-text-dim); margin: 0; }
@media (min-width: 720px) { .control-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .control-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- FAQ ---------------- */
.faq {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
  transition: border-color .15s;
}
.faq[open] { border-color: rgba(255,90,0,0.35); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 0;
  font-weight: 700; font-size: 16px;
  color: var(--color-text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--color-primary);
  font-size: 22px; font-weight: 400; line-height: 1;
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--color-text-dim); padding-bottom: 18px; margin: 0; }

/* ---------------- CHAT ---------------- */
.chat-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-top: 26px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  max-width: 720px;
}
.chat-thread {
  min-height: 80px; max-height: 420px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 4px;
}
.chat-msg {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 15.5px;
  line-height: 1.45;
  word-wrap: break-word;
  animation: chat-in .25s ease;
}
.chat-msg.bot {
  align-self: flex-start;
  background: var(--color-surface);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.typing {
  background: var(--color-surface);
  color: var(--color-text-dim);
  font-style: italic;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.chat-input-row {
  display: flex; gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.chat-input-row input {
  flex: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15.5px;
  outline: none;
  transition: border-color .15s;
}
.chat-input-row input:focus { border-color: var(--color-primary); }
.chat-input-row button {
  font-size: 14px; padding: 10px 18px;
}
.chat-fallback { margin-top: 14px; font-size: 14px; color: var(--color-text-dim); }

/* Realtime chat: bot greeting, admin replies, optimistic pending, timestamps */
.chat-msg.from-bot {
  align-self: flex-start;
  background: var(--color-surface);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  border-left: 3px solid var(--color-primary);
}
.chat-msg.from-admin {
  align-self: flex-start;
  background: var(--color-surface);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  border-left: 3px solid #4a9eff;
}
.chat-msg.from-visitor {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg-pending { opacity: 0.55; }
.chat-msg-time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.02em;
}
.chat-note {
  align-self: center;
  font-size: 13px;
  color: var(--color-text-dim);
  background: transparent;
  padding: 4px 8px;
  text-align: center;
  max-width: 100%;
}
.chat-contact {
  margin-top: 14px;
  padding: 14px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  display: grid;
  gap: 8px;
}
.chat-contact-title {
  font-size: 13px;
  color: var(--color-text-dim);
  margin: 0 0 4px;
}
.chat-contact input {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.chat-contact input:focus { border-color: var(--color-primary); }
.chat-contact-saved { font-size: 12px; color: #6cc56c; }

/* ---------------- FOOTER ---------------- */
.footer {
  background: var(--color-surface);
  padding: 40px 0 26px;
  border-top: 1px solid var(--color-border);
}
.footer-row {
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start;
  padding: 0 22px;
}
.footer-tag { margin-left: 10px; font-size: 13px; color: var(--color-text-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--color-text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--color-primary); }
.footer-fine {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-dim);
  margin: 30px 0 0;
  opacity: 0.7;
}
@media (min-width: 720px) {
  .footer-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------------- LEGACY COOKIE BANNER (kept hidden, chat.js no-ops) ---------------- */
.cookie-banner { display: none !important; }

/* ---------------- BUTTON: LINK STYLE ---------------- */
.btn-link {
  background: transparent;
  border: none;
  color: var(--color-text-dim);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn-link:hover { color: var(--color-primary); transform: none; }

/* ---------------- CONSENT BANNER (new) ---------------- */
.fs-consent {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 1000;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text);
}
.fs-consent[hidden] { display: none; }
.fs-consent-text p { margin: 0 0 4px; }
.fs-consent-title {
  font-weight: 800; color: #fff;
  font-size: 15.5px;
  margin: 0 0 6px !important;
}
.fs-consent-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}
.fs-consent-actions .btn { padding: 10px 16px; font-size: 14px; }
.fs-consent-actions .btn-link { padding: 10px 8px; }

@media (min-width: 720px) {
  .fs-consent {
    flex-direction: row; align-items: center;
    gap: 22px;
    bottom: 22px; left: 22px; right: 22px;
    padding: 18px 22px;
  }
  .fs-consent-text { flex: 1; }
  .fs-consent-actions { flex-shrink: 0; }
}

/* ---------------- CONSENT MODAL ---------------- */
.fs-consent-modal {
  position: fixed; inset: 0;
  z-index: 1100;
  background: rgba(8, 6, 4, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fs-fade-in 0.18s ease;
}
.fs-consent-modal[hidden] { display: none; }
@keyframes fs-fade-in { from { opacity: 0; } to { opacity: 1; } }

.fs-consent-modal-card {
  width: 100%; max-width: 520px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.fs-consent-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.fs-consent-modal-close:hover { color: var(--color-primary); border-color: var(--color-primary); }

.fs-consent-modal-title {
  margin: 0 0 6px;
  font-size: 22px; font-weight: 800; color: #fff;
}
.fs-consent-modal-intro {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--color-text-dim);
}

.fs-toggle-list { display: grid; gap: 12px; margin-bottom: 22px; }
.fs-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.fs-toggle-info strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 2px;
}
.fs-toggle-info span {
  font-size: 12.5px;
  color: var(--color-text-dim);
  line-height: 1.45;
}
.fs-toggle-info .fs-toggle-locked {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Toggle switch */
.fs-switch {
  position: relative;
  display: inline-block;
  width: 44px; height: 26px;
  flex-shrink: 0;
}
.fs-switch input { opacity: 0; width: 0; height: 0; }
.fs-switch-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(242, 237, 228, 0.18);
  border-radius: 26px;
  transition: background .18s;
}
.fs-switch-slider::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
}
.fs-switch input:checked + .fs-switch-slider { background: var(--color-primary); }
.fs-switch input:checked + .fs-switch-slider::before { transform: translateX(18px); }
.fs-switch input:disabled + .fs-switch-slider {
  background: rgba(255, 90, 0, 0.55);
  cursor: not-allowed;
}

.fs-consent-modal-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: flex-end;
}
.fs-consent-modal-actions .btn { padding: 11px 18px; font-size: 14.5px; }

html.fs-modal-open { overflow: hidden; }

/* ---------------- FOOTER BRAND ---------------- */
.footer-brand {
  display: flex; align-items: center; gap: 10px;
}
.footer-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-wordmark {
  display: inline-flex; align-items: baseline;
  font-size: 15px;
}
.footer-wordmark .nav-fuego, .footer-wordmark .nav-social {
  font-size: 15px;
}
.footer-badge {
  display: inline-block; margin-left: 6px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
  background: var(--color-primary); color: #fff;
}
#cookie-prefs-open { cursor: pointer; }

/* ---------------- MISC ---------------- */
::selection { background: var(--color-primary); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------------- HERO MICRO + TERTIARY (added 2026-05-18) ---------------- */
.hero-microcopy {
  margin-top: 18px; max-width: 620px;
  font-size: 14px; color: var(--color-text-dim);
  line-height: 1.55;
}
.hero-tertiary {
  margin-top: 14px; font-size: 14px; color: var(--color-text-dim);
}
.hero-tertiary a {
  color: var(--color-text); text-decoration: underline;
  text-decoration-color: rgba(255, 90, 0, 0.6);
  text-underline-offset: 4px;
}
.hero-tertiary a:hover { color: var(--color-primary); }

/* ---------------- CALCULATOR ---------------- */
.section-calc { background: var(--color-surface); }
.calc-sub { color: var(--color-text-dim); max-width: 640px; margin-bottom: 32px; }
.calc-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .calc-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; }
}
.calc-controls {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.calc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px;
  font-size: 14px; color: var(--color-text-dim);
}
.calc-row:first-child { margin-top: 0; }
.calc-label { font-weight: 600; }
.calc-value {
  font-weight: 800; font-size: 22px; color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.calc-controls input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; margin: 6px 0 4px;
  background: rgba(255, 90, 0, 0.18);
  border-radius: 999px; outline: none;
  cursor: pointer;
}
.calc-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff1; cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.25);
  transition: transform .12s;
}
.calc-controls input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.08); }
.calc-controls input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-primary); border: 3px solid #fff1; cursor: pointer;
}
.calc-controls input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.calc-result {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.calc-result-label {
  font-size: 13px; color: var(--color-text-dim);
  text-transform: uppercase; letter-spacing: 0.10em; font-weight: 700;
}
.calc-result-amount {
  font-size: clamp(46px, 7vw, 64px); font-weight: 900;
  color: var(--color-primary); line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc-breakdown {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
}
.calc-breakdown li {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-dim);
}
.calc-breakdown li:last-child { border-bottom: none; }
.calc-breakdown li.calc-net-row {
  color: var(--color-text); font-weight: 700;
  border-top: 1px solid var(--color-border);
  margin-top: 4px; padding-top: 14px;
}
.calc-breakdown li.calc-net-row span:last-child { color: var(--color-primary); }
.calc-foot {
  font-size: 12px; color: var(--color-text-dim);
  line-height: 1.5; margin-top: 4px;
}
.calc-cta { align-self: flex-start; margin-top: 8px; }

/* ---------------- KNOW-FS BLOCK ---------------- */
.section-know-fs { background: var(--color-bg); }
.know-fs-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
}
.know-fs-card h2 { margin-bottom: 14px; }
.know-fs-card .lead { max-width: 720px; margin-bottom: 22px; }
@media (min-width: 720px) {
  .know-fs-card { padding: 44px 40px; }
}

/* Hero city typewriter cycler — España */
.hero-city-cycle {
  display: inline-block;
  white-space: nowrap;
  min-height: 1em;
}
.hero-city-cycle.is-typing::after {
  content: "|";
  display: inline-block;
  margin-left: 2px;
  color: currentColor;
  font-weight: 400;
  animation: hero-caret-blink 900ms steps(1, end) infinite;
  transform: translateY(-2px);
}
@keyframes hero-caret-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-city-cycle.is-typing::after { animation: none; opacity: 0; }
}
