/* ============================================================
   Egoire – Luxury Contact Page
   File:  public/css/contact.css
   Namespace: co-
   ============================================================

   Design:  Calm, editorial luxury, feminine elegance
   Palette: Gold #C6A75E · Beige #FAF6F3 · Black #0a0a0a
   Fonts:   Playfair Display · Cormorant Garamond · Inter

   Table of Contents:
   1.  Container
   2.  Hero Section
   3.  Reasons Section
   4.  Reason Card
   5.  Contact Layout (Info + Form)
   6.  Contact Info Column
   7.  Contact Info Items
   8.  Social Links
   9.  Form Wrapper
   10. Form Elements
   11. Submit Button
   12. Tablet  (≤ 1199px)
   13. Mobile  (≤ 767px)
   14. Small Mobile (≤ 479px)
   15. Reduced Motion
   ============================================================ */


/* ============================================================
   1. CONTAINER
   ============================================================ */
.co-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}


/* ============================================================
   2. HERO SECTION
   ============================================================ */
.co-hero {
    padding: clamp(72px, 12vw, 120px) 0 clamp(56px, 8vw, 88px);
    text-align: center;
    background: linear-gradient(
        180deg,
        #FAF6F3 0%,
        #ffffff 100%
    );
}

.co-hero__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.co-hero__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 20px;
}

.co-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 1px;
    color: #0a0a0a;
    margin: 0 0 20px;
    line-height: 1.15;
}

.co-hero__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.02rem);
    font-weight: 300;
    line-height: 1.75;
    color: #6b6b6b;
    margin: 0;
}


/* ============================================================
   3. REASONS SECTION
   ============================================================ */
.co-reasons {
    padding: clamp(56px, 8vw, 96px) 0;
    background: #ffffff;
}

.co-reasons__header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto clamp(40px, 6vw, 64px);
}

.co-reasons__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.co-reasons__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.2;
}


/* ============================================================
   3b. REASONS GRID
   ============================================================ */
.co-reasons__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(16px, 3vw, 32px);
}


/* ============================================================
   4. REASON CARD
   ============================================================ */
.co-reason {
    text-align: center;
    padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px);
    background: #FAF6F3;
    border: 1px solid rgba(198, 167, 94, 0.1);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.co-reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 10, 10, 0.05);
}

.co-reason__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #ffffff;
    color: #C6A75E;
    border: 1px solid rgba(198, 167, 94, 0.18);
}

.co-reason__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.co-reason__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.65;
    color: #6b6b6b;
    margin: 0;
}


/* ============================================================
   5. CONTACT LAYOUT (Info + Form)
   ============================================================ */
.co-main {
    padding: clamp(64px, 10vw, 112px) 0;
    background: #FAF6F3;
}

.co-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}


/* ============================================================
   6. CONTACT INFO COLUMN
   ============================================================ */
.co-info {
    padding-top: 8px;
}

.co-info__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.co-info__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.co-info__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: #6b6b6b;
    margin: 0 0 36px;
}


/* ============================================================
   7. CONTACT INFO ITEMS
   ============================================================ */
.co-info__items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.co-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.co-info__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #C6A75E;
    border: 1px solid rgba(198, 167, 94, 0.15);
}

.co-info__item-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 4px;
}

.co-info__item-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.co-info__item-value:hover {
    color: #C6A75E;
}


/* ============================================================
   8. SOCIAL LINKS
   ============================================================ */
.co-info__social {
    padding-top: 24px;
    border-top: 1px solid rgba(198, 167, 94, 0.12);
}

.co-info__social-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 16px;
}

.co-info__social-links {
    display: flex;
    gap: 12px;
}

.co-info__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid rgba(198, 167, 94, 0.12);
    text-decoration: none;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.co-info__social-link:hover {
    background: #C6A75E;
    color: #ffffff;
    border-color: #C6A75E;
    transform: translateY(-2px);
}


/* ============================================================
   9. FORM WRAPPER
   ============================================================ */
