/* Wake Home Care shared site-refresh stylesheet. Load after CSS/styles.css on every page. */

:root {
    --teal: #026464;
    --teal-dark: #014141;
    --gold: #E0C078;
    --gold-hover: #d4b163;
    --gold-text: #866d3d;
    --cream: #F7F3EC;
    --white: #FFFFFF;
    --text: #1a1a1a;
    --text-deep: #1f2929;
    --border: #e2ddd3;
    --coral: #D96B6B;
    --shadow: 0 6px 18px rgba(28, 24, 20, 0.07);
}

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

html, body { overflow-x: hidden; }

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--cream);
}

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

h1, h2, h3 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.25;
    color: var(--teal);
}

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

/* -------------------------------------------------------------------------- */
/* Header — preserved from live site, tagline bumped to 11.5px                */
/* -------------------------------------------------------------------------- */

.site-header {
    font-family: "Montserrat", sans-serif;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

.whc-utility {
    background: #026464;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}

.whc-utility-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 22px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 24px;
}

.whc-utility a { color: #fff; text-decoration: none; }
.whc-utility a:hover { color: #e0c078; }

.whc-utility-call {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.whc-main {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
}

.whc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #123;
    min-width: 0;
    text-decoration: none;
}

.whc-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.whc-brand-name {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: 1.45rem;
    line-height: 1.1;
    color: #026464;
    margin: 0;
}

.whc-brand-tag {
    display: block;
    margin: 3px 0 0;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #866d3d;
    white-space: nowrap;
}

.whc-nav {
    display: flex;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.whc-nav a {
    display: block;
    color: #1a3a3a;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 10px 11px;
    text-decoration: none;
}

.whc-nav a:hover { color: #026464; }

.whc-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #026464;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 16px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.whc-call:hover { background: #014141; color: #fff; }

.whc-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    padding: 8px;
    color: #026464;
}

.whc-ham-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.whc-hamburger.active .whc-ham-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.whc-hamburger.active .whc-ham-bar:nth-child(2) { opacity: 0; }
.whc-hamburger.active .whc-ham-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.whc-call:focus-visible,
.whc-utility a:focus-visible,
.whc-nav a:focus-visible,
.whc-brand:focus-visible,
.whc-hamburger:focus-visible {
    outline: 3px solid #026464;
    outline-offset: 3px;
}
.whc-utility a:focus-visible { outline-color: #e0c078; }

@media (max-width: 1100px) {
    .whc-hamburger { display: flex; margin-left: auto; }
    .whc-main { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
    .whc-nav {
        display: none;
        flex-basis: 100%;
        width: 100%;
        align-self: stretch;
        flex-direction: column;
        margin: 0;
        justify-content: flex-start;
        background: #F7F3EC;
    }
    .whc-nav.show { display: flex; }
    .whc-nav a { padding: 12px 8px; }
    .whc-call { display: none; }
    .whc-utility-inner { justify-content: stretch; padding: 10px 16px; gap: 6px 12px; }
    .whc-utility a.whc-utility-call {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        font-weight: 700;
        background: #fff;
        color: #026464;
        padding: 8px 12px;
        border-radius: 5px;
        text-decoration: none;
    }
    .whc-utility a.whc-utility-call:hover { color: #014141; background: #e0c078; }
}

@media (max-width: 600px) {
    .whc-hide-sm { display: none; }
    .whc-brand-name { font-size: 1.2rem; }
    .whc-brand img { width: 48px; height: 48px; }
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                     */
/* -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.btn-gold {
    background: var(--gold);
    color: var(--teal-dark);
    border-color: var(--gold);
}
.btn-gold:hover,
.btn-gold:focus {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--teal-dark);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--teal-dark);
}

.btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 56px 24px 60px;
    color: #fff;
    background: url("../images/hero.webp") no-repeat center 32%;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(28, 24, 18, 0.72) 0%,
            rgba(28, 24, 18, 0.50) 52%,
            rgba(28, 24, 18, 0.28) 100%),
        linear-gradient(180deg,
            rgba(28, 24, 18, 0.22) 0%,
            rgba(28, 24, 18, 0.12) 45%,
            rgba(28, 24, 18, 0.50) 100%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.hero-copy { max-width: 720px; }

.hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 2.55rem;
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}

.hero-sub {
    margin: 0 0 28px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
    max-width: 38em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
}

.hero-pay-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--gold);
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-pay-link:hover { color: #fff; }

@media (min-width: 1200px) {
    .hero {
        min-height: 580px;
        padding: 72px 60px 76px;
    }
    .hero h1 { font-size: 2.75rem; }
}

@media (max-width: 700px) {
    .hero {
        min-height: 0;
        padding: 36px 20px 40px;
        text-align: center;
        background-position: center 28%;
    }
    .hero::before {
        background:
            linear-gradient(180deg,
                rgba(28, 24, 18, 0.42) 0%,
                rgba(28, 24, 18, 0.48) 40%,
                rgba(28, 24, 18, 0.66) 100%),
            linear-gradient(90deg,
                rgba(28, 24, 18, 0.40) 0%,
                rgba(28, 24, 18, 0.28) 100%);
    }
    .hero-copy { max-width: none; }
    .hero h1 { font-size: 2rem; margin-bottom: 12px; }
    .hero-sub { font-size: 1.05rem; margin-bottom: 22px; }
    .hero-actions { justify-content: center; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-pay-link { margin-top: 14px; }
}

/* -------------------------------------------------------------------------- */
/* Trust strip                                                                 */
/* -------------------------------------------------------------------------- */

.trust-strip {
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal-dark);
    line-height: 1.35;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    color: var(--teal-dark);
    text-decoration: none;
    white-space: nowrap;
}

.trust-item:hover { color: var(--teal); }

.trust-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.trust-sep {
    color: var(--gold);
    font-weight: 700;
    user-select: none;
}

.trust-stars {
    color: var(--coral);
    letter-spacing: 0.06em;
    font-size: 0.95em;
}

@media (max-width: 700px) {
    .trust-inner {
        font-size: 0.78rem;
        gap: 6px 0;
        padding: 12px 14px;
        justify-content: flex-start;
    }
    .trust-sep { display: none; }
    .trust-item {
        flex: 1 1 46%;
        white-space: normal;
        padding: 6px 8px;
    }
}

/* -------------------------------------------------------------------------- */
/* Shared sections                                                             */
/* -------------------------------------------------------------------------- */

.section {
    padding: 64px 24px;
}

.section-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.section h2 {
    margin: 0 0 28px;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--teal);
    text-align: center;
}

.intro-section { padding: 48px 24px 56px; }

.intro-inner {
    max-width: 800px;
    margin: 0 auto;
}

.intro-inner p {
    margin: 0 0 1.1em;
    color: var(--text-deep);
    font-size: 18px;
    line-height: 1.65;
}

.intro-inner p:last-child { margin-bottom: 0; }

.intro-inner a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.intro-inner a:hover { color: var(--teal-dark); }

/* Why Choose Us */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
}

.why-card {
    text-align: center;
    padding: 8px 8px 0;
}

.why-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 2px 0 rgba(224, 192, 120, 0.25);
}

.why-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.why-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--teal-dark);
}

.why-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-deep);
}

