/* =============================================================
   PARQUE COMERCIAL FUSIÓN TOLEDO — styles.css
   Archetype: Editorial Light (adaptado a parque comercial premium)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f6f2ea;
  --bg-2:      #ece3d1;
  --paper:     #ffffff;
  --paper-2:   #fbf9f5;
  --ink:       #16201c;
  --ink-soft:  #2b2621;
  --ink-mute:  #6b655c;
  --ink-faint: #9a9186;

  --accent:      #0f6e5c;   /* verde esmeralda — marca / sostenibilidad */
  --accent-dark: #0b5346;
  --accent-soft: rgba(15,110,92,.10);
  --accent-2:      #ae0839; /* rojo del logotipo — CTAs / energía */
  --accent-2-dark: #8b062e;
  --accent-2-soft: rgba(174,8,57,.12);

  --brand-red:      #ae0839;   /* rojo del logotipo — texto de énfasis */
  --brand-red-soft: rgba(174,8,57,.10);

  --gold:      #b6924f;
  --line:      rgba(22,32,28,.12);
  --line-soft: rgba(22,32,28,.07);

  --cat-restauracion: #c9432b;
  --cat-ocio:         #3f6fb0;
  --cat-deporte:      #1f8a5f;
  --cat-hogar:         #8a6a3d;
  --cat-mascotas:      #b5762a;
  --cat-alimentacion:  #6f8f3e;

  --shadow-sm: 0 1px 2px rgba(22,32,28,.06), 0 1px 1px rgba(22,32,28,.04);
  --shadow-md: 0 8px 24px -8px rgba(22,32,28,.18), 0 2px 8px -2px rgba(22,32,28,.08);
  --shadow-lg: 0 24px 64px -16px rgba(22,32,28,.28), 0 8px 24px -8px rgba(22,32,28,.12);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --container: 1280px;
  --container-narrow: 860px;
  --nav-h: 76px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 600; color: var(--ink); }
