/* 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://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; }
}

/* terms-page */
.terms-page__hero {
    background: linear-gradient(135deg, var(--color-navy2), var(--color-navy) 60%, #062f5c);
    color:#fff !important;
    text-align: center;
    padding: 70px 0 58px;
    position: relative;
    overflow: hidden;
}
.terms-page__hero:before {
    content: "";
    background: radial-gradient(circle, rgba(8, 81, 235, 0.3), transparent 65%);
    border-radius: 50%;
    width: 640px;
    height: 640px;
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
}
.terms-page__hero .wrap { z-index: 2; position: relative; }
.terms-page__kicker {
    letter-spacing: 0.24em;
    color: var(--color-gold);
    text-transform: uppercase;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
}
.terms-page__hero h1 { margin-bottom: 12px; font-size: 46px; line-height: 1.04; }
.terms-page__hero p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto; font-size: 15px; font-weight: 400; }

/* Review comments 22/23: legal copy spans the full content width. */
.terms-page__legal { max-width: none; margin: 0 auto; }
.terms-page__upd { color: #7a8499; margin-bottom: 22px; font-size: 13px; font-weight: 600; }
.terms-page__note { background: var(--color-cream); border-left: 4px solid var(--color-gold); color:var(--color-ink) !important; border-radius: 0 12px 12px 0; margin-bottom: 26px; padding: 16px 20px; font-size: 13px; font-weight: 400; }

.terms-page__prose { color: var(--color-ink); font-size: 15.5px; font-weight: 400; line-height: 1.75; }
.terms-page__prose h2 { color: var(--color-navy); text-transform: none; letter-spacing: -0.01em; margin: 30px 0 12px; font-size: 30px; }
.terms-page__prose p { margin-bottom: 14px; }
.terms-page__prose a { color: var(--color-blue); font-weight: 600; text-decoration: underline; }

@media (max-width: 768px) {
    .terms-page__hero h1 { font-size: 31px; line-height: 1.1; }
    .terms-page__prose h2 { font-size: 24px; }
}
@media (max-width: 430px) {
    .terms-page__hero h1 { font-size: 26px; }
}

