/*
Theme Name: Trasteros en San Fernando
Theme URI: https://trasterosensanfernando.com
Author: Trasteros en San Fernando
Author URI: https://trasterosensanfernando.com
Description: Tema personalizado para Trasteros en San Fernando (alquiler de trasteros / self storage en el centro de San Fernando, Cádiz). Diseño moderno y profesional con identidad de marca propia. Servicio comercializado por BBHouses, titular: Soter Sociedad Cooperativa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trasteros-sf
Tags: business, self-storage, custom-logo, custom-menu, footer-widgets, translation-ready
*/

/* ---------- Tipografías auto-alojadas (H-02 — sin llamadas a Google Fonts) ---------- */
/* Bricolage Grotesque — variable font, cubre 400-700 desde un único woff2 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/bricolage-grotesque.woff2') format('woff2-variations');
}
/* Manrope — variable font, cubre 400-700 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/manrope.woff2') format('woff2-variations');
}
/* JetBrains Mono — variable font, cubre 400-500 */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono.woff2') format('woff2-variations');
}

:root {
    --brand: #B83A2E;
    --brand-deep: #8E2B22;
    --brand-tint: #F4E4DF;
    --ink: #15191F;
    --ink-2: #2E343D;
    --muted: #6B6660;
    --line: #E6DFD4;
    --cream: #F7F3EE;
    --paper: #FFFDFA;
    --shadow-sm: 0 1px 2px rgba(21,25,31,.04), 0 2px 6px rgba(21,25,31,.04);
    --shadow-md: 0 2px 6px rgba(21,25,31,.05), 0 12px 32px rgba(21,25,31,.08);
    --shadow-lg: 0 4px 12px rgba(21,25,31,.06), 0 24px 60px rgba(21,25,31,.12);
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

  .wrap { width: min(1240px, 92vw); margin-inline: auto; }

  /* ---------- TOPBAR ---------- */
  .topbar {
    background: var(--ink);
    color: #DCD7CF;
    font-size: 13px;
    letter-spacing: 0.01em;
  }
  .topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
  }
  .topbar-left { display: flex; gap: 22px; align-items: center; }
  .topbar-left span { display: inline-flex; align-items: center; gap: 8px; }
  .topbar-left .dot { width: 6px; height: 6px; border-radius: 999px; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
  .topbar-right a { color: #fff; font-weight: 600; }
  .topbar-right a:hover { color: var(--brand-tint); }
  @media (max-width: 720px) {
    .topbar-left .hide-mobile { display: none; }
  }

  /* ---------- HEADER / NAV ---------- */
  header.site {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,253,250,.85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
  }
  header.site.scrolled { border-color: var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { width: 44px; height: 44px; object-fit: contain; }
  .brand-text { display: flex; flex-direction: column; line-height: 1; }
  .brand-text .a { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
  .brand-text .b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 13px; color: var(--brand); margin-top: 2px; }

  /* Custom logo de WordPress (Apariencia → Personalizar → Identidad del sitio) */
  .custom-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
  .custom-logo { width: auto; height: 44px; max-height: 44px; max-width: 200px; object-fit: contain; display: block; }

  nav.primary { display: flex; gap: 26px; flex-wrap: nowrap; }
  nav.primary a {
    font-size: 14.5px; font-weight: 500; color: var(--ink-2);
    position: relative; padding: 6px 0; white-space: nowrap;
  }
  nav.primary a:hover { color: var(--brand); }
  nav.primary a.active { color: var(--ink); }
  nav.primary a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--brand); border-radius: 2px;
  }
  .nav-cta { display: flex; gap: 10px; align-items: center; }

  /* Botón hamburguesa (oculto en escritorio) */
  .nav-toggle {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px;
    border-radius: var(--r-sm);
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%;
    background: var(--ink); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Panel de navegación móvil */
  .mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--paper);
    padding: 8px 0 16px;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav nav { display: flex; flex-direction: column; }
  .mobile-nav nav a {
    padding: 13px 0; font-size: 16px; font-weight: 500; color: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav nav a:hover { color: var(--brand); }
  .mobile-nav-cta { display: flex; gap: 10px; margin-top: 16px; }
  .mobile-nav-cta .btn { flex: 1; }
  body.nav-open { overflow: hidden; }

  @media (max-width: 920px) {
    nav.primary { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
  }

  /* ---------- BUTTONS ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
  }
  .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(184,58,46,.28); }
  .btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(184,58,46,.36); }
  .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: #fff; }
  .btn-dark { background: var(--ink); color: #fff; }
  .btn-dark:hover { background: #000; transform: translateY(-1px); }
  .btn-sm { padding: 9px 16px; font-size: 13.5px; }
  .btn-lg { padding: 16px 28px; font-size: 16px; }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    padding: 56px 0 80px;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute; inset: -10% -10% auto auto;
    width: 60%; height: 70%;
    background: radial-gradient(60% 50% at 60% 40%, rgba(184,58,46,.10), transparent 65%);
    z-index: 0; pointer-events: none;
  }
  .hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  }
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr !important; gap: 36px; }
    .hero-grid .hero-visual { margin-left: 0 !important; margin-right: auto; max-width: 100% !important; width: 100%; }
    .hero-grid .hero-visual .hero-badge { left: 12px; }
    .hero-grid .hero-visual .hero-price { right: 12px; }
  }
  @media (max-width: 720px) {
    .hero-grid .hero-visual { aspect-ratio: 4/3; }
  }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 9px;
    background: var(--brand-tint);
    color: var(--brand-deep);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .eyebrow .pill {
    background: var(--brand); color: #fff;
    padding: 3px 9px; border-radius: 999px; font-size: 10.5px;
  }

  h1.display {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 22px 0 22px;
    text-wrap: balance;
  }
  h1.display em {
    font-style: italic;
    font-weight: 500;
    color: var(--brand);
    font-family: var(--font-display);
  }
  .lede {
    font-size: 18.5px;
    color: var(--ink-2);
    max-width: 560px;
    text-wrap: pretty;
  }
  .lede strong { color: var(--ink); font-weight: 600; }

  .hero-ctas {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 28px;
  }
  .hero-meta {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; gap: 8px 28px;
    font-size: 14px; color: var(--muted);
  }
  .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-meta svg { width: 16px; height: 16px; stroke: var(--brand); }

  /* Hero visual — placeholder card stack */
  .hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 5;
    min-height: 540px;
    margin-left: auto;
  }
  .ph {
    position: relative;
    background:
      repeating-linear-gradient(
        135deg,
        var(--line) 0 12px,
        transparent 12px 24px
      ),
      var(--cream);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow: hidden;
  }
  .ph .ph-label {
    background: var(--paper);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  /* Cuando hay foto subida: ocultar patrón de rayas y forzar img a llenar */
  .ph.has-image { background: var(--cream); border-color: transparent; }
  .ph.has-image > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-visual .ph.main {
    position: absolute; inset: 0;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
  }
  .hero-badge {
    position: absolute; left: -28px; bottom: 56px;
    background: var(--paper);
    border-radius: var(--r-md);
    padding: 14px 16px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--line);
    z-index: 2;
  }
  .hero-badge .icn {
    width: 38px; height: 38px;
    background: var(--brand-tint); color: var(--brand);
    border-radius: 10px;
    display: grid; place-items: center;
  }
  .hero-badge .icn svg { width: 20px; height: 20px; stroke: currentColor; }
  .hero-badge .lab { font-size: 11px; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
  .hero-badge .val { font-weight: 600; font-size: 14px; }

  .hero-price {
    position: absolute; right: -22px; top: 36px;
    background: var(--ink); color: #fff;
    border-radius: var(--r-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transform: rotate(2deg);
  }
  .hero-price .small { font-family: var(--font-mono); font-size: 10.5px; color: #DCD7CF; text-transform: uppercase; letter-spacing: .06em; }
  .hero-price .big { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1; margin-top: 4px; }
  .hero-price .unit { font-size: 12.5px; color: #DCD7CF; }

  /* ---------- TRUST STRIP ---------- */
  .trust {
    background: var(--ink); color: #DCD7CF;
    padding: 18px 0;
  }
  .trust-inner {
    display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
    justify-content: space-between;
  }
  .trust .item { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #fff; }
  .trust .item svg { width: 18px; height: 18px; stroke: var(--brand); flex-shrink: 0; }
  .trust .item .sub { color: #9C968D; font-weight: 400; }

  /* ---------- SECTION CHROME ---------- */
  section.block { padding: 96px 0; }
  section.block.alt { background: var(--cream); }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
  @media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }
  .section-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px; color: var(--brand);
    text-transform: uppercase; letter-spacing: 0.1em;
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
  .section-eyebrow::before {
    content: ""; width: 24px; height: 1px; background: var(--brand);
  }
  h2.h {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
  }
  h2.h em { font-style: italic; color: var(--brand); font-weight: 500; }
  .section-head p { font-size: 17px; color: var(--ink-2); margin: 0; text-wrap: pretty; }

  /* ---------- SIZE SELECTOR ---------- */
  .sizes {
    display: grid; grid-template-columns: 320px 1fr; gap: 40px;
    align-items: start;
  }
  @media (max-width: 980px) { .sizes { grid-template-columns: 1fr; } }
  .size-preview {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    position: sticky; top: 92px;
    box-shadow: var(--shadow-sm);
  }
  .size-preview .visual {
    aspect-ratio: 1/1;
    background: var(--cream);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    position: relative; overflow: hidden;
    margin-bottom: 20px;
  }
  /* Tiny isometric room — only rectangles, allowed */
  .room {
    width: 78%; height: 78%;
    position: relative;
    transform-style: preserve-3d;
  }
  .room .floor {
    position: absolute; inset: 0;
    background: var(--brand-tint);
    border: 2px dashed var(--brand);
    border-radius: 6px;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .room .label {
    position: absolute; top: 12px; left: 12px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--brand-deep); background: var(--paper);
    padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line);
  }
  .size-preview .meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
  .size-preview .meta .name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
  .size-preview .meta .price { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--brand); }
  .size-preview .meta .ideal { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
  .size-preview .meta .unit { font-size: 12px; color: var(--muted); font-weight: 500; }
  .size-preview .reserve { margin-top: 18px; width: 100%; }
  .size-preview .note { margin-top: 12px; font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.03em; text-align: center; }

  .size-list {
    display: flex; flex-direction: column; gap: 12px;
  }
  .size-row {
    display: grid;
    grid-template-columns: 70px 1fr 120px 44px;
    gap: 20px; align-items: center;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    text-align: left;
    width: 100%;
  }
  .size-row:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .size-row.active { border-color: var(--brand); background: var(--brand-tint); }
  .size-row .sq {
    width: 64px; height: 64px;
    border-radius: 10px;
    background: var(--cream);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 18px;
    color: var(--ink);
  }
  .size-row.active .sq { background: #fff; border-color: var(--brand); color: var(--brand); }
  .size-row .meta .title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
  .size-row .meta .desc { font-size: 13.5px; color: var(--muted); }
  .size-row .price { text-align: right; }
  .size-row .price .amount { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
  .size-row .price .unit { font-size: 12px; color: var(--muted); }
  .size-row .arrow {
    width: 40px; height: 40px; border-radius: 999px;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }
  .size-row.active .arrow, .size-row:hover .arrow { background: var(--brand); border-color: var(--brand); color: #fff; }
  .size-row .arrow svg { width: 16px; height: 16px; stroke: currentColor; }
  @media (max-width: 600px) {
    .size-row { grid-template-columns: 56px 1fr auto; gap: 14px; padding: 16px; }
    .size-row .arrow { display: none; }
  }

  /* ---------- HOW IT WORKS ---------- */
  .steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    position: relative;
  }
  @media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
  .step {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .step .num {
    font-family: var(--font-display); font-weight: 600;
    font-size: 14px; color: var(--brand);
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
  }
  .step .num::before {
    content: ""; width: 36px; height: 1px; background: var(--brand);
  }
  .step .icon {
    width: 56px; height: 56px;
    background: var(--brand-tint); color: var(--brand);
    border-radius: 14px;
    display: grid; place-items: center;
    margin-bottom: 22px;
  }
  .step .icon svg { width: 28px; height: 28px; stroke: currentColor; }
  .step h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 10px; }
  .step p { color: var(--ink-2); margin: 0; font-size: 15px; }

  /* ---------- WHY US ---------- */
  .why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  @media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }
  .why-cell {
    background: var(--paper);
    padding: 32px;
    transition: background .2s ease;
  }
  .why-cell:hover { background: var(--cream); }
  .why-cell .icon {
    width: 44px; height: 44px;
    color: var(--brand);
    margin-bottom: 20px;
    display: grid; place-items: center;
  }
  .why-cell .icon svg { width: 32px; height: 32px; stroke: currentColor; }
  .why-cell h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0 0 8px; letter-spacing: -0.005em; }
  .why-cell p { color: var(--ink-2); margin: 0; font-size: 14.5px; }

  /* ---------- ABOUT ---------- */
  .about-grid {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center;
  }
  @media (max-width: 920px) {
    .about-grid { grid-template-columns: 1fr !important; gap: 36px; }
    .about-visual { max-width: 100% !important; width: 100%; aspect-ratio: 4/3 !important; min-height: 0 !important; }
    .about-visual .ph.inset { right: 12px; bottom: 12px; }
  }
  .about-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/5;
    min-height: 540px;
  }
  .about-visual .ph.main { position: absolute; inset: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
  .about-visual .ph.inset {
    position: absolute; right: -28px; bottom: -28px;
    width: 55%; aspect-ratio: 1/1; border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    border: 4px solid var(--paper);
    z-index: 2;
  }
  .about-body p { font-size: 16.5px; color: var(--ink-2); line-height: 1.7; margin: 0 0 18px; }
  .about-body p strong { color: var(--ink); font-weight: 600; }
  .about-body .stamp {
    margin-top: 28px;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 16px 10px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .about-body .stamp .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }

  /* ---------- USE CASES ---------- */
  .uses {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  }
  @media (max-width: 860px) { .uses { grid-template-columns: 1fr; } }
  .use-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    padding: 36px;
    min-height: 320px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff;
    background: var(--ink);
  }
  .use-card.alt { background: var(--brand); }
  .use-card .stripes {
    position: absolute; inset: 0; opacity: .12;
    background: repeating-linear-gradient(135deg, #fff 0 14px, transparent 14px 28px);
  }
  /* Tarjeta con foto de fondo: texto y badges por encima del overlay */
  .use-card.has-image { background: var(--ink); }
  .use-card.has-image .tag { z-index: 3; }  /* mantiene su position: absolute original */
  .use-card.has-image h3,
  .use-card.has-image p,
  .use-card.has-image a.lnk { position: relative; z-index: 2; }
  .use-card .tag {
    position: absolute; top: 24px; left: 24px;
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.06em;
    background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px;
    backdrop-filter: blur(6px);
  }
  .use-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 0 0 8px; letter-spacing: -0.015em; }
  .use-card p { margin: 0 0 22px; font-size: 15px; opacity: .9; max-width: 90%; }
  .use-card a.lnk {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.4);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: gap .2s ease;
  }
  .use-card a.lnk:hover { gap: 12px; }
  .use-card a.lnk svg { width: 14px; height: 14px; }

  /* ---------- FAQ ---------- */
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
  @media (max-width: 920px) { .faq-grid { grid-template-columns: 1fr; gap: 30px; } }
  .faq-side .contact-card {
    background: var(--ink); color: #fff;
    border-radius: var(--r-lg); padding: 28px;
    margin-top: 28px;
  }
  .faq-side .contact-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 8px; }
  .faq-side .contact-card p { color: #DCD7CF; font-size: 14.5px; margin: 0 0 18px; }
  .faq-side .contact-card .btn { width: 100%; background: var(--brand); color: #fff; }
  .faq-side .contact-card .phone {
    margin-top: 12px;
    display: block; text-align: center;
    font-family: var(--font-display); font-weight: 600; font-size: 22px;
    color: #fff;
  }
  .faq-side .contact-card .phone-lbl { display: block; text-align: center; font-family: var(--font-mono); font-size: 11px; color: #9C968D; text-transform: uppercase; letter-spacing: .06em; }

  .faq-list { display: flex; flex-direction: column; gap: 4px; }
  .faq-item {
    border-bottom: 1px solid var(--line);
  }
  .faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 4px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 18.5px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color .2s ease;
  }
  .faq-q:hover { color: var(--brand); }
  .faq-q .plus {
    flex-shrink: 0; width: 28px; height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    transition: background .2s ease, border-color .2s ease, transform .3s ease, color .2s ease;
    margin-left: 16px;
    color: var(--ink);
  }
  .faq-q .plus svg { width: 12px; height: 12px; stroke: currentColor; }
  .faq-item.open .faq-q { color: var(--brand); }
  .faq-item.open .plus { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(45deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
    color: var(--ink-2); font-size: 15.5px; line-height: 1.65;
    padding-right: 60px;
  }
  .faq-item.open .faq-a { max-height: 400px; }
  .faq-a-inner { padding: 0 4px 22px; }

  /* ---------- CONTACT / CTA ---------- */
  .cta-band {
    background: var(--ink); color: #fff;
    padding: 80px 0;
    position: relative; overflow: hidden;
  }
  .cta-band::before {
    content: ""; position: absolute; right: -10%; top: -50%; width: 700px; height: 700px;
    background: radial-gradient(closest-side, rgba(184,58,46,.45), transparent 70%);
    pointer-events: none;
  }
  .cta-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
  }
  @media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 28px; } }
  .cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
    margin: 14px 0 0; text-wrap: balance;
  }
  .cta-band h2 em { color: var(--brand); font-style: italic; font-weight: 500; }
  .cta-band .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
  .cta-actions { display: flex; flex-direction: column; gap: 14px; }
  .cta-actions .btn { width: 100%; }
  .cta-actions .phone-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--r-md);
    padding: 18px 22px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .cta-actions .phone-card .lbl { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #9C968D; }
  .cta-actions .phone-card .num { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

  /* ---------- LOCATION ---------- */
  .location-grid {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--paper);
  }
  @media (max-width: 920px) { .location-grid { grid-template-columns: 1fr; } }
  .location-info { padding: 44px; }
  .location-info h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 12px 0 24px; letter-spacing: -0.015em; }
  .location-info dl { display: grid; grid-template-columns: 110px 1fr; gap: 14px 24px; margin: 0; }
  .location-info dt {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
    padding-top: 3px;
  }
  .location-info dd { margin: 0; font-size: 15.5px; color: var(--ink); font-weight: 500; }
  .location-info dd a { border-bottom: 1px solid var(--line); }
  .location-info dd a:hover { color: var(--brand); border-color: var(--brand); }
  .location-map {
    background: var(--cream);
    position: relative; min-height: 360px;
    border-left: 1px solid var(--line);
  }
  .location-map .ph { border: 0; border-radius: 0; height: 100%; }
  .location-pin {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -100%);
    background: var(--brand); color: #fff;
    padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    box-shadow: 0 6px 14px rgba(184,58,46,.4);
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .location-pin::after {
    content: ""; position: absolute; left: 50%; bottom: -6px;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px; background: var(--brand);
  }

  /* ---------- FOOTER ---------- */
  footer {
    background: var(--ink); color: #C7C1B7;
    padding: 64px 0 28px;
  }
  .foot-grid {
    display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 40px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
  footer h5 {
    font-family: var(--font-mono);
    font-size: 11px; color: #fff;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin: 0 0 18px;
    font-weight: 500;
  }
  footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #C7C1B7; }
  footer ul li { font-size: inherit; color: inherit; line-height: 1.5; }
  footer ul a { color: inherit; transition: color .2s; }
  footer ul a:hover { color: #fff; }
  .foot-brand { max-width: 380px; }
  .foot-brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .foot-brand .logo img { width: 48px; height: 48px; filter: brightness(0) invert(1); }
  .foot-brand .logo .a { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
  .foot-brand .logo .b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 13px; color: var(--brand); }
  .foot-brand p { font-size: 14px; color: #9C968D; margin: 0; line-height: 1.6; }
  .foot-bottom {
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px; color: #9C968D;
  }
  .foot-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
  .foot-bottom .links a:hover { color: #fff; }
  .foot-bottom .entities { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; }

  /* ---------- STICKY MOBILE CTA ---------- */
  .mobile-cta {
    position: fixed; bottom: 16px; left: 16px; right: 16px;
    background: var(--ink); color: #fff;
    border-radius: 999px;
    padding: 10px 12px 10px 22px;
    display: none; align-items: center; justify-content: space-between;
    z-index: 60;
    box-shadow: var(--shadow-lg);
  }
  .mobile-cta .lbl { font-size: 13px; font-weight: 600; }
  .mobile-cta .lbl .small { display: block; font-family: var(--font-mono); font-size: 10.5px; color: #9C968D; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; }
  .mobile-cta .btn { padding: 11px 18px; font-size: 13.5px; }
  @media (max-width: 720px) { .mobile-cta { display: flex; } }

  /* ---------- HELPERS ---------- */
  .pricing-note {
    margin-top: 22px;
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-size: 13px; color: var(--muted);
  }
  .pricing-note span { display: inline-flex; align-items: center; gap: 8px; }
  .pricing-note svg { width: 14px; height: 14px; stroke: var(--brand); }

/* ============================================================
   LEGAL PAGES — specific styles
   ============================================================ */
/* === Shared chrome for Trasteros San Fernando legal pages === */
a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(184,58,46,.25); transition: border-color .15s ease; }
a:hover { border-color: var(--brand); }
/* HERO (legal slim) */
.legal-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: var(--cream); }
.legal-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.legal-hero .eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--brand); }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 16px; max-width: 900px; text-wrap: balance;
}
.legal-hero h1 em { font-style: italic; font-weight: 500; color: var(--brand); }
.legal-hero .meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }
.legal-hero .meta span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }
.legal-hero .meta .pill { background: var(--paper); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }

