/* ============================================================
   Cardinal Heating & Cooling
   Design DNA: Precision technical — cool-blue corporate trust,
   split-screen hero, dotted technical grid, Archivo, modular cards.
   ============================================================ */

:root {
  --blue:      #2F7DD1;
  --blue-dark: #245fa0;
  --navy:      #14304F;
  --ground:    #F7F9FC;
  --slate:     #2B3440;
  --slate-soft:#566270;
  --accent:    #E8743B;
  --divider:   #DCE4EE;
  --white:     #FFFFFF;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 44px -22px rgba(20, 48, 79, 0.45);
  --shadow-sm: 0 6px 20px -10px rgba(20, 48, 79, 0.35);
  --dotted: radial-gradient(var(--divider) 1.3px, transparent 1.3px);
}

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

html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--slate);
  background: var(--ground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; color: var(--navy); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow-light { color: #8FB9E6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(47, 125, 209, 0.8);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.brand-mark { color: var(--blue); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.18rem; font-weight: 900; letter-spacing: -0.03em; }
.brand-text em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--slate);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--navy);
}
.phone-link svg { color: var(--blue); }
.header-cta { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 24px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO — true 50/50 split-screen
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  border-bottom: 1px solid var(--divider);
}
.hero-panel {
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  /* thin blue rule dividing the split */
  border-right: 3px solid var(--blue);
}
.hero-panel::before {
  /* faint dotted technical grid on the navy panel */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143,185,230,0.18) 1.3px, transparent 1.3px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  padding: 72px clamp(36px, 6vw, 80px);
  max-width: 620px;
  margin-left: auto;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 900;
  margin-bottom: 22px;
}
.hero-subhead {
  font-size: 1.18rem;
  font-weight: 600;
  color: #cfe0f2;
  margin-bottom: 18px;
}
.hero-body { color: #9fb4cb; margin-bottom: 34px; max-width: 460px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo {
  background-image: url('assets/img/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  min-height: 640px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--divider);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 38px 28px;
  text-align: center;
  border-right: 1px solid var(--divider);
}
.trust-item:last-child { border-right: none; }
.trust-title {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 6px;
}
.trust-text { font-size: 0.92rem; color: var(--slate-soft); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section-dotted {
  background:
    var(--dotted),
    var(--ground);
  background-size: 24px 24px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-sub { font-size: 1.12rem; color: var(--slate-soft); margin-top: 14px; }
.section-sub-light { color: #b8cde4; }
.section-head-light h2 { color: #fff; }
.section-head-left { text-align: left; margin: 0 0 36px; }

/* ============================================================
   SERVICES
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bcd2ec; }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-icon {
  /* rounded-square schematic-component icon on a dotted field */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(rgba(47,125,209,0.16) 1.3px, transparent 1.3px),
    linear-gradient(180deg, #eaf2fb, #dcebfa);
  background-size: 16px 16px, 100% 100%;
  color: var(--blue);
  border-bottom: 1px solid var(--divider);
}
.service-icon svg {
  width: 72px; height: 72px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px -14px rgba(47,125,209,0.8);
}
.service-body { padding: 24px 26px 28px; }
.service-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-body p { color: var(--slate-soft); font-size: 0.97rem; }

/* ============================================================
   WHY — navy block
   ============================================================ */
.section-navy {
  background: var(--navy);
  position: relative;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143,185,230,0.12) 1.3px, transparent 1.3px);
  background-size: 24px 24px; pointer-events: none;
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(143,185,230,0.22);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.why-num {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.why-card h3 { color: #fff; font-size: 1.28rem; margin-bottom: 10px; }
.why-card p { color: #a9bdd4; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.process-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--divider);
}
.process-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.process-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.process-steps li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}
.process-steps li:last-child { border-bottom: none; }
.step-tag {
  flex: none;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 900;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.process-steps h3 { font-size: 1.14rem; margin-bottom: 4px; }
.process-steps p { color: var(--slate-soft); font-size: 0.96rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.section-about { background: var(--white); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.about-content h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 22px; }
.about-content p { color: var(--slate-soft); margin-bottom: 16px; }
.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.about-stats strong { display: block; font-size: 2rem; font-weight: 900; color: var(--blue); letter-spacing: -0.03em; }
.about-stats span { font-size: 0.85rem; color: var(--slate-soft); }

/* ============================================================
   REBATES — accent-flavored
   ============================================================ */
.section-rebates {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.rebates-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(120deg, rgba(20,48,79,0.94) 38%, rgba(20,48,79,0.72) 100%),
    url('assets/img/rebates.jpg');
  background-size: cover;
  background-position: center;
}
.section-rebates .container { position: relative; z-index: 1; }
.rebate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rebate-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(143,185,230,0.25);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(2px);
}
.rebate-amount {
  display: inline-block;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 14px;
}
.rebate-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.rebate-card p { color: #b3c6dd; font-size: 0.92rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--accent); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 16px; }
.review-card blockquote {
  font-size: 1.08rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 18px;
}
.review-card figcaption { font-weight: 800; color: var(--navy); }
.review-card figcaption span { font-weight: 500; color: var(--slate-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.section-faq { background: var(--white); }
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.faq-head { position: sticky; top: 100px; }
.faq-list details {
  border-bottom: 1px solid var(--divider);
  padding: 6px 0;
}
.faq-list details:first-child { border-top: 1px solid var(--divider); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  padding: 20px 44px 20px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-list details p { color: var(--slate-soft); padding: 0 44px 22px 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.section-cta {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background-image: url('assets/img/cta.jpg');
  background-size: cover;
  background-position: center;
}
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,48,79,0.95) 30%, rgba(20,48,79,0.55) 70%, rgba(20,48,79,0.25) 100%);
}
.cta-inner { position: relative; z-index: 1; padding: 110px 28px; }
.cta-card { max-width: 560px; }
.cta-card h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.cta-card p { color: #cfe0f2; font-size: 1.08rem; margin-bottom: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #a9bdd4;
  padding: 64px 0 28px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(143,185,230,0.18);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { color: var(--blue); }
.footer-brand .brand-text em { color: #8FB9E6; }
.footer-tag { margin-top: 16px; color: #8aa3bf; font-size: 0.95rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 20px 0 7px;
}
.footer-col h4:first-child { margin-top: 0; }
.footer-col p { font-size: 0.94rem; color: #a9bdd4; }
.footer-col a:hover { color: #fff; }
.footer-nav a { color: #8FB9E6; }
.footer-bottom { padding-top: 22px; }
.footer-bottom p { font-size: 0.84rem; color: #7c93ae; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .main-nav, .phone-link { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--divider);
    box-shadow: var(--shadow);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 28px; }
  .main-nav a::after { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-panel { border-right: none; border-bottom: 3px solid var(--blue); }
  .hero-copy { margin: 0 auto; padding: 64px 32px; }
  .hero-photo { min-height: 380px; order: -1; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--divider); }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .rebate-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }

  .process-layout,
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { order: -1; }

  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }

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

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .rebate-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-cta { display: none; }
  .hero-ctas .btn { flex: 1; }
}

/* ============================================================
   MULTI-PAGE ADDITIONS — nav active · sub-page hero · services
   detail rows · contact form · supporting buttons
   (Cardinal palette: --blue / --navy / --accent / --divider)
   ============================================================ */

/* nav active state */
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after { width: 100%; }

/* supporting buttons reused across sub-pages */
.btn-block { width: 100%; }
.btn-line {
  background: transparent;
  border-color: var(--divider);
  color: var(--navy);
}
.btn-line:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
/* ghost button on a light background (services hero) */
.btn-ghost-dark {
  border-color: var(--divider);
  color: var(--navy);
}
.btn-ghost-dark:hover { border-color: var(--blue); background: rgba(47,125,209,0.06); color: var(--blue); }

/* ---------- sub-page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 6vw, 70px);
  border-bottom: 1px solid var(--divider);
}
.page-hero-sm { padding: clamp(46px, 6vw, 70px) 0 clamp(38px, 5vw, 56px); }
.page-hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
}
.page-hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(247,249,252,0.97) 34%, rgba(247,249,252,0.84) 62%, rgba(247,249,252,0.55) 100%);
}
.page-hero-in { position: relative; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 760px; }
.page-hero-sub {
  margin-top: 16px;
  color: var(--slate-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  max-width: 640px;
}

/* ---------- services quick-jump strip ---------- */
.quick-jump {
  background: var(--white);
  border-bottom: 1px solid var(--divider);
}
.quick-jump-in {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 18px 28px; justify-content: center;
}
.qj-link {
  font-size: 0.86rem; font-weight: 700;
  color: var(--slate);
  border: 1.6px solid var(--divider);
  background: var(--ground);
  padding: 8px 16px; border-radius: 999px;
  transition: .16s;
}
.qj-link:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- services detail rows ---------- */
.svc-detail { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  scroll-margin-top: 110px;
}
.svc-row .svc-media {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--navy);
  border: 1px solid var(--divider);
}
.svc-row .svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-row .svc-info .eyebrow { color: var(--blue); margin-bottom: 12px; }
.svc-row .svc-info h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: 12px; }
.svc-row .svc-info p { color: var(--slate-soft); }
.svc-feats { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 10px; }
.svc-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.svc-feats li svg {
  width: 20px; height: 20px; flex: none;
  color: var(--blue); margin-top: 2px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc-chip {
  font-size: 0.8rem; background: #eaf2fb; color: var(--blue-dark);
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}

/* ---------- "what we stand for" light why-cards (about page) ---------- */
.why-grid-light { position: static; }
.why-card-light {
  background: var(--white);
  border: 1px solid var(--divider);
  border-left: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
}
.why-card-light h3 { color: var(--navy); }
.why-card-light p { color: var(--slate-soft); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}
.contact-h { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.contact-intro { color: var(--slate-soft); margin: 10px 0 26px; }
.req { color: var(--accent); }
.c-form { display: flex; flex-direction: column; gap: 20px; }
.c-form .field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.c-form legend { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 10px; padding: 0; }
.field-hint { font-weight: 400; color: var(--slate-soft); font-size: 0.85rem; }
.field-l { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--slate);
  background: var(--white); border: 1.6px solid var(--divider);
  border-radius: var(--radius-sm); padding: 13px 15px; transition: .18s;
}
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,125,209,0.16);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.has-err input { border-color: #d6604d; }
.field-err { color: #c2402c; font-size: 0.82rem; font-weight: 600; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill, .check-pill {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 0.92rem; font-weight: 600; color: var(--slate);
  border: 1.6px solid var(--divider); background: var(--white);
  padding: 10px 16px; border-radius: 999px; transition: .16s;
}
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-pill { border-radius: var(--radius-sm); }
.radio-pill.on, .check-pill.on { border-color: var(--blue); background: #eaf2fb; color: var(--blue-dark); }
.radio-pill input, .check-pill input { accent-color: var(--blue); width: 16px; height: 16px; }
.radio-pill:hover, .check-pill:hover { border-color: var(--blue); }
.c-note { font-size: 0.82rem; color: var(--slate-soft); text-align: center; margin-top: -4px; }
.form-success {
  background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: clamp(30px, 5vw, 52px);
  box-shadow: var(--shadow-sm); text-align: center;
}
.fs-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #eaf2fb; margin: 0 auto 20px; }
.fs-check svg { width: 32px; height: 32px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form-success p { color: var(--slate-soft); max-width: 480px; margin: 12px auto 0; }
.fs-sub { font-size: 0.95rem; }
.fs-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.cside-card {
  background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.cside-card h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-soft); margin-bottom: 10px; }
.cside-card p { color: var(--slate-soft); font-size: 0.95rem; }
.cside-phone { display: block; font-size: 1.5rem; font-weight: 900; color: var(--blue); margin-bottom: 6px; letter-spacing: -0.02em; }
.cside-emerg { color: var(--navy); font-weight: 600; margin-top: 6px; }
.cside-guar {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--navy); color: #cfe0f2;
  border-radius: var(--radius); padding: 22px 24px;
}
.cside-guar-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cside-guar b { display: block; color: #fff; margin-bottom: 4px; }
.cside-guar span { font-size: 0.92rem; color: #a9bdd4; }

@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: 22px; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-grid, .check-grid { grid-template-columns: 1fr; }
  .fs-btns .btn { flex: 1 1 100%; }
}
