/* ==========================================================================
   NovaBuild Construction Inc. — main stylesheet
   Colours come straight from the logo: navy #14213D and orange #F47B20.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --navy: #14213D;
  --navy-900: #0C162B;
  --navy-700: #22314F;
  --orange: #F47B20;
  --orange-ink: #B4500A;      /* orange that passes contrast on white */
  --orange-soft: #FEF0E6;
  --orange-on-dark: #F9A66C;  /* orange that passes contrast on navy */
  --ink: #14213D;
  --text: #46506A;
  --muted: #5B6478;
  --on-dark: #C9D1E0;
  --on-dark-2: #B7C0D3;
  --surface: #F3F5F8;
  --line: #E3E7EE;
  --line-2: #D5DBE5;
  --field: #CBD2DD;
  --white: #FFFFFF;

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --header-h: 72px;
  --section-y: clamp(64px, 8vw, 112px);
  --shadow-card: 0 1px 2px rgba(20, 33, 61, .06), 0 12px 40px rgba(20, 33, 61, .08);
  --shadow-pop: 0 24px 60px rgba(8, 15, 32, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-ink); }
a:hover { color: #8A3D07; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 12px 18px; background: var(--orange); color: var(--navy);
  font-weight: 700; border-radius: var(--radius); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--navy); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h1 { font-size: clamp(40px, 4.9vw, 68px); line-height: 1.03; }
.h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow--bar::before { content: ""; width: 32px; height: 3px; background: var(--orange); flex-shrink: 0; }
.on-dark .eyebrow, .eyebrow--light { color: var(--orange-on-dark); }
.section-head { max-width: 760px; display: grid; gap: 16px; }
.section-head p { font-size: 18px; line-height: 1.65; color: var(--text); }
.on-dark .section-head p { color: var(--on-dark); }
.section-head--row {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head--row > div { max-width: 720px; display: grid; gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s var(--ease); }
.btn:hover svg.icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: #FF8A33; color: var(--navy); box-shadow: 0 8px 24px rgba(244, 123, 32, .35); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--line-2); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--surface); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; color: var(--orange); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-underline { border-bottom: 2px solid var(--orange); }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--check { color: var(--orange); stroke-width: 2.6; }
.check-list { display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.check-list .icon { margin-top: 1px; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark); font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 9px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--orange); }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar a.topbar__item:hover { color: var(--white); }
.topbar__phone { color: var(--white); font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 33, 61, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.header__logo { display: inline-flex; flex-shrink: 0; }
.header__logo img { width: 272px; height: auto; transition: width .25s var(--ease); }
.header.is-scrolled .header__logo img { width: 240px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; padding: 8px 0;
  font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); border: 0; border-radius: var(--radius); cursor: pointer;
}
.burger .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; animation: slideDown .25s var(--ease); }
.mobile-nav .container { padding-block: 8px 24px; }
.mobile-nav a.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid #EEF1F5;
  font-size: 17px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.mobile-nav a.mobile-nav__link .icon { width: 18px; height: 18px; color: var(--orange); }
