:root {
    --brand: #183e32;
    --brand-dark: #102a23;
    --gold: #efbf62;
    --paper: #f6f4ee;
    --ink: #23362e;
    --muted: #5e6b64;
    --line: #dfe5de;
}

body {
    color: var(--ink);
    background: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.7;
}

h1, h2, h3 {
    color: var(--brand);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 5.5vw, 5.4rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h3 {
    font-size: 1.45rem;
}

a {
    color: var(--brand);
    text-underline-offset: .2em;
}

img {
    max-width: 100%;
}

p {
    color: var(--muted);
}

:focus-visible {
    outline: 3px solid #a96300;
    outline-offset: 5px;
}

section[id] {
    scroll-margin-top: 125px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: .75rem 1rem;
    background: #fff;
}

.skip-link:focus {
    top: 1rem;
}

.utility-bar {
    padding: .55rem 0;
    background: var(--brand);
    color: #fff;
    font-size: .78rem;
}

.utility-bar a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.navbar {
    padding: .9rem 0;
}

.navbar-brand img {
    display: block;
    width: 185px;
    height: 72px;
    object-fit: contain;
    object-position: left center;
}

.navbar .nav-link {
    color: var(--ink);
    font-size: .92rem;
    font-weight: 650;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .5rem;
}

.btn {
    padding: .85rem 1.35rem;
    border-radius: .3rem;
    font-weight: 700;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);
}

.btn-gold {
    --bs-btn-color: var(--brand-dark);
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: var(--brand-dark);
    --bs-btn-hover-bg: #f5cc80;
    --bs-btn-hover-border-color: #f5cc80;
    --bs-btn-active-color: var(--brand-dark);
    --bs-btn-active-bg: #f5cc80;
    --bs-btn-active-border-color: #f5cc80;
}

.btn-outline-brand {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);
}

.section-space {
    padding-block: clamp(3rem, 6vw, 5.5rem);
}

.bg-paper {
    background: var(--paper);
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--brand);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero {
    padding-block: clamp(2.5rem, 5vw, 5rem);
    overflow: hidden;
    background: var(--paper);
}

.hero h1 em {
    color: #456854;
    font-style: normal;
}

.hero-copy {
    max-width: 33rem;
    margin-block: 1.6rem 2rem;
    font-size: 1.13rem;
}

.hero-photo {
    position: relative;
    padding: 0 0 1.5rem 1.5rem;
}

.hero-photo::before {
    position: absolute;
    inset: 2rem 1.5rem 0 0;
    background: var(--gold);
    content: "";
}

.hero-photo img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    border-radius: .35rem;
}

.photo-caption {
    position: absolute;
    right: 1rem;
    bottom: 3rem;
    left: 3rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gold);
    background: var(--brand-dark);
    color: #fff;
    font-size: .95rem;
}

.trust-strip {
    border-bottom: 1px solid var(--line);
}

.trust-item {
    padding-block: 1.15rem;
    text-align: center;
    font-size: .9rem;
    font-weight: 650;
}

.trust-item span {
    margin-right: .4rem;
    color: var(--brand);
}

.section-heading {
    max-width: 43rem;
    margin-bottom: 2.5rem;
}

.section-heading p:last-child {
    margin-top: 1rem;
    margin-bottom: 0;
}

.service-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 14px 30px rgb(24 62 50 / 7%);
}

.service-number {
    margin-bottom: 1.5rem;
    color: #687a6e;
    font-size: .85rem;
    font-weight: 750;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    font-size: .95rem;
}

.card-link {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--brand);
    font-weight: 750;
}

.feature-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: .5rem;
    object-fit: cover;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: .65rem 0 .65rem 1.7rem;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--brand);
    content: "\2713";
    font-weight: 800;
}

.step {
    height: 100%;
    padding-top: 1.25rem;
    border-top: 2px solid var(--line);
}

.step-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--brand);
    font-weight: 800;
}

