/* =====================================================================
   The Local Cities — Design System v2
   Public website stylesheet. Modern CSS: custom properties, clamp(),
   logical properties, :has(), :focus-visible, container-friendly grids,
   prefers-reduced-motion and prefers-color-scheme support.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
    /* Brand (sampled from the LC logo gradient) */
    --brand-50: #eef5ff;
    --brand-100: #d9e8ff;
    --brand-200: #b6d3ff;
    --brand-300: #84b5ff;
    --brand-400: #4c90fb;
    --brand-500: #1f6ff0;
    --brand-600: #1257d8;
    --brand-700: #0e45b0;
    --brand-800: #0d3a8c;
    --brand-900: #0b2a63;

    --accent-400: #ffb547;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    --success-500: #10b981;
    --success-50: #ecfdf5;
    --danger-500: #ef4444;
    --danger-50: #fef2f2;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c4b;

    /* Neutrals */
    --ink: #0b1324;
    --text: #334155;
    --muted: #64748b;
    --subtle: #94a3b8;
    --line: #e5e9f0;
    --line-strong: #d3dae5;
    --surface: #ffffff;
    --surface-2: #f6f8fc;
    --surface-3: #eef2f8;
    --footer-bg: #081a3a;

    /* Type */
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
    --fs-3xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);

    /* Shape & depth */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.10), 0 2px 6px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.22), 0 6px 14px -6px rgba(15, 23, 42, 0.10);
    --ring: 0 0 0 3px rgba(31, 111, 240, 0.35);

    /* Layout */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 72px;
    --section-y: clamp(56px, 7vw, 96px);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    color-scheme: light;
}

/* ---------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; margin: 0; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-700); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}
::selection { background: var(--brand-200); color: var(--ink); }
[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important;
    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: -48px; z-index: 2000;
    background: var(--ink); color: #fff; padding: 10px 16px;
    border-radius: var(--radius-sm); font-weight: 600;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--surface-2); }
.section--flush-top { padding-top: 0; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__text { max-width: 640px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 10px;
}
.eyebrow::before {
    content: ""; width: 18px; height: 2px; border-radius: 2px;
    background: currentColor;
}
.section-title { font-size: var(--fs-2xl); margin-bottom: 8px; }
.section-subtitle { color: var(--muted); font-size: var(--fs-lg); margin: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* ---------------------------------------------------------------------
   4. Buttons, chips, form controls
   --------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--brand-600);
    --btn-fg: #fff;
    --btn-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--btn-bd);
    border-radius: var(--radius-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: var(--fs-sm);
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.btn--primary, .btn-primary { --btn-bg: var(--brand-600); --btn-fg: #fff; box-shadow: 0 6px 16px -6px rgba(18, 87, 216, .55); }
.btn--primary:hover, .btn-primary:hover { --btn-bg: var(--brand-700); }
.btn--accent { --btn-bg: var(--accent-500); --btn-fg: #1c1305; }
.btn--accent:hover { --btn-bg: var(--accent-400); }
.btn--soft { --btn-bg: var(--brand-50); --btn-fg: var(--brand-700); }
.btn--soft:hover { --btn-bg: var(--brand-100); }
.btn--ghost, .btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover, .btn-outline:hover { --btn-bg: var(--surface-2); --btn-bd: var(--subtle); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--brand-800); }
.btn--white:hover { --btn-bg: var(--brand-50); }
.btn--glass { --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { --btn-bg: rgba(255,255,255,.24); }
.btn--wa { --btn-bg: var(--whatsapp); --btn-fg: #05361b; }
.btn--wa:hover { --btn-bg: #3be27a; }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: var(--fs-xs); }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: var(--fs-base); }
.btn--block, .btn-block { width: 100%; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; flex: none;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--brand-300); color: var(--brand-600); background: var(--brand-50); }
.icon-btn--wa:hover { border-color: #a7f3c5; color: var(--whatsapp-dark); background: #eafbf1; }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm); font-weight: 500;
    background: var(--surface-3); color: var(--text);
    border: 1px solid transparent;
    transition: all .2s var(--ease);
}
a.chip:hover, button.chip:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-200); }
.chip--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
a.chip--glass:hover { background: rgba(255,255,255,.26); color: #fff; border-color: rgba(255,255,255,.45); }
.chip.is-active { background: var(--brand-600); color: #fff; }

.field { display: grid; gap: 6px; }
.field label, .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.input, .select, .textarea,
.field :where(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea, .field :where(textarea) { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus,
.field :where(input, select, textarea):focus {
    outline: none; border-color: var(--brand-500); box-shadow: var(--ring);
}
.input::placeholder, .field :where(input, textarea)::placeholder { color: var(--subtle); }
.select, .field :where(select) {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.form-grid { display: grid; gap: 16px; }
.form-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 14px; border-radius: 12px;
    font-size: var(--fs-sm);
    background: var(--brand-50); color: var(--brand-800);
}
.notice:empty { display: none; }
.notice--success, .alert-message.success { background: var(--success-50); color: #065f46; }
.notice--error, .alert-message.error { background: var(--danger-50); color: #991b1b; }

/* ---------------------------------------------------------------------
   5. Header & navigation
   --------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35); background: rgba(255,255,255,.94); }
.site-header__inner {
    height: var(--header-h);
    display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; line-height: 1.05; }
.brand__name small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .7rem; letter-spacing: .02em; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    position: relative;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text);
}
.main-nav a:hover { color: var(--ink); background: var(--surface-3); }
.main-nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }

.header-search { flex: 1; max-width: 420px; margin-left: auto; }
.header-search .searchbar { box-shadow: none; border-color: var(--line-strong); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-search + .header-actions { margin-left: 0; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
    .header-search { display: none; }
    .header-search + .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
    .main-nav, .header-actions .btn--ghost, .header-actions .btn--primary { display: none; }
    .menu-toggle { display: inline-grid; }
    .header-actions { margin-left: auto; }
}

/* Mobile drawer (native <dialog>) */
.drawer {
    margin: 0 0 0 auto;
    width: min(88vw, 360px);
    height: 100dvh; max-height: none;
    padding: 0; border: 0;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}