/* CRUMBS */
.crumbs { padding: 14px 0; font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.03em; }
.crumbs a { color: var(--muted); border: 0; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { padding: 0 8px; color: var(--line); }

/* BODY LAYOUT */
.legal-body { padding: 64px 0 96px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
@media (max-width: 920px) { .legal-grid { grid-template-columns: 1fr; gap: 36px; } }

.toc { position: sticky; top: 92px; }
.toc h4 {
  font-family: var(--font-mono); font-size: 11px; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; font-weight: 500;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc li a {
  display: flex; gap: 10px; padding: 8px 0;
  font-size: 13.5px; color: var(--ink-2); border: 0;
  border-left: 1px solid var(--line); padding-left: 14px;
  transition: color .15s ease, border-color .15s ease;
}
.toc li a::before { content: counter(t, decimal-leading-zero); color: var(--muted); font-family: var(--font-mono); font-size: 11px; padding-top: 2px; }
.toc li a:hover { color: var(--brand); border-left-color: var(--brand); }
@media (max-width: 920px) {
  .toc { position: static; padding: 20px; background: var(--cream); border-radius: var(--r-md); }
}

.legal-content { max-width: 760px; }
.legal-content .disclaimer {
  background: #FFF8EC; border: 1px solid #E8D7A4;
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 0 0 40px;
  font-size: 14.5px;
  color: #6F5A1E;
  display: flex; gap: 14px;
}
.legal-content .disclaimer strong { color: #4B3D14; }
.legal-content .disclaimer .icn { flex-shrink: 0; color: #B68918; }

.legal-content h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.01em; line-height: 1.15;
  margin: 56px 0 18px;
  scroll-margin-top: 90px;
  display: flex; align-items: baseline; gap: 16px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h2 .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  font-weight: 500; padding-top: 4px;
}
.legal-content h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.005em;
  margin: 32px 0 10px;
}
.legal-content p { margin: 0 0 16px; color: var(--ink-2); }
.legal-content p strong { color: var(--ink); font-weight: 600; }
.legal-content ul, .legal-content ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.legal-content li { margin: 6px 0; }
.legal-content .data-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  margin: 18px 0 24px;
}
.legal-content .data-card dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; margin: 0; }
.legal-content .data-card dt { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 4px; }
.legal-content .data-card dd { margin: 0; font-size: 15px; color: var(--ink); font-weight: 500; }
@media (max-width: 600px) {
  .legal-content .data-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-content .data-card dd { margin-bottom: 12px; }
}

.legal-content table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 14px;
}
.legal-content table th, .legal-content table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-content table th {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500;
  background: var(--cream);
}
.legal-content table td { color: var(--ink-2); }

