/* ============================================================
   HOME2 v3 — Premium rebrand exploration for United Enterprises
   Design system: "Thermal" — a blue→amber gradient identity
   grounded in the actual trade (cooling/AC = blue, heating/repair
   urgency = amber). Revised per feedback: light throughout (no
   dark panel sections), gradient used as accent/signal only —
   text, buttons, dividers, icon rings, floating cards — never as
   a full-bleed background block. Icons explicitly sized everywhere
   (the v2 bug: unsized inline SVGs rendered at browser default).

   Palette:  ink + cool paper (clean) + blue→amber gradient (signal)
   Type:     Manrope (display/UI) / Inter (body)
   Signature: gradient icon-ring system + gradient text/dividers
              + trust badges + floating rating/quote cards
   Shape:    soft rounded corners (10-16px), gentle elevation
   ============================================================ */

:root {
  --ink-900: #0A1120;
  --blue-600: #2557E0;
  --blue-500: #2F6FED;
  --blue-400: #5B93FF;
  --amber-500: #F0973A;
  --amber-400: #FFB35C;
  --paper: #F6F8FB;
  --paper-2: #EDF1F7;
  --white: #FFFFFF;
  --ink: #101827;
  --slate: #4B5567;
  --slate-light: #7C8698;
  --line: #E2E7F0;
  --grad: linear-gradient(135deg, #14225C 0%, #2F6FED 100%);
  --grad-soft: linear-gradient(135deg, rgba(20,34,92,.08), rgba(47,111,237,.08));
}

.h2-root { background: var(--white); color: var(--ink); font-family: "Inter", system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.h2-root * { box-sizing: border-box; }
.h2-root h1, .h2-root h2, .h2-root h3, .h2-root h4 {
  font-family: "Manrope", system-ui, sans-serif; font-weight: 700; line-height: 1.18; margin: 0 0 .75rem; letter-spacing: -.01em; color: var(--ink);
}
.h2-root p { margin: 0 0 1rem; }
.h2-root a { color: inherit; text-decoration: none; }
.h2-root img { max-width: 100%; display: block; }
.h2-root ul { list-style: none; margin: 0; padding: 0; }
.h2-root svg { width: 18px; height: 18px; flex-shrink: 0; }

.h2-container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.h2-section { padding: 100px 0; }
.h2-section-tight { padding: 60px 0; }
.h2-section-alt { background: var(--paper-2); }

/* ---------- Gradient text + dividers (signature) ---------- */
.h2-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-grad-rule { width: 56px; height: 4px; border-radius: 2px; background: var(--grad); margin-bottom: 1.1rem; }
.h2-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: "Manrope", sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: .75rem;
}

/* ---------- Buttons (icons explicitly sized — this was the v2 bug) ---------- */
.h2-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.75rem; font-family: "Manrope", sans-serif; font-weight: 700; font-size: .95rem;
  border: none; border-radius: 10px; cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.h2-btn svg { width: 15px; height: 15px; }
.h2-btn-primary { background: var(--grad); box-shadow: 0 8px 24px -8px rgba(47,111,237,.4); }
.h2-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(47,111,237,.45); }
.h2-btn-outline { background: var(--white); border: 1.5px solid var(--line); }
.h2-btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
/* Higher specificity than the base ".h2-root a { color: inherit }" rule (element+class
   beats single class), which was otherwise silently winning and making every button's
   text render as inherited dark ink instead of the intended white/ink per variant. */
.h2-btn.h2-btn-primary { color: #fff; }
.h2-btn.h2-btn-outline { color: var(--ink); }

/* ---------- Trust badges ---------- */
.h2-badges { display: flex; gap: .9rem; flex-wrap: wrap; }
.h2-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem;
  border-radius: 9999px; font-size: .82rem; font-weight: 600; background: var(--white);
  border: 1px solid var(--line); color: var(--slate); box-shadow: 0 2px 8px -4px rgba(16,24,39,.08);
}
.h2-badge svg { width: 15px; height: 15px; color: var(--blue-500); }

/* ---------- Icon ring (signature) ---------- */
.h2-icon-ring {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--grad-soft);
}
.h2-icon-ring svg { width: 26px; height: 26px; color: var(--blue-600); }

/* ---------- Top utility bar (light, thin) ---------- */
.h2-topbar { background: var(--white); border-bottom: 1px solid var(--line); color: var(--slate); font-size: .82rem; }
.h2-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; }
.h2-topbar a { color: var(--blue-600); font-weight: 700; }
.h2-topbar-right { display: flex; gap: .6rem; align-items: center; }
.h2-topbar-call {
  display: inline-flex; align-items: center; gap: .45rem; color: var(--blue-600); font-weight: 600;
}
.h2-topbar-call svg { width: 13px; height: 13px; flex-shrink: 0; }
.h2-topbar-call strong { font-weight: 800; }
.h2-topbar-sep { color: var(--line); }
.h2-topbar-right a { font-weight: 600; }

