/* Servd — shared styles */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Extended set, used for the naira sign ₦ */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+20A0-20AB, U+20AD-20C0, U+0100-024F; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+20A0-20AB, U+20AD-20C0, U+0100-024F; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }
:root {
  --ink: #1C2554;          /* adire indigo */
  --ink-deep: #141B3F;
  --paper: #F7F8FC;
  --surface: #FFFFFF;
  --line: #DADDEA;
  --muted: #5A6180;
  --kola: #F2B705;
  --kola-deep: #D99F00;
  --leaf: #2F7A55;
  --leaf-soft: #E5F2EA;
  --pepper: #B42318;
  --pepper-soft: #FBEAE8;
  --sun-soft: #FFF6D6;
  --radius-s: 6px;
  --radius-m: 12px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --adire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='2'%3E%3Ccircle cx='18' cy='18' r='11'/%3E%3Ccircle cx='18' cy='18' r='5'/%3E%3Ccircle cx='54' cy='54' r='11'/%3E%3Ccircle cx='54' cy='54' r='5'/%3E%3Cpath d='M36 4v20M36 48v20M4 36h20M48 36h20' stroke-dasharray='2 4'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.16'%3E%3Ccircle cx='54' cy='18' r='2.5'/%3E%3Ccircle cx='18' cy='54' r='2.5'/%3E%3Ccircle cx='36' cy='36' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--body);
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--kola); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden, [hidden] { display: none !important; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.spread { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }

/* Header */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.brand { font: 700 1.45rem var(--display); text-decoration: none; letter-spacing: -0.03em; display: flex; align-items: center; gap: .45rem; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); position: relative; }
.brand-mark::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid var(--kola); }
.site-head { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); }
.nav { display: flex; gap: 1.1rem; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .mob { display: none; }
.icon-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.icon-link svg, .btn-install svg, .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-install { min-height: 36px; padding: 0 .8rem; font-size: .9rem; border-color: var(--line); }
.btn-install svg { width: 18px; height: 18px; }

/* Bottom tab bar: phones and the installed app */
.tabbar { display: none; }
@media (max-width: 720px) {
  .nav .desk { display: none; }
  .nav .mob { display: inline-grid; }
  .nav { gap: .5rem; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset: auto 0 0 0; z-index: 30;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px;
    font-size: .72rem; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 10px;
  }
  .tabbar a[aria-current] { color: var(--ink); }
  .tabbar a[aria-current] svg { stroke: var(--ink); background: var(--sun-soft); border-radius: 99px; padding: 2px 14px; width: 50px; }
  body.has-tabbar { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* Buttons and fields */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: 0 1.15rem; border-radius: var(--radius-s);
  font: 600 1rem var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);
}
.btn:hover { background: #EEF0F8; }
.btn-main { background: var(--kola); border-color: var(--kola); color: var(--ink-deep); }
.btn-main:hover { background: var(--kola-deep); border-color: var(--kola-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-deep); }
.btn-danger { border-color: var(--pepper); color: var(--pepper); }
.btn-danger:hover { background: var(--pepper-soft); }
.btn-quiet { border-color: transparent; background: transparent; text-decoration: underline; padding: 0 .4rem; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn-block { width: 100%; }

label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=file] { padding: .45rem; font-size: .9rem; color: var(--muted); }
input[type=file]::file-selector-button {
  font: 600 .9rem var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: var(--radius-s); padding: .45rem .9rem; margin-right: .75rem; cursor: pointer;
}
input, select, textarea {
  width: 100%; min-height: 44px; padding: .6rem .75rem; font: 400 1rem var(--body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-s);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242,183,5,.45); }
.field + .field { margin-top: 1rem; }
.check { display: block; position: relative; padding-left: 2rem; font-weight: 400; line-height: 1.5; }
.check input { position: absolute; left: 0; top: 2px; width: 20px; min-height: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.panel + .panel { margin-top: 1rem; }
.section { padding: 3rem 0; }
.page { padding: 2rem 0 4rem; }

/* Notices */
.notice { padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--sun-soft); border-left: 4px solid var(--kola); }
.notice.good { background: var(--leaf-soft); border-color: var(--leaf); }
.notice.bad { background: var(--pepper-soft); border-color: var(--pepper); }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50;
  background: var(--ink-deep); color: #fff; padding: .75rem 1.1rem; border-radius: var(--radius-s);
  max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(20,27,63,.3);
}
.toast.bad { background: var(--pepper); }