.mobile-nav__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (home) ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 660px; }
.hero__content {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: clamp(56px, 7vw, 112px) clamp(24px, 4vw, 64px) clamp(56px, 6vw, 96px) max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.hero__content .lead { color: var(--on-dark); max-width: 560px; }
.hero__installs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__installs-label { font-size: 13px; font-weight: 600; color: var(--on-dark-2); margin-right: 4px; }
.pill {
  display: inline-flex; align-items: center; padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--white); text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
a.pill:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: var(--white); }
.hero__media { position: relative; min-height: 440px; background: var(--navy-700); clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%); }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slash { position: absolute; inset: 0; background: var(--orange); clip-path: polygon(13% 0, 16.5% 0, 3.5% 100%, 0 100%); }
.hero__card {
  position: absolute; left: clamp(16px, 16%, 150px); bottom: 32px; right: 16px; max-width: 360px;
  background: var(--white); color: var(--navy); border-radius: var(--radius-md);
  padding: 22px 24px; box-shadow: var(--shadow-pop);
}
.hero__card-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 40px; }
.trust__item { display: flex; gap: 16px; align-items: flex-start; }
.icon-tile {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius-md);
  background: var(--orange-soft); color: var(--orange-ink);
  display: flex; align-items: center; justify-content: center;
}
.icon-tile .icon { width: 24px; height: 24px; }
.trust__title { font-weight: 700; font-size: 16px; }
.trust__text { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Tabs (flooring + room finder) ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tab {
  min-height: 50px; padding: 0 22px;
  border: 2px solid var(--line-2); background: var(--white); color: var(--navy);
  border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tab-panel {
  margin-top: 20px; background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  box-shadow: var(--shadow-card);
}
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-panel__media { position: relative; min-height: 400px; background: #DDE2EA; }
.tab-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tab-panel__badge {
  position: absolute; left: 20px; top: 20px; padding: 8px 12px; border-radius: 3px;
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.tab-panel__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.tab-panel__tag { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--orange-ink); }
.tab-panel__desc { font-size: 16px; line-height: 1.7; color: var(--text); }
.label-caps { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.tag--orange { background: var(--orange-soft); border-color: transparent; color: #7A3606; font-weight: 700; }

/* ---------- Steps (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 52px; }
.step { display: flex; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.step__num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 34px; line-height: 1; color: var(--orange); }
.step__title { font-size: 19px; font-weight: 700; }
.step__text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }

/* ---------- Services ---------- */
.feature {
  margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); overflow: hidden;
}
.feature__media { position: relative; min-height: 400px; overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.feature__body p { font-size: 17px; line-height: 1.65; color: var(--on-dark); }
.badge {
  align-self: flex-start; padding: 7px 12px; border-radius: 3px;
  background: var(--orange); color: var(--navy);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card__media { height: 220px; overflow: hidden; background: #DDE2EA; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card__title { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 22px; line-height: 1.15; }
.card__text { font-size: 15px; line-height: 1.65; color: var(--text); flex-grow: 1; }
.card__chip {
  position: absolute; left: 16px; top: 16px; padding: 6px 10px; border-radius: 3px;
  background: var(--white); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .08em;
}

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding: 0 24px 24px 0; }
.about__media::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 62%; height: 70%;
  background: var(--orange); border-radius: var(--radius-md);
}
.about__media img { position: relative; width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-md); }
.about__body { display: flex; flex-direction: column; gap: 22px; }
.about__body > p { font-size: 17px; line-height: 1.7; color: var(--text); }
.about__body .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }

/* ---------- Areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
}
.chip .icon { width: 13px; height: 13px; color: var(--orange-ink); stroke-width: 2.4; }
.section--surface .chip { background: var(--white); }
.location {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px;
}
.location::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
  border: 28px solid rgba(244, 123, 32, .18); border-radius: 50%;
}
.location > * { position: relative; }
.location .eyebrow { color: var(--orange-on-dark); }
.location__pin {
  width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.location__pin .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.location__address { margin-top: 10px; font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 26px; line-height: 1.25; }
.location__links { display: grid; gap: 6px; font-size: 16px; }
.location__links a { display: flex; gap: 12px; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.location__links a:hover { color: var(--orange-on-dark); }
.location__links .icon { color: var(--orange); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-self: flex-start; }
.faq__intro p { font-size: 17px; line-height: 1.65; color: var(--text); }
.faq__list { flex: 999 1 560px; min-width: 0; display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 16px 22px; cursor: pointer;
  font-size: 17px; font-weight: 700; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background-color .25s;
}
.faq__icon .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--orange); }
.faq__answer { padding: 0 22px 22px; font-size: 16px; line-height: 1.7; color: var(--text); }

/* ---------- Quote section + forms ---------- */
.quote { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: flex-start; }
.quote__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.quote__intro > p { font-size: 18px; line-height: 1.65; color: var(--on-dark); }
.quote__form { flex: 999 1 560px; min-width: 0; }
.numbered { display: grid; gap: 18px; margin-top: 8px; }
.numbered li { display: flex; gap: 16px; align-items: flex-start; }
.numbered__n {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.numbered__title { font-weight: 700; font-size: 16px; }
.numbered__text { margin-top: 3px; font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.quote__contact { display: grid; gap: 6px; padding-top: 22px; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .16); }
.quote__phone { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 30px; color: var(--white); text-decoration: none; }
.quote__phone:hover { color: var(--orange-on-dark); }
.quote__email { color: var(--orange-on-dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.quote__email:hover { color: var(--white); }

.form-card {
  background: var(--white); color: var(--navy); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.form-card--flat { box-shadow: none; border: 1px solid var(--line); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form__full { grid-column: 1 / -1; }
.form__title { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 24px; }
.form__hint { margin-top: 6px; font-size: 14px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 14px;
  border: 1.5px solid var(--field); border-radius: var(--radius);
  background: var(--white); color: var(--navy); font-size: 16px; font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { padding: 12px 14px; min-height: 120px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(244, 123, 32, .35);
}
.field input::placeholder, .field textarea::placeholder { color: #7B8496; }
.field.is-invalid input, .field.is-invalid select { border-color: #C2410C; }
.field__error { font-size: 13px; font-weight: 600; color: #B42318; }
.req { color: var(--orange-ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--field); border-radius: 999px; background: var(--white); color: var(--navy);
  font-size: 14px; font-weight: 600; cursor: pointer; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.choice-chip span::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--field);
  transition: background-color .15s, border-color .15s;
}
.choice-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice-chip input:checked + span::before {
  border-color: var(--orange); background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.choice-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.is-invalid .choice-chip span { border-color: #C2410C; }
.radio-row { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; font-weight: 500; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--navy); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: 13px; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; font-weight: 600; }
.form-status.is-error { display: block; background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"] .icon-arrow { animation: nudge .8s infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(8px, 3vw, 32px) 0; }
.form-success.is-visible { display: flex; animation: fadeIn .4s var(--ease); }
.form-success__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.form-success__icon .icon { width: 32px; height: 32px; stroke-width: 2.8; }
.form-success p { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 520px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
.page-hero__content { display: flex; flex-direction: column; gap: 24px; }
.page-hero__content .lead { color: var(--on-dark); max-width: 580px; }
.page-hero--simple { padding-block: clamp(48px, 6vw, 80px) clamp(120px, 12vw, 150px); }
.page-hero--simple .container { display: flex; flex-direction: column; gap: 20px; }
.breadcrumb { font-size: 14px; color: var(--on-dark-2); }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--white); }
.breadcrumb .sep { margin: 0 8px; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 220px; gap: 12px; }
.mosaic img, .mosaic__cell { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.mosaic__tall { grid-row: 1 / 3; }
.mosaic__cell { position: relative; overflow: hidden; }
.mosaic__cell img { border-radius: 0; }
.mosaic__label {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: var(--radius);
  background: var(--orange); color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .04em;
}

.jumpbar { border-bottom: 1px solid var(--line); background: var(--white); }
.jumpbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 18px; }
.jumpbar__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.jumpbar a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-2); border-radius: 999px;
  color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s;
}
.jumpbar a:hover { border-color: var(--navy); }
.jumpbar a.is-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Comparison table ---------- */
.table-note { font-size: 14px; color: var(--muted); max-width: 360px; }
.table-wrap { margin-top: 36px; overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.compare thead th { background: var(--navy); color: var(--white); text-align: left; padding: 18px 20px; font-weight: 700; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody tr:hover { background: #FAFBFC; }
.compare th[scope="row"] { text-align: left; font-weight: 700; white-space: nowrap; }
.compare td, .compare th[scope="row"] { padding: 18px 20px; }
.compare td.cost { font-weight: 700; }
.compare th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; z-index: 1; }
.compare th[scope="row"] { background: var(--white); box-shadow: 1px 0 0 var(--line); }
.compare tbody tr:hover th[scope="row"] { background: #FAFBFC; }
.meter { display: flex; align-items: center; gap: 10px; }
.meter__bars { display: inline-flex; gap: 3px; }
.meter__bars i { width: 14px; height: 8px; border-radius: 2px; background: #DDE2EA; }
.meter[data-level="1"] .meter__bars i:nth-child(-n+1),
.meter[data-level="2"] .meter__bars i:nth-child(-n+2),
.meter[data-level="3"] .meter__bars i:nth-child(-n+3) { background: var(--navy); }
.scroll-hint { display: none; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Extras + CTA band ---------- */
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.extra { padding: 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, background-color .25s; }
.extra:hover { border-color: rgba(244, 123, 32, .6); background: rgba(255, 255, 255, .03); }
.extra__n {
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 16px;
}
.extra h3 { font-size: 19px; font-weight: 700; }
.extra p { font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }
.cta-band { background: var(--orange); color: var(--navy); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(48px, 6vw, 72px); }
.cta-band p { margin-top: 12px; font-size: 18px; line-height: 1.6; font-weight: 500; }

/* ---------- Contact page ---------- */
.contact-cards { position: relative; margin-top: clamp(-96px, -8vw, -72px); }
.contact-cards .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px;
  background: var(--white); color: var(--navy); text-decoration: none; border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 16px 44px rgba(20, 33, 61, .14);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.contact-card:hover { color: var(--navy); transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 33, 61, .08), 0 22px 54px rgba(20, 33, 61, .18); }
.contact-card__icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--orange);
}
.contact-card__icon--orange { background: var(--orange); color: var(--navy); }
.contact-card__icon .icon { width: 24px; height: 24px; stroke-width: 2.2; }
.contact-card__value { margin-top: 6px; font-weight: 700; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.contact-card__value--big { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 24px; }
.contact-card__hint { margin-top: 4px; font-size: 14px; color: var(--text); }
.contact-layout { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.contact-layout__main { flex: 999 1 600px; min-width: 0; }
.contact-layout__aside { flex: 1 1 340px; min-width: 0; display: grid; gap: 20px; }
.panel-navy { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.panel-navy .numbered { margin-top: 24px; gap: 20px; }
.panel-navy .numbered__n { width: 32px; height: 32px; font-size: 14px; }
.panel-navy .numbered__text { font-size: 14px; }
.panel-line { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.hours { margin-top: 14px; display: grid; gap: 10px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--text); }
.hours dd { margin: 0; font-weight: 600; }
.map { position: relative; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; background: #DCE3EC; box-shadow: var(--shadow-card); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Simple pages (thank-you / 404) ---------- */
.simple-page { min-height: 60vh; display: flex; align-items: center; background: var(--surface); }
.simple-page .container { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: clamp(64px, 10vw, 120px); max-width: 760px; }
.simple-page p { font-size: 18px; line-height: 1.65; color: var(--text); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--on-dark-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand img { width: 246px; }
.footer__brand p { font-size: 15px; line-height: 1.65; max-width: 320px; }
.footer__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer__links { display: grid; gap: 2px; margin-top: 14px; font-size: 15px; }
.footer__links a { color: var(--on-dark-2); text-decoration: none; padding: 6px 0; display: inline-block; }
.footer__links a:hover { color: var(--white); }
.footer__contact { display: grid; gap: 12px; margin-top: 18px; font-size: 15px; line-height: 1.5; }
.footer__contact a { color: var(--on-dark-2); text-decoration: none; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--white); }
.footer__contact .footer__phone { color: var(--white); font-weight: 700; font-size: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; font-size: 13px; color: #8F9AB2; }

/* ---------- Floating UI ---------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20, 33, 61, .08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 50px; padding: 0 12px; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--navy); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(20, 33, 61, .25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: var(--navy); }
.to-top .icon { width: 22px; height: 22px; stroke-width: 2.4; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Laptops / small desktops */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__logo img { width: 240px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablets (iPad portrait & landscape) */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__content { padding: clamp(48px, 8vw, 80px) var(--gutter); }
  .hero__media { clip-path: none; min-height: 420px; }
  .hero__slash { display: none; }
  .hero__card { left: 16px; }
  .trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .about__media img { height: 420px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards .container { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 22px; }
}

/* Large phones / small tablets */
@media (max-width: 860px) {
  .tab-panel, .feature { grid-template-columns: minmax(0, 1fr); }
  .tab-panel__media, .feature__media { min-height: 280px; }
  .scroll-hint { display: block; }
}

/* Phones */
@media (max-width: 767px) {
  :root { --header-h: 64px; --gutter: 18px; }
  .header__cta { display: none; }
  .header__logo img, .header.is-scrolled .header__logo img { width: 210px; }
  .topbar__email { display: none; }
  .topbar .container { justify-content: center; }
  .topbar__area { display: none; }
  .trust .container { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 32px; }
  .steps, .card-grid, .extras { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 22px 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .about__body .check-list, .check-list--2 { grid-template-columns: minmax(0, 1fr); }
  .about__media { padding: 0 14px 14px 0; }
  .about__media img { height: 320px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 32px; }
  .mosaic { grid-template-rows: 160px 160px; }
  .mobile-cta { display: grid; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 44px; height: 44px; }
  .hero__media { min-height: 340px; }
  .hero__card { bottom: 16px; padding: 18px 20px; }
  .tab { padding: 0 16px; min-height: 46px; font-size: 14px; }
  .faq__item summary { font-size: 16px; padding: 14px 18px; }
  .faq__answer { padding: 0 18px 18px; }
  .map { min-height: 320px; }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .header__logo img, .header.is-scrolled .header__logo img { width: 186px; }
  .h1 { font-size: 36px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .topbar, .header, .mobile-cta, .to-top, .hero__media, .quote__form { display: none !important; }
  body { padding: 0; }
  .section--navy, .hero, .page-hero, .footer { background: #fff !important; color: #000 !important; }
}
