/* ==========================================================================
   Masg - design system
   Warm, calm, professional. One accent (bronze), dark header, cream canvas.
   ========================================================================== */

:root {
  --brand: #b07a52;
  --brand-dark: #8e5f3c;
  --brand-soft: #f3e7dd;
  --ink: #2b2420;
  --ink-2: #5c524c;
  --muted: #8a7f78;
  --cream: #faf6f2;
  --surface: #ffffff;
  --line: #eae2db;
  --sage: #5f8a66;
  --sage-soft: #e8f0e9;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(60, 40, 30, 0.08);
  --shadow-lg: 0 24px 50px rgba(60, 40, 30, 0.14);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cream);
  --bs-link-color: var(--brand-dark);
  --bs-link-hover-color: var(--brand);
  --bs-border-color: var(--line);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 176, 122, 82;
  --bs-border-radius: var(--radius-sm);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
img { max-width: 100%; }
.skip-link { position: absolute; top: -60px; right: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { top: 8px; color: #fff; }
.site-main { min-height: 60vh; }

/* ---------- buttons */
.btn { border-radius: 999px; font-weight: 600; padding: 0.6rem 1.25rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: .9rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(176, 122, 82, .35); }
.btn-outline-brand { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn-outline-brand:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #3d322c; border-color: #3d322c; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; border: 1px solid var(--wa); }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark); }
.btn-outline-primary { --bs-btn-color: var(--brand-dark); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); }
.btn-outline-secondary { --bs-btn-color: var(--ink-2); --bs-btn-border-color: var(--line); --bs-btn-hover-bg: var(--surface); --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--muted); }

/* ---------- forms */
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line); padding: .65rem .9rem; background: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(176, 122, 82, .18); }
.form-label { font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.input-group .btn { border-radius: var(--radius-sm); }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--ink); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-header .navbar { padding: .5rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; }
.navbar-brand img { height: 42px; width: auto; }
.navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,.82); font-weight: 500; padding: .55rem .85rem; border-radius: 999px; }
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-user .nav-link-join { color: #e9c9ae !important; }
.navbar-toggler { border-color: rgba(255,255,255,.3); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .75rem 0 1rem; }
  .nav-user { border-top: 1px solid rgba(255,255,255,.12); margin-top: .5rem; padding-top: .5rem; }
}

