/* 00  Core — resets and behaviour hooks only. Every visual decision for this
       site lives in the sections below, starting with the design tokens.    */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
iframe { border: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 999; transform: translateY(-160%); padding: 0.8rem 1.2rem; background: #000; color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field__error { margin: 0; min-height: 1rem; font-size: 0.82rem; font-weight: 700; color: var(--err); }
.field.is-invalid :where(input, select, textarea) { border-color: var(--err); }
.form-status { min-height: 1.2rem; font-weight: 700; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }
.img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; width: 100%; padding: 1rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.img-placeholder b { display: block; font-size: 0.92rem; letter-spacing: 0; text-transform: none; word-break: break-all; }
:target { scroll-margin-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Metroplex HVAC Solutions — metrohvac.xyz
   THE DEVICE: the contact sheet. Content sits inside a heavy dark frame,
   divided into equal cells by hairline gutters, each cell numbered in its
   corner like a frame on a strip of film. Nothing floats; everything is
   inside the frame.
   01 Tokens · 02 Base · 03 Header · 04 Phone strip · 05 Buttons
   06 Hero · 07 Page heads · 08 Sheet (the device) · 09 Blocks
   10 Sizing (signature) · 11 FAQ · 12 Form & contact · 13 Footer · 14 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --paper: #eef0f4; --white: #ffffff; --band: #dfe3ea;
  --ink: #141b2e; --ink-2: #262f47; --ink-l: #4a5468;
  --mag: #d6336c; --mag-d: #a3204f; --mag-l: #fbe4ec;
  --text: #3b4457; --muted: #6d7689; --line: #c8cedb;
  --focus: #a3204f; --err: #a3204f;
  --disp: "Mitr", "Trebuchet MS", "Segoe UI", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.92rem; --f-xs: 0.78rem; --f0: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --f1: clamp(1.1rem, 1.02rem + 0.4vw, 1.26rem);
  --f2: clamp(1.32rem, 1.14rem + 0.9vw, 1.8rem); --f3: clamp(1.7rem, 1.34rem + 1.8vw, 2.55rem);
  --r: 0px; --wrap: 1120px; --col: 63ch; --hd: 58px;
  --pad-y: clamp(2.3rem, 1.9rem + 2.4vw, 3.6rem);
  --gut: 2px;
}
@media (min-width: 900px) { :root { --hd: 66px; } }

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.75; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--disp); color: var(--ink); font-weight: 500; line-height: 1.28; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); }
p { margin: 0 0 0.95em; }
p:last-child { margin-bottom: 0; }
a { color: var(--mag-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong, b { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.38rem; }
.wrap { width: min(100% - 1.6rem, var(--wrap)); margin-inline: auto; }
.col { max-width: var(--col); }
.colc { max-width: var(--col); margin-inline: auto; }
.mark { display: block; margin-bottom: 0.35rem; font-family: var(--disp); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mag-d); }
.mt { margin-top: 1.5rem; }

/* 03 Header */
.hd { position: sticky; top: 0; z-index: 40; background: var(--ink); }
.hd__bar .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: var(--hd); }
.mx-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; color: #fff; text-decoration: none; }
.mx-logo svg { width: 28px; height: 28px; flex: none; }
.mx-logo b { display: block; color: #fff; font-family: var(--disp); font-size: 1.04rem; font-weight: 500; line-height: 1.14; }
.mx-logo small { display: block; font-family: var(--disp); font-size: 0.5rem; font-weight: 400; letter-spacing: 0.19em; text-transform: uppercase; color: #f4a8c2; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; padding: 0; border: 2px solid #4a5468; border-radius: var(--r); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
.hd :focus-visible { outline-color: #f4a8c2; }
.mxnav { display: none; }
@media (max-width: 899px) {
  .hd__bar .btn { display: none; }
  .mxnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 0.8rem 1rem; background: var(--ink); border-bottom: 3px solid var(--mag); }
  .mxnav.is-open { display: flex; }
  .mxnav a { padding: 0.78rem 0.2rem; border-bottom: 1px solid #333c52; color: #fff; font-family: var(--disp); font-size: 1.05rem; text-decoration: none; }
  .mxnav a[aria-current="page"] { color: #f4a8c2; }
}
@media (max-width: 400px) { .mx-logo small { display: none; } }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mxnav { display: flex; gap: 1.35rem; }
  .mxnav a { padding: 0.25rem 0; color: #c3cad9; font-family: var(--disp); font-size: 0.97rem; font-weight: 400; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
  .mxnav a:hover { color: #fff; }
  .mxnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--mag); }
}

/* 04 Phone strip — two cells of the contact sheet, at furniture scale */
.mxph { background: var(--ink); padding: 0 0 3px; }
.mxph__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); background: var(--ink); padding: 0 0.8rem; }
.mxph a { display: block; padding: 0.42rem 0.7rem 0.5rem; background: var(--white); color: var(--ink); font-family: var(--disp); font-size: 1.04rem; text-decoration: none; white-space: nowrap; }
.mxph a + a { background: var(--mag); color: #fff; }
.mxph .k { display: block; font-family: var(--sans); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.mxph a + a .k { color: #fbd3e1; }
@media (min-width: 900px) { .mxph { display: none; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.54rem 1.2rem 0.6rem; border: 0; border-radius: var(--r); background: var(--mag); color: #fff; font-family: var(--disp); font-size: 0.98rem; font-weight: 500; line-height: 1.42; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s, color 0.18s; }
.btn:hover { background: var(--mag-d); color: #fff; }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #262f47; color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--paper, .sec--ink a.btn--paper, .hero a.btn--paper, .phead a.btn--paper, .ws__out a.btn--paper { background: var(--white); color: var(--ink); }
.btn--paper:hover, .sec--ink a.btn--paper:hover, .hero a.btn--paper:hover, .phead a.btn--paper:hover, .ws__out a.btn--paper:hover { background: var(--band); color: var(--ink); }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } }
.btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }

/* 08 The contact sheet */
.sheet { display: grid; gap: var(--gut); padding: var(--gut); background: var(--ink); }
@media (min-width: 620px) { .sheet--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .sheet--3 { grid-template-columns: repeat(3, 1fr); } .sheet--2x { grid-template-columns: repeat(2, 1fr); } }
.sheet > * { min-width: 0; }
.cell { position: relative; padding: 1.5rem 1.15rem 1.25rem; background: var(--white); }
.cell__n { position: absolute; top: 0; left: 0; padding: 0.1rem 0.5rem 0.15rem; background: var(--ink); color: #9aa4b8; font-family: var(--disp); font-size: 0.66rem; letter-spacing: 0.16em; }
.cell--mag { background: var(--mag-l); }
.cell--mag .cell__n { background: var(--mag); color: #fff; }
.cell--ink { background: var(--ink); color: #c3cad9; }
.cell--ink h2, .cell--ink h3, .cell--ink b { color: #fff; }
.cell--ink .mark { color: #f4a8c2; }
.cell--ink a:not(.btn) { color: #fff; }
.cell--ink .cell__n { background: var(--mag); color: #fff; }
.cell--ink :focus-visible { outline-color: #f4a8c2; }
.cell > *:last-child { margin-bottom: 0; }
.sec--ink .cell:not(.cell--ink), .hero .cell:not(.cell--ink) { color: var(--text); }
.sec--ink .cell:not(.cell--ink) a:not(.btn), .hero .cell:not(.cell--ink) a:not(.btn) { color: var(--mag-d); }
.sec--ink .cell:not(.cell--ink) .mark, .hero .cell:not(.cell--ink) .mark { color: var(--mag-d); }
.cell--wide { grid-column: 1 / -1; }

/* 06 Hero */
.hero { padding-block: clamp(2.1rem, 1.8rem + 2.2vw, 3.4rem); background: var(--ink); color: #c3cad9; }
.hero h1 { color: #fff; }
.hero .mark { color: #f4a8c2; }
.hero .lede { font-size: var(--f1); line-height: 1.62; }
.hero a:not(.btn) { color: #fff; }
.hero :focus-visible { outline-color: #f4a8c2; }
.hero__grid { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 920px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 2.4rem; } }
.hero__grid > * { min-width: 0; }
.hero .sheet { background: #333c52; }
.hero .cell { padding: 1.3rem 1rem 1.1rem; }
.hero .cell p { font-size: var(--f-sm); }

/* 07 Page heads */
.phead { padding-block: clamp(1.8rem, 1.5rem + 1.8vw, 2.7rem); background: var(--band); border-bottom: 3px solid var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.7rem; padding: 0; list-style: none; font-size: 0.76rem; font-weight: 700; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--muted); }

/* 09 Blocks */
.sec { padding-block: var(--pad-y); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--band { background: var(--band); }
.sec--ink { background: var(--ink); color: #c3cad9; }
.sec--ink h2, .sec--ink h3, .sec--ink b { color: #fff; }
.sec--ink .mark { color: #f4a8c2; }
.sec--ink a:not(.btn) { color: #fff; }
.sec--ink :focus-visible { outline-color: #f4a8c2; }
.head { max-width: var(--col); margin-bottom: 1.6rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--f-sm); text-align: left; }
.tbl th, .tbl td { padding: 0.6rem 0.7rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 0.71rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tbl td:first-child { font-weight: 700; color: var(--ink); }
.scroll { overflow-x: auto; }
.figwide img, .figwide .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figbox img, .figbox .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.map { display: block; width: 100%; height: clamp(290px, 33vw, 370px); background: var(--band); }
.where { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 1fr 1fr; gap: 2.6rem; } }
.where > * { min-width: 0; }

/* 10 Sizing (signature) */
.ws { display: grid; gap: 1.6rem; }
@media (min-width: 1000px) { .ws { grid-template-columns: 0.82fr 1.18fr; gap: 2rem; align-items: start; } .ws__set { position: sticky; top: calc(var(--hd) + 1rem); } }
.ws__set { padding: var(--gut); background: var(--ink); }
.ws__set > div { padding: 1.15rem 1.15rem 1.3rem; background: var(--white); }
.ws__set fieldset { margin: 0 0 1.2rem; padding: 0; border: 0; }
.ws__set fieldset:last-of-type { margin-bottom: 0; }
.ws__set legend { display: block; margin-bottom: 0.5rem; padding: 0; font-family: var(--disp); font-size: 1.04rem; color: var(--ink); }
.opts { display: grid; gap: 2px; }
.opts label { position: relative; display: block; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: block; padding: 0.5rem 0.75rem; background: var(--paper); font-size: var(--f-sm); cursor: pointer; }
.opts input:checked + span { background: var(--ink); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.ws__out { min-width: 0; display: grid; gap: var(--gut); align-content: start; padding: var(--gut); background: var(--ink); }
.ws__flag { padding: 1.1rem 1.2rem; background: var(--mag); color: #fff; }
.ws__flag b { display: block; margin-bottom: 0.2rem; color: #fff; }
.ws__flag p { font-size: var(--f-sm); }
.ws__flag a { color: #fff; }
.ws__block { position: relative; padding: 1.5rem 1.2rem 1.25rem; background: var(--white); }
.ws__block h2 { font-size: var(--f1); margin-bottom: 0.3rem; }
.ws__block p, .ws__block ul { font-size: var(--f-sm); }
.ws__verdict { padding: 1.5rem 1.2rem 1.25rem; background: var(--mag-l); position: relative; }
.ws__verdict h2 { font-size: var(--f1); margin-bottom: 0.3rem; }
.ws__verdict p, .ws__verdict ul { font-size: var(--f-sm); }
.ws__note { padding: 1.5rem 1.2rem 1.25rem; background: var(--ink); color: #c3cad9; position: relative; }
.ws__note b { color: #fff; }
.ws__note p { font-size: var(--f-sm); }
.ws__note .cell__n { background: var(--mag); color: #fff; }

/* 11 FAQ */
.faq { display: grid; gap: var(--gut); max-width: 840px; padding: var(--gut); background: var(--ink); margin-top: 1.3rem; }
.mxq { background: var(--white); }
.mxq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; font-family: var(--disp); font-size: 1.02rem; font-weight: 500; line-height: 1.45; color: var(--ink); list-style: none; cursor: pointer; }
.mxq summary::after { content: "+"; flex: none; font-family: var(--sans); color: var(--mag-d); }
.mxq[open] summary::after { content: "\2013"; }
.mxq[open] summary { color: var(--mag-d); }
.mxq > div { padding: 0 1.1rem 1.1rem; }

/* 12 Form & contact */
.form { display: grid; gap: 1rem 1.3rem; margin-top: 1.2rem; }
@media (min-width: 640px) { .form--2col { grid-template-columns: 1fr 1fr; } }
.field--full, .form__end { grid-column: 1 / -1; }
.field label, .picks legend { font-weight: 700; color: var(--ink); font-size: 0.93rem; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 0.7rem 0.9rem; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: var(--r); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141b2e' stroke-width='2.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 15px; padding-right: 2.3rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 2px; }
.picks legend { margin-bottom: 0.45rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.42rem 0.9rem; background: var(--white); border: 2px solid var(--line); border-radius: var(--r); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-note { margin: 0.5rem 0 0; font-size: 0.84rem; color: var(--muted); }
.contact { display: grid; gap: 1.8rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.1fr 0.9fr; gap: 2.2rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: var(--gut); padding: var(--gut); background: var(--ink); }

/* 13 Footer */
.ft { background: var(--ink); color: #9aa4b8; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #f4a8c2; }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.5rem 1.5rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.45rem; font-family: var(--disp); font-size: 1.06rem; font-weight: 500; color: #fff; }
.ft h2 { margin: 0 0 0.5rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: #f4a8c2; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft__base { padding-block: 0.9rem; border-top: 1px solid #333c52; font-size: 0.8rem; }

/* 14 Images */
.img-placeholder { background: var(--band); border: 2px dashed var(--line); color: var(--muted); }
.img-placeholder b { color: var(--ink); overflow-wrap: anywhere; }