em { font-style: italic; color: var(--brand-red); font-weight: 500; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

table { border-collapse: collapse; width: 100%; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: 1.25rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section { padding-block: clamp(2.4rem, 5vw, 4.5rem); position: relative; }
.section-tight { padding-block: clamp(1.75rem, 3.2vw, 2.75rem); }
.section-alt { background: var(--bg); }
.section-dark { background: var(--ink); color: var(--bg); }
.section-dark h2, .section-dark h3 { color: var(--bg); }

.section-head { max-width: 640px; margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-red);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.section-lede { color: var(--ink-mute); font-size: 1.08rem; max-width: 56ch; }

.divider { height: 1px; background: var(--line); border: 0; margin-block: 0; }

/* =============================================================
   4. Buttons & links
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: var(--radius-full);
  font-weight: 600; font-size: .96rem; white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-accent { background: var(--accent-2); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-2-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: .65rem 1.15rem; font-size: .86rem; }
.btn-block { width: 100%; }

.link-underline {
  position: relative; font-weight: 600; padding-bottom: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .4s var(--ease-out);
}
.link-underline:hover { background-size: 100% 1.5px; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(246,242,234,0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(246,242,234,.86);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--serif); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(155deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.brand-logo { height: 56px; width: auto; display: block; }
.brand-logo-footer { height: 64px; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  position: relative; font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  padding-block: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand-red); transition: width .35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--brand-red); }

.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-actions .btn { display: none; }

.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full);
  border: 1.5px solid var(--line);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 480;
  background: var(--bg);
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex; flex-direction: column; gap: .3rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease-out);
  overflow-y: auto;
}
.nav.is-open .nav-mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile a { display: block; padding: .95rem .25rem; font-size: 1.35rem; font-family: var(--serif); font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { margin-top: 1.25rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* =============================================================
   6. Cards, badges, grids
   ============================================================= */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: .38rem .8rem; border-radius: var(--radius-full);
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-restauracion { color: var(--cat-restauracion); border-color: color-mix(in srgb, var(--cat-restauracion) 30%, transparent); background: color-mix(in srgb, var(--cat-restauracion) 8%, #fff); }
.badge-ocio { color: var(--cat-ocio); border-color: color-mix(in srgb, var(--cat-ocio) 30%, transparent); background: color-mix(in srgb, var(--cat-ocio) 8%, #fff); }
.badge-deporte { color: var(--cat-deporte); border-color: color-mix(in srgb, var(--cat-deporte) 30%, transparent); background: color-mix(in srgb, var(--cat-deporte) 8%, #fff); }
.badge-hogar { color: var(--cat-hogar); border-color: color-mix(in srgb, var(--cat-hogar) 30%, transparent); background: color-mix(in srgb, var(--cat-hogar) 8%, #fff); }
.badge-mascotas { color: var(--cat-mascotas); border-color: color-mix(in srgb, var(--cat-mascotas) 30%, transparent); background: color-mix(in srgb, var(--cat-mascotas) 8%, #fff); }
.badge-alimentacion { color: var(--cat-alimentacion); border-color: color-mix(in srgb, var(--cat-alimentacion) 30%, transparent); background: color-mix(in srgb, var(--cat-alimentacion) 8%, #fff); }

.card {
  background: var(--paper); border-radius: var(--radius-md);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero-media svg { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,16,14,.72) 0%, rgba(11,16,14,.32) 46%, rgba(11,16,14,.1) 72%),
    linear-gradient(180deg, rgba(11,16,14,.32) 0%, rgba(11,16,14,.22) 40%, rgba(11,16,14,.92) 100%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  padding-block: clamp(2.5rem, 8vw, 5rem);
  color: #fff;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: .5rem 1rem; border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  margin-bottom: 1.4rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe3b4; box-shadow: 0 0 0 3px rgba(111,227,180,.28); }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  color: #fff; max-width: 16ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-title em { color: var(--brand-red); font-style: italic; }
@media (max-width: 719px) {
  .hero-inner { display: flex; flex-direction: column; }
  .hero-kicker { order: 1; position: static; align-self: flex-start; margin: clamp(3rem, calc(46.8vw - 124px), 6rem) 0 1.4rem; font-size: .68rem; padding: .4rem .8rem; gap: .45rem; }
  .hero-title { order: 2; margin-top: clamp(0.6rem, calc(56.25vw - 210px), 8rem); }
  .hero-sub { order: 3; }
  .hero-actions { order: 4; }
  .hero-stats { order: 5; }
}
.hero-sub {
  margin-top: 1.4rem; font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  color: rgba(255,255,255,.88); max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem;
  margin-top: 3rem; max-width: 620px;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.22);
}
.hero-stat b { display: block; font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.2rem); color: #fff; }
.hero-stat span { font-size: .96rem; color: rgba(255,255,255,.78); }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4,1fr); } }

.scroll-cue {
  position: absolute; right: clamp(1.25rem,4vw,3rem); bottom: 2rem; z-index: 2;
  display: none; align-items: center; gap: .6rem; color: rgba(255,255,255,.85);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.scroll-cue .line { width: 1px; height: 40px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; top:-40px; left:0; width:100%; height:40px; background: #fff; animation: scrollcue 2.2s var(--ease-soft) infinite; }
@keyframes scrollcue { to { top: 100%; } }
@media (min-width: 720px) { .scroll-cue { display: flex; } }

/* =============================================================
   8. Category strip / bento
   ============================================================= */
.cat-strip { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 720px) { .cat-strip { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1280px) { .cat-strip { grid-template-columns: repeat(6,1fr); } }
.cat-tile {
  padding: 1.5rem 1.15rem; border-radius: var(--radius-md);
  background: var(--paper); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: .8rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.cat-tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-md); border-color: var(--line); }
.cat-tile .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.cat-tile .icon svg { width: 24px; height: 24px; }
.cat-tile h3 { font-size: 1.05rem; }
.cat-tile p { font-size: .84rem; color: var(--ink-mute); }
.cat-tile .count { font-size: .74rem; color: var(--brand-red); font-weight: 700; }

/* =============================================================
   9. Establishment cards
   ============================================================= */
.store-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(1,1fr); }
@media (min-width: 640px) { .store-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .store-grid { grid-template-columns: repeat(3,1fr); } }

.store-card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius-md);
  border: 1px solid var(--line-soft); overflow: hidden;
  text-align: left; width: 100%; height: 100%;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.store-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--line); }
.store-card .logo-frame {
  height: 148px; overflow: hidden;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.store-card .logo-frame img {
  position: absolute; top: 1.4rem; left: 1.8rem;
  width: calc(100% - 3.6rem); height: calc(100% - 2.8rem);
  object-fit: contain; object-position: center;
  transition: transform .6s var(--ease-out);
}
.store-card:hover .logo-frame img { transform: scale(1.06); }
.store-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.store-card h3 { font-size: 1.18rem; }
.store-card p { font-size: .9rem; color: var(--ink-mute); flex: 1; }
.store-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: .3rem; }
.store-card .foot .cta { font-size: .82rem; font-weight: 700; color: var(--brand-red); display: inline-flex; align-items: center; gap: .35rem; }
.store-card .foot .cta svg { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.store-card:hover .foot .cta svg { transform: translateX(3px); }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filter-chip {
  padding: .6rem 1.1rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  transition: all .3s var(--ease-out);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Store dialog */
dialog.store-dialog {
  border: 0; padding: 0; border-radius: var(--radius-lg); max-width: 620px; width: min(92vw, 620px);
  box-shadow: var(--shadow-lg); background: var(--paper); color: var(--ink);
  max-height: 88svh; overflow: hidden;
}
dialog.store-dialog::backdrop { background: rgba(22,32,28,.55); backdrop-filter: blur(4px); }
.dialog-scroll { max-height: 88svh; overflow-y: auto; }
.dialog-head { padding: 2rem 2rem 1.2rem; display: flex; align-items: flex-start; gap: 1.2rem; border-bottom: 1px solid var(--line-soft); }
.dialog-head .logo-frame { width: 108px; height: 88px; flex-shrink: 0; overflow: hidden; position: relative; background: var(--paper-2); border-radius: var(--radius-sm); border: 1px solid var(--line-soft); }
.dialog-head .logo-frame img { position: absolute; top: .7rem; left: .7rem; width: calc(100% - 1.4rem); height: calc(100% - 1.4rem); object-fit: contain; object-position: center; }
.dialog-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper-2); display: grid; place-items: center; border: 1px solid var(--line-soft);
}
.dialog-body { padding: 1.4rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.dialog-row { display: flex; gap: .9rem; align-items: flex-start; }
.dialog-row .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.dialog-row .ic svg { width: 18px; height: 18px; }
.dialog-row h4 { font-family: var(--sans); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: .2rem; }
.dialog-row p, .dialog-row a { font-size: .95rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .7rem; padding-top: .4rem; }

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.3rem 2.6rem; font-family: var(--serif); font-size: 1.15rem; color: var(--ink-mute);
  white-space: nowrap; border-right: 1px solid var(--line-soft);
}
.marquee-item b { color: var(--ink); font-weight: 600; }
.marquee-item .sep { color: var(--accent-2); font-size: .7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 90s; } }

/* =============================================================
   11. Stats / counters
   ============================================================= */
.stat-row { display: grid; gap: 1.4rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4,1fr); } }
.stat { text-align: center; padding: 1.6rem 1rem; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.1rem,4vw,3rem); color: var(--brand-red); }
.stat span { font-size: .85rem; color: var(--ink-mute); }

/* =============================================================
   12. Sostenibilidad / parking panel
   ============================================================= */
.eco-panel {
  display: grid; gap: 2.4rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .eco-panel { grid-template-columns: 1.05fr .95fr; } }
.eco-figure {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; position: relative;
}
.eco-figure svg { width: 100%; height: 100%; }
.eco-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.eco-item { display: flex; gap: 1rem; align-items: flex-start; }
.eco-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.eco-item .ic svg { width: 22px; height: 22px; }
.eco-item h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.eco-item p { font-size: .9rem; color: var(--ink-mute); }

/* =============================================================
   13. Map / cómo llegar
   ============================================================= */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft); aspect-ratio: 16/10; position: relative; background: var(--paper-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.92) contrast(1.02); }
.access-grid { display: grid; gap: 1rem; grid-template-columns: repeat(1,1fr); margin-top: 1.6rem; }
@media (min-width: 720px) { .access-grid { grid-template-columns: repeat(3,1fr); } }
.access-card { padding: 1.4rem; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line-soft); }
.access-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-2-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: .9rem; }
.access-card .ic svg { width: 22px; height: 22px; }
.access-card h4 { font-size: 1rem; margin-bottom: .3rem; font-family: var(--sans); font-weight: 700; }
.access-card p { font-size: .88rem; color: var(--ink-mute); }

/* =============================================================
   14. Tables (horarios)
   ============================================================= */
.hours-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line-soft); background: var(--paper); box-shadow: var(--shadow-sm); }
.hours-table { min-width: 640px; }
.hours-table th, .hours-table td { text-align: left; padding: 1rem 1.3rem; font-size: .92rem; border-bottom: 1px solid var(--line-soft); }
.hours-table th { font-family: var(--sans); text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; color: var(--ink-mute); background: var(--paper-2); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td.store { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.hours-table td.store img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; }
.hours-table .status-open { color: var(--brand-red); font-weight: 700; }
.hours-note { font-size: .82rem; color: var(--ink-mute); margin-top: 1rem; }

.hours-general { display: grid; gap: 1rem; grid-template-columns: repeat(1,1fr); }
@media (min-width: 640px) { .hours-general { grid-template-columns: repeat(3,1fr); } }
.hours-general .card { padding: 1.6rem; }
.hours-general .card h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: .5rem; }
.hours-general .card .time { font-family: var(--serif); font-size: 1.5rem; }

