/* AirTech site: shared design tokens and styles.
   Palette taken from the AirTech logo (blue #1F5CE8, red #E4223C).
   See design-system/airtech/MASTER.md for the rules behind these tokens. */

:root {
  /* Brand (from logo) */
  --blue: #1F5CE8;
  --red: #E4223C;
  --ink: #0E1B3D;
  --text: #1F2A44;
  --text-soft: #4A5670;
  --paper: #F4F7FC;
  --white: #FFFFFF;
  --line: #D9E2F2;
  --focus: #1F5CE8;
  --blue-deep: #1748B5; /* hover state for blue buttons */
  --red-deep: #C41A30;  /* hover state for red buttons */

  /* Type */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius: 10px;
  --radius-pill: 999px;
  --shadow-hover: 0 8px 24px rgba(14, 27, 61, 0.08);
  --max: 1160px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px); /* anchors land below sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 var(--space-4); }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

.container {
  width: min(100% - 2 * var(--space-5), var(--max));
  margin-inline: auto;
}

section { padding: var(--space-8) 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: var(--space-7); }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-2);
}
.lede { font-size: 1.1rem; color: var(--text-soft); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-emergency { background: var(--red); color: var(--white); }
.btn-emergency:hover { background: var(--red-deep); color: var(--white); }
.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--paper); color: var(--blue-deep); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; padding: 6px 0; }
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-hover);
  display: none;
}
.nav-open .site-nav { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0;
  display: grid;
  gap: 2px;
}
.site-nav a {
  display: block;
  padding: 12px var(--space-4);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.site-nav a:hover { background: var(--paper); color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul {
    grid-auto-flow: column;
    padding: 0;
    gap: var(--space-1);
  }
  .site-nav a { padding: 10px 12px; }
  .brand img { height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-8) 0 var(--space-8);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}
.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.hero .lede { margin-bottom: var(--space-6); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: var(--space-8) 0 var(--space-7);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { max-width: 60ch; }
.page-hero .hero-actions { margin-top: var(--space-5); }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--space-5);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: #C5D4EE; }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--text-soft); margin-bottom: var(--space-3); }
.card .more {
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #E8EFFD;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
.icon-tile svg { width: 28px; height: 28px; }

/* ---------- Service detail (services page) ---------- */
.service-block {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-7) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h2 { margin-bottom: var(--space-3); }
.service-block ul {
  padding-left: 1.2rem;
  margin: 0 0 var(--space-4);
  color: var(--text-soft);
}
.service-block .cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.service-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .service-block { grid-template-columns: 1fr 1fr; align-items: center; }
  .service-block.reverse .service-media { order: -1; }
  .service-block:not(:has(.service-media)) { grid-template-columns: 1fr; max-width: 760px; } /* text-only sections use one readable column */
}

/* ---------- Why us ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------- Service area ---------- */
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.area-list li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 0.95rem;
}
.area-list li.placeholder {
  border-style: dashed;
  color: var(--text-soft);
}

/* ---------- Reviews ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.review blockquote { margin: 0; color: var(--text); }
.review cite {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.placeholder-mark {
  display: inline-block;
  background: #FFF4CC;
  color: #5C4300;
  border: 1px dashed #B58A00;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Emergency section ---------- */
.emergency-band {
  background: var(--ink);
  color: var(--white);
  padding: var(--space-7) 0;
}
.emergency-band h2 { color: var(--white); }
.emergency-band p { color: #D9E2F2; }
.emergency-band .container {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.emergency-band .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 800px) {
  .emergency-band .container { grid-template-columns: 1.4fr 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: var(--space-8) 0;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: #E6EEFF; max-width: 60ch; margin-inline: auto; }
.final-cta .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-5); }
.final-cta .btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.final-cta .btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-4); }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.9rem; color: var(--text-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #AFC0DA;
  border-radius: var(--radius);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--blue); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  border-color: var(--blue);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--red); }
.error {
  color: #B3112A; /* darker red for 4.5:1 on white */
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status {
  padding: var(--space-4);
  border-radius: var(--radius);
  background: #E8F7EE;
  color: #0E5A2B;
  border: 1px solid #9ED8B2;
}
.form-status[hidden] { display: none; }
.form-note { font-size: 0.9rem; color: var(--text-soft); }

/* ---------- Contact info ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list .icon-tile { margin: 0; flex: none; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th,
.hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); width: 45%; }

/* ---------- Photo placeholders ---------- */
.photo-list { margin: 0; padding-left: 1.2rem; }
.photo-list li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #D9E2F2;
  padding: var(--space-8) 0 var(--space-5);
  font-size: 0.97rem;
}
.footer-grid {
  display: grid;
  gap: var(--space-6);
}
.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
}
.footer-logo img { height: 52px; width: auto; }
.site-footer h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #E6EEFF; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid #2A3B66;
  font-size: 0.9rem;
  color: #B8C6E0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(14, 27, 61, 0.08);
}
.mobile-call a {
  flex: 1;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
}
.mobile-call .call { background: var(--blue); }
.mobile-call .emerg { background: var(--red); }
.mobile-call svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .mobile-call { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 56px; } }

/* =====================================================================
   COLOR AND MOTION LAYER
   Hot and cold, straight from the logo: red/orange for heating,
   blue/sky for cooling. Decorative colors (orange, sky, cyan) never sit
   behind body text; text stays on navy, blue, deep red or white.
   ===================================================================== */