/* Status pill */
.pill { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-size: .82rem; font-weight: 600; background: #EEF0F8; color: var(--ink); white-space: nowrap; }
.pill.good { background: var(--leaf-soft); color: var(--leaf); }
.pill.wait { background: var(--sun-soft); color: #7A5600; }
.pill.bad { background: var(--pepper-soft); color: var(--pepper); }

/* Hero (the one loud thing) */
.hero { background: var(--ink) var(--adire); color: #fff; padding: 4.5rem 0 4rem; }
.hero h1 { max-width: 14ch; }
.hero p { color: #D7DBF0; font-size: 1.15rem; max-width: 46ch; }
.hero .btn { border-color: #fff; }
.hero .btn:not(.btn-main) { background: transparent; color: #fff; }
.hero .btn:not(.btn-main):hover { background: rgba(255,255,255,.1); }

/* Service rows on the home page */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li { border-bottom: 1px solid var(--line); }
.services a {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center;
  padding: 1.25rem .25rem; text-decoration: none;
}
.services a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.services h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0; }
.services p { margin: .2rem 0 0; color: var(--muted); }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--kola); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.go { font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .services a { grid-template-columns: 48px 1fr; } .go { display: none; } .service-icon { width: 48px; height: 48px; } }

/* Steps (a real sequence) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; padding-top: 3rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 2px solid var(--ink); display: grid; place-items: center; font: 700 1rem var(--display);
}
.steps li:last-child::before { background: var(--leaf); border-color: var(--leaf); color: #fff; }

/* Provider list */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.5rem; }
.pros { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.pro { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; background: var(--surface); text-decoration: none; }
.pro:hover { background: #FAFBFE; }
.pro h3 { margin: 0 0 .15rem; }
.pro .from { text-align: right; }
.pro .from strong { font: 700 1.1rem var(--display); display: block; }
@media (max-width: 560px) {
  .pro { grid-template-columns: 56px 1fr; align-items: start; gap: .85rem; }
  .pro .from { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: .35rem; margin-top: -.2rem; }
  .pro .from strong { display: inline; }
}
.avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #E6E9F4; }
.avatar.big { width: 112px; height: 112px; }
@media (max-width: 560px) { .avatar { width: 56px; height: 56px; } .avatar.big { width: 88px; height: 88px; } }
.stars { color: #9A6B00; font-weight: 600; }

/* Packages */
.package { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: .2rem .85rem; align-items: start; padding: .95rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-m); cursor: pointer; background: var(--surface); transition: border-color .15s; }
.package:hover { border-color: #AEB4CF; }
.package + .package { margin-top: .6rem; }
.package input { width: 20px; min-height: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }
.package:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,37,84,.08); }
.package .price { font: 700 1.1rem var(--display); white-space: nowrap; text-align: right; }
@media (max-width: 560px) {
  .package { grid-template-columns: 20px minmax(0, 1fr); }
  .package .price { grid-column: 2; text-align: left; margin-top: .3rem; }
}
.summary { width: 100%; border-collapse: collapse; }
.summary td { padding: .35rem 0; }
.summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.summary tr.total td { border-top: 1.5px solid var(--ink); font-weight: 700; padding-top: .6rem; }

/* Booking / job items */
.item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.item:first-child { padding-top: 0; }
.item:last-child { border-bottom: 0; padding-bottom: 0; }
.item h3 { margin: 0 0 .2rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; margin: .6rem 0; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* Tabs */
.tabs { display: flex; gap: .25rem; border-bottom: 1.5px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 560px) {
  /* One scrollable row on phones instead of wrapping onto several lines */
  .tabs { gap: 0; margin-inline: -16px; padding-inline: 8px; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { padding: .7rem .75rem; font-size: .92rem; }
}
.tabs button {
  background: none; border: 0; padding: .7rem .9rem; font: 600 .95rem var(--body); color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1.5px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--kola); }

/* Tables (admin) */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--surface); }
table.data th, table.data td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { font-weight: 600; color: var(--muted); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
/* On phones, wide tables become a stack of cards; each cell shows its column name. */
.mob-only { display: none; }
@media (max-width: 720px) { .mob-only { display: inline; } table.data.stack td.desk-only { display: none; } }
@media (max-width: 720px) {
  table.data.stack, table.data.stack tbody { display: block; background: transparent; }
  table.data.stack thead { display: none; }
  table.data.stack tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: .6rem .9rem; margin-bottom: .75rem; }
  table.data.stack td { display: block; border: 0; padding: .3rem 0; text-align: right; overflow: hidden; }
  table.data.stack td::before { content: attr(data-label); float: left; color: var(--muted); font-weight: 600; text-align: left; margin-right: 1rem; }
  table.data.stack td[data-label=""]::before { content: none; }
  table.data.stack td.num { text-align: right; }
  table.data.stack td.head { display: block; text-align: left; font-weight: 600; font-size: 1.05rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
  table.data.stack td.head::before { content: none; }
  table.data.stack .row { justify-content: flex-end; }
  .table-wrap { overflow: visible; }
}

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 2.5rem 0 1.5rem; color: var(--muted); font-size: .92rem; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h3 { font-size: .95rem; color: var(--ink); margin-bottom: .6rem; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); text-decoration: none; padding: .25rem 0; }
.foot-grid a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
.foot-grid .brand { font-size: 1.25rem; margin-bottom: .6rem; }
.foot-grid p { max-width: 42ch; }
.foot-base { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

dialog { border: 0; border-radius: var(--radius-m); padding: 1.5rem; width: min(520px, 100% - 16px); max-height: 88vh; overflow: auto; color: var(--ink); }
.install-steps { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.install-steps li { margin: .5rem 0; }

/* Support conversations */
.thread { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0; }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: 14px; white-space: pre-line; font-size: .95rem; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg time { display: block; font-size: .75rem; opacity: .7; margin-top: .3rem; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--pepper); color: #fff; font-size: .75rem; font-weight: 700; margin-left: .3rem; }

/* Guide pages (SEO) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
details.faq { border-bottom: 1px solid var(--line); padding: .9rem 0; }
details.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::after { content: '+'; font: 700 1.2rem var(--display); }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin: .6rem 0 0; color: var(--muted); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem 1.5rem; padding: 0; list-style: none; }
.link-grid a { display: block; padding: .3rem 0; }
dialog::backdrop { background: rgba(20,27,63,.5); }

/* Photos */
.photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-m); background: #E6E9F4; }
.figure-wide { aspect-ratio: 16 / 9; margin: 1.5rem 0; }
.city-intro { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: center; }
.city-photo { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .city-intro { grid-template-columns: 1fr; gap: 1rem; } .city-photo { aspect-ratio: 16 / 9; } }

/* Policy pages */
.policy { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 3rem; align-items: start; }
.policy-nav { position: sticky; top: 84px; border-left: 2px solid var(--line); padding-left: 1rem; }
.policy-nav h2 { font-size: .95rem; margin-bottom: .5rem; }
.policy-nav a { display: block; padding: .3rem 0; color: var(--muted); text-decoration: none; font-size: .95rem; }
.policy-nav a:hover, .policy-nav a[aria-current] { color: var(--ink); }
.policy-nav a[aria-current] { font-weight: 600; }
@media (max-width: 860px) { .policy { grid-template-columns: 1fr; gap: 1.5rem; } .policy-nav { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; } }
.lead { font-size: 1.12rem; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: var(--radius-m); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.callout h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.callout ul { margin: 0; }
.prose h3 { margin-top: 1.25rem; }
.prose ol { padding-left: 1.2rem; }

/* Trust strip under booking buttons */
.trust-note { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }
.trust-note a { color: var(--muted); }

/* Booking chat */
dialog.chat { display: none; flex-direction: column; padding: 0; width: min(560px, 100% - 16px); height: min(720px, 88vh); max-height: none; overflow: hidden; }
dialog.chat[open] { display: flex; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem .8rem; border-bottom: 1px solid var(--line); }
.chat-safety { margin: 0; padding: .55rem 1.1rem; background: var(--sun-soft); color: #5C4300; max-width: none; }
.chat-thread { flex: 1; overflow-y: auto; margin: 0; padding: 1rem 1.1rem; background: var(--paper); }
.chat-form { display: flex; gap: .5rem; align-items: flex-end; padding: .75rem 1.1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.chat-form textarea { min-height: 44px; max-height: 140px; resize: none; flex: 1; }
.chat-warn { display: block; margin-top: .4rem; font-size: .78rem; font-weight: 600; opacity: .9; }
.msg.them .chat-warn { color: var(--pepper); }
@media (max-width: 560px) {
  dialog.chat { width: 100%; height: 100%; max-width: 100%; max-height: 100%; border-radius: 0; margin: 0; padding-top: env(safe-area-inset-top); }
}
.btn .badge { margin-left: .1rem; }
.tabbar a { position: relative; }
.tabbar .badge { position: absolute; top: 0; left: calc(50% + 6px); margin: 0; }

/* Home: photo collage in the hero, photo cards for services */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-m); aspect-ratio: 3 / 2; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.25); background: #2A336A; }
.hero-photos img:first-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photos { display: none; } }
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-cards a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.service-cards a:hover { box-shadow: 0 8px 24px rgba(28,37,84,.12); transform: translateY(-2px); }
.service-cards .photo { border-radius: 0; aspect-ratio: 3 / 2; display: block; }
.service-cards .card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.service-cards h3 { font-size: 1.35rem; margin: 0; }
.service-cards p { margin: 0; color: var(--muted); flex: 1; }
.service-cards .go { margin-top: .5rem; }
@media (max-width: 760px) {
  .service-cards { grid-template-columns: 1fr; gap: 1rem; }
  .service-cards a { flex-direction: row; }
  .service-cards .photo { width: 38%; aspect-ratio: auto; min-height: 100%; object-fit: cover; }
  .service-cards h3 { font-size: 1.15rem; }
  .service-cards .card-body { padding: .8rem .9rem; }
  .service-cards .go { display: block; font-size: .92rem; }
}

/* "Servd Verified" badge */
.verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; color: #1F6B47; background: var(--leaf-soft); border-radius: 99px; padding: .12rem .55rem .12rem .3rem; margin: .2rem 0; white-space: nowrap; }
.verified svg { width: 16px; height: 16px; fill: var(--leaf); flex: none; }
.verified.big { font-size: .9rem; padding: .2rem .7rem .2rem .35rem; }
.verified.big svg { width: 19px; height: 19px; }
.pro h3 + .verified { margin-top: .15rem; }

/* Agency team faces on search cards */
.team-strip { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; flex-wrap: wrap; }
.faces { display: inline-flex; }
.faces img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); margin-left: -8px; background: #E6E9F4; }
.faces img:first-child { margin-left: 0; }

/* Action rows on booking and job cards */
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
@media (max-width: 560px) { .actions .btn { flex: 1 1 auto; } }
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; margin-right: .1rem; }
.btn-sm { min-height: 36px; padding: 0 .8rem; font-size: .88rem; }
.mini-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.assign { display: grid; gap: .35rem; margin: .5rem 0 0; max-width: 360px; }

/* Provider dashboard header */
.dash-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.dash-head h1 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); margin: 0; line-height: 1.15; }
.dash-links { display: flex; gap: .5rem; }
@media (max-width: 600px) {
  .dash-head { grid-template-columns: auto minmax(0, 1fr); }
  .dash-links { grid-column: 1 / -1; }
  .dash-links .btn { flex: 1; }
}