/* =============================================================
   15. News / promo cards
   ============================================================= */
.news-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(1,1fr); }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1280px) { .news-grid { grid-template-columns: repeat(3,1fr); } }
.news-card { display: flex; flex-direction: column; overflow: hidden; }
.news-card .thumb { aspect-ratio: 16/10; background: var(--paper-2); position: relative; overflow: hidden; }
.news-card .thumb svg { width: 100%; height: 100%; }
.news-card .tag { position: absolute; top: .9rem; left: .9rem; }
.news-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card time { font-size: .78rem; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.news-card h3 { font-size: 1.15rem; }
.news-card p { font-size: .9rem; color: var(--ink-mute); }

/* =============================================================
   16. FAQ accordion (native details)
   ============================================================= */
.faq-list { display: flex; flex-direction: column; gap: .8rem; max-width: var(--container-narrow); }
.faq-item { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.3rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; transition: transform .35s var(--ease-out); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.5rem 1.4rem; color: var(--ink-mute); font-size: .95rem; max-width: 68ch; }

/* =============================================================
   17. Forms
   ============================================================= */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(1,1fr); }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: repeat(2,1fr); } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .84rem; color: var(--ink-mute); }
.field-check input { margin-top: .2rem; }
.form-status { font-size: .9rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--accent-soft); color: var(--accent-dark); }

