.contact-page {
    --color-cream: #fffbf5;
    --color-ivory: #f7f3ed;
    --color-warm-white: #fefcf9;
    --color-gold-dark: #8b6914;
    --color-charcoal: #1c1c1c;
    --color-charcoal-soft: #3a3a3a;
    --color-taupe: #a69080;
    --color-line: #d7cec3;
    --color-soft-rose: #d9bfb7;
    --color-soft-rose-dark: #cdaea4;
    --color-success: #2f7d57;
    --color-success-soft: #eef8f1;
    --color-error: #a33a3a;
    --color-error-soft: #fff4f4;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    font-family: var(--font-body);
    color: var(--color-charcoal);
    background: #f8f6f2;
    min-height: 100vh;
    padding-top: 0;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page a {
    text-decoration: none;
    color: inherit;
}

.contact-header-shell {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-header-shell .top-bar,
.contact-header-shell .site-header,
.contact-header-shell .lux-header {
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.contact-header-shell .top-bar {
    background: transparent;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-header-shell .site-header,
.contact-header-shell .lux-header {
    background: transparent;
}

.contact-header-shell .site-header {
    padding-top: 0;
    padding-bottom: 0;
}

.contact-header-shell .lux-header {
    min-height: auto;
}

.contact-header-shell .logo,
.contact-header-shell .main-nav a,
.contact-header-shell .icon-link,
.contact-header-shell .search-wrap {
    color: #ffffff;
    transition: color 0.28s ease;
}

.contact-header-shell .count-badge {
    color: #1c1c1c;
    background: rgba(255, 255, 255, 0.92);
}

/* same white style for hover and scroll */
.contact-header-shell:hover,
.contact-header-shell.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-header-shell:hover .top-bar,
.contact-header-shell.is-scrolled .top-bar {
    background: #ffffff;
    color: #1c1c1c;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-header-shell:hover .site-header,
.contact-header-shell:hover .lux-header,
.contact-header-shell.is-scrolled .site-header,
.contact-header-shell.is-scrolled .lux-header {
    background: #ffffff;
}

.contact-header-shell:hover .logo,
.contact-header-shell:hover .main-nav a,
.contact-header-shell:hover .icon-link,
.contact-header-shell:hover .search-wrap,
.contact-header-shell.is-scrolled .logo,
.contact-header-shell.is-scrolled .main-nav a,
.contact-header-shell.is-scrolled .icon-link,
.contact-header-shell.is-scrolled .search-wrap {
    color: #1c1c1c;
}

.contact-header-shell:hover .count-badge,
.contact-header-shell.is-scrolled .count-badge {
    color: #ffffff;
    background: #1c1c1c;
}

.contact-header-shell:hover .main-nav a.active,
.contact-header-shell.is-scrolled .main-nav a.active {
    color: var(--color-gold-dark);
}

.contact-media-hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    background: #ece9e3;
}

.contact-media-card {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #efede8;
}

.media-card-wide {
    min-height: 720px;
}

.media-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.media-poster,
.media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-poster {
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.media-video {
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.45s ease;
    transform: scale(1.01);
    pointer-events: none;
}

.contact-media-card.is-playing .media-poster {
    opacity: 0;
    transform: scale(1.03);
}

.contact-media-card.is-playing .media-video {
    opacity: 1;
    transform: scale(1);
}

.media-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1c1c1c;
    background: rgba(245, 240, 234, 0.95);
    border: 1px solid rgba(28, 28, 28, 0.6);
}

.media-card-wide .media-tag {
    top: 60px;
    left: auto;
    right: 24px;
    bottom: auto;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.95rem;
    padding: 8px 14px;
    background: rgba(50, 50, 50, 0.82);
    color: #fff;
    border: 0;
}

.contact-page-shell {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: auto;
    background: #f8f6f2;
}

.contact-sidebar {
    border-right: 1px solid rgba(166, 144, 128, 0.25);
    background: #f7f5f0;
}

.contact-sidebar-inner {
    padding: 48px 24px 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 34px;
    color: #111;
}

.contact-sidebar-meta {
    margin-top: 30px;
    color: var(--color-charcoal-soft);
    font-size: 0.98rem;
    line-height: 1.75;
}

.contact-sidebar-meta p {
    margin: 0;
}

.contact-sidebar-meta p + p {
    margin-top: 10px;
}

.meta-heading {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-taupe);
}

.response-highlight {
    font-weight: 600;
    color: var(--color-charcoal);
}

.contact-form-panel {
    padding: 48px 54px 70px;
}

.contact-form-inner {
    max-width: 920px;
}

.contact-form-title {
    font-family: var(--font-body);
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #111;
}

.contact-form-intro {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.8;
    color: #4b4b4b;
}

.veloura-contact-form {
    width: 100%;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 24px;
}

.field-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.field-group label {
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.field-group input,
.field-group textarea {
    width: 100%;
    border: 1px solid #c8c0b7;
    background: #fcfbf8;
    color: #1c1c1c;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 18px 16px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.field-group input {
    min-height: 60px;
}

.field-group textarea {
    min-height: 190px;
    resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
    border-color: var(--color-charcoal);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.03);
}

.phone-wrap {
    display: grid;
    grid-template-columns: 98px 1fr;
    border: 1px solid #c8c0b7;
    background: #fcfbf8;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #c8c0b7;
    font-size: 1rem;
    color: #1c1c1c;
    background: #f4eee7;
    min-height: 60px;
}

.phone-wrap input {
    border: 0;
    background: transparent;
    padding: 18px 16px;
}

.phone-wrap:focus-within {
    border-color: var(--color-charcoal);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.03);
}

.field-full {
    grid-column: 1 / -1;
}

.char-note {
    margin-top: 10px;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.captcha-row {
    margin-top: 26px;
    margin-bottom: 18px;
}

.form-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status-error {
    background: var(--color-error-soft);
    border: 1px solid #f0caca;
    color: var(--color-error);
}

.form-status-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(163, 58, 58, 0.12);
    flex-shrink: 0;
}

.form-submit-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
}

.contact-submit {
    min-width: 280px;
    padding: 18px 34px;
    border: 0;
    background: var(--color-soft-rose);
    color: #1c1c1c;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit:hover {
    background: var(--color-soft-rose-dark);
    transform: translateY(-1px);
}

.contact-submit:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.main-nav a.active {
    color: inherit;
}

.success-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.success-modal.is-visible {
    display: block;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.42);
    backdrop-filter: blur(2px);
}

