/* ==========================================================================
   Plaza comercial — estilos
   Neutro e impulsado por imágenes: tipografía grande en mayúsculas, mucho aire,
   tarjetas limpias. Las "fotos" son degradados (.art) listos para cambiar por <img>.
   ========================================================================== */

:root {
    --ink: #121212;
    --ink-2: #3d3d3d;
    --muted: #6b6b6b;
    --line: #e6e2dc;
    --bg: #ffffff;
    --bg-soft: #f6f3ee;
    --accent: #d94f30;
    --accent-ink: #ffffff;
    --ok: #13804a;
    --wa: #25d366;

    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(56px, 8vw, 104px);
    --header-h: 72px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }

.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;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.ico {
    width: 1.25em; height: 1.25em; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ==========================================================================
   Botones, chips, enlaces
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: 0 24px;
    border: 1.5px solid transparent; border-radius: 999px;
    font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: transparent; cursor: pointer;
    transition: background-color .2s;
}
.icon-btn:hover { background: rgba(0, 0, 0, .06); }
.icon-btn--light { color: #fff; background: rgba(0, 0, 0, .25); }
.icon-btn--light:hover { background: rgba(0, 0, 0, .45); }

.chip {
    min-height: 40px; padding: 0 18px; border-radius: 999px;
    border: 1.5px solid var(--line); background: #fff;
    font-size: .9rem; font-weight: 500; white-space: nowrap; cursor: pointer;
    transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 2px; margin: 0 -2px;
}
.chips::-webkit-scrollbar { display: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4em;
    font-weight: 600; text-decoration: none; white-space: nowrap;
}
.link-arrow .ico { transition: transform .2s var(--ease); width: 1.05em; height: 1.05em; }
.link-arrow:hover .ico { transform: translateX(4px); }

.eyebrow {
    display: inline-block; font-size: .75rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.pill {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    background: var(--ink); color: #fff; font-size: .7rem; font-weight: 600; vertical-align: middle;
}

/* ==========================================================================
   "Fotografías" generadas
   ========================================================================== */
.art {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 3;
    display: grid; place-items: center;
    background:
        radial-gradient(120% 90% at 85% 10%, hsl(var(--h) 85% 72% / .9), transparent 55%),
        radial-gradient(90% 80% at 10% 100%, hsl(calc(var(--h) + 30) 70% 35%), transparent 60%),
        linear-gradient(135deg, hsl(var(--h) 60% 52%), hsl(calc(var(--h) + 25) 55% 28%));
    color: rgba(255, 255, 255, .9);
}
.art--square { aspect-ratio: 1; }
.art--photo { background: hsl(var(--h) 20% 20%); }
.art--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.store-card__link:hover .art--photo img, .tile:hover .art--photo img, .gallery__item:hover .art--photo img, .promo-card:hover .art--photo img { transform: scale(1.05); }
.hero__art--photo { padding: 0 !important; display: block !important; }
.hero__art--photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__art--photo::after { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .1) 80%), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%) !important; }
.hero__slide.is-active .hero__art--photo img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.art--wide { aspect-ratio: 16 / 10; }
.art--xs { width: 44px; height: 44px; aspect-ratio: 1; border-radius: var(--radius-sm); }
.art--xs .art__ico { width: 22px; height: 22px; }
.art__ico { width: 34%; height: 34%; stroke-width: 1.2; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .2)); transition: transform .5s var(--ease); }
.art__grain {
    position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(0, 0, 0, .04); }

.topbar { background: var(--ink); color: #fff; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; opacity: .85; }
.topbar a:hover { opacity: 1; }
.topbar .ico { width: 15px; height: 15px; }
.topbar__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; margin-right: 2px; }
.topbar__status.is-open::before { background: #22c55e; }
.topbar__status .ico { display: none; }
.topbar__links { display: flex; gap: 20px; }

.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }

.mainnav { display: flex; gap: 4px; margin: 0 auto; }
.mainnav a {
    position: relative; padding: 10px 12px; font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.mainnav a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; gap: 4px; margin-left: auto; }
.mainnav + .header__actions { margin-left: 0; }