:root {
  --navy-900: #071233;
  --sky: #4FA3FF;
  --cyan: #22C3E6;
  --orange: #FF7A3D;
  --grad-cool: linear-gradient(135deg, #1F5CE8 0%, #2F86F0 60%, #22C3E6 100%);
  --grad-warm: linear-gradient(135deg, #E4223C 0%, #FF5A3D 60%, #FF8A3D 100%);
  --grad-mix: linear-gradient(135deg, #E4223C 0%, #FF7A3D 35%, #4FA3FF 65%, #1F5CE8 100%);
  --grad-btn: linear-gradient(135deg, #1F5CE8 0%, #1748B5 100%);
  --grad-btn-hot: linear-gradient(135deg, #E4223C 0%, #C41A30 100%);
  --shadow-cool: 0 14px 34px rgba(31, 92, 232, 0.22);
  --shadow-warm: 0 14px 34px rgba(228, 34, 60, 0.25);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Header: gradient rule and scrolled state ---------- */
.site-header {
  border-bottom: 0;
  transition: box-shadow 300ms ease, background-color 300ms ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--grad-mix);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 10px 30px rgba(14, 27, 61, 0.10);
}
@media (min-width: 960px) {
  .site-nav a { position: relative; }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-mix);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms var(--ease-out);
  }
  .site-nav a:hover { background: transparent; }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ---------- Buttons: gradients, lift and a light sweep ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 600ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-btn); }
.btn-primary:hover { background: var(--grad-btn); box-shadow: var(--shadow-cool); }
.btn-emergency { background: var(--grad-btn-hot); }
.btn-emergency:hover { background: var(--grad-btn-hot); box-shadow: var(--shadow-warm); }
.btn-outline:hover { box-shadow: 0 8px 20px rgba(31, 92, 232, 0.15); }
.btn-light:hover { box-shadow: 0 10px 24px rgba(7, 18, 51, 0.25); }

/* ---------- Dark, colorful heroes (home and inner pages) ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #DCE6FA;
  background:
    radial-gradient(60% 70% at 88% 20%, rgba(79, 163, 255, 0.45) 0%, transparent 60%),
    radial-gradient(50% 60% at 5% 95%, rgba(228, 34, 60, 0.38) 0%, transparent 60%),
    linear-gradient(160deg, #0B1840 0%, var(--navy-900) 55%, #0A1538 100%);
  border-bottom: 0;
}
.hero { padding: var(--space-9) 0 var(--space-9); }
.page-hero { padding: var(--space-9) 0 var(--space-8); }
.hero .container,
.page-hero .container { position: relative; z-index: 1; }
.hero h1,
.page-hero h1 { color: var(--white); }
.hero .lede,
.page-hero .lede { color: #C9D6F2; }
.hero .eyebrow,
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(79, 163, 255, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(79, 163, 255, 0.12);
  color: #A9D0FF;
  margin-bottom: var(--space-5);
}
.hero .eyebrow::before,
.page-hero .eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF6A7D;
  box-shadow: 0 0 0 4px rgba(255, 106, 125, 0.25);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.hero h1 .w, .page-hero h1 .w, .hero h1 .w-group { display: inline-block; }
.hero h1 span:not(.w) {
  color: #FF7A8A; /* fallback; 3:1+ on navy for large text */
  background: linear-gradient(90deg, #FF6A7D 0%, #FF9A5A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .btn-outline,
.page-hero .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.hero .btn-outline:hover,
.page-hero .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: var(--white); }
.hero .btn-primary,
.page-hero .btn-primary { background: var(--grad-btn-hot); }
.hero .btn-primary:hover,
.page-hero .btn-primary:hover { background: var(--grad-btn-hot); box-shadow: var(--shadow-warm); }
.hero-meta { color: #C9D6F2; }
.hero-meta svg { color: var(--sky); }

/* Hero photo: gradient frame, glow and floating badges */
.hero-media {
  position: relative;
  padding: 6px;
  border-radius: 22px;
  background: var(--grad-mix);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 80px rgba(79, 163, 255, 0.25);
}
.hero-media img { border: 0; border-radius: 17px; }
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  animation: bob 5s ease-in-out infinite;
}
.hero-chip svg { width: 18px; height: 18px; flex: none; }
.hero-chip.hot { background: var(--grad-btn-hot); left: -14px; bottom: 18%; }
.hero-chip.cool { background: var(--grad-btn); right: -10px; top: 10%; animation-delay: -2.5s; }
@media (max-width: 520px) {
  .hero-chip { font-size: 0.85rem; padding: 8px 12px; }
  .hero-chip.hot { left: 8px; }
  .hero-chip.cool { right: 8px; }
}

/* Moving airflow lines (SVG added by main.js) */
.airflow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.airflow path { fill: none; stroke-linecap: round; }
.airflow .base { stroke-width: 1.5; opacity: 0.18; }
.airflow .streak {
  stroke-width: 2.5;
  stroke-dasharray: 160 1240;
  animation: airflow var(--dur, 7s) linear infinite;
  animation-delay: var(--delay, 0s);
}

/* ---------- Marquee band (home) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--grad-mix);
  color: var(--white);
  padding: 14px 0;
}
.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 51, 0.35); /* keeps white text readable over the light part of the gradient */
}
.marquee-track {
  position: relative;
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-group span::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* ---------- Tinted sections with soft color blobs ---------- */
.section-alt {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #EEF4FF 0%, #F8FAFF 100%);
}
.section-alt::before,
.section-alt::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.section-alt::before { background: #9CC8FF; top: -160px; right: -120px; }
.section-alt::after { background: #FFC2B0; bottom: -180px; left: -140px; }

/* Gradient bar under section headings (drawn in on scroll by main.js) */
.section-head h2::after,
.service-block h2::after,
section:not(.hero):not(.page-hero):not(.final-cta):not(.emergency-band) .grid > div > h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: var(--grad-mix);
  transform-origin: left;
  transition: transform 900ms var(--ease-out);
}
.motion-ok h2:not(.is-drawn)::after { transform: scaleX(0); }
.eyebrow { color: var(--blue); }

/* ---------- Cards: color tiles, lift and gradient top edge ---------- */
.card {
  position: relative;
  overflow: hidden;
  border-color: #E1E8F5;
  box-shadow: 0 2px 6px rgba(14, 27, 61, 0.04);
  transition: transform 350ms var(--ease-out), box-shadow 350ms ease, border-color 350ms ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--grad-mix);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: #C9D8F5;
  box-shadow: 0 22px 44px rgba(31, 92, 232, 0.14);
}
.card:hover::before { transform: scaleX(1); }
.icon-tile {
  background: var(--grad-cool);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(31, 92, 232, 0.28);
}
.card .icon-tile { transition: transform 450ms var(--ease-out); }
.icon-tile.warm { background: var(--grad-warm); box-shadow: 0 10px 22px rgba(228, 34, 60, 0.28); }
.icon-tile.mix { background: var(--grad-mix); box-shadow: 0 10px 22px rgba(120, 80, 200, 0.25); }
.card:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
.card .more { transition: gap 250ms var(--ease-out); }
.card:hover .more { gap: 12px; }
.contact-list .icon-tile { box-shadow: none; }

/* Review cards: large gradient quote mark */
.review { padding-top: var(--space-7); }
.review::after {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Why us checklist ---------- */
.checklist li {
  background: var(--white);
  border: 1px solid #E1E8F5;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(14, 27, 61, 0.05);
  transition: transform 300ms var(--ease-out), border-color 300ms ease;
}
.checklist li:nth-child(even) { border-left-color: var(--red); }
.checklist li:hover { transform: translateX(6px); }
.checklist svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--grad-cool);
  color: var(--white);
}
.checklist li:nth-child(even) svg { background: var(--grad-warm); }

/* ---------- Service area chips ---------- */
.area-list li {
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 250ms ease;
}
.area-list li:first-child {
  background: var(--grad-btn);
  color: var(--white);
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-cool);
}
.area-list li:hover { transform: translateY(-3px); border-color: var(--blue); }

