:root {
  --navy: #00417f;
  --navy-deep: #002a54;
  --cool: #99d0f2;
  --cool-wash: #e6f4fc;
  --heat: #d8314a;
  --heat-bright: #ff5268;
  --heat-wash: #fff0f1;
  --ink: #12263a;
  --muted: #4c6073;
  --line: #d5e0e9;
  --paper: #ffffff;
  --radius: 5px;
  --head: 'Rajdhani', 'Arial Narrow', sans-serif;
  --body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--heat); }
:focus-visible { outline: 3px solid var(--heat); outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--head); font-weight: 700; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; line-height: 1.15; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; padding: 0.6rem 1rem; background: var(--paper); }
.eyebrow { margin: 0 0 0.75rem; color: var(--heat); font: 700 1.05rem/1.2 var(--head); letter-spacing: 0.06em; text-transform: uppercase; }
.lede { max-width: 38em; font-size: 1.2rem; }

/* Buttons */
.btn { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.15rem 0.5rem; min-height: 50px; padding: 0.65rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius); font: 700 1.2rem/1.1 var(--head); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-heat { background: var(--heat); color: #fff; }
.btn-heat:hover { background: #b9233a; color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.num { white-space: nowrap; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); }
.head-row { display: flex; align-items: center; gap: 2rem; padding-block: 0.6rem; }
.logo img { width: 170px; height: auto; }
.main-nav { display: flex; gap: 1.5rem; margin-right: auto; }
.main-nav a { color: var(--navy); font: 700 1.15rem/1 var(--head); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--heat); }
.head-cta { display: flex; align-items: center; gap: 1.25rem; }
.head-phone { color: var(--navy); font: 700 1.3rem/1 var(--head); text-decoration: none; white-space: nowrap; }
.temp-band { height: 5px; background: linear-gradient(90deg, var(--cool), var(--navy) 50%, var(--heat-bright)); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cool-wash), var(--paper)); padding-block: clamp(2.5rem, 5vw, 4.5rem) 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero-copy > * { animation: rise 0.7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero .lede { margin-top: 1.25rem; }
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-photo { margin: 0; animation: rise 0.9s 0.1s var(--ease) both; }
.hero-photo img { width: 100%; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.proof li { padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof strong { display: block; color: var(--navy); font: 700 1.35rem/1.15 var(--head); }
.proof strong a { color: inherit; }
.proof span { color: var(--muted); font-size: 0.95rem; }

/* Cool / heat split: the site's signature */
.split { padding-top: clamp(3rem, 6vw, 5rem); }
.split-head { margin-bottom: 2rem; }
.split-panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { padding: clamp(2rem, 5vw, 4.5rem); }
.panel-cool { background: var(--cool); padding-left: max(clamp(2rem, 5vw, 4.5rem), calc((100vw - 1200px) / 2)); }
.panel-heat { background: var(--heat); color: #fff; padding-right: max(clamp(2rem, 5vw, 4.5rem), calc((100vw - 1200px) / 2)); }
.panel-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
.panel-heat .panel-title, .panel-heat dt { color: #fff; }
.panel-cool .panel-title, .panel-cool dt, .panel-cool dd { color: var(--navy-deep); }
.panel dl { margin: 0 0 1.5rem; }
.panel dt { font: 700 1.35rem/1.2 var(--head); }
.panel dd { margin: 0.2rem 0 1.25rem; }
.panel-link { font: 700 1.2rem/1 var(--head); color: inherit; }
.panel-cool .panel-link { color: var(--navy-deep); }
.panel-heat .panel-link { color: #fff; }
.panel-link:hover { opacity: 0.8; color: inherit; }

/* Direct line */
.direct, .story { padding-block: clamp(3rem, 6vw, 6rem); }
.direct-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.direct-grid h2 { margin-bottom: 1rem; }
.direct-photo { margin: 0; }
.direct-photo img { width: 100%; border-radius: var(--radius); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.people-stack { grid-template-columns: 1fr; margin-top: 1rem; }
.person-name { margin: 0; font-weight: 700; }
.person-name span { display: inline-block; margin-left: 0.25rem; padding: 0 0.45rem; border-radius: var(--radius); background: var(--cool-wash); color: var(--navy); font-size: 0.8rem; }
.person-phone { display: block; color: var(--heat); font: 700 clamp(1.5rem, 2.4vw, 1.9rem)/1.2 var(--head); text-decoration: none; white-space: nowrap; }
.person-phone:hover { text-decoration: underline; }
.person-email { font-size: 0.98rem; overflow-wrap: anywhere; }

/* Reviews */
.reviews { padding-block: clamp(3rem, 6vw, 6rem); background: var(--navy-deep); color: #eaf3fa; }
.reviews h2 { margin-bottom: 2.5rem; color: #fff; }
.reviews .eyebrow { color: var(--cool); }
.reviews-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem 2.5rem; }
.review { grid-column: span 6; margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--cool); }
.review:nth-child(even) { border-left-color: var(--heat-bright); }
.review blockquote { margin: 0 0 0.75rem; }
.review figcaption { color: var(--cool); font: 700 1.1rem/1.2 var(--head); }
.review-lead { grid-column: 1 / -1; padding-left: 0; border: 0; }
.review-lead blockquote { max-width: 26em; color: #fff; font: 600 clamp(1.6rem, 3vw, 2.5rem)/1.2 var(--head); }

/* American Standard */
.as { padding-block: clamp(3rem, 6vw, 5rem); background: var(--cool-wash); }
.as-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.as h2 { margin-bottom: 1rem; }
.check-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 0.3em; width: 7px; height: 14px; border: solid var(--heat); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* FAQ */
.faq, .history { padding-block: clamp(3rem, 6vw, 5rem); }
.faq-grid, .history-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 1rem 0; color: var(--navy); font: 700 1.3rem/1.2 var(--head); cursor: pointer; }
summary:hover { color: var(--heat); }
details p { max-width: 38em; }
.history { background: var(--cool-wash); }

/* Closing band */
.closing { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--cool); }
.closing-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.closing h2 { color: var(--navy-deep); }
.closing p { margin: 0.5rem 0 0; color: var(--navy-deep); }
.closing .btn-ghost { border-color: var(--navy-deep); color: var(--navy-deep); }
.closing .btn-ghost:hover { background: var(--navy-deep); color: #fff; }

/* Inner pages */
.page-head { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: linear-gradient(180deg, var(--cool-wash), var(--paper)); }
.page-head h1 { max-width: 20em; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-head .lede { margin: 1.25rem 0 0; }
.svc { padding-block: clamp(3rem, 5vw, 4.5rem); }
.svc-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 5rem); }
.svc-intro h2 { margin-bottom: 0.75rem; }
.svc-cool { background: var(--cool-wash); }
.svc-cool .eyebrow { color: var(--navy); }
.svc-heat { background: var(--heat-wash); }
.svc-list { margin: 0; padding: 0; list-style: none; }
.svc-list li { padding-block: 1.1rem; border-top: 1px solid rgba(0, 65, 127, 0.2); }
.svc-list li:first-child { border-top: 0; padding-top: 0; }
.svc-list h3 { margin-bottom: 0.25rem; }
.svc-list p { margin: 0; }

/* Quote */
.quote { padding-block: 0 clamp(3rem, 6vw, 6rem); }
.quote-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.quote-form { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--radius); background: var(--paper); }
.quote-form h2 { font-size: 2rem; margin-bottom: 0.25rem; }
.form-note { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.95rem; }
.form-status { margin: 0.75rem 0 0; font-size: 0.95rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--navy); font-weight: 600; }
.form-status.is-error { color: var(--heat); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
label { display: block; margin: 1rem 0 0.3rem; font-weight: 700; }
input, textarea { width: 100%; padding: 0.75rem; border: 1px solid #8297aa; border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; }
input:focus, textarea:focus { border-color: var(--navy); outline: 2px solid var(--cool); }
.quote-form .btn { width: 100%; margin-top: 1.25rem; }
.quote-side h2 { font-size: 2rem; }
.side-label { margin: 1.5rem 0 0.2rem; color: var(--navy); font: 700 1.15rem/1.2 var(--head); }

/* Footer */
.site-foot { padding-top: clamp(2.5rem, 5vw, 4rem); background: var(--navy-deep); color: #d4e3ef; font-size: 0.98rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--cool); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.foot-title { margin-bottom: 0.6rem; color: #fff; font: 700 1.25rem/1.2 var(--head); }
.foot-gap { margin-top: 1.5rem; }
.site-foot .person { margin-bottom: 1rem; }
.site-foot .person-name span { background: rgba(153, 208, 242, 0.2); color: #fff; }
.site-foot .person-phone { color: #fff; font-size: 1.4rem; }
.foot-base { margin-top: 2.5rem; padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9rem; }
.foot-base p { margin: 0; }

/* Photos and badges */
.bbb-badge { display: inline-block; padding: 0.35rem 0.5rem; border-radius: var(--radius); background: #fff; }
.bbb-badge img { width: 150px; height: auto; }
.proof-badge { display: flex; align-items: center; }
.proof-badge .bbb-badge { padding: 0; background: none; }
.svc-item { display: grid; grid-template-columns: 130px 1fr; align-items: start; gap: 1.1rem; margin-bottom: 1.5rem; }
.svc-item img { width: 130px; height: 130px; object-fit: cover; border-radius: var(--radius); }
.svc-item h4 { margin: 0 0 0.2rem; font: 700 1.35rem/1.2 var(--head); }
.svc-item p { margin: 0; }
.panel-cool h4, .panel-cool p { color: var(--navy-deep); }
.panel-heat h4 { color: #fff; }
.photo-band { margin: 0; }
.photo-band img { width: 100%; height: clamp(240px, 38vw, 520px); object-fit: cover; object-position: center 60%; }
.reviews { position: relative; overflow: hidden; }
.reviews::after { content: ''; position: absolute; top: -90px; right: -110px; width: 520px; height: 520px; background: url(images/Shape-2.png) center / contain no-repeat; opacity: 0.07; pointer-events: none; }
.reviews .wrap { position: relative; z-index: 1; }
.as-grid { grid-template-columns: 1fr 1.1fr; }
.as-photo { position: relative; margin: 0; }
.as-photo > img { width: 100%; border-radius: var(--radius); }
.as-logo { position: absolute; left: 1rem; bottom: 1rem; padding: 0.6rem 0.9rem; border-radius: var(--radius); background: var(--navy-deep); }
.as-logo img { width: 170px; height: auto; }
.check-list { margin-top: 1.5rem; }
.area { position: relative; }
.area > img { width: 100%; height: clamp(320px, 42vw, 580px); object-fit: cover; object-position: center 65%; }
.area-card { position: relative; width: min(560px, 100%); margin-top: -7rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 5px solid var(--heat); border-radius: var(--radius); background: var(--paper); box-shadow: 0 8px 28px rgba(0, 42, 84, 0.16); }
.area-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.history-photo { margin: 1.5rem 0 0; }
.history-photo img { width: 100%; border-radius: var(--radius); }
.history-photo figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }
.svc-intro img { width: 100%; margin-top: 1rem; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.quote-side > img { width: 100%; margin-bottom: 1.5rem; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* Persistent mobile actions */
.mobile-bar { display: none; }

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .head-cta { margin-left: auto; }
  .head-cta .btn { display: none; }
  .hero-grid, .direct-grid, .as-grid, .faq-grid, .history-grid, .svc-grid, .quote-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { padding-bottom: 60px; font-size: 1.03rem; }
  .logo img { width: 140px; }
  .head-row { gap: 1rem; }
  .split-panels, .foot-grid, .people { grid-template-columns: 1fr; }
  .panel-cool, .panel-heat { padding: 2.25rem 1.25rem; }
  .review { grid-column: 1 / -1; }
  .svc-item { grid-template-columns: 96px 1fr; gap: 0.9rem; }
  .svc-item img { width: 96px; height: 96px; }
  .area-card { margin-top: -3rem; }
  .hero-actions .btn, .closing-actions .btn { width: 100%; }
  .closing-actions { width: 100%; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -2px 10px rgba(0, 42, 84, 0.2); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: #fff; font: 700 1.25rem/1 var(--head); text-decoration: none; }
  .mobile-call { background: var(--navy); }
  .mobile-quote { background: var(--heat); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
