/* =========================================================================
   Rick's Heating & A/C — shared stylesheet
   Design system: "Comfort Dial" — a thermostat-gauge motif (ember = heat,
   frost = cool) used as the site's single recurring signature element.
   ========================================================================= */

:root {
  /* ---- Color tokens: true blue + black + white, with a small yellow accent ----
     (Variable names are historical from an earlier palette pass — --navy/--brand-blue
     now both hold the logo's exact sampled blue, --ember/--ember-dark hold the yellow
     accent, --frost/--frost-line hold blue tints, and --cream/--cream-dim hold white
     and near-white. Values below are authoritative; names are just legacy hooks.) */
  --navy: #004dac;
  --navy-soft: #00346e;
  --brand-blue: #004dac;
  --brand-blue-dark: #00346e;
  --ember: #f2b705;
  --ember-dark: #9c7a00;
  --frost: #e6edf7;
  --frost-line: #004dac;
  --cream: #ffffff;
  --cream-dim: #f2f4f7;
  --ink: #0a0a0a;
  --ink-soft: #4b4f58;
  --white: #ffffff;
  --line: rgba(10, 10, 10, 0.12);
  --shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.4);

  /* ---- Type ---- */
  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ---------------------------- Reset / base ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-blue); text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

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

h1 { font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { line-height: 1.65; color: var(--ink-soft); margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ember);
  color: var(--ink);
  padding: 0.6em 1em;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0.5em; top: 0.5em; }

/* ------------------------------ Layout ------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--tight-bottom { padding-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.section--tight-top { padding-top: clamp(1.5rem, 3vw, 2.2rem); }
.section--cream-dim { background: var(--cream-dim); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--ember-dark);
  margin-bottom: 0.9rem;
}
.section--navy .eyebrow { color: var(--frost); }


.lede { max-width: 62ch; font-size: 1.08rem; }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

/* ------------------------------ Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ember { background: var(--ember); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242,183,5,0.55); }
.btn--ember:hover { background: var(--ember-dark); color: var(--white); }

.btn--outline { background: transparent; border-color: currentColor; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

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

.btn--block { width: 100%; justify-content: center; }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }

/* ------------------------------- Header ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  background: var(--cream);
}

.nav-bar { background: var(--navy); }
.nav-bar .wrap { display: flex; justify-content: center; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 100px; width: auto; border-radius: 6px; }
.brand-text { display: none; }

@media (min-width: 861px) {
  .header-top {
    position: relative;
    min-height: 158px;
    transition: min-height 0.25s ease;
  }
  .header-top .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .header-top .header-cta {
    margin-left: auto;
  }
  .brand img { height: 150px; transition: height 0.25s ease; }

  .site-header.is-scrolled .header-top { min-height: 86px; }
  .site-header.is-scrolled .brand img { height: 64px; }
  .site-header.is-scrolled .main-nav { padding: 0.5rem 0; }
}

.main-nav { display: flex; align-items: center; justify-content: center; gap: 1.9rem; padding: 0.85rem 0; transition: padding 0.2s ease; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  color: var(--white);
  position: relative;
  padding: 0.4em 0.1em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--ember);
  transition: left 0.18s ease, right 0.18s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { left: 0; right: 0; }
.main-nav a[aria-current="page"] { color: var(--ember); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
  background: var(--ember);
  padding: 0.4em 1.1em;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-phone:hover { background: var(--ember-dark); transform: translateY(-1px); }
.header-phone small { font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); opacity: 0.8; }
.header-phone-number { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.header-phone:hover small,
.header-phone:hover .header-phone-number { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px; height: 2px;
  margin-top: -1px;
  margin-left: -11px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .brand-text { display: none; }
  .brand img { height: 60px; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 420px; padding: 0.5rem 0; }
  .main-nav:not(.is-open) { visibility: hidden; }
  .main-nav.is-open { visibility: visible; }
  .main-nav a { padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem); border-top: 1px solid rgba(255,255,255,0.15); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-phone small { display: none; }
  .footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-blurb { display: none; }
  .footer-copyright { max-width: 50%; }
}

/* -------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dim) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding-top: clamp(2.5rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero h1 { margin: 0.3rem 0 1.1rem; }
.hero .lede { margin-bottom: 1.7rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.hero-meta strong { color: var(--navy); font-family: var(--font-display); }
.hero-dial-wrap { position: relative; display: flex; justify-content: center; }
.hero-dial { width: 100%; max-width: 420px; }

.hero-dial .dial-arc {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: dialDraw 1s ease-out 0.15s forwards;
}
.hero-dial .dial-needle {
  transform-origin: 210px 230px;
  animation: dialSweep 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.hero-dial .dial-readout {
  opacity: 0;
  animation: dialFadeIn 0.7s ease-out 1.5s forwards;
}
.hero-dial .dial-ticks { opacity: 0; animation: dialFadeIn 0.5s ease-out 0.2s forwards; }

@keyframes dialDraw { to { stroke-dashoffset: 0; } }
@keyframes dialSweep {
  0% { transform: rotate(-62deg); }
  65% { transform: rotate(6deg); }
  100% { transform: rotate(0deg); }
}
@keyframes dialFadeIn { to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-dial { max-width: 300px; }
}

/* ----------------------------- Trust strip ----------------------------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.trust-item svg { flex: none; width: 26px; height: 26px; color: var(--ember-dark); }

/* ------------------------------ Cards grid ------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon--ember { background: rgba(242,183,5,0.16); color: var(--ember-dark); }
.card-icon--frost { background: rgba(0,77,172,0.1); color: var(--brand-blue-dark); }
.card-icon--blue { background: rgba(0,77,172,0.1); color: var(--brand-blue); }
.card-icon--navy { background: rgba(10,10,10,0.06); color: var(--ink); }

.card h3 { margin-bottom: 0.1rem; }
.card-link { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--brand-blue); margin-top: auto; }
.card-link:hover { color: var(--ember-dark); }

/* ----------------------------- Why / values ----------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.feature-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.feature-list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.2rem; margin-top: 0; max-width: 880px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .feature-list--grid { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--ember-dark); margin-top: 0.15rem; }
.feature-list strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.01em; margin-bottom: 0.2rem; }

.photo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem;
  box-shadow: var(--shadow);
}
.photo-card img { border-radius: 10px; aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; }
.photo-card figcaption { padding: 0.85rem 0.4rem 0.2rem; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* -------------------------------- Banner -------------------------------- */
.banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.banner h2 { color: var(--white); margin-bottom: 0.4rem; }
.banner p { color: rgba(255,255,255,0.78); margin: 0; max-width: 46ch; }

