:root {
      --navy-950: #091122;
      --navy-900: #0f172a;
      --navy-800: #1e293b;
      --cobalt-700: #1d4ed8;
      --cobalt-800: #1e3a8a;
      --sky-500: #0ea5e9;
      --sky-600: #0284c7;
      --sky-100: #e0f2fe;
      --coral-500: #f97316;
      --coral-600: #ea580c;
      --coral-100: #ffedd5;
      --emerald-600: #059669;
      --emerald-100: #d1fae5;
      --slate-50: #f8fafc;
      --slate-100: #f1f5f9;
      --slate-200: #e2e8f0;
      --slate-600: #475569;
      --slate-700: #334155;
      --radius-lg: 16px;
      --radius-md: 12px;
      --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
      --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--navy-900);
      background: var(--slate-50);
      line-height: 1.55;
      overflow-x: hidden;
    }

    /* Site Containers */
    .site-view { display: none; animation: fadeIn 0.32s ease; }
    .site-view.active { display: block; }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes floatSlow {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-6px); }
    }

    /* Shared Site Navigation */
    .site-navbar {
      background: #ffffff;
      border-bottom: 1px solid var(--slate-200);
      padding: 14px 24px;
    }
    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--navy-900);
    }
    .brand-logo-thumb {
      width: 58px;
      height: 42px;
      border-radius: 8px;
      object-fit: cover;
      border: 2px solid var(--sky-500);
    }
    .brand-logo-text strong {
      display: block;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--navy-900);
    }
    .brand-logo-text span {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--slate-600);
    }
    .nav-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 18px;
    }
    .nav-links a {
      text-decoration: none;
      color: var(--slate-700);
      font-size: 0.9rem;
      font-weight: 600;
      transition: color 0.15s;
    }
    .nav-links a:hover { color: var(--sky-600); }
    .nav-cta-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .btn-primary {
      background: var(--coral-600);
      color: #ffffff;
      border: none;
      padding: 10px 18px;
      border-radius: 10px;
      font-family: inherit;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
      transition: transform 0.15s ease, background 0.15s ease;
    }
    .btn-primary:hover {
      background: #c2410c;
      transform: translateY(-1px);
    }
    .btn-secondary {
      background: var(--slate-100);
      color: var(--navy-900);
      border: 1px solid var(--slate-200);
      padding: 10px 16px;
      border-radius: 10px;
      font-family: inherit;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all 0.15s ease;
    }
    .btn-secondary:hover {
      background: var(--slate-200);
    }

    /* Hero Sections */
    .hero-hvac {
      background: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.25), transparent 45%),
                  radial-gradient(circle at 85% 30%, rgba(249, 115, 22, 0.25), transparent 45%),
                  linear-gradient(135deg, #091122 0%, #0f172a 50%, #1e293b 100%);
      color: #ffffff;
      padding: 52px 24px 60px;
      position: relative;
      overflow: hidden;
    }
    .hero-rest {
      background:
        linear-gradient(rgba(30, 58, 138, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, #091122 0%, #172554 55%, #1e3a8a 100%);
      background-size: 28px 28px, 28px 28px, 100% 100%;
      color: #ffffff;
      padding: 52px 24px 60px;
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      gap: 36px;
      align-items: center;
    }
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; }
    }
    .eyebrow-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.22);
      color: #7dd3fc;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.82rem;
      font-weight: 700;
      margin-bottom: 16px;
    }
    .hero-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2rem, 3.6vw, 3.1rem);
      font-weight: 700;
      line-height: 1.12;
      margin: 0 0 16px 0;
      letter-spacing: -0.02em;
    }
    .hero-title .text-ice { color: #38bdf8; }
    .hero-title .text-flame { color: #fb923c; }
    .hero-lead {
      font-size: 1.06rem;
      color: #cbd5e1;
      margin: 0 0 24px 0;
      max-width: 580px;
    }
    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }
    .trust-chip {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      padding: 8px 13px;
      font-size: 0.82rem;
      font-weight: 600;
      color: #f1f5f9;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .mascot-stage {
      background: rgba(255, 255, 255, 0.06);
      border: 2px solid rgba(255, 255, 255, 0.18);
      border-radius: 20px;
      padding: 14px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
      animation: floatSlow 5s ease-in-out infinite;
    }
    .mascot-stage img {
      width: 100%;
      height: auto;
      border-radius: 14px;
      display: block;
    }
    .mascot-stage-caption {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 6px 2px;
      font-size: 0.82rem;
      color: #e2e8f0;
      font-weight: 600;
    }

    /* Content Sections */
    .section-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 56px 24px;
    }
    .section-header {
      text-align: center;
      max-width: 720px;
      margin: 0 auto 36px;
    }
    .section-kicker {
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--sky-600);
      display: block;
      margin-bottom: 6px;
    }
    .section-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.6rem, 2.5vw, 2.25rem);
      margin: 0 0 10px 0;
      color: var(--navy-900);
    }
    .section-sub {
      margin: 0;
      color: var(--slate-600);
      font-size: 1rem;
    }

    /* Interactive Diagnostic / Scope Planner Card */
    .interactive-panel {
      background: #ffffff;
      border-radius: var(--radius-lg);
      border: 1px solid var(--slate-200);
      box-shadow: var(--shadow-soft);
      padding: 28px;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 28px;
      align-items: start;
    }
    @media (max-width: 860px) {
      .interactive-panel { grid-template-columns: 1fr; }
    }
    .symptom-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin: 12px 0 18px;
    }
    .symptom-btn {
      background: var(--slate-50);
      border: 1.5px solid var(--slate-200);
      border-radius: 10px;
      padding: 12px;
      text-align: left;
      font-family: inherit;
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--navy-900);
      cursor: pointer;
      transition: all 0.16s ease;
    }
    .symptom-btn:hover {
      border-color: var(--sky-500);
      background: var(--sky-100);
    }
    .symptom-btn.active {
      border-color: var(--coral-600);
      background: var(--coral-100);
      color: #9a3412;
    }
    .diag-result-box {
      background: var(--navy-900);
      color: #ffffff;
      border-radius: 14px;
      padding: 24px;
      border-top: 4px solid var(--coral-500);
    }
    .diag-result-box h4 {
      margin: 0 0 8px 0;
      font-size: 1.15rem;
      color: #38bdf8;
    }
    .diag-list {
      margin: 12px 0 18px;
      padding-left: 18px;
      color: #e2e8f0;
      font-size: 0.9rem;
    }
    .diag-list li { margin-bottom: 6px; }

    /* Service Cards Grid */
    .cards-grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
      gap: 20px;
    }
    .service-card {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--shadow-card);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-soft);
      border-color: #93c5fd;
    }
    .card-tag {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 10px;
      border-radius: 6px;
      margin-bottom: 12px;
      width: fit-content;
    }
    .tag-cool { background: var(--sky-100); color: var(--sky-600); }
    .tag-heat { background: var(--coral-100); color: var(--coral-600); }
    .tag-rest { background: #dbeafe; color: var(--cobalt-800); }
    .service-card h3 {
      margin: 0 0 8px 0;
      font-size: 1.18rem;
      color: var(--navy-900);
    }
    .service-card p {
      margin: 0 0 14px 0;
      color: var(--slate-600);
      font-size: 0.92rem;
    }
    .check-items {
      list-style: none;
      padding: 0;
      margin: 0 0 18px 0;
      font-size: 0.86rem;
      color: var(--slate-700);
    }
    .check-items li {
      padding: 4px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .check-items li::before {
      content: "✓";
      font-weight: 900;
      color: var(--emerald-600);
    }

    /* Guarantee Banner */
    .guarantee-strip {
      background: linear-gradient(135deg, var(--navy-900) 0%, var(--cobalt-800) 100%);
      color: #ffffff;
      border-radius: var(--radius-lg);
      padding: 32px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      border-left: 6px solid var(--coral-500);
    }
    @media (max-width: 760px) {
      .guarantee-strip { grid-template-columns: 1fr; }
    }

    /* Project Showcase Grid for Restoration */
    .showcase-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
    @media (max-width: 820px) {
      .showcase-grid { grid-template-columns: 1fr; }
    }
    .showcase-card {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }
    .showcase-card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
    }
    .showcase-body { padding: 20px; }
    .showcase-body h3 { margin: 0 0 6px 0; font-size: 1.12rem; }
    .showcase-body p { margin: 0; color: var(--slate-600); font-size: 0.9rem; }

    /* Form Controls */
    .form-group { margin-bottom: 14px; }
    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 700;
      margin-bottom: 5px;
      color: var(--navy-900);
    }
    .form-control {
      width: 100%;
      padding: 10px 12px;
      border: 1.5px solid var(--slate-200);
      border-radius: 8px;
      font-family: inherit;
      font-size: 0.92rem;
    }

    /* FAQ Accordion */
    .faq-list {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-item {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: 12px;
      overflow: hidden;
    }
    .faq-q {
      width: 100%;
      background: transparent;
      border: none;
      padding: 16px 20px;
      text-align: left;
      font-family: inherit;
      font-size: 0.98rem;
      font-weight: 700;
      color: var(--navy-900);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-a {
      padding: 0 20px 16px;
      color: var(--slate-600);
      font-size: 0.92rem;
      display: none;
    }
    .faq-item.open .faq-a { display: block; }

    /* Footer */
    .site-footer {
      background: var(--navy-950);
      color: #cbd5e1;
      padding: 44px 24px;
      border-top: 4px solid var(--coral-600);
    }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 28px;
    }
    .footer-col h4 { color: #ffffff; margin: 0 0 10px 0; }
    .footer-col p, .footer-col a {
      color: #94a3b8;
      font-size: 0.9rem;
      text-decoration: none;
      margin: 4px 0;
      display: block;
    }
    .footer-col a:hover { color: #38bdf8; }

    /* Modal */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(9, 17, 34, 0.72);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 200;
      padding: 20px;
    }
    .modal-backdrop.open { display: flex; }
    .modal-card {
      background: #ffffff;
      border-radius: 16px;
      max-width: 520px;
      width: 100%;
      padding: 28px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    }

.nav-cta-group { flex-wrap: wrap; }
.hero-grid, .interactive-panel, .showcase-grid { min-width: 0; }
.hero-grid > *, .interactive-panel > *, .showcase-grid > * { min-width: 0; }
.form-control { max-width: 100%; }
.symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); }
.guarantee-strip .btn-secondary { overflow-wrap: anywhere; }
.mascot-stage-caption { gap: 12px; align-items: flex-start; }
.modal-backdrop {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; border: 0; color: var(--navy-900);
}
.modal-backdrop[open] { display: flex; }
.modal-card { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.footer-col .footer-contact { display: inline; }
body:has(.modal-backdrop[open]) { overflow: hidden; }
@media (max-width: 540px) {
  .site-navbar { padding-inline: 16px; }
  .nav-inner, .nav-links { gap: 12px; }
  .nav-links, .nav-cta-group { width: 100%; }
  .nav-cta-group > a { flex: 1 1 auto; justify-content: center; }
  .hero-hvac, .hero-rest { padding: 34px 16px 42px; }
  .section-wrap { padding: 40px 16px; }
  .interactive-panel, .service-card, .guarantee-strip, .modal-card { padding: 18px; }
  .form-control { font-size: 1rem; }
  .faq-q { gap: 12px; }
  .mascot-stage-caption { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .symptom-grid, .contact-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
