/* My Fire Systems — v2. A tradesman's site done properly: white page, real photos,
   brand red used sparingly, signage-style condensed headings. Light theme only, by choice. */
:root {
  --red: #BF1E2E;
  --red-dark: #9A1724;
  --ink: #1F1B1C;
  --body: #3D3738;
  --muted: #6B6365;
  --line: #E4E0DF;
  --wash: #F5F3F2;
  --white: #FFFFFF;
  --star: #E8A317;
  --safe: #157A43;      /* safety-sign green: reassurance only */
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Barlow", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--text); font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--muted); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
header.site .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.brand { flex: none; }
.brand img { height: 48px; width: auto; }
nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 10px; white-space: nowrap; }
nav.main a:hover { text-decoration: underline; text-underline-offset: 6px; }
nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.head-phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.head-phone small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); line-height: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--text); font-weight: 700; font-size: 1.02rem; padding: 13px 22px; border-radius: 3px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 3px; padding: 7px 12px; font: 700 0.95rem var(--text); color: var(--ink); }
@media (max-width: 1180px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; border-bottom: 1px solid var(--line); padding: 4px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
}
@media (max-width: 600px) { .head-phone, header.site .btn { display: none; } .brand img { height: 40px; } }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; padding-block: 44px 52px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding-top: 8px; }
.hero-copy .lede { font-size: 1.18rem; max-width: 56ch; }
.rating { display: inline-flex; white-space: nowrap; align-items: center; gap: 10px; flex-wrap: wrap; text-decoration: none; color: var(--ink); font-weight: 600; }
.rating .stars { color: var(--star); letter-spacing: 1px; font-size: 1.15rem; }
.rating .g { color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.95rem; color: var(--muted); padding-top: 4px; }
.facts span::before { content: "✓"; color: var(--safe); font-weight: 700; margin-right: 6px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 30px; padding-block: 28px 40px; } }

/* form */
.quote { background: var(--wash); border-top: 4px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 90px; }
.quote h2 { font-size: 1.8rem; }
.quote .sub { color: var(--muted); font-size: 0.95rem; margin-top: -6px; }
.quote form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #C9C2C1; border-radius: 3px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.quote .btn-red { grid-column: 1 / -1; padding: 15px; font-size: 1.1rem; }
.quote .fine { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 480px) { .quote { padding: 18px; } .quote form { grid-template-columns: 1fr; } }

/* sections */
section.band { padding-block: 72px; }
section.band.wash { background: var(--wash); }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; max-width: 720px; }
.sec-head p { font-size: 1.1rem; }
@media (max-width: 600px) { section.band { padding-block: 52px; } }

/* photo strip / gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; background: var(--line); }
.gallery figcaption { font-size: 0.92rem; color: var(--muted); }
.gallery figcaption b { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more-link { margin-top: 24px; }

/* service rows (home) */
.svc-rows { display: grid; gap: 56px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.svc-row:nth-child(even) .svc-photo { order: 2; }
.svc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.svc-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.svc-text .std { font-weight: 600; color: var(--muted); font-size: 0.95rem; letter-spacing: 0.02em; }
.svc-text ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 800px) { .svc-row { grid-template-columns: 1fr; gap: 20px; } .svc-row:nth-child(even) .svc-photo { order: 0; } .svc-photo img { aspect-ratio: 16 / 11; } }

/* reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.score { display: flex; align-items: center; gap: 14px; }
.score b { font-family: var(--head); font-size: 3.2rem; line-height: 1; color: var(--ink); }
.score .stars { color: var(--star); font-size: 1.3rem; letter-spacing: 2px; }
.score small { display: block; color: var(--muted); font-size: 0.95rem; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { background: var(--white); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.review .stars { color: var(--star); letter-spacing: 1px; }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { margin-top: auto; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.review figcaption span { font-weight: 400; color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.people figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.people img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.people figcaption { font-size: 0.95rem; color: var(--muted); }
.people figcaption b { color: var(--ink); display: block; font-size: 1.05rem; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* plain lists & tables */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.cols > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table.types { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 0.98rem; }
table.types th, table.types td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.types thead th { font-weight: 600; color: var(--muted); background: var(--wash); font-size: 0.9rem; }
table.types tbody tr:last-child td { border-bottom: 0; }
table.types td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--ink); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; max-width: 70ch; }