.legal-content .callout {
  border-left: 3px solid var(--brand);
  background: var(--brand-tint);
  padding: 16px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 18px 0;
  font-size: 14.5px;
  color: var(--brand-deep);
}
.legal-content .callout strong { color: var(--brand-deep); }

/* SISTER PAGES */
.legal-sisters { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-sisters h4 { font-family: var(--font-mono); font-size: 11px; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 18px; font-weight: 500; }
.legal-sisters .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .legal-sisters .grid { grid-template-columns: 1fr 1fr; } }
.legal-sisters a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line);
  transition: border-color .15s ease, transform .15s ease;
}
.legal-sisters a:hover { border-color: var(--brand); transform: translateY(-1px); }
.legal-sisters a .lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.legal-sisters a .ttl { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.legal-sisters a[aria-current="page"] { background: var(--brand-tint); border-color: var(--brand); }
.legal-sisters a[aria-current="page"] .ttl { color: var(--brand-deep); }

/* ---------- PÁGINA RESERVAR (iframe BoxBosses embebido) ---------- */
.reservar-hero { padding: 36px 0 28px; background: var(--cream); border-bottom: 1px solid var(--line); }
.reservar-hero-inner {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end;
}
@media (max-width: 860px) { .reservar-hero-inner { grid-template-columns: 1fr; gap: 24px; } }
.reservar-hero h1.h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 14px 0 14px; text-wrap: balance;
}
.reservar-hero h1.h em { font-style: italic; color: var(--brand); font-weight: 500; }
.reservar-hero .lede { font-size: 17px; color: var(--ink-2); max-width: 620px; margin: 0; }