/* ---------- hero */
.hero { position: relative; color: #fff; background: var(--ink) url("../images/hero.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(43,36,32,.92) 0%, rgba(43,36,32,.78) 45%, rgba(43,36,32,.35) 100%); }
.hero .container { position: relative; padding-top: 4.5rem; padding-bottom: 3.5rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; margin-bottom: 1.25rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; max-width: 14ch; }
.hero h1 em { font-style: normal; color: #e9c9ae; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 46ch; margin-bottom: 2rem; }
.hero-search { background: #fff; border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow-lg); max-width: 920px; }
.hero-search .form-select, .hero-search .form-control { border: 0; background: var(--cream); min-height: 52px; }
.hero-search .btn { min-height: 52px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 1.5rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-trust i { color: #e9c9ae; margin-left: .35rem; }
@media (max-width: 767.98px) { .hero .container { padding-top: 3rem; padding-bottom: 2.5rem; } }

/* ---------- stats strip */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .95rem; }
@media (max-width: 767.98px) { .stats .container { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.section-sub { color: var(--muted); margin: .25rem 0 0; }
.section-link { font-weight: 600; white-space: nowrap; }

/* ---------- therapist card */
.t-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; transition: transform .2s ease, box-shadow .2s ease; border: 1px solid var(--line); }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.t-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #efe6de; }
.t-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.t-card:hover .t-card-media img { transform: scale(1.04); }
.t-badge { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.95); color: var(--sage); font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.t-price-tag { position: absolute; bottom: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; }
.t-card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.t-card-title { font-size: 1.1rem; margin: 0; }
.t-card-title a { color: var(--ink); }
.t-card-loc { color: var(--muted); font-size: .9rem; }
.t-card-rating { font-size: .85rem; }
.t-card-text { color: var(--ink-2); font-size: .92rem; margin: .25rem 0 0; line-height: 1.55; }
.t-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0 .25rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; font-size: .8rem; color: var(--ink-2); }
.chip-brand { background: var(--brand-soft); color: var(--brand-dark); border-color: transparent; }
.chip-sage { background: var(--sage-soft); color: var(--sage); border-color: transparent; }
a.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.t-card-actions { display: flex; gap: .4rem; margin-top: auto; padding-top: .6rem; }
.stars { color: #e3a73c; letter-spacing: 1px; }
.stars-count { color: var(--muted); margin-right: .4rem; font-size: .85rem; }

/* ---------- treatment card */
.tr-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1rem; color: var(--ink); height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.tr-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.8rem; color: var(--brand-dark); overflow: hidden; }
.tr-icon img { width: 44px; height: 44px; object-fit: contain; }
.tr-name { font-weight: 700; }
.tr-count { font-size: .8rem; color: var(--muted); }

/* ---------- article card */
.a-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.a-card-media { display: block; aspect-ratio: 16 / 10; background: #efe6de; overflow: hidden; }
.a-card-media img { width: 100%; height: 100%; object-fit: cover; }
.a-card-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.5rem; color: var(--brand); }
.a-card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.a-card-kw { font-size: .78rem; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .04em; }
.a-card-title { font-size: 1.1rem; margin: 0; }
.a-card-title a { color: var(--ink); }
.a-card-text { color: var(--ink-2); font-size: .93rem; margin: 0; }
.a-card-date { color: var(--muted); font-size: .82rem; margin-top: auto; padding-top: .5rem; }

/* ---------- how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- city chips */
.city-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-cloud a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; color: var(--ink); font-weight: 500; transition: all .15s ease; }
.city-cloud a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.city-cloud a small { color: var(--muted); margin-right: .25rem; }

/* ---------- FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .6rem; overflow: hidden; background: var(--surface); }
.faq .accordion-button { font-weight: 600; background: var(--surface); color: var(--ink); box-shadow: none; padding: 1rem 1.2rem; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--ink-2); }

/* ---------- CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--radius); padding: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; font-size: 1.7rem; margin: 0 0 .35rem; }
.cta-band p { margin: 0; opacity: .92; }

/* ---------- page header */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 2rem 0 1.5rem; margin-bottom: 2rem; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .25rem; }
.page-head p { color: var(--muted); margin: 0; }
.crumbs .breadcrumb { margin: 0 0 .5rem; font-size: .85rem; }
.crumbs .breadcrumb-item + .breadcrumb-item::before { content: "‹"; float: right; padding-left: .5rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- filters */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; }
.filters .form-select, .filters .form-control { min-height: 46px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--muted); }
.pagination { --bs-pagination-color: var(--ink-2); --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-hover-color: var(--brand-dark); --bs-pagination-border-color: var(--line); margin-top: 2rem; }
.page-link { border-radius: 10px !important; margin: 0 3px; }

/* ---------- profile page */
.profile-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.profile-hero .container { padding-top: 1.5rem; padding-bottom: 2rem; }
.profile-gallery { border-radius: var(--radius); overflow: hidden; background: #efe6de; box-shadow: var(--shadow); }
.profile-gallery .carousel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.profile-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .25rem; }
.profile-thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .7; border: 2px solid transparent; }
.profile-thumbs img.active, .profile-thumbs img:hover { opacity: 1; border-color: var(--brand); }
.profile-name { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.verified-pill { display: inline-flex; align-items: center; gap: .3rem; background: var(--sage-soft); color: var(--sage); font-size: .85rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.profile-meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .5rem 0 1rem; }
.profile-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.profile-cta .btn { flex: 1 1 auto; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.info-card h2 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.info-card h2 i { color: var(--brand); }
.rich { color: var(--ink-2); line-height: 1.85; }
.rich h1, .rich h2, .rich h3, .rich h4 { font-size: 1.15rem; margin: 1.25rem 0 .5rem; color: var(--ink); }
.rich p { margin-bottom: .9rem; }
.rich ul, .rich ol { padding-right: 1.4rem; margin-bottom: 1rem; }
.rich img { border-radius: var(--radius-sm); margin: .75rem 0; }
.rich blockquote { border-right: 4px solid var(--brand); background: var(--cream); padding: .75rem 1rem; border-radius: 8px; }
.rich table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.rich td, .rich th { border: 1px solid var(--line); padding: .5rem .7rem; }
.price-table { width: 100%; }
.price-table th { font-weight: 600; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); padding: .5rem; }
.price-table td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .price { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.days-list { display: grid; gap: .5rem; }
.days-list .day { display: flex; justify-content: space-between; background: var(--cream); border-radius: 10px; padding: .55rem .8rem; }
.sticky-side { position: sticky; top: 90px; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.5rem; }
.contact-card h3 { color: #fff; font-size: 1.1rem; }
.contact-card .btn { width: 100%; margin-bottom: .5rem; }
.contact-card small { color: rgba(255,255,255,.7); }
.review { border-top: 1px solid var(--line); padding: 1rem 0; }
.review:first-of-type { border-top: 0; padding-top: 0; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .25rem; }
.review-name { font-weight: 700; }
.review-date { color: var(--muted); font-size: .82rem; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; font-size: 1.6rem; }
.rating-input input { display: none; }
.rating-input label { color: #d9cfc6; cursor: pointer; transition: color .1s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #e3a73c; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.share-row .btn { border-radius: 999px; }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }

/* ---------- auth / forms pages */
.auth-card { max-width: 520px; margin: 2rem auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: .25rem; }
.auth-card .lead-sm { color: var(--muted); margin-bottom: 1.5rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.order-card { max-width: 760px; margin: 0 auto; }
.order-steps { display: flex; gap: 1rem; justify-content: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.order-steps span { display: inline-flex; align-items: center; gap: .35rem; }
.order-steps i { color: var(--sage); }
.choice-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.choice-group input { display: none; }
.choice-group label { border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; background: #fff; font-weight: 500; }
.choice-group input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.success-box { text-align: center; padding: 2.5rem 1rem; }
.success-box .icon { width: 84px; height: 84px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 1rem; }

/* ---------- dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.dash-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.dash-nav a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; color: var(--ink-2); font-weight: 500; }
.dash-nav a.active, .dash-nav a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.dash-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.dash-card h2 { font-size: 1.2rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.dash-card h2 i { color: var(--brand); }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stat-tile { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem; text-align: center; }
.stat-tile .n { font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); }
.stat-tile .l { color: var(--muted); font-size: .85rem; }
.progress { height: 10px; border-radius: 999px; background: var(--line); }
.progress-bar { background: var(--sage); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: #efe6de; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: .3rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.gallery-item .tools button { font-size: .75rem; padding: .15rem .5rem; }
.gallery-item .is-main { position: absolute; top: 6px; right: 6px; background: var(--brand); color: #fff; font-size: .7rem; padding: .1rem .45rem; border-radius: 999px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .4rem .8rem; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.pending-banner { background: #fff6e5; border: 1px solid #f3d9a4; color: #7a5a1c; border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.table-soft { --bs-table-bg: transparent; }
.table-soft th { color: var(--muted); font-weight: 600; font-size: .85rem; border-bottom-color: var(--line); }
.table-soft td { vertical-align: middle; border-bottom-color: var(--line); }

/* ---------- misc */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state i { font-size: 2.5rem; color: var(--brand); display: block; margin-bottom: .75rem; }
.empty-state h3 { color: var(--ink); font-size: 1.25rem; }
.badge-soft { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.alert { border-radius: var(--radius-sm); border: 0; }
.alert-success { background: var(--sage-soft); color: var(--sage); }
.alert-danger { background: #fdecec; color: #a33a3a; }
.alert-info { background: #e9f1f8; color: #2f5d82; }
.alert-warning { background: #fff6e5; color: #7a5a1c; }
.dev-mail { font-size: .85rem; }
.dev-mail-body { background: #fff; border-radius: 8px; padding: .75rem; margin-top: .5rem; color: var(--ink); }
.back-top { position: fixed; bottom: 22px; left: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 1020; box-shadow: var(--shadow); }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: #fff; background: var(--brand); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: .75rem; }
.footer-about { color: rgba(255,255,255,.65); font-size: .93rem; max-width: 40ch; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.footer-social a:hover { background: var(--brand); }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-links a:hover { color: #e9c9ae; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-legal { display: flex; gap: 1rem; }
.footer-legal a { color: rgba(255,255,255,.6); }
.footer-legal a:hover { color: #fff; }