/* Simple fact list (label above text on phones) */
.facts { display: grid; grid-template-columns: 180px 1fr; gap: .9rem 1.5rem; margin: 1rem 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; gap: .2rem; } .facts dd { margin-bottom: .8rem; } }

/* Footer: tighter on phones */
@media (max-width: 560px) {
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid a:not(.brand) { padding: .18rem 0; }
}

/* One-time "Get the app" suggestion */
.install-pop { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 48px 1fr; gap: .4rem .85rem; align-items: center; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(20,27,63,.18); transform: translateY(20px); opacity: 0; transition: transform .25s, opacity .25s; }
.install-pop.show { transform: none; opacity: 1; }
.install-pop img { border-radius: 12px; }
.install-pop strong { display: block; font: 700 1.05rem var(--display); }
.install-pop span { display: block; font-size: .9rem; color: var(--muted); }
.install-pop-actions { grid-column: 1 / -1; display: flex; gap: .5rem; justify-content: flex-end; }
@media (min-width: 761px) { .install-pop { left: auto; right: 24px; bottom: 24px; width: 380px; } }

#waitlist:empty, #next-booking:empty { display: none; }
#waitlist { margin-top: 2rem; }
.next-booking { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); }
.next-booking .avatar { width: 48px; height: 48px; }
.next-booking strong { display: block; }
.next-booking .go { margin-left: auto; }
@media (max-width: 560px) { .next-booking .go { display: none; } }