.co-form-wrapper {
    background: #ffffff;
    border: 1px solid rgba(198, 167, 94, 0.1);
    border-radius: 4px;
    padding: clamp(32px, 4vw, 48px);
}


/* ============================================================
   10. FORM ELEMENTS
   ============================================================ */
.co-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.co-form__group {
    display: flex;
    flex-direction: column;
}

.co-form__group--full {
    margin-bottom: 28px;
}

.co-form__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.co-form__req {
    color: #C6A75E;
    font-weight: 400;
}

.co-form__input,
.co-form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #0a0a0a;
    background: #FAF6F3;
    border: 1px solid rgba(198, 167, 94, 0.15);
    border-radius: 3px;
    outline: none;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.co-form__input::placeholder,
.co-form__textarea::placeholder {
    color: #b0a89e;
    font-weight: 300;
}

.co-form__input:focus,
.co-form__textarea:focus {
    border-color: #C6A75E;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.1);
}

.co-form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}


/* ============================================================
   11. SUBMIT BUTTON
   ============================================================ */
.co-form__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0a0a0a;
    background: #C6A75E;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease,
                transform 0.3s ease;
}

.co-form__btn:hover {
    background: #b8993f;
    transform: translateY(-2px);
}

.co-form__btn:active {
    transform: translateY(0);
}

.co-form__btn svg {
    transition: transform 0.3s ease;
}

.co-form__btn:hover svg {
    transform: translateX(3px);
}


/* ============================================================
   12. GOOGLE MAPS SECTION
   ============================================================ */
.co-map {
    background: #FAF6F3;
    padding-bottom: clamp(64px, 10vw, 112px);
}

.co-map__header {
    text-align: center;
    padding: clamp(48px, 8vw, 80px) 0 clamp(28px, 4vw, 40px);
}

.co-map__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 16px;
}

.co-map__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 10px;
    line-height: 1.2;
}

.co-map__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #6b6b6b;
    margin: 0;
}

.co-map__frame {
    border: 1px solid rgba(198, 167, 94, 0.15);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(10, 10, 10, 0.04);
}

.co-map__iframe {
    width: 100%;
    height: clamp(280px, 45vw, 450px);
    display: block;
    border: 0;
}


/* ============================================================
   12b. TABLET (≤ 1199px)
   ============================================================ */
@media (max-width: 1199px) {
    .co-reasons__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* center the trailing 2 cards in a 3-col grid */
    .co-reasons__grid .co-reason:nth-child(4) {
        grid-column: 1 / 2;
    }

    .co-layout {
        grid-template-columns: 340px 1fr;
        gap: 40px;
    }
}


/* ============================================================
   13. MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    .co-reasons__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* reset centering for 2-col layout */
    .co-reasons__grid .co-reason:nth-child(4) {
        grid-column: auto;
    }

    .co-map__iframe {
        height: clamp(240px, 55vw, 320px);
    }

    /* center last (5th) card when alone */
    .co-reasons__grid .co-reason:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 300px;
        justify-self: center;
    }

    .co-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .co-info {
        text-align: center;
        padding-top: 0;
    }

    .co-info__item {
        justify-content: center;
        text-align: left;
    }

    .co-info__social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .co-info__social-links {
        justify-content: center;
    }

    .co-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .co-form-wrapper {
        padding: 28px 20px;
    }

    .co-form__btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    .co-form__input,
    .co-form__textarea {
        padding: 16px;
        font-size: 1rem; /* 16px prevents iOS zoom */
    }
}


/* ============================================================
   14. SMALL MOBILE (≤ 479px)
   ============================================================ */
@media (max-width: 479px) {
    .co-hero__label {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .co-reasons__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .co-reasons__grid .co-reason:last-child:nth-child(odd) {
        max-width: 100%;
    }

    .co-reason {
        padding: 24px 20px;
    }

    .co-form-wrapper {
        padding: 24px 16px;
    }
}


/* ============================================================
   15. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .co-reason,
    .co-info__social-link,
    .co-form__input,
    .co-form__textarea,
    .co-form__btn,
    .co-form__btn svg,
    a.co-info__item-value {
        transition: none;
    }
}
