/* =========================================================
   THERMALUX CLIMATE
   Tampa HVAC — editorial / warm-industrial redesign
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Paper & ink */
  --bone:        #F4EFE5;
  --paper:       #FBF8F2;
  --paper-soft:  #F7F3EA;
  --linen:       #ECE5D4;
  --ink:         #14110D;
  --ink-2:       #2A2520;
  --ink-3:       #4A4239;
  --warmgray:    #7A6F60;
  --warmgray-2:  #A89E8E;
  --hairline:    #E2D9C6;
  --hairline-2:  #D5C9B0;

  /* Brand */
  --ember:       #DD4F1A;   /* hot-side accent */
  --ember-hot:   #BC3F12;
  --ember-soft:  #FBE6D8;
  --ember-tint:  rgba(221,79,26,0.10);

  --frost:       #0E5567;   /* cool-side accent */
  --frost-deep:  #083E4D;
  --frost-soft:  #D6E5EA;
  --frost-tint:  rgba(14,85,103,0.10);

  --ok:          #1F7A4C;
  --ok-soft:     #D8EBE0;
  --warn:        #C28A0E;
  --warn-soft:   #F6E9C9;
  --alert:       #B5341F;
  --alert-soft:  #F6D9D3;

  /* Type */
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows — soft, real, no glow halos */
  --shadow-1: 0 1px 2px rgba(20,17,13,0.04);
  --shadow-2: 0 4px 10px -2px rgba(20,17,13,0.06), 0 2px 4px -1px rgba(20,17,13,0.04);
  --shadow-3: 0 14px 32px -8px rgba(20,17,13,0.14), 0 4px 8px -2px rgba(20,17,13,0.06);
  --shadow-4: 0 30px 60px -18px rgba(20,17,13,0.30), 0 8px 16px -4px rgba(20,17,13,0.10);

  /* Radii — purposely small. Editorial, not bubbly. */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 18px;
  --pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-1: 0.18s var(--ease);
  --t-2: 0.32s var(--ease);
  --t-3: 0.55s var(--ease);

  --header-h: 76px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body { padding-bottom: 80px; }
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

p { color: var(--ink-3); }
a { color: inherit; text-decoration: none; transition: color var(--t-1); }
img { max-width: 100%; height: auto; display: block; }
button,input,select,textarea { font: inherit; border: none; outline: none; background: none; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--ember); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-soft); }
::-webkit-scrollbar-thumb { background: var(--hairline-2); border-radius: var(--pill); }
::-webkit-scrollbar-thumb:hover { background: var(--warmgray-2); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: var(--r-2);
}

/* ============ Layout ============ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 640px) { .container { padding: 0 18px; } }

.section { padding: 112px 0; position: relative; }
.section-tight { padding: 72px 0; }
.section-bone { background: var(--bone); }
.section-linen { background: var(--linen); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h1,.section-ink h2,.section-ink h3,.section-ink h4 { color: #fff; }
.section-ink p { color: #C9C0B0; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media (max-width: 992px) {
  .section { padding: 80px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-3,.grid-4 { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ Display type ============ */
.display {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
}

.display .italic {
  font-style: italic;
  font-weight: 500;
}

.display .underline-ember {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.display .underline-ember::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.16em;
  background: var(--ember);
  z-index: -1;
  border-radius: 1px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ember);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--ember);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(30px, 4.6vw, 56px);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-title .italic { font-style: italic; font-weight: 500; }

.section-title .underline-ember::after { background: var(--ember); }

.section-desc {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 640px;
  line-height: 1.62;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px auto;
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 18px; }
.section-head .section-desc { margin: 0 auto; }

/* ============ Top bar ============ */
.top-bar {
  background: var(--ink);
  color: #C9C0B0;
  font-size: 12.5px;
  padding: 9px 0;
  letter-spacing: 0.01em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-info,.top-bar-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info span,.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar-info i,.top-bar-links i { color: var(--ember); font-size: 11px; }

.top-bar-links a { color: #C9C0B0; transition: color var(--t-1); }
.top-bar-links a:hover { color: #fff; }

.top-bar-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--pill);
  font-size: 11.5px;
}

.top-bar-rating strong { color: #fff; }
.top-bar-rating .stars { color: var(--ember); letter-spacing: 0.5px; }

@media (max-width: 768px) { .top-bar { display: none; } }

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--ember);
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ============ Header ============ */
.main-header {
  position: sticky; top: 0;
  width: 100%; z-index: 1000;
  background: rgba(251,248,242,0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-2), border-color var(--t-2), box-shadow var(--t-2);
  height: var(--header-h);
}

.main-header.scrolled {
  background: rgba(251,248,242,0.97);
  border-bottom-color: var(--hairline);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px; height: 42px;
  background: var(--ink);
  border-radius: var(--r-2);
  display: grid;
  place-items: center;
  color: var(--ember);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--ember);
  border-radius: var(--r-1);
  opacity: 0.35;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warmgray);
  font-family: var(--sans);
  font-weight: 700;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink-2);
  font-size: 14.5px;
  padding: 10px 14px;
  border-radius: var(--r-2);
  position: relative;
  transition: color var(--t-1);
}