.more-filters { margin: -.75rem 0 1rem; padding-inline: 0; }

.btn-install .lbl-short { display: none; }
@media (max-width: 560px) { .site-head .btn-install { min-height: 34px; padding: 0 .6rem; gap: .3rem; } .site-head .btn-install .lbl-long { display: none; } .site-head .btn-install .lbl-short { display: inline; } }

/* Bottom bar hides while typing on phones (see app.js) */
@media (max-width: 720px) { body.typing .tabbar { display: none; } }

/* Gift cards */
.giftcard { position: relative; border-radius: 20px; padding: 1.4rem 1.4rem 1.2rem; min-height: 240px; display: flex; flex-direction: column; gap: .5rem; box-shadow: 0 18px 40px rgba(28,37,84,.16); overflow: hidden; }
.giftcard::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.35); }
.gc-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.gc-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.gc-emoji { font-size: 2.2rem; line-height: 1; }
.gc-to { font: 700 clamp(1.5rem, 4vw, 1.9rem) var(--display); line-height: 1.15; position: relative; z-index: 1; }
.gc-msg { margin: 0; font-size: 1.02rem; line-height: 1.45; opacity: .92; max-width: 40ch; }
.gc-what { font: 700 1.35rem var(--display); margin-top: auto; padding-top: .5rem; }
.gc-what small { display: block; font: 500 .9rem var(--body); opacity: .8; margin-top: .15rem; }
.gc-foot { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; font-weight: 600; border-top: 1px solid rgba(0,0,0,.08); padding-top: .7rem; margin-top: .3rem; }
.gc-brand { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--display); }
.gc-brand .brand-mark { width: 16px; height: 16px; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
@media (max-width: 560px) { .share-row .btn { flex: 1 1 auto; } }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; color: var(--muted); background: var(--surface); }
.chips input:checked + span { border-color: var(--ink); color: #fff; background: var(--ink); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,183,5,.45); }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.themes label { position: relative; }
.themes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.themes span { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: .7rem .75rem; border-radius: 12px; border: 2px solid transparent; font-size: .85rem; font-weight: 600; min-height: 78px; }
.themes span b { font-size: 1.4rem; line-height: 1; }
.themes input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,37,84,.1); }
.themes input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,183,5,.6); }
.credit-pill { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: #1F6B47; background: var(--leaf-soft); border-radius: 99px; padding: .15rem .65rem; font-size: .85rem; }

/* ---------- wallet, invite, home gift band ---------- */
.wallet-item { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.wallet-item:first-child { border-top: 0; padding-top: 0; }
.wi-emoji { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.invite { background: var(--sun-soft); border-color: #F3DE95; }
.invite-grid { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
@media (max-width: 560px) { .invite-grid { grid-template-columns: 1fr; } }
.refcode { display: flex; flex-direction: column; align-items: center; padding: .6rem 1.1rem; border: 2px dashed var(--kola-deep); border-radius: var(--radius-m); background: var(--surface); }
.refcode strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; color: var(--ink); }
.gift-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: 2.5rem; border-radius: 24px; background: linear-gradient(135deg, #FFF1E6 0%, #FCE4F2 55%, #E8EAF6 100%); }
.gift-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .6rem; }
.gift-band .stack-cards { position: relative; min-height: 270px; }
.gift-band .stack-cards .giftcard { position: absolute; inset: 0 0 auto 0; }
.gift-band .stack-cards .giftcard:first-child { transform: rotate(-5deg) translate(-14px, 12px); opacity: .9; }
.gift-band .stack-cards .giftcard:last-child { transform: rotate(2deg); }
@media (max-width: 820px) { .gift-band { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; } .gift-band .stack-cards { min-height: 260px; margin: 0 .75rem; } }
.summary td:last-child { white-space: nowrap; }
@media (max-width: 820px) { .gift-band .stack-cards .giftcard:first-child { display: none; } .gift-band .stack-cards .giftcard:last-child { transform: none; position: static; } .gift-band .stack-cards { min-height: 0; margin: 0; } }
.gift-band .stack-cards { min-height: 0; }
.gift-band .stack-cards .giftcard:first-child { display: none; }
.gift-band .stack-cards .giftcard:last-child { position: static; transform: rotate(2deg); }
@media (max-width: 820px) { .gift-band .stack-cards .giftcard:last-child { transform: none; } }
.gift-band .stack-cards .giftcard:only-child { display: flex; }

/* Visitors: one clear "Sign up" button in the header */
.nav a.btn-signup { color: var(--ink); min-height: 38px; padding: 0 1rem; font-size: .92rem; text-decoration: none; }
@media (max-width: 720px) { .nav a.btn-signup { min-height: 36px; padding: 0 .85rem; } .site-head .desk-install { display: none !important; } }
/* Header: "Sign up" is the only button. The app link is quiet. */
.site-head .btn-install { border-color: transparent; background: none; color: var(--muted); font-weight: 500; padding: 0 .4rem; box-shadow: none; }
.site-head .btn-install:hover { color: var(--ink); background: none; }
.pay-points { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .35rem; font-size: .88rem; color: var(--muted); }
.pay-points li { padding-left: 1.4rem; position: relative; }
.pay-points li::before { content: '✓'; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.foot-tag { font-family: var(--display); font-weight: 700; color: var(--ink); margin: .6rem 0 .25rem; }