/* Búsqueda */
.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 16px 0 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .08); }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding: 6px 0; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.25rem; padding: 8px 0; background: transparent; }
.search-results { list-style: none; margin: 8px 0 0; padding: 0; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: var(--radius-sm); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--bg-soft); }
.search-results span { display: flex; flex-direction: column; line-height: 1.3; }
.search-results small { color: var(--muted); }
.search-results__empty { padding: 12px 8px; color: var(--muted); }

/* Menú lateral */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
    background: #fff; padding: 20px 24px 32px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 24px;
    transform: translateX(100%); transition: transform .3s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__nav a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-decoration: none;
}
.drawer__nav a[aria-current="page"] { color: var(--accent); }
.drawer__more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.drawer__more a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.drawer__more a:hover { text-decoration: underline; }

/* ==========================================================================
   Hero (carrusel)
   ========================================================================== */
.hero { position: relative; height: clamp(460px, 78vh, 720px); overflow: hidden; background: var(--ink); color: #fff; }
.hero__track { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__art, .page-hero__art {
    position: absolute; inset: 0; display: grid; place-items: center end; padding-right: 8%;
    background:
        radial-gradient(70% 90% at 80% 20%, hsl(var(--h) 85% 65%), transparent 60%),
        radial-gradient(80% 80% at 0% 100%, hsl(calc(var(--h) + 40) 70% 25%), transparent 60%),
        linear-gradient(120deg, hsl(calc(var(--h) + 20) 50% 18%), hsl(var(--h) 65% 42%));
}
.hero__art::after, .page-hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 70%); }
.hero__ico { width: clamp(160px, 30vw, 380px); height: auto; aspect-ratio: 1; stroke-width: .8; color: rgba(255, 255, 255, .55); }
.hero__slide.is-active .hero__ico { animation: float 8s ease-in-out infinite; }
.hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.hero__title { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 800; text-transform: uppercase; max-width: 13ch; letter-spacing: -.02em; }
.hero__content p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; opacity: .92; }
.hero__slide.is-active .hero__content > * { animation: rise .8s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .24s; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 44px; height: 32px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; align-items: center; }
.hero__dots span { display: block; height: 3px; background: rgba(255, 255, 255, .35); border-radius: 2px; overflow: hidden; position: relative; }
.hero__dots span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-selected="true"] span::after { animation: progress 6s linear forwards; }
.hero.is-paused .hero__dots [aria-selected="true"] span::after,
.hero:hover .hero__dots [aria-selected="true"] span::after { animation-play-state: paused; }
.hero.is-paused .hero__dots [aria-selected="true"] span::after { animation: none; transform: scaleX(1); }

/* Encabezado de página interior */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); min-height: clamp(260px, 38vh, 380px); display: flex; align-items: flex-end; }
.page-hero__content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 44px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.page-hero p { margin-top: 12px; font-size: 1.1rem; max-width: 52ch; opacity: .9; }
.page-hero .hero__ico { width: clamp(120px, 22vw, 260px); }

