/* Dulce Casa — design prototype. Brand colours come from the logo (olive + turquoise). */
:root {
  --olive: #8f8f62;
  --olive-light: #a8a982;
  --olive-dark: #5b5b3c;
  --turquoise: #1fa7a3;
  --turquoise-light: #61fdfd;
  --sand: #f7f5ef;
  --sand-2: #ece8dc;
  --ink: #23271f;
  --muted: #6b6d62;
  --white: #fff;
  --red: #b4473b;
  --orange: #c98a2b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 39, 31, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--sand); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--turquoise); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; border: 0;
  font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--turquoise); color: var(--white); }
.btn-primary:hover { background: #178c89; }
.btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-dark { background: var(--olive-dark); color: var(--white); }
.btn-link { background: none; padding: 0; color: var(--turquoise); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.solid, .site-header.always-solid { background: rgba(247,245,239,.96); box-shadow: 0 1px 0 var(--sand-2); backdrop-filter: blur(8px); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand span b { color: var(--turquoise-light); font-weight: 600; }
.site-header.solid .brand, .site-header.always-solid .brand { color: var(--olive-dark); }
.site-header.solid .brand span b, .site-header.always-solid .brand span b { color: var(--turquoise); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--white); font-weight: 500; font-size: .95rem; }
.site-header.solid .nav a, .site-header.always-solid .nav a { color: var(--ink); }
.nav a:hover { color: var(--turquoise-light); }
.site-header.solid .nav a:hover, .site-header.always-solid .nav a:hover { color: var(--turquoise); }
.lang { display: flex; gap: .15rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .2rem; }
.site-header.solid .lang, .site-header.always-solid .lang { border-color: var(--sand-2); }
.lang a, .lang button { text-decoration: none; border: 0; background: none; font: 600 .75rem var(--sans); padding: .3rem .55rem; border-radius: 999px; cursor: pointer; color: inherit; color: var(--white); }
.site-header.solid .lang a, .site-header.always-solid .lang a { color: var(--muted); }
.lang a[aria-current="true"] { background: var(--turquoise); color: var(--white) !important; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font-size: 1.6rem; cursor: pointer; color: var(--white); }
.site-header.solid .menu-toggle, .site-header.always-solid .menu-toggle { color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 92vh; display: grid; align-items: end; color: var(--white);
  background: url("../img/photo-1.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,18,.45) 0%, rgba(20,24,18,.1) 35%, rgba(20,24,18,.65) 100%), linear-gradient(90deg, rgba(20,24,18,.45) 0%, rgba(20,24,18,0) 60%); }
.hero .container { position: relative; padding-bottom: 9rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 14ch; margin-bottom: 1rem; }
.hero p { max-width: 52ch; font-size: 1.15rem; opacity: .95; }
.hero .kicker { color: var(--white); background: rgba(31,167,163,.85); display: inline-block; padding: .25rem .7rem; border-radius: 999px; }
.hero h1, .hero p { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* Search */
.search { position: relative; z-index: 5; margin-top: -4.5rem; }
.search form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem;
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: .8rem; align-items: end; }
.field label { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .3rem; }
.field select, .field input, .field textarea { width: 100%; padding: .75rem .8rem; border: 1px solid var(--sand-2); border-radius: 10px;
  font: inherit; background: var(--sand); color: var(--ink); }
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--turquoise); outline-offset: 1px; }

/* Listings */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.6rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(35,39,31,.14); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: .9rem; left: .9rem; padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; background: var(--white); color: var(--olive-dark); }
.badge.sold { background: var(--red); color: var(--white); }
.badge.reserved { background: var(--orange); color: var(--white); }
.badge.rent { background: var(--turquoise); color: var(--white); }
.badge.offer { left: auto; right: .9rem; background: var(--olive-dark); color: var(--white); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-place { font-size: .85rem; color: var(--muted); }
.card-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 0; }
.card-specs { display: flex; gap: 1rem; color: var(--muted); font-size: .9rem; margin-top: .3rem; flex-wrap: wrap; }
.card-specs span { display: inline-flex; gap: .3rem; align-items: center; }
.price { margin-top: auto; padding-top: .8rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--olive-dark); }
.price s { font-size: 1rem; color: var(--muted); font-weight: 400; margin-right: .4rem; }
.price small { font-size: .9rem; color: var(--muted); }
.card.is-closed .card-media img { filter: grayscale(.5); }
.empty { padding: 2rem; background: var(--white); border-radius: var(--radius); text-align: center; color: var(--muted); }
.photo-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* Services */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service { padding: 2rem; border-radius: var(--radius); background: var(--sand); }
.service .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--olive-light); color: var(--white); margin-bottom: 1rem; }
.service h3 { font-size: 1.4rem; }
.service p { margin: 0; color: var(--muted); }

