/* ---------- The firm's public website ----------
   Its own look, separate from the staff app: a marketing site, wide and
   bright, in the firm's accent colour (injected by _theme.html). System
   fonts only -- the content security policy allows no third-party font. */
:root {
  --s-ink: #0f172a; --s-text: #334155; --s-muted: #64748b; --s-line: #e2e8f0; --s-soft: #f8fafc;
  --s-card: #ffffff; --s-radius: 16px; --s-shadow: 0 10px 30px rgb(15 23 42 / .07);
  --s-green: #15803d; --s-amber: #b45309;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { margin: 0; font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--s-text); background: #fff; line-height: 1.55; font-size: 16px; }
.site a { color: var(--accent); text-decoration: none; }
.site a:hover { text-decoration: underline; }
.site h1, .site h2, .site h3 { color: var(--s-ink); line-height: 1.2; margin: 0 0 .5rem; }
.site h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.02em; }
.site h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.015em; }
.site h3 { font-size: 1.1rem; }
.site p { margin: 0 0 .8rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section.alt { background: var(--s-soft); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem; }
.lead-text { font-size: 1.15rem; color: var(--s-muted); max-width: 46rem; }
.center { text-align: center; } .center .lead-text { margin-left: auto; margin-right: auto; }
.muted { color: var(--s-muted); }
.small { font-size: .875rem; }

/* buttons */
.sbtn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .78rem 1.25rem;
  border-radius: 999px; font-weight: 650; border: 1px solid transparent; cursor: pointer; font-size: .95rem;
  text-decoration: none !important; transition: transform .12s, box-shadow .12s; font-family: inherit; }
.sbtn:hover { transform: translateY(-1px); }
.sbtn-primary { background: var(--accent); color: var(--on-accent, #fff) !important; box-shadow: 0 8px 20px rgb(var(--accent-rgb) / .28); }
.sbtn-ghost { background: #fff; color: var(--s-ink) !important; border-color: var(--s-line); }
.sbtn-wa { background: #16a34a; color: #fff !important; }
.sbtn-block { width: 100%; }
.sbtn svg { width: 18px; height: 18px; }

/* offer strip and header */
.offer-strip { background: var(--s-ink); color: #fff; font-size: .85rem; text-align: center; padding: .45rem 1rem; }
.offer-strip a { color: #fff; text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s-line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--s-ink) !important; font-weight: 800; font-size: 1.15rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--s-muted); }
.site-nav { display: flex; gap: 1.2rem; align-items: center; flex: 1; }
.site-nav > a, .site-nav summary { color: var(--s-text); font-weight: 600; font-size: .93rem; cursor: pointer; list-style: none; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav details { position: relative; }
.site-nav .menu { position: absolute; top: 2rem; left: -1rem; background: #fff; border: 1px solid var(--s-line); border-radius: 14px;
  box-shadow: var(--s-shadow); padding: .5rem; min-width: 15rem; display: grid; }
.site-nav .menu a { padding: .5rem .7rem; border-radius: 9px; color: var(--s-text); }
.site-nav .menu a:hover { background: var(--s-soft); text-decoration: none; }
.header-cta { display: flex; gap: .5rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--s-line); border-radius: 10px; padding: .45rem .6rem; }
@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  body.nav-open .site-nav { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--s-line); }
  body.nav-open .header-cta { display: flex; position: absolute; top: calc(68px + 15rem); left: 1.25rem; }
}

/* hero */
.hero { padding: 4rem 0 3.5rem; background:
  radial-gradient(60rem 30rem at 85% -10%, rgb(var(--accent-rgb) / .12), transparent 60%),
  radial-gradient(40rem 25rem at -10% 110%, rgb(22 163 74 / .08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--accent); }
.badge-pill { display: inline-flex; gap: .4rem; align-items: center; background: #fff; border: 1px solid var(--s-line);
  border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; color: var(--s-text); margin-bottom: 1rem; }
.badge-pill b { color: var(--s-green); }
.search-box { display: flex; background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .35rem;
  box-shadow: var(--s-shadow); max-width: 36rem; margin: 1.4rem 0 .8rem; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .6rem 1rem; font-size: 1rem; background: transparent; font-family: inherit; }
.search-box select { min-width: 0; max-width: 40%; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .85rem; }
.chip { border: 1px solid var(--s-line); border-radius: 999px; padding: .25rem .75rem; color: var(--s-text) !important; background: #fff; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; max-width: 36rem; }
@media (max-width: 560px) { .hero-cards { grid-template-columns: 1fr; } }
.hero-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1rem; }
.hero-card b { display: block; color: var(--s-ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; font-size: .85rem; color: var(--s-muted); }
.trust-row span::before { content: '✓ '; color: var(--s-green); font-weight: 800; }
.hero-visual { background: #fff; border: 1px solid var(--s-line); border-radius: 22px; box-shadow: var(--s-shadow); padding: 1.4rem; }
.track-line { display: flex; gap: .7rem; align-items: center; padding: .6rem 0; border-bottom: 1px dashed var(--s-line); }
.track-line:last-child { border-bottom: 0; }
.track-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: var(--s-green); font-size: .8rem; font-weight: 800; flex: none; }
.track-dot.now { background: rgb(var(--accent-rgb) / .15); color: var(--accent); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.4rem; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-line); }
.stat b { display: block; font-size: 2rem; color: var(--s-ink); letter-spacing: -.02em; }

/* cards & grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.scard { background: var(--s-card); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.3rem;
  display: flex; flex-direction: column; gap: .5rem; transition: box-shadow .15s, transform .15s; color: inherit !important; }
a.scard:hover { box-shadow: var(--s-shadow); transform: translateY(-2px); text-decoration: none; }
.scard .tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--s-soft); color: var(--s-muted); }
.tag.off { background: #fef3c7; color: var(--s-amber); }
.tag.feat { background: rgb(var(--accent-rgb) / .1); color: var(--accent); }
.price { font-size: 1.45rem; font-weight: 800; color: var(--s-ink); }
.price s { font-size: .95rem; color: var(--s-muted); font-weight: 500; margin-left: .35rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .9rem; }
.ticks li::before { content: '✓'; color: var(--s-green); font-weight: 800; margin-right: .45rem; }
.crosses li::before { content: '✕'; color: #b91c1c; }
.meta-row { display: flex; gap: .8rem; font-size: .82rem; color: var(--s-muted); margin-top: auto; padding-top: .4rem; }
.cat-card { align-items: flex-start; }
.cat-card .n { font-size: .82rem; color: var(--s-muted); }
.step-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .1);
  color: var(--accent); font-weight: 800; }
.person { text-align: center; align-items: center; }
.person img, .person .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: rgb(var(--accent-rgb) / .12);
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--accent); }
.quote { font-size: 1rem; color: var(--s-text); }
.stars { color: #f59e0b; letter-spacing: .1em; }
.faq details { border: 1px solid var(--s-line); border-radius: 12px; padding: 1rem 1.2rem; background: #fff; margin-bottom: .7rem; }
.faq summary { font-weight: 650; color: var(--s-ink); cursor: pointer; }
.faq details p { margin: .7rem 0 0; }

/* forms */
.sform { display: grid; gap: .8rem; }
.sform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .sform .row2 { grid-template-columns: 1fr; } }
.sform label { font-size: .85rem; font-weight: 600; color: var(--s-ink); display: grid; gap: .3rem; }
.sform input, .sform select, .sform textarea { font: inherit; padding: .7rem .85rem; border: 1px solid var(--s-line); border-radius: 10px;
  background: #fff; color: var(--s-ink); width: 100%; }
.sform input:focus, .sform select:focus, .sform textarea:focus { outline: 2px solid rgb(var(--accent-rgb) / .35); border-color: var(--accent); }
.hp { position: absolute; left: -5000px; }
.form-card { background: #fff; border: 1px solid var(--s-line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--s-shadow); }
.flash { padding: .8rem 1rem; border-radius: 12px; margin: 1rem 0; font-weight: 600; }
.flash.success { background: #dcfce7; color: #14532d; } .flash.error { background: #fee2e2; color: #7f1d1d; }

/* service page */
.svc-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } }
.price-card { position: sticky; top: 90px; }
.price-card .price { font-size: 2.2rem; }
.breakdown { font-size: .88rem; color: var(--s-muted); display: grid; gap: .15rem; margin: .4rem 0 1rem; }
.toolbar { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin: 1.4rem 0; }
.toolbar .chip.on { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.steps-list { counter-reset: s; display: grid; gap: .8rem; }
.steps-list div { counter-increment: s; display: flex; gap: .8rem; }
.steps-list div::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: rgb(var(--accent-rgb) / .12);
  color: var(--accent); font-weight: 800; display: grid; place-items: center; flex: none; }

/* calendar */
.cal-month { margin-bottom: 2rem; }
.cal-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--s-line);
  border-radius: 12px; margin-bottom: .5rem; background: #fff; }
.cal-row.past { opacity: .55; }
.cal-date { text-align: center; font-weight: 800; color: var(--s-ink); line-height: 1.1; }
.cal-date small { display: block; font-weight: 600; color: var(--s-muted); font-size: .72rem; text-transform: uppercase; }
table.stable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--s-line); border-radius: 12px; overflow: hidden; }
table.stable th, table.stable td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--s-line); font-size: .93rem; }
table.stable th { background: var(--s-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--s-muted); }
/* On a phone the Delivery column goes (each service's own page shows it) so
   the price and the Book button stay on screen without scrolling sideways. */
