/* Hallmark · shape: Corporate service (by request: the client asked for the conventional Kathmandu security-company look) · genre: modern-minimal · theme: custom, the badge's charcoal, maroon and gold · job: hire
 * hero: Poster (full-bleed team photograph, overlay on its calm left) · nav: banner over a sticky bar · footer: index columns (real sitemap) · imagery: the client's own photographs, full colour · signature: the five guards on post behind "Your safety, our commitment."
 * fonts: Lexend over Source Sans 3 (ui-ux-pro-max "Corporate Trust") · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R4 V4 · weakest: S (a conventional category look, chosen by the client), carried by real photographs and the badge colours */
/* waive 58 site-wide: card grids of the category look the client chose · waive 3 (icon over a card title): the client asked for the category's service-card look; icons are inline SVG, aria-hidden · waive 58 on the blog and article pages: long-form reading */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- base voice ---------- */
body { font-family: var(--font-body); font-size: var(--text-md); line-height: 1.65; color: var(--color-ink-2); background: var(--color-bg); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-ink); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1.15; text-transform: none; }
h1 { font-size: var(--text-display); line-height: 1.08; max-width: 16ch; }
h2 { font-size: var(--text-section); max-width: 24ch; }
h3 { font-size: var(--text-title); font-weight: 600; line-height: 1.3; }
.lead { font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink-2); }
a { color: var(--color-maroon); }
a:hover { color: var(--color-maroon-deep); }
[lang="ne"] { font-family: "Noto Sans Devanagari", var(--font-body); }
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.center { text-align: center; }
.center h2, .center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 50px; padding: 0 28px; border: 2px solid transparent; border-radius: var(--radius-sm); font: 600 var(--text-md)/1 var(--font-head); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; transition: none; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn--gold { background: var(--color-gold); color: var(--color-on-gold); }
.btn--gold:hover { background: var(--color-gold-hover); color: var(--color-on-gold); }
.btn--maroon { background: var(--color-maroon); color: var(--color-white); }
.btn--maroon:hover { background: var(--color-maroon-deep); color: var(--color-white); }
.btn--ghost { border-color: currentColor; color: var(--color-white); background: transparent; }
.btn--ghost:hover { background: var(--color-white); border-color: var(--color-white); color: var(--color-ink); }
.btn--line { border-color: var(--color-maroon); color: var(--color-maroon); background: transparent; }
.btn--line:hover { background: var(--color-maroon); color: var(--color-white); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.on-dark :focus-visible, .hero :focus-visible, .footer :focus-visible, .topbar :focus-visible, .band-maroon :focus-visible, .banner :focus-visible { outline-color: var(--color-focus-dark); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--color-dark); color: var(--color-on-dark-muted); font-size: var(--text-sm); }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding-block: 10px; }
.topbar .group { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-on-dark); text-decoration: none; }
.topbar a:hover { color: var(--color-gold); }
.topbar .icon { width: 16px; height: 16px; color: var(--color-gold); }
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-white); box-shadow: 0 1px 0 var(--color-line), 0 8px 24px color-mix(in oklab, var(--color-ink) 6%, transparent); transition: transform var(--dur-short) var(--ease-out); }
.bar.is-hidden { transform: translateY(-100%); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 84px; }
.brand { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; }
.brand img { height: 60px; width: auto; }
.brand .wordmark { font: 700 1.35rem/1.1 var(--font-head); color: var(--color-ink); letter-spacing: -0.01em; }
.brand .wordmark small { display: block; font: 500 var(--text-xs)/1.3 var(--font-body); color: var(--color-maroon); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { font: 500 var(--text-md)/1 var(--font-head); color: var(--color-ink); text-decoration: none; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--color-maroon); }
.nav-links a[aria-current="page"] { color: var(--color-maroon); border-bottom-color: var(--color-gold); }
.nav-links .btn { min-height: 46px; padding: 0 22px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--space-md); border-radius: var(--radius-sm); background: var(--color-maroon); color: var(--color-white); font: 600 var(--text-sm)/1 var(--font-head); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.menu:not([open]) .nav-links { display: none; }
@media (max-width: 64rem) {
  .nav-links.desk { display: none; }
  .menu { display: block; position: relative; }
  .menu[open] .nav-links { position: absolute; right: 0; top: calc(100% + 14px); flex-direction: column; align-items: stretch; gap: 0; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-lift); min-width: 240px; padding: var(--space-sm); }
  .menu[open] .nav-links a:not(.btn) { display: block; padding: var(--space-sm); border-bottom: 0; }
  .menu[open] .nav-links .btn { margin-top: var(--space-xs); width: 100%; }
}
@media (max-width: 40rem) { .brand img { height: 48px; } .brand .wordmark { font-size: 1.15rem; } .topbar .container { justify-content: center; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap); }
.section--alt { background: var(--color-bg-alt); }
.on-dark { background: var(--color-dark); color: var(--color-on-dark-muted); }
.on-dark h2, .on-dark h3 { color: var(--color-on-dark); }
.on-dark .lead { color: var(--color-on-dark-muted); }
.on-dark a:not(.btn) { color: var(--color-gold); }
.head { margin-bottom: var(--space-2xl); display: grid; gap: var(--space-md); }
.head .lead { max-width: 60ch; }
.head.center { justify-items: center; }
.rule { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--color-gold); }
.head.center .rule { margin-inline: auto; }