/* Barra "hoy en la plaza" */
.today { border-bottom: 1px solid var(--line); }
.today__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.today__item { display: flex; gap: 12px; align-items: center; padding: 22px 16px; border-right: 1px solid var(--line); }
.today__item:last-child { border-right: 0; }
.today__item > .ico { width: 26px; height: 26px; color: var(--muted); }
.today__item.is-open > .ico { color: var(--ok); }
.today__item div { display: flex; flex-direction: column; line-height: 1.3; }
.today__item span { color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   Secciones y rejillas
   ========================================================================== */
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: rgba(255, 255, 255, .7); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.section__head p { color: var(--muted); max-width: 52ch; margin-top: 8px; }
.section--dark .section__head p { color: rgba(255, 255, 255, .75); }
.section__center { text-align: center; margin-top: 40px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--wide { grid-template-columns: 1.4fr 1fr; }

.lead { font-size: 1.15rem; color: var(--ink-2); }

/* Tarjeta de tienda */
.store-card__link { display: block; text-decoration: none; }
.store-card .art { border-radius: var(--radius); }
.store-card__link:hover .art__ico { transform: scale(1.08); }
.store-card__body { padding: 14px 2px 0; }
.store-card h3 { font-size: 1.05rem; font-weight: 700; }
.store-card p { color: var(--muted); font-size: .9rem; }
.store-card__level { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .8rem; color: var(--ink-2); }
.store-card__level .ico { width: 14px; height: 14px; }

/* Promoción */
.promo-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s var(--ease); }
.promo-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.promo-card__media { position: relative; }
.promo-card__badge { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-family: var(--font-display); }
.promo-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-card h3 { font-size: 1.25rem; }
.promo-card p { color: var(--ink-2); }
.promo-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.promo-card__foot small { color: var(--muted); }

/* Evento */
.event-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.event-card__media { position: relative; }
.event-card__date {
    position: absolute; left: 16px; bottom: -22px; width: 64px; height: 68px; border-radius: 12px;
    background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-transform: uppercase; font-size: .75rem; font-weight: 600; color: var(--muted); line-height: 1.1;
}
.event-card__date strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.event-card__body { padding: 36px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.event-card h3 { font-size: 1.2rem; }
.event-card p { color: var(--ink-2); font-size: .95rem; }

.meta { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.meta li { display: flex; gap: 8px; align-items: center; }
.meta .ico { width: 16px; height: 16px; color: var(--muted); }

/* Noticia */
.news-card .art { border-radius: var(--radius); aspect-ratio: 16 / 10; }
.news-card__body { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.news-card h3 { font-size: 1.2rem; }
.news-card p { color: var(--ink-2); }

/* Mosaicos de entretenimiento */
.tiles { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 520px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; display: block; }
.tile:first-child { grid-row: span 2; }
.tile .art { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.tile .art--photo img { position: absolute; inset: 0; }
.tile:hover .art__ico { transform: scale(1.08) rotate(-3deg); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.tile__body strong { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.tile__body small { opacity: .9; font-size: .92rem; max-width: 40ch; }

/* Lista de características (servicios, transporte, renta) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__ico { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--bg-soft); }
.section--soft .feature__ico { background: #fff; }
.section--dark .feature__ico { background: rgba(255, 255, 255, .1); }
.feature h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.feature p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.section--dark .feature p { color: rgba(255, 255, 255, .7); }

/* Club (banda) */
.band { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.5); color: #fff; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.band .page-hero__art { place-items: center end; }
.band > *:not(.page-hero__art) { position: relative; z-index: 1; }
.band h2 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; font-weight: 800; }
.band p { opacity: .9; margin-top: 12px; max-width: 46ch; }
.band .btn-row { justify-content: flex-end; }

/* Galería horizontal (home) */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.strip figure { margin: 0; scroll-snap-align: start; position: relative; }
.strip .art { border-radius: var(--radius); aspect-ratio: 1; }
.strip figcaption { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: .85rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

/* Texto expandible */
.expand { max-height: 7.5em; overflow: hidden; position: relative; transition: max-height .5s var(--ease); }
.expand::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; background: linear-gradient(transparent, var(--bg)); transition: opacity .3s; }
.expand.is-expanded { max-height: 60em; }
.expand.is-expanded::after { opacity: 0; }
.expand p + p { margin-top: 1em; }
.expand-btn { margin-top: 12px; background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter__form { display: flex; flex-direction: column; gap: 12px; }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }

/* ==========================================================================
   Directorio
   ========================================================================== */
.toolbar { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 36px); background: #fff; z-index: 5; }
.toolbar__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search-box { position: relative; flex: 1 1 280px; }
.search-box .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 46px; }
.toolbar select { flex: 0 0 auto; width: auto; }
.result-count { color: var(--muted); font-size: .9rem; margin: 24px 0 20px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 16px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty .ico { width: 40px; height: 40px; }

/* Detalle de tienda */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: .88rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--ink); }
.store-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); padding-top: 24px; padding-bottom: 24px; }
.store-detail__gallery .art { border-radius: var(--radius); }
.store-detail__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.store-detail__thumbs .art { border-radius: var(--radius-sm); }
.store-detail__info { display: flex; flex-direction: column; gap: 18px; }
.store-detail__info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); font-size: .85rem; }
.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 24px 110px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 600; }
.info-list dd { margin: 0; color: var(--ink-2); }
.info-list .ico { color: var(--muted); }