.success-modal-card {
    position: relative;
    width: min(92vw, 520px);
    margin: 10vh auto 0;
    background: #fffdfa;
    border-radius: 24px;
    padding: 32px 28px 28px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.success-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #444;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.success-icon-circle {
    width: 86px;
    height: 86px;
    margin: 6px auto 18px;
    border-radius: 50%;
    background: var(--color-success-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-circle svg {
    width: 48px;
    height: 48px;
}

.success-icon-circle circle,
.success-icon-circle path {
    stroke: var(--color-success);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-eyebrow {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-taupe);
}

.success-modal-card h3 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.1;
    color: #111;
}

.success-message-text {
    margin: 0 auto 22px;
    max-width: 380px;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

.success-modal-button {
    min-width: 180px;
    padding: 14px 24px;
    border: 0;
    background: var(--color-soft-rose);
    color: #1c1c1c;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.success-modal-button:hover {
    background: var(--color-soft-rose-dark);
    transform: translateY(-1px);
}

@media (max-width: 1200px) {
    .contact-media-hero {
        grid-template-columns: 1fr 1fr;
    }

    .contact-media-card,
    .media-card-wide {
        min-height: 520px;
    }

    .contact-page-shell {
        grid-template-columns: 280px 1fr;
    }

    .contact-form-panel {
        padding: 40px 32px 56px;
    }
}

@media (max-width: 980px) {
    .contact-page {
        padding-top: 0;
    }

    .contact-media-hero {
        grid-template-columns: 1fr 1fr;
        margin-top: 150px;
    }

    .contact-media-card,
    .media-card-wide {
        min-height: 420px;
    }

    .contact-page-shell {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(166, 144, 128, 0.25);
    }

    .contact-sidebar-inner {
        padding: 32px 22px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    .form-submit-row {
        justify-content: stretch;
    }

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

@media (max-width: 640px) {
    .contact-page {
        padding-top: 0;
    }

    .contact-media-hero {
        grid-template-columns: 1fr;
        margin-top: 138px;
    }

    .contact-media-card,
    .media-card-wide {
        min-height: 360px;
    }

    .media-card-wide .media-tag {
        top: auto;
        right: auto;
        left: 16px;
        bottom: 16px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .contact-form-panel {
        padding: 28px 18px 42px;
    }

    .contact-form-title {
        font-size: 1.8rem;
    }

    .contact-form-intro {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .phone-wrap {
        grid-template-columns: 86px 1fr;
    }

    .phone-prefix {
        font-size: 0.95rem;
    }

    .captcha-row {
        overflow-x: auto;
    }

    .success-modal-card {
        margin-top: 12vh;
        padding: 28px 20px 24px;
    }

    .success-modal-card h3 {
        font-size: 1.65rem;
    }
}
