﻿/* ============================================================
   IMPASTO — cinematic contact
   Same film language as the homepage. Original archived in Backups/contact/index-old.html
   is left untouched.
   ============================================================ */

body[data-page="contact"] .zc-clone-btn {
    display: none !important;
}

body[data-page="contact"] .zc-clone-drawer,
body[data-page="contact"] .zc-clone-overlay,
body[data-page="contact"] .payment-success-overlay {
    z-index: 1200000;
}

body[data-page="contact"] .sc-hero__actions .sc-btn {
    min-width: 168px;
}

body[data-page="contact"] .sc-hero .sc-kicker {
    letter-spacing: 0.06em;
    text-transform: none;
    max-width: 36ch;
    margin-inline: auto;
    margin-bottom: 12px;
    line-height: 1.7;
}

html.lang-en body[data-page="contact"] .sc-hero .sc-kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body[data-page="contact"] .sc-hero .sc-kicker::before,
body[data-page="contact"] .sc-hero .sc-kicker::after {
    display: none;
}

.cc-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(36px, 6vw, 88px);
    max-width: 1280px;
    margin: 0 auto;
}

.cc-hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(216, 185, 106, 0.18);
}

.cc-hours span {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(216, 185, 106, 0.78);
}

html[dir='rtl'] .cc-hours span {
    letter-spacing: 0.06em;
    text-transform: none;
}

.cc-hours strong {
    font-family: var(--sc-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #f0e0b6;
    direction: ltr;
    unicode-bidi: isolate;
}

.cc-stage-visual {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(216, 185, 106, 0.2);
    min-height: clamp(280px, 42vw, 460px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.cc-stage-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cc-stage-visual__caption {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f4efe6;
}

html[dir='rtl'] .cc-stage-visual__caption {
    letter-spacing: 0.08em;
    text-transform: none;
}

/* ── Contact cards ──────────────────────────────────── */
.cc-cards {
    padding-top: 0;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.cc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    padding: 28px 22px;
    text-decoration: none;
    color: inherit;
    background: rgba(18, 12, 8, 0.62);
    border: 1px solid rgba(216, 185, 106, 0.16);
    border-radius: 18px;
    transition: border-color 0.45s var(--sc-ease), transform 0.45s var(--sc-ease), background 0.45s var(--sc-ease);
}

.cc-card:hover {
    border-color: rgba(197, 88, 39, 0.55);
    background: rgba(28, 18, 12, 0.82);
    transform: translateY(-4px);
}

.cc-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(216, 185, 106, 0.28);
    color: #d8b96a;
    font-size: 1rem;
}

.cc-card__label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(216, 185, 106, 0.78);
}

html[dir='rtl'] .cc-card__label {
    letter-spacing: 0.08em;
    text-transform: none;
}

.cc-card__value {
    margin-top: auto;
    font-family: var(--sc-font-display);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #f4efe6;
}

/* ── Map ────────────────────────────────────────────── */
.cc-map {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: stretch;
    min-height: min(72vh, 640px);
    overflow: hidden;
}

.cc-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    filter: grayscale(0.35) contrast(1.05) saturate(0.85);
}

.cc-map__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 6vw, 72px);
    background: #0a0705;
}

.cc-map__copy .hc-text {
    max-width: 36ch;
}

.cc-map__copy .sc-btn {
    margin-top: 24px;
    align-self: flex-start;
}

@media (max-width: 1100px) {
    .cc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body[data-page="contact"] #header.sc-header {
        padding-top: calc(10px + env(safe-area-inset-top, 0px));
    }

    body[data-page="contact"] #header.sc-header .container {
        padding-inline: 16px;
    }

    body[data-page="contact"] #header.sc-header .custom-logo {
        width: 104px;
    }

    body[data-page="contact"] .sc-hero {
        min-height: 100svh;
        min-height: 100dvh;
        justify-content: center;
        padding:
            calc(96px + env(safe-area-inset-top, 0px))
            20px
            calc(78px + env(safe-area-inset-bottom, 0px));
    }

    body[data-page="contact"] .sc-hero__inner {
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
    }

    body[data-page="contact"] .sc-hero__word {
        font-size: clamp(2.55rem, 13.5vw, 3.5rem);
        line-height: 1.12;
    }

    html.lang-en body[data-page="contact"] .sc-hero__word {
        letter-spacing: 0.12em;
        font-size: clamp(2.2rem, 11vw, 3.1rem);
    }

    body[data-page="contact"] .sc-hero__lede {
        margin-top: 16px;
        max-width: 32ch;
        font-size: 0.98rem;
        line-height: 1.8;
    }

    body[data-page="contact"] .sc-hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 22px auto 0;
        gap: 10px;
    }

    body[data-page="contact"] .sc-hero .sc-btn,
    body[data-page="contact"] .cc-map__copy .sc-btn {
        width: 100%;
        min-width: 0;
        max-width: 300px;
        margin-inline: auto;
        padding: 13px 22px;
        letter-spacing: 0.1em;
        font-size: 0.78rem;
        display: flex;
        justify-content: center;
    }

    body[data-page="contact"] .sc-cue {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .cc-stage {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cc-stage-visual {
        order: -1;
        min-height: 0;
        aspect-ratio: 5 / 4;
    }

    .cc-grid {
        gap: 10px;
    }

    .cc-card {
        min-height: 0;
        padding: 20px 16px;
    }

    .cc-map {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .cc-map iframe {
        min-height: 280px;
        height: 280px;
    }

    .cc-map__copy {
        padding: 40px 20px calc(48px + env(safe-area-inset-bottom, 0px));
        text-align: center;
        align-items: center;
    }

    .cc-map__copy .hc-text {
        margin-inline: auto;
    }

    body[data-page="contact"] .sc-footer {
        padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    }

    body[data-page="contact"] .sc-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    body[data-page="contact"] .sc-footer__nav {
        justify-content: center;
        gap: 12px 18px;
    }
}

@media (max-width: 640px) {
    .cc-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-card:hover {
        transform: none;
    }
}

@keyframes zcSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
