/* Lizardo Cleaning Services
   Built on the client template's design: navy/green palette, Barlow Condensed
   headings, Inter body. One page, no framework, no build step. */

:root {
  --navy: #031d3d;
  --navy2: #06172e;
  --green: #377919;
  --green2: #265c12;
  --green-bright: #6fae3f;
  --pale: #f4f7f1;
  --ink: #101b31;
  --muted: #5d6675;
  --white: #fff;
  --line: #dde3db;
  --shadow: 0 12px 30px rgba(4, 27, 55, 0.12);
  --radius: 13px;
  /* .site-header's real rendered height (its .nav min-height — the topbar
     above it isn't sticky, so it doesn't factor in once scrolled). Kept as
     a variable so it can't drift out of sync with .nav's own value, and
     overridden at the same breakpoint that changes .nav's height. */
  --header-h: 100px;
  /* Must match .topbar-inner's min-height below — used to stack the sticky
     header under the sticky topbar on desktop. */
  --topbar-h: 42px;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: 74px 0; }

.kicker {
  display: block;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.kicker-light { color: var(--green-bright); }

.section-head { text-align: center; margin-bottom: 34px; }

.section-title,
.panel-title,
.quote-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.05;
  margin: 6px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-lead { color: var(--muted); margin: 0; }

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* Off-screen rather than display:none — some bots skip hidden fields. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green2); }
.btn-outline { border-color: #9aa6a0; background: #fff; color: var(--navy); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ---------- Top bar ---------- */

.topbar { background: var(--green2); color: #fff; font-size: 0.8rem; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar-claims, .topbar-contact { display: flex; gap: 22px; align-items: center; }
.topbar-claims span + span,
.topbar-contact a + a { border-left: 1px solid #ffffff55; padding-left: 22px; }
.topbar-contact a:hover { text-decoration: underline; }
.topbar-label { color: #ffffffb0; font-weight: 600; margin-right: 7px; }

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 12px #10203014;
}

/* Desktop only (matches the hamburger breakpoint below): the topbar sticks
   too, stacked above the nav rather than both pinning to top:0 and
   overlapping. Mobile/tablet keep the topbar scrolling away normally —
   permanently pinning both bars there would eat too much viewport height. */
@media (min-width: 1001px) {
  .topbar { position: sticky; top: 0; z-index: 31; }
  .site-header { top: var(--topbar-h); }
}
.nav { min-height: 100px; display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 86px; width: auto; }

/* Every same-page jump target is a <section id="…"> inside main. Without
   this, both a plain #id link and script.js's scrollIntoView() (it honours
   scroll-margin-top too) land the section flush under the viewport top,
   which the sticky header then covers — the section's heading ends up
   hidden and the page reads as having scrolled too far. */
main section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* A tight cluster, not spread across the full logo-to-CTA width — margin-left:
   auto absorbs the space on the logo's side, pulling the whole group over to
   sit close to the CTA rather than centered/evenly spaced in the bar. */
.navlinks {
  display: flex;
  margin-left: auto;
  gap: 28px;
  align-items: center;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.navlinks a:hover { color: var(--green); }


.menu-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 42%, rgba(255, 255, 255, 0.06) 72%),
    url("assets/hero-living-room.jpg") center / cover;
}
.hero-inner { display: flex; align-items: center; min-height: 540px; }
.hero-copy { width: min(620px, 60%); padding: 70px 0 95px; }

.hero-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero-title span { display: block; color: var(--green); }

/* Carries the service + location keywords inside the h1, where they count,
   without forcing them into the display type — at 5.4rem uppercase they would
   wrap badly. Class selector deliberately outweighs `.hero-title span` above. */
.hero-title .hero-title-sub {
  margin-top: 16px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  color: var(--ink);
}

.hero-lead { max-width: 550px; font-size: 1.05rem; color: #2c3550; }

/* Kept in flow, not absolutely positioned — an overlay would slide under the
   sticky header when the page scrolls. */
.hero-wave { display: block; width: 100%; height: 60px; margin-bottom: -1px; }

/* ---------- Quote bar / estimator ---------- */

.quote-bar { background: var(--navy); color: #fff; padding: 8px 0 38px; }
.quote-bar-inner { display: grid; gap: 18px; }

.quote-bar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.estimator-view { display: grid; gap: 22px; }

.qq-row { display: grid; gap: 12px; }
.qq-row-selects { grid-template-columns: repeat(4, 1fr); }
/* Flex, not grid: exactly two children (the estimate and the submit button)
   that should sit at opposite ends of the row, not in fixed column tracks
   sized for the old name/email fields this row used to hold. */
.qq-row-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.qq-field { display: grid; gap: 5px; min-width: 0; }
.qq-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9c7da;
}

.qq-field select,
.qq-field input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 5px;
  padding: 0 13px;
  color: #29313f;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
}

.qq-submit {
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}
.qq-submit:hover { background: var(--green2); }
.qq-submit:disabled { opacity: 0.6; cursor: default; }

.qq-row-addons { grid-template-columns: auto 1fr; align-items: start; gap: 14px; }
.qq-addons-label { padding-top: 9px; }
.qq-addons { display: flex; flex-wrap: wrap; gap: 8px; }

.qq-estimate {
  display: grid;
  gap: 2px;
  padding-right: 8px;
  min-width: 150px;
}
.qq-estimate-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9c7da;
}
.qq-estimate-value {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--green-bright);
}