.drawer::backdrop { background: rgba(8, 15, 35, .5); backdrop-filter: blur(2px); }
.drawer[open] { animation: drawer-in .28s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer__inner { display: flex; flex-direction: column; height: 100%; padding: 20px; gap: 20px; overflow-y: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__nav { display: grid; gap: 4px; }
.drawer__nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px;
    color: var(--ink); font-weight: 600;
}
.drawer__nav a i { width: 20px; color: var(--brand-600); }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }

/* ---------------------------------------------------------------------
   6. Search bar
   --------------------------------------------------------------------- */
.searchbar {
    position: relative;
    display: flex; align-items: center; gap: 6px;
    padding: 6px 6px 6px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
}
.searchbar:focus-within { border-color: var(--brand-400); box-shadow: var(--shadow-lg), var(--ring); }
.searchbar > i { color: var(--muted); }
.searchbar input {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    padding: 10px 4px;
    font-size: var(--fs-base);
    color: var(--ink);
}
.searchbar input::placeholder { color: var(--subtle); }
.searchbar input:focus-visible { box-shadow: none; }
.searchbar input::-webkit-search-cancel-button { cursor: pointer; }
.searchbar--sm { padding: 3px 3px 3px 14px; }
.searchbar--sm input { padding: 7px 2px; font-size: var(--fs-sm); }
.searchbar--sm .btn { min-height: 36px; padding: 6px 14px; }
.searchbar--lg { padding: 8px 8px 8px 22px; }
.searchbar--lg input { font-size: 1.05rem; padding: 12px 4px; }

.suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    max-height: 360px; overflow-y: auto;
    text-align: left;
}
.suggest a {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 10px; border-radius: 10px; color: var(--ink);
}
.suggest a:hover, .suggest a.is-active { background: var(--brand-50); }
.suggest img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-3); }
.suggest__title { font-weight: 600; font-size: var(--fs-sm); display: block; }
.suggest__meta { font-size: var(--fs-xs); color: var(--muted); display: block; }
.suggest__all { justify-content: center; font-size: var(--fs-sm); font-weight: 600; color: var(--brand-700) !important; border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 10px 10px !important; }

/* ---------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    min-height: clamp(560px, 82vh, 760px);
    display: grid; align-items: center;
    padding-block: clamp(72px, 10vw, 120px) clamp(96px, 12vw, 140px);
    overflow: hidden;
    background: var(--brand-900);
}
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.04);
    animation: hero-zoom 18s ease-out forwards;
    transition: opacity .6s var(--ease);
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(1200px 600px at 15% 20%, rgba(18, 87, 216, .55), transparent 60%),
        linear-gradient(180deg, rgba(5, 14, 36, .55) 0%, rgba(5, 14, 36, .45) 45%, rgba(5, 14, 36, .88) 100%);
}
.hero__content { max-width: 820px; }
.hero__location {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 8px 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    font-size: var(--fs-sm); font-weight: 600;
    margin-bottom: 22px;
}
.hero__location i { color: var(--accent-400); }
.hero__location button {
    border: 0; border-radius: var(--radius-pill);
    padding: 5px 12px;
    background: #fff; color: var(--brand-800);
    font-size: var(--fs-xs); font-weight: 700;
}
.hero__location button:hover { background: var(--brand-50); }
.hero__title { font-size: var(--fs-3xl); line-height: 1.05; letter-spacing: -0.035em; color: #fff; margin-bottom: 18px; }
.hero__title .hl {
    color: var(--accent-400);
    background: linear-gradient(90deg, #ffd27a, #ffb547);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__subtitle { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 620px; margin-bottom: 30px; }
.hero__search { max-width: 720px; }
.hero__search .searchbar { border: 0; }
.hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--fs-sm); }
.hero__popular > span { color: rgba(255,255,255,.75); margin-right: 4px; }
.hero__stats {
    position: absolute; left: 0; right: 0; bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(5, 14, 36, .35);
    backdrop-filter: blur(10px);
}
.hero__stats ul {
    list-style: none;
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stats li { padding: 18px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.hero__stats li:first-child { border-left: 0; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: #fff; line-height: 1.1; }
.hero__stats span { font-size: var(--fs-xs); color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
@media (max-width: 640px) {
    .hero { min-height: auto; padding-bottom: 0; }
    .hero > .container { padding-bottom: 32px; }
    .hero__stats { position: relative; }
    .hero__stats ul { grid-template-columns: repeat(2, 1fr); }
    .hero__stats li:nth-child(3) { border-left: 0; }
    .hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
    .hero__stats li { padding: 12px 8px; }
    .searchbar--lg { padding-left: 16px; }
    .searchbar--lg .btn span { display: none; }
    .hero__popular a:nth-of-type(n+4) { display: none; }
}

/* ---------------------------------------------------------------------
   8. Category tiles
   --------------------------------------------------------------------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    gap: 12px;
}
.cat-tile {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cat-tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.cat-tile__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--brand-50); color: var(--brand-600);
    font-size: 1.1rem;
    transition: background-color .25s var(--ease), color .25s var(--ease);
}
.cat-tile:hover .cat-tile__icon { background: var(--brand-600); color: #fff; }
.cat-tile__name { font-weight: 700; font-size: var(--fs-sm); line-height: 1.3; }
.cat-tile__count { font-size: var(--fs-xs); color: var(--muted); margin-top: -10px; }
.cat-tile--more { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-tile--more:hover { color: #fff; border-color: var(--ink); }
.cat-tile--more .cat-tile__icon { background: rgba(255,255,255,.12); color: #fff; }
.cat-tile--more .cat-tile__count { color: rgba(255,255,255,.7); }
.cat-grid:not(.is-expanded) .cat-tile.is-extra { display: none; }

/* ---------------------------------------------------------------------
   9. Service card
   --------------------------------------------------------------------- */
