/* ==========================================================================
   MOLVIZADAH SONS — CONTACT PAGE (ms-cp- prefix; isolated from .ms-contact-*)
   Colors:  bg #F7F4EF | dark #1B1B1B | gold #C79A5B | text #202020 | border #E8E2D8
   Fonts:   Headings — Cormorant Garamond | Body — Inter
   ========================================================================== */

.ms-cp-hero,
.ms-cp-info-strip,
.ms-cp-offices,
.ms-cp-form-section {
    box-sizing: border-box;
}
.ms-cp-hero *,
.ms-cp-info-strip *,
.ms-cp-offices *,
.ms-cp-form-section * {
    box-sizing: border-box;
}

/* Shared container */
.ms-cp-hero-inner,
.ms-cp-info-inner,
.ms-cp-offices-inner,
.ms-cp-form-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* ---------------------------------------------------------------------
   01. HERO
--------------------------------------------------------------------- */
.ms-cp-hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    overflow: hidden;
    background-color: #F7F4EF;
    display: flex;
    align-items: center;
}
.ms-cp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.ms-cp-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}
.ms-cp-hero-fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        #F7F4EF 0%,
        #F7F4EF 36%,
        rgba(247,244,239,0.92) 44%,
        rgba(247,244,239,0.65) 52%,
        rgba(247,244,239,0.25) 62%,
        rgba(247,244,239,0) 80%
    );
}
.ms-cp-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 80px 40px;
}
.ms-cp-hero-left {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ms-cp-hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C79A5B;
    margin-bottom: 20px;
}
.ms-cp-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #202020;
    margin: 0 0 24px 0;
}
.ms-cp-hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #5B5B5B;
    max-width: 420px;
    margin-bottom: 32px;
}

/* Gold pill buttons */
.ms-cp-btn-gold,
.ms-cp-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    background-color: #C79A5B;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.ms-cp-btn-gold:hover,
.ms-cp-submit-btn:hover {
    background-color: #B58946;
    transform: translateY(-1px);
    color: #ffffff;
}
.ms-cp-btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background: #ce9847;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}
.ms-cp-btn-outline-gold:hover {
    background: #b5853e;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------------------
   02. CONTACT INFO STRIP
--------------------------------------------------------------------- */
.ms-cp-info-strip {
    background-color: #ffffff;
    padding: 64px 40px;
}
.ms-cp-info-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.ms-cp-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 32px;
    border-left: 1px solid #E8E2D8;
}
.ms-cp-info-item:first-child {
    border-left: none;
    padding-left: 0;
}
.ms-cp-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #C79A5B;
    color: #C79A5B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ms-cp-info-heading {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #202020;
    margin-bottom: 8px;
}
.ms-cp-info-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #5B5B5B;
    text-decoration: none;
    display: block;
}
a.ms-cp-info-text:hover {
    color: #C79A5B;
}

/* ---------------------------------------------------------------------
   03. GLOBAL OFFICES (dark)
--------------------------------------------------------------------- */
.ms-cp-offices {
    background-color: #1B1B1B;
    padding: 100px 40px;
}
.ms-cp-offices-inner {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 48px;
    align-items: center;
}
.ms-cp-offices-label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C79A5B;
    margin-bottom: 18px;
}
.ms-cp-offices-title {
    font-family: var(--font-display);
    font-size: 3.5rem  !important;;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px 0;
}
.ms-cp-offices-desc {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.7;
    color: #B8B8B8;
    margin-bottom: 32px;
    max-width: 320px;
}
.ms-cp-offices-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ms-cp-office-card {
    background-color: #232323;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}
.ms-cp-office-card:hover {
    transform: translateY(-4px);
}
.ms-cp-office-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.ms-cp-office-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ms-cp-office-body {
    padding: 20px;
}
.ms-cp-office-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #C79A5B;
    margin-bottom: 12px;
}
.ms-cp-office-title {
    font-family: var(--font-display);
    font-size: 1rem !important;;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}
.ms-cp-office-address {
    font-family: var(--font-display);
    font-size: 13px;
    line-height: 1.6;
    color: #A8A8A8;
    margin: 0 0 10px 0;
}
.ms-cp-office-phone {
    font-family: var(--font-display);
    font-size: 13px;
    color: #ffffff;
    margin: 0;
}