.reservar-help-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.reservar-help-card .lbl {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px;
}
.reservar-help-card .phone {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 26px; color: var(--brand-deep); letter-spacing: -0.01em;
  text-decoration: none; line-height: 1.1;
}
.reservar-help-card .phone:hover { color: var(--brand); }
.reservar-help-card .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

.reservar-embed-block { padding: 32px 0 64px; }
.reservar-frame-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  height: var(--bb-h, 820px);
}
.reservar-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.reservar-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 32px; color: var(--muted); font-size: 14.5px;
}
.reservar-foot-note {
  margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted);
}
@media (max-width: 720px) {
  .reservar-frame-wrap { height: 80vh; min-height: 600px; border-radius: var(--r-lg); }
}

/* ---------- RESERVAR · Capa de consentimiento previa al iframe (H-04) ---------- */
.reservar-consent {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.reservar-consent-inner { display: grid; grid-template-columns: 32px 1fr; gap: 18px; align-items: start; }
@media (max-width: 540px) { .reservar-consent-inner { grid-template-columns: 1fr; } }
.reservar-consent .icn { color: var(--brand); margin-top: 4px; }
.reservar-consent h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.2; margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.reservar-consent p { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); }
.reservar-consent p.small { font-size: 13px; color: var(--muted); }
.reservar-consent a { color: var(--brand-deep); text-decoration: underline; }
.reservar-consent-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0 18px; font-size: 14.5px;
  cursor: pointer;
}
.reservar-consent-check input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; margin-top: 2px; flex-shrink: 0; }
.reservar-consent .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- Click-to-load del mapa (H-09) ---------- */
.map-c2l { position: relative; height: 100%; min-height: 360px; }
.map-c2l-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 10px; padding: 24px;
  border: 0; background: transparent;
  color: var(--ink); text-align: center; cursor: pointer;
  font-family: inherit;
  transition: background .2s ease;
}
.map-c2l-btn:hover { background: rgba(184, 58, 46, 0.04); }
.map-c2l-btn svg { color: var(--brand); }
.map-c2l-btn strong {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em;
}
.map-c2l-btn .map-c2l-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 14px rgba(184,58,46,.28);
  margin-top: 4px;
}
.map-c2l-btn .map-c2l-hint {
  font-size: 12px; color: var(--muted);
  max-width: 280px; line-height: 1.4; margin-top: 6px;
}