@media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

@media (max-width: 520px) {
    .why-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
    .why-icon { width: 80px; height: 80px; }
    .why-icon img { width: 48px; height: 48px; }
    .why-card h3 { font-size: 0.98rem; }
    .why-card p { font-size: 0.95rem; }
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(28, 24, 20, 0.12);
    color: inherit;
}

.service-card .service-photo {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    background: var(--border);
}

.service-card h3 {
    margin: 0;
    padding: 16px 18px 18px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.35;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .section { padding: 48px 20px; }
    .section h2 { font-size: 1.55rem; margin-bottom: 22px; }
}

/* -------------------------------------------------------------------------- */
/* Closing CTA band                                                            */
/* -------------------------------------------------------------------------- */

.cta-band {
    background: var(--teal);
    color: #fff;
    text-align: center;
    padding: 64px 24px 68px;
}

.cta-band h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 2rem;
}

.cta-band p {
    margin: 0 auto 28px;
    max-width: 640px;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.6;
}

.cta-band .hero-actions { justify-content: center; }

.cta-band a.btn-gold:focus-visible,
.cta-band a.btn-outline-light:focus-visible {
    outline-color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */

.site-footer {
    background: var(--teal-dark);
    color: #fff;
    padding: 44px 24px 28px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    max-width: 820px;
    margin: 0 auto;
}

.site-footer h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a,
.footer-links p {
    display: block;
    margin: 0;
    padding: 6px 0;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.45;
}

.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.social-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.social-logo {
    display: block;
    width: 36px;
    height: 36px;
}

.social-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .site-footer h3 { text-align: center; }
}