.svc-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card.is-active { border-color: var(--brand-400); box-shadow: var(--shadow-lg), var(--ring); }
.svc-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__badge, .svc-card__distance {
    position: absolute; top: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: var(--radius-pill);
    font-size: var(--fs-xs); font-weight: 700;
    backdrop-filter: blur(8px);
}
.svc-card__badge { left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.svc-card__badge i { color: var(--brand-600); }
.svc-card__distance { right: 12px; background: rgba(11, 19, 36, .72); color: #fff; }
.svc-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.svc-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.svc-card__title { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.svc-card__title a { color: var(--ink); }
.svc-card__title a:hover { color: var(--brand-700); }
.svc-card__desc { font-size: var(--fs-sm); color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-card__loc { font-size: var(--fs-sm); color: var(--text); margin: 0; display: flex; gap: 6px; align-items: baseline; }
.svc-card__loc i { color: var(--brand-500); }
.svc-card__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.svc-card__cta { margin-left: auto; }

.rating {
    display: inline-flex; align-items: center; gap: 4px; flex: none;
    font-size: var(--fs-sm); color: var(--ink);
    white-space: nowrap;
}
.rating i { color: var(--accent-500); }
.rating__count { color: var(--muted); }
.rating--new {
    padding: 2px 8px; border-radius: var(--radius-pill);
    background: var(--success-50); color: #047857;
    font-size: var(--fs-xs); font-weight: 700;
}

/* Skeleton loading */
.skeleton { position: relative; overflow: hidden; background: var(--surface-3); border-radius: var(--radius-lg); min-height: 340px; }
.skeleton::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.is-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }

/* ---------------------------------------------------------------------
   10. Places (cities / countries) & events
   --------------------------------------------------------------------- */
.place-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
}
.place-grid > :first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .place-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .place-grid { grid-template-columns: 1fr; } .place-grid > :first-child { grid-column: auto; grid-row: span 1; } }

.place-card, .country-tile {
    position: relative; isolation: isolate;
    display: flex; align-items: flex-end;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    background: var(--brand-900);
}
.place-card img, .country-tile img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s var(--ease);
}
.place-card::before, .country-tile::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(5,14,36,0) 35%, rgba(5,14,36,.85) 100%);
}
.place-card:hover, .country-tile:hover { color: #fff; }
.place-card:hover img, .country-tile:hover img { transform: scale(1.06); }
.place-card__body, .country-tile__body { display: grid; gap: 2px; padding: 18px 20px; width: 100%; }
.place-card__kicker { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: rgba(255,255,255,.75); }
.place-card__title, .country-tile__title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.place-card--lg .place-card__title, .place-grid > :first-child .place-card__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.place-card__meta, .country-tile__meta { font-size: var(--fs-sm); color: rgba(255,255,255,.85); display: inline-flex; gap: 6px; align-items: center; }

.country-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.country-tile { aspect-ratio: 4 / 3; }
.country-tile__meta i { transition: transform .25s var(--ease); }
.country-tile:hover .country-tile__meta i { transform: translateX(4px); }

.event-tile {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.event-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-tile__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-3); }
.event-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.event-tile__date {
    position: absolute; left: 12px; top: 12px;
    display: grid; place-items: center;
    min-width: 56px; padding: 6px 8px;
    border-radius: 12px;
    background: #fff; color: var(--danger-500);
    font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; line-height: 1.1;
    box-shadow: var(--shadow);
}
.event-tile__date strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.event-tile__body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.event-tile__title { font-size: 1.05rem; margin: 0 0 4px; }
.event-tile__title a { color: var(--ink); }
.event-tile__title a::after { content: ""; position: absolute; inset: 0; }
.event-tile__meta { font-size: var(--fs-sm); color: var(--muted); margin: 0; display: flex; gap: 8px; align-items: baseline; }
.event-tile__meta i { color: var(--brand-500); width: 14px; }