.qq-note { margin: 0; font-size: 0.76rem; color: #a9b8cc; min-height: 1.2em; }

.qq-error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffd3d3;
  background: #7d1d1d;
  border-radius: 5px;
  padding: 9px 12px;
}
.qq-error[hidden] { display: none; }

/* ---------- Estimator chips ---------- */

.chip {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff1a;
  border: 1px solid #ffffff33;
}
.chip.is-selected { background: var(--green); border-color: var(--green); }

.chip-toggle {
  border: 0;
  background: none;
  color: #dbe6f2;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 15px;
  cursor: pointer;
  white-space: nowrap;
}
.chip.is-selected .chip-toggle { color: #fff; }
.chip-toggle:hover { background: #ffffff14; }

.chip-step {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 6px;
  border-left: 1px solid #ffffff44;
}
.chip-step[hidden] { display: none; }

.chip-step-btn {
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border-radius: 50%;
}
.chip-step-btn:hover { background: #ffffff2e; }

.chip-step-count {
  min-width: 18px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}


/* ---------- Services ---------- */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 16px #0c23400a;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.service-img { height: 190px; width: 100%; object-fit: cover; }

.service-icon {
  height: 190px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--navy) 0%, var(--green2) 100%);
}

.service-body { padding: 20px 18px 22px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.service h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.service p { font-size: 0.84rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.learn { color: var(--green); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.learn:hover { color: var(--green2); }

/* ---------- Packages ---------- */

.section-packages { background: #fbfcfa; }

.tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }

.tier-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier-card.is-selected { border-color: var(--green); box-shadow: var(--shadow); }

.tier-card-head { background: var(--navy); color: #fff; text-align: center; padding: 18px 12px; }
.tier-card[data-tier-card="Premium"] .tier-card-head { background: var(--green); }
.tier-card[data-tier-card="Signature"] .tier-card-head { background: var(--green2); }

.tier-card-name {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.85rem;
  line-height: 1;
  text-transform: uppercase;
}
.tier-card-kind { font-size: 0.72rem; letter-spacing: 0.22em; opacity: 0.85; }

.tier-card-body { padding: 22px 20px 24px; text-align: center; }
.tier-card-from { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tier-card-price {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--navy);
  margin: 2px 0 10px;
}
.tier-card-blurb { font-size: 0.88rem; color: var(--muted); margin: 0 0 16px; }

.tier-card-fit { background: var(--pale); border-radius: 9px; padding: 14px; text-align: left; margin-bottom: 16px; }
.tier-card-fit-head { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.tier-card-fit-text { font-size: 0.8rem; color: var(--muted); margin: 5px 0 0; }

.tier-services-head { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); text-align: left; margin-bottom: 8px; }
.tier-services-list { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; }
.tier-services-list li { display: flex; gap: 8px; font-size: 0.82rem; padding: 3px 0; }
.tick { color: var(--green); font-weight: 800; }

.tier-card-btn {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.tier-card.is-selected .tier-card-btn { background: var(--green); border-color: var(--green); color: #fff; }

.packages-note {
  text-align: center;
  margin-top: 26px;
  font-size: 1.05rem;
  color: var(--green2);
  font-style: italic;
}

/* ---------- Pricing table ---------- */

.table-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 16px #0c23400a; }

.table-head, .table-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); }

.table-head { background: var(--navy); color: #fff; }
.table-head .th-name, .table-head .th {
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.table-head .th-name { text-align: left; }
.table-head .col-e { background: var(--navy2); }
.table-head .col-p { background: var(--green); }
.table-head .col-s { background: var(--green2); }

.table-row { border-top: 1px solid var(--line); transition: background 0.15s; }
.table-row:nth-child(even) { background: #fafbf8; }
.table-row.is-size-selected { background: #eaf3e2; }

.td-name { padding: 13px 16px; font-weight: 600; font-size: 0.9rem; }
.td-price { padding: 13px 16px; text-align: center; font-weight: 700; font-size: 0.95rem; color: var(--navy); }

/* Scoped to .td-price on purpose. The col-* classes sit on the header cells
   too, and this rule outweighs `.table-head .col-*`, so an unscoped version
   repainted the selected column's header pale green while .table-head kept
   its text white — the header name vanished. */
body[data-tier="Essential"] .td-price.col-e,
body[data-tier="Premium"] .td-price.col-p,
body[data-tier="Signature"] .td-price.col-s { background: #eef4e8; }

/* ---------- Add-ons ---------- */

.addons-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 5px 16px #0c23400a; }

.panel-lead { color: var(--muted); margin: 0 0 18px; }

.addon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.addon-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 0.87rem; }
.addon-name { color: var(--ink); }
.addon-price { font-weight: 700; color: var(--green2); white-space: nowrap; }
.addon-footnote { font-size: 0.75rem; color: var(--muted); font-style: italic; margin: 16px 0 0; }

.addons-side { display: grid; gap: 18px; }

.discount-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.discount-card-head {
  background: var(--navy);
  color: #fff;
  padding: 13px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.discount-card-body { padding: 6px 16px 14px; }
.discount-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dotted var(--line); font-size: 0.88rem; }
.discount-row:last-child { border-bottom: 0; }
.discount-value { font-weight: 800; color: var(--green); }
.discount-value-navy { color: var(--navy); }

.special-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.special-kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-bright); }
.special-headline {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 3.2rem;
  line-height: 0.95;
  color: var(--green-bright);
  margin: 6px 0 4px;
}
.special-body { font-size: 0.86rem; color: #d8e0e9; }
.special-body strong { color: #fff; }
.special-or {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin: 12px 0;
}

/* ---------- Commercial ---------- */

.section-commercial { background: #fbfcfa; }
.commercial-panel { padding: 0; overflow: hidden; }
.commercial-photo { width: 100%; height: 230px; object-fit: cover; }
.commercial-head { text-align: center; padding: 26px 24px 4px; }
.commercial-note { color: var(--muted); font-size: 0.9rem; }

.commercial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 28px 30px; }
.commercial-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px 12px; text-align: center; background: #fff; transition: border-color 0.18s, transform 0.18s; }
.commercial-card:hover { border-color: var(--green); transform: translateY(-3px); }
.commercial-name { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.commercial-from { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.commercial-price { font-weight: 800; color: var(--green2); font-size: 1.02rem; }

/* ---------- Why choose us ---------- */

.why { background: #fff; padding: 74px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.why-img { height: 400px; width: 100%; object-fit: cover; border-radius: 20px; }
.why-copy p { color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; font-size: 0.84rem; font-weight: 600; margin: 22px 0 26px; }
.checks span { display: flex; align-items: center; gap: 8px; }
.checks span::before {
  content: "✓";
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 0.7rem;
  flex: 0 0 auto;
}

/* ---------- Shared form controls (used by the request modal) ---------- */

.field { display: grid; gap: 5px; min-width: 0; }
.field-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.field-hint { font-size: 0.7rem; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }

.field-grid { display: grid; gap: 14px; }
.field-grid-2 { grid-template-columns: 1fr 1fr; }

.form-block { display: grid; gap: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row .chip { background: #fff; border: 1px solid var(--line); }
.chip-row .chip.is-selected { background: var(--green); border-color: var(--green); }
.chip-row .chip-toggle { color: var(--muted); }
.chip-row .chip.is-selected .chip-toggle { color: #fff; }
.chip-row .chip-step { border-left-color: #ffffff66; }
.chip-row .chip:not(.is-selected) .chip-step-btn { color: var(--muted); }

.form-error {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a1c1c;
  background: #fdecec;
  border: 1px solid #f3c9c9;
  border-radius: 6px;
  padding: 10px 13px;
}
.form-error[hidden] { display: none; }

.submit-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.18s;
}
.submit-btn:hover { background: var(--green2); }
.submit-btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Estimator summary ---------- */

.estimator { background: var(--pale); border-radius: 10px; padding: 18px; }
.estimator-head { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 9px; }
.estimator-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.estimator-list li { font-size: 0.82rem; color: var(--muted); }
.estimator-disclaimer { font-size: 0.74rem; color: var(--muted); font-style: italic; margin-bottom: 12px; }
.estimator-total { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.estimator-total-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); }
.estimator-total-spacer { flex: 1; }
.estimator-total-value { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 2.1rem; line-height: 1; color: var(--green2); }

/* ---------- Request modal ---------- */

.quote-modal {
  width: min(980px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(3, 29, 61, 0.35);
  overflow: hidden;
}
.quote-modal::backdrop { background: rgba(3, 29, 61, 0.62); }

/* The dialog is a flex column so only the body scrolls, keeping the heading
   and the close button reachable on a short viewport. */
.quote-modal[open] { display: flex; flex-direction: column; }

.quote-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: var(--navy);
  color: #fff;
  flex: 0 0 auto;
}
.quote-modal-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.quote-modal-close {
  border: 0;
  background: #ffffff1f;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
}
.quote-modal-close:hover { background: #ffffff33; }

.quote-modal-form { display: grid; gap: 20px; padding: 24px; overflow-y: auto; }
.quote-modal-form[hidden] { display: none; }

.quote-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-bottom: 20px; }
.quote-modal-options { display: grid; gap: 16px; }

.quote-modal-legend {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green2);
}

.modal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.quote-modal-summary { display: grid; gap: 10px; align-content: start; }
.quote-modal-note { color: var(--muted); }

.quote-modal-contact { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }

.quote-modal-done { display: none; }
.quote-modal-done:not([hidden]) {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 44px 24px 48px;
}
.quote-success-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.6rem; }
.quote-success-title { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.9rem; margin: 0; text-transform: uppercase; }
.quote-success-msg { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 46ch; }
.quote-success-btn {
  min-height: 46px;
  padding: 0 24px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
}
.quote-success-btn:hover { background: var(--navy); color: #fff; }
/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #fff; padding: 34px 0 0; }

.footer-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding-bottom: 26px;
}

.footer-tagline { margin: 0; font-size: 1.05rem; font-style: italic; color: #cfdbe8; }

.footer-contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: #d8e0e9;
}
.footer-contact-label {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.footer-contact a { color: #d8e0e9; }
.footer-contact a:hover { color: var(--green-bright); }
/* The label is larger now, so flex's box-height centering leaves the rest
   of the line looking a touch high next to it — nudge it down to compensate. */
.footer-contact > *:not(.footer-contact-label) { position: relative; top: 2px; }
.footer-dot { color: var(--green-bright); }

.copyright { text-align: center; background: var(--green2); padding: 13px; font-size: 0.74rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .navlinks, .nav-cta { display: none; }
  /* With those two hidden, the logo and toggle are .nav's only visible flex
     children — margin-left: auto pushes the toggle to the far right instead
     of it sitting flush against the logo on the left. */
  .menu-toggle { display: block; margin-left: auto; }

  .navlinks.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 12px 6%;
    box-shadow: 0 12px 20px #10203018;
  }
  .navlinks.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); }

  .hero-copy { width: 100%; }
  .hero { background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.94)), url("assets/hero-living-room.jpg") center / cover; }

  .qq-row-selects { grid-template-columns: 1fr 1fr; }
  /* .qq-row-submit is flex now — stack the estimate above a full-width
     button rather than crowding them onto one row at this width. */
  .qq-row-submit { flex-direction: column; align-items: stretch; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .tier-cards { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .commercial-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .quote-modal-grid { grid-template-columns: 1fr; }
  .quote-modal-summary { position: static; }
}

@media (max-width: 680px) {
  .section, .why { padding: 48px 0; }

  .topbar-claims span:nth-child(n + 2) { display: none; }
  .topbar-contact a + a { display: none; }

  :root { --header-h: 78px; }
  .nav { min-height: 78px; }
  .logo-img { height: 66px; }

  .hero-inner { min-height: 440px; }
  .hero-copy { padding: 48px 0 70px; }

  .qq-row-selects { grid-template-columns: 1fr; }
  .qq-row-addons { grid-template-columns: 1fr; }
  .qq-addons-label { padding-top: 0; }
  .qq-estimate { min-width: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .addon-list { grid-template-columns: 1fr; }
  .commercial-grid { grid-template-columns: 1fr; padding: 18px 18px 24px; }
  .checks { grid-template-columns: 1fr; }
  .footer-contact { flex-direction: column; gap: 4px; }
  .footer-dot { display: none; }

  .quote-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
  .quote-modal-form { padding: 18px; }
  .modal-fields { grid-template-columns: 1fr; }

  .panel { padding: 20px; }
  .field-grid-2 { grid-template-columns: 1fr; }

  .table-head, .table-row { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .table-head .th-name, .table-head .th { padding: 11px 8px; font-size: 0.66rem; }
  .td-name { padding: 11px 8px; font-size: 0.8rem; }
  .td-price { padding: 11px 4px; font-size: 0.84rem; }

  .why-img { height: 250px; }
}
