/* about-hero */
/* .about-hero — ported from deploy about.html .about-hero rules */

.about-hero { color:#fff !important; background: var(--color-navy); padding: 88px 0 72px; position: relative; overflow: hidden; }
.about-hero__photo {
    background-position: 50% 28%; background-size: cover;
    position: absolute; inset: 0; transform: scale(1.04);
}
.about-hero::before {
    content: ""; z-index: 1;
    background: linear-gradient(118deg, rgba(5,41,82,0.97) 0%, rgba(9,65,124,0.92) 48%, rgba(9,65,124,0.66) 100%);
    position: absolute; inset: 0;
}
.about-hero::after {
    content: ""; z-index: 1; filter: blur(6px);
    background: radial-gradient(circle, rgba(248,27,38,0.32), transparent 62%);
    border-radius: 50%; width: 560px; height: 560px;
    position: absolute; top: -160px; right: -90px;
}
.about-hero .wrap { z-index: 2; text-align: center; position: relative; }

.about-hero__eyebrow { align-items: center; gap: 13px; margin-bottom: 20px; display: inline-flex; }
.about-hero__bar { background: var(--color-gold); width: 34px; height: 2px; }
.about-hero__eyebrow span:last-child { letter-spacing: 0.26em; color: rgba(255,255,255,0.92); text-transform: uppercase; font-size: 12px; font-weight: 800; }

.about-hero h1 { max-width: 18ch; margin: 0 auto 20px; font-size: 58px; line-height: 0.98; color: #fff; }
.about-hero__gold { color: var(--color-gold); }
.about-hero__sub { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto; font-size: 18px; font-weight: 400; line-height: 1.6; }

.about-hero__ctas { flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; display: flex; }
.about-hero__ghost {
    color:#fff !important; font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.5); border-radius: 999px;
    align-items: center; gap: 10px; padding: 14px 26px; font-size: 13px; font-weight: 800;
    transition: background 0.16s; display: inline-flex;
}
.about-hero__ghost:hover { background: rgba(255,255,255,0.12); }

.about-hero__stats { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; display: grid; }
.about-hero__stat {
    text-align: center; backdrop-filter: blur(12px);
    background: linear-gradient(rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.22); border-radius: 16px; padding: 22px 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18), inset 0 1px 1px rgba(255,255,255,0.2);
}
.about-hero__stat b { font-family: var(--font-display); color: var(--color-gold); letter-spacing: -0.01em; font-size: 34px; font-weight: 900; line-height: 1; display: block; }
.about-hero__stat span { letter-spacing: 0.12em; color: rgba(255,255,255,0.82); text-transform: uppercase; margin-top: 8px; font-size: 12px; font-weight: 800; line-height: 1.3; display: block; }

@media (max-width: 860px) {
    .about-hero h1 { font-size: 38px; }
    .about-hero__stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .about-hero h1 { font-size: 31px; line-height: 1.1; }
    .about-hero__ctas { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
    .about-hero__ctas > a { justify-content: center !important; width: 100% !important; }
}
@media (max-width: 430px) {
    .about-hero h1 { font-size: 26px !important; }
}

/* cta-banner */
/* .cta-banner — ported from deploy index.html .cta / .cta-* rules */

.cta-banner {
    color:#fff !important; text-align: center;
    background: linear-gradient(135deg, rgba(21,45,120,0.93) 0%, rgba(9,65,124,0.9) 55%, rgba(5,35,70,0.96) 100%),
        url("https://www.hmcplumbing.com/wp-content/themes/lmh-starter-child/assets/img/home/hero-team-v2.avif");
    background-size: cover; background-position: center;
    padding-top: 74px; padding-bottom: 74px; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ""; filter: blur(8px);
    background: radial-gradient(circle, rgba(248,27,38,0.4), transparent 62%);
    border-radius: 50%; width: 520px; height: 520px;
    animation: hmc-cta-float 9s ease-in-out infinite;
    position: absolute; top: -160px; right: -80px;
}
.cta-banner::after {
    content: ""; filter: blur(8px);
    background: radial-gradient(circle, rgba(249,160,0,0.32), transparent 62%);
    border-radius: 50%; width: 560px; height: 560px;
    animation: hmc-cta-float 11s ease-in-out infinite reverse;
    position: absolute; bottom: -180px; left: -60px;
}
@keyframes hmc-cta-float {
    0%, 100% { transform: translate(0) scale(1); }
    50% { transform: translate(-26px, 30px) scale(1.08); }
}
.cta-banner .wrap { z-index: 2; position: relative; }

.cta-banner__status {
    letter-spacing: 0.2em; color: var(--color-gold); text-transform: uppercase;
    align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 800; display: inline-flex;
}
.cta-banner__dot { background: #3ad06a; border-radius: 50%; width: 11px; height: 11px; position: relative; display: inline-block; }
.cta-banner__dot::after {
    content: ""; opacity: 0.4; background: #3ad06a; border-radius: 50%;
    animation: hmc-cta-ping 2s ease-out infinite; position: absolute; inset: -5px;
}
@keyframes hmc-cta-ping {
    0% { opacity: 0.5; transform: scale(0.6); }
    100% { opacity: 0; transform: scale(2.2); }
}

.cta-banner h2 { margin-bottom: 12px; font-size: 54px; line-height: 1; color: #fff; }
.cta-banner__u { color: var(--color-gold); border-bottom: 5px solid var(--color-red); padding-bottom: 2px; }
.cta-banner__sub { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 24px; font-size: 17px; font-weight: 400; line-height: 1.55; }

.cta-banner__mega {
    background: var(--color-gold); color:var(--color-ink) !important; border-radius: 999px;
    align-items: center; gap: 16px; padding: 18px 44px 16px 36px;
    transition: transform 0.18s, box-shadow 0.18s; animation: hmc-cta-pulse 2.6s ease-in-out infinite; display: inline-flex;
}
@keyframes hmc-cta-pulse {
    0%, 100% { box-shadow: 0 16px 36px rgba(249,160,0,0.45), 0 0 0 0 rgba(249,160,0,0.5); }
    50% { box-shadow: 0 22px 46px rgba(249,160,0,0.6), 0 0 0 16px rgba(249,160,0,0); }
}
.cta-banner__mega:hover { animation: none; transform: translateY(-3px) scale(1.03); box-shadow: 0 26px 50px rgba(249,160,0,0.65); }
.cta-banner__mega svg { flex-shrink: 0; width: 30px; height: 30px; }
.cta-banner__mega .btn-line { font-size: 32px; }

.cta-banner__or { letter-spacing: 0.08em; color: rgba(255,255,255,0.8); text-transform: uppercase; margin-top: 14px; font-size: 14px; font-weight: 800; display: block; }
.cta-banner__or:hover { color: #fff; }

.cta-banner__stats { border-top: 1px solid rgba(255,255,255,0.18); grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 760px; margin: 32px auto 0; padding-top: 26px; display: grid; }
.cta-banner__stat b { font-size: 32px; white-space: nowrap; font-weight: 900; font-family: var(--font-display); color: var(--color-gold); text-shadow: 0 2px 14px rgba(249,160,0,0.35); display: block; }
.cta-banner__stat span { letter-spacing: 0.16em; color: rgba(255,255,255,0.65); text-transform: uppercase; font-size: 12px; font-weight: 800; }

.cta-banner__mascot {
    z-index: 2; pointer-events: none; filter: drop-shadow(0 18px 26px rgba(0,0,0,0.38));
    width: auto; height: 290px; animation: hmc-cta-mascot-bob 4.6s ease-in-out infinite;
    position: absolute; bottom: 0; left: 36px;
}
@keyframes hmc-cta-mascot-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
}

@media (max-width: 1180px) {
    .cta-banner__mascot { display: none; }
}
@media (max-width: 860px) {
    .cta-banner h2 { font-size: 34px; }
    .cta-banner__status { text-align: center; flex-direction: column; gap: 16px; }
}
@media (max-width: 768px) {
    .cta-banner h2 { font-size: 25px; }
    .cta-banner__mega { justify-content: center; width: 100%; box-sizing: border-box; }
    .cta-banner__mega .btn-line { font-size: 24px; }
    .cta-banner__stats { grid-template-columns: 1fr 1fr; }
    /* Review comment 31: never split "SAME-DAY" / "MON-FRI" at the hyphen. */
    .cta-banner__stat b { font-size: 28px; white-space: nowrap; }
    .cta-banner__stat span { font-size: 11px; }
}

/* service-content */
/* .service-content — ported from deploy leak-detection.html .split/.prose/.svc-sidebar rules */

.service-content__grid {
    grid-template-columns: 1fr 350px;
    align-items: start;
    gap: 44px;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
}

/* -- article / prose ---------------------------------------------------- */

.service-content__article { color: var(--color-ink); font-size: 15.5px; font-weight: 400; line-height: 1.75; }
.service-content__article h2 { color: var(--color-navy); text-transform: none; letter-spacing: -0.01em; margin: 30px 0 12px; font-size: 30px; }
.service-content__article h2:first-child { margin-top: 0; }
.service-content__article h3 { color: var(--color-navy); text-transform: none; margin: 22px 0 8px; font-size: 20px; }
.service-content__article h4 { color: var(--color-navy); text-transform: none; letter-spacing: -0.01em; margin: 20px 0 6px; font-size: 17px; }
.service-content__article h5 { color: var(--color-navy); text-transform: uppercase; letter-spacing: 0.08em; margin: 16px 0 6px; font-size: 13.5px; }
.service-content__article p { margin-bottom: 14px; }
.service-content__article strong, .service-content__article b { color: var(--color-ink); font-weight: 800; }
.service-content__article em, .service-content__article i { font-style: italic; }

.service-content__article ul { flex-direction: column; gap: 9px; margin: 0 0 16px 4px; list-style: none; display: flex; padding: 0; }
/* Block + absolutely-placed check, not flex: as flex items, inline links
   inside a bullet ("Financing and <a>Value Club</a> options…") split into
   separate columns with big gaps (review comment 35). */
.service-content__article ul li { position: relative; padding-left: 24px; display: block; }
.service-content__article ul li::before { content: "\2713"; color: var(--color-red); font-weight: 900; position: absolute; left: 0; top: 0; }

.service-content__article ol { counter-reset: n; flex-direction: column; gap: 11px; margin: 0 0 16px; padding: 0; list-style: none; display: flex; }
.service-content__article ol li { counter-increment: n; min-height: 26px; padding-left: 42px; line-height: 1.6; position: relative; }
.service-content__article ol li::before {
    content: counter(n); background: var(--color-navy); color:#fff !important;
    width: 26px; height: 26px; font-size: 13px; font-weight: 800; font-family: var(--font-display);
    border-radius: 50%; place-items: center; display: grid;
    position: absolute; top: 1px; left: 0;
}

.service-content__article blockquote {
    background: var(--color-cream); border-left: 4px solid var(--color-red); color:var(--color-navy) !important;
    border-radius: 0 12px 12px 0; margin: 22px 0; padding: 20px 26px;
    font-size: 18px; font-style: italic; line-height: 1.55;
}
.service-content__article blockquote cite { color: var(--color-gold); letter-spacing: 0.04em; margin-top: 10px; font-size: 13px; font-style: normal; font-weight: 800; display: block; }

.service-content__article figure { margin: 24px 0; }
.service-content__article figure img { width: 100%; box-shadow: var(--shadow-card); border-radius: 14px; display: block; }
.service-content__article figcaption { color: #7a8499; text-align: center; margin-top: 9px; font-size: 12.5px; font-style: italic; }

.service-content__video {
    aspect-ratio: 16 / 9; width: 100%; box-shadow: var(--shadow-card);
    background: #0b1f38; border-radius: 14px; margin: 24px 0; position: relative; overflow: hidden;
}
.service-content__video iframe { border: 0; width: 100%; height: 100%; position: absolute; inset: 0; }

.service-content__audio {
    background: linear-gradient(150deg, var(--color-navy), var(--color-navy2)); color:#fff !important;
    border-radius: 14px; align-items: center; gap: 16px; margin: 24px 0; padding: 20px 22px; display: flex;
}
.service-content__audio-ic { background: var(--color-red); border-radius: 12px; flex-shrink: 0; place-items: center; width: 50px; height: 50px; display: grid; }
.service-content__audio-ic svg { color: #fff; width: 24px; height: 24px; }
.service-content__audio-body { flex: 1; min-width: 0; }
.service-content__audio-body b { color: #fff; font-size: 14px; font-weight: 800; display: block; }
.service-content__audio-body span { color: rgba(255,255,255,0.82); font-size: 12px; }
.service-content__audio audio { width: 100%; height: 36px; margin-top: 10px; display: block; }

/* -- sidebar -------------------------------------------------------------- */

.service-content__sidebar {
    background: linear-gradient(150deg, var(--color-navy), var(--color-navy2)); color:#fff !important;
    box-shadow: var(--shadow-card); border-radius: 18px; padding: 28px;
    position: sticky; top: 120px;
}
.service-content__sidebar h3 { color: #fff; text-transform: none; margin: 8px 0 14px; font-size: 22px; }
.service-content__sidebar ul { flex-direction: column; gap: 9px; margin: 0 0 18px; list-style: none; display: flex; padding: 0; }
.service-content__sidebar li { color: rgba(255,255,255,0.9); gap: 9px; font-size: 13.5px; font-weight: 600; display: flex; }
.service-content__sidebar li svg { width: 17px; height: 17px; color: var(--color-gold); flex-shrink: 0; }
.service-content__sidebar .btn { justify-content: center; width: 100%; }
.service-content__other { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 20px; padding-top: 16px; }
.service-content__other a { color: rgba(255,255,255,0.82); padding: 6px 0; font-size: 13px; font-weight: 600; display: block; }
.service-content__other a:hover { color: var(--color-gold); }

@media (max-width: 960px) {
    .service-content__grid { grid-template-columns: 1fr; gap: 30px; }
    .service-content__sidebar { position: static; }
}

