.contact {
    background: #f0f4f8;
    padding: 5rem 4rem;
}

/* ── Header ── */
.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    color: var(--blue-color);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.contact-header span::before,
.contact-header span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--blue-color);
    opacity: 0.45;
    transform: translateY(-50%);
}

.contact-header span::before { right: 100%; }
.contact-header span::after  { left: 100%; }

.contact-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--dark-color);
}

/* ── Grid ── */
.contactBox {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 16px;
    max-width: 1300px;
    margin: 0 auto;
}

/* ── Tab buttons ── */
.contactBox-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contactBox-buttons .tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 1.6rem 1rem;
    color: rgba(0,0,0,0.4);
    cursor: pointer;
    flex: 1;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: inherit;
}

.contactBox-buttons .tab-btn i {
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.contactBox-buttons .tab-btn:hover {
    background: #fff;
    color: rgba(0,0,0,0.82);
    border-color: rgba(0,0,0,0.15);
}

.contactBox-buttons .tab-btn.active {
    background: var(--blue-color);
    border-color: var(--blue-color);
    color: #fff;
}

/* ── Content panel ── */
.contactBox-left {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    height: 440px;
    overflow-y: auto;
}

.contactBox-left-topbox {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contactBox-left-topicon {
    color: var(--blue-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.contactBox-left-topbox span {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.contactBox-left-topbox small {
    color: rgba(0,0,0,0.4);
    font-size: 0.8rem;
}

/* Address rows */
.contactBox-left > .contact-panel > div:not(.contactBox-left-topbox):not(.price-row):not(.hours-row),
.contactBox-left > .contact-panel > a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.82);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contactBox-left > .contact-panel > a:hover { color: var(--dark-color); }

.contact-directions-btn,
.contact-directions-btn i {
    color: #fff !important;
}

.contact-directions-btn {
    margin-top: 1rem;
    border-bottom: none !important;
    padding: 9px 20px !important;
    align-self: flex-start;
}

.contactBox-left > .contact-panel > div:last-of-type,
.contactBox-left > .contact-panel > a:last-child { border: none; }

.contactBox-left > .contact-panel > div > i,
.contactBox-left > .contact-panel > a > i {
    color: var(--blue-color);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* ── Price rows ── */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.88rem;
    line-height: 1.3;
    color: rgba(0,0,0,0.82);
    gap: 0.75rem;
}

.price-row:last-child { border: none; }
.price-row__label { flex: 1; }

.price-row__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 0.84rem;
    flex-shrink: 0;
}

.price-row__prices .ukm { opacity: 0.55; }

.price-note {
    display: block;
    font-size: 0.75em;
    color: rgba(0,0,0,0.55);
}

/* ── Hours rows ── */
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.88rem;
    line-height: 1.3;
    color: rgba(0,0,0,0.82);
}

.hours-row:last-child { border: none; }

/* ── Map / photo panel ── */
.contactBox-right {
    border-radius: 20px;
    overflow: hidden;
    height: 440px;
    border: 1px solid rgba(0,0,0,0.07);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.contactBox-right .contact-panel {
    flex: 1;
    min-height: 0;
}

.map-box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.map-box iframe {
    flex: 1;
    width: 100%;
    min-height: 0;
}

.map-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* VIP pricing panel inside right column */
.contact-vip-panel {
    height: 100%;
    padding: 1.5rem 2rem;
    color: var(--dark-color);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.contactBox-left.full-width {
    grid-column: 2 / 4;
}


/* ── Breakpointy ── */

@media (max-width: 1200px) {
    .contact    { padding: 4rem 2rem; }
    .contactBox { grid-template-columns: 1fr; gap: 12px; }
    .contactBox-left.full-width { grid-column: auto; }
    .contactBox-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .contactBox-buttons .tab-btn {
        flex-direction: row;
        gap: 0.6rem;
        flex: 1;
        min-width: calc(33% - 6px);
        padding: 1rem 1.2rem;
        border-radius: 12px;
    }
    .contactBox-right { min-height: 380px; }
    .map-box          { height: 380px; }
    .contact-vip-panel { height: auto; }
}

@media (max-width: 660px) {
    .contact    { padding: 3rem 1rem; }
    .contactBox-buttons .tab-btn { min-width: calc(50% - 4px); }
    .contactBox-left { padding: 1.5rem; }
    .contact-vip-panel { padding: 1.5rem; }
}