/* ---------------------------------------------------------------------
   11. Steps, CTA band, subscribe
   --------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute; right: 22px; top: 18px;
    font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
    color: var(--surface-3); line-height: 1;
}
.step__icon {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff; font-size: 1.2rem;
    margin-bottom: 18px;
    box-shadow: 0 10px 20px -10px rgba(18, 87, 216, .8);
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-xl);
    background: linear-gradient(120deg, var(--brand-800), var(--brand-600) 60%, var(--brand-500));
    color: #fff;
}
.cta-band::after {
    content: ""; position: absolute; z-index: -1;
    width: 520px; height: 520px; right: -140px; top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
}
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band__list { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.cta-band__list li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.cta-band__list i { color: var(--accent-400); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

.subscribe {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.subscribe h2 { font-size: var(--fs-2xl); }
.subscribe p { color: var(--muted); }
.subscribe__form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe__form .input { flex: 1 1 220px; border-radius: var(--radius-pill); padding-inline: 18px; }
.subscribe__note { font-size: var(--fs-xs); color: var(--subtle); margin-top: 10px; }
@media (max-width: 820px) { .subscribe { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   12. Footer & floating actions
   --------------------------------------------------------------------- */
.site-footer {
    margin-top: auto;
    background: var(--footer-bg);
    color: rgba(255, 255, 255, .72);
    font-size: var(--fs-sm);
}
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand__name small { color: rgba(255,255,255,.6); }
.site-footer h3 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-family: var(--font-sans); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact i { width: 16px; color: var(--brand-300); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a {
    display: grid; place-items: center; width: 38px; height: 38px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--brand-500); transform: translateY(-2px); }
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); color: #fff !important; }
.app-badge i { font-size: 1.4rem; }
.app-badge small { display: block; font-size: .65rem; opacity: .75; line-height: 1; }
.app-badge strong { display: block; line-height: 1.2; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; gap: 28px; } }

.fab-stack {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 900;
    display: grid; gap: 10px; justify-items: end;
}
.fab {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border: 0; border-radius: 50%;
    color: #fff; font-size: 1.35rem;
    box-shadow: 0 10px 24px -8px rgba(2, 6, 23, .45);
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
}
.fab:hover { color: #fff; transform: scale(1.08); }
.fab--wa { background: var(--whatsapp); }
.fab--top { width: 44px; height: 44px; font-size: 1rem; background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------------------------------------------------------------------
   13. Inner page header / breadcrumbs / prose
   --------------------------------------------------------------------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px);
    background:
        radial-gradient(900px 300px at 85% -10%, var(--brand-100), transparent 70%),
        linear-gradient(180deg, var(--brand-50), var(--surface));
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--fs-3xl); margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: var(--fs-lg); max-width: 680px; margin: 0; }
.page-hero--center { text-align: center; }
.page-hero--center p { margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 14px; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--subtle); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-600); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.prose { max-width: 760px; color: var(--text); font-size: 1.02rem; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 28px);
}
.card--shadow { box-shadow: var(--shadow); border-color: transparent; }
.card__title { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.card__title i { color: var(--brand-600); }

.empty-state { text-align: center; padding: clamp(40px, 6vw, 72px) 20px; }
.empty-state__icon {
    display: grid; place-items: center; margin: 0 auto 18px;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--brand-50); color: var(--brand-600); font-size: 1.6rem;
}
.empty-state h2, .empty-state h3 { font-size: var(--fs-xl); }
.empty-state p { color: var(--muted); max-width: 460px; margin-inline: auto; }

/* ---------------------------------------------------------------------
   14. Explore / search results
   --------------------------------------------------------------------- */