/* ---------------------------------------------------------------------
   04. CONTACT FORM
--------------------------------------------------------------------- */
.ms-cp-form-section {
    background-color: #F7F4EF;
    padding: 100px 40px;
}
.ms-cp-form-inner {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}
.ms-cp-form-left {
    position: sticky;
    top: 100px;
    padding-top: 0;
}
.ms-cp-form-label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C79A5B;
    margin-bottom: 18px;
}
.ms-cp-form-title {
    font-family: var(--font-display);
    font-size: 3.5rem  !important;;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: #202020;
    margin: 0 0 20px 0;
}
.ms-cp-form-desc {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.7;
    color: #5B5B5B;
    max-width: 340px;
}
.ms-cp-form-right .ms-rfq-form-container {
    background: #fcf8f4;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgb(69 64 64 / 10%);
}
.ms-cp-form-right .ms-rfq-section {
    margin-bottom: 8px;
}
.ms-cp-form-right .ms-rfq-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px 0 24px 0;
    border: none;
}
.ms-cp-form-right .ms-rfq-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C7A24B;
}
.ms-cp-form-right .ms-rfq-section-header h3 {
    font-size: 18px;
    color: #102A1D;
    margin: 0;
    font-weight: 700;
}
.ms-cp-form-right .ms-rfq-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
}
.ms-cp-form-right .ms-full-width {
    grid-column: 1 / -1;
}
.ms-cp-form-right .ms-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #102A1D;
    margin-bottom: 8px;
}
.ms-cp-form-right .ms-form-group label span {
    color: #C7A24B;
}
.ms-cp-form-right .ms-input-icon-wrapper,
.ms-cp-form-right .ms-textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color 0.3s;
}
.ms-cp-form-right .ms-input-icon-wrapper:focus-within,
.ms-cp-form-right .ms-textarea-wrapper:focus-within {
    border-color: #102A1D;
}
.ms-cp-form-right .ms-input-icon-wrapper svg {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    width: 20px;
    height: 20px;
    pointer-events: none;
    flex-shrink: 0;
}
.ms-cp-form-right .ms-input-icon-wrapper input,
.ms-cp-form-right .ms-input-icon-wrapper select {
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 16px 14px 48px;
    font-size: 14px;
    color: #102A1D;
    font-family: var(--font-display);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.ms-cp-form-right .ms-textarea-wrapper {
    align-items: flex-start;
}
.ms-cp-form-right .ms-textarea-wrapper .textarea-icon {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #9ca3af;
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.ms-cp-form-right .ms-textarea-wrapper textarea {
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 16px 14px 48px;
    font-size: 14px;
    color: #102A1D;
    font-family: var(--font-display);
    outline: none;
    resize: vertical;
    min-height: 140px;
}
.ms-cp-form-right .ms-select-wrapper .icon-right {
    position: absolute;
    right: 16px;
    left: auto;
    color: #9ca3af;
}
.ms-cp-form-right .ms-input-icon-wrapper input::placeholder,
.ms-cp-form-right .ms-textarea-wrapper textarea::placeholder {
    color: #9ca3af;
}
.ms-cp-submit-btn,
.ms-cp-form-right .ms-rfq-submit-btn {
    width: 100%;
    background: #ce9847;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    transition: background 0.3s, transform 0.3s;
    font-family: var(--font-display);
}
.ms-cp-submit-btn:hover,
.ms-cp-form-right .ms-rfq-submit-btn:hover {
    background: #b5853e;
    transform: translateY(-2px);
}
.ms-cp-submit-btn svg,
.ms-cp-form-right .ms-rfq-submit-btn svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}
.ms-cp-form-status {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 13px;
}
.ms-cp-form-status.is-success { color: #2E7D32; }
.ms-cp-form-status.is-error { color: #C0392B; }

/* ---------------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------------- */
/* ---------------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .ms-cp-hero {
        position: relative;
        width: 100%;
        min-height: auto;
        background-color: #F7F4EF;
        padding-top: 260px;
        padding-bottom: 40px;
        overflow: hidden;
        display: block;
    }
    .ms-cp-hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 480px;
        z-index: 1;
    }
    .ms-cp-hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .ms-cp-hero-fade {
        display: none;
    }
    .ms-cp-hero-inner {
        position: relative;
        z-index: 3;
        width: 100%;
        margin: 0 auto;
        padding: 0 1.25rem;
        min-height: auto;
        display: block;
    }
    .ms-cp-hero-left {
        background-color: #FFFFFF;
        border-radius: 24px;
        border: 1px solid rgba(229, 226, 220, 0.9);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        padding: 34px 24px 30px 24px;
        max-width: 100%;
        width: 100%;
    }
    .ms-cp-hero-title {
        font-size: 32px !important;
        line-height: 1.12 !important;
        margin: 0 0 14px 0 !important;
    }
    .ms-cp-hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .ms-cp-info-strip { padding: 48px 24px; }
    .ms-cp-info-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .ms-cp-info-item:nth-child(3) { border-left: none; padding-left: 0; }

    .ms-cp-offices { padding: 64px 24px; }
    .ms-cp-offices-inner { grid-template-columns: 1fr; gap: 40px; }
    .ms-cp-offices-right { grid-template-columns: repeat(2, 1fr); }

    .ms-cp-form-section { padding: 64px 24px; }
    .ms-cp-form-inner { grid-template-columns: 1fr; gap: 40px; }
    .ms-cp-form-left { position: static; }
    .ms-cp-form-title { font-size: 32px !important; line-height: 1.15 !important; }
}

@media (max-width: 640px) {
    .ms-cp-hero { padding-top: 20px; padding-bottom: 30px; }
    .ms-cp-hero-bg { height: 400px; }
    .ms-cp-hero-inner { padding: 0 1rem; }
    .ms-cp-hero-left { padding: 28px 20px 24px 20px; border-radius: 20px; }
    .ms-cp-hero-title { font-size: 28px !important; }

    .ms-cp-info-inner { grid-template-columns: 1fr; gap: 20px; }
    .ms-cp-info-item { border-left: none; padding-left: 0; border-top: 1px solid #E8E2D8; padding-top: 20px; }
    .ms-cp-info-item:first-child { border-top: none; padding-top: 0; }
    .ms-cp-info-text { white-space: nowrap; }

    .ms-cp-offices-right { grid-template-columns: 1fr; }
    .ms-cp-form-right .ms-rfq-form-grid { grid-template-columns: 1fr; }
    .ms-cp-form-right .ms-rfq-form-container { padding: 24px 18px; }
    .ms-cp-form-title { font-size: 26px !important; }
}