/* ---------- Service area mini map ---------- */
.area-map {
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #E1E8F5;
  box-shadow: 0 20px 44px rgba(14, 27, 61, 0.10);
}
.area-map { width: 100%; max-width: 520px; }
.area-map svg { width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 899px) { .area-grid { grid-template-columns: 1fr; } } /* map gets full width until there is room beside the text */
.area-map figcaption { padding: 10px 6px 2px; font-size: 0.92rem; color: var(--text-soft); }
.am-tag-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; fill: #fff; }
.am-tag-sub { font-family: var(--font-body); font-size: 9.5px; fill: #C9D6F2; }
.am-label { font-family: var(--font-head); font-weight: 600; font-size: 13px; fill: var(--ink); paint-order: stroke; stroke: #F3F7FE; stroke-width: 4px; stroke-linejoin: round; }
.am-label-home { font-size: 16px; font-weight: 700; }
.am-sub { font-family: var(--font-body); font-size: 11px; fill: var(--text-soft); paint-order: stroke; stroke: #F3F7FE; stroke-width: 4px; }
.am-state { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; fill: #7A879E; }
.am-water { font-family: var(--font-body); font-style: italic; font-size: 11px; fill: #4F7FC4; }
.am-n { font-family: var(--font-head); font-weight: 700; font-size: 10px; fill: var(--ink); }
.am-pin circle { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.am-home circle { fill: var(--red); stroke: #fff; stroke-width: 3; }
.am-home .am-pulse { fill: none; stroke: var(--red); stroke-width: 2; animation: am-pulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.am-pin, .am-home > circle:not(.am-pulse) { transform-box: fill-box; transform-origin: center; }
.am-routes path { animation: am-flow 0.9s linear infinite; }
@keyframes am-flow { to { stroke-dashoffset: -8; } }
@keyframes am-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .am-routes path, .am-home .am-pulse { animation: none; }
}

/* ---------- Service detail images ---------- */
.service-block img {
  border: 0;
  box-shadow: 0 24px 50px rgba(14, 27, 61, 0.16);
  transition: transform 500ms var(--ease-out);
}
.service-media { position: relative; }
.service-media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: 18px;
  background: var(--grad-mix);
  opacity: 0.85;
}
.service-block.reverse .service-media::before { inset: 14px 14px -14px -14px; }
.service-block { position: relative; z-index: 0; }
main { overflow-x: clip; } /* decorative offsets never cause sideways scrolling */
.service-block:hover img { transform: translateY(-4px); }

/* ---------- Emergency band: red, with a pulsing call button ---------- */
.emergency-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(50% 90% at 100% 50%, rgba(255, 138, 61, 0.45) 0%, transparent 70%),
    linear-gradient(120deg, #8E0C20 0%, #B3112A 45%, #D41E37 100%);
}
.emergency-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 28px);
}
.emergency-band p { color: #FFE3E7; }
.emergency-band .eyebrow { color: #FFFFFF !important; } /* overrides the old inline color */
.emergency-band .btn-emergency {
  background: var(--white);
  color: #B3112A;
  animation: ring 2.4s ease-out infinite;
}
.emergency-band .btn-emergency:hover { background: var(--white); color: #8E0C20; }
.emergency-band .btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}
.emergency-band .btn-light:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }

/* ---------- Final CTA: blue with airflow ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 80% at 15% 0%, rgba(79, 163, 255, 0.45) 0%, transparent 65%),
    radial-gradient(45% 70% at 95% 100%, rgba(228, 34, 60, 0.35) 0%, transparent 65%),
    linear-gradient(135deg, #1748B5 0%, #1F5CE8 55%, #1748B5 100%);
}
.final-cta .container { position: relative; z-index: 1; }

/* ---------- Footer: gradient top edge ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(31, 92, 232, 0.25) 0%, transparent 70%),
    var(--navy-900);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--grad-mix);
}

/* ---------- Mobile call bar ---------- */
.mobile-call .call { background: var(--grad-btn); }
.mobile-call .emerg { background: var(--grad-btn-hot); }

/* ---------- Keyframes ---------- */
@keyframes airflow { to { stroke-dashoffset: -1400; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 106, 125, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(255, 106, 125, 0); }
}
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* No looping motion for people who ask for less */
@media (prefers-reduced-motion: reduce) {
  .airflow .streak,
  .marquee-track,
  .hero-chip,
  .hero .eyebrow::before,
  .page-hero .eyebrow::before,
  .emergency-band .btn-emergency { animation: none !important; }
  .airflow .streak { display: none; }
  .btn:hover,
  .card:hover,
  .checklist li:hover,
  .area-list li:hover,
  .service-block:hover img { transform: none; }
}

/* ---------- Layout-shift guards ---------- */
:where(img[width][height]) { height: auto; } /* zero specificity, so set logo heights still win */

/* ---------- Reveal starting state (JS adds it; content is visible without JS) ---------- */
.js [data-reveal] { will-change: transform, opacity; }

/* ---------- Home page intro (duct fly-through) ----------
   Shown only when <html> has .intro-on, which an inline script in index.html sets
   once per browser session and never under reduced motion. Without JS it never shows. */
.intro { display: none; }
html { scrollbar-gutter: stable; } /* hiding the scrollbar during the intro causes no shift */
html.intro-on { overflow: hidden; }
html.intro-on .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #071233;
}
html.intro-on .intro.is-clear { background: transparent; transition: background-color 0.9s ease; }
.intro canvas { display: block; width: 100%; height: 100%; }
html.intro-on .site-header .brand img { visibility: hidden; } /* the intro logo lands here */
/* The site stays blank (white) until the logo has landed, then home-intro.js brings it in */
html.intro-on .site-header,
html.intro-on main,
html.intro-on .site-footer,
html.intro-on .mobile-call { opacity: 0; }
.intro-skip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.55);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.intro-skip:hover { background: rgba(5, 7, 10, 0.8); }
.intro-skip:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.intro.is-clear .intro-skip { opacity: 0; pointer-events: none; }
.intro-flyer {
  position: fixed;
  z-index: 201;
  margin: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js [data-reveal] { will-change: auto; }
}

/* ---------- Services: van that opens to show the services ---------- */
.van-reveal {
  --van-w: clamp(220px, min(26vw, 38svh), 340px);
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 60% 55% at 50% 62%, rgba(79, 163, 255, 0.16), transparent 70%),
    var(--white);
}
.van-head { text-align: center; max-width: 660px; margin: 0 auto var(--space-6); }
.van-head h2 { margin-bottom: var(--space-3); }
.van-hint {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 0.9rem; color: var(--text-soft);
}
.van-hint span {
  position: relative; width: 18px; height: 28px;
  border: 2px solid currentColor; border-radius: 10px;
}
.van-hint span::after {
  content: ""; position: absolute; left: 50%; top: 5px; width: 4px; height: 6px;
  margin-left: -2px; border-radius: 2px; background: var(--blue);
  animation: van-hint 1.6s ease-in-out infinite;
}
@keyframes van-hint { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(10px); opacity: 0; } }

.van-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.van-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.van-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(14, 27, 61, 0.08);
  color: var(--ink);
  text-decoration: none;
  transition: translate 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms;
}
.van-card:hover, .van-card:focus-visible { translate: 0 -3px; box-shadow: var(--shadow-cool); border-color: #BFD3F7; }
.van-card .icon-tile { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 12px; }
.van-card .icon-tile svg { width: 22px; height: 22px; }
.van-card-text strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.25; }
.van-card-text small { display: block; color: var(--text-soft); font-size: 0.85rem; }
@media (min-width: 960px) {
  .van-list-left .van-card { flex-direction: row-reverse; text-align: right; } /* icons face the van */
}

