/* ============================================================
   llavesegura24.es — Sistema de diseño "Acero y Latón" v1
   Cerrajería 24h Barcelona · mobile-first · CRO-first
   Fuentes: Bricolage Grotesque (display) + Instrument Sans (texto)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Marca: grafito profundo (acero) */
  --brand: #141a22;
  --brand-2: #1c2430;
  --brand-soft: #eef0f2;
  /* Acento: latón / llave dorada */
  --accent: #d9a441;
  --accent-dark: #a97a1f;
  --accent-soft: #f8efdb;
  --accent-ink: #3d2e08;
  /* Semánticos */
  --success: #25d366;
  --success-dark: #128c4b;
  --danger: #dc2626;
  --ink: #171c24;
  --muted: #59606c;
  --line: #e4e2dc;
  --bg: #f6f5f1;        /* papel cálido, no azulado */
  --paper: #ffffff;
  --paper-warm: #fbfaf7;

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;

  /* Tipografía fluida */
  --fs-xs: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --fs-sm: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --fs-lg: clamp(1.12rem, 1.05rem + 0.45vw, 1.3rem);
  --fs-xl: clamp(1.35rem, 1.2rem + 0.9vw, 1.75rem);
  --fs-2xl: clamp(1.7rem, 1.45rem + 1.5vw, 2.4rem);
  --fs-hero: clamp(2rem, 1.5rem + 3vw, 3.4rem);

  /* Espaciado y forma */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20, 26, 34, 0.06), 0 2px 8px rgba(20, 26, 34, 0.06);
  --shadow-2: 0 2px 4px rgba(20, 26, 34, 0.07), 0 10px 28px rgba(20, 26, 34, 0.12);
  --shadow-brass: 0 6px 20px rgba(169, 122, 31, 0.28);
  --shadow-wa: 0 6px 20px rgba(18, 140, 75, 0.32);

  --header-h: 64px;
  --transition: 180ms cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--brand);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-xl); font-weight: 700; }
p { margin: 0 0 var(--sp-4); }
ul, ol { padding-left: 1.3em; margin: 0 0 var(--sp-4); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--sp-7); }
.section-tight { padding-block: var(--sp-6); }
.section-dark { background: var(--brand); color: #e8e6e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c9ccd2; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--sp-2);
}
.section-dark .kicker { color: var(--accent); }

/* Accesibilidad */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.35em;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  border-radius: var(--r-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-brass {
  background: linear-gradient(160deg, #e6b657, var(--accent) 55%, #c8922f);
  color: var(--accent-ink); box-shadow: var(--shadow-brass);
}
.btn-brass:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(169, 122, 31, 0.38); color: var(--accent-ink); }
.btn-wa { background: var(--success); color: #063; color: #05341c; box-shadow: var(--shadow-wa); }
.btn-wa:hover { background: #2ee077; transform: translateY(-2px); color: #05341c; }
.btn-ghost { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.section-dark .btn-ghost, .hero .btn-ghost { color: #fff; }
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-2); transform: translateY(-2px); color: #fff; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent) 60%, #e0b558);
  color: var(--accent-ink);
  font-size: var(--fs-sm); font-weight: 600; text-align: center;
  padding: 8px 14px;
  transition: max-height var(--transition), padding var(--transition), opacity var(--transition);
  max-height: 90px; overflow: hidden;
}
.promo-bar a { color: inherit; font-weight: 800; }
.promo-bar.collapsed { max-height: 0; padding-block: 0; opacity: 0; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 26, 34, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.25);
}
.topbar-inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: #fff; text-decoration: none; letter-spacing: -0.01em;
}
.brand img, .brand svg { width: 38px; height: 38px; }
.brand .brand-24 { color: var(--accent); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-4); }
.site-nav a {
  color: #d4d7dc; text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  padding: 8px 2px; border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.header-cta { display: flex; gap: var(--sp-2); margin-left: var(--sp-4); }
.header-cta .btn { min-height: 42px; padding: 0.5em 1.1em; }

.nav-toggle {
  display: none; margin-left: auto;
  align-items: center; gap: 8px;
  background: none; border: 2px solid rgba(255,255,255,0.35); border-radius: var(--r-pill);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  min-height: 44px; padding: 0.4em 1em; cursor: pointer;
}
.nav-toggle-icon {
  width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block;
}
.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--brand); border-bottom: 2px solid var(--accent);
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
    box-shadow: var(--shadow-2);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: var(--fs-base); }
  .header-cta { margin: var(--sp-4) 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--brand-2);
  background-image:
    linear-gradient(112deg, rgba(13, 17, 23, 0.93) 34%, rgba(20, 26, 34, 0.72) 62%, rgba(20, 26, 34, 0.45)),
    var(--hero-image, none);
  background-size: cover; background-position: center right;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero::after { /* veta de latón decorativa */
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, #f0cf8a 50%, var(--accent) 70%, transparent);
}
.hero-content { position: relative; max-width: 620px; }
.hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .hero-claim { font-size: var(--fs-lg); color: #d9dce1; margin-bottom: var(--sp-5); max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }

.badge-24h {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(220, 38, 38, 0.15); border: 1px solid rgba(220, 38, 38, 0.55);
  color: #ffb4b4; font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--r-pill); padding: 6px 14px; margin-bottom: var(--sp-4);
}
.badge-24h::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); box-shadow: 0 0 0 0 rgba(220,38,38,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220,38,38,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}