/* ---------- Nav ---------- */
.h2-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.h2-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.h2-logo { display: flex; align-items: center; gap: .7rem; }
.h2-logo-mark { height: 46px; flex-shrink: 0; display: flex; align-items: center; }
.h2-logo-mark img { height: 46px; width: auto; object-fit: contain; }
.h2-logo-mark.h2-logo-mark-fallback { width: 46px; border-radius: 11px; background: var(--grad); justify-content: center; }
.h2-logo-mark.h2-logo-mark-fallback svg { width: 21px; height: 21px; color: #fff; }
.h2-logo-text { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink); display: block; }
.h2-logo-sub { font-size: .68rem; color: var(--slate-light); font-weight: 600; letter-spacing: .03em; display: block; }
.h2-nav-links { display: flex; align-items: center; gap: 2.2rem; font-size: .93rem; font-weight: 600; color: var(--slate); }
.h2-nav-links a:hover { color: var(--blue-600); }
.h2-nav-cta { display: flex; align-items: center; gap: .9rem; }
.h2-nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.h2-nav-toggle svg { width: 22px; height: 22px; }
.h2-mobile-menu { display: none; }
@media (max-width: 960px) {
  .h2-nav-links, .h2-nav-cta .h2-btn-outline { display: none; }
  .h2-nav-toggle { display: block; }
  .h2-mobile-menu.open { display: flex; flex-direction: column; padding: 0 0 1.5rem; border-top: 1px solid var(--line); margin-top: 1rem; }
  .h2-mobile-menu a { padding: .7rem 0; font-weight: 600; }
  .h2-topbar-inner { flex-direction: column; gap: .4rem; align-items: flex-start; padding: .7rem 0; }
}

/* ---------- Hero v3 — light, gradient wash, floating rating card ---------- */
.h2-hero { position: relative; overflow: hidden; padding: 76px 0 100px; }
.h2-hero-wash {
  position: absolute; inset: -15% -10% auto -10%; height: 640px; z-index: 0; pointer-events: none;
  background: radial-gradient(560px 380px at 12% 15%, rgba(47,111,237,.10), transparent 62%),
              radial-gradient(520px 360px at 88% 5%, rgba(240,151,58,.10), transparent 60%);
}
.h2-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.h2-hero-title { font-size: 3.15rem; letter-spacing: -.02em; margin-bottom: 1.35rem; color: var(--ink); }
.h2-hero-desc { font-size: 1.08rem; color: var(--slate); max-width: 33rem; margin-bottom: 1.75rem; }
.h2-hero-ctas { display: flex; gap: 1rem; margin-bottom: 2.1rem; flex-wrap: wrap; }
.h2-hero-img-wrap { position: relative; border-radius: 22px; padding: 0; }
.h2-hero-img-inner { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(16,24,39,.22); }
.h2-hero-img-inner img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.h2-hero-rating-card {
  position: absolute; left: -1.75rem; bottom: -1.5rem; z-index: 2;
  background: var(--white); border-radius: 14px; padding: 1.1rem 1.35rem;
  box-shadow: 0 16px 36px -12px rgba(16,24,39,.25); display: flex; align-items: center; gap: .9rem;
  border: 1px solid var(--line);
}
.h2-hero-rating-stars { display: flex; gap: .15rem; }
.h2-hero-rating-stars svg { width: 14px; height: 14px; color: var(--amber-500); }
.h2-hero-rating-score { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1; }
.h2-hero-rating-label { font-size: .76rem; color: var(--slate-light); margin-top: .15rem; }
@media (max-width: 960px) {
  .h2-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .h2-hero-title { font-size: 2.15rem; }
  .h2-hero-wash { height: 460px; }
  .h2-hero-rating-card { left: 1rem; bottom: -1.25rem; }
}

/* ---------- Brand strip ---------- */
.h2-brands { background: var(--white); border-bottom: 1px solid var(--line); padding: 2.25rem 0; }
.h2-brands-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 1.25rem; text-align: center; }
.h2-brands-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.h2-brands-row img { max-height: 32px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .55; transition: opacity .2s ease; }
.h2-brands-row img:hover { opacity: .9; }

/* ---------- Section headers ---------- */
.h2-section-head { max-width: 42rem; margin-bottom: 3.25rem; }
.h2-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.h2-section-head.center .h2-grad-rule { margin-left: auto; margin-right: auto; }
.h2-section-head h2 { font-size: 2.15rem; }
.h2-section-head p { color: var(--slate); font-size: 1.02rem; }

/* ---------- Services grid ---------- */
.h2-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.h2-svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem;
  transition: all .22s ease; display: flex; flex-direction: column; height: 100%;
}
.h2-svc-card:hover { border-color: transparent; box-shadow: 0 16px 40px -16px rgba(37,87,224,.22); transform: translateY(-3px); }
.h2-svc-card h3 { font-size: 1.08rem; margin: 1.1rem 0 .5rem; }
.h2-svc-card p { font-size: .9rem; color: var(--slate); margin-bottom: 1.25rem; flex-grow: 1; }
.h2-svc-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 700; color: var(--blue-600); }
.h2-svc-link svg { width: 13px; height: 13px; }
.h2-svc-card:hover .h2-svc-link { color: var(--amber-500); }
@media (max-width: 900px) { .h2-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .h2-services-grid { grid-template-columns: 1fr; } }