.nav-link:hover { color: var(--ember); }

.nav-link.active { color: var(--ember); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--ember);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.phone-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--pill);
  transition: background var(--t-1);
}

.phone-cta:hover { background: var(--paper-soft); }

.phone-icon-pulse {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ember);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.ph-label {
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--warmgray);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-bottom: 4px;
}

.ph-num {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--r-2);
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--t-2);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,17,13,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  transition: opacity var(--t-2);
}

.nav-backdrop.open { opacity: 1; pointer-events: auto; }

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(340px, 88vw);
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    padding: 32px 22px;
    align-items: stretch;
    gap: 4px;
    box-shadow: -24px 0 50px rgba(0,0,0,0.18);
    transition: right var(--t-2);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu .nav-link { padding: 15px 16px; font-size: 16px; border-radius: var(--r-2); }
  .nav-menu .nav-link.active { background: var(--ember-soft); }
  .nav-menu .nav-link.active::after { display: none; }
  .nav-menu::before {
    content: 'Menu';
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--warmgray);
    padding: 0 16px 18px 16px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 14px;
  }
  .hamburger { display: flex; }
  .nav-cta .phone-cta { display: none; }
}

@media (max-width: 576px) {
  .nav-cta { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: var(--r-2);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform var(--t-1), background var(--t-1), color var(--t-1), border-color var(--t-1), box-shadow var(--t-1);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-primary:hover {
  background: var(--ember-hot);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(221,79,26,0.5);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-ink:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--hairline);
}

.btn-ghost:hover {
  background: var(--paper-soft);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-warm { /* legacy alias used in older templates */
  background: var(--ember);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn-warm:hover {
  background: var(--ember-hot);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-pill { border-radius: var(--pill); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 56px 0 120px 0;
  background: var(--paper);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: -100px; right: -120px;
  width: 540px; height: 540px;
  background: radial-gradient(closest-side, var(--ember-tint) 0%, transparent 70%);
  z-index: 0;
}

.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: end;
}

@media (max-width: 992px) {
  .hero { padding: 40px 0 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.hero-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
  animation: blink 1.8s infinite;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  margin-bottom: 24px;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.hero-title .accent { font-style: italic; font-weight: 500; color: var(--ember); }
.hero-title .underline-ember { display: inline-block; position: relative; white-space: nowrap; z-index: 1; }
.hero-title .underline-ember::after {
  content: '';
  position: absolute;
  left: -0.05em; right: -0.05em;
  bottom: 0.05em;
  height: 0.18em;
  background: var(--ember);
  z-index: -1;
}

.hero-desc {
  font-size: 18px;
  color: var(--ink-3);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.65;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
}

.hero-check i {
  width: 24px; height: 24px;
  background: var(--ink);
  color: var(--ember);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.avatar-stack { display: flex; }

.avatar-stack .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--paper);
  background: var(--ink);
  margin-left: -10px;
  display: grid;
  place-items: center;
  color: var(--ember);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--serif);
}

.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar:nth-child(2) { background: var(--ember); color: #fff; }
.avatar-stack .avatar:nth-child(3) { background: var(--frost); color: #fff; }
.avatar-stack .avatar:nth-child(4) { background: var(--ink-3); color: var(--ember); }

.social-proof-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
}

.social-proof-text strong { color: var(--ink); font-weight: 700; }
.social-proof-text .stars { color: var(--ember); margin-right: 5px; letter-spacing: 1px; }

/* Hero visual — editorial framed photo */
.hero-visual { position: relative; }

.hero-img-frame {
  position: relative;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-4);
  border: 1px solid var(--hairline);
}

.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,17,13,0.55) 100%);
  z-index: 2;
}

.hero-photo-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.hero-photo-caption .hpc-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.3;
  max-width: 65%;
}

.hero-photo-caption .hpc-meta {
  font-family: var(--sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  text-align: right;
}

.float-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--r-2);
  padding: 14px 18px;
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  border: 1px solid var(--hairline);
}

.float-card-1 { top: 28px; left: -28px; }
.float-card-2 { bottom: 40px; right: -22px; }

.float-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.float-icon.success { background: var(--ok-soft); color: var(--ok); }
.float-icon.cool { background: var(--frost-soft); color: var(--frost); }
.float-icon.warm { background: var(--ember-soft); color: var(--ember); }