@media (max-width: 600px) {
  table.stable th, table.stable td { padding: .6rem .55rem; font-size: .86rem; }
  table.stable .col-delivery { display: none; }
}

/* footer */
.site-footer { background: var(--s-ink); color: #cbd5e1; padding: 3.5rem 0 2rem; font-size: .92rem; overflow-wrap: anywhere; }
.site-footer a { color: #e2e8f0; }
/* minmax(0, …): a plain 1fr column will not shrink below its longest word,
   and the firm's email address then pushes the page wider than a phone. */
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-cities { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #1e293b; font-size: .82rem; line-height: 2; }
.foot-cities a { margin-right: .9rem; color: #94a3b8; display: inline-block; }
.foot-base { margin-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: #94a3b8; }
.newsletter { display: flex; gap: .5rem; max-width: 30rem; }
.newsletter input { flex: 1; padding: .7rem 1rem; border-radius: 999px; border: 1px solid #334155; background: #0b1222; color: #fff; font: inherit; }

/* floating help, popups */
.float-help { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: grid; gap: .5rem; justify-items: end; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; box-shadow: 0 10px 25px rgb(0 0 0 / .2); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn.wa { background: #16a34a; } .float-btn.call { background: var(--accent); }
.modal { position: fixed; inset: 0; z-index: 100; background: rgb(15 23 42 / .55); display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 22px; padding: 1.8rem; width: min(26rem, 100%); position: relative; box-shadow: 0 30px 60px rgb(0 0 0 / .25); }
.modal-close { position: absolute; top: .8rem; right: .9rem; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--s-muted); }
.modal-box h3 { font-size: 1.5rem; }
.calc { display: grid; gap: .8rem; }
.calc-out { background: var(--s-soft); border-radius: 12px; padding: 1rem; font-weight: 600; color: var(--s-ink); }