/* =============================================================
   18. Footer
   ============================================================= */
.footer { background: var(--bg); color: var(--ink); padding-block: 4.5rem 2rem; border-top: 1px solid var(--line); }
.footer a { color: var(--ink-mute); }
.footer a:hover { color: var(--ink); }
.footer-grid { display: grid; gap: 2.6rem; grid-template-columns: repeat(1,1fr); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); } }
.footer-brand .brand { color: var(--ink); }
.footer-brand p { margin-top: 1rem; color: var(--ink-mute); font-size: .9rem; max-width: 34ch; }
.footer-col h5 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; font-size: .92rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.footer-social a:hover { background: var(--paper); border-color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 3.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--ink-mute); }
.footer-bottom .legal-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* =============================================================
   19. Cookie banner
   ============================================================= */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 900;
  max-width: 560px; margin-inline: auto;
  background: var(--paper); color: var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease-out), opacity .5s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: .87rem; color: var(--ink-mute); }
.cookie-banner .actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* =============================================================
   20. Back to top
   ============================================================= */
.back-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 300;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--bg); display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px) scale(.8); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }

/* =============================================================
   21. Misc sections (breadcrumbs, page hero, timeline, split)
   ============================================================= */
.page-hero { padding-block: calc(var(--nav-h) + 1.75rem) 1.75rem; background: var(--bg); }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--ink-mute); margin-bottom: 1.2rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: .5; }

.split {
  display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.split-figure svg { width: 100%; height: 100%; }

.pillars { display: grid; gap: 1.4rem; grid-template-columns: repeat(1,1fr); margin-top: 2rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3,1fr); } }
.pillar { padding: 1.6rem; }
.pillar .num { font-family: var(--serif); font-size: 1rem; color: var(--accent-2); font-weight: 700; margin-bottom: .8rem; }
.pillar h4 { font-size: 1.08rem; margin-bottom: .5rem; }
.pillar p { font-size: .9rem; color: var(--ink-mute); }

/* Timeline (aperturas / eventos) */
.timeline { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--line); margin-left: .6rem; }
.timeline-item { position: relative; padding: 0 0 2.2rem 2rem; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-item time { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-2); }
.timeline-item h4 { font-size: 1.1rem; margin-top: .3rem; }
.timeline-item p { font-size: .9rem; color: var(--ink-mute); margin-top: .3rem; }

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(2.4rem,6vw,4rem);
  background: var(--paper); border: 1px solid var(--line-soft); box-shadow: var(--shadow-md);
  color: var(--ink); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start;
}
.cta-band::after {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: var(--ink); max-width: 20ch; }
.cta-band p { color: var(--ink-mute); max-width: 50ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .9rem; position: relative; z-index: 1; }

/* =============================================================
   22. Responsive helpers
   ============================================================= */
@media (max-width: 719px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 720px) {
  .hide-desktop { display: none !important; }
}

/* =============================================================
   23. Reduced motion (only truly intrusive)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .line::after { animation: none; }
}