.float-card h5 { font-family: var(--serif); font-size: 14px; margin-bottom: 1px; }
.float-card p { font-size: 11.5px; color: var(--warmgray); margin: 0; }

@media (max-width: 992px) {
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
}

@media (max-width: 576px) {
  .hero-buttons .btn { flex: 1; min-width: 0; }
  .float-card { padding: 10px 12px; }
  .float-card h5 { font-size: 12px; }
  .float-card p { font-size: 10px; }
}

/* ============ Trust bar ============ */
.trust-bar {
  background: var(--ink);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 28px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #C9C0B0;
}

.trust-item i {
  font-size: 20px;
  color: var(--ember);
  flex-shrink: 0;
}

.trust-item .ti-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  display: block;
  line-height: 1.2;
}

.trust-item .ti-sub {
  font-family: var(--sans);
  font-size: 11px;
  color: #9E9483;
  margin-top: 2px;
}

@media (max-width: 992px) {
  .trust-bar-inner { grid-template-columns: repeat(3,1fr); gap: 20px; }
}
@media (max-width: 576px) {
  .trust-bar-inner { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .trust-item i { font-size: 18px; }
  .trust-item .ti-title { font-size: 12.5px; }
}

/* ============ Service cards ============ */
.service-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  overflow: hidden;
  transition: transform var(--t-2), box-shadow var(--t-2), border-color var(--t-2);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--ink);
}

.service-icon-frame {
  height: 160px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--ember);
}

.service-icon-frame.warm { background: var(--ember); color: #fff; }
.service-icon-frame.green { background: var(--frost); color: #fff; }
.service-icon-frame.purple { background: var(--frost-deep); color: var(--ember); }

.service-icon-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.7;
}

.service-icon-frame i {
  font-size: 56px;
  z-index: 2;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 3;
}

.service-info {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
}

.service-info p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.service-list li i {
  color: var(--ember);
  font-size: 11px;
}

.service-link {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: gap var(--t-1), color var(--t-1);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
}

.service-link:hover { gap: 12px; color: var(--ember); border-color: var(--ember); }

/* ============ Why us / feature grid ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

@media (max-width: 992px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 32px 28px;
  transition: transform var(--t-2), box-shadow var(--t-2), border-color var(--t-2);
}

.feature-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--ember-soft);
  color: var(--ember);
  border-radius: var(--r-2);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-icon.warm { background: var(--ember-soft); color: var(--ember); }
.feature-icon.green { background: var(--ok-soft); color: var(--ok); }
.feature-icon.purple { background: var(--frost-soft); color: var(--frost); }

.feature-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
}

/* ============ Process steps ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 992px) {
  .process-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 576px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  padding: 36px 28px 32px 28px;
  border-right: 1px solid var(--hairline);
  position: relative;
}

.process-step:last-child { border-right: none; }

@media (max-width: 992px) {
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 576px) {
  .process-step { border-right: none; border-bottom: 1px solid var(--hairline); }
  .process-step:last-child { border-bottom: none; }
}

.process-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 42px;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 600;
}

.process-step p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}

/* ============ Stats ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  background: var(--ink);
  border-radius: var(--r-3);
  overflow: hidden;
  border: 1px solid var(--ink);
}

.stats-row .stat-block {
  padding: 48px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  position: relative;
}

.stats-row .stat-block:last-child { border-right: none; }

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stats-row .stat-block:nth-child(2n) { border-right: none; }
  .stats-row .stat-block:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-row .stat-block { padding: 32px 22px; }
}

.stat-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px);
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat-num em {
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
}

.stat-label {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.stat-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: #9E9483;
}

/* ============ Reviews / Testimonials ============ */
.testimonial-section {
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 32px;
  position: relative;
  transition: transform var(--t-2), box-shadow var(--t-2);
}

.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--serif);
  font-size: 100px;
  color: var(--ember);
  opacity: 0.15;
  line-height: 1;
}

.review-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.review-stars { color: var(--ember); font-size: 14px; letter-spacing: 1.5px; }

.review-source {
  font-size: 11px;
  font-weight: 700;
  color: var(--warmgray);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.review-text {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ember);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
}

.review-meta h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.review-meta p {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--warmgray);
  margin: 0;
}

