/* ==========================================================================
   WebLuxe template: shared styles (header, footer, buttons, forms, motion).
   Colours and fonts come from config.js as CSS variables, so you rarely
   need to edit this file.
   ========================================================================== */
:root {
  /* brand (overwritten from config.js) */
  --primary: #0e2240; --accent: #e8833a; --dark: #0a1426; --light: #f5f7fa;
  --on-primary: #fff; --on-accent: #10141a;
  --font-head: system-ui, sans-serif; --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* surfaces, light theme */
  --bg: #ffffff; --bg-2: var(--light); --card: #ffffff; --text: #18202b; --text-2: #4a5565; --line: color-mix(in srgb, var(--text) 13%, transparent);
  --wa: #25d366; --wa-ink: #05301a; --ok: #12804a; --err: #b42318;
  /* 8px spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --sec: clamp(var(--s8), 10vw, var(--s16));
  --gut: clamp(var(--s2), 5vw, var(--s5)); --wrap: 1200px;
  --r: 10px; --r-lg: 18px; --r-pill: 999px;
  --shadow: 0 1px 2px rgb(10 20 40 / .06), 0 8px 24px -8px rgb(10 20 40 / .14);
  --shadow-lg: 0 2px 4px rgb(10 20 40 / .05), 0 24px 56px -16px rgb(10 20 40 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hd-h: 72px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: color-mix(in srgb, var(--dark) 92%, #000); --bg-2: var(--dark); --card: color-mix(in srgb, var(--dark) 80%, #fff 6%);
  --text: #eef2f7; --text-2: #b4bfcc; --line: rgb(255 255 255 / .12);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + var(--s2)); }
body { margin: 0; font: 400 1rem/1.6 var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .3s, color .3s; }
html.menu-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--s2); top: -60px; z-index: 300; background: var(--bg); color: var(--text); padding: var(--s1) var(--s2); border-radius: var(--r); box-shadow: var(--shadow); transition: top .2s; }
.skip:focus { top: var(--s2); }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#app { min-height: 100vh; }

/* layout and type */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec-alt { background: var(--bg-2); }
.h1, .h2, .h3 { font-family: var(--font-head); color: inherit; text-wrap: balance; }
.h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; }
.h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.25; font-weight: 650; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s1); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text, var(--accent)); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.sec-head { display: grid; gap: var(--s2); margin-bottom: clamp(var(--s4), 5vw, var(--s8)); max-width: 760px; }
.sec-head.center { text-align: center; justify-items: center; margin-inline: auto; }
.sec-head.center .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; }