/* The van, seen from behind */
.van-scene { position: relative; width: var(--van-w); padding-top: 10px; }
.van { position: relative; isolation: isolate; transform-origin: 50% 100%; }
.van-rack {
  display: flex; justify-content: space-between;
  height: calc(var(--van-w) * 0.05); margin: 0 16% -2px;
  border-top: 4px solid #8A97B3; border-radius: 2px;
}
.van-rack span { width: 4px; background: #8A97B3; }
.van-body {
  position: relative;
  aspect-ratio: 1 / 0.86;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF3FB 70%, #DCE5F3 100%);
  border: 2px solid #CBD6EA;
  border-radius: 22% 22% 7% 7% / 16% 16% 6% 6%;
  box-shadow: 0 22px 44px rgba(14, 27, 61, 0.18);
}
.van-body::before { /* brand stripe */
  content: ""; position: absolute; left: 0; right: 0; bottom: 21%; height: 2.6%;
  background: var(--grad-mix);
}
.van-light {
  position: absolute; top: 14%; width: 5.5%; height: 34%;
  border-radius: 6px;
  background: linear-gradient(180deg, #FF5A6A, #C41A30);
  box-shadow: 0 0 14px rgba(228, 34, 60, 0.45);
}
.van-light-l { left: 2.5%; }
.van-light-r { right: 2.5%; }
.van-cargo {
  position: absolute; left: 11%; right: 11%; top: 9%; bottom: 25%;
  perspective: 900px;
}
.van-interior {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #0B1A40, #17306B);
  box-shadow: inset 0 0 0 3px #0A1533, inset 0 14px 26px rgba(0, 0, 0, 0.45);
}
.van-lamp {
  position: absolute; top: 6%; left: 32%; right: 32%; height: 4%;
  border-radius: 99px; background: #E3EEFF;
  box-shadow: 0 0 18px 6px rgba(140, 190, 255, 0.85);
}
.van-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 12%, rgba(120, 175, 255, 0.55), transparent 68%);
}
.van-shelf {
  position: absolute; left: 6%; right: 6%; height: 3%;
  display: flex; align-items: flex-end; gap: 7%; padding: 0 6%;
  background: #5D74A8; border-radius: 2px;
}
.van-shelf-1 { top: 44%; }
.van-shelf-2 { top: 76%; }
.van-shelf i {
  display: block; flex: none; width: 20%; aspect-ratio: 1.3; /* bottom-aligned in a thin shelf, so it sits on top */
  border-radius: 3px; background: #2F86F0;
}
.van-shelf i:nth-child(2) { background: #E4223C; width: 16%; }
.van-shelf i:nth-child(3) { background: #22C3E6; }
.van-shelf-2 i:nth-child(2) { background: #FF7A3D; width: 26%; }

.van-door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  transform-style: preserve-3d;
}
.van-door-l { left: 0; transform-origin: 0 50%; transform: rotateY(-115deg); }  /* open by default; the script closes them first */
.van-door-r { right: 0; transform-origin: 100% 50%; transform: rotateY(115deg); }
.van-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.van-front {
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF, #E8EEF9);
  border: 2px solid #C4D0E6;
}
.van-door-l .van-front { border-radius: 10px 2px 2px 4px; }
.van-door-r .van-front { border-radius: 2px 10px 4px 2px; }
.van-back { transform: rotateY(180deg); background: linear-gradient(180deg, #C9D4E8, #A9B7D3); border-radius: 6px; }
.van-window {
  position: absolute; top: 8%; left: 13%; right: 13%; height: 30%;
  border-radius: 8px;
  background: linear-gradient(155deg, #3A5DA6 0%, #0E1B3D 70%);
  box-shadow: inset 0 0 0 3px #0E1B3D;
}
.van-window::after {
  content: ""; position: absolute; top: 12%; left: 14%; width: 18%; height: 70%;
  background: rgba(255, 255, 255, 0.22); transform: skewX(-18deg); border-radius: 3px;
}
.van-logo {
  position: absolute; top: 47%; width: 180%; height: 20%;
  background: url("../assets/airtech-logo.svg") center / contain no-repeat;
}
.van-door-l .van-logo { left: 10%; }
.van-door-r .van-logo { right: 10%; }
.van-handle { position: absolute; top: 72%; width: 5%; height: 12%; border-radius: 3px; background: #8A97B3; }
.van-door-l .van-handle { right: 7%; }
.van-door-r .van-handle { left: 7%; }
.van-bumper {
  position: absolute; left: -2.5%; right: -2.5%; bottom: 5%; height: 13%;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #2A3550, #141C30);
}
.van-plate {
  padding: 3px 10px;
  border: 1.5px solid #9AA7C2; border-radius: 4px;
  background: #fff; color: var(--ink);
  font: 700 clamp(9px, 0.8vw, 12px) / 1 var(--font-head);
  letter-spacing: 0.14em;
}
.van-wheels { position: relative; z-index: -1; display: flex; justify-content: space-between; margin: -5% 9% 0; }
.van-wheels span { width: 16%; aspect-ratio: 1 / 0.75; border-radius: 0 0 12px 12px; background: #141C30; }
.van-shadow {
  height: 20px; margin: -6px -8% 0;
  background: radial-gradient(ellipse at center, rgba(14, 27, 61, 0.28), transparent 70%);
}

/* Pinned on large screens: fill the view below the header */
@media (min-width: 960px) and (min-height: 640px) {
  .van-reveal.van-animated { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: var(--space-6) 0; }
  .van-reveal.van-animated .van-stage { width: 100%; }
}
@media (max-width: 959px) {
  .van-layout { grid-template-columns: 1fr 1fr; grid-template-areas: "van van" "l r"; }
  .van-scene { grid-area: van; justify-self: center; margin-bottom: var(--space-4); }
  .van-list-left { grid-area: l; }
  .van-list-right { grid-area: r; }
  .van-card { padding: 12px; gap: 10px; }
  .van-card .icon-tile { width: 38px; height: 38px; }
}
@media (max-width: 559px) {
  .van-layout { grid-template-columns: 1fr; grid-template-areas: "van" "l" "r"; }
  .van-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .van-hint { display: none; }
}

/* ---------- Dark navy sections (home: services and reviews) ---------- */
.dark-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #C9D6F2;
  background:
    radial-gradient(45% 55% at 92% 8%, rgba(79, 163, 255, 0.30) 0%, transparent 65%),
    radial-gradient(40% 50% at 4% 96%, rgba(228, 34, 60, 0.26) 0%, transparent 65%),
    linear-gradient(170deg, #0A1740 0%, var(--navy-900) 60%, #08143A 100%);
}
.dark-section::before { /* faint vent-slat grid, fading out toward the edges */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .eyebrow { color: #8CC4FF; }
.dark-section .lede, .dark-section p { color: #C9D6F2; }
.dark-section a { color: #9FD0FF; }
.dark-section a:hover { color: var(--white); }
.dark-section :focus-visible { outline-color: #9FD0FF; }

/* Bento grid of services with a cursor spotlight */
.bento {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-feature, .bento-wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-feature { grid-column: span 2; grid-row: span 2; }
  .bento-wide { grid-column: span 2; }
}
.bento-card {
  --mx: 50%;
  --my: -20%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5);
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(22, 40, 92, 0.92), rgba(10, 22, 58, 0.92)) padding-box,
    radial-gradient(360px circle at var(--mx) var(--my), rgba(140, 196, 255, 0.85), rgba(255, 255, 255, 0.10) 42%) border-box;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease;
}
.bento-card::after { /* soft light that follows the cursor inside the card */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79, 163, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.bento:hover .bento-card::after { opacity: 1; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 26px 54px rgba(0, 0, 0, 0.35); }
.bento-card .icon-tile { margin-bottom: var(--space-4); transition: transform 450ms var(--ease-out); }
.bento-card:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
.bento-card h3 { margin-bottom: var(--space-2); }
.bento-card p { font-size: 0.97rem; }
.bento-card .more {
  margin-top: auto;
  padding-top: var(--space-3);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
  transition: gap 250ms var(--ease-out);
}
.bento-card:hover .more { gap: 12px; }
.bento-kicker {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bento-card.cool .bento-kicker { color: #7FD4FF !important; }
.bento-card.warm .bento-kicker { color: #FF9A8A !important; }

/* Featured tiles: bigger type and a large glowing icon */
.bento-feature, .bento-wide { padding: var(--space-6); }
.bento-feature h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.bento-wide h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }
.bento-feature p:not(.bento-kicker) { font-size: 1.05rem; max-width: 34ch; }
.bento-feature.cool {
  background:
    radial-gradient(80% 70% at 100% 100%, rgba(34, 195, 230, 0.28), transparent 60%) padding-box,
    linear-gradient(160deg, rgba(25, 56, 140, 0.95), rgba(10, 22, 58, 0.95)) padding-box,
    radial-gradient(360px circle at var(--mx) var(--my), rgba(140, 220, 255, 0.95), rgba(79, 163, 255, 0.25) 42%) border-box;
}
.bento-wide.warm {
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(255, 106, 61, 0.30), transparent 60%) padding-box,
    linear-gradient(160deg, rgba(70, 26, 60, 0.92), rgba(14, 20, 54, 0.95)) padding-box,
    radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 170, 140, 0.95), rgba(255, 106, 125, 0.22) 42%) border-box;
}
.bento-art {
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -10%;
  width: 62%;
  max-width: 300px;
  opacity: 0.22;
  pointer-events: none;
  transition: transform 1.2s var(--ease-out), opacity 600ms ease;
}
.bento-feature .bento-art { width: 78%; max-width: 380px; right: -12%; bottom: -16%; opacity: 0.3; color: #9FE3FF; filter: drop-shadow(0 0 18px rgba(127, 212, 255, 0.9)); animation: bento-spin 40s linear infinite; }
.bento-wide .bento-art { width: 34%; right: 2%; bottom: -16%; color: #FFB08A; filter: drop-shadow(0 0 18px rgba(255, 122, 61, 0.9)); animation: bento-flicker 2.8s ease-in-out infinite alternate; }
.bento-card:hover .bento-art { opacity: 0.38; }
@keyframes bento-spin { to { transform: rotate(360deg); } }
@keyframes bento-flicker { from { transform: scale(0.96) translateY(4px); } to { transform: scale(1.04) translateY(0); } }

/* Reviews on navy */
.reviews-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.reviews-dark .card:hover { border-color: rgba(140, 196, 255, 0.5); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.reviews-dark .review blockquote { color: #E3EBFB; }
.reviews-dark .review cite { color: #9FD0FF; }

@media (prefers-reduced-motion: reduce) {
  .bento-art { animation: none !important; }
  .bento-card:hover { transform: none; }
}
.dark-section .placeholder-mark { color: #5C4300; } /* keep placeholder notes readable on navy */

/* ---------- Big type, gradient phrases and giant faded words ---------- */
.section-head h2, .climate-head h2 {
  font-size: clamp(2rem, 1.25rem + 2.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.grad-text {
  color: #FF7A8A; /* fallback */
  background: linear-gradient(90deg, #FF6A7D 0%, #FF9A5A 35%, #4FA3FF 72%, #22C3E6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-word {
  position: absolute;
  z-index: -1;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(31, 92, 232, 0.12);
  pointer-events: none;
  user-select: none;
}

/* ---------- Numbers band ---------- */
.stats {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  padding: var(--space-8) 0;
}
.stats .bg-word { inset: 0; display: flex; align-items: center; justify-content: center; } /* centered even when wider than the band */
.stats-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-5);
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid li { position: relative; }
@media (min-width: 768px) {
  .stats-grid li + li::before { /* thin divider between numbers */
    content: ""; position: absolute; left: calc(var(--space-5) / -2); top: 15%; bottom: 15%;
    width: 1px; background: linear-gradient(180deg, transparent, var(--line), transparent);
  }
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 1.8rem + 3.4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- Too hot or too cold: temperature slider ---------- */
.climate {
  --t: 0.5;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #DCE6FA;
  text-align: center;
  padding: calc(var(--space-9) + 20px) 0;
  background: #0B1638;
  border-radius: 50% 50% 50% 50% / 56px 56px 56px 56px; /* curved top and bottom edges */
}
.climate::before, .climate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity 250ms linear;
}
.climate::before { /* icy */
  background:
    radial-gradient(60% 80% at 15% 30%, rgba(34, 195, 230, 0.75), transparent 65%),
    linear-gradient(160deg, #0E3A8A 0%, #0A1D52 60%, #071233 100%);
  opacity: calc(1 - var(--t));
}
.climate::after { /* hot */
  background:
    radial-gradient(60% 80% at 85% 70%, rgba(255, 138, 61, 0.8), transparent 65%),
    linear-gradient(160deg, #7A0F2A 0%, #A3122C 55%, #3A0B2A 100%);
  opacity: var(--t);
}
.climate .bg-word { -webkit-text-stroke-width: 2px; transition: opacity 250ms linear; }
.climate .bg-word-cold { left: -2%; top: 6%; -webkit-text-stroke-color: rgba(160, 225, 255, 0.35); opacity: calc(1.15 - var(--t)); }
.climate .bg-word-hot { right: -2%; bottom: 4%; -webkit-text-stroke-color: rgba(255, 190, 150, 0.4); opacity: calc(var(--t) + 0.15); }
.climate h2, .climate h3 { color: var(--white); }
.climate .eyebrow { color: #BFE2FF; }
.climate .lede, .climate p { color: #E3EBFB; }
.climate .grad-text { background: linear-gradient(90deg, #8FE3FF, #FFFFFF 50%, #FFB49A); -webkit-background-clip: text; background-clip: text; }
.climate-head { max-width: 720px; margin: 0 auto var(--space-6); }
.climate-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5);
  border-radius: 24px;
  background: rgba(7, 18, 51, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.climate-readout { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: var(--space-4); }
.climate-temp {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(4rem, 3rem + 4vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}
.climate-mood {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.climate-label { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: var(--space-3); color: var(--white); }
.climate-track { display: flex; align-items: center; gap: var(--space-3); }
.climate-end { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.climate-end.cold { color: #9FE3FF; }
.climate-end.hot { color: #FFB49A; }
.climate-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 14px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #22C3E6 0%, #1F5CE8 30%, #8B6CF0 50%, #FF7A3D 72%, #E4223C 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.climate-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(7, 18, 51, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.2);
  transition: transform 150ms ease;
}
.climate-range::-moz-range-thumb {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(7, 18, 51, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.2);
}
.climate-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.climate-range:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.climate-results { margin-top: var(--space-6); min-height: 210px; }
.climate-result h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin-bottom: var(--space-2); }
.climate-result p { max-width: 54ch; margin: 0 auto var(--space-4); }
.climate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: var(--white); border-color: var(--white); }
.climate .btn-primary, .climate .btn-emergency { color: var(--white); }
@media (max-width: 559px) {
  .climate { border-radius: 50% 50% 50% 50% / 28px 28px 28px 28px; }
  .climate-end { display: none; }
  .climate-results { min-height: 290px; }
}

/* ---------- Curved section edges ---------- */
.services-dark, .reviews-dark {
  z-index: 1;
  margin-bottom: -64px;
  border-radius: 0 0 50% 50% / 0 0 64px 64px;
}
.services-dark + .stats { padding-top: calc(var(--space-8) + 64px); }
.reviews-dark + .emergency-band { padding-top: calc(var(--space-7) + 64px); }
@media (max-width: 559px) {
  .services-dark, .reviews-dark { margin-bottom: -32px; border-radius: 0 0 50% 50% / 0 0 32px 32px; }
  .services-dark + .stats { padding-top: calc(var(--space-8) + 32px); }
  .reviews-dark + .emergency-band { padding-top: calc(var(--space-7) + 32px); }
}
.climate + .section-alt { margin-top: -56px; padding-top: calc(var(--space-8) + 56px); }
.stats + .climate { position: relative; z-index: 1; }

/* ---------- Services page: navy van section ---------- */
.van-reveal.dark-section .van-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.van-reveal.dark-section .van-card:hover,
.van-reveal.dark-section .van-card:focus-visible { border-color: rgba(140, 196, 255, 0.6); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.van-reveal.dark-section .van-card-text small { color: #AFC2E6; }
.van-reveal.dark-section .van-hint { color: #AFC2E6; }
.van-reveal.dark-section .van-hint span::after { background: #8CC4FF; }
.van-reveal.dark-section .van-shadow { background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%); }
.van-reveal.dark-section .van-head h2 { font-size: clamp(2rem, 1.25rem + 2.8vw, 3.25rem); letter-spacing: -0.02em; }

/* ---------- Services page: sticky jump bar ---------- */
.svc-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14, 27, 61, 0.06);
}
.svc-nav ul {
  list-style: none; margin: 0; padding: 10px 0;
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav li { flex: none; }
.svc-nav a {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; white-space: nowrap;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.svc-nav a:hover { border-color: #BFD3F7; color: var(--blue); }
.svc-nav a.is-active { background: var(--grad-btn); color: var(--white); border-color: transparent; box-shadow: var(--shadow-cool); }
.svc-section h2 { scroll-margin-top: calc(var(--header-h) + 90px); }

/* ---------- Services page: richer service sections ---------- */
.svc-section { position: relative; overflow: hidden; isolation: isolate; }
.svc-section .service-block { border-top: 0; }
.svc-num-bg {
  top: 50%;
  left: -2%;
  font-size: clamp(9rem, 26vw, 22rem);
  -webkit-text-stroke-color: rgba(31, 92, 232, 0.10);
  translate: 0 -50%;
}
.svc-section:has(.service-block.reverse) .svc-num-bg { left: auto; right: -2%; } /* the number sits behind the text side */
.svc-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 var(--space-3);
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(31, 92, 232, 0.08); color: var(--blue);
}
.svc-kicker span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-cool); color: #fff; letter-spacing: 0; font-size: 0.78rem;
}
.svc-kicker.warm { background: rgba(228, 34, 60, 0.08); color: var(--red-deep); }
.svc-kicker.warm span { background: var(--grad-warm); }
.svc-kicker.mix { background: rgba(120, 80, 200, 0.08); color: #5B3DB8; }
.svc-kicker.mix span { background: var(--grad-mix); }
.svc-section h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.02em; line-height: 1.08; }
.svc-section .service-block > div:first-child > p:not(.svc-kicker) { font-size: 1.08rem; }
.svc-signs {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #E1E8F5;
  box-shadow: 0 10px 26px rgba(14, 27, 61, 0.06);
}
.svc-signs h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin: 0 0 var(--space-3); }
.svc-signs ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; }
.svc-signs li { position: relative; padding-left: 32px; color: var(--text); }
.svc-signs li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-cool) center / 100% no-repeat;
  -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%);
}
.svc-signs li::after {
  content: "";
  position: absolute; left: 7px; top: 6px;
  width: 7px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.svc-section:has(.svc-kicker.warm) .svc-signs li::before { background: var(--grad-warm); }
.svc-section:has(.svc-kicker.mix) .svc-signs li::before { background: var(--grad-mix); }

/* Visual panel in place of a photo */
.svc-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  box-shadow: 0 30px 60px rgba(14, 27, 61, 0.22);
}
.svc-visual.service-media::before { display: none; } /* the offset frame was for photos */
.svc-visual.cool {
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(34, 195, 230, 0.55), transparent 70%),
    linear-gradient(150deg, #1748B5 0%, #0E2A72 55%, #071233 100%);
}
.svc-visual.warm {
  background:
    radial-gradient(60% 60% at 30% 75%, rgba(255, 138, 61, 0.6), transparent 70%),
    linear-gradient(150deg, #C41A30 0%, #7A0F2A 55%, #2A0A26 100%);
}
.svc-visual.mix {
  background:
    radial-gradient(55% 60% at 20% 80%, rgba(255, 106, 61, 0.5), transparent 70%),
    radial-gradient(55% 60% at 80% 20%, rgba(79, 163, 255, 0.55), transparent 70%),
    linear-gradient(150deg, #3B1F7A 0%, #1B1A55 55%, #071233 100%);
}
.svc-visual::after { /* fine grid, like a vent cover */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
}
.svc-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 42%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  translate: -50% -50%;
  animation: svc-ring 4.5s ease-out infinite;
}
.svc-ring.r2 { animation-delay: -1.5s; }
.svc-ring.r3 { animation-delay: -3s; }
@keyframes svc-ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.svc-icon {
  position: relative;
  display: grid; place-items: center;
  width: clamp(110px, 30%, 160px); aspect-ratio: 1;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: svc-float 6s ease-in-out infinite;
}
.svc-icon svg { width: 52%; height: 52%; filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.7)); }
@keyframes svc-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.svc-tag {
  position: absolute; left: 18px; bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 18, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}
.svc-parts { position: absolute; inset: 0; z-index: -1; }
.svc-parts i {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: svc-fall 7s linear infinite;
}
.svc-parts i:nth-child(1) { left: 12%; animation-delay: 0s; }
.svc-parts i:nth-child(2) { left: 28%; animation-delay: -2.4s; width: 5px; height: 5px; }
.svc-parts i:nth-child(3) { left: 46%; animation-delay: -4.8s; }
.svc-parts i:nth-child(4) { left: 64%; animation-delay: -1.2s; width: 6px; height: 6px; }
.svc-parts i:nth-child(5) { left: 80%; animation-delay: -3.6s; }
.svc-parts i:nth-child(6) { left: 92%; animation-delay: -5.6s; width: 5px; height: 5px; }
.svc-visual.warm .svc-parts i { background: #FFC07A; box-shadow: 0 0 12px #FF8A3D; animation-name: svc-rise; animation-duration: 5s; }
.svc-visual.mix .svc-parts i:nth-child(odd) { background: #FFC07A; box-shadow: 0 0 12px #FF8A3D; animation-name: svc-rise; }
@keyframes svc-fall { 0% { top: -5%; opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 100% { top: 105%; opacity: 0; transform: translateX(20px); } }
@keyframes svc-rise { 0% { top: 105%; opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 100% { top: -5%; opacity: 0; transform: translateX(-16px); } }
.svc-section .service-block:hover .svc-icon { animation-play-state: paused; transform: scale(1.06) rotate(-4deg); transition: transform 400ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .svc-ring, .svc-icon, .svc-parts i { animation: none !important; }
  .svc-ring { opacity: 0.3; }
  .svc-parts { display: none; }
}
