/* Site styles. Brand colours and the heading font come from includes/site.php (printed as :root variables in the page head),
   so a new client site only changes that file. The values below are fallbacks. */
:root {
  --brand: #0b63ff;
  --brand-d: #064bcc;      /* button fill, 7:1 with white text */
  --brand-dd: #053a9e;
  --accent: #ffd500;
  --tint: #eaf1ff;         /* light brand tint for icons and hovers */
  --tint-line: #9ec2ff;
  --ink: #1e293b;
  --ink-2: #0f172a;
  --ink-3: #1e2a44;
  --muted: #5b667a;
  --line: #dce5f2;
  --soft: #f4f7fc;
  --head-font: inherit;
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tint-2: #d6e5ff;
  --line-dark: #243049;
  --brand-rgb: 11, 99, 255;
  --btn-r: 999px;
  --r-lg: 16px;
  --ok: #198754;
  --r: 12px;
  --shadow: 0 8px 28px rgba(21, 23, 26, .12);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--body-font); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-d); }
a:hover { color: var(--brand-dd); }
h1, h2 { font-family: var(--head-font); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: inherit; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 700; letter-spacing: 0; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ic { flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 999; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--tint-line); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--btn-r); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, color .15s; line-height: 1.2; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-d); color: #fff; }
.btn-primary:hover { background: var(--brand-dd); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f1f2; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header: part 1 (logo / phone / quote) + part 2 (navigation) */
.site-header { background: #fff; color: var(--ink); position: sticky; top: -76px; z-index: 50; box-shadow: 0 2px 12px rgba(15, 23, 42, .08); }
.hdr-top-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.logo { flex: none; display: block; }
.logo img { height: 52px; width: auto; }
.hdr-actions { display: flex; align-items: center; gap: 22px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; font-weight: 800; font-size: 1.4rem; letter-spacing: .01em; white-space: nowrap; }
.hdr-phone .ic { box-sizing: content-box; background: var(--brand-d); border-radius: 50%; padding: 9px; }
.hdr-phone:hover { color: var(--brand-d); }
.hdr-actions .btn { padding: 12px 24px; }
.navbar { background: var(--brand); }
.navbar .wrap { position: relative; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a { display: block; color: #fff; text-decoration: none; padding: 14px 18px; font-weight: 600; font-size: .98rem; }
.nav > li > a:hover { color: var(--accent); }
.sub-toggle { display: none; }
.sub { position: absolute; top: 100%; left: 0; background: #fff; color: var(--ink); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); min-width: 240px; display: none; border-top: 3px solid var(--brand); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub-in { padding: 10px; display: grid; }
.sub-in > a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.sub-in > a:hover { background: var(--soft); color: var(--brand-d); }
.mega > .sub { width: 620px; }
.mega.wide { position: static; }
.mega.wide > .sub { left: 0; right: 0; width: auto; }
.mega .sub-in { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 18px; }
.sub-col ul { list-style: none; margin: 6px 0 0; padding: 0; }
.sub-col li a { display: block; padding: 4px 8px; color: var(--ink); text-decoration: none; font-size: .93rem; border-radius: 6px; }
.sub-col li a:hover { background: var(--soft); color: var(--brand-d); }
.sub-h { display: block; font-weight: 800; color: var(--brand-d); text-decoration: none; padding: 4px 8px 8px; border-bottom: 2px solid var(--line); text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.burger { display: none; background: none; border: 0; color: var(--ink-2); padding: 8px; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(1100px 520px at 85% -10%, rgba(var(--brand-rgb), .55) 0%, transparent 60%), linear-gradient(135deg, var(--ink-2) 0%, var(--ink-3) 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero-home { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero:not(:has(.hero-form)) .hero-grid { grid-template-columns: 1fr; max-width: 860px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.hero h1 { margin-bottom: .4em; }
.hero .hero-sub { font-size: 1.1rem; color: #d6deeb; max-width: 66ch; }
.points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.points li { display: flex; gap: 10px; align-items: flex-start; color: #eef0f2; }
.points .ic { color: var(--accent); margin-top: 3px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); border-top: 5px solid var(--brand); }
.hero-form h2 { font-size: 1.45rem; margin-bottom: .2em; }
.hero-form > p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.fg { display: flex; flex-direction: column; gap: 4px; }
.fg.full, .qform .btn, .fnote { grid-column: 1 / -1; }
.fg label { font-size: .82rem; font-weight: 700; }
.fg input, .fg select, .fg textarea { font: inherit; padding: 10px 12px; border: 1.5px solid #cfd4d8; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--brand-d); outline: 3px solid var(--tint-2); }
.fg .bad { border-color: #d92d20; }
.fnote { font-size: .82rem; color: var(--muted); margin: 2px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 12px 0; background: #fff3cd; color: #664d03; font-weight: 600; text-align: center; }
.flash.err { background: #fde7e5; color: #8a1f13; }
.crumbs { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .87rem; }
.crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.crumbs a { text-decoration: none; }

/* Sections */
.sec { padding: 64px 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--ink-2); color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 32px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); }
.sec-dark .lead { color: #c5cbd1; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.prose ul.ticks li { padding-left: 28px; position: relative; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat; }
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.grp { margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line); display: flex; align-items: baseline; gap: 10px; font-size: 1.35rem; }
.grp:first-of-type { margin-top: 0; }
.grp span { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--soft); padding: 2px 10px; border-radius: 999px; }
.grp a { text-decoration: none; color: inherit; }
.grp a:hover { color: var(--brand-d); }

/* Cards */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-line); color: var(--ink); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-icon { display: grid; place-items: center; color: var(--brand-d); background: linear-gradient(135deg, var(--tint), var(--tint-2)); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .3em; font-size: 1.05rem; }
.card-body p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; flex: 1; }
.card-link { color: var(--brand-d); font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.area-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: .15s; }
.area-card:hover { border-color: var(--tint-line); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.area-card .ic { color: var(--brand-d); }
.area-card small { color: var(--muted); font-size: .82rem; line-height: 1.4; }

/* Features, steps, packages */
.feature { text-align: left; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.feat-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--tint); color: var(--brand-d); margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--ink-3); border-radius: var(--r); padding: 24px 20px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-d); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { color: #c5cbd1; font-size: .93rem; margin: 0; }
.pkg { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; display: flex; flex-direction: column; }
.pkg.featured { border-color: var(--brand-d); box-shadow: var(--shadow); }
.pkg-tag { position: absolute; top: -12px; left: 22px; background: var(--brand-d); color: #fff; font-size: .75rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.pkg-price { font-size: 1.6rem; font-weight: 800; color: var(--brand-d); margin: 4px 0 8px; }
.pkg p { color: var(--muted); font-size: .93rem; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; flex: 1; font-size: .93rem; }
.pkg li { display: flex; gap: 8px; align-items: flex-start; }
.pkg li .ic { color: var(--ok); margin-top: 4px; }

/* Image + text */
.it { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.it-left .it-img { order: -1; }
.it-right { grid-template-columns: 7fr 5fr; }
.it-right .it-img { order: 2; }
.it-img img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }

/* Links block */
.links-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.links-cols h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.links-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.links-cols a { text-decoration: none; font-weight: 600; }
.links-cols a:hover { text-decoration: underline; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--brand-dd), var(--brand-d)); color: #fff; padding: 44px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn-primary { background: var(--accent); color: var(--ink-2); }
.cta-band .btn-primary:hover { background: #fff; color: var(--ink-2); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--brand-d); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details[open] { border-color: var(--tint-line); }
.faq .ans { padding: 0 18px 4px; color: #3b4148; }

/* Footer */
.site-footer { background: var(--ink-2); color: #c9ced3; padding-top: 56px; }
.site-footer a { color: #e6e9ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; }
.f-about img { height: 50px; width: auto; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.f-about p { font-size: .93rem; }
.f-phone { font-weight: 800; font-size: 1.15rem; }
.f-col h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.f-bar { border-top: 1px solid var(--line-dark); font-size: .85rem; }
.f-bar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; }

/* Thank-you / misc */
.credits li { margin-bottom: .5em; font-size: .93rem; }

/* Responsive */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(3, 1fr); }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: repeat(3, 1fr); }
  .f-about { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  /* Mobile header: logo row scrolls away; the phone number + Get a Free Quote + menu row stays stuck to the top */
  .site-header { position: sticky; top: -72px; }
  .hdr-top-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .logo { order: 1; width: 100%; height: 52px; }
  .logo img { height: 52px; }
  .hdr-actions { order: 2; flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .main-nav .nav > li > a { color: #fff; }
  .burger { display: block; order: 3; flex: none; margin: 0; padding: 6px; position: relative; z-index: 70; }
  .hdr-phone { justify-content: center; gap: 6px; background: #fff; color: var(--ink-2); border-radius: 999px; padding: 10px 6px; font-size: 1rem; border: 2px solid var(--line); }
  .hdr-phone:hover { color: var(--ink-2); background: var(--soft); }
  .hdr-phone .ic { background: none; color: var(--brand-d); padding: 0; width: 18px; height: 18px; }
  .hdr-actions .btn { padding: 10px 14px; font-size: .92rem; white-space: nowrap; }
  .navbar { border: 0; background: transparent; }
  .navbar .wrap { padding: 0; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(400px, 92vw); background: var(--ink-2); padding: 84px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .25s, box-shadow .25s; z-index: 60; box-shadow: none; visibility: hidden; }
  .main-nav.open { transform: none; box-shadow: -10px 0 30px rgba(0, 0, 0, .5); visibility: visible; }
  .nav { flex-direction: column; gap: 0; }
  .nav > li { border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; }
  .nav > li > a { flex: 1; padding: 15px 4px; }
  .sub-toggle { display: block; background: none; border: 0; color: #fff; padding: 12px; cursor: pointer; }
  .sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .sub, .mega > .sub { position: static; display: none; width: 100%; transform: none; box-shadow: none; background: var(--ink-3); border-top: 0; border-radius: 8px; margin-bottom: 10px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block !important; }
  .sub-in, .mega .sub-in { grid-template-columns: 1fr; padding: 8px; }
  .sub-in > a, .sub-col li a { color: #e6e9ec; }
  .sub-h { color: var(--accent); }
  .hero-grid { grid-template-columns: 1fr; }
  .it { grid-template-columns: 1fr; }
  .it-left .it-img, .it-right .it-img { order: 0; }   /* phone: photo above the text */
  .it-right { grid-template-columns: 1fr; }
  .linklist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sec { padding: 44px 0; }
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .qform { grid-template-columns: 1fr; }
  .card-body p { display: none; }
  .hero { padding: 36px 0 44px; }
}
@media (max-width: 460px) { .g4, .g5 { grid-template-columns: 1fr 1fr; } .f-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Compact link lists (area pages) */
.linklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; }
.linklist a { display: flex; align-items: center; gap: 8px; padding: 7px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.linklist a:hover { color: var(--brand-dd); }
.linklist .ic { color: var(--brand-d); }
@media (max-width: 960px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .linklist { grid-template-columns: 1fr; } }

/* Footer disclaimer */
.f-disclaimer { border-top: 1px solid var(--line-dark); font-size: .84rem; color: #aab1b8; }
.f-disclaimer .wrap { padding-top: 18px; padding-bottom: 18px; }
.f-disclaimer p { margin: 0; max-width: 900px; }
.f-disclaimer a { text-decoration: underline; }
@media (max-width: 380px) { .hdr-phone { font-size: .9rem; } .hdr-actions .btn { font-size: .84rem; padding: 10px 10px; } }

/* Added for the rebuilt CMS: 3-column grid, section labels, tables, blog */
.g3 { grid-template-columns: repeat(3, 1fr); }
.label { display: inline-block; margin-bottom: 12px; padding: 5px 14px; border-radius: 999px; background: var(--tint); color: var(--brand-d); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sec-dark .label { background: rgba(255, 255, 255, .12); color: var(--accent); }
.sec-dark .prose a { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.post-banner { margin-top: 32px; }
.post-banner img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.post-date { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 960px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g3 { grid-template-columns: 1fr; } }
.sec-dark .prose h3 { color: #fff; }
.sec-dark .prose p, .sec-dark .prose li { color: #d6deeb; }
.it-text .label { margin-bottom: 8px; }
@media (max-width: 960px) { .burger[aria-expanded="true"] { color: #fff; } }

/* Video: 16:9 box. YouTube/Vimeo show a thumbnail + play button and only load the player when clicked. */
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow); }
.vid video, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vid-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--ink-2); display: grid; place-items: center; }
.vid-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .2s; }
.vid-play:hover img { transform: scale(1.03); opacity: .9; }
.vid-btn { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .15s; padding-left: 4px; }
.vid-play:hover .vid-btn { transform: scale(1.08); }
.vid-dark { background: radial-gradient(circle at 50% 40%, var(--ink-3), var(--ink-2)); }
.vid-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; font-weight: 700; text-align: left; }
.vg { gap: 24px; }
.vg1 { grid-template-columns: minmax(0, 900px); justify-content: center; }
.vg2 { grid-template-columns: repeat(2, 1fr); }
.vg3 { grid-template-columns: repeat(3, 1fr); }
.vid-item { margin: 0; }
.vid-item figcaption { margin-top: 10px; font-weight: 700; }
.it-img .vid { width: 100%; }

/* Image gallery + lightbox */
.gal { display: grid; gap: 14px; }
.gal2 { grid-template-columns: repeat(2, 1fr); }
.gal3 { grid-template-columns: repeat(3, 1fr); }
.gal4 { grid-template-columns: repeat(4, 1fr); }
.gal-item { margin: 0; }
.gal-item a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-item a:hover img { transform: scale(1.05); }
.gal-item figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.sec-dark .gal-item figcaption { color: #c5cbd1; }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(8, 12, 22, .92); }
.lb-in { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 8px; object-fit: contain; }
.lb p { color: #fff; margin: 12px 0 0; text-align: center; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 960px) {
  .vg3, .gal4 { grid-template-columns: repeat(2, 1fr); }
  .gal3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vg2, .vg3 { grid-template-columns: 1fr; }
  .gal2, .gal3, .gal4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lb-in { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

/* Quote form: address spans the row */
.qform .addr { grid-column: 1 / -1; }

/* Map section */
.map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } .map { height: 320px !important; } }

/* List styles. Use on any list:  <ul class="list-tick">  or pick "List style" on a Text section (adds .ls-tick etc.) */
.prose ul.list-tick, .ls-tick ul, .prose ul.list-arrow, .ls-arrow ul, .prose ul.list-cols, .ls-cols ul, .prose ul.ticks { list-style: none; padding-left: 0; }
.prose ul.list-tick li, .ls-tick ul li, .prose ul.list-cols li, .ls-cols ul li, .prose ul.ticks li,
.prose ul.list-arrow li, .ls-arrow ul li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.prose ul.list-tick li::before, .ls-tick ul li::before, .prose ul.list-cols li::before, .ls-cols ul li::before, .prose ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.prose ul.list-arrow li::before, .ls-arrow ul li::before { content: "→"; position: absolute; left: 4px; top: 0; color: var(--brand); font-weight: 800; }
.prose ul.list-cols, .ls-cols ul { columns: 2; column-gap: 32px; }
.prose ul.list-cols li, .ls-cols ul li { break-inside: avoid; }
.prose ul.list-boxes, .ls-boxes ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prose ul.list-boxes li, .ls-boxes ul li { margin: 0; padding: 14px 16px 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.sec-soft .prose ul.list-boxes li, .sec-soft .ls-boxes ul li { background: #fff; }
.sec-dark .prose ul.list-boxes li, .sec-dark .ls-boxes ul li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); border-left-color: var(--accent); }
.prose ol.list-steps { list-style: none; counter-reset: st; padding: 0; }
.prose ol.list-steps > li { counter-increment: st; position: relative; padding: 2px 0 10px 50px; min-height: 36px; margin-bottom: .6em; }
.prose ol.list-steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.sec-dark .prose ul.list-tick li::before, .sec-dark .ls-tick ul li::before { background-color: var(--accent); }
@media (max-width: 600px) { .prose ul.list-cols, .ls-cols ul { columns: 1; } .prose ul.list-boxes, .ls-boxes ul { grid-template-columns: 1fr; } }

/* Reviews / testimonials */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { fill: #d7dce4; }
.star.full { fill: #f5b301; }
.star.half { fill: #f5b301; opacity: .5; }
.rv-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: -8px 0 28px; }
.rv-summary strong { font-size: 2rem; font-family: var(--head-font); line-height: 1; }
.rv-summary span { color: var(--muted); }
.sec-dark .rv-summary span { color: #c5cbd1; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); display: flex; flex-direction: column; color: var(--ink); }
.rv-media .vid { border-radius: 0; box-shadow: none; }
.rv-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rv-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rv-card blockquote { margin: 0; font-size: .98rem; line-height: 1.6; flex: 1; }
.rv-card footer { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rv-card footer div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-card footer small { color: var(--muted); }
.rv-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.rv-initials { display: grid; place-items: center; background: var(--tint); color: var(--brand-d); font-weight: 800; }
.rv-src { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.rv-google { background: #e8f0fe; color: #1a56c4; }
.rv-facebook { background: #e7f0ff; color: #1b4fa8; }
.rv-slider { position: relative; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 16px; scrollbar-width: thin; align-items: start; }
.rv-track > * { scroll-snap-align: start; }
.rv-nav { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.rv-nav:hover { background: var(--brand); color: #fff; }
.rv-prev { left: -18px; }
.rv-next { right: -18px; }
.rv-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 960px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } .rv-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .rv-grid { grid-template-columns: 1fr; } .rv-track { grid-auto-columns: 86%; } .rv-nav { display: none; } }

/* Pricing */
.pr-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pr-card h3 { margin: 0; }
.pr-price { color: var(--brand-d); font-weight: 800; line-height: 1.1; }
.pr-price small { font-size: .85rem; color: var(--muted); font-weight: 700; }
.pr-amt { font-size: 2rem; font-family: var(--head-font); }
.pr-unit { color: var(--muted); font-weight: 600; font-size: .9rem; }
.pr-card p { color: var(--muted); font-size: .92rem; margin: 4px 0 8px; flex: 1; }
.pr-card .btn { margin-top: auto; }
.pr-table { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pr-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pr-row:last-child { border-bottom: 0; }
.pr-row small { display: block; color: var(--muted); }
.pr-row .pr-amt { font-size: 1.4rem; }
.pr-row .pr-price { text-align: right; white-space: nowrap; }
.pr-row .pr-price small { display: inline; }
.pr-min { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 22px 0 6px; font-size: 1.05rem; }
.pr-min .ic { color: var(--brand); }
.sec-dark .pr-card, .sec-dark .pr-table { color: var(--ink); }

/* Notice / warranty / warning */
.sec-tight { padding: 28px 0; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid; }
.notice h2 { font-size: 1.25rem; margin-bottom: .4em; }
.notice .prose { font-size: .98rem; }
.notice .prose p:last-child { margin-bottom: 0; }
.notice-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.notice-warning { background: #fff8e6; border-color: #f3d58a; color: #5c4200; }
.notice-warning .notice-ic { background: #ffe8a3; color: #8a5a00; }
.notice-info { background: var(--tint); border-color: var(--tint-line); color: var(--ink-2); }
.notice-info .notice-ic { background: var(--tint-2); color: var(--brand-d); }
.notice-guarantee { background: #ecfbf2; border-color: #a6e3bf; color: #0f3d24; }
.notice-guarantee .notice-ic { background: #c9f0d8; color: #157347; }
@media (max-width: 560px) { .notice { flex-direction: column; } }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { min-width: 42px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-align: center; text-decoration: none; font-weight: 700; background: #fff; }
.pager span[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager a:hover { border-color: var(--brand); }

/* Suburb chips: <ul class="list-chips"> */
.prose ul.list-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.prose ul.list-chips li { margin: 0; padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.prose ul.list-chips li::before { display: none; }
.sec-soft .prose ul.list-chips li { background: #fff; }

/* Buttons at the end of a text section (the page's closing call-to-action) */
.prose .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.prose .cta-row .btn { text-decoration: none; }
.sec-dark .prose .cta-row .btn-primary { background: var(--accent); color: var(--ink-2); }
.sec-dark .prose .cta-row .btn-primary:hover { background: #fff; color: var(--ink-2); }
.sec-dark .prose .cta-row .btn-light { color: var(--ink-2); }

/* Photo beside long text: top-aligned and stays in view while reading */
.it { align-items: start; }
.it-img img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 961px) { .it-img { position: sticky; top: 130px; } }
/* Suburb chips that link to a suburb page */
.prose ul.list-chips li:has(a) { padding: 0; border-color: var(--tint-line); background: var(--tint); }
.prose ul.list-chips li a { display: block; padding: 6px 14px; text-decoration: none; color: var(--brand-d); }
.prose ul.list-chips li a:hover { background: var(--brand); color: #fff; border-radius: 999px; }
/* Form builder: choices, help text */
.fset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fset legend { font-size: .82rem; font-weight: 700; margin-bottom: 4px; padding: 0; }
.fchoices { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.fchoice { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; cursor: pointer; }
.fchoice input { width: 18px; height: 18px; accent-color: var(--brand); }
.fset.bad legend { color: #d92d20; }
.fhelp { color: var(--muted); font-size: .78rem; }
.fg select { font: inherit; padding: 10px 12px; border: 1.5px solid #cfd4d8; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
/* Image credits list */
.credits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.credits-list li { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.credits-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.credits-list div { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; }
.credits-list span { color: var(--muted); }
/* Terms & Privacy line in the quote form */
.qform .fconsent { grid-column: 1 / -1; margin: 2px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.qform label.fconsent { align-items: flex-start; font-weight: 500; }
.qform label.fconsent input { margin-top: 2px; flex: none; }
.qform label.fconsent.bad span, .qform .fconsent input.bad + span { color: #d92d20; }