/* ---------- COOKIE BANNER NATIVO (Plan C — sin plugin) ---------- */
.tsf-cb {
  position: fixed;
  left: 16px; right: 16px;
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  animation: tsf-cb-in .3s ease-out;
}
@keyframes tsf-cb-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.tsf-cb[data-position="bottom"] { bottom: 16px; }
.tsf-cb[data-position="center"] {
  top: 50%; bottom: auto;
  transform: translateY(-50%);
}
.tsf-cb[data-position="center"] ~ .tsf-cb-overlay,
body.tsf-cb-open .tsf-cb[data-position="center"]::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: rgba(21,25,31,.45); pointer-events: none;
}
.tsf-cb-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em;
}
.tsf-cb-head p { margin: 0 0 8px; color: var(--ink-2); }
.tsf-cb-policy { margin: 6px 0 0; font-size: 13px; }
.tsf-cb-policy a { color: var(--tsf-cb-accent, var(--brand-deep)); text-decoration: underline; }

.tsf-cb-prefs { margin: 16px 0 12px; }
.tsf-cb-prefs summary {
  cursor: pointer; font-weight: 600; font-size: 13.5px;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0;
  list-style: none;
}
.tsf-cb-prefs summary::-webkit-details-marker { display: none; }
.tsf-cb-prefs summary::before {
  content: "▸"; display: inline-block;
  transition: transform .15s ease;
  font-size: 11px;
}
.tsf-cb-prefs[open] summary::before { transform: rotate(90deg); }
.tsf-cb-cats {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 10px;
}
.tsf-cb-cat {
  display: flex; gap: 12px; padding: 12px;
  background: var(--cream); border-radius: var(--r-md);
  cursor: pointer; align-items: flex-start;
}
.tsf-cb-cat input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--tsf-cb-accent, var(--brand));
  flex-shrink: 0; margin-top: 2px;
}
.tsf-cb-cat input[disabled] { opacity: .5; cursor: not-allowed; }
.tsf-cb-cat strong { display: block; font-size: 14px; margin-bottom: 2px; }
.tsf-cb-cat span { display: block; font-size: 13px; color: var(--ink-2); }