/* contact band */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 72px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > * { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-list span { color: var(--muted); }
.contact-list b { font-weight: 600; overflow-wrap: anywhere; }
.contact .quote { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.contact { background: var(--wash); }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; padding-block: 52px; gap: 32px; } }

/* footer */
footer.site { background: var(--ink); color: #BDB4B5; font-size: 0.95rem; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px calc(40px + 64px); }
footer.site h4 { color: var(--white); font-size: 0.95rem; margin: 0 0 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { color: #EDE7E7; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand img { background: var(--white); padding: 8px; height: 60px; width: auto; align-self: flex-start; }
.legal { grid-column: 1 / -1; border-top: 1px solid #3A3334; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem; }
@media (max-width: 860px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer.site .wrap { grid-template-columns: 1fr; } }
@media (min-width: 761px) { footer.site .wrap { padding-block: 48px; } }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .mbar .btn { padding: 13px 10px; }
}

/* thank you */
.thanks .wrap { display: flex; flex-direction: column; gap: 20px; max-width: 760px; padding-block: 64px; }
.thanks ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

/* two-step quote form */
.steps-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.svc-pick { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-pick legend { font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; font-size: 1rem; }
.svc-pick label { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid #C9C2C1; border-radius: 3px; padding: 13px 12px; cursor: pointer; font-weight: 600; color: var(--ink); line-height: 1.25; min-height: 56px; }
.svc-pick label:hover { border-color: var(--ink); }
.svc-pick input { accent-color: var(--red); width: 18px; height: 18px; flex: none; margin: 0; }
.svc-pick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.svc-pick .wide { grid-column: 1 / -1; }
.js .quote .step2 { display: none; }
.js .quote.on-step2 .step1 { display: none; }
.js .quote.on-step2 .step2 { display: contents; }
.quote .step1, .quote .step2 { display: contents; }
.js .quote .next { display: inline-flex; }
.quote .next { display: none; grid-column: 1 / -1; }
.js .quote:not(.on-step2) .send, .js .quote:not(.on-step2) .assure { display: none; }
.back { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0; font: 600 0.92rem var(--text); color: var(--muted); text-decoration: underline; cursor: pointer; }
.chosen { grid-column: 1 / -1; font-size: 0.95rem; color: var(--ink); }
.pick-error { grid-column: 1 / -1; color: var(--red-dark); font-weight: 600; font-size: 0.92rem; }
.assure { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 0.88rem; color: var(--body); }
.assure span::before { content: "✓"; color: var(--safe); font-weight: 700; margin-right: 5px; }
.mini-review { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.92rem; color: var(--body); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mini-review .stars { color: var(--star); font-size: 0.95rem; letter-spacing: 1px; }
.mini-review cite { font-style: normal; color: var(--muted); }
@media (max-width: 420px) { .svc-pick { grid-template-columns: 1fr; } }

/* about v2 */
.about2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.about2 .people { order: 0; }
.about-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.about-card > p { font-size: 1.12rem; color: var(--ink); }
.roles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.role b { color: var(--ink); font-size: 1.05rem; }
.role p { font-size: 1rem; }
.role a { font-weight: 600; white-space: nowrap; }
.pull { margin: 0; padding: 0 0 0 16px; border-left: 3px solid var(--star); }
.pull blockquote { margin: 0; font-size: 1.08rem; color: var(--ink); }
.pull figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 800px) { .about2 { grid-template-columns: 1fr; gap: 24px; } .role { grid-template-columns: 1fr; gap: 2px; } }
.wa { color: var(--safe); font-weight: 600; }

/* consent notice */
.consent { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; max-width: 420px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.consent[hidden] { display: none; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent .btn { padding: 10px 12px; font-size: 0.95rem; }
@media (max-width: 760px) { .consent { right: max(12px, env(safe-area-inset-right, 0px)); max-width: none; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.prose h2 { font-size: 1.5rem; margin-top: 12px; }
.prose p { max-width: 68ch; }
footer.site.lp .wrap { display: block; padding-block: 28px calc(28px + 64px); }
@media (min-width: 761px) { footer.site.lp .wrap { padding-block: 28px; } }
footer.site.lp .legal { border-top: 0; padding-top: 0; }

.trusted { font-weight: 600; color: var(--ink); }
@media (max-width: 1000px) { .role { grid-template-columns: 1fr; gap: 2px; } }

.ph-slot { aspect-ratio: 4 / 5; width: 100%; border: 2px dashed #B9B0AE; background: var(--wash); color: var(--muted); display: grid; place-items: center; text-align: center; font-weight: 600; padding: 12px; border-radius: 2px; }

.gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .gallery.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v5: fault call strip (alarm page), audience line on form */
.fault { display: block; border: 1px solid var(--red); border-left-width: 5px; background: #FDF2F3; color: var(--ink); border-radius: 6px; padding: 12px 16px; text-decoration: none; font-size: 1rem; line-height: 1.4; }
.fault b { color: var(--red-dark); }
.fault:hover { background: #FBE6E8; }
.for-who { font-size: 0.92rem; color: var(--muted); margin: -4px 0 4px; }
.wa-line { font-size: 0.95rem; color: var(--muted); }

/* v5.1: WhatsApp button + mobile header call/WhatsApp icons */
.btn-wa { border-color: var(--safe); color: var(--safe); background: var(--white); }
.btn-wa:hover { background: var(--safe); color: var(--white); }
.head-icons { display: none; gap: 8px; }
.hi { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; text-decoration: none; }
.hi svg { width: 20px; height: 20px; }
.hi-call { background: var(--red); color: var(--white); }
.hi-wa { background: var(--safe); color: var(--white); }
@media (max-width: 600px) {
  .head-icons { display: flex; margin-left: auto; }
  .head-icons ~ .menu-btn { margin-left: 10px; }
  .hero .actions .btn { flex: 1 1 100%; }
}
.survey-note { grid-column: 1 / -1; margin: -4px 0 4px; padding: 10px 14px; background: #EEF7F1; border-left: 4px solid var(--safe); border-radius: 4px; color: var(--ink); font-size: 0.95rem; }
.survey-note::before { content: "✓ "; color: var(--safe); font-weight: 700; }
.survey-note[hidden] { display: none; }

/* Warm off-white page (chosen over pure white, Oct 2026) */
:root { --paper: #FBF8F3; --wash: #F3EDE4; --line: #E5DCD0; }
body, header.site, body::before, nav.main { background: var(--paper); }
.review, .contact .quote { background: #FFFDF9; }
.field input, .field select, .field textarea, .svc-pick label, .btn-line, .btn-wa { background: #FFFFFF; }
.btn-line:hover { background: var(--ink); }
.btn-wa:hover { background: var(--safe); }

/* Preview-only page switcher (not in the live build) */
.pv-bar { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; background: #1F1A17; color: #fff; font-size: 0.82rem; padding: 8px max(16px, env(safe-area-inset-left, 0px)); }
.pv-bar b { text-transform: uppercase; letter-spacing: .08em; color: #F3B4BA; margin-right: 4px; }
.pv-bar a { color: #fff; text-decoration: none; opacity: .8; white-space: nowrap; }
.pv-bar a:hover, .pv-bar a[aria-current] { opacity: 1; text-decoration: underline; }

/* Service photos: square on phones so the subject isn't cut in half; landscape shots stay landscape */
@media (max-width: 800px) { .svc-photo img { aspect-ratio: 1 / 1; } }
.svc-photo img.wide, .people img.wide { aspect-ratio: 16 / 9; object-fit: cover; }

.people-one { grid-template-columns: 1fr; }
.people-one img { aspect-ratio: 4 / 5; }

.svc-photo img.full { aspect-ratio: 1200 / 1045; }
@media (max-width: 800px) { .svc-photo img.full { aspect-ratio: 1200 / 1045; } }

.team-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red, #BF1E2E); padding: 28px; border-radius: 2px; }
.tc-people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tc-people b { display: block; font-size: 1.25rem; color: var(--ink); }
.tc-people span { color: var(--muted); font-size: 0.95rem; }
.tc-facts { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.tc-facts b { display: block; font-size: 1.15rem; color: var(--ink); }
.tc-facts b i { font-style: normal; color: #E8A317; margin-left: 4px; }
.tc-facts span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 420px) { .team-card { padding: 20px; } .tc-facts b { font-size: 1.05rem; } }
@media (max-width: 800px) { .about2 .team-card { order: 2; } }

/* Landing pages on phones: headline, rating, then the form straight away (copy follows) */
@media (max-width: 900px) {
  header.site.lp ~ main .hero .wrap { gap: 14px; padding-block: 18px 36px; }
  header.site.lp ~ main .hero-copy { display: contents; }
  header.site.lp ~ main .hero-copy > * { order: 4; }
  header.site.lp ~ main .hero-copy > h1 { order: 1; font-size: clamp(1.75rem, 7vw, 2.3rem); }
  header.site.lp ~ main .hero-copy > .rating { order: 2; }
  header.site.lp ~ main .hero .quote { order: 3; margin-top: 4px; }
  header.site.lp ~ main .hero-copy > .lede { margin-top: 14px; }
  header.site.lp ~ main .hero-copy > .actions { display: none; }
}
/* Slim cookie bar on phones: one line, two equal buttons */
@media (max-width: 760px) {
  .consent { flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; font-size: 0.82rem; line-height: 1.3; }
  .consent p { flex: 1 1 auto; margin: 0; }
  .consent-btns { flex: 0 0 auto; grid-template-columns: auto auto; gap: 6px; }
  .consent .btn { padding: 8px 10px; font-size: 0.85rem; }
}
/* Very small phones (320-360px): keep logo, call/WhatsApp and Menu on one line with no sideways scroll */
@media (max-width: 360px) {
  header.site .wrap { gap: 10px; }
  .brand img { height: 34px; }
  .menu-btn { padding: 6px 9px; }
}
@media (max-width: 360px) { .mbar .btn { font-size: 0.92rem; padding: 12px 6px; gap: 6px; white-space: nowrap; } }
/* Services / Industries dropdowns */
nav.main .drop { position: relative; }
nav.main .drop > summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); padding: 8px 10px; white-space: nowrap; }
nav.main .drop > summary::-webkit-details-marker { display: none; }
nav.main .drop > summary::after { content: "▾"; font-size: 0.8em; margin-left: 6px; color: var(--muted); }
nav.main .drop[open] > summary::after { content: "▴"; }
nav.main .drop-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 270px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px -14px rgba(0,0,0,.35); display: flex; flex-direction: column; padding: 6px; }
nav.main .drop-menu a { padding: 10px 12px; border-radius: 2px; }
nav.main .drop-menu a:hover { background: var(--wash); text-decoration: none; }
@media (max-width: 1180px) {
  nav.main .drop > summary { padding: 13px 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
  nav.main .drop-menu { position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px 14px; }
  nav.main .drop-menu a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
}
footer.site .foot-h2 { margin-top: 20px; }
/* Industry pages (also ad landing pages): same phone layout — headline, rating, form */
@media (max-width: 900px) {
  .hero.form-first .wrap { gap: 14px; padding-block: 18px 36px; }
  .hero.form-first .hero-copy { display: contents; }
  .hero.form-first .hero-copy > * { order: 4; }
  .hero.form-first .hero-copy > h1 { order: 1; font-size: clamp(1.75rem, 7vw, 2.3rem); }
  .hero.form-first .hero-copy > .rating { order: 2; }
  .hero.form-first .quote { order: 3; margin-top: 4px; }
  .hero.form-first .hero-copy > .lede { margin-top: 14px; }
  .hero.form-first .hero-copy > .actions { display: none; }
}
