/* ============================================================
   CONTACT PAGE STYLES
============================================================ */

/* Page Background */
.contact-page {
    background-color: #fdfaf5;
}

/* Ensure header is visible on the light background */
.contact-page .top-bar {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.contact-page .site-header {
    background: rgba(253, 250, 245, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(177, 125, 45, 0.1);
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* --- CONTACT HERO --- */
.contact-hero {
    position: relative;
    padding: clamp(140px, 15vw, 200px) 0 clamp(80px, 10vw, 120px);
    background-image: linear-gradient(rgba(26, 18, 9, 0.75), rgba(26, 18, 9, 0.75)), url('contact_hero_bg_1777540913335.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.contact-hero__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b17d2d;
    margin-bottom: 20px;
}

.contact-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-hero__title .hero-gold {
    color: #b17d2d;
    font-style: italic;
    font-weight: 400;
}

.contact-hero__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.8vw, 18px);
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* --- CONTACT CARDS --- */
.contact-info {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(26, 18, 9, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(177, 125, 45, 0.08);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(177, 125, 45, 0.1);
}

.contact-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(177, 125, 45, 0.1);
    color: #b17d2d;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-card:hover .contact-card__icon {
    background: #b17d2d;
    color: #ffffff;
}

.contact-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1209;
    margin-bottom: 12px;
}

.contact-card__text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #5c5952;
    line-height: 1.6;
    margin: 0;
}

.contact-card__link {
    color: #b17d2d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-card__link:hover {
    color: #1a1209;
}

/* --- FORM SECTION --- */
.contact-section {
    padding: 80px 0;
}

.contact-flex {
    display: flex;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(26, 18, 9, 0.08);
}

.contact-image-side {
    flex: 0 0 42%;
    position: relative;
}

.contact-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-image-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05));
}

.contact-form-side {
    flex: 1;
    padding: clamp(40px, 6vw, 80px);
}

.form-header {
    margin-bottom: 40px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #1a1209;
    margin-bottom: 12px;
}

.form-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #5c5952;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--full {
    grid-column: span 2;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1209;
}

.form-input {
    font-family: 'Inter', sans-serif;
    padding: 16px 20px;
    background: #fdfaf5;
    border: 1px solid rgba(177, 125, 45, 0.1);
    border-radius: 8px;
    font-size: 15px;
    color: #1a1209;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #b17d2d;
    box-shadow: 0 0 0 4px rgba(177, 125, 45, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    grid-column: span 2;
    margin-top: 10px;
}

.btn-form {
    width: 100%;
    padding: 18px;
    background: #b17d2d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-form:hover {
    background: #1a1209;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 18, 9, 0.2);
}

/* --- MAP SECTION --- */
.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.map-tab {
    appearance: none;
    border: 1px solid rgba(177, 125, 45, 0.18);
    background: rgba(253, 250, 245, 0.9);
    color: #1a1209;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.map-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(177, 125, 45, 0.35);
}

.map-tab.is-active {
    background: #b17d2d;
    border-color: #b17d2d;
    color: #ffffff;
}

.map-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #1a1209;
}

.contact-map {
    height: 450px;
    background: #e5e5e5;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 20px 60px rgba(26, 18, 9, 0.05);
    position: relative;
}

.contact-map__pane {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.contact-map__pane.is-active {
    opacity: 1;
    pointer-events: auto;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .contact-flex {
        flex-direction: column;
    }
    .contact-image-side {
        height: 350px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 120px 24px 60px;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-group--full,
    .form-submit {
        grid-column: span 1;
    }
    .trust-lines {
        grid-column: span 1;
    }
    .form-status {
        grid-column: span 1;
    }
    .contact-info {
        margin-top: -40px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 520px) {
    .contact-form-side {
        padding: 30px 18px;
    }
    .contact-section {
        padding: 50px 0;
    }
    .contact-info {
        margin-top: -30px;
        padding-bottom: 40px;
    }
    .contact-card {
        padding: 30px 20px;
    }
    .contact-map {
        height: 300px;
        margin-bottom: 40px;
        border-radius: 16px;
    }
    .contact-flex {
        border-radius: 16px;
    }
    .contact-image-side {
        height: 260px;
    }
    .form-title {
        font-size: clamp(24px, 6vw, 32px);
    }
    .cta-strip-btns {
        flex-direction: column;
        width: 100%;
    }
    .btn-strip {
        width: 100%;
        text-align: center;
    }
}

/* --- TRUST LINES --- */
.trust-lines {
    grid-column: span 2;
    display: flex;
    gap: clamp(15px, 2vw, 30px);
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(177, 125, 45, 0.1);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1209;
}

.trust-item i {
    color: #10b981;
    font-size: 16px;
}

/* --- GLOBAL CTA STRIP --- */
.global-cta-strip {
    background: #111827;
    padding: 40px 0;
    border-top: 1px solid rgba(177, 125, 45, 0.2);
}

.global-cta-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-strip-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 3vw, 28px);
    color: #ffffff;
    margin: 0;
}

.cta-strip-btns {
    display: flex;
    gap: 15px;
}

.btn-strip {
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-strip--gold {
    background: #b17d2d;
    color: #ffffff;
}

.btn-strip--gold:hover {
    background: #ffffff;
    color: #1a1209;
}

.btn-strip--outline {
    border: 1.5px solid #ffffff;
    color: #ffffff;
}

.btn-strip--outline:hover {
    background: #ffffff;
    color: #1a1209;
}

@media screen and (max-width: 768px) {
    .global-cta-strip .container {
        flex-direction: column;
        text-align: center;
    }
    .cta-strip-btns {
        width: 100%;
        justify-content: center;
    }
    .trust-lines {
        flex-direction: column;
        gap: 12px;
    }
}

/* --- FORM STATUS --- */
.form-status {
    grid-column: span 2;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    display: none; /* Hidden by default */
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- BUTTON LOADING --- */
.btn-form.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-form.loading .btn-text {
    visibility: hidden;
}

.btn-form.loading::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- MOBILE OVERRIDES (must be last to override base grid-column: span 2) --- */
@media screen and (max-width: 768px) {
    .trust-lines,
    .form-status {
        grid-column: span 1;
    }
}
