/*
 * CormackCoreWeb 2.0 - Custom Stylesheet
 * Author: Charlie - Cormack Advertising
 * Add your custom styles here
 */

/* ==========================================================================
   @font-face — Neue Haas Unica W1G
   ========================================================================== */

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G UltLight It.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Thin Italic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue-Haas-Unica-W1G-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Bold Italic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Heavy It.woff') format('woff');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G Black It.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G XBlack.woff') format('woff');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica';
    src: url('../fonts/Neue Haas Unica W1G XBlack It.woff') format('woff');
    font-weight: 950;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   CSS Variables — Typography & Design Tokens
   ========================================================================== */

:root {
    /* Font Family */
    --font-primary: 'Neue Haas Unica', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Font Weights */
    --fw-thin: 100;
    --fw-ultralight: 200;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    --fw-heavy: 800;
    --fw-black: 900;
    --fw-xblack: 950;

    /* Theme Colors */
    --color-pale-yellow: #FFEF8A;
    --color-light-gray: #3D3D40;
    --color-dark-gray: #222222;
    --color-dark-green: #21566C;
    --color-white: #ffffff;

    /* Typography Scale — from design specs */
    --fs-hero: 39px;          /* H1 hero only */
    --fs-headline: 39px;      /* H2 all other headlines */
    --fs-ui: 16px;            /* Buttons, tables */
    --fs-body: 16px;          /* Paragraphs */
    --fs-disclaimer: 12px;    /* Footer disclaimer */

    /* Line Heights — from design specs */
    --lh-hero: 49px;
    --lh-headline: 49px;
    --lh-ui: 23px;
    --lh-body: 23px;
    --lh-disclaimer: 16px;
}

/* ==========================================================================
   Global Typography Reset
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-dark-gray);
}

/* ==========================================================================
   Fade-up reveal animation
   ========================================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* H1 — Hero sections only */
h1 {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-hero);
    line-height: var(--lh-hero);
    letter-spacing: 0px;
    text-align: center;
}

/* H2–H6 — All other headlines */
h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-headline);
    line-height: var(--lh-headline);
    letter-spacing: 0px;
}

/* Paragraphs */
p {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    letter-spacing: 0px;
}

/* UI — Buttons, tables */
button,
input,
select,
textarea,
table,
.btn,
[class*="button"] {
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: var(--fs-ui);
    line-height: var(--lh-ui);
    letter-spacing: 0px;
}

/* Links */
a {
    font-family: var(--font-primary);
}

/* Footer disclaimer */
.footer-disclaimer,
.site-footer .disclaimer,
footer small {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-disclaimer);
    line-height: var(--lh-disclaimer);
    letter-spacing: 0px;
}

/* ==========================================================================
   Hero Section — all elements absolutely positioned independently
   ========================================================================== */

@keyframes heroZoom {
    0%   { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    border-top: 5px solid var(--color-pale-yellow);
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: heroZoom 12s ease-out forwards;
    will-change: transform;
    z-index: 0;
}

/* Dark overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Logo — top left */
.hero-logo--site {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 10;
}

.hero-logo--site img {
    display: block;
    width: 160px;
    height: auto;
}

/* Logo — top right */
.hero-logo--client {
    position: absolute;
    top: 40px;
    right: 50px;
    z-index: 10;
}

.hero-logo--client img {
    display: block;
    width: 140px;
    height: auto;
}

/* Hero text — upper area, centered */
.hero-content {
    position: absolute;
    top: 11%;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
}

.hero-content h1 {
    color: var(--color-white);
    font-weight: var(--fw-regular);
    font-size: var(--fs-hero);
    line-height: var(--lh-hero);
    letter-spacing: 0px;
    margin: 0 0 12px;
}

.hero-accent {
    color: var(--color-pale-yellow);
    font-weight: var(--fw-regular);
}

.hero-subtext {
    color: var(--color-pale-yellow);
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--fw-regular);
}

.hero-tagline {
    color: var(--color-white);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-regular);
    margin-top: 8px;
}

/* Buttons — bottom left */
.hero-bottom {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 10;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: var(--fs-ui);
    line-height: var(--lh-ui);
    letter-spacing: 0px;
    text-decoration: none;
    color: var(--color-dark-gray);
    background-color: var(--color-pale-yellow);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Status text — bottom right */
.hero-status {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    color: var(--color-white);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-regular);
    margin: 0;
}