/* ---------- Stats band (light, hairline-framed) ---------- */
.h2-stats-section { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.h2-stat-item { text-align: center; }
.h2-stat-num { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 2.4rem; margin-bottom: .35rem; }
.h2-stat-label { font-size: .85rem; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .h2-stats-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }

/* ---------- Feature rows ---------- */
.h2-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.h2-feature-row + .h2-feature-row { margin-top: 5.5rem; }
.h2-feature-row.reverse .h2-feature-img { order: 2; }
.h2-feature-img { border-radius: 18px; padding: 8px; background: var(--grad-soft); }
.h2-feature-img-inner { border-radius: 12px; overflow: hidden; }
.h2-feature-img-inner img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.h2-feature-text h3 { font-size: 1.65rem; margin-bottom: 1rem; }
.h2-feature-text p { color: var(--slate); }
.h2-feature-list { margin-top: 1.5rem; }
.h2-feature-list li { display: flex; gap: .75rem; padding: .5rem 0; font-size: .95rem; align-items: flex-start; }
.h2-feature-list li .h2-check-wrap {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; margin-top: .1rem;
}
.h2-feature-list li .h2-check-wrap svg { width: 12px; height: 12px; color: #fff; }
@media (max-width: 900px) {
  .h2-feature-row, .h2-feature-row.reverse { grid-template-columns: 1fr; gap: 1.75rem; }
  .h2-feature-row.reverse .h2-feature-img { order: 0; }
  .h2-feature-row + .h2-feature-row { margin-top: 3rem; }
}

/* ---------- Process ---------- */
.h2-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.h2-process-step { position: relative; }
.h2-process-num {
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff;
  background: var(--grad); width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.h2-process-step h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.h2-process-step p { font-size: .89rem; color: var(--slate); }
@media (max-width: 900px) { .h2-process { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } }

/* ---------- Testimonials ---------- */
.h2-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.h2-testi-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; }
.h2-testi-stars { display: flex; gap: .2rem; margin-bottom: 1.1rem; }
.h2-testi-stars svg { width: 15px; height: 15px; color: var(--amber-500); }
.h2-testi-card p.h2-quote { font-size: .97rem; margin-bottom: 1.5rem; color: var(--ink); }
.h2-testi-name { font-weight: 700; font-size: .9rem; }
.h2-testi-role { font-size: .8rem; color: var(--slate-light); }
@media (max-width: 900px) { .h2-testi-grid { grid-template-columns: 1fr; } }

/* ---------- Hero call strip (signature CTA — the page's primary conversion element) ---------- */
.h2-call-strip {
  display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.75rem; max-width: 22rem;
  box-shadow: 0 10px 28px -14px rgba(16,24,39,.18); transition: all .2s ease;
}
.h2-call-strip:hover { border-color: var(--blue-500); transform: translateY(-2px); box-shadow: 0 14px 32px -14px rgba(37,87,224,.25); }
.h2-call-strip-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.h2-call-strip-icon svg { width: 20px; height: 20px; color: #fff; }
.h2-call-strip-label { display: block; font-size: .74rem; color: var(--slate-light); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.h2-call-strip-number { display: block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.h2-call-strip-arrow { margin-left: auto; color: var(--blue-600); }
.h2-call-strip-arrow svg { width: 15px; height: 15px; }
.h2-btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.h2-btn-lg svg { width: 17px; height: 17px; }

/* ---------- Call-emphasis band (replaces the old "Why It Matters" text block) ---------- */
.h2-call-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2-call-band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.h2-call-band-text h2 { font-size: 1.9rem; }
.h2-call-band-text p { color: var(--slate); margin-bottom: 1.5rem; }
.h2-call-band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 900px) {
  .h2-call-band-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Service area section (local SEO / GEO signal) ---------- */
.h2-area-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.h2-area-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2.5rem;
  text-align: center; box-shadow: 0 16px 40px -20px rgba(16,24,39,.15);
}
.h2-area-card-label { font-size: .78rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: .5rem; }
.h2-area-card-city { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 1rem; }
.h2-area-card-addr { font-size: .9rem; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .h2-area-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- FAQ accordion ---------- */
.h2-faq-list { display: flex; flex-direction: column; gap: .9rem; }
.h2-faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.h2-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: .98rem; color: var(--ink);
}
.h2-faq-toggle { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.h2-faq-toggle svg { width: 14px; height: 14px; color: var(--blue-600); }
.h2-faq-item.open .h2-faq-toggle { background: var(--grad); transform: rotate(45deg); }
.h2-faq-item.open .h2-faq-toggle svg { color: #fff; }
.h2-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.h2-faq-item.open .h2-faq-a { max-height: 220px; }
.h2-faq-a p { padding: 0 1.5rem 1.25rem; color: var(--slate); font-size: .92rem; margin: 0; }

/* ---------- Testimonial slider — 3-at-a-time, sliding by one card ---------- */
.h2-testi-wrap { max-width: 1080px; margin: 0 auto; }
.h2-testi-slider { display: flex; align-items: center; gap: 1.25rem; }
.h2-testi-viewport { flex: 1; overflow: hidden; }
.h2-testi-track { display: flex; gap: 1.5rem; will-change: transform; }
.h2-testi-slide { flex: 0 0 calc(33.333% - 1rem); }
.h2-testi-slider .h2-testi-card { border-radius: 18px; padding: 2rem; text-align: left; height: 100%; }
.h2-testi-slider .h2-testi-stars { justify-content: flex-start; }
.h2-testi-nav {
  position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 20px -10px rgba(16,24,39,.2); color: var(--ink); transition: all .18s ease;
}
.h2-testi-nav:hover { border-color: var(--blue-500); color: var(--blue-600); }
.h2-testi-nav svg { width: 17px; height: 17px; }
.h2-testi-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.75rem; width: 100%; }
.h2-testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; }
.h2-testi-dot.active { background: var(--grad); width: 22px; border-radius: 4px; transition: all .2s ease; }
@media (max-width: 900px) {
  .h2-testi-slide { flex: 0 0 calc(50% - .75rem); }
}
@media (max-width: 640px) {
  .h2-testi-slide { flex: 0 0 100%; }
  .h2-testi-nav { display: none; }
  .h2-testi-slider .h2-testi-card { padding: 1.75rem; }
}

/* ---------- Emergency service section (replaces the "Ready When You Are" CTA) ---------- */
.h2-emergency { background: var(--paper-2); }
.h2-emergency-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: stretch; }
.h2-emergency-text h2 { font-size: 2rem; }
.h2-emergency-text p { color: var(--slate); }
.h2-emergency-signs { margin: 1.5rem 0 2rem; }
.h2-emergency-signs li { display: flex; gap: .75rem; padding: .5rem 0; align-items: flex-start; font-size: .96rem; }
.h2-emergency-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem 2rem;
  text-align: center; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; height: 100%;
}
.h2-emergency-panel-icons {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; opacity: .12; margin-bottom: -2.5rem;
  padding: 0 1rem;
}
.h2-emergency-panel-icons svg { width: 100%; height: auto; color: var(--blue-600); }
.h2-emergency-pulse-wrap { position: relative; width: 88px; height: 88px; margin: 1.5rem auto; }
.h2-emergency-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--grad); opacity: .35;
  animation: h2-pulse 2.2s ease-out infinite;
}
@keyframes h2-pulse {
  0% { transform: scale(.85); opacity: .45; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.h2-emergency-btn {
  position: absolute; inset: 10px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(20,34,92,.4);
}
.h2-emergency-btn svg { width: 30px; height: 30px; color: #fff; }
.h2-emergency-panel-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-light); margin-bottom: .35rem; position: relative; z-index: 1; }
.h2-emergency-number {
  display: inline-flex; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.7rem; position: relative; z-index: 1;
  color: var(--ink); border-bottom: 3px solid transparent; border-image: var(--grad) 1;
}
@media (max-width: 900px) {
  .h2-emergency-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .h2-emergency-panel { order: -1; }
}
@media (max-width: 600px) { .h2-emergency-text h2 { font-size: 1.6rem; } .h2-emergency-number { font-size: 1.4rem; } }

/* ---------- Floating call button (persistent, all viewports) ---------- */
.h2-float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 32px -10px rgba(20,34,92,.45);
}
.h2-float-call svg { width: 24px; height: 24px; color: #fff; }
.h2-float-call-ring {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue-500); opacity: .5;
  animation: h2-pulse 2.4s ease-out infinite;
}
@media (max-width: 600px) { .h2-float-call { width: 54px; height: 54px; right: 16px; bottom: 16px; } }