/* Strip of landscapes */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 220px; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.about-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; }
.about-card img { width: 140px; height: 180px; object-fit: cover; object-position: top; border-radius: 12px; background: var(--sand-2); }
.about-card blockquote { margin: 0 0 .8rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stats b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--turquoise); line-height: 1; }
.stats span { font-size: .9rem; color: var(--muted); }

/* Contact */
.contact { background: var(--olive-dark); color: var(--white); }
.contact .kicker { color: var(--turquoise-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list a { text-decoration: none; }
.contact-list svg { flex: none; margin-top: .2rem; color: var(--turquoise-light); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.check { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-err { background: #f7e4e1 !important; color: #8a2f25 !important; }
.form-ok { grid-column: 1 / -1; background: #e3f5f4; color: #0f5e5c; padding: 1rem; border-radius: 10px; }
.wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); color: var(--white); }

/* Footer */
.site-footer { background: #1d2019; color: #c9cbbd; padding: 2.5rem 0; font-size: .9rem; }
.site-footer .row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #c9cbbd; text-decoration: none; margin-left: 1rem; }

/* Property detail */
.detail { padding-top: 96px; }
.crumbs { margin: 1rem 0 1.2rem; font-size: .9rem; }
.crumbs a { text-decoration: none; color: var(--turquoise); }
.detail-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.detail-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .2rem 0; }
.detail-head .price { padding: 0; font-size: 2rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .6rem; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery img:first-child { grid-row: 1 / 3; }
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; margin: 2.5rem 0 4rem; align-items: start; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; margin-bottom: 1.6rem; }
.panel h2 { font-size: 1.5rem; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; margin-bottom: 1.6rem; }
.keyfacts div { background: var(--white); border-radius: var(--radius); padding: 1rem .5rem; box-shadow: var(--shadow); }
.keyfacts b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--olive-dark); }
.keyfacts span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0; }
.features div { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--sand-2); }
.features dt { color: var(--muted); }
.features dd { margin: 0; font-weight: 600; text-align: right; }
.description { white-space: pre-line; }
.lang-note { font-size: .85rem; color: var(--muted); font-style: italic; }
#map { height: 340px; border-radius: 10px; }
.sticky { position: sticky; top: 92px; }
.sticky .form { grid-template-columns: 1fr; padding: 0; box-shadow: none; }
.tour { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; place-items: center; z-index: 100; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 90vh; }

/* Responsive */
@media (max-width: 980px) {
  .search form { grid-template-columns: 1fr 1fr; }
  .search form .btn { grid-column: 1 / -1; justify-content: center; }
  .service-grid, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); height: 300px; }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto; background: var(--sand); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem;
    gap: 0; box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { color: var(--ink) !important; padding: .8rem 0; border-bottom: 1px solid var(--sand-2); }
  .nav .lang { margin-top: 1rem; align-self: flex-start; border-color: var(--sand-2); }
  .nav .lang a { color: var(--muted) !important; padding: .3rem .55rem; border: 0; }
  .nav .lang a[aria-current="true"] { color: var(--white) !important; }
  .form { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery img:nth-child(n+4) { display: none; }
}
@media print {
  .site-header, .site-footer, .sticky, .wa, #map { display: none !important; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* Legal page */
.legal { padding-top: 110px; padding-bottom: 4rem; max-width: 820px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; scroll-margin-top: 90px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; background: var(--white); border-radius: 10px; overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--sand-2); }
.legal-table th { background: var(--sand-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.video { width: 100%; border-radius: 10px; background: #000; }
.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 460px; }
.gallery-2 img:first-child, .gallery-1 img:first-child { grid-row: auto; }
.gallery-3 { grid-template-columns: 2fr 1fr; }
.gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery-4 img:nth-child(4) { grid-column: 2 / 4; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }

/* Language menu: flag button, other flags drop down on click */
.lang-menu { position: relative; }
.lang-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 .7rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); color: var(--white); font: 600 .8rem var(--sans); }
.site-header.solid .lang-btn, .site-header.always-solid .lang-btn { border-color: var(--sand-2); background: var(--white); color: var(--ink); }
.lang-btn img, .lang-list img { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); object-fit: cover; }
.lang-list { position: absolute; left: 50%; margin: 0 0 0 -28px; width: 56px; top: calc(100% + .4rem); padding: .35rem; list-style: none; min-width: 0;
  background: var(--white); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; transform: translateY(-6px); text-align: center; transition: opacity .18s, transform .18s, visibility .18s; }
