/* ===== Sitio público ===== */
:root {
  --navy: #0a1a3f;
  --navy-deep: #060f28;
  --navy-soft: #14306b;
  --gold: #b08d57;
  --gold-dark: #94733f;
  --blue: #0d6efd;
  --ink: #1c2434;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #f3f4f6;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(10, 26, 63, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Roboto, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.ic { flex: none; vertical-align: -3px; }
[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(1020px, 100% - 32px); }
.section { padding: 76px 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: .9rem; line-height: 1.2; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.btn-blue { background: var(--blue); color: #fff; text-transform: uppercase; font-size: .78rem; letter-spacing: .03em; }
.btn-blue:hover { background: #0b5ed7; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy-soft); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-soft); color: var(--navy-soft); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #17904a; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; }
.home .site-header { position: absolute; left: 0; right: 0; background: transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.logo-mark { position: relative; display: inline-flex; align-items: center; color: #fff; }
.logo-mark img { max-height: 54px; max-width: 220px; width: auto; object-fit: contain; }
.logo-footer .logo-mark img { max-height: 64px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.active { border-bottom-color: var(--gold); }
.nav-cta { margin-left: 60px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; }

/* Portada */
.hero { position: relative; isolation: isolate; background: var(--navy-deep) center / cover no-repeat; color: #fff; padding: 150px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(6, 15, 40, .95) 0%, rgba(10, 28, 68, .84) 55%, rgba(18, 48, 110, .62) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.kicker { color: #6ea8ff; font-size: .82rem; font-weight: 500; margin-bottom: 10px; }
.kicker.dark { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; line-height: 1.06; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 20px; }
.hero .lead { max-width: 520px; font-size: .95rem; color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.hero-art { position: relative; justify-self: center; }
.hero-art img { width: 100%; max-width: 360px; max-height: 400px; object-fit: contain;filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }

/* Categorías */
.cats { background: #fff; }
.h-upper { font-size: 1.35rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cat { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 330px; padding: 22px; color: #fff; background: var(--navy) center / cover no-repeat; overflow: hidden; }
.cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 15, 40, .78), rgba(6, 15, 40, .05) 60%); transition: background .25s; }
.cat:hover::before { background: linear-gradient(to top, rgba(6, 15, 40, .88), rgba(6, 15, 40, .3)); }
.cat-1 { background-color: #17356f; } .cat-2 { background-color: #0f2550; } .cat-3 { background-color: #7d6336; } .cat-4 { background-color: #3d4a63; }
.cat-ic { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%); opacity: .28; }
.cat-info { position: relative; text-align: center; }
.cat-info strong { display: block; font-size: 1.05rem; }
.cat-info em { display: inline-block; margin-top: 6px; padding: 3px 12px; border-radius: 3px; background: var(--gold); font-style: normal; font-size: .72rem; font-weight: 700; }

/* Conócenos */
.about { background: #fff; padding-top: 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-media { position: relative; min-height: 340px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep)) center / cover no-repeat; display: grid; place-items: center; color: rgba(255, 255, 255, .25); }
.about h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 6px 0 16px; }
.about-text { color: var(--muted); }

/* Listado de propiedades */
.props { background: var(--bg); }
.props-head { margin-bottom: 28px; }
.props-head h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 500; line-height: 1.2; }
.chip { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; }
.chip a { color: var(--gold-dark); font-weight: 700; }
.empty { padding: 48px 20px; text-align: center; background: #fff; border-radius: var(--radius); color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(10, 26, 63, .08); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe3ea; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-strip { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 10px; padding: 18px 12px 8px; color: #fff; font-size: .72rem; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 3px; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge-status { left: auto; right: 10px; background: #b42318; }
.badge.static { position: static; display: inline-block; }
.badge-type { background: var(--gold); }
.badge-ok { background: #18794e; }
.card-body { padding: 18px 16px 12px; flex: 1; }
.card-body h3 { font-size: .95rem; font-weight: 500; text-transform: uppercase; line-height: 1.3; margin-bottom: 6px; }
.card-body h3 a:hover { color: var(--gold-dark); }
.price { color: var(--gold-dark); font-weight: 700; font-size: .95rem; }
.excerpt { color: var(--muted); font-size: .8rem; margin: 8px 0 12px; }
.card-feats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: #475467; }
.card-feats li { display: inline-flex; align-items: center; gap: 5px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.card-foot .more { display: inline-flex; align-items: center; gap: 2px; color: var(--navy-soft); font-weight: 700; }
.props-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; color: var(--muted); font-size: .88rem; }
.listing { background: var(--bg); padding: 26px 0 76px; min-height: 60vh; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.listing-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; }
.listing-head p { color: var(--muted); }
.listing-count { font-size: .88rem; }
.listing .chip { margin: 0 0 22px; }
.pager { display: flex; gap: 6px; margin-top: 32px; }
.pager a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; background: #fff; border-radius: 4px; font-size: .85rem; font-weight: 500; }
.pager a.on, .pager a:hover { background: var(--gold); color: #fff; }

/* Cifras */
.stats { position: relative; isolation: isolate; padding: 64px 0; color: #fff; text-align: center; background: var(--navy-deep) center / cover no-repeat; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 15, 40, .86); }
.stats h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.stats-text { max-width: 620px; margin: 0 auto 38px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.stat strong { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.stat span { font-size: .85rem; font-weight: 500; }

/* Contacto */
.contact { background: #e9eaec; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 500; margin-bottom: 10px; }
.contact h2 .ic { color: var(--gold); }
.contact-grid > div > p { color: var(--muted); }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 5px; font-size: .78rem; color: #475467; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfd4dc; border-radius: 4px; background: #fff; font: inherit; font-size: .92rem; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(20, 48, 107, .25); border-color: var(--navy-soft); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { padding: 10px 14px; border-radius: 4px; font-size: .88rem; font-weight: 500; }
.form-msg.ok { background: #e3f6ec; color: #116237; }
.form-msg.err { background: #fde8e6; color: #9b1c12; }

/* Pie */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.logo-footer { margin-bottom: 16px; color: #fff; }
.site-footer h4 { color: #4f9cff; font-size: .95rem; margin-bottom: 16px; }
.foot-links li, .foot-contact li { margin-bottom: 8px; }
.foot-contact li { display: flex; gap: 8px; align-items: flex-start; }
.foot-contact .ic { margin-top: 4px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; color: #fff; }
.social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-bottom { background: var(--navy-deep); padding: 14px 0; font-size: .8rem; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.login-link { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; }
.login-link:hover { background: var(--gold); border-color: var(--gold); text-decoration: none; }
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }

/* ===== Ficha de propiedad ===== */
.detail { background: var(--bg); padding: 26px 0 70px; }
.notfound { padding: 90px 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-dark); }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.detail-head h1 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2; }
.detail-loc { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); margin-top: 6px; font-size: .92rem; }
.detail-loc .ic { color: var(--gold); margin-top: 3px; }
.detail-price { text-align: right; flex: none; }
.detail-price strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-dark); line-height: 1.2; }
.detail-price span { display: block; font-size: .8rem; color: var(--muted); }

.gallery-main { position: relative; background: #0b1326; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; max-height: 620px; width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); }
.g-nav:hover { background: #fff; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .78rem; }
.g-count b { font-weight: 500; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 6px; }
.g-thumb { flex: none; width: 110px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #dfe3ea; opacity: .7; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.on, .g-thumb:hover { opacity: 1; border-color: var(--gold); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; margin-top: 24px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); padding: 26px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(10, 26, 63, .06); }
.panel h2 { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 14px; }
.feat-grid li { display: flex; align-items: center; gap: 12px; }
.feat-ic { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: #f4efe6; color: var(--gold-dark); }
.feat-grid strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.feat-grid em { font-style: normal; font-size: .78rem; color: var(--muted); }
.prose { color: #344054; }
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 18px; }
.amen-grid li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.amen-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: #eef2fb; color: var(--navy-soft); }
.sheet { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.sheet div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.sheet dt { color: var(--muted); }
.sheet dd { font-weight: 500; text-align: right; }
.table-scroll { overflow-x: auto; }
.variants { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
.variants th { text-align: left; padding: 10px 12px; background: var(--bg); font-size: .78rem; font-weight: 500; color: #475467; white-space: nowrap; }
.variants td { padding: 12px; border-bottom: 1px solid var(--line); }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); margin-top: 14px; z-index: 1; }
.map-link { margin-top: 10px; font-size: .85rem; font-weight: 700; color: var(--navy-soft); }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.detail-side { position: sticky; top: 96px; }
.side-card { display: grid; gap: 12px; }
.side-card h2 { margin-bottom: 0; }
.side-price { font-size: 1.4rem; font-weight: 700; color: var(--gold-dark); }
.share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; color: var(--muted); font-size: .85rem; padding: 6px; }
.share:hover { color: var(--navy-soft); }
.more-props { margin-top: 30px; }
.more-props h2 { font-size: 1.3rem; margin-bottom: 18px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(4, 8, 20, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lb-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: #fff; padding: 8px; }

/* ===== Modo edición (solo administrador) ===== */
#admin-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: #101828; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); font-size: .82rem; white-space: nowrap; }
#admin-bar a, #admin-bar button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: #fff; font-weight: 500; }
#admin-bar a:hover { background: rgba(255, 255, 255, .12); }
#admin-bar #edit-toggle { background: var(--gold); font-weight: 700; }
body.editing #admin-bar #edit-toggle { background: #18794e; }
#edit-toast { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 91; padding: 9px 18px; border-radius: 999px; background: #101828; color: #fff; font-size: .85rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
#edit-toast.show { opacity: 1; }
#edit-toast.err { background: #b42318; }
body.editing [data-edit] { outline: 1px dashed rgba(176, 141, 87, .9); outline-offset: 4px; cursor: text; border-radius: 2px; min-width: 30px; }
body.editing [data-edit]:hover { outline-style: solid; background: rgba(176, 141, 87, .14); }
body.editing [data-edit][contenteditable] { outline: 2px solid var(--gold); background: rgba(255, 255, 255, .1); }
body.editing [data-edit]:not([contenteditable])::after { content: "✎"; display: inline-block; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; background: var(--gold); color: #fff; font: 400 13px/22px Arial, sans-serif; text-align: center; vertical-align: middle; text-transform: none; letter-spacing: 0; }
body.editing [data-edit]:empty::before { content: "(vacío)"; opacity: .6; }
.edit-img-tools { display: none; position: absolute; top: 12px; left: 12px; z-index: 20; gap: 6px; }
body.editing .edit-img-tools { display: flex; }
.hero > .edit-img-tools { top: auto; bottom: 14px; }
.logo-mark > .edit-img-tools { top: calc(100% + 6px); left: 0; }
.edit-img-tools button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--gold); color: #fff; font: 700 12px/1.2 Roboto, Arial, sans-serif; text-transform: none; letter-spacing: 0; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.edit-img-tools button:hover { background: var(--gold-dark); }
.edit-img-tools .rm { background: #344054; }
body.editing [data-edit-img] { outline: 1px dashed rgba(176, 141, 87, .9); outline-offset: -4px; }

/* ===== Adaptable ===== */
@media (max-width: 980px) {
  .nav-cta { margin-left: 0; }
  .nav { gap: 20px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat { min-height: 220px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
}
@media (max-width: 760px) {
  .section { padding: 54px 0; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; background: var(--navy); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-cta { margin-top: 14px; }
  .site-header { position: sticky; }
  .home .site-header { position: absolute; }
  .hero { padding: 120px 0 64px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art img { max-width: 220px; max-height: 240px; }
  .about-media { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-head { flex-direction: column; align-items: flex-start; }
  .detail-price { text-align: left; }
  .sheet { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .g-thumb { width: 84px; }
  .stat strong { font-size: 2rem; }
  .stat span { font-size: .75rem; }
  .map { height: 300px; }
  #admin-bar { max-width: calc(100% - 16px); overflow-x: auto; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .cat { min-height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