/* keep the old carousel classes alive for unmodified pages */
.testimonial-carousel { max-width: 880px; margin: 0 auto; overflow: hidden; position: relative; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-slide { min-width: 100%; padding: 12px; }
.testimonial-card {
  background: var(--paper);
  border-radius: var(--r-3);
  padding: 44px;
  box-shadow: var(--shadow-2);
  text-align: center;
  border: 1px solid var(--hairline);
}
.testimonial-stars { color: var(--ember); font-size: 18px; margin-bottom: 18px; letter-spacing: 2px; }
.testimonial-text { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 24px; line-height: 1.45; font-weight: 500; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--ember);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px;
}
.testimonial-meta { text-align: left; }
.testimonial-meta h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--ink); }
.testimonial-meta p { font-size: 12.5px; color: var(--warmgray); margin: 0; }
.testimonial-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hairline-2); cursor: pointer; border: none;
  transition: all var(--t-1);
}
.testimonial-dot.active { background: var(--ember); width: 26px; border-radius: var(--pill); }
.testimonial-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--hairline);
  color: var(--ink); display: grid; place-items: center;
  cursor: pointer; transition: all var(--t-1);
}
.testimonial-arrow:hover { background: var(--ember); color: #fff; border-color: var(--ember); }

@media (max-width: 576px) {
  .testimonial-card { padding: 28px 22px; }
  .testimonial-text { font-size: 17px; }
  .review-card { padding: 24px; }
  .review-text { font-size: 17px; }
}

/* ============ CTA Banner ============ */
.cta-banner {
  background: var(--ink);
  border-radius: var(--r-4);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid var(--ink);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(closest-side, var(--ember-tint) 0%, transparent 70%);
  z-index: 0;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .cta-banner { padding: 44px 32px; }
  .cta-banner-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 576px) {
  .cta-banner { padding: 36px 24px; }
}

.cta-banner h2 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  line-height: 1.05;
  font-weight: 600;
}

.cta-banner h2 .italic { font-style: italic; font-weight: 500; color: var(--ember); }

.cta-banner p {
  color: #C9C0B0;
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 540px;
}

.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 992px) {
  .cta-buttons { justify-content: center; }
  .cta-banner p { margin-left: auto; margin-right: auto; }
}

.cta-visual { display: flex; justify-content: center; }

.cta-phone-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-3);
  padding: 28px;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.cta-phone-card .phone-icon-pulse {
  width: 68px; height: 68px;
  font-size: 24px;
  margin: 0 auto 16px auto;
  background: var(--ember);
  color: #fff;
  animation: pulse-ember 2.2s infinite;
}

.cta-phone-card .ph-label-big {
  font-family: var(--sans);
  font-size: 11px;
  color: #C9C0B0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-phone-card .ph-num-big {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  gap: 16px;
  transition: color var(--t-1);
}

.faq-question:hover { color: var(--ember); }

.faq-question-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all var(--t-2);
}

.faq-item.open .faq-question-icon {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
  transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-2); }

.faq-answer-inner {
  padding: 0 0 28px 0;
  font-size: 15.5px;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 720px;
}

.faq-item.open .faq-answer { max-height: 480px; }

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: #C9C0B0;
  padding: 88px 0 26px 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ember);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 52px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 60px 0 22px 0; }
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: #9E9483; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-icon::after { border-color: rgba(221,79,26,0.5); }

.footer-brand p {
  font-size: 14.5px;
  color: #9E9483;
  margin-bottom: 22px;
  max-width: 340px;
  line-height: 1.65;
}

.footer-socials { display: flex; gap: 10px; }

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #C9C0B0;
  display: grid;
  place-items: center;
  transition: all var(--t-1);
}

.social-link:hover {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--serif);
  font-size: 16px;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 600;
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 14.5px;
  color: #9E9483;
  transition: color var(--t-1), padding-left var(--t-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a::before { content: '\2192'; color: var(--ember); font-weight: 700; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #9E9483;
  line-height: 1.55;
}

.footer-contact-list li i {
  color: var(--ember);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-list a { color: #9E9483; }
.footer-contact-list a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #7A7160;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover { color: #fff; }

/* ============ Mobile sticky CTA ============ */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(251,248,242,0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -8px 24px rgba(20,17,13,0.08);
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom)) 14px;
  gap: 10px;
  z-index: 997;
}

@media (max-width: 768px) {
  .mobile-sticky-bar { display: grid; }
}

.mobile-sticky-bar .btn { padding: 12px 14px; font-size: 14px; }

/* ============ Page header (sub-pages) ============ */
.page-header {
  padding: 76px 0 64px 0;
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, var(--ember-tint) 0%, transparent 70%);
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1;
}

.page-header h1 .italic { font-style: italic; font-weight: 500; color: var(--ember); }
.page-header h1 .underline-ember { position: relative; display: inline-block; z-index: 1; }
.page-header h1 .underline-ember::after {
  content: '';
  position: absolute;
  left: -0.05em; right: -0.05em;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--ember);
  z-index: -1;
}

.page-header p {
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto;
  color: var(--ink-3);
  line-height: 1.6;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--warmgray);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.breadcrumb a { color: var(--warmgray); transition: color var(--t-1); }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb i { font-size: 8px; color: var(--hairline-2); }

/* ============ Services tabs ============ */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 52px;
  flex-wrap: wrap;
  padding: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--pill);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .services-tabs {
    border-radius: var(--r-2);
    padding: 6px;
  }
}