.page-intro {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.page-intro h1 {
    max-width: 58rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.intro-copy {
    max-width: 44rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.service-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.service-jumps a {
    padding: .55rem .9rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 650;
}

.service-jumps a:hover {
    color: #fff;
    background: var(--brand);
}

.service-detail {
    padding-block: 3rem;
    border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
    border-bottom: 0;
}

.service-detail h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.equipment-photo {
    height: 100%;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: .5rem;
    overflow: hidden;
    background: #fff;
}

.equipment-photo > a {
    display: block;
    background: var(--paper);
}

.equipment-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.equipment-photo figcaption {
    padding: 1rem 1.25rem;
    font-weight: 650;
}

.info-panel {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--paper);
}

.contact-phone {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    text-decoration: none;
}

.project-cta {
    padding-block: 3.5rem;
    background: var(--brand);
}

.project-cta h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.project-cta .eyebrow {
    color: var(--gold);
}

.project-cta p {
    color: #e1e9e4;
}

.site-footer {
    background: var(--brand-dark);
    color: #d9e3dd;
}

.site-footer p {
    color: #c4d1c9;
}

.footer-brand {
    display: inline-block;
    padding: .75rem 1rem;
    border-radius: .3rem;
    background: #fff;
}

.footer-brand img {
    display: block;
    width: 180px;
    height: 75px;
    object-fit: contain;
}

.footer-heading {
    margin-bottom: 1.4rem;
    color: #fff;
    font-size: .9rem;
    letter-spacing: 0;
}

.footer-links {
    display: grid;
    gap: .65rem;
}

.footer-links a {
    color: #d9e3dd;
    font-size: .85rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-phone {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 750;
    text-decoration: none;
}

.footer-bottom {
    padding-block: 1.3rem;
    border-top: 1px solid #355046;
    font-size: .8rem;
}

.mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--brand);
    box-shadow: 0 -2px 10px rgb(0 0 0 / 10%);
}

.mobile-actions a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: .7rem .4rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

.mobile-actions a:last-child {
    background: var(--gold);
    color: var(--brand-dark);
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }

    .hero-photo img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 155px;
        height: 60px;
    }

    .utility-bar {
        font-size: .65rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .trust-item {
        font-size: .76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Bardonia logo colors */
:root {
    --accent: #ff7518;
    --accent-light: #ff943f;
    --charcoal: #181a19;
    --gold: var(--accent);
}

/* Top information bar */
.utility-bar {
    padding: 0;
    background: linear-gradient(110deg, var(--charcoal), var(--brand));
    border-top: 3px solid var(--accent);
    font-size: .8rem;
}

.utility-inner,
.utility-right,
.utility-message,
.utility-socials {
    display: flex;
    align-items: center;
}

.utility-inner {
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
}

.utility-message {
    gap: .65rem;
}

.utility-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
}

.utility-right {
    gap: 1.25rem;
}

.utility-license {
    color: #e0e8e3;
    font-size: .75rem;
}

.utility-socials {
    gap: .35rem;
}

    .utility-socials a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid rgb(255 255 255 / 22%);
        border-radius: 50%;
        color: #fff;
        transition: background .2s, color .2s;
    }

        .utility-socials a:hover {
            color: var(--charcoal);
            background: var(--accent);
            border-color: var(--accent);
        }

    .utility-socials svg,
    .utility-phone svg {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }

.utility-bar .utility-phone {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    align-self: stretch;
    padding: .7rem 1rem;
    background: var(--accent);
    color: var(--charcoal);
    font-size: .9rem;
    font-weight: 800;
}

    .utility-bar .utility-phone:hover {
        background: var(--accent-light);
    }

.utility-bar a:focus-visible {
    outline-color: #fff;
}

/* Larger logo with company name */
.site-header .navbar {
    padding: .55rem 0;
}

.navbar-brand.brand-lockup {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-right: 1rem;
    white-space: normal;
}

    .navbar-brand.brand-lockup img {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
        object-fit: contain;
    }

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

    .brand-wordmark strong {
        color: var(--charcoal);
        font-size: 1.3rem;
        font-weight: 900;
        letter-spacing: .035em;
    }

    .brand-wordmark > span {
        margin-top: .2rem;
        color: #a84400;
        font-size: .85rem;
        font-weight: 800;
        letter-spacing: .14em;
    }

    .brand-wordmark small {
        margin-top: .55rem;
        color: var(--muted);
        font-size: .62rem;
        letter-spacing: .015em;
    }

.site-header .nav-link {
    font-size: .86rem;
}

    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        text-decoration-color: var(--accent);
        text-decoration-thickness: 3px;
    }

.header-cta {
    padding: .85rem 1rem;
    font-size: .85rem;
    white-space: nowrap;
}

/* Green remains primary; orange provides emphasis */
.btn-brand {
    --bs-btn-hover-bg: var(--charcoal);
    --bs-btn-hover-border-color: var(--charcoal);
    --bs-btn-active-bg: var(--charcoal);
    --bs-btn-active-border-color: var(--charcoal);
}

.btn-gold {
    --bs-btn-color: var(--charcoal);
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: var(--charcoal);
    --bs-btn-hover-bg: var(--accent-light);
    --bs-btn-hover-border-color: var(--accent-light);
    --bs-btn-active-color: var(--charcoal);
    --bs-btn-active-bg: var(--accent-light);
    --bs-btn-active-border-color: var(--accent-light);
}