/* ---------- hero (Poster) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: center; color: var(--color-on-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--color-dark) 94%, transparent) 0%, color-mix(in oklab, var(--color-dark) 80%, transparent) 42%, color-mix(in oklab, var(--color-dark) 25%, transparent) 100%); }
.hero .container { padding-block: var(--space-3xl) calc(var(--space-3xl) + 40px); }
.hero-text { max-width: 620px; display: grid; gap: var(--space-lg); }
.hero h1 { color: var(--color-white); }
.hero .lead { color: var(--color-on-dark); font-size: clamp(1.15rem, 0.5vw + 1rem, 1.375rem); max-width: 40ch; }
.hero .rule { width: 80px; }
@media (max-width: 60rem) { .hero::before { background: color-mix(in oklab, var(--color-dark) 78%, transparent); } .hero { min-height: 0; } }

/* stats band overlapping the hero foot */
.stats-wrap { position: relative; z-index: 2; margin-top: -56px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--color-maroon); color: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-lift); overflow: hidden; }
.stats > div { padding: var(--space-xl) var(--space-lg); display: grid; gap: var(--space-2xs); text-align: center; border-left: 1px solid color-mix(in oklab, var(--color-white) 18%, transparent); }
.stats > div:first-child { border-left: 0; }
.stats .num { font: 700 clamp(2.25rem, 3vw + 1rem, 3.25rem)/1 var(--font-head); color: var(--color-gold); font-variant-numeric: tabular-nums; }
.stats p { color: var(--color-white); font-weight: 500; }
@media (max-width: 60rem) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid color-mix(in oklab, var(--color-white) 18%, transparent); } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-text { display: grid; gap: var(--space-lg); align-content: start; }
.photo { margin: 0; position: relative; isolation: isolate; }
.photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.photo--accent::after { content: ""; position: absolute; z-index: -1; left: -18px; bottom: -18px; width: 55%; height: 55%; border-radius: var(--radius); background: var(--color-gold); }
.photo figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.on-dark .photo figcaption { color: var(--color-on-dark-muted); }
@media (max-width: 60rem) { .split, .split--wide-text { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .photo--accent::after { left: -10px; bottom: -10px; } }

/* check list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.checks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); }
.checks li { display: flex; gap: var(--space-sm); align-items: flex-start; color: var(--color-ink); font-weight: 500; }
.checks .icon { width: 22px; height: 22px; color: var(--color-white); background: var(--color-maroon); border-radius: 50%; padding: 4px; stroke-width: 3; margin-top: 2px; }
.on-dark .checks li { color: var(--color-on-dark); }
.on-dark .checks .icon { background: var(--color-gold); color: var(--color-on-gold); }
@media (max-width: 40rem) { .checks--two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--space-xl) 32px; display: grid; gap: var(--space-md); align-content: start; border-top: 4px solid transparent; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-top-color: var(--color-gold); }
.card p { color: var(--color-ink-2); }
.card .badge { width: 60px; height: 60px; border-radius: var(--radius); display: grid; place-items: center; background: var(--color-maroon); color: var(--color-gold); }
.card .badge .icon { width: 28px; height: 28px; }
.card a.more { font: 600 var(--text-sm)/1 var(--font-head); text-decoration: none; color: var(--color-maroon); }
.card a.more:hover { text-decoration: underline; }
.card a.stretch { text-decoration: none; color: inherit; }
.card a.stretch::after { content: ""; position: absolute; inset: 0; }
.card a.stretch:hover { color: var(--color-maroon); }
.card a.stretch:focus-visible { outline: none; }
.card:has(a.stretch:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.card--photo { padding: 0; overflow: hidden; }
.card--photo img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; object-position: center top; background: var(--color-bg-alt); }
.card--photo .card-body { padding: var(--space-lg) 28px var(--space-xl); display: grid; gap: var(--space-sm); }
.card .meta { font-size: var(--text-sm); color: var(--color-muted); }
.on-dark .card { background: var(--color-dark-2); box-shadow: none; }
.on-dark .card p { color: var(--color-on-dark-muted); }
.on-dark .card h3 { color: var(--color-on-dark); }
@media (max-width: 64rem) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .cards, .cards--4, .cards--2 { grid-template-columns: minmax(0, 1fr); } }

/* features (why us) */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.feature { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); border-top: 3px solid var(--color-maroon); }
.feature .icon { width: 40px; height: 40px; color: var(--color-maroon); stroke-width: 1.6; }
@media (max-width: 64rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- maroon call-to-action band ---------- */
.band-maroon { background: var(--color-maroon-deep); color: var(--color-white); padding-block: var(--space-2xl); }
.band-maroon .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.band-maroon h2 { color: var(--color-white); font-size: clamp(1.6rem, 1.5vw + 1rem, 2.25rem); max-width: 26ch; }
.band-maroon p { color: color-mix(in oklab, var(--color-white) 82%, var(--color-maroon-deep)); margin-top: var(--space-xs); }
.band-maroon .phone-big { font: 700 clamp(1.4rem, 1vw + 1rem, 1.9rem)/1 var(--font-head); color: var(--color-gold); text-decoration: none; display: inline-flex; gap: var(--space-sm); align-items: center; }
.band-maroon .phone-big:hover { color: var(--color-white); }
.band-maroon .phone-big .icon { width: 28px; height: 28px; }

/* ---------- page banner ---------- */
.banner { position: relative; isolation: isolate; color: var(--color-on-dark); padding-block: var(--space-3xl); overflow: hidden; }
.banner .banner-bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.banner .banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--color-dark) 94%, transparent), color-mix(in oklab, var(--color-maroon-deep) 72%, transparent)); }
.banner h1 { color: var(--color-white); font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem); max-width: 22ch; }
.banner .container { display: grid; gap: var(--space-md); }
.banner .lead { color: var(--color-on-dark); max-width: 56ch; }
.crumbs { font-size: var(--text-sm); color: var(--color-on-dark-muted); display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.crumbs a { color: var(--color-gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- particulars (definition rows) ---------- */
.particulars { margin: 0; display: grid; border-top: 3px solid var(--color-maroon); }
.particulars > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg); padding-block: var(--space-md); border-bottom: 1px solid var(--color-line); }
.particulars dt { font: 600 var(--text-md)/1.4 var(--font-head); color: var(--color-ink); }
.particulars dd { margin: 0; }
.on-dark .particulars { border-top-color: var(--color-gold); }
.on-dark .particulars > div { border-bottom-color: color-mix(in oklab, var(--color-white) 14%, transparent); }
.on-dark .particulars dt { color: var(--color-gold); }
@media (max-width: 40rem) { .particulars > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }

/* modules grid */
.modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); }
.modules li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-md); align-items: start; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--space-lg); }
.modules .n { width: 56px; height: 56px; border-radius: var(--radius); background: var(--color-maroon); color: var(--color-gold); display: grid; place-items: center; font: 700 var(--text-xl)/1 var(--font-head); }
.modules h3 { margin-bottom: var(--space-2xs); }
@media (max-width: 48rem) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: var(--space-sm); max-width: 860px; margin-inline: auto; }
.faq details { background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-lg) 28px; font: 600 var(--text-title)/1.35 var(--font-head); color: var(--color-ink); display: flex; justify-content: space-between; gap: var(--space-md); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--color-maroon); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius); }
.faq details > p { padding: 0 28px var(--space-lg); }