/* buttons: 48px tall so they are easy to tap */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s3); border-radius: var(--r); border: 1.5px solid transparent; font-weight: 650; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i-go { transform: translateX(4px); }
.btn-lg { min-height: 56px; padding-inline: var(--s4); font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { box-shadow: 0 10px 24px -10px var(--primary); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { box-shadow: 0 10px 24px -10px var(--accent); transform: translateY(-2px); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-ghost { border-color: rgb(255 255 255 / .55); color: #fff; backdrop-filter: blur(6px); background: rgb(255 255 255 / .06); }
.btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1fc25c; transform: translateY(-2px); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s2); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link .i { transition: transform .25s var(--ease); }
.link:hover .i { transform: translateX(4px); }

/* demo strip */
.demo-strip { background: #070b12; color: #c5cdd8; font-size: .8rem; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--s2); padding: 6px var(--gut); }
.demo-strip p { display: flex; align-items: center; gap: 10px; }
.demo-strip p b { background: var(--accent); color: var(--on-accent); padding: 2px 7px; border-radius: 4px; font-weight: 700; }
.demo-strip nav { display: flex; gap: 4px; }
.demo-strip nav a { display: flex; gap: 6px; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: #c5cdd8; }
.demo-strip nav a[aria-current] { background: #fff; color: #070b12; }
.demo-strip nav a:not([aria-current]) span { display: none; }
@media (min-width: 760px) { .demo-strip nav a span { display: inline !important; opacity: .7; } }

/* header: sticky, and it slims down once you scroll */
.hd { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.hd.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgb(0 0 0 / .4); }
.hd-in { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; height: var(--hd-h); display: flex; align-items: center; gap: var(--s3); transition: height .35s var(--ease); }
.hd.is-scrolled .hd-in { height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1; min-height: 44px; }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--primary); color: var(--on-primary); font-size: 1.05rem; transition: transform .4s var(--ease); }
:root[data-theme="dark"] .logo-mark { background: var(--accent); color: var(--on-accent); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-img { height: 40px; width: auto; transition: height .35s var(--ease); }
.hd.is-scrolled .logo-img { height: 34px; }
.hd-nav { display: none; margin-left: auto; gap: clamp(var(--s2), 2.4vw, var(--s4)); }
.hd-nav a { position: relative; padding: 10px 0; font-weight: 600; text-decoration: none; color: var(--text-2); transition: color .2s; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hd-nav a:hover, .hd-nav a[aria-current] { color: var(--text); }
.hd-nav a:hover::after, .hd-nav a[aria-current]::after { transform: scaleX(1); }
.hd-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-btn { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-pill); font-weight: 700; font-size: .85rem; letter-spacing: .04em; transition: background-color .2s; }
.hd-btn:hover { background: var(--line); }
.hd-theme .i-sun { display: none; }
:root[data-theme="dark"] .hd-theme .i-sun { display: block; }
:root[data-theme="dark"] .hd-theme .i-moon { display: none; }
.hd-cta { display: none; }
.hd-burger { position: relative; }
.hd-burger span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.hd-burger span:nth-child(1) { top: 15px; } .hd-burger span:nth-child(2) { top: 21px; } .hd-burger span:nth-child(3) { top: 27px; }
.hd-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hd-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgb(0 0 0 / .35); padding: var(--s1) var(--gut) var(--s3); display: grid; gap: var(--s2); max-height: calc(100dvh - var(--hd-h)); overflow: auto;
  clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden; transition: clip-path .45s var(--ease-out), opacity .3s, visibility 0s .45s; }
.menu.open { clip-path: inset(0); opacity: 1; visibility: visible; transition: clip-path .45s var(--ease-out), opacity .3s; }
.menu nav { display: grid; }
.menu nav a { padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; text-decoration: none; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s var(--ease); }
.menu.open nav a { opacity: 1; transform: none; }
.menu.open nav a:nth-child(2) { transition-delay: .04s; } .menu.open nav a:nth-child(3) { transition-delay: .08s; } .menu.open nav a:nth-child(4) { transition-delay: .12s; } .menu.open nav a:nth-child(5) { transition-delay: .16s; } .menu.open nav a:nth-child(6) { transition-delay: .2s; } .menu.open nav a:nth-child(7) { transition-delay: .24s; }
.menu nav a[aria-current] { color: var(--accent-text, var(--accent)); }
@media (min-width: 960px) {
  .hd-nav { display: flex; }
  .hd-tools { margin-left: var(--s1); }
  .hd-burger, .menu { display: none; }
  .hd-cta { display: inline-flex; margin-left: var(--s1); min-height: 44px; }
}

/* footer */
.ft { background: var(--dark); color: #c9d2de; padding-top: var(--s10); }
.ft a { text-decoration: none; }
.ft-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: var(--s5) var(--s6); padding-bottom: var(--s8); }
.ft .logo { color: #fff; }
.ft .logo-mark { background: var(--accent); color: var(--on-accent); }
.ft-brand { display: grid; gap: var(--s2); align-content: start; max-width: 340px; }
.ft-brand > p { color: #9eabbb; }
.ft-col { display: grid; gap: 10px; align-content: start; }
.ft-col h2 { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.ft-col > a, .ft-col address a { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 32px; color: #c9d2de; transition: color .2s; }
.ft-col a:hover { color: #fff; }
.ft-col .i { margin-top: 3px; color: var(--accent); }
.social { display: flex; gap: var(--s1); }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); color: #fff; transition: background-color .2s, border-color .2s, transform .2s; }
.social a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-2px); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 8px 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; white-space: nowrap; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--text); }
.hours-ft th, .hours-ft td { border-color: rgb(255 255 255 / .1); padding: 6px 0; }
.hours-ft .is-today th, .hours-ft .is-today td { color: #fff; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); padding-block: var(--s3); border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; color: #8e9aab; }
.credit { display: inline-flex; gap: 4px; min-height: 32px; align-items: center; color: #c9d2de; }
.credit b { color: #fff; transition: color .2s; }
.credit:hover b { color: var(--accent); }

/* open now */
.open-badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.open-badge span { width: 10px; height: 10px; border-radius: 50%; background: #98a2b3; }
.open-badge.is-open span { background: #22c55e; box-shadow: 0 0 0 0 rgb(34 197 94 / .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }

/* WhatsApp button, bottom right */
.fab { position: fixed; right: var(--s2); bottom: calc(var(--s2) + env(safe-area-inset-bottom) + var(--fab-lift, 0px)); z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgb(0 0 0 / .45); transition: transform .3s var(--ease), bottom .3s var(--ease); animation: fab-in .6s 1s var(--ease-out) both; }
.fab .i { width: 32px; height: 32px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: fab-ring 3s 2s infinite; }
.fab:hover { transform: scale(1.06); }
.fab-tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: var(--dark); color: #fff; padding: 8px 12px; border-radius: var(--r); font-size: .88rem; font-weight: 600; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
@media (hover: hover) { .fab:hover .fab-tip { opacity: 1; transform: none; } }
@keyframes fab-in { from { transform: scale(0); } }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(1.5); opacity: 0; } }

/* forms */
.form { display: grid; gap: var(--s2); }
.fld { display: grid; gap: 6px; }
.fld .lbl { font-size: .9rem; font-weight: 650; }
.fld .lbl small { font-weight: 400; color: var(--text-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 128px; resize: vertical; }
.fld select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.fld :is(input, select, textarea):hover { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.fld :is(input, select, textarea):focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); }
:root[data-theme="dark"] .fld :is(input, select, textarea):focus { border-color: var(--accent); }
.fld :is(input, textarea):user-invalid { border-color: var(--err); }
.row-2 { display: grid; gap: var(--s2); }
@media (min-width: 560px) { .row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-status { padding: 12px 14px; border-radius: var(--r); font-weight: 600; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.form-status.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.form-status.wait { background: var(--bg-2); }
:root[data-theme="dark"] .form-status.ok { color: #6ee7a8; } :root[data-theme="dark"] .form-status.err { color: #fda4a4; }
.form-note { font-size: .86rem; color: var(--text-2); }

/* map: loads only when tapped */
.map { position: relative; width: 100%; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 46px 46px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 46px 46px, linear-gradient(120deg, transparent 47%, color-mix(in srgb, var(--accent) 30%, transparent) 47.5% 50%, transparent 50.5%), var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { display: inline-flex; align-items: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--primary); color: var(--on-primary); font-weight: 650; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease); }
.map:hover .map-btn { transform: scale(1.04); }

/* dialog */
.dlg { width: min(92vw, 520px); border: 0; padding: 0; border-radius: var(--r-lg); background: var(--card); color: var(--text); box-shadow: var(--shadow-lg); }
.dlg[open] { animation: dlg-in .35s var(--ease-out); }
.dlg::backdrop { background: rgb(6 10 18 / .6); backdrop-filter: blur(4px); }
.dlg-in { position: relative; padding: var(--s4) var(--s3) var(--s3); display: grid; gap: var(--s2); }
.dlg h2 { font: 700 1.35rem/1.2 var(--font-head); padding-right: var(--s5); }
.dlg-x { position: absolute; top: var(--s1); right: var(--s1); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.dlg-x:hover { background: var(--line); }
.dlg-msg { margin: 0; padding: 12px 14px; background: color-mix(in srgb, var(--wa) 14%, var(--card)); border-radius: 4px 14px 14px 14px; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 40vh; overflow: auto; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: var(--s1); justify-content: flex-end; margin-top: var(--s1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* lightbox */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(5 7 10 / .97); color: #fff; overflow: hidden; touch-action: pan-y; }
.lb::backdrop { background: #05070a; }
.lb-fig { position: absolute; inset: 56px 0 64px; display: grid; place-items: center; gap: var(--s1); padding: 0 var(--s1); }
.lb-fig img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.lb-fig img.lb-in { animation: lb-in .45s var(--ease-out); }
.lb-fig figcaption { color: #c9d2de; text-align: center; font-size: .95rem; }
.lb-x, .lb-nav { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; transition: background-color .2s; }
.lb-x:hover, .lb-nav:hover { background: rgb(255 255 255 / .22); }
.lb-x { top: var(--s1); right: var(--s1); }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: var(--s1); } .lb-next { right: var(--s1); }
.lb-n { position: absolute; bottom: var(--s2); left: 0; right: 0; text-align: center; font-variant-numeric: tabular-nums; color: #c9d2de; }
@keyframes lb-in { from { opacity: 0; transform: translateX(var(--dx, 0)) scale(.97); } }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: var(--s1); translate: none; } }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="zoom"] { transform: scale(.94); }
html:not(.ready) [data-reveal] { transition: none; }

/* stars, rating */
.stars { display: inline-flex; gap: 2px; color: #f5a524; }
.stars .i { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print { .hd, .fab, .demo-strip, .ft { display: none !important; } }

/* header laid over a photo hero: see-through and white until you scroll */
.hd.hd-over:not(.is-scrolled) { background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hd.hd-over:not(.is-scrolled) .hd-nav a { color: rgb(255 255 255 / .82); }
.hd.hd-over:not(.is-scrolled) .hd-nav a:hover, .hd.hd-over:not(.is-scrolled) .hd-nav a[aria-current] { color: #fff; }
.hd.hd-over:not(.is-scrolled) .hd-btn:hover { background: rgb(255 255 255 / .14); }
.hd.hd-over:not(.is-scrolled) .logo-mark { background: #fff; color: var(--primary); }
html.menu-open .hd.hd-over { background: var(--bg); color: var(--text); }
html.menu-open .hd.hd-over .logo-mark { background: var(--primary); color: var(--on-primary); }
.hero-under { margin-top: calc(-1 * var(--hd-h)); }
/* on phones, side-sliding reveals would push the page sideways: slide up instead */
@media (max-width: 759px) { [data-reveal="left"], [data-reveal="right"] { transform: translateY(24px); } }
.stars[role="img"] { vertical-align: middle; }
/* dark mode: the brand's dark colour would vanish on a dark page, so main buttons use the accent */
:root[data-theme="dark"] .btn-primary, :root[data-theme="dark"] .map-btn { background: var(--accent); color: var(--on-accent); }

/* ---------- page changes (the look of the cover is set per tier) ---------- */
html.tx-wait body { background: var(--primary); }
.tx { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); transform: translateY(101%); visibility: hidden; pointer-events: none; }
.tx.is-in { transform: none; visibility: visible; pointer-events: auto; transition: transform .65s cubic-bezier(.7, 0, .3, 1); }
.tx.tx-hold { transition: none !important; }
.tx.is-out { transform: translateY(-101%); visibility: visible; transition: transform .95s cubic-bezier(.7, 0, .2, 1) .12s, visibility 0s 1.1s; }
.tx-body { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 24px; }
.tx-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; font: 500 1.6rem/1 var(--font-head); }
.tx-label { font: 500 clamp(1.6rem, 5vw, 2.6rem)/1.1 var(--font-head); letter-spacing: -.01em; }
.tx.is-in .tx-body > * { animation: tx-up .6s .2s var(--ease-out) both; }
.tx.is-in .tx-label { animation-delay: .28s; }
.tx.is-out .tx-body { opacity: 0; transform: translateY(-30px); transition: opacity .35s, transform .5s var(--ease-out); }
@keyframes tx-up { from { opacity: 0; transform: translateY(18px); } }

/* ---------- the opening (scene set per tier) ---------- */
html.intro-on { overflow: hidden; }
html.intro-on body { background: var(--dark); }
html.intro-on .hero-rise, html.intro-on .phead-in > * { animation-play-state: paused !important; }
.opening { position: fixed; inset: 0; z-index: 500; overflow: hidden; background: var(--dark); color: #fff; cursor: pointer; }
.opening-skip { position: absolute; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 5; min-height: 44px; padding: 0 16px; color: rgb(255 255 255 / .7); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.opening-skip:hover { color: #fff; }
.opening.leave .opening-skip { opacity: 0; }
/* very narrow phones: the header buttons sit closer so a long business name still fits */
@media (max-width: 400px) { .hd-in { gap: 8px; } .hd-tools { gap: 0; } .hd-btn { min-width: 40px; } .logo-name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ==========================================================================
   LOW TIER: "Business Essentials". Clean, corporate, navy + one accent.
   ========================================================================== */
:root { --accent-text: color-mix(in srgb, var(--accent) 70%, var(--text)); }
:root[data-theme="dark"] { --accent-text: var(--accent); }

/* hero: the photo slowly zooms, the words rise in one after another */
.hero { position: relative; isolation: isolate; padding-block: clamp(var(--s10), 14vw, 160px) var(--s10); }
.hero-photo { color: #fff; min-height: min(100svh, 860px); display: grid; align-items: center; padding-top: calc(var(--hd-h) + var(--s8)); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--dark); }
.hero-bg img { width: 100%; height: 110%; object-fit: cover; animation: kenburns 22s var(--ease) both; will-change: transform; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--primary) 94%, transparent) 0%, color-mix(in srgb, var(--primary) 78%, transparent) 45%, color-mix(in srgb, var(--primary) 30%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--dark) 70%, transparent), transparent 40%); }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-in { display: grid; gap: var(--s3); justify-items: start; }
.hero .h1 { max-width: 15ch; }
.hero .lead { max-width: 54ch; }
.hero-photo .lead { color: rgb(255 255 255 / .86); }
.hero-photo .eyebrow { color: var(--accent); }
.hero .btns { margin-top: var(--s1); }
.hero-rise { animation: rise .9s var(--ease-out) both; }
.hero-rise:nth-child(2) { animation-delay: .1s; } .hero-rise:nth-child(3) { animation-delay: .2s; } .hero-rise:nth-child(4) { animation-delay: .3s; } .hero-rise:nth-child(5) { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid rgb(255 255 255 / .2); font-weight: 600; font-size: .95rem; }
.hero:not(.hero-photo) .hero-trust { border-color: var(--line); }
.hero-trust li { display: inline-flex; align-items: center; gap: var(--s1); }
.hero-trust .i { color: var(--accent); stroke-width: 2.6; }
.hero-scroll { position: absolute; left: 50%; bottom: var(--s3); width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgb(255 255 255 / .6); border-radius: 14px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 760px) and (min-height: 700px) { .hero-scroll { display: block; } }

/* about + numbers */
.about-in { display: grid; gap: var(--s6); align-items: center; }
.about-copy { display: grid; gap: var(--s2); }
.about-copy .sec-head { margin-bottom: var(--s1); }
.about-p { color: var(--text-2); font-size: 1.06rem; max-width: 60ch; }
.about-side { position: relative; }
.about-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-img:hover img { transform: scale(1.04); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.stats-over { margin: calc(-1 * var(--s8)) var(--s2) 0; position: relative; }
.stats > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s3) var(--s2); box-shadow: var(--shadow); display: flex; flex-direction: column-reverse; gap: 4px; }
.stats > div:first-child { background: var(--primary); color: var(--on-primary); border-color: transparent; }
:root[data-theme="dark"] .stats > div:first-child { background: var(--accent); color: var(--on-accent); }
.stats dd { font: 700 clamp(2rem, 5vw, 2.8rem)/1 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dt { font-size: .92rem; opacity: .82; font-weight: 500; }
@media (min-width: 960px) { .about-in { grid-template-columns: 1fr 1.05fr; gap: var(--s10); } .stats-over { margin-inline: calc(-1 * var(--s5)) var(--s4); } }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s2); }
.svc { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4) var(--s3); display: grid; gap: var(--s2); align-content: start; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc-n { position: absolute; top: var(--s2); right: var(--s3); font: 700 2.4rem/1 var(--font-head); color: var(--line); transition: color .3s; }
.svc:hover .svc-n { color: color-mix(in srgb, var(--accent) 35%, transparent); }
.svc-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--primary) 9%, transparent); color: var(--primary); transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
:root[data-theme="dark"] .svc-ic { background: rgb(255 255 255 / .08); color: var(--accent); }
.svc-ic .i { width: 26px; height: 26px; }
.svc:hover .svc-ic { background: var(--accent); color: var(--on-accent); transform: rotate(-6deg); }
.svc p { color: var(--text-2); }

/* why choose us: the dark band */
.why { background: var(--primary); color: var(--on-primary); overflow: hidden; }
:root[data-theme="dark"] .why { background: color-mix(in srgb, var(--primary) 55%, var(--dark)); }
.why .lead { color: color-mix(in srgb, var(--on-primary) 78%, transparent); }
.why .eyebrow { color: var(--accent); }
.why-in { display: grid; gap: var(--s6); align-items: center; }
.why-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-img figcaption { position: absolute; left: var(--s2); bottom: var(--s2); right: var(--s2); display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--dark) 78%, transparent); backdrop-filter: blur(8px); color: #fff; padding: var(--s2); border-radius: var(--r); font-weight: 600; }
.why-img figcaption .i { color: var(--accent); width: 28px; height: 28px; }
.why-list { display: grid; gap: var(--s3); }
.why-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); padding-bottom: var(--s3); border-bottom: 1px solid color-mix(in srgb, var(--on-primary) 14%, transparent); }
.why-list li:last-child { border: 0; padding-bottom: 0; }
.why-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.why-list p { color: color-mix(in srgb, var(--on-primary) 75%, transparent); margin-top: 4px; }
@media (min-width: 960px) { .why-in { grid-template-columns: .9fr 1.1fr; gap: var(--s10); } }
.logos { margin-top: var(--s10); }
.logos-t { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: var(--s3); }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee ul { display: flex; flex: none; gap: var(--s6); padding-right: var(--s6); align-items: center; animation: marquee 34s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { flex: none; opacity: .72; transition: opacity .3s; }
.marquee li:hover { opacity: 1; }
.marquee li span { font: 700 1.25rem/1 var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.marquee img { height: 36px; width: auto; filter: brightness(0) invert(1); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* call to action band */
.cta-band { background: linear-gradient(120deg, var(--dark), color-mix(in srgb, var(--primary) 85%, var(--dark))); color: #fff; padding-block: var(--s10); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); }
.cta-in { position: relative; display: grid; gap: var(--s3); align-items: center; }
.cta-band .lead { color: rgb(255 255 255 / .8); margin-top: var(--s1); }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1.3fr auto; } }

/* contact */
.contact-in { display: grid; gap: var(--s3); align-items: start; }
.ci-card, .ci-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(var(--s3), 4vw, var(--s5)); box-shadow: var(--shadow); }
.ci-card { display: grid; gap: var(--s3); }
.ci-list { display: grid; gap: var(--s2); }
.ci-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); align-items: center; }
.ci-list b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); font-weight: 650; }
.ci-list a { font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.ci-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ci-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--primary) 9%, transparent); color: var(--primary); }
:root[data-theme="dark"] .ci-ic { background: rgb(255 255 255 / .08); color: var(--accent); }
.ci-wa { background: color-mix(in srgb, var(--wa) 16%, transparent) !important; color: #128c4a !important; }
.ci-hours .h3 { margin-bottom: var(--s1); }
.ci-form .h3 { margin-bottom: var(--s1); }
.contact-map { margin-top: var(--s3); min-height: 340px; }
@media (min-width: 960px) { .contact-in { grid-template-columns: .85fr 1.15fr; } }


/* ---------- character: a small container mark instead of the line before headings ---------- */
.eyebrow::before { width: 12px; height: 8px; border-radius: 1px; background: var(--accent); }
.sec-head.center .eyebrow::after { display: none; }

