/* Explain: Styles for page structure, navigation, and footer layout. */
.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1.15rem;
}

.section {
    padding-block: 4rem;
}

.section-tight {
    padding-block: 2.5rem;
}

@media (min-width: 768px) {
    .section {
        padding-block: 5.5rem;
    }
}

.section-dark {
    background: var(--primary-color);
    color: #fff;
}

.section-surface {
    background: var(--surface-color);
}

/* ---- top utility bar ---- */
.top-bar {
    display: none;
    background: var(--primary-hover);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}

@media (min-width: 900px) {
    .top-bar {
        display: block;
    }
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.5rem;
}

.top-bar-inner p {
    margin: 0;
}

.top-bar-address {
    color: var(--brand-gold);
    font-size: 0.68rem;
    line-height: 1.25;
    white-space: nowrap;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: var(--accent-soft);
}

.top-bar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

/* ---- header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 104px;
    padding-block: 0.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    height: clamp(62px, 12vw, 90px);
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 7px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.brand-name,
.brand-wordmark {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.brand-name {
    font-size: clamp(1.15rem, 2.4vw, 1.9rem);
}

.brand-name-main {
    color: #000000;
}

.brand-name-accent {
    color: var(--brand-gold);
    text-shadow: 0 1px 1px rgba(122, 79, 0, 0.45);
}

.nav-links {
    display: none;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.15rem;
    }
}

.nav-link {
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.nav-link-green,
.nav-link-green:hover {
    background: var(--brand-green);
    color: #ffffff;
    font-weight: 700;
}

.nav-link-green:hover {
    filter: brightness(0.9);
}

.nav-link-red {
    background: var(--fire-red);
    color: #ffffff;
    font-weight: 700;
}

.nav-link-red:hover {
    background: var(--fire-red-hover);
    color: #ffffff;
}

.nav-link-blue,
.nav-link-blue:hover {
    background: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
}

.nav-link-blue:hover {
    filter: brightness(0.9);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.24);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.mobile-panel.is-open {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
    background: var(--surface-2);
    color: var(--accent-color);
}

.mobile-cta {
    padding: 1rem 1.15rem;
}

/* ---- footer ---- */
.site-footer {
    background: var(--surface-dark);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.hazard-stripe {
    height: 8px;
    background: repeating-linear-gradient(45deg, var(--accent-color) 0 14px, var(--primary-color) 14px 28px);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding-block: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    }
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.9rem;
}

.footer-list li {
    margin-bottom: 0.55rem;
}

.footer-address-bright {
    color: var(--bright-yellow);
    font-weight: 600;
}

.footer-address-light {
    color: #ffffff;
    font-weight: 600;
}

.footer-list a.footer-link-bright {
    color: var(--bright-yellow);
    font-weight: 700;
}

.footer-list a.footer-phone-light {
    color: #ffffff;
    font-weight: 700;
}

.footer-list a.footer-link-bright:hover {
    color: #ffffff;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--accent-soft);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

/* ---- content layout helpers ---- */
.split-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.split-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--surface-2);
    margin: 0;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-stack {
    display: grid;
    gap: 0.9rem;
}

.split-media-wide {
    aspect-ratio: 16 / 9;
}

/* ---- company name: black text on a white plate wherever it appears ---- */
.brand-name,
.brand-wordmark,
.footer-title.brand-wordmark,
.footer-bottom .brand-wordmark {
    color: #000000;
    background: #ffffff;
    padding: 0.28rem 0.7rem;
    border-radius: 10px;
    display: inline-block;
    line-height: 1.15;
}