.filters-wrap > summary { display: none; }
.filters {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.filters .field { flex: 1 1 180px; }
.filters .field--search { flex: 2 1 260px; }
.filters__actions { display: flex; gap: 8px; }
@media (max-width: 720px) {
    .filters-wrap { margin-bottom: 20px; }
    .filters-wrap > summary {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        list-style: none; cursor: pointer;
        padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
        background: var(--surface); font-weight: 600; color: var(--ink);
    }
    .filters-wrap > summary::-webkit-details-marker { display: none; }
    .filters-wrap > summary::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; transition: transform .2s; }
    .filters-wrap[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    .filters-wrap[open] > summary::after { transform: rotate(180deg); }
    .filters-wrap .filters { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; margin-bottom: 0; }
}
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: var(--fs-sm); }
.results-bar strong { color: var(--ink); }
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.results-layout .grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.results-map { position: sticky; top: calc(var(--header-h) + 16px); height: calc(100vh - var(--header-h) - 32px); max-height: 720px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-3); }
.results-map > div { width: 100%; height: 100%; }
@media (max-width: 1100px) { .results-layout { grid-template-columns: 1fr; } .results-map { position: relative; top: 0; height: 360px; order: -1; } }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination a, .pagination span {
    display: inline-grid; place-items: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink);
    font-weight: 600; font-size: var(--fs-sm);
}
.pagination a:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pagination [aria-current="page"] { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pagination .is-disabled { opacity: .45; }

/* ---------------------------------------------------------------------
   15. Listing detail
   --------------------------------------------------------------------- */
.listing-hero { position: relative; isolation: isolate; color: #fff; background: var(--brand-900); overflow: hidden; }
.listing-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.listing-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,14,36,.2) 0%, rgba(5,14,36,.55) 50%, rgba(5,14,36,.92) 100%); }
.listing-hero__inner { min-height: clamp(320px, 46vh, 460px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 28px 32px; }
.listing-hero .breadcrumbs, .listing-hero .breadcrumbs a { color: rgba(255,255,255,.8); }
.listing-hero .breadcrumbs [aria-current] { color: #fff; }
.listing-hero .breadcrumbs li + li::before { color: rgba(255,255,255,.5); }
.listing-id { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.listing-id__logo { width: 88px; height: 88px; border-radius: 20px; object-fit: cover; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow-lg); flex: none; }
.listing-id h1 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin: 0 0 8px; }
.listing-id__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: var(--fs-sm); color: rgba(255,255,255,.88); }
.listing-id__meta .rating { color: #fff; }
.listing-id__meta .rating__count { color: rgba(255,255,255,.75); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.is-open { background: var(--success-50); color: #047857; }
.status-pill.is-closed { background: var(--danger-50); color: #b91c1c; }

.listing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-block: 32px var(--section-y); }
.listing-layout > aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 980px) { .listing-layout { grid-template-columns: 1fr; } .listing-layout > aside { position: static; } }
.listing-main { display: grid; gap: 20px; }
.listing-desc { white-space: pre-line; margin: 0; }
.offer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-chips .chip { background: var(--brand-50); color: var(--brand-800); }
.contact-list { list-style: none; display: grid; gap: 4px; }
.contact-list a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px; margin-inline: -10px;
    border-radius: 12px; color: var(--ink);
}
.contact-list a:hover { background: var(--surface-2); }
.contact-list__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); flex: none; }
.contact-list__icon--wa { background: #eafbf1; color: var(--whatsapp-dark); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.contact-list strong { display: block; font-size: var(--fs-sm); font-weight: 600; word-break: break-word; }
.hours { list-style: none; display: grid; gap: 2px; font-size: var(--fs-sm); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.hours li.is-today { background: var(--brand-50); font-weight: 700; color: var(--brand-800); }
.hours li span:last-child { color: var(--muted); }
.hours li.is-today span:last-child { color: inherit; }
.map-box { height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); }
.related-list { display: grid; gap: 10px; }
.related-item { display: flex; gap: 12px; align-items: center; padding: 8px; margin: -8px; border-radius: 12px; color: var(--ink); }
.related-item:hover { background: var(--surface-2); color: var(--ink); }
.related-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--surface-3); }
.related-item strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.related-item small { color: var(--muted); font-size: var(--fs-xs); }

.reviews-summary { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.reviews-summary__score { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stars { color: var(--accent-500); letter-spacing: 2px; }
.stars .is-empty { color: var(--line-strong); }
.review { padding: 16px 0; border-top: 1px solid var(--line); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.review__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-weight: 700; font-size: var(--fs-sm); flex: none; }
.review__name { font-weight: 600; color: var(--ink); font-size: var(--fs-sm); }
.review__date { font-size: var(--fs-xs); color: var(--muted); }
.review p { margin: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.6rem; color: var(--line-strong); cursor: pointer; transition: color .15s, transform .15s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--accent-500); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand-400); border-radius: 4px; }

/* ---------------------------------------------------------------------
   16. About / contact / help
   --------------------------------------------------------------------- */
.about-page .about-hero { display: none; } /* replaced by .page-hero */
.about-page.section-padding { padding-block: var(--section-y); }
.about-page .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-page .about-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-page .about-text h2 { font-size: var(--fs-xl); margin-top: 1.2em; }
.about-page .about-text h2:first-child { margin-top: 0; }
.about-page .about-text p { color: var(--text); }
.about-page .about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-top: 28px; }
.about-page .about-stats .stat-item { padding: 16px; border-radius: var(--radius); background: var(--brand-50); }
.about-page .about-stats h3 { font-size: 1.6rem; color: var(--brand-700); margin: 0; }
.about-page .about-stats p { margin: 0; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.about-page .why-choose-section { padding-top: var(--section-y); padding-bottom: 0; }
.about-page .why-choose-section .section-header { text-align: center; margin-bottom: 36px; }
.about-page .why-choose-section .section-subtitle { margin-inline: auto; max-width: 620px; }
.about-page .why-choose-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.about-page .why-choose-item { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.about-page .why-choose-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-page .why-choose-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); font-size: 1.25rem; margin-bottom: 16px; }
.about-page .why-choose-item h3 { font-size: 1.1rem; }
.about-page .why-choose-item p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 820px) { .about-page .about-grid { grid-template-columns: 1fr; } }