.service-tab {
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-2);
  background: transparent;
  transition: all var(--t-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-tab i { font-size: 13px; }

.service-tab:hover { color: var(--ember); }

.service-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.service-panel {
  display: none;
  animation: fade-up 0.4s var(--ease);
}

.service-panel.active { display: block; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .service-detail-grid { grid-template-columns: 1fr; }
}

.service-detail-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 40px;
  box-shadow: var(--shadow-1);
}

@media (max-width: 576px) {
  .service-detail-card { padding: 26px; }
}

.service-detail-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.service-detail-card h3 .ico {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}

.service-detail-card h3 .ico.cool { background: var(--frost); }
.service-detail-card h3 .ico.warm { background: var(--ember); }
.service-detail-card h3 .ico.green { background: var(--ok); }
.service-detail-card h3 .ico.purple { background: var(--frost-deep); }

.service-detail-card > p {
  color: var(--ink-3);
  font-size: 15.5px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.price-list {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-row:first-child { padding-top: 0; }

.price-info h4 {
  font-family: var(--serif);
  font-size: 16.5px;
  margin-bottom: 4px;
  font-weight: 600;
}

.price-info p {
  font-size: 13.5px;
  color: var(--warmgray);
  margin: 0;
}

.price-tag {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  flex-shrink: 0;
  text-align: right;
  letter-spacing: -0.01em;
}

.price-tag small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--warmgray);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.service-side-card {
  background: var(--ink);
  border-radius: var(--r-3);
  padding: 36px;
  color: #fff;
  position: sticky;
  top: 100px;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.service-side-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: -40%; right: -20%;
  width: 80%; height: 160%;
  background: radial-gradient(closest-side, var(--ember-tint) 0%, transparent 70%);
  z-index: 0;
}

.service-side-card > * { position: relative; z-index: 1; }

.service-side-card h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 600;
}

.service-side-card > p {
  color: #C9C0B0;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.side-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.side-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #D8CFBE;
  line-height: 1.55;
}

.side-checks li i {
  color: var(--ember);
  margin-top: 5px;
  flex-shrink: 0;
  font-size: 10px;
}

/* ============ Team cards (about) ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

@media (max-width: 992px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--paper);
  border-radius: var(--r-3);
  overflow: hidden;
  border: 1px solid var(--hairline);
  transition: transform var(--t-2), box-shadow var(--t-2);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }

.team-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-3);
}

.team-card:hover .team-img img { transform: scale(1.04); }

.team-img-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  background: var(--paper);
  border-radius: var(--pill);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-info { padding: 26px; }

.team-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 4px;
  font-weight: 600;
}

.team-info .role {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ember);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.team-info p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.6; }

.team-stats {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 22px;
  font-size: 12px;
  color: var(--warmgray);
}

.team-stats span strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

/* ============ Certifications ============ */
.cert-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cert-item { display: flex; align-items: center; gap: 14px; }

.cert-icon {
  width: 56px; height: 56px;
  background: var(--paper);
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  flex-shrink: 0;
}

.cert-info h4 { font-family: var(--serif); font-size: 15px; margin-bottom: 2px; font-weight: 600; }
.cert-info p { font-size: 12px; color: var(--warmgray); margin: 0; }

/* ============ Booking wizard ============ */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 992px) { .booking-layout { grid-template-columns: 1fr; } }

.booking-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 44px;
  box-shadow: var(--shadow-1);
}

@media (max-width: 576px) { .booking-card { padding: 28px 22px; } }

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 44px;
  position: relative;
  padding: 0 20px;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 40px; right: 40px;
  height: 2px;
  background: var(--hairline);
  z-index: 0;
}

.wizard-progress-line {
  position: absolute;
  top: 18px;
  left: 40px;
  height: 2px;
  background: var(--ember);
  z-index: 1;
  transition: width var(--t-2);
  width: 0%;
}

.wizard-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--warmgray);
  text-align: center;
}

.wizard-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--hairline);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--warmgray);
  margin-bottom: 10px;
  transition: all var(--t-2);
  font-family: var(--serif);
}

.wizard-step.active .wizard-step-num,
.wizard-step.completed .wizard-step-num {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

.wizard-step.active { color: var(--ink); }
.wizard-step.completed .wizard-step-num::before { content: '✓'; }
.wizard-step.completed .wizard-step-num span { display: none; }

.wizard-panel { display: none; animation: fade-up 0.4s var(--ease); }
.wizard-panel.active { display: block; }

.wizard-panel h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 600;
}

.wizard-panel .panel-desc {
  color: var(--ink-3);
  margin-bottom: 28px;
  font-size: 15.5px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 576px) { .option-grid { grid-template-columns: 1fr; } }