/* -------------------------------------------------------------------------- */
/* Mobile sticky CTA bar — replaces the floating phone button                 */
/* -------------------------------------------------------------------------- */

.mobile-cta-bar { display: none; }

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        background: #014141;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.2);
    }
    .mobile-cta-bar a {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 0.92rem;
        line-height: 1.2;
        padding: 13px 8px;
        border-radius: 8px;
        text-decoration: none;
        border: 2px solid transparent;
        min-height: 48px;
    }
    .mobile-cta-bar .bar-call {
        background: transparent;
        color: #fff;
        border-color: #fff;
    }
    .mobile-cta-bar .bar-call:hover { background: rgba(255,255,255,0.08); color: #fff; }
    .mobile-cta-bar .bar-consult {
        background: var(--gold);
        color: var(--teal-dark);
        border-color: var(--gold);
    }
    .mobile-cta-bar .bar-consult:hover {
        background: var(--gold-hover);
        border-color: var(--gold-hover);
        color: var(--teal-dark);
    }
    .site-footer { padding-bottom: 96px; }
}

@media (min-width: 769px) {
    .mobile-cta-bar { display: none !important; }
}


/* -------------------------------------------------------------------------- */
/* Sitewide inner-page refresh (loaded after styles.css)                      */
/* -------------------------------------------------------------------------- */

html { scroll-padding-bottom: 80px; }

body {
    background-color: var(--cream) !important;
    background-image: none !important;
}

/* Default links on light backgrounds — never browser blue */
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

/* Footer: tighter and darker than the old flat teal slab */
footer,
.site-footer {
    background: var(--teal-dark) !important;
    color: #fff;
    padding: 44px 24px 28px !important;
    margin-top: 0;
}

footer a,
footer p,
footer h3,
.site-footer a,
.site-footer p,
.site-footer h3,
.footer-links li a,
.footer-links li p {
    color: #fff !important;
}

footer a:hover,
.footer-links li a:hover {
    color: #fff !important;
    background: transparent !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.logo-link-1 {
    height: 96px !important;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
}

.logo-link-1 img,
footer .logo,
.footer-logo {
    height: 96px !important;
    width: 96px !important;
    object-fit: contain;
    border-radius: 8px;
}

.social-logo img {
    height: 36px !important;
    width: 36px !important;
}

/* Inner-page heroes: warmer, slightly softer overlay; keep them compact */
.hero-section-1,
.hero-section-2,
.hero-section-3 {
    min-height: 280px !important;
    padding: 56px 24px !important;
}

.hero-section-1::before,
.hero-section-2::before,
.hero-section-3::before {
    background:
        linear-gradient(90deg, rgba(28, 24, 18, 0.62) 0%, rgba(28, 24, 18, 0.42) 55%, rgba(28, 24, 18, 0.28) 100%),
        linear-gradient(180deg, rgba(28, 24, 18, 0.20) 0%, rgba(28, 24, 18, 0.45) 100%) !important;
}

.hero-section-1 h1,
.hero-section-2 h1,
.hero-section-3 h1,
.hero-section-1 p,
.hero-section-2 p,
.hero-section-3 p {
    color: #fff;
}

.hero-section-1 a,
.hero-section-2 a,
.hero-section-3 a,
.hero a:not(.btn) {
    color: var(--gold);
}
.hero-section-1 a:hover,
.hero-section-2 a:hover,
.hero-section-3 a:hover,
.hero a:not(.btn):hover { color: #fff; }

.hero a.btn-gold,
.cta-band a.btn-gold {
    background: var(--gold);
    color: var(--teal-dark);
    border-color: var(--gold);
}
.hero a.btn-gold:hover,
.cta-band a.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--teal-dark);
    border-color: var(--gold-hover);
}
.hero a.btn-outline-light,
.cta-band a.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.hero a.btn-outline-light:hover,
.cta-band a.btn-outline-light:hover {
    background: var(--gold);
    color: var(--teal-dark);
    border-color: var(--gold);
}