/* ---------- Footer (light, gradient top rule — no dark panel) ---------- */
.h2-footer { background: var(--paper-2); color: var(--slate); border-top: 3px solid transparent; border-image: var(--grad) 1; padding-top: 4.5rem; }
.h2-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.h2-footer h4 { color: var(--ink); font-size: .92rem; margin-bottom: 1.1rem; font-family: "Manrope", sans-serif; letter-spacing: .02em; }
.h2-footer-grid ul li { padding: .4rem 0; font-size: .9rem; }
.h2-footer-grid ul li a:hover { color: var(--blue-600); }
.h2-footer-desc { font-size: .9rem; line-height: 1.7; max-width: 22rem; margin-bottom: 1.25rem; }
.h2-footer-addr { display: flex; gap: .55rem; font-size: .87rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 20rem; }
.h2-footer-addr svg { width: 16px; height: 16px; color: var(--blue-500); flex-shrink: 0; margin-top: .2rem; }
.h2-footer-socials { display: flex; gap: .7rem; margin-top: 1.25rem; }
.h2-social-btn {
  width: 38px; height: 38px; border-radius: 10px; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: all .18s ease;
}
.h2-social-btn svg { width: 16px; height: 16px; color: var(--slate); }
.h2-social-btn:hover { background: var(--grad); border-color: transparent; }
.h2-social-btn:hover svg { color: #fff; }
.h2-footer-viewall { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue-600) !important; font-weight: 700; }
.h2-footer-viewall svg { width: 12px; height: 12px; }
.h2-footer-contact li { display: flex; }
.h2-footer-contact li a, .h2-footer-contact li span { display: flex; align-items: center; gap: .55rem; }
.h2-footer-contact-addr span { align-items: flex-start !important; line-height: 1.6; }
.h2-footer-contact-addr svg { margin-top: .2rem; }
.h2-footer-contact svg { width: 15px; height: 15px; color: var(--blue-500); flex-shrink: 0; }
.h2-footer-bottom {
  border-top: 1px solid var(--line); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; flex-wrap: wrap; gap: .75rem;
}
.h2-footer-bottom-links { display: flex; gap: 1.25rem; }
.h2-footer-bottom-links a:hover { color: var(--blue-600); }
@media (max-width: 900px) {
  .h2-footer-grid { grid-template-columns: 1fr 1fr; }
  .h2-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .h2-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE — unique section layouts
   ============================================================ */

/* ---------- Page header (breadcrumb variant of hero) ---------- */
.h2-about-hero { padding: 60px 0 80px; }
.h2-about-hero-inner { position: relative; z-index: 1; max-width: 46rem; }
.h2-breadcrumb { font-size: .85rem; color: var(--slate-light); margin-bottom: 1.5rem; }
.h2-breadcrumb a { color: var(--blue-600); font-weight: 600; }
.h2-breadcrumb span { margin: 0 .4rem; }

/* ---------- Our Story: asymmetric text + pull-quote card ---------- */
.h2-story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; align-items: start; }
.h2-story-main p { color: var(--slate); font-size: 1.02rem; }
.h2-story-quote {
  background: var(--paper-2); border-radius: 18px; padding: 2.25rem; position: sticky; top: 100px;
  border-left: 3px solid transparent; border-image: var(--grad) 1;
}
.h2-quote-mark { width: 34px; height: 34px; color: var(--blue-500); opacity: .4; margin-bottom: .75rem; }
.h2-story-quote p { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.4; color: var(--ink); margin-bottom: 1rem; }
.h2-story-quote span { font-size: .82rem; color: var(--slate-light); }
@media (max-width: 900px) {
  .h2-story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .h2-story-quote { position: static; }
}