/* Hero responsive */
@media (max-width: 1024px) {
    .hero-logo--site {
        top: 30px;
        left: 30px;
    }

    .hero-logo--client {
        top: 30px;
        right: 30px;
    }

    .hero-content {
        top: 16%;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 42px;
    }

    .hero-subtext {
        font-size: 20px;
        line-height: 28px;
    }

    .hero-bottom {
        bottom: 30px;
        left: 30px;
    }

    .hero-status {
        bottom: 30px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-logo--site {
        top: 20px;
        left: 20px;
    }

    .hero-logo--site img {
        width: 120px;
    }

    .hero-logo--client {
        top: 20px;
        right: 20px;
    }

    .hero-logo--client img {
        width: 100px;
    }

    .hero-content {
        top: 14%;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 36px;
    }

    .hero-subtext {
        font-size: 17px;
        line-height: 24px;
    }

    .hero-bottom {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .hero-status {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 22px;
        line-height: 30px;
    }

    .hero-subtext {
        font-size: 15px;
        line-height: 22px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Aerial Video Section
   ========================================================================== */

.aerial {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.aerial-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   Overview Section
   ========================================================================== */

.overview {
    background-color: var(--color-light-gray);
    padding: 80px 50px;
}

.overview-inner {
    display: flex;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Left column — large headline */
.overview-headline {
    flex: 0 0 42%;
}

.overview-headline h2 {
    font-size: var(--fs-headline);
    line-height: var(--lh-headline);
    font-weight: var(--fw-regular);
    color: var(--color-white);
    margin: 0;
}

/* Yellow accent spans */
.text-accent {
    color: var(--color-pale-yellow);
}

/* Right column — description */
.overview-description {
    flex: 1;
}

.overview-lead {
    font-size: 20px;
    line-height: 28px;
    font-weight: var(--fw-regular);
    color: var(--color-white);
    margin: 70px 0 24px;
}

.overview-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.overview-body p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-regular);
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Overview responsive */
@media (max-width: 1024px) {
    .overview {
        padding: 60px 30px;
    }

    .overview-inner {
        gap: 40px;
    }

    .overview-headline h2 {
        font-size: 32px;
        line-height: 42px;
    }
}

@media (max-width: 768px) {
    .overview {
        padding: 48px 20px;
    }

    .overview-inner {
        flex-direction: column;
        gap: 32px;
    }

    .overview-headline {
        flex: none;
    }

    .overview-headline h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .overview-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Siteplan Section (includes spec icons per toggle option)
   ========================================================================== */

.siteplan {
    background-color: var(--color-light-gray);
    text-align: center;
}

.siteplan-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px 50px;
}

.siteplan-heading {
    font-size: var(--fs-headline);
    line-height: var(--lh-headline);
    font-weight: var(--fw-regular);
    color: var(--color-white);
    margin: 0 0 40px;
    text-align: center;
}

/* Toggle tabs */
.siteplan-toggle {
    display: inline-flex;
    background: #D9D9D9;
    border-radius: 40px;
    padding: 4px;
}

.siteplan-tab {
    padding: 12px 32px;
    border: none;
    border-radius: 36px;
    background: transparent;
    color: #A9A9A9;
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: var(--fs-ui);
    line-height: var(--lh-ui);
    cursor: pointer;
    transition: all 0.3s ease;
}

.siteplan-tab.is-active {
    background: #000000;
    color: var(--color-pale-yellow);
}

.siteplan-tab:hover:not(.is-active) {
    color: #666666;
}

/* Toggle panels */
.siteplan-panel[hidden] {
    display: none;
}

.siteplan-image-wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px 0;
}

.siteplan-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Specification — pale yellow bar, line runs between icons and labels */
.specification {
    background-color: var(--color-pale-yellow);
    padding: 50px 0px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-icon {
    width: 70px;
    height: 65px;
    display: block;
    padding: 20px 0 0 0;
}

.spec-label {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 13px;
    line-height: 18px;
    color: var(--color-dark-gray);
    border-top: 1px solid var(--color-dark-gray);
    width: 100%;
    padding-top: 12px;
    padding-bottom: 20px;
    min-height: 48px;
}

/* Siteplan responsive */
@media (max-width: 1024px) {
    .siteplan-inner {
        padding: 60px 30px 40px;
    }

    .siteplan-heading {
        font-size: 32px;
        line-height: 42px;
    }

    .siteplan-image-wrap {
        padding: 40px 30px 0;
    }

    .specification {
        padding: 32px 30px 0;
    }

    .spec-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .siteplan-inner {
        padding: 48px 20px 32px;
    }

    .siteplan-heading {
        font-size: 26px;
        line-height: 36px;
    }

    .siteplan-toggle {
        flex-direction: column;
        border-radius: 16px;
    }

    .siteplan-tab {
        border-radius: 12px;
        padding: 10px 24px;
        font-size: 14px;
    }

    .siteplan-image-wrap {
        padding: 32px 20px 0;
    }

    .specification {
        padding: 24px 20px 0;
    }

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

@media (max-width: 480px) {
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Sustainability & Wellbeing Section
   ========================================================================== */

.sustainability {
    background-color: #FFFEF6;
    padding: 80px 50px;
    text-align: center;
}

.sustainability-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sustainability-heading {
    font-size: var(--fs-headline);
    line-height: var(--lh-headline);
    font-weight: var(--fw-regular);
    color: var(--color-dark-gray);
    margin: 0 0 40px;
}

.text-accent-green {
    color: var(--color-dark-green);
}

.sustainability-subheading {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 23px;
    line-height: 34px;
    letter-spacing: 0px;
    color: #000000;
    margin: 0 0 24px;
    text-align: center;
}

.sustainability-body {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: #3F3F3F;
    margin: 0;
    text-align: center;
}

/* Sustainability responsive */
@media (max-width: 1024px) {
    .sustainability {
        padding: 60px 30px;
    }

    .sustainability-heading {
        font-size: 32px;
        line-height: 42px;
    }
}

@media (max-width: 768px) {
    .sustainability {
        padding: 48px 20px;
    }

    .sustainability-heading {
        font-size: 28px;
        line-height: 38px;
    }

    .sustainability-subheading {
        font-size: 20px;
        line-height: 30px;
    }
}

/* ==========================================================================
   Scroll Video Section
   ========================================================================== */

.scroll-video-section {
    position: relative;
    height: 500vh;
}

.scroll-video-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../images/t1.png') center left / cover no-repeat;
}

.scroll-video-sticky video {
    width: 95%;
    height: 95%;
    object-fit: contain;
    mix-blend-mode: screen;
    margin-left: auto;
}

/* ==========================================================================
   Location Section
   ========================================================================== */

.location {
    background-color: var(--color-dark-gray);
}

.location-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 50px 40px;
}

.location-top {
    display: flex;
    gap: 60px;
}

.location-headline {
    flex: 0 0 42%;
}

.location-headline h2 {
    font-size: var(--fs-headline);
    line-height: var(--lh-headline);
    font-weight: var(--fw-regular);
    color: var(--color-white);
    margin: 0;
}

.location-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-content: end;
    padding-top: 10px;
}

.location-body p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-regular);
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-bottom: 0;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-regular);
    color: var(--color-white);
}

.location-divider {
    color: rgba(255, 255, 255, 0.4);
}

.location-link {
    color: var(--color-white);
    text-decoration: none;
}

.location-link:hover {
    text-decoration: underline;
}

.location-map {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    line-height: 0;
}

/* Location data — 2-column grid: left (tables + stats), right (map spanning both rows) */
.location-data {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 50px 80px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto auto;
    gap: 40px 100px;
}

.location-tables {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    gap: 40px;
}

.location-mini-map {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.location-mini-map img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.location-stats {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: 60px;
}

.drive-table {
    flex: 1;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-white);
    table-layout: auto;
    width: 100%;
}

.drive-table th:first-child,
.drive-table td:first-child {
    white-space: nowrap;
}

.drive-table th:nth-child(2),
.drive-table td:nth-child(2),
.drive-table th:nth-child(3),
.drive-table td:nth-child(3) {
    width: 60px;
    text-align: center;
}

.drive-table th {
    font-weight: var(--fw-medium);
    text-align: left;
    padding: 8px 12px 8px 0;
    color: var(--color-white);
    border-bottom: 1px solid var(--color-pale-yellow);
}

.drive-table td {
    font-weight: var(--fw-regular);
    padding: 6px 12px 6px 0;
    border-bottom: 1px solid var(--color-pale-yellow);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 48px;
    line-height: 1;
    color: var(--color-pale-yellow);
}

.stat-suffix {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 48px;
    line-height: 1;
    color: var(--color-pale-yellow);
}

.stat-line {
    width: 100%;
    height: 1px;
    background-color: var(--color-pale-yellow);
    margin: 12px 0;
}

.stat-label {
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1px;
    color: var(--color-white);
    text-transform: uppercase;
}

/* Location responsive */
@media (max-width: 1024px) {
    .location-inner {
        padding: 60px 30px 30px;
    }

    .location-top {
        gap: 40px;
    }

    .location-headline h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .location-data {
        padding: 30px 30px 60px;
        grid-template-columns: 1fr;
    }

    .location-mini-map {
        grid-column: 1;
        grid-row: auto;
        max-width: 400px;
    }

    .location-stats {
        grid-column: 1;
        grid-row: auto;
        gap: 40px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .location-inner {
        padding: 48px 20px 24px;
    }

    .location-top {
        flex-direction: column;
        gap: 32px;
    }

    .location-headline {
        flex: none;
    }

    .location-headline h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .location-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .location-address {
        flex-wrap: wrap;
        margin-top: 24px;
    }

    .location-map {
        padding: 0 20px;
    }

    .location-map-placeholder {
        height: 400px;
    }

    .location-data {
        padding: 24px 20px 48px;
    }

    .location-tables {
        flex-direction: column;
        gap: 24px;
    }

    .location-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 32px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    padding: 0;
    background: none;
    margin-top: 0;
}

.site-footer {
    width: 100%;
    background-color: var(--color-pale-yellow);
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 50px 20px 50px;
}

/* Agents grid — equal columns with divider and CTA */
.footer-agents-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.footer-col {
    flex: 1;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-col:first-child {
    padding-left: 0;
}

.footer-col-divider {
    width: 1px;
    background-color: #000000;
    align-self: stretch;
}

.footer-agent-logo {
    display: block;
    height: auto;
    max-width: 100%;
    margin-top: auto;
    margin-bottom: 24px;
}

.footer-agent-logo-spacer {
    height: 40px;
    margin-bottom: 24px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-name {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 14px;
    line-height: 22px;
    color: var(--color-dark-gray);
}

.footer-contact-phone {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 14px;
    line-height: 22px;
    color: var(--color-dark-gray);
    text-decoration: none;
}

.footer-contact-phone:hover {
    text-decoration: underline;
}

.footer-contact-email {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 14px;
    line-height: 22px;
    color: var(--color-dark-gray);
    text-decoration: none;
}

.footer-contact-email:hover {
    text-decoration: underline;
}

/* CTA box — dark bg */
.footer-cta {
    flex: 1;
    background-color: var(--color-light-gray);
    padding: 24px 32px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 24px;
}

.footer-cta-label {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 14px;
    line-height: 22px;
    color: var(--color-pale-yellow);
    margin: 0 0 16px;
}

.footer-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: var(--fs-ui);
    line-height: var(--lh-ui);
    color: var(--color-dark-gray);
    background-color: var(--color-pale-yellow);
    border-radius: 30px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer disclaimer + address bar — inside yellow footer */
.footer-disclaimer {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    padding-top: 24px;
    margin-top: 40px;
    margin-bottom: 32px;
}

.footer-disclaimer p {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-disclaimer);
    line-height: var(--lh-disclaimer);
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-address {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-dark-gray);
}

.footer-divider {
    color: rgba(0, 0, 0, 0.4);
}

.footer-link {
    color: var(--color-dark-gray);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-sp-logo {
    height: 40px;
    width: auto;
}

/* Footer responsive */
@media (max-width: 1024px) {
    .footer-inner {
        padding: 48px 30px;
    }

    .footer-agents-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-col {
        flex: 0 0 calc(50% - 24px);
        padding: 0;
    }

    .footer-col-divider {
        display: none;
    }

    .footer-cta {
        flex: 0 0 100%;
        max-width: 320px;
        margin-left: 0;
    }

}

@media (max-width: 768px) {
    .footer-inner {
        padding: 36px 20px;
    }

    .footer-agents-grid {
        flex-direction: column;
        gap: 32px;
    }

    .footer-col {
        flex: none;
    }

    .footer-agent-logo-spacer {
        display: none;
    }

    .footer-cta {
        max-width: none;
    }

    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-address {
        flex-wrap: wrap;
    }
}
