/* ==========================================================
   Ujjawal Enterprises - design system
   ========================================================== */
:root {
  --ink: #1b1e23;          /* charcoal */
  --ink-2: #2a2f37;
  --text: #2b2f36;
  --muted: #5c6370;        /* 6.1:1 on bg */
  --bg: #f7f5f1;           /* warm concrete white */
  --surface: #ffffff;
  --concrete: #ebe7e0;
  --border: #ddd7cd;
  --primary: #f2b230;      /* safety amber, used with dark text */
  --primary-d: #d99a17;
  --accent: #9a5b06;       /* amber text/link, 5.6:1 on white */
  --success: #1f7a4a;
  --error: #b42318;

  --f-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + .4vw, 1.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6rem;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(27,30,35,.06), 0 6px 20px rgba(27,30,35,.07);
  --shadow-lg: 0 20px 50px rgba(27,30,35,.22);
  --max: 1200px;
  --stripe: repeating-linear-gradient(-45deg, var(--primary) 0 10px, var(--ink) 10px 20px);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1,h2,h3,h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; margin: 0 0 var(--s4); letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--s4); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--primary-d); outline-offset: 2px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: var(--s3) var(--s4); z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
.hp { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--radius); font-family: var(--f-head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--ink); }
.btn--primary:hover { background: var(--primary-d); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #c9ccd2; font-size: .875rem; display: none; }
.topbar__in { display: flex; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; gap: var(--s4); }
.topbar__right { display: flex; gap: var(--s5); }
.topbar a { color: var(--primary); font-weight: 600; text-decoration: none; }
@media (min-width: 900px) { .topbar { display: block; } }

.header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.header::after { content: ""; display: block; height: 4px; background: var(--stripe); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-head); }
.logo__text strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.logo__text small { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: #aab0b9; }

.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { position: fixed; inset: 72px 0 0 0; background: var(--surface); padding: var(--s5) 16px var(--s8); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.nav.is-open { transform: none; visibility: visible; }
.nav__list { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.nav__list > li { border-bottom: 1px solid var(--border); position: relative; }
.nav__list a { display: block; padding: .9rem 0; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.nav__list a[aria-current="page"] { color: var(--accent); }
.has-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.sub-toggle { width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 0 0 var(--s3) var(--s4); width: 100%; display: none; }
.sub.is-open { display: block; }
.sub a { font-weight: 600; font-size: 1rem; padding: .55rem 0; color: var(--text); }
.nav__cta { width: 100%; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav { position: static; transform: none; visibility: visible; padding: 0; overflow: visible; display: flex; align-items: center; gap: var(--s5); background: none; }
  .nav__list { display: flex; gap: var(--s5); margin: 0; }
  .nav__list > li { border: 0; }
  .nav__list a { font-size: .98rem; padding: 1.4rem 0; }
  .nav__list > li > a:hover { color: var(--accent); }
  .has-sub { flex-wrap: nowrap; }
  .sub-toggle { width: 24px; height: 24px; margin-left: 2px; }
  .sub { position: absolute; top: 100%; left: -1rem; width: 270px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: var(--s2) 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
  .sub a { padding: .55rem 1rem; }
  .sub a:hover { background: var(--bg); color: var(--accent); }
  .nav__cta { width: auto; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: var(--s4) 0 0; margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--border); }
.crumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: var(--s8) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--ink); color: #d6d9de; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-head); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--stripe); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--primary); }
.head { max-width: 680px; margin-bottom: var(--s7); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.section--dark .lead { color: #b8bdc5; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,22,26,.92) 0%, rgba(20,22,26,.78) 45%, rgba(20,22,26,.35) 100%); z-index: 1; }
.hero__in { position: relative; z-index: 2; display: grid; gap: var(--s6); padding-top: var(--s8); padding-bottom: var(--s8); align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__lead { font-size: var(--fs-lg); color: #dfe2e6; max-width: 54ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; color: #dfe2e6; font-size: var(--fs-sm); }
.hero__points li { display: flex; gap: .5rem; align-items: flex-start; }
.hero__points svg { flex: none; margin-top: 4px; color: var(--primary); }
.hero-card { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow-lg); border-top: 5px solid var(--primary); }
.hero-card h2 { font-size: 1.4rem; margin-bottom: var(--s2); }
.hero-card > p { color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: 1.2fr .9fr; padding-top: var(--s9); padding-bottom: var(--s9); gap: var(--s8); }
}
.hero--page .hero__in { grid-template-columns: 1fr; padding-top: var(--s8); padding-bottom: var(--s8); }
.hero--page h1 { max-width: 22ch; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: calc(var(--s7) * -1); position: relative; z-index: 3; box-shadow: var(--shadow); }
.stats div { background: var(--surface); padding: var(--s5); text-align: center; }
.stats strong { display: block; font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--ink); }
.stats span { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Value strip ---------- */
.values { display: grid; gap: var(--s4); }
.value { display: flex; gap: var(--s4); padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.value__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); background: var(--ink); color: var(--primary); }
.value h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.value p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } .value { flex-direction: column; } }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img { aspect-ratio: 16/10; background: var(--concrete); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--f-head); font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .12em; margin-bottom: var(--s2); }
.card h3 { margin-bottom: var(--s2); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.card__more { font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.card:hover .card__more { color: var(--accent); }

/* ---------- Split ---------- */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--concrete); }
.split__media::after { content: ""; position: absolute; width: 40%; height: 40%; right: -12px; bottom: -12px; background: var(--stripe); border-radius: var(--radius-lg); z-index: -1; opacity: .9; }
.split__media { z-index: 0; }
.checks { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' stroke='%231b1e23' stroke-width='2.5' fill='none'/%3E%3C/svg%3E") center/70% no-repeat; }
@media (min-width: 640px) { .checks--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { position: relative; padding: var(--s5); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: var(--ink-2); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: var(--s3); line-height: 1; }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { margin: 0; font-size: var(--fs-sm); color: #b8bdc5; }
.section--alt .steps li, .section:not(.section--dark) .steps li { background: var(--surface); border-color: var(--border); }
.section:not(.section--dark) .steps p { color: var(--muted); }
.section:not(.section--dark) .steps li::before { color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--concrete); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s5) var(--s4) var(--s4); background: linear-gradient(transparent, rgba(20,22,26,.88)); color: #fff; font-family: var(--f-head); font-weight: 700; }
.gallery figcaption small { display: block; font-family: var(--f-body); font-weight: 400; color: #d4d7dc; font-size: .85rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s5); }
.filters button { min-height: 42px; padding: .4rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 600 .95rem var(--f-body); color: var(--text); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.areas li { padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: var(--fs-sm); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s5) 2.5rem var(--s5) 0; position: relative; font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--concrete); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; background: var(--primary); }
.faq details p { color: var(--muted); padding-bottom: var(--s5); margin: 0; }

/* ---------- Reviews CTA ---------- */
.review-box { display: grid; gap: var(--s5); align-items: center; padding: var(--s6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.review-box__stars { color: var(--primary-d); font-size: 1.6rem; letter-spacing: .1em; }
@media (min-width: 800px) { .review-box { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s4); }
.form__row { display: grid; gap: var(--s4); }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: #fff; font: inherit; font-size: 1rem; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,178,48,.45); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { color: var(--error); font-size: .88rem; margin: .3rem 0 0; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; text-align: center; }
.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-panel { padding: var(--s6); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s4); }
.info-list li { display: flex; gap: var(--s4); }
.info-list .value__ic { width: 44px; height: 44px; }
.info-list strong { display: block; font-family: var(--f-head); color: var(--ink); }
.map { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-lg); background: var(--concrete); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: var(--s6); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #d6d9de; position: relative; }
.cta-band::before { content: ""; display: block; height: 6px; background: var(--stripe); }
.cta-band__in { display: grid; gap: var(--s5); padding-top: var(--s7); padding-bottom: var(--s7); align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: var(--s2); }
.cta-band p { margin: 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.footer { background: #131518; color: #aab0b9; padding: var(--s8) 0 calc(var(--s5) + 64px); font-size: var(--fs-sm); }
@media (min-width: 900px) { .footer { padding-bottom: var(--s5); } }
.footer__grid { display: grid; gap: var(--s6); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__h { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--s4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #d6d9de; text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer address { font-style: normal; line-height: 1.8; margin-bottom: var(--s4); }
.footer__about { margin-top: var(--s4); max-width: 34ch; }
.footer__hours span { color: #fff; font-weight: 600; }
.footer__social { display: flex !important; gap: var(--s4) !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); border-top: 1px solid #2a2e34; margin-top: var(--s7); padding-top: var(--s5); }
.footer__bottom p { margin: 0; }

/* ---------- Mobile bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 3px solid var(--primary); padding-bottom: env(safe-area-inset-bottom); }
.mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #fff; text-decoration: none; font: 600 .8rem var(--f-body); background: none; border: 0; cursor: pointer; }
.mbar a + a, .mbar button { border-left: 1px solid #2f343b; }
.mbar button { background: var(--primary); color: var(--ink); }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,17,20,.7); }
.modal__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--radius-lg); padding: var(--s6) var(--s5) var(--s5); border-top: 5px solid var(--primary); box-shadow: var(--shadow-lg); }
.modal__box h2 { font-size: 1.5rem; margin-bottom: var(--s2); }
.modal__sub { color: var(--muted); }
.modal__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: var(--concrete); border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
body.modal-open { overflow: hidden; }

/* ---------- Thank you / 404 ---------- */
.center-box { text-align: center; max-width: 620px; margin: 0 auto; padding: var(--s9) 0; }
.center-box .btns { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s5); }