.tsf-cb-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  margin-top: 14px;
}
.tsf-cb-btn {
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.tsf-cb-btn-primary {
  background: var(--tsf-cb-accent, var(--brand)); color: #fff;
  box-shadow: 0 4px 14px rgba(184,58,46,.28);
}
.tsf-cb-btn-primary:hover { filter: brightness(.92); transform: translateY(-1px); }
.tsf-cb-btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.tsf-cb-btn-ghost:hover { background: var(--cream); }

@media (max-width: 540px) {
  .tsf-cb { left: 8px; right: 8px; padding: 18px 18px; bottom: 8px; }
  .tsf-cb-actions { justify-content: stretch; }
  .tsf-cb-actions .tsf-cb-btn { flex: 1 1 auto; }
}

/* ── Reservar: pasos + tamaños ─────────────────────────────── */
.reservar-steps { padding: 64px 0 48px; background: var(--cream); }
.reservar-steps h2 { font-size: clamp(1.4rem,3vw,2rem); margin-bottom: 40px; text-align: center; }
.steps-list { list-style: none; padding: 0; margin: 0 0 56px; display: grid; gap: 24px; }
@media (min-width: 720px) { .steps-list { grid-template-columns: repeat(3,1fr); } }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; }
.steps-list strong { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--ink); }
.steps-list p { margin: 0; font-size: .9rem; color: var(--muted, #666); line-height: 1.6; }
.reservar-sizes h3 { font-size: 1.25rem; margin-bottom: 20px; text-align: center; }
.sizes-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.sizes-table th { background: var(--ink); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.sizes-table td { padding: 11px 16px; border-bottom: 1px solid #f0ece6; }
.sizes-table tr:last-child td { border-bottom: none; }
.sizes-table small { opacity: .7; font-size: .8rem; }
.sizes-note { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--muted, #666); }
.sizes-note a { color: var(--brand); font-weight: 600; }

/* ── Etiquetas de dirección dual ───────────────────────────── */
.addr-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .6; }