/* ---------- Values grid ---------- */
.h2-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.h2-value-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; }
.h2-value-card h3 { font-size: 1.05rem; margin: 1.1rem 0 .5rem; }
.h2-value-card p { font-size: .89rem; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .h2-values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h2-values-grid { grid-template-columns: 1fr; } }

/* ---------- Why choose us: text + checklist ---------- */
.h2-why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
.h2-why-grid > div p { color: var(--slate); }
.h2-why-list { display: flex; flex-direction: column; gap: .25rem; background: var(--paper-2); border-radius: 16px; padding: 1.75rem 2rem; }
.h2-why-list li { display: flex; gap: .7rem; padding: .55rem 0; font-size: .93rem; }
@media (max-width: 900px) { .h2-why-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Standards: numbered card grid (distinct from homepage's connected-line process) ---------- */
.h2-standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.h2-standard-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.9rem; }
.h2-standard-num {
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--blue-600);
  margin-bottom: 1rem;
}
.h2-standard-card h4 { font-size: 1rem; margin-bottom: .55rem; }
.h2-standard-card p { font-size: .88rem; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .h2-standards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h2-standards-grid { grid-template-columns: 1fr; } }

/* ---------- Our Guarantee: centered statement (no cards/grids — deliberate contrast) ---------- */
.h2-guarantee { background: var(--paper-2); }
.h2-guarantee-inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.h2-guarantee-badge { margin: 0 auto 1.25rem; }
.h2-guarantee h2 { font-size: 2rem; }
.h2-guarantee p { color: var(--slate); font-size: 1.02rem; }

/* ---------- About-page service area (card + text, distinct from homepage's version) ---------- */
.h2-about-area-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.h2-about-area-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2.25rem;
  text-align: center; box-shadow: 0 16px 40px -20px rgba(16,24,39,.15);
}
.h2-about-area-card .h2-icon-ring { margin: 0 auto 1rem; }
.h2-about-area-grid > div:last-child p { color: var(--slate); }
@media (max-width: 900px) { .h2-about-area-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Certifications strip ---------- */
.h2-cert-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2-cert-intro { text-align: center; color: var(--slate); max-width: 40rem; margin: 0 auto 2rem; font-size: .95rem; }
.h2-cert-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.h2-cert-item { display: flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.h2-cert-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center;
}
.h2-cert-icon svg { width: 18px; height: 18px; color: var(--blue-600); }
@media (max-width: 700px) { .h2-cert-row { gap: 1.5rem 2rem; } }

/* ---------- About closing CTA: compact split banner (distinct from homepage's centered CTA) ---------- */
.h2-about-cta { background: var(--paper-2); }
.h2-about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.h2-about-cta-inner h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.h2-about-cta-inner p { color: var(--slate); margin: 0; }
@media (max-width: 700px) { .h2-about-cta-inner { flex-direction: column; text-align: center; } }

/* ============================================================
   CONTACT PAGE — unique section layouts + form (the site's
   only lead-capture form, by design)
   ============================================================ */

/* ---------- Contact methods: 3-card row, accent-border variant ---------- */
.h2-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.h2-method-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-top: 3px solid transparent;
  border-image: var(--grad) 1; border-radius: 14px; padding: 2rem; text-align: center; transition: all .2s ease;
}
a.h2-method-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -18px rgba(37,87,224,.28); }
.h2-method-card .h2-icon-ring { margin: 0 auto 1.1rem; }
.h2-method-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-light); margin-bottom: .4rem; }
.h2-method-value { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: .5rem; color: var(--ink); }
.h2-method-note { font-size: .85rem; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .h2-methods-grid { grid-template-columns: 1fr; } }

/* ---------- Contact form + sidebar ---------- */
.h2-contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2.5rem; align-items: start; }
.h2-contact-form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2.75rem;
  box-shadow: 0 20px 50px -28px rgba(16,24,39,.2);
}
.h2-contact-form-card h2 { font-size: 1.6rem; }
.h2-form-sub { color: var(--slate); font-size: .92rem; margin-bottom: 1.75rem; }
.h2-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.h2-field { margin-bottom: 1.1rem; }
.h2-field input, .h2-field textarea {
  width: 100%; padding: .9rem 1.1rem; background: var(--paper); border: 1.5px solid var(--line);
  color: var(--ink); font-family: "Inter", sans-serif; font-size: .95rem; border-radius: 10px;
}
.h2-field input:focus, .h2-field textarea:focus { outline: none; border-color: var(--blue-500); }
.h2-field textarea { resize: vertical; }
.h2-form-msg { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .88rem; }
.h2-form-msg.ok { background: #E7F7ED; color: #1B7A3D; }
.h2-form-msg.err { background: #FDECEC; color: #B3261E; }
@media (max-width: 560px) { .h2-form-row { grid-template-columns: 1fr; } }

.h2-contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.h2-hours-card {
  background: var(--grad-soft); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; text-align: center;
}
.h2-hours-card .h2-icon-ring { margin: 0 auto 1rem; background: var(--white); }
.h2-hours-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-light); margin-bottom: .3rem; }
.h2-hours-value { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.4rem; margin-bottom: .6rem; }
.h2-hours-sub { font-size: .85rem; color: var(--slate); margin: 0; }
.h2-sidebar-block { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; }
.h2-sidebar-block h4 { font-size: .95rem; margin-bottom: .9rem; }
.h2-sidebar-note { font-size: .82rem; color: var(--slate-light); margin: 0; }
@media (max-width: 900px) { .h2-contact-grid { grid-template-columns: 1fr; } }

/* ---------- Map ---------- */
.h2-map-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); line-height: 0; }

