/* ==========================================================================
   Summit Plumbing & Air — demo site styles
   Built by No404 · self-contained, no external stylesheets
   ========================================================================== */

:root {
  --navy: #13243f;
  --navy-deep: #0c1830;
  --navy-soft: #1d3357;
  --orange: #f97316;
  --orange-hot: #ea580c;
  --orange-soft: #fff1e6;
  --gray-bg: #f2f4f7;
  --gray-line: #dde3ea;
  --ink: #1c2733;
  --ink-soft: #4d5b6b;
  --white: #ffffff;
  --star: #fbbf24;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --shadow-card: 0 1px 2px rgba(19, 36, 63, 0.08), 0 8px 24px rgba(19, 36, 63, 0.1);
  --shadow-hard: 6px 6px 0 rgba(19, 36, 63, 0.16);
  --shadow-orange: 6px 6px 0 var(--orange);

  --radius: 10px;
  --container: 1140px;

  --stripe: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 14px,
    var(--navy) 14px 28px
  );
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--gray-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-hot);
}

.kicker::before {
  content: "";
  width: 2rem;
  height: 4px;
  background: var(--orange);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 0.4rem 0 0.6rem;
}

.section-head p {
  color: var(--ink-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(19, 36, 63, 0.9);
}

.btn--orange:hover {
  background: var(--orange-hot);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(19, 36, 63, 0.9);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--orange);
}

.btn--navy:hover {
  background: var(--navy-soft);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--orange);
}

.btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Emergency strip ---------- */

.emergency-strip {
  display: block;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  position: relative;
}

.emergency-strip::before,
.emergency-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(19, 36, 63, 0.85) 0 8px,
    transparent 8px 16px
  );
}

.emergency-strip::before {
  left: 0;
}

.emergency-strip::after {
  right: 0;
}

.emergency-strip strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emergency-strip:hover {
  background: var(--orange-hot);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 4px solid var(--orange);
  transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
  box-shadow: 0 10px 28px rgba(12, 24, 48, 0.45);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  margin-right: auto;
}

.brand__mark {
  flex: 0 0 auto;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__name small {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--orange);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  position: relative;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.main-nav a.is-active {
  color: var(--white);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 3px;
  background: var(--orange);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.45rem 0.95rem;
  line-height: 1.15;
}

.header-phone:hover {
  border-color: var(--orange);
}

.header-phone svg {
  flex: 0 0 auto;
}

.header-phone__label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.header-phone__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(249, 115, 22, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: var(--stripe);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  margin: 0.7rem 0 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p.lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
  letter-spacing: 1px;
  font-size: 1.05rem;
  line-height: 1;
}

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__art svg {
  width: min(380px, 100%);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.hero__chip {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 4px solid var(--orange);
}

.hero__chip--tl { top: 6%; left: -2%; }
.hero__chip--br { bottom: 8%; right: -2%; }

/* ---------- Trust badges ---------- */

.trust {
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}

.trust__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.trust__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: var(--orange);
}

.trust__item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.1rem;
}

.trust__item p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

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

.section {
  padding: 4.5rem 0;
}

.section--white {
  background: var(--white);
}

.section--navy {
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(249, 115, 22, 0.16), transparent 60%),
    var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-top-color: var(--orange);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-hot);
  display: grid;
  place-items: center;
}

.service-card h3 {
  font-size: 1.5rem;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  flex: 1;
}

.service-card__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-hot);
}

.service-card--emergency {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.service-card--emergency h3 {
  color: var(--white);
}

.service-card--emergency p {
  color: rgba(255, 255, 255, 0.75);
}

.service-card--emergency .service-card__icon {
  background: rgba(249, 115, 22, 0.18);
  color: var(--orange);
}

/* ---------- Why Summit ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2.5rem;
  counter-reset: why;
}

.why-item {
  counter-increment: why;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  position: relative;
}

.why-item::before {
  content: "0" counter(why);
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: rgba(249, 115, 22, 0.55);
  line-height: 1;
}

.why-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  padding-right: 3rem;
}

.why-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--orange);
  line-height: 1;
}

.stat-strip span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--orange-soft);
  line-height: 1;
}

.review-card .stars {
  margin-bottom: 0.8rem;
}

.review-card blockquote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.review-card figcaption strong {
  display: block;
  font-size: 0.93rem;
  color: var(--navy);
}

.review-card figcaption span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---------- Service area ---------- */

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.4rem;
  margin-top: 1.4rem;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.area-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}

.area-map {
  position: relative;
  display: grid;
  place-items: center;
}

.area-map svg {
  width: min(360px, 100%);
}

.area-map__tag {
  position: absolute;
  bottom: 4%;
  right: 6%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--orange);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--orange);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(19, 36, 63, 0.07) 0 22px,
    transparent 22px 44px
  );
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.3rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  border-top: 6px solid var(--orange);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.footer-grid a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
  color: var(--orange);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.9rem;
  max-width: 26rem;
}