.eyebrow::before {
    display: inline-block;
    width: 25px;
    height: 3px;
    margin-right: .65rem;
    vertical-align: middle;
    background: var(--accent);
    content: "";
}

.hero h1 em {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: .055em;
    text-underline-offset: .12em;
}

.hero-photo::before,
.mobile-actions a:last-child {
    background: var(--accent);
}

.photo-caption {
    border-left-color: var(--accent);
}

.site-footer {
    background: var(--charcoal);
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* Homepage service cards */
.service-card.service-card-photo {
    padding: 0;
    overflow: hidden;
    border-radius: .65rem;
}

    .service-card.service-card-photo:hover {
        border-color: var(--accent);
    }

.service-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--paper);
}

    .service-card-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

.service-card-photo:hover .service-card-media img {
    transform: scale(1.04);
}

.service-photo-number {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: .4rem 1rem;
    background: var(--accent);
    color: var(--charcoal);
    font-size: .85rem;
    font-weight: 850;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.6rem;
    border-top: 3px solid var(--accent);
}

    .service-card-body h3 {
        font-size: 1.4rem;
    }

    .service-card-body .card-link {
        border-top: 1px solid var(--line);
    }

        .service-card-body .card-link > span {
            color: #a84400;
            font-size: 1.2rem;
        }

/* Alternating service images */
.service-detail {
    padding-block: 3.5rem;
}

.service-detail-media {
    position: relative;
    padding: 0 0 .85rem .85rem;
}

    .service-detail-media::before {
        position: absolute;
        inset: 1.5rem 1.5rem 0 0;
        border-radius: .5rem;
        background: var(--accent);
        content: "";
    }

    .service-detail-media img {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        border-radius: .5rem;
        object-fit: cover;
    }

@media (max-width: 1199.98px) {
    .utility-license {
        display: none;
    }

    .navbar-brand.brand-lockup img {
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 767.98px) {
    .utility-inner {
        gap: .5rem;
    }

    .utility-message {
        font-size: .65rem;
    }

    .utility-right {
        gap: .6rem;
    }

    .utility-bar .utility-phone {
        padding-inline: .6rem;
        font-size: .8rem;
    }

    .utility-socials a {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 575.98px) {
    .utility-message {
        display: none;
    }

    .utility-right {
        width: 100%;
        justify-content: space-between;
    }

    .navbar-brand.brand-lockup {
        gap: .4rem;
        margin-right: .4rem;
    }

        .navbar-brand.brand-lockup img {
            width: 82px;
            height: 82px;
        }

    .brand-wordmark strong {
        font-size: 1.05rem;
    }

    .brand-wordmark > span {
        font-size: .72rem;
    }

    .brand-wordmark small {
        font-size: .55rem;
    }

    .service-card-body {
        padding: 1.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card-photo:hover .service-card-media img {
        transform: none;
    }
}

.footer-social-icons {
    display: flex;
    gap: .65rem;
}

    .footer-social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgb(255 255 255 / 25%);
        border-radius: 50%;
        color: #fff;
        transition: background .2s, color .2s, border-color .2s;
    }

        .footer-social-icons a:hover {
            background: var(--accent, #ff7518);
            border-color: var(--accent, #ff7518);
            color: #181a19;
        }

        .footer-social-icons a:focus-visible {
            outline: 3px solid #fff;
            outline-offset: 4px;
        }

    .footer-social-icons svg {
        width: 20px;
        height: 20px;
    }

.footer-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.payment-badge {
    display: block;
    width: 54px;
    flex-shrink: 0;
}

    .payment-badge svg {
        display: block;
        width: 100%;
        height: auto;
    }

@media (prefers-reduced-motion: reduce) {
    .footer-social-icons a {
        transition: none;
    }
}

.brand-flag {
    display: block;
    width: 48px;
    height: auto;
    flex-shrink: 0;
    margin-left: .5rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}

@media (max-width: 575.98px) {
    .navbar-brand.brand-lockup {
        gap: .35rem;
        margin-right: .25rem;
    }

        .navbar-brand.brand-lockup img {
            width: 68px;
            height: 68px;
        }

    .brand-wordmark strong {
        font-size: 1rem;
    }

    .brand-wordmark > span {
        font-size: .68rem;
    }

    .brand-wordmark small {
        font-size: .5rem;
    }

    .brand-flag {
        width: 32px;
        margin-left: .25rem;
    }
}

@media (max-width: 389.98px) {
    .brand-wordmark small {
        display: none;
    }

    .brand-wordmark strong {
        font-size: .9rem;
    }

    .brand-flag {
        width: 28px;
        margin-left: .1rem;
    }
}

@media (max-width: 575.98px) {
    .brand-flag {
        width: 44px;
        height: auto;
    }
}