/* Body typography on inner content */
.body-section,
.about-section,
.payment-section,
.contact-section,
.careers-section,
.town-wrap,
.town-lead {
    color: var(--text-deep);
    font-size: 18px;
    line-height: 1.65;
}

.body-section h2,
.about-section h2,
.payment-section h2,
.careers-title,
.services-title,
.town-wrap h2 {
    color: var(--teal);
}

/* Soft cards instead of boxy 2px teal frames */
.about-section p,
.payment-section p,
.payment-section ol {
    background-color: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow);
    padding: 18px 20px !important;
}

/* FAQ / remaining accordions — warm cream, not gray */
.accordion {
    background-color: var(--cream) !important;
    color: var(--teal-dark) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px;
    margin: 0 0 8px;
}

.accordion.active,
.accordion:hover {
    background-color: #fff !important;
    color: var(--teal) !important;
}

.panel {
    background-color: #fff !important;
    border-radius: 0 0 10px 10px;
    margin-bottom: 8px;
}

.panel a { color: var(--teal); font-weight: 600; }

/* Town / Medicaid cards & CTAs */
.town-card {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow);
}

.town-note {
    background: var(--cream) !important;
    border-left: 4px solid var(--gold) !important;
}

.town-card a,
.town-breadcrumbs a,
.town-other-towns a,
.town-wrap a,
.payment-section a,
.about-section a,
.body-section a,
.contact-section a,
.careers-section a {
    color: var(--teal);
}

/* Gold primary CTA + outline secondary, including existing town-btn markup */
.town-inline-cta a.town-btn[href*="contact"],
.town-inline-cta a.town-btn.alt,
.town-cta-band a.town-btn[href*="contact"],
.town-cta-band a.town-btn.alt,
a.town-btn[href*="contact"] {
    background: var(--gold) !important;
    color: var(--teal-dark) !important;
    border: 2px solid var(--gold) !important;
    border-radius: 8px;
}

.town-cta-band a.town-btn[href^="tel:"] {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 8px;
}

.town-inline-cta a.town-btn[href^="tel:"] {
    background: transparent !important;
    color: var(--teal) !important;
    border: 2px solid var(--teal) !important;
    border-radius: 8px;
}

.town-inline-cta a.town-btn:hover,
.town-cta-band a.town-btn:hover,
a.town-btn[href*="contact"]:hover {
    background: var(--gold-hover) !important;
    color: var(--teal-dark) !important;
    border-color: var(--gold-hover) !important;
}

.town-cta-band a.town-btn[href^="tel:"]:hover {
    background: var(--gold) !important;
    color: var(--teal-dark) !important;
    border-color: var(--gold) !important;
}

/* Contact / careers submit — gold primary, never covered by the mobile bar */
.submit-button {
    background: var(--gold) !important;
    color: var(--teal-dark) !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    padding: 14px 22px !important;
}

.submit-button:hover {
    background: var(--gold-hover) !important;
    color: var(--teal-dark) !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

/* Service detail cards (replaces the old services accordion) */
.service-groups { display: flex; flex-direction: column; gap: 40px; }

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px 22px;
}

.service-detail-card h3 {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 1.1rem;
}

.service-detail-card p {
    margin: 0;
    color: var(--text-deep);
    font-size: 1rem;
    line-height: 1.6;
}

.service-note {
    margin: 8px 0 0;
    color: var(--text-deep);
}

@media (max-width: 700px) {
    .service-detail-grid { grid-template-columns: 1fr; }
}

/* Hide the old floating phone on mobile so it cannot cover forms or the sticky bar */
@media (max-width: 768px) {
    .floating-phone { display: none !important; }
    footer,
    .site-footer { padding-bottom: 96px !important; }
    .contact-section,
    .careers-section {
        padding-bottom: 32px;
    }
}

/* Desktop: keep the floating phone (it no longer exists on the refreshed homepage) */
@media (min-width: 769px) {
    .mobile-cta-bar { display: none !important; }
}

/* Legal / long-form pages */
.body-section li { line-height: 1.6; }
