:root {
  --orange: #ff6d00;
  --orange-600: #e35f00;
  --orange-050: #fff3ea;
  --orange-100: #ffe2cc;
  --ink: #2b2a29;
  --ink-2: #3b3a38;
  --ink-900: #1c1b1a;
  --muted: #6b6762;
  --line: #e7e2dc;
  --bg: #faf8f6;
  --card: #fff;
  --green: #1f9d55;
  --green-050: #e8f6ee;
  --red: #d63b2f;
  --red-050: #fdecea;
  --blue-050: #eaf2fd;
  --blue: #1d5fbf;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(43, 42, 41, .06), 0 6px 20px rgba(43, 42, 41, .06);
  --shadow-lg: 0 18px 40px rgba(43, 42, 41, .14);
  --font: Barlow, "Segoe UI", system-ui, sans-serif;
  --font-head: "Barlow Condensed", Barlow, sans-serif;
  --font-ar: "Noto Kufi Arabic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: .01em; }
h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
[lang="ar"] { font-family: var(--font-ar); }
.hero__ar, .profile-hero__ar, .pcard__ar, .site-footer__ar, .page-head__ar, .safety__ar { text-align: left; }
small { font-size: .82em; }
code { background: var(--orange-050); padding: .1em .4em; border-radius: 5px; font-size: 1.05em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 1.4rem; }
.note { background: var(--orange-050); border-left: 3px solid var(--orange); padding: .7rem .9rem; border-radius: 0 8px 8px 0; margin: 1rem 0 0; }
.fineprint { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.icon--lg { width: 2rem; height: 2rem; }
.icon--xl { width: 3rem; height: 3rem; }

/* Buttons */
.btn {
  --b: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: .55rem 1.1rem;
  border: 1.5px solid var(--b); border-radius: 999px;
  background: #fff; color: var(--ink);
  font: 600 .98rem/1.1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn--primary { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(255, 109, 0, .28); }
.btn--primary:hover { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.btn--ghost { background: transparent; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #08361a; }
.btn--wa:hover { background: #1fb957; border-color: #1fb957; color: #052712; }
.btn--danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn--danger:hover { background: #b52d23; border-color: #b52d23; color: #fff; }
.btn--link { border: 0; background: none; padding: .3rem .4rem; min-height: 0; color: var(--orange-600); text-decoration: underline; }
.btn--link:hover { color: var(--ink); }
.btn--link.btn--danger { background: none; color: var(--red); }
.btn--sm { min-height: 36px; padding: .4rem .85rem; font-size: .9rem; }
.btn--lg { min-height: 52px; padding: .75rem 1.5rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 40px; min-height: 40px; height: 40px; }
.btn-row, .btn-col { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.btn-col { flex-direction: column; align-items: stretch; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-back { text-decoration: none; font-weight: 600; }

/* SOS bar + header */
.sos-bar { background: var(--ink-900); color: #f1ece6; font-size: .86rem; }
.sos-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; padding-block: .45rem; }
.sos-bar__label { display: inline-flex; align-items: center; gap: .4rem; color: #ffb27a; }
.sos-bar__numbers { display: flex; gap: 1rem; flex-wrap: wrap; }
.sos-bar a { color: #fff; text-decoration: none; }
.sos-bar a strong { color: var(--orange); margin-left: .2rem; }
.sos-bar a:hover strong { text-decoration: underline; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav > a:not(.btn) { padding: .5rem .8rem; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current="page"]:not(.btn) { background: var(--orange-050); color: var(--orange-600); }
.site-nav .btn { margin-left: .3rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: .6rem 1.25rem 1rem; gap: .2rem;
    box-shadow: var(--shadow-lg); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { margin: .3rem 0 0; }
  .brand img { height: 38px; }
  .sos-bar__label { display: none; }
  .sos-bar__inner { justify-content: center; }
}

.flashes { padding-top: 1rem; }
.flash { padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: .6rem; border: 1px solid; font-weight: 500; }
.flash--success { background: var(--green-050); border-color: #bfe6cf; color: #145c34; }
.flash--error { background: var(--red-050); border-color: #f5c3be; color: #8f2219; }
.flash--info { background: var(--blue-050); border-color: #c5d9f6; color: #18467f; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 85% 10%, rgba(255, 109, 0, .35), transparent 60%),
    linear-gradient(160deg, #2b2a29 0%, #1c1b1a 100%);
}
.hero::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 10px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 60px, transparent 60px 100px);
  opacity: .9;
}
.hero__inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--orange); margin-bottom: .8rem; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1; text-transform: uppercase; letter-spacing: .015em; margin-bottom: .4em; }
.hero h1 span { color: var(--orange); }
.hero__ar { font-size: clamp(1rem, 2vw, 1.25rem); color: #ffcaa3; margin-bottom: .8rem; text-align: left; }
.hero__lede { font-size: 1.12rem; color: #ddd6cf; max-width: 38rem; }
.hero__art { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero__art img { width: min(220px, 60%); border-radius: 30px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transform: rotate(-4deg); }
.hero__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; width: 100%; max-width: 300px; }
.hero__stats li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: .6rem 1rem; color: #e9e2db; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin-right: .35rem; }

.finder {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.6rem;
  background: #fff; color: var(--ink); padding: 1.1rem; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 640px;
}
.finder__field { display: grid; gap: .3rem; }
.finder__field > span { font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: .35rem; color: var(--muted); }
.finder__field .icon { color: var(--orange); }
.finder__check { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.finder .btn { grid-column: 2; }
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
}
@media (max-width: 560px) {
  .finder { grid-template-columns: 1fr; }
  .finder .btn { grid-column: 1; }
}

/* Forms */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 46px; padding: .6rem .8rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 109, 0, .18); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--orange); width: 1.15rem; height: 1.15rem; flex: none; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field label small, legend small { font-weight: 500; color: var(--muted); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { color: var(--red); font-size: .87rem; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: .55rem; font-weight: 500 !important; cursor: pointer; line-height: 1.4; }
.check input { margin-top: .12rem; }
.check--strong { font-weight: 700 !important; }
.check-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.switch { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: 1rem; cursor: pointer; }
.switch input { width: 1.3rem; height: 1.3rem; }
.form-actions { position: sticky; bottom: 0; padding: 1rem 0; background: linear-gradient(transparent, var(--bg) 35%); z-index: 5; }
.inline-form { display: inline; }

/* Sections */
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tight { padding-block: 1.5rem 3rem; }
.section--tint { background: #f3eee8; }
.section--dark { background: var(--ink); color: #f1ece6; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.section__head h2 { margin: 0; }
.section__sub { color: var(--muted); margin: 0; }

.page-head { background: var(--ink); color: #fff; padding-block: 2.2rem 2rem; }
.page-head h1 { margin-bottom: .2rem; }
.page-head p { color: #d9d2cb; margin: 0; }
.page-head--hero { padding-block: 3.5rem; background: radial-gradient(ellipse 60% 90% at 90% 0%, rgba(255, 109, 0, .35), transparent 60%), var(--ink); }
.page-head--hero h1 { max-width: 20ch; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head--hero p { max-width: 42rem; margin-bottom: 1.4rem; font-size: 1.1rem; }
.page-head__ar { color: #ffcaa3 !important; }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.grid-cards--2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 16 / 9; background: #efe9e2; display: block; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__media-empty { display: grid; place-items: center; height: 100%; color: #cbbfb2; }
.pcard__media-empty .icon { width: 64px; height: 64px; }
.pcard__badges { position: absolute; top: .6rem; left: .6rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.pcard__body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard__head { display: flex; gap: .75rem; align-items: center; margin-top: -2.4rem; }
.pcard__logo { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); flex: none; position: relative; }
.pcard__logo--empty { display: grid; place-items: center; background: var(--orange); color: #fff; font: 800 1.5rem var(--font-head); }
.pcard__head > div { padding-top: 1.6rem; min-width: 0; }
.pcard__name { margin: 0; font-size: 1.12rem; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__name a:hover { color: var(--orange-600); }
.pcard__ar { margin: 0; color: var(--muted); font-size: .85rem; }
.pcard__meta { margin: 0; color: var(--muted); font-size: .92rem; display: flex; gap: .35rem; align-items: flex-start; }
.pcard__meta .icon { color: var(--orange); margin-top: .15rem; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); }
.pcard__price strong { font-family: var(--font-head); font-size: 1.3rem; }
.pcard__actions { display: flex; gap: .4rem; }

.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.badge--247 { background: var(--ink); color: #fff; }
.badge--247 .icon { color: var(--orange); }
.badge--verified { background: var(--green); color: #fff; }
.badge--cover { position: absolute; top: .5rem; left: .5rem; background: var(--orange); color: #fff; }
.badge--xs { padding: .15rem .3rem; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { background: var(--orange-050); color: #8a3b00; font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.chips--lg li { font-size: .92rem; padding: .4rem .8rem; display: inline-flex; align-items: center; gap: .35rem; }

.empty { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty .icon { color: var(--orange); margin: 0 auto 1rem; }
.empty p { color: var(--muted); max-width: 32rem; margin-inline: auto; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.areas__gov { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; border: 1px solid var(--line); }
.areas__gov h3 { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; border-bottom: 2px solid var(--orange); padding-bottom: .45rem; margin-bottom: .6rem; }
.areas__gov h3 a { color: var(--ink); text-decoration: none; }
.areas__gov h3 a:hover { color: var(--orange-600); }
.areas__gov h3 span { color: var(--muted); font-size: .85rem; font-weight: 500; }
.areas__gov ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.areas__gov li { display: flex; justify-content: space-between; }
.areas__gov li a { color: var(--ink-2); text-decoration: none; }
.areas__gov li a:hover { color: var(--orange-600); text-decoration: underline; }
.areas__gov p { margin: 0; font-size: .9rem; }
.count { background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 0 .5rem; line-height: 1.6; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.steps__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange); color: #fff; font: 800 1.4rem var(--font-head); margin-bottom: .8rem; }
.steps p { color: var(--muted); margin: 0; }

/* Safety */
.safety { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.safety h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.safety__ar { color: var(--orange); font-size: 1.3rem; }
.safety__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.safety__list li { display: flex; gap: .75rem; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: .9rem 1rem; }
.safety__list .icon { color: var(--orange); margin-top: .2rem; }
.safety__list strong { color: #fff; }
.safety__list a { color: var(--orange); font-weight: 700; }
@media (max-width: 800px) { .safety { grid-template-columns: 1fr; } }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: linear-gradient(120deg, var(--orange-050), #fff); border: 1px solid var(--orange-100); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); }
.cta > div:first-child { max-width: 40rem; }
.cta p:last-child { color: var(--muted); margin: 0; }
.cta__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature .icon { color: var(--orange); margin-bottom: .8rem; }
.feature h2 { font-size: 1.35rem; }
.feature p { color: var(--muted); margin: 0; }

/* Directory */
.directory { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: .9rem; position: sticky; top: 90px; }
.filters label { display: grid; gap: .3rem; font-weight: 700; font-size: .88rem; }
.filters__check { display: flex !important; align-items: center; gap: .5rem; }
.filters__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters__actions .btn--primary { flex: 1; }
@media (max-width: 900px) {
  .directory { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: 1fr 1fr; }
  .filters__actions { grid-column: 1 / -1; }
}
@media (max-width: 540px) { .filters { grid-template-columns: 1fr; } }
.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination span { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Provider profile */
.profile-hero { background: var(--ink); color: #fff; padding-block: 2rem; }
.profile-hero__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.profile-hero__logo { width: 120px; height: 120px; border-radius: 22px; object-fit: contain; background: #fff; border: 4px solid #fff; }
.profile-hero__logo--empty { display: grid; place-items: center; background: var(--orange); border-color: var(--orange); color: #fff; font: 800 3.4rem var(--font-head); }
.profile-hero__badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .5rem; }
.profile-hero .badge--247 { background: rgba(255, 255, 255, .12); }
.profile-hero h1 { margin: 0; }
.profile-hero__ar { color: #ffcaa3; margin: .1rem 0 0; font-size: 1.1rem; }
.profile-hero__tagline { color: #ddd6cf; margin: .4rem 0 0; font-size: 1.08rem; }
.profile-hero__meta { margin: .6rem 0 0; color: #cfc7bf; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: center; }
.profile-hero__meta .icon { color: var(--orange); }
.profile-hero__meta span { display: inline-flex; gap: .35rem; align-items: center; }
.profile-hero__cta { display: grid; gap: .6rem; }
@media (max-width: 860px) {
  .profile-hero__inner { grid-template-columns: auto 1fr; }
  .profile-hero__cta { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .profile-hero__logo { width: 84px; height: 84px; border-radius: 16px; }
}
@media (max-width: 480px) { .profile-hero__cta { grid-template-columns: 1fr; } }

.profile { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; padding-block: 1.75rem 3rem; align-items: start; }
.profile__main { display: grid; gap: 1.25rem; min-width: 0; }
@media (max-width: 960px) { .profile { grid-template-columns: 1fr; } .profile__side { order: -1; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.6rem); margin-bottom: 1.25rem; }
.profile__main .panel, .profile__side .panel { margin-bottom: 0; }
.panel > h2:first-child { font-size: 1.4rem; display: flex; align-items: center; gap: .5rem; }
.panel--sticky { position: sticky; top: 90px; }
.panel--danger { border-color: #f5c3be; }
.panel--danger h2 { color: var(--red); }
@media (max-width: 960px) { .panel--sticky { position: static; } }
.prose { color: var(--ink-2); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.gallery__item { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #efe9e2; }
.gallery__item--wide { grid-column: span 3; aspect-ratio: 16 / 8; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .7rem .5rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .85rem; font-weight: 600; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__item--wide { grid-column: span 2; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 95vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 10, 10, .88); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox p { color: #fff; text-align: center; margin: .6rem 0 0; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; background: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }

.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { padding: .8rem .2rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rates th { font-weight: 600; }
.rates th small { display: block; color: var(--muted); font-weight: 400; }
.rates td { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; white-space: nowrap; color: var(--orange-600); }
.rates tr:last-child th, .rates tr:last-child td { border-bottom: 0; }

.tick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .45rem 1rem; }
.tick-grid li { display: flex; gap: .5rem; align-items: center; }
.tick-grid li.yes .icon { color: var(--green); }
.tick-grid li.no { color: #b3aca5; }
.tick-grid li.no .icon { color: #d4ccc4; }

.coverage { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.coverage__gov h3 { font-size: 1rem; margin-bottom: .3rem; }
.coverage__gov h3 span { color: var(--muted); font-weight: 500; font-size: .85rem; }
.coverage__gov h3 small { display: block; color: var(--green); font-weight: 600; }
.coverage__gov ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }

.contact-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; flex-wrap: wrap; }
.contact-list .icon { color: var(--orange); margin-top: .2rem; }
.contact-list a { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-list small { color: var(--muted); width: 100%; padding-left: 1.75rem; margin-top: -.5rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1rem; }
.facts div { background: var(--bg); border-radius: 10px; padding: .55rem .7rem; }
.facts dt { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; font-weight: 700; font-size: .95rem; }
.owner { display: flex; gap: .75rem; align-items: center; padding: .8rem 0; border-top: 1px solid var(--line); }
.owner img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.owner small { display: block; color: var(--muted); }
.creds { list-style: none; margin: 0; padding: .8rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.creds li { display: flex; gap: .5rem; align-items: center; }
.creds .icon { color: var(--green); }

.call-bar { display: none; }
@media (max-width: 760px) {
  .page-provider .call-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; position: sticky; bottom: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); z-index: 40; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
}

/* Auth */
.auth { padding: clamp(2rem, 6vw, 4rem) 1.25rem; display: grid; place-items: center; }
.auth__card { width: min(520px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.auth__card h1 { font-size: 2rem; margin-bottom: .2rem; }
.auth__card > p.muted { margin-bottom: 1.4rem; }
.auth__alt { text-align: center; color: var(--muted); font-size: .92rem; margin: 1rem 0 0; }

/* Account */
.account { display: grid; grid-template-columns: 260px 1fr; gap: 1.75rem; padding-block: 1.75rem 3rem; align-items: start; }
.account__main { min-width: 0; }
.account__main > h1 { font-size: 2.2rem; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; position: sticky; top: 90px; }
.account-nav__who { display: flex; gap: .7rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.account-nav__who img, .account-nav__placeholder { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; border: 1px solid var(--line); flex: none; }
.account-nav__placeholder { display: grid; place-items: center; background: var(--orange); color: #fff; font: 800 1.3rem var(--font-head); border: 0; }
.account-nav__who strong { display: block; line-height: 1.2; font-size: .95rem; overflow-wrap: anywhere; }
.account-nav nav { display: grid; gap: .1rem; }
.account-nav nav a, .account-nav__logout { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; background: none; border: 0; width: 100%; font-family: inherit; cursor: pointer; text-align: left; }
.account-nav nav a .icon, .account-nav__logout .icon { color: var(--muted); }
.account-nav nav a:hover, .account-nav__logout:hover { background: var(--bg); }
.account-nav nav a[aria-current="page"] { background: var(--orange-050); color: var(--orange-600); }
.account-nav nav a[aria-current="page"] .icon { color: var(--orange); }
@media (max-width: 900px) {
  .account { grid-template-columns: 1fr; }
  .account-nav { position: static; }
  .account-nav nav { grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; }
  .account-nav nav form { display: contents; }
}

.status { display: inline-block; font-size: .75rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.status--draft { background: #eee9e3; color: #5f5a54; }
.status--pending { background: #fff4d6; color: #8a5a00; }
.status--approved { background: var(--green-050); color: #145c34; }
.status--suspended { background: var(--red-050); color: #8f2219; }

.status-panel { border-left: 5px solid #d8d0c7; }
.status-panel--pending { border-left-color: #f2b705; }
.status-panel--approved { border-left-color: var(--green); }
.status-panel--approved h2 .icon { color: var(--green); }
.status-panel--suspended { border-left-color: var(--red); }
.status-panel form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.status-panel blockquote { margin: 0 0 1rem; padding: .7rem 1rem; background: var(--red-050); border-radius: 8px; }

.progress-head { display: flex; justify-content: space-between; align-items: baseline; }
.progress-head span { font-weight: 700; color: var(--orange-600); }
.progress { height: 10px; background: #f1ebe5; border-radius: 99px; overflow: hidden; margin-bottom: 1rem; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffa058); border-radius: 99px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.checklist li { display: flex; align-items: center; gap: .7rem; padding: .55rem .4rem; border-radius: 8px; }
.checklist li:hover { background: var(--bg); }
.checklist a { color: var(--ink); font-weight: 600; flex: 1; }
.checklist li.done a { color: var(--muted); text-decoration: line-through; text-decoration-color: #c9c1b8; }
.checklist__mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #f1ebe5; color: #b3aca5; flex: none; }
.checklist__mark .icon { width: 15px; height: 15px; }
.checklist li.done .checklist__mark { background: var(--green); color: #fff; }
.checklist--compact li { padding: .3rem 0; font-size: .9rem; }
.tag { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 99px; background: #eee9e3; color: var(--muted); white-space: nowrap; }
.tag--req { background: var(--red-050); color: var(--red); }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.stat-card:hover { border-color: var(--orange); color: var(--ink); }
.stat-card strong { display: block; font: 800 2rem/1 var(--font-head); color: var(--orange-600); }
.stat-card span { color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) { .stat-cards { grid-template-columns: 1fr 1fr; } }

.coverage-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; font-weight: 700; }
.coverage-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.coverage-picker__gov { background: var(--bg); border-radius: 12px; padding: .9rem 1rem; display: grid; gap: .45rem; align-content: start; }
.coverage-picker__gov legend { float: left; width: 100%; padding-bottom: .5rem; margin-bottom: .2rem; border-bottom: 2px solid var(--orange); }
.coverage-picker__gov legend span { color: var(--muted); font-weight: 500; font-size: .85rem; }
.coverage-picker__gov .check span { font-size: .82rem; margin-left: auto; }

.tile-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem; }
.tile-check { position: relative; cursor: pointer; }
.tile-check input { position: absolute; opacity: 0; }
.tile-check span { display: flex; align-items: center; gap: .55rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 11px; font-weight: 600; transition: all .15s; height: 100%; }
.tile-check span .icon { color: #c9c1b8; }
.tile-check input:checked + span { border-color: var(--orange); background: var(--orange-050); color: #8a3b00; }
.tile-check input:checked + span .icon { color: var(--orange); }
.tile-check input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.rate-presets { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1rem; font-weight: 600; font-size: .9rem; color: var(--muted); }
.rates-editor { display: grid; gap: .7rem; margin-bottom: .8rem; }
.rate-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(105px, 1fr) minmax(105px, 1fr) 84px minmax(115px, 1fr) minmax(0, 1.3fr) auto; gap: .5rem; align-items: end; background: var(--bg); border-radius: 12px; padding: .8rem; }
.rate-row .field { margin: 0; }
.rate-row .field label { font-size: .78rem; }
.rate-row__remove { margin-bottom: 3px; }
@media (max-width: 1100px) {
  .rate-row { grid-template-columns: 1fr 1fr 1fr; }
  .rate-row__label, .rate-row__notes { grid-column: span 3; }
  .rate-row__remove { grid-column: 3; justify-self: end; }
}
@media (max-width: 520px) {
  .rate-row { grid-template-columns: 1fr 1fr; }
  .rate-row__label, .rate-row__notes { grid-column: span 2; }
  .rate-row__remove { grid-column: 2; }
}

.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.media-pair .panel { margin-bottom: 1.25rem; }
@media (max-width: 760px) { .media-pair { grid-template-columns: 1fr; } }
.single-media { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.single-media__img { width: 110px; height: 110px; border-radius: 16px; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.single-media__img--profile { border-radius: 50%; object-fit: cover; }
.single-media__img--empty { display: grid; place-items: center; background: var(--bg); color: #c9c1b8; border-style: dashed; }

.upload { display: grid; gap: .8rem; }
.upload__drop { position: relative; display: grid; justify-items: center; gap: .25rem; text-align: center; padding: 1.3rem 1rem; border: 2px dashed #d8cfc5; border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.upload__drop:hover, .upload__drop.is-drag { border-color: var(--orange); background: var(--orange-050); }
.upload__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__drop .icon { color: var(--orange); }
.upload__text strong { color: var(--orange-600); }
.upload__hint { font-size: .82rem; color: var(--muted); }
.upload__files { font-size: .88rem; font-weight: 600; color: var(--ink); }
.upload__files:empty { display: none; }
.upload .btn { justify-self: start; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.media-grid__item { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.media-grid__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.media-grid__item figcaption { padding: .5rem; display: grid; gap: .3rem; }
.media-grid__actions { display: flex; justify-content: space-between; flex-wrap: wrap; }
.caption-form { display: flex; gap: .2rem; }
.caption-form input { min-height: 34px !important; padding: .3rem .5rem !important; font-size: .85rem; }
.media-grid--sm { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); margin: 1rem 0 0; }
.media-grid--sm img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }

.doc-block { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1.1rem; }
.doc-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.doc-list li { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; padding: .55rem .7rem; background: var(--bg); border-radius: 10px; }
.doc-list li > .icon { color: var(--orange); }
.doc-list a { font-weight: 600; }
.doc-list .muted { font-size: .85rem; }
.doc-list .inline-form { margin-left: auto; }

/* Admin */
.admin { padding-block: 1.75rem 3rem; }
.admin__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.admin__head p { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tabs a { padding: .6rem .9rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a span { background: #eee9e3; border-radius: 99px; padding: 0 .45rem; font-size: .8rem; margin-left: .2rem; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.admin__search { display: flex; gap: .5rem; margin-bottom: 1rem; max-width: 520px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table a { color: var(--ink); }
.admin-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .admin-grid { grid-template-columns: 1fr; } }
.verify-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.doc-review { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.doc-review:last-child { border-bottom: 0; }
.doc-review img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.doc-review__pdf { display: grid; place-items: center; width: 120px; height: 90px; background: var(--red-050); color: var(--red); border-radius: 8px; font-weight: 700; text-decoration: none; }
.doc-review p { margin: .1rem 0; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: .45rem 1rem; margin: 0; }
.kv dt { font-weight: 700; color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }
.admin-owner-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: .6rem; }

/* Footer */
.site-footer { background: var(--ink-900); color: #cfc7bf; padding-top: 3rem; margin-top: auto; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.site-footer__logo { width: 240px; margin-bottom: 1rem; }
.site-footer__blurb { max-width: 26rem; font-size: .95rem; }
.site-footer__ar { color: var(--orange); }
.site-footer__heading { font: 700 .82rem var(--font); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: .9rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__links a { color: #cfc7bf; text-decoration: none; }
.site-footer__links a:hover { color: var(--orange); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
.family { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.8rem 2.2rem; text-align: center; }
.family__label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8f877f; margin-bottom: 1rem; }
.family__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.4rem; }
.family__list a { display: flex; flex-direction: column; align-items: center; gap: .4rem; color: #e6dfd8; text-decoration: none; font-size: .78rem; font-weight: 600; min-width: 64px; }
.family__list img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); transition: transform .16s ease; }
.family__list a:hover img, .family__list a:focus-visible img { transform: translateY(-3px) scale(1.05); }
.family__copy { margin: 1.4rem auto 0; color: #8f877f; font-size: .8rem; max-width: 40rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