.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .2); }
.social--dark a { background: var(--bg-soft); }
.social--dark a:hover { background: var(--line); }
.social .ico { width: 18px; height: 18px; }

/* ==========================================================================
   Eventos: calendario
   ========================================================================== */
.events-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.calendar { position: sticky; top: calc(var(--header-h) + 60px); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd { font-size: .75rem; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal__day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: .88rem; color: var(--muted); border: 0; background: none; position: relative; }
button.cal__day { color: var(--ink); font-weight: 700; cursor: pointer; }
button.cal__day:hover { background: var(--bg-soft); }
.cal__day i { position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal__day.is-selected { background: var(--ink); color: #fff; }
.cal__day.is-selected i { background: #fff; }

/* ==========================================================================
   Visita: horarios, cómo llegar, FAQ
   ========================================================================== */
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fdecea; color: #b42318; font-weight: 600; }
.status-badge.is-open { background: #e7f6ed; color: var(--ok); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.hours-table th, .hours-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 800; }
.notes { margin: 20px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; display: grid; gap: 6px; }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); background: #fff; }
.card h3 { font-size: 1.15rem; margin-bottom: 14px; }

.kv-list { list-style: none; margin: 0; padding: 0; }
.kv-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv-list li:last-child { border-bottom: 0; }
.kv-list span { color: var(--muted); text-align: right; }
.kv-list a { font-weight: 600; text-decoration: none; }

.check-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ico { color: var(--ok); margin-top: 3px; }

.address-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.address-card .lead { color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
.address-card .check-list .ico { color: #86efac; }

.faq { max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { transition: transform .25s var(--ease); }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__item p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ==========================================================================
   Nosotros: estadísticas y galería
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-top: 2px solid currentColor; padding-top: 16px; display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; }
.stat span { color: var(--muted); margin-top: 6px; }
.section--dark .stat span { color: rgba(255, 255, 255, .7); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery__item { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__item .art { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.gallery__item .art--photo img, .lightbox__media .art--photo img { position: absolute; inset: 0; }
.gallery__item:hover .art__ico { transform: scale(1.1); }
.gallery__item > span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 600; font-size: .9rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, .92); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; }
.lightbox__figure { margin: 0; color: #fff; text-align: center; }
.lightbox__media .art { border-radius: var(--radius); max-height: 75vh; margin: 0 auto; width: min(100%, 1000px); position: relative; }
.lightbox figcaption { margin-top: 14px; opacity: .85; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

/* ==========================================================================
   Formularios
   ========================================================================== */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
input, select, textarea {
    width: 100%; min-height: 48px; padding: 12px 16px;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
[aria-invalid="true"] { border-color: #d92d20; }
.field__error { color: #d92d20; font-size: .82rem; min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.form-done { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius-sm); background: #e7f6ed; color: var(--ok); font-weight: 600; }
.form .btn { justify-self: start; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--muted); }
.contact-list div { display: flex; flex-direction: column; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list span { color: var(--ink-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #fff; margin-top: var(--section); }
.footer-quick { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-quick__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-quick a { display: flex; gap: 14px; align-items: center; padding: 26px 0; text-decoration: none; border-right: 1px solid rgba(255, 255, 255, .12); padding-left: 24px; }
.footer-quick a:first-child { padding-left: 0; }
.footer-quick a:last-child { border-right: 0; }
.footer-quick .ico { width: 26px; height: 26px; opacity: .8; }
.footer-quick span { display: flex; flex-direction: column; line-height: 1.3; }
.footer-quick small { opacity: .7; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.footer__brand p { opacity: .75; margin-top: 14px; max-width: 34ch; }
.footer__brand address { font-style: normal; opacity: .8; margin-top: 16px; font-size: .92rem; line-height: 1.9; }
.footer__brand address .ico { width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; }
.footer__brand address a { text-decoration: none; }
.site-footer .brand__mark { background: #fff; color: var(--ink); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h2 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; opacity: .6; margin-bottom: 6px; font-weight: 600; }
.site-footer nav a { text-decoration: none; opacity: .85; font-size: .95rem; }
.site-footer nav a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; opacity: .7; }
.footer__bottom a { text-decoration: none; }

/* WhatsApp flotante */
.wa-float {
    position: fixed; right: 20px; bottom: 60px; z-index: 40; /* encima del sello "Powered by ISSMAR" */
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--wa); color: #0b2e17; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 28px; height: 28px; }

/* ==========================================================================
   Animaciones
   ========================================================================== */
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.will-reveal.is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-3deg); } }
@keyframes progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .will-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .mainnav { display: none; }
    .header__actions { margin-left: auto !important; }
    .grid--4 { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .split, .split--wide, .store-detail, .newsletter, .band { grid-template-columns: 1fr; }
    .band .btn-row { justify-content: flex-start; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .today__inner { grid-template-columns: repeat(2, 1fr); }
    .today__item:nth-child(2) { border-right: 0; }
    .today__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .events-layout { grid-template-columns: 1fr; }
    .calendar { position: static; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .tiles { grid-template-columns: 1fr 1fr; min-height: 0; grid-template-rows: 300px 220px; }
    .tile:first-child { grid-column: span 2; grid-row: auto; }
    .toolbar { top: var(--header-h); }
}

@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .topbar__links { display: none; }
    .topbar__inner { justify-content: center; }
    .brand__name { font-size: .95rem; }
    .grid--2, .grid--3, .features, .features--2, .form { grid-template-columns: 1fr; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .today__inner { grid-template-columns: 1fr 1fr; }
    .today__item { padding: 16px 8px; gap: 8px; font-size: .9rem; }
    .today__item > .ico { width: 22px; height: 22px; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .hero__art { place-items: start center; padding: 40px 0 0; }
    .hero__art::after { background: linear-gradient(0deg, rgba(0, 0, 0, .7) 20%, rgba(0, 0, 0, .1)); }
    .hero__art--photo::after { background: linear-gradient(0deg, rgba(0, 0, 0, .85) 25%, rgba(0, 0, 0, .25) 75%) !important; }
    .hero__content { justify-content: flex-end; padding-bottom: 88px; }
    .hero__ico { width: 150px; }
    .page-hero__art { place-items: start end; padding: 24px 16px 0 0; }
    .page-hero .hero__ico { width: 110px; }
    .tiles { grid-template-columns: 1fr; grid-template-rows: none; }
    .tile { aspect-ratio: 4 / 3; }
    .tile:first-child { grid-column: auto; }
    .footer-quick__inner { grid-template-columns: 1fr; }
    .footer-quick a { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-left: 0; padding: 18px 0; }
    .footer-quick a:last-child { border-bottom: 0; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .info-list > div { grid-template-columns: 24px 1fr; }
    .info-list dd { grid-column: 2; }
    .gallery { grid-auto-rows: 140px; }
    .gallery__item--wide { grid-column: span 2; }
    .lightbox { grid-template-columns: 1fr; padding: 72px 12px; }
    .lightbox__prev, .lightbox__next { position: absolute; bottom: 24px; }
    .lightbox__prev { left: calc(50% - 56px); }
    .lightbox__next { right: calc(50% - 56px); }
    .inline-field { flex-direction: column; }
    .toolbar select { flex: 1 1 140px; }
    .wa-float { right: 12px; bottom: 52px; width: 54px; height: 54px; }
}

/* ==========================================================================
   Marca de agua ISSMAR (demo)
   ========================================================================== */
.issmar-watermark {
    position: fixed; inset: 0; z-index: 60; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cg transform='rotate(-24 210 130)' fill='%23888' font-family='Impact,Anton,Arial Black,sans-serif' text-anchor='middle'%3E%3Ctext x='210' y='128' font-size='54' letter-spacing='10'%3EISSMAR%3C/text%3E%3Ctext x='210' y='156' font-size='15' letter-spacing='7'%3EDEVELOPERS%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: .1;
}
@media print { .issmar-watermark { opacity: .1; } }