.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { background: linear-gradient(160deg, var(--brand-800), var(--brand-600)); color: rgba(255,255,255,.88); border: 0; }
.contact-aside h2 { color: #fff; font-size: var(--fs-xl); }
.contact-aside .contact-list a { color: #fff; }
.contact-aside .contact-list a:hover { background: rgba(255,255,255,.1); }
.contact-aside .contact-list small { color: rgba(255,255,255,.7); }
.contact-aside .contact-list__icon { background: rgba(255,255,255,.14); color: #fff; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-weight: 700; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__answer { padding: 0 20px 18px; color: var(--text); }

/* ---------------------------------------------------------------------
   17. Dialogs (auth, directions, generic)
   --------------------------------------------------------------------- */
.dialog {
    width: min(100% - 24px, 960px);
    max-height: calc(100dvh - 24px);
    padding: 0; border: 0;
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    overflow: hidden;
}
.dialog::backdrop { background: rgba(8, 15, 35, .55); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in .25s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog--sm { width: min(100% - 24px, 520px); }
.dialog__close {
    position: absolute; right: 14px; top: 14px; z-index: 3;
    width: 38px; height: 38px; border-radius: 50%;
    border: 0; background: var(--surface-3); color: var(--ink);
    display: grid; place-items: center;
}
.dialog__close:hover { background: var(--line); }
.dialog__body { padding: clamp(20px, 4vw, 32px); overflow-y: auto; max-height: calc(100dvh - 24px); }

.auth { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 560px; }
.auth__aside {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 40px 36px;
    color: rgba(255,255,255,.88);
    background: linear-gradient(160deg, var(--brand-800), var(--brand-600) 70%, var(--brand-500));
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.auth__aside::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 65%); }
.auth__aside h2 { color: #fff; font-size: 1.6rem; }
.auth__aside ul { list-style: none; display: grid; gap: 12px; }
.auth__aside li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); }
.auth__aside li i { color: var(--accent-400); }
.auth__main { padding: clamp(24px, 4vw, 44px); overflow-y: auto; max-height: calc(100dvh - 24px); }
.auth__main h3 { font-size: 1.6rem; margin-bottom: 4px; }
.auth__sub { color: var(--muted); margin-bottom: 22px; font-size: var(--fs-sm); }
.auth-panel { display: none; }
.auth-panel.is-active { display: block; animation: fade-in .25s var(--ease); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.auth form { display: grid; gap: 14px; }
.auth__switch { font-size: var(--fs-sm); color: var(--muted); text-align: center; margin: 18px 0 0; }
.auth__switch button, .linklike { border: 0; background: none; padding: 0; color: var(--brand-600); font-weight: 600; }
.linklike:hover, .auth__switch button:hover { color: var(--brand-700); text-decoration: underline; }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.input-wrap:has(.pw-toggle) .input { padding-right: 46px; }
.input-wrap .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.input-wrap .pw-toggle:hover { background: var(--surface-3); }
.otp-input { text-align: center; font-size: 1.6rem !important; letter-spacing: .5em; font-weight: 700; font-family: var(--font-display); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }
.pw-meter { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .3s var(--ease), background-color .3s; }
.pw-meter-label { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 760px) {
    .auth { grid-template-columns: 1fr; min-height: 0; }
    .auth__aside { display: none; }
}

.map-dialog .dialog__body { padding: 0; }
.map-dialog__head { padding: 20px 64px 12px 24px; }
.map-dialog__head h3 { margin: 0 0 4px; font-size: 1.2rem; }
.map-dialog__head p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.map-dialog__map { height: min(62vh, 520px); min-height: 300px; background: var(--surface-3); }
.map-dialog__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); }

/* Toast */
.toast-region { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3000; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: var(--fs-sm); animation: toast-in .3s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast--success i { color: #34d399; }
.toast--error i { color: #f87171; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Leaflet tweaks */
.leaflet-container { font-family: var(--font-sans); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 12px 14px; font-size: var(--fs-sm); }
.leaflet-popup-content a { font-weight: 600; }

/* ---------------------------------------------------------------------
   18. Motion & reveal
   --------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { animation: none !important; }
}

/* ---------------------------------------------------------------------
   19. Utilities
   --------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.stack { display: grid; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.center-row { display: flex; justify-content: center; margin-top: 32px; }

@media print {
    .site-header, .site-footer, .fab-stack, .hero__stats, .listing-actions, dialog { display: none !important; }
    body { color: #000; }
}

/* ---------------------------------------------------------------------
   20. v2.1 — centered hero, one-row categories, language switch, footer app column
   --------------------------------------------------------------------- */
.hero--center { text-align: center; min-height: clamp(440px, 64vh, 600px); }
.hero--center .hero__content { margin-inline: auto; max-width: 960px; display: grid; justify-items: center; gap: 28px; }
.hero--center .hero__title { margin: 0; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); }
.hero--center .hero__title .hl { display: inline-block; }

.cat-grid--row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cat-grid--row:not(.is-expanded) .cat-tile:nth-child(n+7) { display: none; }
@media (max-width: 1000px) { .cat-grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lang-switch { position: relative; flex: none; }
.lang-switch > summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 12px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    font-size: var(--fs-sm); font-weight: 700; color: var(--ink); background: var(--surface);
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { background: var(--surface-2); }
.lang-switch__menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 1100;
    min-width: 170px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.lang-switch__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; }
.lang-switch__menu a:hover { background: var(--brand-50); }
.lang-switch__menu a[aria-current="true"] { background: var(--brand-50); color: var(--brand-700); font-weight: 700; }
.lang-switch__menu small { color: var(--muted); font-weight: 600; }
.drawer .lang-row { display: flex; gap: 8px; }
.drawer .lang-row a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.drawer .lang-row a[aria-current="true"] { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

.header-search { max-width: 340px; }

.site-footer__top { grid-template-columns: 1.4fr repeat(4, 1fr); }
@media (max-width: 1100px) { .site-footer__top { grid-template-columns: repeat(3, 1fr); } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 620px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
.socials--stack { display: grid; gap: 10px; margin-top: 20px; }
.socials--stack a { display: inline-flex; align-items: center; gap: 12px; width: auto; height: auto; background: none; border-radius: 0; }
.socials--stack a:hover { background: none; transform: none; color: #fff; }
.socials--stack a i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background-color .2s; }
.socials--stack a:hover i { background: var(--brand-500); }
.app-badges--stack { flex-direction: column; align-items: flex-start; margin-top: 0; }
.app-badge { min-width: 170px; }
.app-badge--soon { opacity: .75; cursor: default; }
.app-badge__soon { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.14); font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.site-header .container { max-width: calc(1400px + var(--gutter) * 2); }
.header-search { flex: 1 1 220px; min-width: 180px; margin-left: 4px; }
@media (max-width: 1280px) { .brand__name small { display: none; } .main-nav a { padding: 8px 9px; } }

/* Mobile: header search collapses into an icon that opens the drawer search */
.search-toggle { display: none; }
@media (max-width: 1080px) { .search-toggle { display: inline-grid; } }

/* =====================================================================
   22. Homepage v3.2: hero lines, compact section spacing, location button
   ===================================================================== */
.hero--center .hero__content { max-width: 1180px; gap: 18px; }
.hero--center .hero__title { display: grid; gap: 6px; justify-items: center; line-height: 1.08; }
.hero__line { display: block; font-size: clamp(1.7rem, .9rem + 2.6vw, 3rem); }
.hero__city { display: block; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); }
@media (min-width: 900px) { .hero__line { white-space: nowrap; } }
.hero__tagline {
    margin: 4px 0 0; max-width: 640px;
    font-size: clamp(.95rem, .9rem + .25vw, 1.1rem); font-weight: 500;
    color: rgba(255, 255, 255, .82);
}
.hero--center { min-height: clamp(380px, 56vh, 520px); }

/* Smaller, even gaps between homepage sections */
.page-home { --section-y: clamp(32px, 3.6vw, 52px); }
.page-home .section-head { margin-bottom: clamp(18px, 2vw, 26px); }
.page-home .section--flush-top { padding-top: 0; }
.page-home .hero + .section { padding-top: clamp(36px, 4vw, 56px); }

.fab--loc { width: 44px; height: 44px; font-size: 1rem; background: var(--brand-600); }
.fab--loc:disabled { opacity: .8; }

/* City announcement pop-up */
.news-dialog { width: min(100% - 24px, 480px); }
.news-dialog__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-dialog .dialog__body { padding: clamp(20px, 4vw, 28px); }
.news-dialog .eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.news-dialog h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; }
.news-dialog__text { margin: 0; color: var(--text); white-space: pre-line; line-height: 1.6; }
.news-dialog__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.news-dialog__actions .btn { flex: 1 1 auto; justify-content: center; }
.news-dialog .dialog__close { background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* =====================================================================
   23. v3.3: taller hero, same-size city line, category search mode
   ===================================================================== */
.hero--center { min-height: clamp(560px, 82vh, 760px); }
.hero--center .hero__bg { object-position: center 18%; }
.hero__line, .hero__city { font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); }
.hero--center .hero__title { gap: 2px; }

/* All categories open: hero hidden, category search right above the grid */
body.cats-open .hero { display: none; }
body.cats-open #categories { padding-top: clamp(24px, 3vw, 36px); }
.cat-search { margin-bottom: 18px; max-width: 560px; }
.cat-search .searchbar { box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,23,42,.06)); }
.cat-search__empty { margin: 12px 0 0; color: var(--muted); }
.cat-tile[hidden] { display: none !important; }

/* =====================================================================
   24. News articles (/news)
   ===================================================================== */
.article-hero { position: relative; isolation: isolate; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); background: var(--brand-900); color: #fff; overflow: hidden; }
.article-hero.has-cover { min-height: clamp(340px, 52vh, 520px); display: grid; align-items: end; }
.article-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,14,36,.25) 0%, rgba(5,14,36,.55) 50%, rgba(5,14,36,.92) 100%); }
.article-hero__inner { max-width: 900px; }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.12; margin: 14px 0 14px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 600; font-size: var(--fs-sm); }
.article-back:hover { color: #fff; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; color: rgba(255,255,255,.82); font-size: var(--fs-sm); }
.article-meta i { margin-right: 4px; color: var(--accent-400); }
.article-layout { display: grid; grid-template-columns: 56px minmax(0, 760px); gap: clamp(20px, 4vw, 56px); justify-content: center; padding-block: clamp(28px, 4vw, 48px) 0; }
.article-body { font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.75; color: var(--text); }
.article-body h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin: 1.6em 0 .5em; }
.article-body p { margin: 0 0 1.1em; }
.article-body ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.article-body li { margin-bottom: .35em; }
.article-body a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.article-lead { font-size: 1.18em; color: var(--ink); font-weight: 500; }
.share-bar { position: sticky; top: calc(var(--header-h, 72px) + 24px); align-self: start; display: grid; gap: 10px; justify-items: center; }
.share-bar__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.share-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.05rem; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn--fb { --btn-bg: #1877f2; --btn-fg: #fff; }
.share-btn--wa:hover { background: var(--whatsapp); border-color: var(--whatsapp); }
.share-btn--ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: transparent; color: #fff; }
.btn--ig { --btn-bg: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); --btn-fg: #fff; }
.share-btn--x:hover { background: #000; border-color: #000; }
.share-btn:not(.share-btn--fb):not(.share-btn--wa):not(.share-btn--ig):not(.share-btn--x):hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn--fb:hover, .btn--ig:hover { --btn-fg: #fff; filter: brightness(1.06); }
.article-share-cta { max-width: 816px; margin: clamp(8px, 2vw, 20px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg, 16px); background: var(--surface-2); }
.article-share-cta strong { display: block; color: var(--ink); }
.article-share-cta span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 760px) {
    .article-layout { grid-template-columns: 1fr; }
    .share-bar { position: static; display: flex; justify-content: flex-start; order: 2; }
    .share-bar__label { margin-right: 4px; }
}

.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg, 16px); background: var(--surface); color: inherit; box-shadow: var(--shadow-sm, none); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 14px 30px -18px rgba(15,23,42,.35)); color: inherit; }
.article-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__body { display: grid; gap: 8px; padding: 18px 20px 20px; }
.article-card__body small { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; }
.article-card__body strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
.article-card__text { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.article-card__more { color: var(--brand-600); font-weight: 700; font-size: var(--fs-sm); }
.article-card--featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.article-card--featured .article-card__media { aspect-ratio: auto; min-height: 300px; }
.article-card--featured .article-card__body { align-content: center; padding: clamp(20px, 3vw, 36px); }
.article-card--featured .article-card__body strong { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
@media (max-width: 760px) { .article-card--featured { grid-template-columns: 1fr; } .article-card--featured .article-card__media { min-height: 0; aspect-ratio: 16 / 9; } }
.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* =====================================================================
   25. Article page v3.4: ads (left) · article · other articles (right)
   ===================================================================== */
.article-page {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    grid-template-areas: "ads article side";
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
    padding-block: clamp(24px, 3.5vw, 44px) clamp(40px, 5vw, 64px);
    max-width: 1440px;
}
.article { grid-area: article; min-width: 0; }
.article-ads { grid-area: ads; position: sticky; top: calc(var(--header-h, 72px) + 20px); display: grid; gap: 20px; }
.article-side { grid-area: side; position: sticky; top: calc(var(--header-h, 72px) + 20px); display: grid; gap: 12px; }

.article .article-back { color: var(--brand-600); }
.article .article-back:hover { color: var(--brand-800, var(--brand-600)); }
.article-title { margin: 14px 0 12px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.15; color: var(--ink); }
.article .article-meta { color: var(--muted); margin-bottom: 22px; }
.article .article-meta i { color: var(--brand-600); }
.article-cover { margin: 0 0 28px; border-radius: var(--radius-lg, 16px); overflow: hidden; background: var(--surface-2); }
.article-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .article-body { max-width: none; }
.article-body p, .article-body li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.article-body .article-lead { text-align: left; }

.article .article-share-cta { max-width: none; margin: 32px 0 0; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; }

.article-side__title { margin: 0 0 4px; font-size: 1.1rem; padding-bottom: 10px; border-bottom: 2px solid var(--brand-600); }
.side-article { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: var(--radius-md, 12px); color: inherit; }
.side-article:hover { background: var(--surface-2); color: inherit; }
.side-article img { width: 96px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.side-article strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.side-article small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-xs); }

.ad-slot { width: 100%; min-height: 250px; }
.ad-slot--empty { min-height: 600px; }
.ad-slot--empty + .ad-slot--empty { display: none; }
.ad-slot--placeholder { display: grid; place-items: center; align-content: center; gap: 6px; min-height: 280px; padding: 16px; text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--radius-md, 12px); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 10px, var(--surface) 10px, var(--surface) 20px); color: var(--muted); }
.ad-slot--placeholder i { font-size: 1.8rem; color: var(--faint, #94a3b8); }
.ad-slot--placeholder span { font-weight: 700; color: var(--ink); }
.ad-slot--placeholder small { font-size: var(--fs-xs); }

@media (max-width: 1200px) {
    .article-page { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "article side" "ads side"; }
    .article-ads { position: static; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .ad-slot--empty { min-height: 0; }
}
@media (max-width: 900px) {
    .article-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "article" "side" "ads"; }
    .article-side { position: static; }
}

/* City announcement text: justified */
.news-dialog__text { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