.option-card {
  padding: 20px;
  background: var(--paper);
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-2);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: all var(--t-1);
  width: 100%;
}

.option-card:hover { border-color: var(--ink); background: var(--paper-soft); }

.option-card.selected {
  border-color: var(--ember);
  background: var(--ember-soft);
}

.option-card .opt-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.option-card .opt-icon.cool { background: var(--frost-soft); color: var(--frost); }
.option-card .opt-icon.warm { background: var(--ember-soft); color: var(--ember); }
.option-card .opt-icon.green { background: var(--ok-soft); color: var(--ok); }
.option-card .opt-icon.purple { background: var(--frost-tint); color: var(--frost-deep); }

.option-card h4 {
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: 600;
}

.option-card p { font-size: 12.5px; color: var(--warmgray); margin: 0; }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 576px) {
  .wizard-actions { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; }
}

/* ============ Calendar ============ */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-header h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 6px;
}

.calendar-label {
  font-size: 10.5px;
  text-align: center;
  color: var(--warmgray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 6px;
}

.calendar-day {
  aspect-ratio: 1;
  border-radius: var(--r-2);
  background: var(--paper);
  border: 1.5px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: all var(--t-1);
}

.calendar-day .day-sub {
  font-size: 10px;
  color: var(--warmgray);
  margin-top: 2px;
  font-weight: 500;
}

.calendar-day.empty { background: transparent; border: none; cursor: default; }

.calendar-day:hover:not(.disabled):not(.empty) {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.calendar-day.selected {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

.calendar-day.selected .day-sub { color: rgba(255,255,255,0.85); }

.calendar-day.disabled { opacity: 0.32; cursor: not-allowed; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.time-slot {
  padding: 14px 12px;
  border-radius: var(--r-2);
  background: var(--paper);
  border: 1.5px solid var(--hairline);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13.5px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-1);
  color: var(--ink);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.time-slot.selected {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

.time-slot.disabled { opacity: 0.4; cursor: not-allowed; }

.time-slot .ts-icon { display: block; font-size: 17px; margin-bottom: 4px; color: var(--ember); }
.time-slot.selected .ts-icon { color: #fff; }
.time-slot .ts-sub { display: block; font-size: 10px; opacity: 0.8; margin-top: 2px; font-weight: 500; }

/* ============ Form controls ============ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group label .req { color: var(--alert); }

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--hairline);
  background: var(--paper);
  border-radius: var(--r-2);
  font-size: 15px;
  color: var(--ink);
  transition: all var(--t-1);
  font-family: var(--sans);
}

.form-control::placeholder { color: var(--warmgray-2); }

.form-control:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px var(--ember-tint);
}

textarea.form-control { resize: vertical; min-height: 100px; }

/* ============ Booking summary panel ============ */
.booking-summary {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 30px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-1);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.summary-header h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; }

.summary-header .badge {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--pill);
  background: var(--ok-soft);
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-header .badge .blink {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: blink 1.5s infinite;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  font-size: 14px;
}

.summary-row span { color: var(--warmgray); }
.summary-row strong { color: var(--ink); text-align: right; font-family: var(--serif); font-weight: 600; }

.summary-row.muted strong { color: var(--warmgray-2); font-weight: 500; font-style: italic; }

.summary-total {
  border-top: 1px dashed var(--hairline-2);
  margin-top: 16px;
  padding-top: 16px;
  font-size: 16px;
}

.summary-total strong { color: var(--ember); font-size: 19px; font-family: var(--serif); }

.summary-note {
  margin-top: 20px;
  padding: 14px;
  background: var(--paper-soft);
  border-radius: var(--r-2);
  font-size: 12.5px;
  color: var(--warmgray);
  line-height: 1.55;
  border: 1px solid var(--hairline);
}

.summary-note strong { color: var(--ink); }

/* Confirmation receipt */
.receipt { text-align: center; padding: 12px 0; }

.receipt-check {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 36px;
  margin: 0 auto 22px auto;
}

.receipt h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}

.receipt > p { color: var(--ink-3); margin-bottom: 28px; font-size: 15px; }

.receipt-details {
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-2);
  padding: 24px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 576px) { .receipt-details { grid-template-columns: 1fr; } }

.receipt-details > div span {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--warmgray);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.receipt-details > div strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

/* ============ Pricing page (replaces diagnostics) ============ */
.pricing-summary {
  background: var(--ink);
  border-radius: var(--r-3);
  padding: 40px;
  color: #fff;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pricing-summary::after {
  content: '';
  position: absolute;
  pointer-events: none;
  right: -10%; top: -50%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, var(--ember-tint) 0%, transparent 70%);
}

.pricing-summary > * { position: relative; z-index: 1; }

.pricing-summary h2 {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.05;
  margin-bottom: 12px;
  font-weight: 600;
}

.pricing-summary h2 .italic { font-style: italic; color: var(--ember); font-weight: 500; }

.pricing-summary p { color: #C9C0B0; font-size: 16px; line-height: 1.6; }

.pricing-summary .pricing-policies {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-3);
  padding: 24px;
}

.pricing-summary .pricing-policies li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #D8CFBE;
  line-height: 1.55;
}

.pricing-summary .pricing-policies li i {
  color: var(--ember);
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 992px) {
  .pricing-summary { grid-template-columns: 1fr; padding: 32px 26px; }
}

.pricing-section { margin-bottom: 64px; }

.pricing-section .ps-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.pricing-section .ps-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-2);
  background: var(--ember-soft);
  color: var(--ember);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.pricing-section .ps-icon.cool { background: var(--frost-soft); color: var(--frost); }
