
/* =========================================================
   Contact Page
========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(520px, 1.35fr) minmax(360px, 1fr);
    gap: 22px;
    max-width: 1700px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-card {
    height: 100%;
    background: rgba(255, 253, 251, 0.82);
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(173, 122, 99, 0.22);
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    margin: 0 0 18px;
    font-family: Georgia, serif;
    font-size: 32px;
    color: var(--deep-brown);
    text-align: center;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info-list {
    margin-bottom: 20px;
}

.contact-info-list p {
    margin: 0 0 12px;
    color: #73554a;
    line-height: 1.5;
}

.contact-info-list strong {
    color: var(--deep-brown);
}

.map-box {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(173, 122, 99, 0.22);
    box-shadow: var(--shadow-soft);
}

.map-box iframe {
    width: 100%;
    height: 360px;
    display: block;
    border: 0;
}

/* =========================================================
   Contact Videos
========================================================= */
.contact-videos {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(173, 122, 99, 0.22);
}

.contact-videos h3 {
    margin-bottom: 8px;
}

.contact-videos-intro {
    margin: 0 0 18px;
    color: #73554a;
    text-align: center;
    line-height: 1.5;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.video-box {
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 247, 241, 0.95);
    border: 1px solid rgba(173, 122, 99, 0.22);
    box-shadow: 0 14px 34px rgba(58, 36, 28, 0.1);
}

.video-box video {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 360px;
    display: block;
    border-radius: 18px;
    background: var(--espresso);
    object-fit: cover;
}

.video-box p {
    margin: 12px 4px 2px;
    color: var(--deep-brown);
    font-weight: 900;
    text-align: center;
}

/* Contact Video Switcher */
.contact-videos-card {
    display: flex;
    flex-direction: column;
}

.video-switch-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.video-switch-btn {
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(173, 122, 99, 0.28);
    border-radius: 999px;
    background: rgba(255, 253, 251, 0.88);
    color: var(--deep-brown);
    font-weight: 900;
    cursor: pointer;
}

.video-switch-btn.active {
    background: var(--espresso);
    color: var(--cream);
}

.contact-videos-card .video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: var(--espresso);
    border: 1px solid rgba(173, 122, 99, 0.22);
    box-shadow: 0 14px 34px rgba(58, 36, 28, 0.1);
}

.contact-videos-card video#contact-video-player {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 24px;
    background: #000;
}

.video-play-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    font-size: 42px;
    cursor: pointer;
    z-index: 5;
}

.contact-videos-card .video-box.is-playing .video-play-overlay {
    display: none;
    pointer-events: none;
}

#contact-video-caption {
    text-align: center;
    margin-top: 18px;
    font-weight: 700;
    color: var(--deep-brown);
}