.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,0.16);
  font-size: var(--fs-sm); color: #c9ccd2;
}
.trust-strip strong { color: #fff; display: block; font-family: var(--font-display); font-size: var(--fs-lg); }
.trust-strip .stars { color: var(--accent); letter-spacing: 2px; }

/* ---------- Answer box (AEO) ---------- */
.answer-box {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--r-md); box-shadow: var(--shadow-1);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  margin-block: var(--sp-5);
}
.answer-box dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--sp-4); margin: 0; }
.answer-box dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.answer-box dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; color: var(--brand); }

/* ---------- Decision strip ---------- */
.decision-strip { background: var(--paper-warm); border-block: 1px solid var(--line); }
.decision-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); padding-block: var(--sp-4); }
.decision-strip-label { font-family: var(--font-display); font-weight: 700; color: var(--brand); margin-right: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  color: var(--ink); font-weight: 600; font-size: var(--fs-sm);
  min-height: 44px; padding: 8px 18px; text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.chip:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); color: var(--ink); }

/* ---------- Bento grid ---------- */
.bento { display: grid; gap: var(--sp-4); grid-template-columns: repeat(12, 1fr); }
.bento-card {
  grid-column: span 4;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: var(--sp-2);
  position: relative;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
/* Las 2 últimas tarjetas llenan la fila final a medias (evita el hueco de 1/3) */
@media (min-width: 961px) {
  .bento > .bento-card:not(.bento-featured):nth-last-child(-n+2) { grid-column: span 6; }
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.bento-card h3 { margin: 0; font-size: var(--fs-lg); }
.bento-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; flex: 1; }
.bento-card .card-link {
  font-weight: 700; font-family: var(--font-display); font-size: var(--fs-sm);
  color: var(--accent-dark); text-decoration: none; margin-top: var(--sp-2);
}
.bento-card .card-link::after { content: " →"; transition: transform var(--transition); display: inline-block; }
.bento-card:hover .card-link::after { transform: translateX(4px); }
.bento-card .card-price {
  font-size: var(--fs-xs); font-weight: 700; color: var(--success-dark);
  background: #e9f9ef; border-radius: var(--r-pill); padding: 3px 10px; align-self: flex-start;
}
.bento-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: var(--sp-2);
}
.bento-icon svg { width: 26px; height: 26px; }

.bento-featured {
  grid-column: span 8; grid-row: span 2;
  background: var(--brand); border: none; color: #e8e6e1;
  background-image: linear-gradient(150deg, rgba(20,26,34,0.55), rgba(13,17,23,0.92) 60%), var(--card-image, none);
  background-size: cover; background-position: center;
  justify-content: flex-end; min-height: 340px;
}
.bento-featured h3 { color: #fff; font-size: var(--fs-xl); }
.bento-featured p { color: #c9ccd2; flex: 0; }
.bento-featured .card-link { color: var(--accent); }
.bento-featured:hover { border-color: transparent; }
.bento-tag {
  position: absolute; top: var(--sp-4); left: var(--sp-5);
  background: var(--danger); color: #fff; font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--r-pill); padding: 5px 12px;
}
@media (max-width: 960px) {
  .bento-card { grid-column: span 6; }
  .bento-featured { grid-column: span 12; min-height: 280px; }
}
@media (max-width: 620px) {
  .bento-card { grid-column: span 12; }
}

/* ---------- Bloque anti-sorpresas / precios ---------- */
.pledge {
  background: var(--brand); border-radius: var(--r-lg); color: #e8e6e1;
  padding: var(--sp-6); position: relative; overflow: hidden;
}
.pledge::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), #f0cf8a, var(--accent));
}
.pledge h2, .pledge h3 { color: #fff; }
.pledge-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: var(--sp-5); }
.pledge-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.pledge-item svg { width: 28px; height: 28px; color: var(--accent); flex: none; margin-top: 2px; }
.pledge-item strong { color: #fff; display: block; font-family: var(--font-display); }
.pledge-item span { color: #b9bdc5; font-size: var(--fs-sm); }

.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); font-size: var(--fs-sm); }
.price-table th { background: var(--brand); color: #fff; font-family: var(--font-display); text-align: left; padding: 12px 16px; }
.price-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.price-table td:last-child { font-weight: 700; color: var(--brand); white-space: nowrap; }
.price-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-2); }
.table-scroll { overflow-x: auto; }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: step; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-5); counter-increment: step; position: relative;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl);
  color: var(--accent); display: block; margin-bottom: var(--sp-2); line-height: 1;
}
.step h3 { font-size: var(--fs-base); margin-bottom: var(--sp-1); }
.step p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* ---------- Zonas ---------- */
.zonas-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: 0; }
.zonas-list a {
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 16px; font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.zonas-list a:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: var(--sp-3); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display); font-weight: 700; color: var(--brand); font-size: var(--fs-base);
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4em; color: var(--accent-dark); flex: none;
  transition: transform var(--transition); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--accent); }