/* -------------------------------- Footer -------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.82); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: clamp(2rem, 5vw, 3.2rem);
  padding-bottom: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-word {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
}
.footer-word span { color: var(--ember); }
.footer-col h4 { color: var(--frost); font-size: 0.82rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--frost); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 0.25rem 0; color: rgba(255,255,255,0.78); }
.hours-table td:last-child { text-align: right; font-feature-settings: "tnum" 1; }
.hours-table tr.is-today td { color: var(--ember); font-weight: 700; font-size: 1.05em; }

.hours-table--light td { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.hours-table--light tr:last-child td { border-bottom: none; }
.hours-table--light tr.is-today td { color: var(--ember-dark); }

.social-row { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg, .social-row .social-icon-img { width: 18px; height: 18px; color: var(--white); }
.social-row a:hover { background: var(--ember); border-color: var(--ember); }
.social-row a:hover svg, .social-row a:hover .social-icon-img { color: var(--ink); }
.social-row--on-light a { border-color: var(--line); }
.social-row--on-light svg, .social-row--on-light .social-icon-img { color: var(--navy); }
.social-row--on-light a:hover svg, .social-row--on-light a:hover .social-icon-img { color: var(--ink); }

/* Real Yelp logo asset (red-on-transparent source), recolored exactly via mask-image so it
   shares the same currentColor rules above as the FB/Google icons rather than approximating
   a color through filter() */
.social-icon-img {
  display: block;
  background-color: currentColor;
  -webkit-mask-image: url('/images/yelp-icon.png');
  mask-image: url('/images/yelp-icon.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom > * { min-width: 0; }
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--frost); }

.footer-bottom-right { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.cf-badge-link { display: flex; align-items: center; opacity: 0.65; transition: opacity 0.15s ease, transform 0.15s ease; }
.cf-badge-link:hover { opacity: 1; transform: scale(1.05); }
.cf-badge-link img { width: 140px; height: auto; display: block; }

/* --------------------------------- Forms --------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75em 0.9em;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-blue); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 0.78rem; color: var(--ink-soft); }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.form-status {
  margin-top: 1rem;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(0,77,172,0.08); color: var(--navy); border: 1px solid var(--frost-line); }
.form-status.is-error { background: rgba(193,57,43,0.08); color: #c1392b; border: 1px solid #c1392b; }

/* ------------------------------ Misc utility ------------------------------ */
.partner-logo-link { display: inline-block; }
.partner-logo-link img {
  display: block;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}
.partner-logo-link:hover img,
.partner-logo-link:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}
.partner-logo--wide img { width: 170px; height: auto; }
.partner-logo--tall img { width: 130px; height: auto; }
.partner-logo--small img { width: 90px; height: auto; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

.payment-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.payment-chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45em 0.8em;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--white);
}

.anchor-nav { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.anchor-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.84rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--navy);
}
.anchor-nav a:hover { border-color: var(--ember); color: var(--ember-dark); }

.service-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.6rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: none; }
.service-block-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.service-block-icon svg { width: 32px; height: 32px; }
.service-block ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.service-block ul li { display: flex; gap: 0.6rem; color: var(--ink-soft); }
.service-block ul li svg { flex: none; width: 16px; height: 16px; margin-top: 0.3rem; color: var(--ember-dark); }
@media (max-width: 640px) { .service-block { grid-template-columns: 1fr; } .service-block-icon { margin-bottom: 0.4rem; } }

/* ------------------------------- 404 page ------------------------------- */
.error-hero { text-align: center; padding-top: clamp(3rem, 9vw, 6rem); padding-bottom: clamp(3rem, 9vw, 6rem); }
.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 1;
  background: linear-gradient(90deg, var(--ember) 0%, var(--frost-line) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ------------------------------ Legal content ------------------------------ */
.legal-content h2 { font-size: 1.4rem; margin: 2.2rem 0 0.8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { list-style: disc; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1em; }
.legal-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 2rem; }