/* ---------- Closing split CTA (call vs message) ---------- */
.h2-split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.h2-split-cta-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2.25rem; text-align: center;
}
.h2-split-cta-panel .h2-icon-ring { margin: 0 auto 1.1rem; }
.h2-split-cta-panel h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.h2-split-cta-panel p { color: var(--slate); font-size: .92rem; margin-bottom: 1.5rem; }
.h2-split-cta-primary { background: var(--grad-soft); border-color: transparent; }
@media (max-width: 700px) { .h2-split-cta { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES PAGE — unique section layouts
   ============================================================ */

/* ---------- Category headers + grid (variant of the homepage services grid) ---------- */
.h2-cat-head { max-width: 46rem; margin-bottom: 2.5rem; }
.h2-cat-head h2 { font-size: 1.9rem; }
.h2-cat-head p { color: var(--slate); }
.h2-services-grid-cat { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .h2-services-grid-cat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .h2-services-grid-cat { grid-template-columns: 1fr; } }

/* ---------- Pricing: text + checklist card ---------- */
.h2-pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.h2-pricing-grid > div:first-child p { color: var(--slate); }
.h2-pricing-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2rem;
  box-shadow: 0 16px 40px -22px rgba(16,24,39,.2);
}
.h2-pricing-point { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.h2-pricing-point:last-child { border-bottom: none; }
@media (max-width: 900px) { .h2-pricing-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- What to Expect: 3-column ---------- */
.h2-expect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.h2-expect-col { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; }
.h2-expect-col h4 { font-family: "Manrope", sans-serif; font-size: 1.05rem; color: var(--blue-600); margin-bottom: .75rem; }
.h2-expect-col p { font-size: .9rem; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .h2-expect-grid { grid-template-columns: 1fr; } }

/* ---------- Symptom guide: 2-column list rows ---------- */
.h2-guide-list { display: flex; flex-direction: column; gap: .9rem; }
.h2-guide-row {
  display: grid; grid-template-columns: 1.4fr .8fr 1.4fr; gap: 1.5rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.5rem;
  transition: all .18s ease;
}
.h2-guide-row:hover { border-color: var(--blue-500); box-shadow: 0 10px 28px -18px rgba(37,87,224,.3); }
.h2-guide-symptom { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .93rem; color: var(--ink); }
.h2-guide-symptom svg { width: 14px; height: 14px; color: var(--blue-500); flex-shrink: 0; }
.h2-guide-service {
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: .88rem; color: var(--blue-600);
  background: var(--grad-soft); padding: .4rem .8rem; border-radius: 8px; text-align: center;
}
.h2-guide-note { font-size: .84rem; color: var(--slate-light); }
.h2-guide-footer { text-align: center; color: var(--slate); font-size: .92rem; margin: 2rem 0 0; }
@media (max-width: 900px) {
  .h2-guide-row { grid-template-columns: 1fr; text-align: left; gap: .5rem; }
  .h2-guide-service { justify-self: flex-start; }
}

/* ---------- Brands (text-based, not a logo grid) ---------- */
.h2-brands-text { max-width: 56rem; margin: 0 auto; text-align: center; }
.h2-brands-text-body { font-size: 1.02rem; color: var(--slate); line-height: 1.8; }
.h2-brands-text-body strong { color: var(--ink); }

/* ---------- Area strip (text + call button, no card) ---------- */
.h2-area-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.h2-area-strip-inner > div:first-child { flex: 1; min-width: 280px; }
.h2-area-strip-inner > div:first-child p { color: var(--slate); }
@media (max-width: 700px) { .h2-area-strip-inner { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   BLOG (listing + article) — unique section layouts
   ============================================================ */

/* ---------- Reading progress bar ---------- */
.h2-reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--line); }
.h2-reading-progress-bar { height: 100%; width: 0%; background: var(--grad); transition: width .1s linear; }

/* ---------- Category filter pills ---------- */
.h2-blog-filters { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.h2-filter-pill { padding: .55rem 1.2rem; border-radius: 9999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--slate); }
.h2-filter-pill:hover { border-color: var(--blue-500); color: var(--blue-600); }
.h2-filter-pill.active { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- Blog meta / category tag (shared listing + article) ---------- */
.h2-blog-meta { display: flex; align-items: center; gap: 1.1rem; font-size: .82rem; color: var(--slate-light); flex-wrap: wrap; }
.h2-blog-meta svg { width: 13px; height: 13px; margin-right: .3rem; }
.h2-blog-cat { background: var(--grad-soft); color: var(--blue-600); font-weight: 700; padding: .3rem .8rem; border-radius: 9999px; font-size: .78rem; }

/* ---------- Featured post ---------- */
.h2-blog-featured { display: block; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: all .2s ease; }
.h2-blog-featured:hover { box-shadow: 0 20px 44px -24px rgba(37,87,224,.28); transform: translateY(-2px); }
.h2-blog-featured-grid { display: grid; grid-template-columns: 1.2fr 1fr; }
.h2-blog-featured-text { padding: 2.5rem; }
.h2-blog-featured-text h2 { font-size: 1.5rem; margin: 1rem 0 .75rem; }
.h2-blog-featured-text p { color: var(--slate); margin-bottom: 1.25rem; }
.h2-blog-featured-img { background: var(--paper-2); display: flex; align-items: center; justify-content: center; min-height: 220px; }
.h2-blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .h2-blog-featured-grid { grid-template-columns: 1fr; } .h2-blog-featured-text { padding: 1.75rem; } }

/* ---------- Blog grid card ---------- */
.h2-blog-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: all .2s ease; }
.h2-blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -20px rgba(37,87,224,.25); }
.h2-blog-card-thumb { aspect-ratio: 16/10; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.h2-blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.h2-blog-card-body { padding: 1.5rem; }
.h2-blog-card-body h3 { font-size: 1.05rem; margin: .85rem 0 .5rem; }
.h2-blog-card-body p { font-size: .88rem; color: var(--slate); margin-bottom: 1rem; }
.h2-blog-card-foot { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--slate-light); }

/* ---------- Pagination ---------- */
.h2-blog-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }

