/* Monarch Roofing copycat layer. Keep this file scoped to the copied template. */

:root {
    --nav-height: 6.65rem;
    --container-max: 1220px;
    --section-pad: clamp(3.25rem, 7vw, 6.5rem);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 8px;
    --button-radius: 999px;
    --card-radius: 8px;
    --card-radius-lg: 8px;
    --image-radius: 8px;
    --text-hero: clamp(40px, 5.5vw, 78px);
    --button-shadow: 0 0.75rem 1.6rem color-mix(in srgb, var(--ocf-accent) 16%, transparent);
    --button-shadow-hover: 0 1rem 2.1rem color-mix(in srgb, var(--ocf-accent) 22%, transparent);
    --card-shadow: 0 1rem 2.2rem color-mix(in srgb, #241410 10%, transparent);
    --card-shadow-hover: 0 1.25rem 2.8rem color-mix(in srgb, #241410 15%, transparent);
    --gradient-media-dark: linear-gradient(90deg, rgba(20, 17, 16, 0.9) 0%, rgba(20, 17, 16, 0.74) 48%, rgba(20, 17, 16, 0.28) 100%);
    --gradient-media-dark-even: linear-gradient(0deg, rgba(20, 17, 16, 0.72), rgba(20, 17, 16, 0.72));
}

* {
    letter-spacing: 0;
}

.monarch-topbar {
    border-bottom: 1px solid color-mix(in srgb, var(--ocf-border-light) 72%, transparent);
    background: var(--ocf-bg-dark);
    color: var(--ocf-body-alt);
    font-size: var(--text-sm);
}

.monarch-topbar__inner {
    display: flex;
    min-height: 2.15rem;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.monarch-topbar__service-area {
    margin-right: auto;
    color: var(--ocf-label-alt);
}

.monarch-topbar__phone,
.monarch-topbar__locations {
    color: var(--ocf-heading-alt);
    font-weight: 700;
}

.monarch-topbar__locations {
    color: #f5b142;
}

.nav-bar {
    border-bottom: 0;
    background: var(--ocf-bg);
    box-shadow: 0 0.65rem 1.8rem rgba(25, 18, 13, 0.08);
}

.nav-inner {
    min-height: 4.5rem;
}

.nav-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ocf-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.nav-logo-text::before {
    content: "";
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f6cc63 0 20%, #b32a22 21% 58%, #331f18 59% 100%);
    box-shadow: inset 0 0 0 3px #fff;
}

.nav-links {
    gap: 1.05rem;
}

.nav-link,
.nav-dropdown-trigger {
    color: var(--ocf-heading);
    font-size: 0.92rem;
    font-weight: 750;
}

.dropdown-menu {
    border: 0;
    border-radius: var(--card-radius);
    box-shadow: 0 1rem 2.5rem rgba(33, 23, 18, 0.14);
}

.nav-cta,
.btn-primary,
.form-submit-btn,
.mobile-cta {
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
    font-weight: 800;
}

.ocf-content__body .btn-primary {
    color: #fff;
}

.nav-cta {
    min-height: 2.85rem;
    display: inline-flex;
    align-items: center;
    border-radius: var(--button-radius);
    padding: 0 1.15rem;
}

.nav-phone {
    color: var(--ocf-accent);
    font-weight: 750;
}

.ocf-hero {
    min-height: min(860px, calc(100vh - var(--nav-height)));
}

.ocf-hero--split-form .ocf-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    padding-block: clamp(5rem, 10vh, 7rem);
}

.ocf-hero__rating {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    padding: 0.55rem 0.8rem;
    backdrop-filter: blur(10px);
}

.ocf-hero__headline {
    max-width: 760px;
    font-weight: 850;
    line-height: 0.96;
}

.ocf-hero__intro {
    max-width: 64ch;
    color: rgba(255, 255, 255, 0.9);
}

.hero-form-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1rem 3rem rgba(20, 17, 16, 0.24);
}

.hero-form-title {
    text-transform: none;
}

.hero-svc-list {
    gap: 0.55rem;
}

.hero-svc-row {
    border-radius: 8px;
}

.trust-stats {
    padding-block: 2.25rem;
    background: #211510;
    color: #fff;
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.trust-stat {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
}

.trust-stat-value {
    color: #f5b142;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 850;
    line-height: 1;
}

.trust-stat-label {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-sm);
}

.ocf-services {
    background: linear-gradient(180deg, #fff 0%, #fff7ec 100%);
}

.ocf-services-header {
    align-items: center;
}

.ocf-services .heading-section {
    max-width: 660px;
}

.ocf-svc-card {
    border: 0;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.ocf-svc-card-img {
    aspect-ratio: 4 / 3;
}

.ocf-svc-card-body {
    padding: 1.2rem;
}

.ocf-svc-card-body h3 {
    font-size: 1.18rem;
}

.ocf-svc-arrow {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
}

.monarch-proof {
    background: #fff;
}

.monarch-proof__header {
    max-width: 720px;
    margin-bottom: 1.75rem;
}

.monarch-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.monarch-proof__card {
    border: 1px solid var(--ocf-border-light);
    border-radius: 8px;
    padding: 1.25rem;
    background: #fff;
}

.monarch-proof__seal {
    display: inline-grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border-radius: 50%;
    background: #f5b142;
    color: #2b1b14;
    font-weight: 850;
}

.monarch-proof__card h3 {
    margin: 1rem 0 0.45rem;
    color: var(--ocf-heading);
    font-size: 1.04rem;
}

.monarch-proof__card p {
    margin: 0;
    color: var(--ocf-body);
    font-size: var(--text-sm);
}

.ocf-content {
    background: #fff;
}

.ocf-content:nth-of-type(even),
.ocf-about,
.ocf-locations,
.ocf-faq {
    background: #fff7ec;
}

.ocf-content__media img,
.ocf-about__media img,
.ocf-commitments-image img,
.ocf-location-card__media img {
    border-radius: 8px;
}

.ocf-about__headline,
.ocf-commitments .heading-section,
.ocf-service-areas__title,
.ocf-locations .heading-section,
.ocf-faq .heading-section,
.ocf-cta__headline {
    font-weight: 850;
}

.ocf-commitments {
    background: #211510;
    color: rgba(255, 255, 255, 0.86);
}

.ocf-commitments .heading-section,
.ocf-commitments h3 {
    color: #fff;
}

.ocf-commitment {
    border-color: rgba(255, 255, 255, 0.16);
}

.ocf-commitment-num {
    color: #f5b142;
}

.ocf-locations-grid,
.footer-location-grid {
    gap: 1rem;
}

.ocf-location-card,
.footer-location-card {
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.ocf-service-areas {
    background: #fff;
}

.ocf-service-areas__link {
    border-radius: 999px;
}

.monarch-blog {
    background: #fff;
}

.post-loop-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ocf-cta__panel {
    border-radius: 8px;
}

.site-footer {
    background: #211510;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer :is(.footer-brand-name, .footer-heading, a, strong) {
    color: #fff;
}

.footer-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.footer-location-card {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.84);
    box-shadow: none;
}

.footer-location-card__pin {
    display: inline-grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border-radius: 50%;
    background: #f5b142;
    color: #211510;
    font-weight: 850;
}

.footer-location-card__body {
    display: grid;
    gap: 0.25rem;
    font-size: var(--text-sm);
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
    .nav-links {
        gap: 0.7rem;
    }

    .nav-link,
    .nav-dropdown-trigger {
        font-size: 0.86rem;
    }
}

@media (max-width: 980px) {
    :root {
        --nav-height: 4rem;
    }

    .monarch-topbar {
        display: none;
    }

    .ocf-hero--split-form .ocf-hero__grid {
        grid-template-columns: 1fr;
    }

    .trust-stats-grid,
    .monarch-proof__grid,
    .footer-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ocf-hero__headline {
        font-size: clamp(36px, 15vw, 52px);
    }

    .trust-stats-grid,
    .monarch-proof__grid,
    .footer-location-grid {
        grid-template-columns: 1fr;
    }

    .post-loop-header {
        display: grid;
    }
}