.faq .faq-a { padding: 0 var(--sp-5) var(--sp-4); color: var(--muted); }
.faq .faq-a p { margin-bottom: var(--sp-2); }

/* ---------- Blog ---------- */
.blog-tools { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-5); }
#blog-search {
  flex: 1 1 240px; min-height: 48px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font: inherit; background: var(--paper);
}
#blog-search:focus { border-color: var(--accent); outline: none; }
.blog-filter {
  min-height: 44px; padding: 8px 16px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font: inherit; font-weight: 600; font-size: var(--fs-sm);
}
.blog-filter[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.blog-results { font-size: var(--fs-xs); color: var(--muted); margin-left: auto; }
.blog-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* Bloque de guías de la home: 4 tarjetas → 4 columnas, sin hueco suelto */
#guias .blog-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.blog-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.blog-card .blog-cat {
  align-self: flex-start; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-dark); background: var(--accent-soft);
  border-radius: var(--r-pill); padding: 3px 10px;
}
.blog-card h3 { font-size: var(--fs-base); margin: 0; }
.blog-card h3 a { color: var(--brand); text-decoration: none; }
.blog-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; flex: 1; }
.blog-card .blog-meta { font-size: var(--fs-xs); color: var(--muted); }

/* Artículo / prosa (blog + legales) */
.prose { max-width: 720px; }
.prose h2 { margin-top: var(--sp-6); font-size: var(--fs-xl); }
.prose h3 { margin-top: var(--sp-5); font-size: var(--fs-lg); }
.prose img { border-radius: var(--r-md); margin-block: var(--sp-4); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-block: var(--sp-4); }
.prose th { background: var(--brand-soft); text-align: left; padding: 10px 14px; }
.prose td { padding: 10px 14px; border-top: 1px solid var(--line); }
.prose blockquote {
  margin: var(--sp-4) 0; padding: var(--sp-3) var(--sp-5);
  border-left: 4px solid var(--accent); background: var(--paper-warm);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--muted);
}
.article-meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-5); }
.article-resumen {
  background: var(--accent-soft); border-left: 5px solid var(--accent);
  border-radius: var(--r-sm); padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-5);
  font-size: var(--fs-base);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: var(--fs-xs); color: var(--muted); padding-block: var(--sp-3); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--brand);
  background-image: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(217,164,65,0.18), transparent);
  color: #fff; text-align: center; border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-5);
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #c9ccd2; max-width: 54ch; margin-inline: auto; }
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1117; color: #b9bdc5; font-size: var(--fs-sm); margin-top: var(--sp-7); }
.footer-grid {
  display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-block: var(--sp-7) var(--sp-5);
}
.site-footer h3 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9bdc5; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-nap strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; font-size: var(--fs-xs); color: #7c828c;
}

/* ---------- Mobile CTA fija + FAB WhatsApp ---------- */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--paper); color: var(--brand); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  min-height: 58px; padding: 8px 4px;
}
.mobile-cta a svg { width: 22px; height: 22px; }
.mobile-cta .m-tel { background: var(--brand); color: #fff; }
.mobile-cta .m-wa { background: var(--success); color: #05341c; }
.mobile-cta .m-precio { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 66px; }
  .wa-fab { bottom: 78px; }
}

.wa-fab {
  position: fixed; right: 16px; bottom: 20px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--success); color: #05341c;
  display: grid; place-items: center; box-shadow: var(--shadow-wa);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(18,140,75,0.45); }
.wa-fab svg { width: 30px; height: 30px; }

/* ---------- Consent bar ---------- */
.consent-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  background: var(--brand); color: #e8e6e1;
  border: 1px solid rgba(217,164,65,0.4); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); box-shadow: var(--shadow-2);
  font-size: var(--fs-sm);
}
.consent-bar span { flex: 1 1 260px; }
.consent-bar a { color: var(--accent); }
.consent-bar button {
  min-height: 44px; padding: 8px 18px; cursor: pointer;
  border-radius: var(--r-pill); border: 1.5px solid rgba(255,255,255,0.4);
  background: transparent; color: #fff; font: inherit; font-weight: 700;
}
.consent-bar button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) {
  .consent-bar { bottom: 74px; }
}

/* ---------- Grid de dos columnas genérico ---------- */
.split { display: grid; gap: var(--sp-6); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-2); }

/* ---------- Aviso cruce persianas ---------- */
.cross-site {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--paper-warm); border: 1px dashed var(--accent);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); font-size: var(--fs-sm);
}

/* ---------- Animaciones de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: rise 0.6s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
  .hero-content > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.32s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .promo-bar, .mobile-cta, .wa-fab, .consent-bar, .cta-final, .site-footer { display: none !important; }
}