.pricing-section .ps-icon.green { background: var(--ok-soft); color: var(--ok); }
.pricing-section .ps-icon.smart { background: var(--frost-tint); color: var(--frost-deep); }

.pricing-section .ps-title h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-section .ps-title p {
  font-size: 14px;
  color: var(--warmgray);
  margin: 0;
}

.pricing-table {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  overflow: hidden;
}

.pricing-table .price-row {
  padding: 22px 28px;
  border-bottom: 1px solid var(--hairline);
}

.pricing-table .price-row:last-child { border-bottom: none; }

.pricing-table .price-row:hover { background: var(--paper-soft); }

@media (max-width: 576px) {
  .pricing-table .price-row { padding: 18px 18px; flex-wrap: wrap; }
  .pricing-table .price-tag { font-size: 19px; }
}

/* ============ Maintenance plans ============ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.plan-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t-2), box-shadow var(--t-2);
}

.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }

.plan-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-4);
}

.plan-card.featured:hover { transform: translateY(-12px); }

.plan-card.featured h3 { color: #fff; }
.plan-card.featured .plan-desc { color: #C9C0B0; }
.plan-card.featured .plan-features li { color: #D8CFBE; }
.plan-card.featured .plan-features li i { color: var(--ember); }

.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ember);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: var(--pill);
}

.plan-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 600;
}

.plan-desc {
  font-size: 14px;
  color: var(--warmgray);
  margin-bottom: 24px;
  min-height: 42px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.plan-price .amount {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 56px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-card.featured .plan-price .amount { color: #fff; }

.plan-price .per {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--warmgray);
}

.plan-billed {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--warmgray);
  margin-bottom: 26px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

.plan-features li i {
  color: var(--ok);
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 12px;
}

.plan-features li.muted {
  color: var(--warmgray-2);
  text-decoration: line-through;
}

.plan-features li.muted i { color: var(--warmgray-2); }

.plan-card .btn { margin-top: auto; }

/* ============ Service areas ============ */
.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .areas-layout { grid-template-columns: 1fr; }
}

.areas-list {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 32px;
}

.areas-list h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.areas-list > p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.area-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-2);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  transition: background var(--t-1);
  border: 1px solid transparent;
}

.area-row:hover { background: var(--paper-soft); border-color: var(--hairline); }

.area-row .zip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--warmgray);
  background: var(--paper-soft);
  padding: 2px 8px;
  border-radius: var(--r-1);
  letter-spacing: 0.04em;
}

.areas-map {
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--paper-soft);
  height: 540px;
  position: relative;
  box-shadow: var(--shadow-2);
}

.areas-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.2) saturate(0.9);
}

@media (max-width: 992px) { .areas-map { height: 380px; } }

.areas-map-overlay {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-2);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-2);
}

.areas-map-overlay i {
  width: 36px; height: 36px;
  background: var(--ember);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.areas-map-overlay h5 { font-family: var(--serif); font-size: 15px; margin-bottom: 1px; font-weight: 600; }
.areas-map-overlay p { font-size: 11.5px; color: var(--warmgray); margin: 0; }

/* ============ Landing page ============ */
.lp-header {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
}

.lp-hero {
  padding: 64px 0 80px 0;
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.lp-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, var(--ember-tint) 0%, transparent 70%);
}

.lp-hero .container { position: relative; z-index: 2; }

.lp-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 992px) { .lp-grid { grid-template-columns: 1fr; gap: 36px; } }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--ember);
  color: #fff;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--pill);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lp-trust-row {
  display: flex;
  gap: 32px;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
  margin-top: 30px;
  flex-wrap: wrap;
}

.lp-trust-item strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.lp-trust-item span {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--warmgray);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lp-trust-divider {
  width: 1px;
  height: 38px;
  background: var(--hairline);
}

.lead-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 36px;
  box-shadow: var(--shadow-3);
  position: sticky;
  top: 30px;
}

@media (max-width: 992px) { .lead-card { position: static; } }

