.contact-page { overflow: hidden; }
.contact-hero { padding: 75px 0; background: var(--gme-surface); border-bottom: 1px solid var(--gme-line); }
.contact-hero__grid { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; align-items: end; }
.contact-hero h1 { margin: 22px 0 0; font: 800 clamp(52px, 6vw, 78px)/.98 Manrope,sans-serif; letter-spacing: -.06em; }
.contact-hero h1 em { color: var(--gme-red); font-style: normal; }
.contact-hero__grid > div:last-child { padding-bottom: 4px; }
.contact-hero__grid p { max-width: 500px; color: var(--gme-muted); line-height: 1.8; }
.contact-flag { display: flex; width: 160px; height: 18px; margin-top: 35px; border-radius: 3px; overflow: hidden; box-shadow: var(--gme-shadow-small); }
.contact-flag i { flex: 1; }
.contact-flag i:nth-child(1) { background: #000; }
.contact-flag i:nth-child(2) { background: #dd0000; }
.contact-flag i:nth-child(3) { background: #ffce00; }

.contact-main { padding: 105px 0; background: var(--gme-bg); }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.contact-number { color: var(--gme-red); font: 800 13px Manrope,sans-serif; }
.contact-info h2 { margin: 24px 0 18px; font: 800 43px/1.02 Manrope,sans-serif; letter-spacing: -.05em; }
.contact-info > p { max-width: 460px; color: var(--gme-muted); line-height: 1.8; }
.contact-info__items { margin-top: 45px; border-top: 1px solid var(--gme-line); }
.contact-info__items div { display: grid; gap: 4px; padding: 17px 0; border-bottom: 1px solid var(--gme-line); }
.contact-info__items span { color: var(--gme-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-info__items strong { font-size: 13px; }

.contact-form-area { background: var(--gme-surface); border: 1px solid var(--gme-line); border-radius: 24px; padding: 35px; box-shadow: var(--gme-shadow-small); }
.contact-form-heading { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--gme-line); }
.contact-form-heading > span { color: var(--gme-red); font: 800 13px Manrope,sans-serif; }
.contact-form-heading h2 { margin: 0 0 5px; font: 800 29px Manrope,sans-serif; }
.contact-form-heading p { margin: 0; color: var(--gme-muted); font-size: 11px; }
.contact-messages { display: grid; gap: 8px; margin-top: 20px; }
.contact-message { padding: 12px 14px; border-left: 4px solid var(--gme-gold); background: var(--gme-surface-2); font-size: 12px; }
.contact-form { display: grid; gap: 20px; padding-top: 28px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--gme-line); border-radius: 11px; outline: 0; padding: 13px 14px; color: var(--gme-text); background: var(--gme-bg); transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 170px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gme-red); box-shadow: 0 0 0 3px rgba(221,0,0,.08); }
.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 3px; }
.contact-form__footer p { margin: 0; color: var(--gme-muted); font-size: 10px; line-height: 1.5; }
.contact-form__footer button { min-height: 47px; border: 0; padding: 0 19px; border-radius: 11px; background: var(--gme-black); color: #fff; font-weight: 800; cursor: pointer; }
.contact-form__footer button:hover { background: var(--gme-red); }
.contact-form__footer button span { margin-left: 13px; font-size: 17px; }

.contact-bottom { background: var(--gme-gold); color: #000; }
.contact-bottom__inner { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-bottom h2 { margin: 8px 0 0; font: 800 42px/1.05 Manrope,sans-serif; letter-spacing: -.04em; }
.contact-bottom .gme-section-label { color: #000; }
.contact-bottom__inner > div:last-child { display: flex; flex-wrap: wrap; gap: 25px; }
.contact-bottom__inner a { font-size: 12px; font-weight: 800; }
.contact-bottom__inner a span { color: var(--gme-red); margin-left: 8px; }

@media (max-width: 900px) {
    .contact-hero__grid, .contact-grid { grid-template-columns: 1fr; }
    .contact-grid { gap: 50px; }
}
@media (max-width: 640px) {
    .contact-hero { padding: 55px 0; }
    .contact-hero h1 { font-size: 51px; }
    .contact-main { padding: 75px 0; }
    .contact-form-area { padding: 22px; }
    .contact-form__row { grid-template-columns: 1fr; }
    .contact-form__footer { align-items: flex-start; flex-direction: column; }
    .contact-form__footer button { width: 100%; }
    .contact-bottom__inner { padding: 55px 0; align-items: flex-start; flex-direction: column; }
}
/* =========================================
   CONTACT LOCATION SECTION
========================================= */

.contact-location {
    padding: 100px 0;
    background: var(--surface, #ffffff);
}

.contact-location__heading {
    max-width: 680px;
    margin-bottom: 48px;
}

.contact-location__heading h2 {
    margin: 16px 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-primary, #171717);
}

.contact-location__heading h2 em {
    color: #d71920;
    font-style: normal;
}

.contact-location__heading p {
    max-width: 520px;
    line-height: 1.8;
    color: var(--text-secondary, #666666);
}

/* Two-column layout */

.contact-location__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
    gap: 48px;
    align-items: stretch;
}

/* Location details */

.contact-location__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding: 36px;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 12px;
}

.contact-location__item {
    width: 100%;
}

.contact-location__label {
    display: block;
    margin-bottom: 10px;
    color: #d71920;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.contact-location__item h3 {
    margin: 0 0 8px;
    color: var(--text-primary, #171717);
    font-size: 1.2rem;
}

.contact-location__item p,
.contact-location__item a {
    margin: 0;
    color: var(--text-secondary, #666666);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-location__item a {
    text-decoration: none;
}

.contact-location__item a:hover {
    color: #d71920;
}

/* Directions button */

.contact-location__directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 6px;
    background: #d71920;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.contact-location__directions:hover {
    background: #a81018;
}

.contact-location__directions span {
    font-size: 1.2rem;
}

/* Google Maps */

.contact-location__map {
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 12px;
    background: var(--surface-muted, #f5f5f5);
}

.contact-location__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {
    .contact-location {
        padding: 72px 0;
    }

    .contact-location__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-location__details {
        padding: 28px;
    }

    .contact-location__map,
    .contact-location__map iframe {
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .contact-location {
        padding: 56px 0;
    }

    .contact-location__heading {
        margin-bottom: 32px;
    }

    .contact-location__details {
        padding: 24px;
        gap: 26px;
    }

    .contact-location__map,
    .contact-location__map iframe {
        min-height: 320px;
    }
}
/* =========================================
   CONTACT LOCATION SECTION
   LIGHT MODE + DARK MODE
========================================= */

.contact-location {
    padding: 100px 0;
    background: var(--surface, #ffffff);
    color: var(--text-primary, #171717);
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.contact-location__heading {
    max-width: 680px;
    margin-bottom: 48px;
}

.contact-location__heading h2 {
    margin: 16px 0;
    color: var(--text-primary, #171717);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
}

.contact-location__heading h2 em {
    color: #d71920;
    font-style: normal;
}

.contact-location__heading p {
    max-width: 520px;
    color: var(--text-secondary, #666666);
    line-height: 1.8;
}

/* =========================================
   LOCATION GRID
========================================= */

.contact-location__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
    gap: 32px;
    align-items: stretch;
}

/* =========================================
   LOCATION DETAILS CARD
========================================= */

.contact-location__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    min-width: 0;
    padding: 36px;

    background: var(--surface-card, #ffffff);
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 12px;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.contact-location__item {
    width: 100%;
    min-width: 0;
}

.contact-location__label {
    display: block;
    margin-bottom: 10px;

    color: var(--color-red, #d71920);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.contact-location__item h3 {
    margin: 0 0 8px;
    color: var(--text-primary, #171717);
    font-size: 1.2rem;
}

.contact-location__item p,
.contact-location__item a {
    margin: 0;
    color: var(--text-secondary, #666666);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-location__item a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-location__item a:hover {
    color: var(--color-red, #d71920);
}

/* =========================================
   DIRECTIONS BUTTON
========================================= */

.contact-location__directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 14px 22px;
    border: 1px solid var(--color-red, #d71920);
    border-radius: 6px;

    background: var(--color-red, #d71920);
    color: #ffffff;

    font-weight: 600;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.contact-location__directions:hover {
    background: #a81018;
    border-color: #a81018;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-location__directions span {
    font-size: 1.2rem;
}

/* =========================================
   GOOGLE MAP
========================================= */

.contact-location__map {
    min-width: 0;
    min-height: 440px;
    overflow: hidden;

    background: var(--surface-muted, #f5f5f5);
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 12px;
}

.contact-location__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

/* =========================================
   DARK MODE
   Matches html[data-theme="dark"]
========================================= */

html[data-theme="dark"] .contact-location {
    background: var(--surface, #111111);
    color: var(--text-primary, #f5f5f5);
}

html[data-theme="dark"] .contact-location__heading h2,
html[data-theme="dark"] .contact-location__item h3 {
    color: var(--text-primary, #f5f5f5);
}

html[data-theme="dark"] .contact-location__heading p,
html[data-theme="dark"] .contact-location__item p,
html[data-theme="dark"] .contact-location__item a {
    color: var(--text-secondary, #b5b5b5);
}

html[data-theme="dark"] .contact-location__details {
    background: var(--surface-card, #181818);
    border-color: var(--border-color, #333333);
}

html[data-theme="dark"] .contact-location__map {
    background: var(--surface-muted, #202020);
    border-color: var(--border-color, #333333);
}

html[data-theme="dark"] .contact-location__label {
    color: var(--color-red, #ff4545);
}

html[data-theme="dark"] .contact-location__item a:hover {
    color: var(--color-red, #ff4545);
}

html[data-theme="dark"] .contact-location__directions {
    background: var(--color-red, #d71920);
    border-color: var(--color-red, #d71920);
    color: #ffffff;
}

html[data-theme="dark"] .contact-location__directions:hover {
    background: #a81018;
    border-color: #a81018;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {
    .contact-location {
        padding: 72px 0;
    }

    .contact-location__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-location__details {
        padding: 28px;
    }

    .contact-location__map,
    .contact-location__map iframe {
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .contact-location {
        padding: 56px 0;
    }

    .contact-location__heading {
        margin-bottom: 32px;
    }

    .contact-location__details {
        padding: 24px;
        gap: 26px;
    }

    .contact-location__map,
    .contact-location__map iframe {
        min-height: 320px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .contact-location,
    .contact-location__details,
    .contact-location__item a,
    .contact-location__directions {
        transition: none;
    }
}