.lang-menu.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: flex; align-items: center; justify-content: center; padding: .45rem .55rem; border-radius: 8px; text-decoration: none;
  color: var(--ink) !important; font-size: .9rem; border: 0 !important; }
.lang-list a:hover { background: var(--sand); }

/* Private area (BackOffice) login button, just before the language menu */
.login-btn { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); color: var(--white) !important; }
.login-btn:hover { background: var(--turquoise); border-color: var(--turquoise); color: var(--white) !important; }
.site-header.solid .login-btn, .site-header.always-solid .login-btn { border-color: var(--sand-2); background: var(--white); color: var(--ink) !important; }
.site-header.solid .login-btn:hover, .site-header.always-solid .login-btn:hover { background: var(--turquoise); color: var(--white) !important; }
.header-tools { display: flex; align-items: center; gap: .6rem; margin-left: 1.6rem; }
.bar .nav { margin-left: auto; }
@media (max-width: 760px) {
  .header-tools { margin-left: auto; gap: .4rem; }
  .menu-toggle { margin-left: .2rem; }
}

/* ---- private pages (Admin_*.asp) ---- */
.admin { background: var(--sand); }
.a-bar { background: var(--olive-dark); }
.a-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.a-bar .brand { color: var(--white); }
.a-bar nav { display: flex; gap: 1.2rem; }
.a-bar nav a { color: var(--white); text-decoration: none; font-weight: 500; }
.a-main { padding: 2rem 0 4rem; }
.a-main h1 { font-size: 2rem; }
.a-main h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.a-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; margin: 1rem 0; }
.a-ok { color: #0f5e5c; font-weight: 600; }
.a-err { color: var(--red); font-weight: 600; }
.a-sent { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.a-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; align-items: end; }
.a-form .full { grid-column: 1 / -1; }
.a-msg { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--sand); border-left: 4px solid var(--turquoise); border-radius: 8px; }
.a-prop { display: grid; grid-template-columns: 180px 1fr; gap: 1.2rem; }
.a-prop img { width: 180px; height: 135px; object-fit: cover; border-radius: 10px; }
.a-prop h3 { font-size: 1.15rem; margin: .2rem 0; }
.a-prop h3 a { color: var(--ink); text-decoration: none; }
.a-price { font-family: var(--serif); font-weight: 600; color: var(--olive-dark); }
.a-price s { color: var(--muted); font-weight: 400; margin-right: .5rem; }
.a-matches { list-style: none; padding: 0; margin: .8rem 0 0; }
.a-matches li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--sand-2); }
.a-matches form { margin: 0; }
.a-small { padding: .45rem .9rem; font-size: .85rem; }
.a-scroll { overflow-x: auto; }
.a-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .92rem; }
.a-table th, .a-table td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--sand-2); }
.a-table th { background: var(--sand-2); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.a-table a { color: var(--turquoise); }
.a-off { opacity: .55; }
@media (max-width: 640px) { .a-prop { grid-template-columns: 1fr; } .a-prop img { width: 100%; height: 180px; } }

/* ---- statistics (Admin_Stats.asp) ---- */
.s-period { display: flex; gap: .5rem; flex-wrap: wrap; }
.s-period a { padding: .4rem .9rem; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); }
.s-period a.on { background: var(--turquoise); color: var(--white); }
.s-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.s-kpis .a-card { margin: 1rem 0 0; }
.s-kpis b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--olive-dark); line-height: 1.1; }
.s-kpis span { color: var(--muted); font-size: .9rem; }
.s-chart { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding-top: .5rem; border-bottom: 1px solid var(--sand-2); }
.s-chart span { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; min-width: 1px; }
.s-chart i { position: absolute; bottom: 0; left: 0; right: 0; background: #b9e4e2; border-radius: 3px 3px 0 0; }
.s-chart i.v { left: 25%; right: 25%; background: var(--turquoise); }
.s-chart span:hover i { filter: brightness(.9); }
.s-legend { font-size: .85rem; margin: .6rem 0 0; }
.s-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #b9e4e2; vertical-align: middle; }
.s-dot.v { background: var(--turquoise); }
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.s-bars { list-style: none; margin: 0; padding: 0; }
.s-bars li { display: grid; grid-template-columns: minmax(90px, 1.2fr) 2fr auto; gap: .6rem; align-items: center; padding: .35rem 0; font-size: .92rem; }
.s-bar { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.s-bar i { display: block; height: 100%; background: var(--turquoise); border-radius: 999px; }