/* ---------- contact ---------- */
.info-cards .card a { font: 600 var(--text-md)/1.4 var(--font-head); overflow-wrap: anywhere; color: var(--color-ink); text-decoration: none; }
.info-cards .card a:hover { color: var(--color-maroon); }
.form-card { background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--space-xl); border-top: 4px solid var(--color-maroon); }
.form-card form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); margin-top: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 var(--text-sm)/1.3 var(--font-head); color: var(--color-ink); }
.field input, .field select, .field textarea { min-height: 50px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-sm); background: var(--color-white); color: var(--color-ink); transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid color-mix(in oklab, var(--color-maroon) 35%, transparent); outline-offset: 0; border-color: var(--color-maroon); background: var(--color-white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--color-error); }
.form-note { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); min-height: 100%; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
@media (max-width: 40rem) { .form-card { padding: var(--space-lg); } .form-card form { grid-template-columns: minmax(0, 1fr); } }

/* emblem */
.emblem { margin: 0; justify-self: center; width: min(100%, 400px); }
.emblem img { width: 100%; height: auto; filter: drop-shadow(0 20px 36px color-mix(in oklab, var(--color-ink) 22%, transparent)); }

/* ---------- blog ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: start; }
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--color-ink-2); max-width: 72ch; }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-xl); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--space-xs); }
.prose li::marker { color: var(--color-maroon); }
.prose strong { color: var(--color-ink); }
.prose a { color: var(--color-maroon); text-decoration: underline; }
.aside { position: sticky; top: 110px; display: grid; gap: var(--space-lg); }
.aside .card { padding: var(--space-lg); }
.aside .card:hover { transform: none; }
.aside .card--dark { background: var(--color-maroon-deep); }
.aside .card--dark h3 { color: var(--color-white); }
.aside .card--dark p { color: color-mix(in oklab, var(--color-white) 82%, var(--color-maroon-deep)); }
.aside .card--dark :focus-visible { outline-color: var(--color-focus-dark); }
.aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.aside ul a { color: var(--color-ink); text-decoration: none; font-weight: 600; }
.aside ul a:hover { color: var(--color-maroon); }
.post-meta { font-size: var(--text-sm); color: var(--color-on-dark-muted); }
@media (max-width: 60rem) { .post-layout { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }

/* ---------- footer ---------- */
.footer { background: var(--color-dark); color: var(--color-on-dark-muted); padding-top: var(--space-3xl); border-top: 4px solid var(--color-gold); }
.footer .cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--space-xl); }
.footer h3 { color: var(--color-white); font-size: var(--text-lg); margin-bottom: var(--space-md); }
.footer .about img { height: 96px; width: auto; margin-bottom: var(--space-md); }
.footer .tagline { color: var(--color-gold); font-weight: 600; margin-top: var(--space-sm); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.footer a { color: var(--color-on-dark); text-decoration: none; }
.footer a:hover { color: var(--color-gold); }
.footer .contact li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.footer .contact .icon { width: 20px; height: 20px; color: var(--color-gold); margin-top: 3px; }
.footer .legal { margin-top: var(--space-2xl); border-top: 1px solid color-mix(in oklab, var(--color-white) 12%, transparent); padding-block: var(--space-lg); font-size: var(--text-sm); }
@media (max-width: 64rem) { .footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .footer .cols { grid-template-columns: minmax(0, 1fr); } }

a.visually-hidden:focus-visible { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; z-index: var(--z-toast); background: var(--color-dark); color: var(--color-white); padding: var(--space-sm) var(--space-md); }

/* ---------- social icons ---------- */
.social { display: flex; gap: var(--space-sm); align-items: center; }
.soc { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--color-white); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.soc .icon { width: 22px; height: 22px; stroke-width: 2; color: var(--color-white); margin: 0; }
.soc--fb { background: var(--color-facebook); }
.soc--fb:hover { background: var(--color-facebook-hover); color: var(--color-white); }
.soc--wa { background: var(--color-whatsapp); }
.soc--wa:hover { background: var(--color-whatsapp-hover); color: var(--color-white); }
.soc:active { transform: scale(0.96); }
.soc:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.topbar .social--sm .soc { width: 30px; height: 30px; }
.topbar .social--sm .soc .icon { width: 16px; height: 16px; color: var(--color-white); }
.social--lg .soc { width: 52px; height: 52px; }
.social--lg .soc .icon { width: 26px; height: 26px; }
.footer .social { margin-top: var(--space-lg); }
.footer .social .icon { margin-top: 0; color: var(--color-white); }
.topbar .group { align-items: center; }

/* ---------- always-visible calls to action ---------- */
.bar.is-hidden { transform: none; }
.cta-dock { display: none; }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: var(--z-sticky-nav); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--color-whatsapp); color: var(--color-white); box-shadow: var(--shadow-lift); transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.wa-float:hover { background: var(--color-whatsapp-hover); color: var(--color-white); transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.wa-float .icon { width: 30px; height: 30px; stroke-width: 2; }
@media (max-width: 64rem) {
  .wa-float { display: none; }
  .cta-dock { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-nav); background: var(--color-dark); box-shadow: 0 -6px 20px color-mix(in oklab, var(--color-ink) 25%, transparent); padding-bottom: env(safe-area-inset-bottom); }
  .cta-dock a { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 60px; font: 600 var(--text-sm)/1 var(--font-head); text-decoration: none; color: var(--color-white); }
  .cta-dock .icon { width: 20px; height: 20px; stroke-width: 2; }
  .cta-dock .dock-call { background: var(--color-maroon); }
  .cta-dock .dock-wa { background: var(--color-whatsapp); }
  .cta-dock .dock-req { background: var(--color-gold); color: var(--color-on-gold); }
  .cta-dock a:active { filter: brightness(0.92); }
  .cta-dock a:focus-visible { outline: 3px solid var(--color-white); outline-offset: -5px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  /* the header keeps its action visible beside the menu */
  .bar .container { gap: var(--space-sm); }
}
@media (max-width: 40rem) {
  .topbar .container { justify-content: space-between; }
  .topbar .group:first-child a:nth-child(2), .topbar .group:first-child a:nth-child(3) { display: none; }
}
/* tap targets: 44px on touch screens */
.card a.more { display: inline-flex; align-items: center; min-height: 44px; }
.band-maroon .phone-big { min-height: 48px; }
@media (max-width: 64rem) {
  .topbar a, .topbar span { min-height: 40px; }
  .topbar .social--sm .soc { width: 40px; height: 40px; }
  .topbar .social--sm .soc .icon { width: 20px; height: 20px; }
  .topbar .container { padding-block: 4px; }
}
@media (max-width: 40rem) {
  .topbar .container { flex-wrap: nowrap; align-items: center; }
  .topbar .group:last-child > span { display: none; }
}

/* ---------- official brand marks (filled) ---------- */
.brand { display: block; fill: currentColor; stroke: none; }
.soc { overflow: hidden; }
.soc--fb { background: var(--color-white); }
.soc--fb:hover { background: var(--color-white); transform: translateY(-1px); }
.soc--fb .brand { width: 100%; height: 100%; color: var(--color-facebook); }
.soc--wa { background: var(--color-whatsapp); }
.soc--wa .brand { width: 56%; height: 56%; color: var(--color-white); }
.topbar .social--sm .soc .brand--whatsapp { width: 58%; height: 58%; }
.wa-float .brand { width: 32px; height: 32px; color: var(--color-white); }
.cta-dock .brand { width: 20px; height: 20px; color: var(--color-white); }
.card .badge .brand { width: 30px; height: 30px; color: var(--color-gold); }
/* WhatsApp green is light: white text sits on the deeper green for 4.5:1 */
.cta-dock .dock-wa { background: var(--color-whatsapp-deep); }
.wa-float { background: var(--color-whatsapp); }
/* top bar: keep the round social buttons centred (overrides .topbar a) */
.topbar a.soc { display: inline-grid; place-items: center; gap: 0; padding: 0; min-height: 0; flex: none; }
/* matched pair: brand-colour circle, white mark, same optical size */
.soc--fb { background: var(--color-facebook); }
.soc--fb:hover { background: var(--color-facebook-hover); transform: none; }
.soc--fb .brand { width: auto; height: 52%; color: var(--color-white); }
.soc--wa .brand, .topbar .social--sm .soc .brand--whatsapp { width: 56%; height: 56%; }
.card .badge .brand--facebook { width: auto; height: 28px; }

/* enquiry form extras */
.muted { color: var(--color-muted); font-weight: 400; }
.btn--wa { background: var(--color-whatsapp-deep); color: var(--color-white); }
.btn--wa:hover { background: var(--color-whatsapp-hover); color: var(--color-white); }
.btn--wa .brand { width: 20px; height: 20px; color: var(--color-white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.form-note[data-state="ok"] { color: var(--color-success, oklch(45% 0.12 150)); font-weight: 600; }
.form-note[data-state="error"] { color: var(--color-error); font-weight: 600; }