.countdown {
  background: var(--ember-soft);
  border: 1px solid rgba(221,79,26,0.2);
  border-radius: var(--r-2);
  padding: 12px;
  text-align: center;
  color: var(--ember-hot);
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.countdown-time {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
}

/* ============ Old diagnostics styles — keep for backwards compat ============ */
.diag-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 992px) { .diag-layout { grid-template-columns: 1fr; } }

.diag-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 40px;
  box-shadow: var(--shadow-1);
}

@media (max-width: 576px) { .diag-card { padding: 26px 22px; } }

.diag-progress {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px;
  font-family: var(--sans); font-size: 13px; color: var(--warmgray); font-weight: 600;
}

.diag-progress-bar { flex-grow: 1; height: 5px; background: var(--hairline); margin: 0 16px; border-radius: var(--pill); overflow: hidden; }
.diag-progress-fill { height: 100%; background: var(--ember); border-radius: var(--pill); transition: width var(--t-2); width: 25%; }

.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.check-item {
  background: var(--paper); border: 1.5px solid var(--hairline); border-radius: var(--r-2);
  padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: all var(--t-1);
}

.check-item:hover { border-color: var(--ink); background: var(--paper-soft); }
.check-item.checked { border-color: var(--ember); background: var(--ember-soft); }

.check-box {
  width: 22px; height: 22px; border: 2px solid var(--hairline); border-radius: var(--r-1);
  display: grid; place-items: center; flex-shrink: 0;
  transition: all var(--t-1); color: #fff; font-weight: bold; font-size: 12px;
}

.check-item.checked .check-box { background: var(--ember); border-color: var(--ember); }
.check-item.checked .check-box::before { content: '✓'; }

.check-text { flex-grow: 1; }
.check-text h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 2px; font-weight: 600; }
.check-text p { font-size: 13px; color: var(--warmgray); margin: 0; }

.outcome-box { border-radius: var(--r-2); padding: 28px; margin-bottom: 24px; border: 1.5px solid; }
.outcome-box.ok { background: var(--ok-soft); border-color: var(--ok); }
.outcome-box.warn { background: var(--warn-soft); border-color: var(--warn); }
.outcome-box.alert { background: var(--alert-soft); border-color: var(--alert); }
.outcome-box h3 { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; }
.outcome-box.ok h3 { color: var(--ok); }
.outcome-box.warn h3 { color: var(--warn); }
.outcome-box.alert h3 { color: var(--alert); }

.diag-side {
  background: var(--ink); border-radius: var(--r-3); padding: 30px; color: #fff;
  position: sticky; top: 100px;
}

.diag-side h3 { color: #fff; font-family: var(--serif); font-size: 19px; margin-bottom: 8px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }

.diag-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--pill);
  font-size: 11px; font-weight: 700;
  background: rgba(31,122,76,0.18); color: #5fd693; border: 1px solid rgba(31,122,76,0.3);
}

.diag-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #5fd693; }
.diag-status.warn { background: rgba(194,138,14,0.18); color: #f2c14e; border-color: rgba(194,138,14,0.3); }
.diag-status.warn .dot { background: #f2c14e; }
.diag-status.alert { background: rgba(181,52,31,0.18); color: #f5836a; border-color: rgba(181,52,31,0.3); }
.diag-status.alert .dot { background: #f5836a; }

.diag-side > p { color: #C9C0B0; font-size: 13px; margin-bottom: 22px; }

.schematic {
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-2); padding: 20px; margin-bottom: 22px;
  position: relative; overflow: hidden;
}

.schematic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 2; }

.schematic-component {
  padding: 14px 12px; border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02); border-radius: var(--r-1);
  text-align: center; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.7); font-family: var(--sans);
}

.schematic-component i { display: block; font-size: 18px; margin-bottom: 6px; color: #9E9483; }

.schematic-component.active { border-color: var(--ember); background: var(--ember-tint); color: #fff; }
.schematic-component.active i { color: var(--ember); }
.schematic-component.alert { border-color: var(--alert); background: rgba(181,52,31,0.12); color: #fff; }
.schematic-component.alert i { color: #f5836a; }

.diag-logs { font-size: 12.5px; color: #C9C0B0; }
.diag-logs .log-row { display: flex; justify-content: space-between; padding: 5px 0; }
.diag-logs strong { color: #fff; font-family: var(--serif); }
.diag-logs .live { color: var(--ember); }

/* ============ Animations ============ */
@keyframes pulse-ember {
  0% { box-shadow: 0 0 0 0 rgba(221,79,26,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(221,79,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(221,79,26,0); }
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.animate-fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ============ Utilities ============ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-sm { gap: 10px; }
.gap-md { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-ember { color: var(--ember); }
.text-frost { color: var(--frost); }