/* ---------- Article layout ---------- */
.h2-article-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 3rem; align-items: start; }
.h2-article-topline { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.h2-article-back { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--blue-600); }
.h2-article-back svg { width: 13px; height: 13px; }
.h2-article-title { font-size: 2rem; line-height: 1.25; margin-bottom: 1rem; }
.h2-article-excerpt { font-size: 1.08rem; color: var(--slate); margin-bottom: 1.5rem; }
.h2-article-meta { margin-bottom: 2rem; font-size: .85rem; }
.h2-article-img { border-radius: 16px; overflow: hidden; margin-bottom: 2rem; }
.h2-article-img img { width: 100%; display: block; }
.h2-article-prose { font-size: 1.02rem; line-height: 1.8; color: var(--ink); }
.h2-article-prose h2 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.h2-article-prose h3 { font-size: 1.15rem; margin: 1.5rem 0 .75rem; }
.h2-article-prose p { margin-bottom: 1.1rem; color: var(--ink); }
.h2-article-prose ul, .h2-article-prose ol { margin: 0 0 1.1rem 1.5rem; }
.h2-article-prose img { border-radius: 12px; margin: 1.5rem 0; }
.h2-article-prose a { color: var(--blue-600); text-decoration: underline; }

.h2-article-inline-cta {
  display: flex; align-items: center; gap: 1.25rem; background: var(--grad-soft); border-radius: 16px;
  padding: 1.75rem; margin: 2rem 0; flex-wrap: wrap;
}
.h2-article-inline-cta-body { flex: 1; min-width: 200px; }
.h2-article-inline-cta-body p { margin: 0; font-size: .92rem; }
.h2-article-inline-cta-body p:first-child { font-weight: 700; color: var(--ink); }
.h2-article-inline-cta-body p:last-child { color: var(--slate); }

.h2-article-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.h2-article-tag { font-size: .78rem; font-weight: 600; background: var(--paper-2); color: var(--slate); padding: .4rem .9rem; border-radius: 9999px; }

.h2-article-helpful { text-align: center; background: var(--paper-2); border-radius: 16px; padding: 2rem; margin-top: 2.5rem; }
.h2-article-helpful p:first-child { font-weight: 700; margin-bottom: 1rem; }
.h2-article-helpful-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.h2-helpful-btn {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 9999px; padding: .6rem 1.25rem; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.h2-helpful-btn svg { width: 15px; height: 15px; }
.h2-helpful-btn.active { border-color: var(--blue-500); background: var(--grad-soft); color: var(--blue-600); }
.h2-helpful-msg { margin-top: 1rem; font-size: .85rem; color: var(--slate); display: none; }

.h2-article-author { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.h2-article-author-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-light); margin-bottom: .2rem; }
.h2-article-author-name { font-size: 1.05rem; font-weight: 700; }

.h2-article-cta-box { background: var(--grad-soft); border-radius: 20px; padding: 2.5rem; text-align: center; margin-top: 2.5rem; }
.h2-article-cta-box h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.h2-article-cta-box p { color: var(--slate); max-width: 30rem; margin: 0 auto 1.5rem; }

.h2-article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 100px; }

@media (max-width: 960px) {
  .h2-article-layout { grid-template-columns: 1fr; }
  .h2-article-sidebar { position: static; }
  .h2-article-title { font-size: 1.6rem; }
}

/* ---------- Prev / next ---------- */
.h2-prevnext-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.h2-prevnext-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.h2-prevnext-next { text-align: right; }
.h2-prevnext-label { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--blue-600); margin-bottom: .5rem; }
.h2-prevnext-label svg { width: 13px; height: 13px; }
.h2-prevnext-title { font-size: .95rem; font-weight: 600; margin: 0; }
@media (max-width: 700px) { .h2-prevnext-grid { grid-template-columns: 1fr; } .h2-prevnext-next { text-align: left; } }

/* ============================================================
   HOMEPAGE HERO SLIDER
   Fix vs. the earlier /hero lab version: only opacity (+z-index)
   drives the crossfade — no `visibility` toggle. Toggling visibility
   is NOT smoothly animatable (it snaps at the end of the transition
   for the hidden-bound direction), which is what caused the "flash"
   instead of a smooth fade. Pure opacity + pointer-events avoids
   that entirely and gives a continuous, gentle crossfade.
   ============================================================ */
.h2-hero-slider { position:relative; overflow:hidden; padding:0; min-height:640px; display:flex; }
.h2-hero-slide {
  position:absolute; inset:0; opacity:0; pointer-events:none; z-index:1;
  transition:opacity 1.4s ease-in-out; display:flex; align-items:center;
}
.h2-hero-slide.active { opacity:1; pointer-events:auto; z-index:2; }
.h2-hero-slide-bg {
  position:absolute; inset:0; background-size:220% auto; background-position:center;
  background-color:#0D1730; background-repeat:no-repeat;
  transform:scale(1.08); transition:transform 7s ease-out;
}
.h2-hero-slide.active .h2-hero-slide-bg { transform:scale(1); }
.h2-hero-slide-overlay {
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(10,17,32,.85) 0%, rgba(10,17,32,.6) 45%, rgba(10,17,32,.28) 100%);
}
.h2-hero-slide-content { position:relative; z-index:1; width:100%; }
.h2-hero-slide-inner { max-width:36rem; }

