@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* Mainhome v5. Materials of a modern house: concrete (the ground), glass (the action colour), timber (warm accent)
   and charcoal steel (type). One typeface: Schibsted Grotesk. Light theme by design.
   Surfaces are frosted glass: translucent fills over a soft tinted backdrop, blurred with backdrop-filter, with a light
   top edge and a soft shadow. Our own recipe (see "Glass surfaces" below); it falls back to solid panels when the
   browser can't blur or the visitor asks for less transparency. */
:root {
  --concrete: #E8E7E3;
  --concrete-2: #DCDBD6;
  /* Glass fills. --white and --paper are the surfaces every page uses, so the whole site turns to glass from here. */
  --white: rgba(255, 255, 255, 0.58);
  --paper: rgba(255, 255, 255, 0.42);
  --solid: #FFFFFF;
  --field: rgba(255, 255, 255, 0.82);
  --frost-strong: rgba(255, 255, 255, 0.86);
  --frost-edge: rgba(255, 255, 255, 0.72);
  --frost-blur: 22px;
  --frost-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 18px 44px -26px rgba(22, 34, 31, 0.38);
  --ink: #1C1F21;
  --ink-2: #2B2F31;
  --muted: #5E6461;
  --faint: #8A8F8B;
  --line: #CFCFC9;
  --glass: #2F6E68;
  --glass-deep: #245752;
  --glass-soft: #DCEBE8;
  --glass-tint: rgba(255, 255, 255, 0.14);
  --timber: #A8683A;
  --timber-soft: #F2E4D7;
  --err: #A33B22;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--concrete); color: var(--ink); position: relative; isolation: isolate; font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--glass); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--timber); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; }
h4 { font-size: 1rem; line-height: 1.35; letter-spacing: -0.01em; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 56ch; }
.fine { font-size: 0.88rem; color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
.wrap.narrow { max-width: 760px; }
@media (max-width: 480px) { .wrap { padding-inline: max(16px, env(safe-area-inset-left, 0px)); } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.045em; line-height: 1; }
.brand.light { color: #FFFFFF; }

/* Header: transparent over the hero, solid once you scroll */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(232, 231, 227, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(28, 31, 33, 0.08); }
.site-head .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; color: var(--muted); font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); background: rgba(28, 31, 33, 0.05); }
.tabs a.on { color: var(--ink); background: var(--white); font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 900px) { .site-head .row { height: auto; flex-wrap: wrap; padding-block: 10px 6px; row-gap: 6px; } .tabs { order: 3; width: 100%; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--font); padding: 14px 22px; border-radius: 999px; border: 0; background: var(--ink); color: #FFFFFF; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.btn:hover { background: var(--ink-2); }
.btn.glass { background: var(--glass); }
.btn.glass:hover { background: var(--glass-deep); }
.btn.timber { background: var(--timber); }
.btn.light { background: #FFFFFF; color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.sm { padding: 9px 16px; font-size: 0.93rem; }
.btn.block { width: 100%; white-space: normal; text-align: center; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Chips (service picker) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 14px; font-size: 0.93rem; font-weight: 500; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.chip input:checked + span { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--timber); outline-offset: 2px; }
.chips.on-dark .chip span { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.chips.on-dark .chip input:checked + span { background: #FFFFFF; color: var(--ink); }

/* Price and badges */
.price-tag { display: inline-flex; align-items: baseline; gap: 4px; background: var(--timber-soft); color: #6E4120; font-weight: 800; padding: 3px 10px; border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--glass-soft); color: var(--glass-deep); }
.badge svg { width: 13px; height: 13px; }

/* Sections */
.band { padding-block: 104px; }
.band.white { background: var(--paper); }
.band.ink { background: var(--ink); color: #DADCD8; }
.band.ink h2, .band.ink h3 { color: #FFFFFF; }
.band.ink .lede, .band.ink .fine { color: #AEB3AF; }
@media (max-width: 720px) { .band { padding-block: 68px; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: 44px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; } }
[id] { scroll-margin-top: 84px; }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; }
label, .legend { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-width: 0; font: 400 1rem var(--font); color: var(--ink); background: var(--field);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 12px 11px; transition: border-color .15s ease, box-shadow .15s ease;
}
select { text-overflow: ellipsis; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--glass); outline: none; box-shadow: 0 0 0 3px var(--glass-soft); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--glass); flex: none; }
.msg { padding: 13px 15px; border-radius: var(--r-sm); font-size: 0.95rem; }
.msg.ok { background: var(--glass-soft); color: var(--glass-deep); }
.msg.err { box-shadow: inset 0 0 0 1.5px var(--err); color: var(--err); background: var(--frost-strong); }
.panel { background: var(--white); border-radius: var(--r); padding: 24px; }
form.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* Address search with dropdown */
.ac { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
/* With a suburb chip, the box wraps under it on narrow screens instead of shrinking to a few letters. */
.ac:has(.ac-chip) { flex-wrap: wrap; }
.ac > input { flex: 1 1 200px; min-width: 0; }
/* Suburb chosen first: shown as a removable chip inside the box */
.ac-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 6px 10px; font: inherit; font-size: .9rem; font-weight: 700; background: var(--glass-soft, #DCEDE9); color: var(--glass-deep, #1E4F4A); cursor: pointer; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.ac-chip b { font-size: 1.1rem; line-height: 1; opacity: .7; }
.ac-chip:hover b, .ac-chip:focus-visible b { opacity: 1; }
.ac-list li.ac-locality b::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: 8px; border-radius: 50%; background: var(--glass, #2F6E68); vertical-align: .1em; }
.ac-list li.ac-here b, .ac-list li.ac-last b { color: var(--glass-deep, #1E4F4A); }
.ac-list li.ac-here b::before { content: "\25CE  "; }
.ac-list li.ac-last b::before { content: "\21BA  "; }
.ac-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--frost-strong); border-radius: var(--r); box-shadow: 0 24px 50px -18px rgba(15, 20, 18, 0.5); max-height: 340px; overflow-y: auto; color: var(--ink); }
.ac-list li { padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; display: grid; gap: 1px; }
/* Stage 3 (phones): suggestions sit on an opaque card, so page text behind the list can't show through them; each row is at least 44 px to tap. */
.ac-list { background: rgba(255, 255, 255, 0.98); }
.ac-list li { min-height: 44px; align-content: center; }
.ac-list li b { font-weight: 600; font-size: 0.98rem; }
.ac-list li small { color: var(--muted); font-size: 0.84rem; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--glass-soft); }
.ac-list li.ac-note { cursor: default; color: var(--muted); font-size: 0.88rem; }
.ac-list li.ac-note:hover { background: transparent; }
.ac-list .ac-brand { display: flex; justify-content: flex-end; align-items: baseline; gap: 4px; font-size: 0.74rem; color: #70757A; padding: 8px 10px 4px; margin-top: 4px; border-top: 1px solid #EEEEEA; border-radius: 0; cursor: default; }
.ac-list .ac-brand:hover { background: transparent; }
.ac-list .g-word { font: 600 0.86rem/1 Arial, "Helvetica Neue", sans-serif; letter-spacing: -0.01em; }
.ac-list .g-word i { font-style: normal; }

/* FAQ: question groups in columns; each question opens downwards (accordion) */
.faq-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 32px; margin-bottom: 32px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.faq-grid .faq-group + .faq-group { margin-top: 0; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details > div { overflow: hidden; }
.faq details.anim > div { transition: height .24s ease, opacity .24s ease; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 18px 44px 18px 0; list-style: none; position: relative; -webkit-tap-highlight-color: transparent; }
.faq summary:hover { color: var(--glass-deep); }
@media (max-width: 560px) { .faq summary { font-size: 1rem; padding: 16px 40px 16px 0; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--timber); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 70ch; display: grid; gap: 10px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group > h3 { margin-bottom: 12px; color: var(--timber); }

/* Footer */
.site-foot { background: var(--ink); color: #AEB3AF; padding-block: 56px 56px; font-size: 0.92rem; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
@media (max-width: 820px) { .site-foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 420px) { .site-foot .cols { grid-template-columns: minmax(0, 1fr); } }
.site-foot h4 { color: #FFFFFF; margin-bottom: 10px; font-size: 0.95rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: #E3E5E1; text-decoration: none; overflow-wrap: anywhere; }
.site-foot a:hover { color: #FFFFFF; text-decoration: underline; }
.site-foot .legalline { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A3F41; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.84rem; }

/* Live field hints (ABN) */
.abn-hint { font-size: 0.84rem; color: var(--muted); }
.abn-hint.bad { color: var(--err); }
.abn-hint.good { color: #1F6B3A; }

/* Two-column page with a sticky side summary (booking, send a job) */
.split-page { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.split-page > * { min-width: 0; }
.side-sticky { position: sticky; top: 84px; display: grid; gap: 12px; }
@media (max-width: 900px) { .split-page { grid-template-columns: minmax(0, 1fr); } .side-sticky { position: static; } }
.sumline { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #EEEEEA; }
.sumline:last-child { border-bottom: 0; }
.sumline b { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bignum { font-size: 1.8rem; font-weight: 800; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }

/* Step tabs */
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stepper button { border: 0; background: var(--white); border-radius: var(--r-sm); padding: 10px 10px; font: 600 0.9rem var(--font); color: var(--muted); cursor: pointer; text-align: left; display: grid; gap: 2px; }
.stepper button b { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.stepper button.on { background: var(--ink); color: #FFFFFF; }
.stepper button.done { color: var(--glass-deep); }

/* Time windows: a window that can't fit the job is shown struck through and can't be picked */
.slot input:disabled { cursor: not-allowed; }
.slot input:disabled + span { background: repeating-linear-gradient(135deg, var(--paper) 0 6px, #ECE7DF 6px 12px); color: var(--faint, #8A8F8C); text-decoration: line-through; box-shadow: inset 0 0 0 1.5px var(--line); }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: .45; text-decoration: line-through; }
/* Auth cross-links and soft-gate card */
.alt-cta { margin: 14px 0 0; text-align: center; font-size: .95rem; color: var(--muted); }
.alt-cta a { font-weight: 700; }
.soft-gate { margin-top: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; gap: 8px; }
.soft-gate h3 { margin: 0; font-size: 1.05rem; }
.soft-gate p { margin: 0; color: var(--muted); }

/* Carousel: swipe on touch, arrows on a computer */
.car { position: relative; min-width: 0; }
.car-track { scroll-behavior: smooth; overscroll-behavior-x: contain; }
.car-track.dragging { scroll-behavior: auto; cursor: grabbing; user-select: none; }
.car-track.dragging * { pointer-events: none; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(15, 20, 18, 0.45), inset 0 0 0 1px var(--line); display: none; place-items: center; cursor: pointer; padding: 0; }
.car-btn:hover { background: var(--ink); color: #FFFFFF; }
.car-btn.car-prev { left: -6px; }
.car-btn.car-next { right: -6px; }
@media (hover: hover) and (pointer: fine) {
  .car.scrollable.can-prev .car-btn.car-prev, .car.scrollable.can-next .car-btn.car-next { display: grid; }
  .car.scrollable .car-track { padding-inline: 2px; }
  .car.scrollable.can-prev .car-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 44px, #000 calc(100% - 44px), transparent); }
  .car.scrollable:not(.can-prev) .car-track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .car.scrollable:not(.can-next).can-prev .car-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 44px); mask-image: linear-gradient(90deg, transparent 0, #000 44px); }
}

/* Collapsible map */
.map-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.map-tog { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 0.9rem var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.map-tog svg { transition: transform .2s ease; }
.map-collapsed .map-tog svg { transform: rotate(-90deg); }


/* Phones: more air, fewer words per screen */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lede { font-size: 1.02rem; }
  .sec-head { gap: 10px; }
  .panel { padding: 18px; }
  .btn { padding: 13px 18px; }
  .site-foot { padding-block: 44px; }
  .site-foot .legalline { flex-direction: column; }
}

/* ===================== Glass surfaces ===================== */
/* Backdrop: soft tinted light behind everything, so the frosted panels have colour to blur. Fixed, so it doesn't
   repaint on scroll (a fixed layer, not background-attachment: fixed, which phones ignore). */
body::before { content: ""; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48vmax 40vmax at 8% 6%, rgba(47, 110, 104, 0.26), transparent 70%),
    radial-gradient(42vmax 36vmax at 96% 18%, rgba(168, 104, 58, 0.20), transparent 70%),
    radial-gradient(56vmax 44vmax at 70% 96%, rgba(47, 110, 104, 0.18), transparent 70%),
    radial-gradient(40vmax 34vmax at 4% 82%, rgba(233, 196, 160, 0.30), transparent 70%),
    linear-gradient(180deg, #ECEBE6, #E2E3DD); }
.band, .band.white { background: transparent; }
.band.white { background: rgba(255, 255, 255, 0.22); }

/* Every card-like surface on every page. Pages set the fill (var(--white) / var(--paper)); this adds the blur and edge. */
.panel, .card, .offer, .door.home, .promise > div, .next a, .sc, .flyer, .fly-lock, .soft-gate, .plan, .rules > div, .kpi, .doc section, .toc a, .anchor,
.chip span, .stepper button, .dates button, .map-tog, .map-note, .tabs a.on, .car-btn, .ac-list, .faq-group, .upl label.alt, .price, .slot span, .est, .drop,
dialog.far, .mini, .site-head {
  -webkit-backdrop-filter: blur(var(--frost-blur)) saturate(175%); backdrop-filter: blur(var(--frost-blur)) saturate(175%);
}
.panel, .card, .offer, .door.home, .promise > div, .next a, .sc, .flyer, .fly-lock, .plan, .kpi, .doc section, .ac-list, dialog.far, .faq-group {
  box-shadow: var(--frost-shadow);
}
.faq-group { padding: 18px 20px 6px; border-radius: var(--r-lg); background: var(--paper); }
.faq-group .faq { border-top-color: rgba(28, 31, 33, 0.7); }
.chip span, .stepper button, .map-tog, .slot span { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1.5px rgba(207, 207, 201, 0.85); }
.chip input:checked + span, .stepper button.on, .slot input:checked + span { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -8px rgba(28, 31, 33, 0.6); }
.site-head { background: rgba(236, 235, 230, 0.6); border-bottom-color: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 0 rgba(28, 31, 33, 0.06); }
.tabs a.on { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px -4px rgba(28, 31, 33, 0.3); }

/* Buttons: solid where they're the main action, glass where they're secondary. A light top edge on all of them. */
.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 22px -14px rgba(20, 30, 28, 0.7); transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.line { background: rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.btn.light { background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* Dark sections: smoked glass. */
.band.ink { background: rgba(22, 26, 27, 0.92); }
.band.ink .steps li, .band.ink .rules > div { background: rgba(255, 255, 255, 0.07) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.site-foot { background: rgba(22, 26, 27, 0.94); }

/* ===================== Glass v2: more see-through, more colour behind it, more edge ===================== */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --white: rgba(255, 255, 255, 0.40);
    --paper: rgba(255, 255, 255, 0.26);
    --field: rgba(255, 255, 255, 0.66);
    --frost-blur: 30px;
    --frost-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 0 0 1px rgba(255, 255, 255, 0.55) inset, 0 -18px 30px -24px rgba(47, 110, 104, 0.25) inset, 0 26px 56px -30px rgba(22, 34, 31, 0.5);
  }
  /* A livelier backdrop for the glass to bend: brighter colour pools that drift slowly. */
  body::before { background:
    radial-gradient(46vmax 40vmax at 6% 4%, rgba(47, 160, 148, 0.42), transparent 68%),
    radial-gradient(40vmax 34vmax at 98% 14%, rgba(235, 150, 80, 0.34), transparent 68%),
    radial-gradient(54vmax 44vmax at 72% 98%, rgba(70, 140, 200, 0.28), transparent 68%),
    radial-gradient(38vmax 32vmax at 2% 84%, rgba(246, 205, 160, 0.46), transparent 68%),
    linear-gradient(180deg, #EEF0EC, #E3E8E5); }
  body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; width: 46vmax; height: 46vmax; left: 40vw; top: 10vh; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), rgba(47, 160, 148, 0.22) 45%, transparent 70%); filter: blur(30px); opacity: .7; }
  @media (prefers-reduced-motion: no-preference) { body::after { animation: mh-drift 28s ease-in-out infinite alternate; } }
  @keyframes mh-drift { from { transform: translate3d(-12vw, 0, 0) scale(1); } to { transform: translate3d(14vw, 22vh, 0) scale(1.18); } }

  .panel, .card, .offer, .door.home, .promise > div, .next a, .sc, .flyer, .fly-lock, .soft-gate, .plan, .rules > div, .kpi, .doc section, .anchor, .faq-group, .price, .est, .mini, dialog.far, .ac-list, .map-note {
    -webkit-backdrop-filter: blur(var(--frost-blur)) saturate(200%) brightness(1.04); backdrop-filter: blur(var(--frost-blur)) saturate(200%) brightness(1.04);
    background-image: linear-gradient(140deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.6);
  }
  .offer, .sc, .plan, .next a, .door.home { transition: transform .2s ease, box-shadow .2s ease; }
  @media (hover: hover) { .offer:hover, .sc:hover, .plan:hover, .next a:hover, .door.home:hover { transform: translateY(-3px); box-shadow: var(--frost-shadow), 0 30px 60px -30px rgba(47, 110, 104, 0.55); } }
  .site-head { background: rgba(255, 255, 255, 0.34); -webkit-backdrop-filter: blur(34px) saturate(210%); backdrop-filter: blur(34px) saturate(210%); border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="date"], select, textarea { background-color: var(--field); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .btn.glass { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 55%); }
  .tabs a.on, .chip input:checked + span { -webkit-backdrop-filter: blur(16px) saturate(190%); backdrop-filter: blur(16px) saturate(190%); }
}

/* ===================== Live chat ===================== */
.chat { display: grid; grid-template-rows: auto 1fr auto; border-radius: var(--r-lg); overflow: hidden; background: var(--white); -webkit-backdrop-filter: blur(var(--frost-blur)) saturate(190%); backdrop-filter: blur(var(--frost-blur)) saturate(190%); box-shadow: var(--frost-shadow); border: 1px solid rgba(255, 255, 255, 0.6); min-height: 280px; }
.chat-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(28, 31, 33, 0.08); }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #38B26D; box-shadow: 0 0 0 4px rgba(56, 178, 109, 0.2); }
.chat-log { padding: 12px 14px; overflow-y: auto; max-height: 340px; min-height: 160px; display: flex; flex-direction: column; gap: 8px; }
.chat-empty { color: var(--muted); font-size: .92rem; margin: auto; text-align: center; max-width: 30ch; }
.chat-m { max-width: 82%; align-self: flex-start; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.78); box-shadow: inset 0 0 0 1px rgba(28, 31, 33, 0.06); display: grid; gap: 2px; }
.chat-m.mine { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--glass); color: #fff; }
.chat-w { font-size: .72rem; opacity: .7; font-weight: 600; }
.chat-t { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-f { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(28, 31, 33, 0.08); }
.chat-f input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; }
.chat .msg { margin: 0 12px 10px; }
.chat-bubble { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: end; gap: 10px; }
.chat-fab { display: inline-flex; gap: 8px; align-items: center; border: 0; cursor: pointer; padding: 12px 18px; border-radius: 999px; background: var(--glass); color: #fff; font: 700 1rem var(--font); box-shadow: 0 14px 30px -12px rgba(20, 30, 28, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.chat-pop { width: min(360px, calc(100vw - 32px)); }
.chat-pop .chat, .chat-intro { background: rgba(255, 255, 255, 0.82); }
.chat-intro { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); box-shadow: var(--frost-shadow); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%); }
@media print { .chat-bubble { display: none; } }
/* Step 5: connection state, queued/failed messages, masking notes, unread badges, photo lightbox */
.chat-st { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.chat-dot.conn, .chat-dot.re { background: #E0A100; box-shadow: 0 0 0 4px rgba(224, 161, 0, 0.2); }
.chat-dot.poll { background: #4A8FD9; box-shadow: 0 0 0 4px rgba(74, 143, 217, 0.2); }
.chat-dot.off { background: #C8463D; box-shadow: 0 0 0 4px rgba(200, 70, 61, 0.2); }
.chat-note { margin: 0; padding: 8px 14px; font-size: .82rem; background: rgba(224, 161, 0, 0.1); border-bottom: 1px solid rgba(28, 31, 33, 0.06); }
.chat-meta { font-size: .7rem; opacity: .7; }
.chat-mask { font-size: .72rem; font-style: italic; opacity: .8; }
.chat-m.pend { opacity: .75; }
.chat-m.pend.failed { opacity: 1; background: #FCE9E7; color: #7A1F18; box-shadow: inset 0 0 0 1px #E8B4AE; }
.chat-m .linkbtn { color: inherit; justify-self: start; }
.chat-tools { padding: 0 12px 8px; }
.chat-tools:empty, .chat-tools:has(> [hidden]:only-child) { display: none; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 24px; display: inline-flex; align-items: center; font: inherit; font-size: .82rem; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink, inherit); }
.ubadge { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; background: #C8463D; color: #fff; margin-left: 6px; vertical-align: middle; }
.ubadge[hidden] { display: none; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 14, 0.92); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 56px; touch-action: pan-y pinch-zoom; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb button { background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; border-radius: 999px; min-width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; }
.lb button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-cap { text-align: center; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); font-size: .9rem; }
.photos figure img, .lb-open { cursor: zoom-in; }
@media (max-width: 600px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: 52px; transform: none; } }


/* Distance chip (operator and admin views of out-of-area requests) */
.dist { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 3px 10px; border-radius: 999px; background: rgba(47, 110, 104, 0.14); color: var(--glass-deep); font-size: .84rem; font-weight: 700; }
.dist.out { background: #F8E7E2; color: var(--err); }

/* Phones: a lighter blur keeps scrolling smooth. */
@media (max-width: 640px) { :root { --frost-blur: 14px; } }

/* No blur available, or the visitor wants less transparency: solid panels, same layout. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --white: #FFFFFF; --paper: #F7F7F5; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --white: #FFFFFF; --paper: #F7F7F5; --frost-strong: #FFFFFF; }
  body::before { display: none; }
  .svc .pane, .van-box { background: rgba(20, 26, 25, 0.82) !important; }
}
@media (prefers-contrast: more) {
  :root { --white: #FFFFFF; --paper: #FFFFFF; --frost-edge: #1C1F21; }
}

/* Header link (My bookings) */
.head-link { font-weight: 600; font-size: .92rem; color: inherit; text-decoration: none; padding: 6px 10px; border-radius: 999px; }
.head-link:hover { background: rgba(28,31,33,.06); }
@media (max-width: 560px) { .head-link { font-size: .84rem; padding: 6px 6px; } }

/* All services (final Step 6 pass): category filter + grid of every service */
.cat-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; margin: 18px 0 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 8px; }
.cat-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-md, 14px); background: var(--white); color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(28, 31, 33, 0.08); min-height: 44px; }
.cat-card:hover, .cat-card:focus-visible { box-shadow: inset 0 0 0 2px var(--glass, #2F6E68); }
.cat-card .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 110, 104, 0.1); color: var(--glass, #2F6E68); }
.cat-card .tx { display: grid; gap: 2px; min-width: 0; }
.cat-card small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.cat-card .mdl { font-size: .78rem; font-weight: 700; color: var(--glass, #2F6E68); margin-top: 2px; }
@media (max-width: 640px) { .cat-filters { grid-template-columns: 1fr; } }
.svc-group { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-group legend { font-weight: 700; font-size: .86rem; color: var(--muted); padding: 0; margin-bottom: 6px; width: 100%; }