.footer-license {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0 4.5rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- No404 badge ---------- */

.n404-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(12, 24, 48, 0.92);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  font-size: 0.74rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(12, 24, 48, 0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.n404-badge:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--white);
}

.n404-badge strong {
  color: var(--orange);
}

.n404-badge__dot {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

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

.page-hero {
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(249, 115, 22, 0.2), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 3.5rem 0 3.8rem;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 10px;
  background: var(--stripe);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  margin: 0.5rem 0 0.7rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 40rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 2rem 1.9rem;
}

.service-detail + .service-detail {
  margin-top: 1.6rem;
}

.service-detail__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.service-detail h2 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.service-detail__lede {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 1rem;
  max-width: 38rem;
}

.service-detail ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.5rem;
  margin-bottom: 0.4rem;
}

.service-detail ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 0.55em;
  height: 0.32em;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

.service-detail__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  min-width: 190px;
  text-align: right;
}

.price-hint {
  font-family: var(--font-display);
  line-height: 1.1;
}

.price-hint small {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-hint strong {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
}

.price-hint strong sup {
  font-size: 1.1rem;
  color: var(--orange-hot);
}

.financing-note {
  margin-top: 2.6rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-left: 6px solid var(--orange);
}

.financing-note svg {
  flex: 0 0 auto;
  color: var(--orange);
}

.financing-note strong {
  color: var(--white);
}

/* ---------- Quote page / form ---------- */

.quote-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 6px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.2rem 2.2rem 2.4rem;
}

.quote-card h2 {
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
}

.quote-card > p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin-bottom: 1.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.3rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.field label .req {
  color: var(--orange-hot);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--gray-bg);
  border: 2px solid var(--gray-line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

fieldset.field {
  border: none;
}

fieldset.field legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.55rem;
  padding: 0;
}

.radio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.radio-pill {
  position: relative;
  display: block;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.radio-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--gray-bg);
  border: 2px solid var(--gray-line);
  border-radius: 8px;
  padding: 0.7rem 0.5rem;
  transition: all 0.15s ease;
}

.radio-pill:hover span {
  border-color: var(--navy);
  color: var(--navy);
}

.radio-pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--orange);
}

.radio-pill input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.4rem;
}

.form-actions .fineprint {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Confirmation */

.confirmation {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 6px solid #16a34a;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.6rem 2.2rem;
  text-align: center;
  animation: confirm-pop 0.45s ease both;
}

@keyframes confirm-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.confirmation__check {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
}

.confirmation h2 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.confirmation p {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 0.6rem;
}

.confirmation__code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  background: var(--orange-soft);
  border: 2px dashed var(--orange);
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  margin: 0.8rem 0 1rem;
}

.confirmation__summary {
  list-style: none;
  display: inline-grid;
  gap: 0.35rem;
  margin: 0.4rem auto 1.4rem;
  text-align: left;
  font-size: 0.95rem;
}

.confirmation__summary strong {
  color: var(--navy);
}

.confirmation .demo-note {
  font-size: 0.82rem;
  color: var(--orange-hot);
  font-weight: 600;
}

.quote-aside {
  display: grid;
  gap: 1.4rem;
  position: sticky;
  top: 110px;
}

.aside-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  border-left: 6px solid var(--orange);
}

.aside-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.aside-card ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.aside-card ul li {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
}

.aside-card ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg) translateY(-1px);
}

.aside-card--light {
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--gray-line);
  border-left: 6px solid var(--navy);
}

.aside-card--light h3 {
  color: var(--navy);
}

.aside-card .phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--orange);
  text-decoration: none;
  margin-top: 0.5rem;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 3.2rem 0 4rem;
  }

  .hero__art {
    order: -1;
  }

  .hero__art svg {
    width: min(260px, 70%);
  }

  .hero__chip--tl { top: 0; left: 0; }
  .hero__chip--br { bottom: 0; right: 0; }

  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 56px 1fr;
  }

  .service-detail__aside {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-width: 0;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-phone__label {
    display: none;
  }

  .header-phone {
    padding: 0.55rem 0.8rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 4px solid var(--orange);
    padding: 0.6rem 1.25rem 1rem;
    display: none;
    box-shadow: 0 18px 32px rgba(12, 24, 48, 0.45);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.85rem 0.6rem;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a.is-active::after {
    left: 0.6rem;
    right: auto;
    width: 2rem;
  }

  .trust__row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 1rem;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .service-detail {
    padding: 1.5rem 1.3rem;
  }

  .service-detail ul {
    grid-template-columns: 1fr;
  }

  .radio-row {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 1.7rem 1.3rem 2rem;
  }

  .emergency-strip {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .emergency-strip::before,
  .emergency-strip::after {
    display: none;
  }

  .n404-badge {
    right: 10px;
    bottom: 10px;
    font-size: 0.66rem;
    padding: 0.32rem 0.7rem 0.32rem 0.38rem;
  }

  .n404-badge__dot {
    font-size: 0.56rem;
    padding: 0.24rem 0.45rem;
  }

  .footer-bottom {
    padding-bottom: 4.2rem;
  }
}