/* Text elements fade/rise in with a staggered delay, only while the slide is active */
.h2-hero-slide-tag, .h2-hero-slide-title, .h2-hero-slide-desc, .h2-hero-slide-cta, .h2-hero-slide-badges {
  opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s ease;
}
.h2-hero-slide.active .h2-hero-slide-tag { opacity:1; transform:translateY(0); transition-delay:.15s; }
.h2-hero-slide.active .h2-hero-slide-title { opacity:1; transform:translateY(0); transition-delay:.25s; }
.h2-hero-slide.active .h2-hero-slide-desc { opacity:1; transform:translateY(0); transition-delay:.35s; }
.h2-hero-slide.active .h2-hero-slide-cta { opacity:1; transform:translateY(0); transition-delay:.45s; }
.h2-hero-slide.active .h2-hero-slide-badges { opacity:1; transform:translateY(0); transition-delay:.55s; }

/* Slide-specific color overrides — the slider sits on a dark photo overlay,
   unlike the light-background hero used on About/Contact/Services (.h2-about-hero),
   so these are scoped to .h2-hero-slider only and don't affect those pages. */
.h2-hero-slider .h2-hero-slide-tag { color: var(--amber-400); }
.h2-hero-slider .h2-hero-slide-title { color: #fff; }
.h2-hero-slider .h2-hero-slide-desc { color: #D6DCE8; }
.h2-hero-slider .h2-badge { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); color:#fff; }
.h2-hero-slider .h2-badge svg { color: var(--amber-400); }

.h2-hero-arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; border:1.5px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.1); backdrop-filter:blur(6px); color:#fff; transition:background .2s ease;
}
.h2-hero-arrow:hover { background:rgba(255,255,255,.25); }
.h2-hero-arrow svg { width:20px; height:20px; }
.h2-hero-arrow-left { left:28px; }
.h2-hero-arrow-right { right:28px; }

.h2-hero-dots { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:5; display:flex; gap:.5rem; }
.h2-hero-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.4); border:none; cursor:pointer; padding:0; transition:all .2s ease; }
.h2-hero-dot.active { background:#fff; width:22px; border-radius:4px; }

@media (max-width: 900px) {
  .h2-hero-slider { min-height:560px; }
  .h2-hero-slide-overlay { background:linear-gradient(180deg, rgba(10,17,32,.55) 0%, rgba(10,17,32,.85) 70%); }
}
@media (max-width: 600px) {
  .h2-hero-slider { min-height:520px; }
  .h2-hero-arrow { width:40px; height:40px; }
  .h2-hero-arrow-left { left:12px; } .h2-hero-arrow-right { right:12px; }
}

/* ============================================================
   PRE-FOOTER CTA BANNER — appears on every page, just above the
   footer (inside h2_footer() so it's automatic sitewide).
   ============================================================ */
.h2-prefooter-cta { background: var(--grad); position: relative; overflow: hidden; }
.h2-prefooter-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
}
.h2-prefooter-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.75rem 0; flex-wrap: wrap;
}
.h2-prefooter-cta-left { display: flex; align-items: center; gap: 1rem; }
.h2-prefooter-cta-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.h2-prefooter-cta-icon svg { width: 24px; height: 24px; color: var(--amber-400); }
.h2-prefooter-cta-left p {
  color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.15rem; margin: 0;
}
.h2-prefooter-cta-call {
  display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: .6rem .75rem .6rem 1.25rem; transition: background .2s ease;
}
.h2-prefooter-cta-call:hover { background: rgba(255,255,255,.18); }
.h2-prefooter-cta-label {
  color: rgba(255,255,255,.8); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.h2-prefooter-cta-number {
  display: flex; align-items: center; gap: .5rem; background: #fff; color: var(--blue-600);
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.2rem; padding: .55rem 1.1rem; border-radius: 9px;
}
.h2-prefooter-cta-number svg { width: 18px; height: 18px; color: var(--blue-600); }
@media (max-width: 700px) {
  .h2-prefooter-cta-inner { flex-direction: column; align-items: flex-start; padding: 1.5rem 0; }
  .h2-prefooter-cta-call { width: 100%; justify-content: space-between; }
}

/* ============================================================
   WIDE CTA BANNER — full-width, highlighted call banner used on
   the Services page and every individual service page (see
   h2_wide_cta() in _home2-partials.php).
   ============================================================ */
.h2-wide-cta {
  display: flex; align-items: center; gap: 1.5rem; background: var(--grad); border-radius: 18px;
  padding: 1.75rem 2.25rem; box-shadow: 0 20px 48px -18px rgba(37,87,224,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.h2-wide-cta:hover { transform: translateY(-3px); box-shadow: 0 26px 56px -18px rgba(37,87,224,.55); }
.h2-wide-cta-icon {
  width: 60px; height: 60px; border-radius: 14px; background: rgba(255,255,255,.18); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.h2-wide-cta-icon svg { width: 28px; height: 28px; color: #fff; }
.h2-wide-cta-text { flex: 1; min-width: 0; }
.h2-wide-cta-label {
  display: block; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: .3rem;
}
.h2-wide-cta-number { display: block; color: #fff; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.6rem; }
.h2-wide-cta-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.h2-wide-cta-arrow svg { width: 20px; height: 20px; color: #fff; }
@media (max-width: 600px) {
  .h2-wide-cta { padding: 1.5rem; gap: 1rem; }
  .h2-wide-cta-number { font-size: 1.25rem; }
  .h2-wide-cta-arrow { display: none; }
}
