/* Ozer Electrical & Air Conditioning - site styles
   No external requests: system font stack only, no web fonts, no trackers. */

:root {
  --ink:      #131417;
  --ink-2:    #1A1C20;
  --ink-3:    #24272D;
  --ink-4:    #31353D;
  --line:     rgba(255,255,255,.09);
  --line-2:   rgba(255,255,255,.16);
  --paper:    #FFFFFF;
  --text:     #E9EBEE;
  --muted:    #9BA2AC;
  --red:      #DC1C1C;   /* the OZER wordmark - this is the action colour */
  --red-2:    #F23434;
  --red-d:    #A81111;
  --yellow:   #F2C81E;   /* the lightning bolt - accents and highlights */
  --yellow-2: #FFD942;
  --chrome:   #C7CBD1;   /* the rim */
  --chrome-2: #8B9199;
  --danger:   #FF6B6B;
  --green:    #35D07F;
  --wrap:     1160px;
  --r:        14px;
  --shadow:   0 18px 50px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: 78px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 800;
  color: var(--yellow);
  margin: 0 0 .8em;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--yellow); color: #000; padding: 12px 18px; font-weight: 800;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
}
.topbar .wrap {
  display: flex; gap: 18px; align-items: center; justify-content: center;
  flex-wrap: wrap; padding-block: 8px; text-align: center;
}
.topbar a { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19,20,23,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px; padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.brand b { display: block; font-size: .98rem; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.brand span { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.brand:hover { text-decoration: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--text); font-size: .93rem; font-weight: 600;
  padding: 9px 13px; border-radius: 9px;
}
.nav a:hover { background: var(--ink-3); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--yellow); }

.nav-toggle {
  margin-left: auto; display: none; background: var(--ink-3); color: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 16px;
  font-size: .9rem; font-weight: 700; cursor: pointer; min-height: 44px;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px 14px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 11px;
  font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(220,28,28,.28); }
.btn--primary:hover { background: var(--red-2); }
.btn--ghost { border-color: var(--line-2); color: #fff; background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--chrome); color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 10px 17px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 1.08rem; }

.btn-row { display: flex; gap: 13px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-2); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--ink) 8%, rgba(19,20,23,.86) 46%, rgba(19,20,23,.55) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 104px); }
.hero__inner { max-width: 700px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--red-2); }
.hero p { font-size: 1.16rem; color: #C9CED6; max-width: 56ch; }
.hero .btn-row { margin-top: 30px; }

.hero__strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.32);
}
.hero__strip .wrap {
  display: flex; gap: 14px 34px; flex-wrap: wrap; padding-block: 16px;
  font-size: .88rem; color: #C9CED6; font-weight: 600;
}
.hero__strip b { color: #fff; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(178px, 100%), 1fr)); gap: 14px; }
.trust__item {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; text-align: center;
}
.trust__item strong { display: block; font-size: 1.5rem; color: var(--yellow); line-height: 1.1; }
.trust__item span { display: block; font-size: .85rem; color: var(--muted); margin-top: 5px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
/* min(Xpx, 100%) not a bare Xpx: a fixed minmax minimum cannot shrink below
   itself, so on a 320px screen a 340px track overflows the viewport. */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(292px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
a.card:hover { text-decoration: none; border-color: var(--red); transform: translateY(-3px); }
.card h3 { color: #fff; margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 1em; }
.card ul { margin: 0 0 1.1em; padding-left: 1.1em; color: var(--muted); font-size: .93rem; }
.card ul li { margin-bottom: .3em; }
.card .more { margin-top: auto; color: var(--yellow); font-weight: 800; font-size: .92rem; }

.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(255,204,0,.12); border: 1px solid rgba(255,204,0,.28);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- before / after ---------- */
.ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.ba figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.ba img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ba figcaption { padding: 13px 16px; font-size: .88rem; color: var(--muted); }
.ba figcaption b { color: #fff; display: block; font-size: .95rem; }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 99px; margin-bottom: 6px;
}
.tag--before { background: rgba(255,77,77,.16); color: #FF8A8A; }
.tag--after  { background: rgba(53,208,127,.14); color: var(--green); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(248px, 100%), 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.gallery img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 15px; font-size: .87rem; color: var(--muted); }
.gallery--wide img { aspect-ratio: 4/3; }

/* ---------- checklist ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 10px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow);
  transform: rotate(-45deg); border-radius: 2px;
}
.checks li b { color: #fff; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ink-2); margin-bottom: 11px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: #fff;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font-size: 1.4rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- callout ---------- */
.callout {
  background: linear-gradient(135deg, rgba(255,204,0,.10), rgba(255,204,0,.03));
  border: 1px solid rgba(255,204,0,.30);
  border-radius: var(--r); padding: 28px 26px;
}
.callout h3 { color: var(--yellow); }
.callout p:last-child { margin-bottom: 0; }

.note {
  background: var(--ink-3); border-left: 3px solid var(--yellow);
  border-radius: 0 10px 10px 0; padding: 15px 18px; font-size: .93rem; color: var(--muted);
}
.note b { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, #24272C 0%, #171A1D 100%);
  border-block: 1px solid var(--line-2);
}
.cta-band .wrap { padding-block: 52px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--muted); font-weight: 500; max-width: 56ch; margin-inline: auto; }
.cta-band .btn--primary { background: var(--red); color: #fff; }
.cta-band .btn--primary:hover { background: var(--red-2); }
.cta-band .btn--ghost { border-color: var(--line-2); color: #fff; background: rgba(255,255,255,.04); }
.cta-band .btn--ghost:hover { border-color: var(--chrome); color: #fff; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label { font-weight: 700; font-size: .93rem; color: #fff; }
.field .hint { font-size: .83rem; color: var(--muted); font-weight: 400; }
.field .req { color: var(--yellow); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; padding: 13px 15px;
  background: var(--ink-3); color: #fff;
  border: 1px solid var(--line-2); border-radius: 10px;
  font: inherit; font-size: .98rem;
}
textarea { min-height: 128px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,204,0,.18);
}
input::placeholder, textarea::placeholder { color: #6D747E; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.choice {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 11px; padding: 14px 15px;
  background: var(--ink-3); transition: border-color .12s ease, background .12s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { display: block; font-size: .95rem; color: #fff; }
.choice small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.choice:hover { border-color: var(--line-2); background: var(--ink-4); }
.choice:has(input:checked) { border-color: var(--yellow); background: rgba(255,204,0,.10); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255,204,0,.18); }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--yellow); flex: 0 0 auto; }

.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-error {
  display: none; background: rgba(255,77,77,.12); border: 1px solid rgba(255,77,77,.4);
  color: #FFB3B3; border-radius: 10px; padding: 13px 16px; font-size: .93rem;
}
.form-error.show { display: block; }

.emergency-alert {
  display: none; margin-top: 4px;
  background: rgba(242,200,30,.12); border: 1px solid rgba(242,200,30,.45);
  border-radius: 11px; padding: 16px 18px;
}
.emergency-alert.show { display: block; }
.emergency-alert b { color: var(--yellow); display: block; margin-bottom: 4px; }
.emergency-alert p { margin: 0; color: #E4DCC2; font-size: .93rem; }
.emergency-alert a { color: #fff; font-weight: 800; }

/* booking summary preview */
.summary {
  background: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 20px 22px;
}
.summary h3 { font-size: 1rem; color: var(--yellow); margin-bottom: 12px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; font-size: .92rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: #fff; font-weight: 600; }

/* ---------- contact rows ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: block; }
.contact-list .v { font-size: 1.06rem; color: #fff; font-weight: 700; }
.contact-list .v a { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: #0D0E10; border-top: 1px solid var(--line); padding: 54px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 60px; }
.footer-note {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  color: #6D747E; font-size: .84rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.legal-line { color: #6D747E; font-size: .84rem; margin-top: 10px; }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px;
  background: var(--line-2);
  box-shadow: 0 -8px 30px rgba(0,0,0,.5);
}
.callbar a {
  flex: 1; text-align: center; padding: 15px 8px;
  font-weight: 800; font-size: .95rem;
}
.callbar .call { background: var(--red); color: #fff; }
.callbar .book { background: var(--ink-2); color: #fff; }
.callbar a:hover { text-decoration: none; }
@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* ---------- breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--yellow); }

/* ---------- price table ---------- */
.pricing { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pricing th, .pricing td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.pricing th { color: var(--yellow); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.pricing td:last-child { text-align: right; color: #fff; font-weight: 700; white-space: nowrap; }
.pricing tr:last-child td { border-bottom: 0; }

/* ---------- client preview banner (demo builds only) ---------- */
.preview-bar {
  background: #2A2D33; color: #C9CED6;
  text-align: center; font-size: .8rem; font-weight: 600;
  padding: 7px 16px; border-bottom: 1px solid var(--line);
}

/* ---------- brand kit / decision page ---------- */
.bk-hero { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.bk-hero .wrap { padding-block: clamp(44px, 7vw, 78px); text-align: center; }
.bk-title {
  font-size: clamp(2rem, 5.6vw, 3.7rem); color: #fff; max-width: 20ch;
  margin-inline: auto; line-height: 1.08;
}
.bk-title em { font-style: normal; color: var(--red-2); }

.bk-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 780px) { .bk-versus { grid-template-columns: 1fr; } }
.bk-card {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ink-2); overflow: hidden; display: flex; flex-direction: column;
}
.bk-card.is-pick { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.bk-card__label {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}
.bk-card.is-pick .bk-card__label { color: var(--yellow); }
.bk-badge {
  background: var(--red); color: #fff; border-radius: 99px;
  padding: 3px 10px; font-size: .68rem; letter-spacing: .08em;
}
.bk-card__stage {
  display: grid; place-items: center; padding: 34px 24px; min-height: 260px;
  background: #fff;
}
.bk-card__stage.on-dark { background: #131417; }
.bk-card__stage img { max-width: 240px; max-height: 240px; width: auto; }
.bk-card__body { padding: 20px 22px; }
.bk-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

.bk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.bk-opt { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--ink-2); }
.bk-opt .sq { display: grid; place-items: center; padding: 22px; background: #fff; min-height: 168px; }
.bk-opt .sq.on-dark { background: #131417; }
.bk-opt img { max-width: 132px; }
.bk-opt .cap {
  padding: 10px 14px; font-size: .82rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.bk-opt .cap b { color: #fff; display: block; font-size: .9rem; }

.sw-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr)); gap: 12px; }
.sw { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--ink-2); }
.sw .chip { height: 66px; }
.sw .meta { padding: 9px 12px; font-size: .78rem; color: var(--muted); }
.sw .meta b { display: block; color: #fff; font-size: .84rem; }

.bk-sizes { display: flex; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.bk-sizes figure { margin: 0; text-align: center; }
.bk-sizes figcaption { font-size: .76rem; color: var(--muted); margin-top: 8px; }

/* ---------- welcome screen ----------
   The front door, not a dismissible splash: a real full-height section in normal
   flow - no fixed overlay, no scroll lock, no skip button. Content stays
   crawlable and scrolling is the natural way past.

   Every transient state is written by JS (assets/site.js), NOT by CSS keyframes.
   Reason: headless Chrome under --virtual-time-budget fires rAF once and then
   stalls CSS animation clocks, so a keyframe version cannot be screenshot-verified
   mid-flight. CSS here holds only the SETTLED state, which doubles as the
   no-JS fallback. */
.welcome {
  min-height: 100svh; display: grid; align-content: center; gap: 30px;
  padding: 54px 22px 30px;
  background: radial-gradient(125% 88% at 50% 34%, #1E2127 0%, #0C0D0F 60%, #08090A 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.welcome__stage {
  --logo-w: clamp(132px, 26vw, 214px);
  display: grid; place-items: center;
}

/* the badge and everything that orbits it share one positioning context */
.wel-badgewrap { position: relative; width: var(--logo-w); aspect-ratio: 1 / 1; }

.welcome__logo { position: relative; z-index: 2; width: 100%; height: auto; display: block; }

/* --- aurora: soft light from BEHIND the badge, never in front of it --- */
/* opacity 0 IS the settled state. settle() clears the inline styles, so anything
   transient must default to invisible here or it switches back on when the
   animation ends. */
.wel-aurora { position: absolute; inset: -55%; z-index: 1; pointer-events: none; opacity: 0; }
.wel-aurora-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(242,200,30,.50) 0%, rgba(242,200,30,.22) 34%,
    rgba(199,211,225,.12) 58%, rgba(150,190,215,.06) 70%,
    rgba(0,0,0,0) 76%);
  filter: blur(14px);
}
.wel-ring {
  position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1 / 1;
  margin-left: -35%; margin-top: -35%; border-radius: 50%; opacity: 0;
  will-change: transform, opacity;
}
.wel-ring-1 {
  border: 3px solid rgba(242,200,30,.55);
  box-shadow: 0 0 26px 8px rgba(242,200,30,.28), inset 0 0 22px 6px rgba(242,200,30,.18);
  filter: blur(5px);
}
.wel-ring-2 {
  border: 2px solid rgba(199,203,209,.45);
  box-shadow: 0 0 22px 7px rgba(170,200,225,.22), inset 0 0 18px 5px rgba(199,203,209,.14);
  filter: blur(6px);
}

/* --- the strike bolt, parked exactly on the bolt inside his badge ---
   Measured from the real artwork: centre 48.97% / 45.46%, width 60.06%,
   aspect 2.686. Position is structural, so the landing cannot drift. */
/* The strike bolt is the badge's own bolt on a FULL-SIZE transparent frame, so
   it shares one coordinate space with the badge and simply sits on top of it.
   inset:0 - no percentages, no measured offsets, nothing to go stale if the
   badge is ever replaced. Alignment is structural, not tuned.
   Only the pivot is derived (from _source/make_bolt_layer.py) so the strike
   rotates about the bolt rather than the badge centre. */
.wel-boltwrap {
  position: absolute; inset: 0; z-index: 3;
  transform-origin: 50% 50%;   /* replaced at load from data-bolt-geometry */
  will-change: transform, opacity; pointer-events: none;
  opacity: 0;   /* settled + no-JS: the badge already has its bolt printed on it */
}
.wel-bolt {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 0 16px rgba(242,200,30,.6)) drop-shadow(0 0 40px rgba(242,200,30,.28));
}

/* Full-screen luminance flash - the ONLY thing reduced-motion suppresses. */
.wel-flash {
  position: fixed; inset: 0; z-index: 50; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%,
    rgba(242,200,30,.9) 0%, rgba(242,220,140,.5) 40%, rgba(0,0,0,0) 75%);
}

.welcome__id { }
.welcome__name {
  color: #fff; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px;
  font-size: clamp(1.5rem, 4.4vw, 2.5rem); line-height: 1.08;
}
.welcome__name em { font-style: normal; color: var(--red-2); }
.welcome__facts {
  display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap;
  color: var(--muted); font-size: .92rem; font-weight: 600; margin: 0;
}
.welcome__facts b { color: #fff; }

.welcome__pick { width: 100%; max-width: 860px; margin-inline: auto; }
.welcome__q {
  color: #fff; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.15rem, 3.2vw, 1.6rem); margin: 0 0 18px;
}
.welcome__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .welcome__choices { grid-template-columns: 1fr; gap: 12px; } }

.welcome__choice {
  display: block; text-align: left; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line-2);
  border-top: 3px solid var(--red); border-radius: 18px;
  padding: 26px 26px 24px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.welcome__choice:hover, .welcome__choice:focus-visible {
  text-decoration: none; border-color: var(--line-2); border-top-color: var(--yellow);
  background: #212429; transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 22px rgba(242,200,30,.07); outline: none;
}
.welcome__choice b {
  display: block; color: #fff; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.4rem, 3.4vw, 1.85rem); margin-bottom: 8px;
}
.welcome__choice span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.welcome__choice .go { display: block; color: var(--yellow); font-weight: 800; font-size: .9rem; margin-top: 16px; }

.welcome__foot { color: var(--muted); font-size: .92rem; }
.welcome__foot a { font-weight: 800; }
.welcome__scroll { display: block; margin-top: 14px; color: #6D747E; font-size: .84rem; }

/* ---------- welcome on phones ----------
   The two choices are the whole point of this screen, so they must both be
   visible without scrolling. On a 375x812 phone the sticky chrome eats ~210px,
   which leaves about 600px for everything else - hence the tighter scale. */
@media (max-width: 760px) {
  .preview-bar { font-size: .71rem; padding: 5px 12px; line-height: 1.3; }
  .topbar .wrap { gap: 4px 14px; padding-block: 6px; font-size: .76rem; }
  .topbar .wrap > span:nth-child(2) { display: none; }   /* "Free quotes" repeats below */

  /* Let the content set the height instead of forcing a viewport-tall box that
     then sits BELOW the header and guarantees overflow. */
  .welcome { min-height: 0; padding: 18px 16px 26px; gap: 13px; }
  /* Scale the VARIABLE, never the logo directly. The badge and the bolt layer
     both size off --logo-w, so overriding .welcome__logo width shrinks the badge
     while the inset:0 overlay keeps the wrap's full size - which put the bolt
     43px out on phones. One variable keeps them locked together. */
  .welcome__stage { --logo-w: clamp(80px, 25vw, 108px); min-height: 0; }
  .welcome__name { font-size: clamp(1.15rem, 5.6vw, 1.5rem); margin-bottom: 5px; }
  .welcome__facts { font-size: .77rem; gap: 3px 12px; }
  .welcome__q { font-size: 1.04rem; margin-bottom: 10px; }

  .welcome__choices { gap: 10px; }
  .welcome__choice { padding: 14px 16px 13px; border-radius: 14px; }
  .welcome__choice b { font-size: 1.2rem; margin-bottom: 3px; }
  .welcome__choice span { font-size: .83rem; line-height: 1.45; }
  .welcome__choice .go { margin-top: 8px; font-size: .81rem; }

  .welcome__foot { font-size: .84rem; }
  .welcome__scroll { margin-top: 7px; }
}

/* ---------- pay an invoice ---------- */
.pay-card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2);
  padding: 26px 26px 24px; margin-top: 18px;
}
.pay-card--best { border-color: var(--yellow); background: linear-gradient(160deg, rgba(255,204,0,.07), rgba(255,204,0,.02)); }
.pay-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.pay-card__head h2 { font-size: 1.35rem; margin: 0; color: #fff; }
.pay-tag {
  background: var(--red); color: #fff; border-radius: 99px;
  padding: 3px 11px; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase;
}
.pay-tag--muted { background: var(--ink-4); color: var(--muted); }
.pay-card p { color: var(--muted); font-size: .96rem; }
.pay-key {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.pay-key:last-of-type { border-bottom: 0; }
.pay-key .k { color: var(--muted); font-size: .86rem; }
.pay-key .v {
  color: #fff; font-weight: 800; font-size: 1.08rem;
  font-variant-numeric: tabular-nums; text-align: right; word-break: break-all;
}
.pay-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.pay-pending {
  font-size: .9rem; color: var(--muted); font-style: italic;
  background: var(--ink-3); border-radius: 9px; padding: 11px 14px; margin: 12px 0 0;
}

/* ---------- alternate brand (logo_choice = D) ----------
   The modernised mark is black and yellow, so the action colour has to travel
   with it - otherwise you get a red-themed site wearing a yellow badge. Set by
   the builder as a class on <html> so the comparison is honest either way. */
html.brand-alt {
  --red:   #FFCC00;
  --red-2: #FFD838;
  --red-d: #C99F00;
}
html.brand-alt .btn--primary,
html.brand-alt .cta-band .btn--primary,
html.brand-alt .topbar,
html.brand-alt .callbar .call,
html.brand-alt .pay-tag,
html.brand-alt .bk-badge { color: #17181B; }
html.brand-alt .topbar a { color: #17181B; }
html.brand-alt .btn--primary { box-shadow: 0 8px 24px rgba(255,204,0,.22); }
html.brand-alt .welcome__name em,
html.brand-alt .hero__h em,
html.brand-alt .bk-title em { color: #FFCC00; }

/* ---------- very small phones (SE-class, 320px) ----------
   Both choices still have to be visible on open, so the welcome tightens again
   below 380px. --logo-w keeps the badge and the bolt layer locked together. */
@media (max-width: 380px) {
  .welcome { padding: 12px 12px 18px; gap: 9px; }
  .welcome__stage { --logo-w: clamp(64px, 21vw, 84px); }
  .welcome__name { font-size: 1.12rem; margin-bottom: 3px; }
  .welcome__facts { font-size: .72rem; gap: 2px 9px; }
  .welcome__q { font-size: .97rem; margin-bottom: 8px; }
  .welcome__choices { gap: 8px; }
  .welcome__choice { padding: 11px 13px 10px; border-radius: 12px; }
  .welcome__choice b { font-size: 1.06rem; margin-bottom: 2px; }
  .welcome__choice span { font-size: .78rem; line-height: 1.38; }
  .welcome__choice .go { margin-top: 6px; font-size: .76rem; }
  .welcome__foot { font-size: .78rem; }
  .welcome__scroll { margin-top: 5px; }
  .wrap { padding-inline: 14px; }
}

/* ---------- services list ---------- */
.sl-block { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 34px; }
.sl-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.sl-head { display: grid; grid-template-columns: 1fr 232px; gap: 26px; align-items: center; }
@media (max-width: 780px) { .sl-head { grid-template-columns: 1fr; gap: 16px; } }
.sl-head h2 { margin-bottom: .3em; }
.sl-head p { color: var(--muted); margin: 0; max-width: 56ch; }
.sl-head figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.sl-head img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 780px) { .sl-head figure { max-width: 320px; } }

.sl-items {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 2px 26px;
}
.sl-items li {
  position: relative; padding: 7px 0 7px 20px; color: var(--text);
  font-size: .96rem; border-bottom: 1px solid rgba(255,255,255,.045);
}
.sl-items li::before {
  content: ""; position: absolute; left: 2px; top: 1.02em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}

.sl-brands {
  margin-top: 20px; background: var(--ink-2); border: 1px solid var(--line);
  border-left: 3px solid var(--yellow); border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px; font-size: .93rem; color: var(--muted);
}
.sl-brands b { color: #fff; }

.sl-more {
  margin-top: 44px; text-align: center;
  background: linear-gradient(150deg, rgba(220,28,28,.12), rgba(242,200,30,.05));
  border: 1px solid rgba(220,28,28,.35); border-radius: 18px; padding: 38px 28px 34px;
}
.sl-more strong {
  display: block; color: var(--yellow); font-weight: 800; letter-spacing: .18em;
  font-size: clamp(1.3rem, 4vw, 1.9rem); margin-bottom: 12px;
}
.sl-more p { color: var(--text); max-width: 52ch; margin: 0 auto 22px; font-size: 1.04rem; }

/* ---------- payid mark + compliance gate ---------- */
.payid-logo { height: 30px; width: auto; border-radius: 6px; }
#comp-gate-card .form-error { margin-top: 6px; }
#comp-docs li { color: var(--text); }

/* ---------- service hero cutouts ----------
   Equipment isolated on transparency, floating on a soft glow. Used only where
   the cutout came out flawless - context photos stay everywhere else. */
.svc-cutout {
  display: grid; place-items: center; padding: 26px 10px;
  background: radial-gradient(58% 58% at 50% 44%, rgba(242,200,30,.10), transparent 72%);
}
.svc-cutout img {
  max-height: 430px; max-width: 100%; width: auto;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.55));
}

/* ---------- customer reviews ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.rev {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 24px 20px; position: relative;
}
.rev::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-size: 3.4rem; color: var(--red); opacity: .55; font-family: Georgia, serif;
}
.rev__stars { color: var(--yellow); letter-spacing: 2px; font-size: .95rem; margin: 0 0 10px 26px; }
.rev p.rev__text { color: var(--text); font-size: .97rem; line-height: 1.6; margin: 0 0 14px; }
.rev__who { color: var(--muted); font-size: .86rem; }
.rev__who b { color: #fff; }
