/* =========================================================
   EL REY
   CONTACT PAGE
========================================================= */

.contact-page {
    background: #f6f0e7;
}

.contact-wrapper {
    width: min(90%, 1200px);
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    min-height: 650px;

    padding:
        calc(var(--header-height) + 100px)
        7%
        100px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,.94),
            rgba(36,10,15,.76),
            rgba(91,22,34,.48)
        ),
        url("images/menu/hero-food.jpg");

    background-size: cover;
    background-position: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.45),
            transparent 55%
        );
}

.contact-hero-content {
    width: min(1200px, 100%);

    margin: 0 auto;

    position: relative;

    z-index: 2;
}

.contact-kicker {
    color: var(--gold-light);

    font-size: .7rem;
    font-weight: 700;

    letter-spacing: .24em;

    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 900px;

    margin-top: 20px;

    font-family: var(--serif);

    font-size:
        clamp(4.5rem, 9vw, 8rem);

    font-weight: 500;

    line-height: .88;

    letter-spacing: -.045em;
}

.contact-hero h1 span {
    display: block;

    color: var(--gold-light);

    font-style: italic;
}

.contact-hero-content > p:last-child {
    max-width: 580px;

    margin-top: 30px;

    color: rgba(255,255,255,.65);

    font-size: 1rem;

    line-height: 1.8;
}

.contact-hero-word {
    position: absolute;

    right: -30px;
    bottom: -75px;

    color: rgba(255,255,255,.025);

    font-family: var(--serif);

    font-size:
        clamp(14rem, 28vw, 28rem);

    font-weight: 700;

    user-select: none;
}


/* =========================================================
   INFO CARDS
========================================================= */

.contact-info-section {
    padding: 0 0 110px;

    background: #f6f0e7;
}

.contact-info-grid {
    position: relative;

    z-index: 5;

    margin-top: -55px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    background: #ffffff;

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.1);
}

.contact-info-card {
    min-height: 290px;

    padding: 38px;

    display: flex;

    flex-direction: column;

    color: #222222;

    border-right:
        1px solid #ebe4da;

    transition:
        transform .3s ease,
        background .3s ease;
}

.contact-info-card:last-child {
    border-right: 0;
}

a.contact-info-card:hover {
    transform: translateY(-5px);

    background: #faf7f2;
}

.contact-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--wine);

    border:
        1px solid rgba(124,31,45,.17);

    border-radius: 50%;

    font-size: 1.25rem;
}

.contact-info-card > span {
    margin-top: 28px;

    color: var(--wine);

    font-size: .56rem;
    font-weight: 700;

    letter-spacing: .16em;
}

.contact-info-card h3 {
    margin-top: 10px;

    font-family: var(--serif);

    font-size: 1.7rem;

    font-weight: 500;
}

.contact-info-card p {
    margin-top: 11px;

    color: #777068;

    font-size: .87rem;

    line-height: 1.7;
}

.contact-info-card strong {
    margin-top: auto;

    padding-top: 25px;

    color: var(--wine);

    font-size: .65rem;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   MAIN CONTACT
========================================================= */

.contact-main-section {
    padding: 0 0 120px;

    background: #f6f0e7;
}

.contact-main-grid {
    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    background: #ffffff;
}


/* FORM SIDE */

.contact-form-side {
    padding:
        85px
        clamp(40px, 6vw, 85px);
}

.contact-form-side h2 {
    margin-top: 12px;

    font-family: var(--serif);

    font-size:
        clamp(3.5rem, 5.5vw, 5rem);

    font-weight: 500;

    line-height: .96;
}

.contact-form-side h2 span {
    display: block;

    color: var(--wine);

    font-style: italic;
}

.contact-form-intro {
    max-width: 530px;

    margin-top: 20px;

    color: #777068;

    line-height: 1.8;
}

.contact-form {
    margin-top: 45px;
}

.contact-form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

.contact-field {
    margin-bottom: 22px;
}

.contact-field label {
    display: block;

    margin-bottom: 9px;

    color: #2c2825;

    font-size: .68rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    padding: 15px 16px;

    border:
        1px solid #ded6cb;

    border-radius: 0;

    outline: none;

    background: #fbf8f4;

    color: #222222;

    font-family: inherit;

    font-size: .92rem;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.contact-field input,
.contact-field select {
    min-height: 52px;
}

.contact-field textarea {
    resize: vertical;

    min-height: 170px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--wine);

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(124,31,45,.07);
}

.contact-submit-button {
    width: 100%;

    min-height: 56px;

    border: 0;

    background: var(--wine);

    color: #ffffff;

    cursor: pointer;

    font-family: inherit;

    font-size: .68rem;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition:
        background .25s ease,
        transform .25s ease;
}

.contact-submit-button:hover {
    background: var(--wine-dark);

    transform: translateY(-2px);
}


/* DETAILS SIDE */

.contact-details-side {
    position: relative;

    display: flex;

    background:
        linear-gradient(
            145deg,
            rgba(52,10,17,.98),
            rgba(112,25,39,.96)
        );

    color: #ffffff;

    overflow: hidden;
}

.contact-details-side::after {
    content: "PERÚ";

    position: absolute;

    right: -30px;
    bottom: -35px;

    color: rgba(255,255,255,.025);

    font-family: var(--serif);

    font-size: 10rem;

    font-weight: 700;
}

.contact-detail-content {
    width: 100%;

    padding:
        85px
        clamp(40px, 6vw, 80px);

    position: relative;

    z-index: 2;
}

.contact-detail-content h2 {
    margin-top: 12px;

    font-family: var(--serif);

    font-size:
        clamp(3.3rem, 5vw, 4.8rem);

    font-weight: 500;

    line-height: .98;
}

.contact-detail-content h2 span {
    display: block;

    color: var(--gold-light);

    font-style: italic;
}

.contact-detail-description {
    margin-top: 22px;

    color: rgba(255,255,255,.58);

    line-height: 1.8;
}

.contact-detail-list {
    margin-top: 45px;
}

.contact-detail-item {
    padding: 23px 0;

    border-top:
        1px solid rgba(255,255,255,.14);
}

.contact-detail-item:last-child {
    border-bottom:
        1px solid rgba(255,255,255,.14);
}

.contact-detail-item > span {
    color: var(--gold-light);

    font-size: .56rem;

    font-weight: 700;

    letter-spacing: .16em;
}

.contact-detail-item p,
.contact-detail-item a {
    margin-top: 9px;

    display: block;

    color: rgba(255,255,255,.68);

    font-size: .9rem;

    line-height: 1.7;
}

.contact-detail-item a:hover {
    color: #ffffff;
}

.contact-detail-buttons {
    margin-top: 38px;

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.contact-outline-button {
    color: #ffffff;

    border:
        1px solid rgba(255,255,255,.4);

    background: transparent;
}

.contact-outline-button:hover {
    color: #111111;

    background: #ffffff;
}


/* =========================================================
   MAP
========================================================= */

.contact-map-section {
    padding: 110px 5%;

    background: #eee3d4;
}

.contact-map-heading {
    width: min(100%, 1200px);

    margin: 0 auto 45px;

    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 30px;
}

.contact-map-heading h2 {
    margin-top: 12px;

    font-family: var(--serif);

    font-size:
        clamp(3.4rem, 5.5vw, 5rem);

    font-weight: 500;

    line-height: .97;
}

.contact-map-heading h2 span {
    display: block;

    color: var(--wine);

    font-style: italic;
}

.contact-map-heading > a {
    padding-bottom: 7px;

    color: var(--wine);

    font-size: .67rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.contact-map {
    width: min(100%, 1200px);

    height: 520px;

    margin: 0 auto;

    overflow: hidden;

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.12);
}

.contact-map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-final-cta {
    min-height: 380px;

    padding: 80px 7%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #111111,
            #261116
        );
}

.contact-final-cta h2 {
    max-width: 700px;

    margin-top: 10px;

    font-family: var(--serif);

    font-size:
        clamp(3.3rem, 5vw, 5rem);

    font-weight: 500;

    line-height: .98;
}

.contact-final-cta h2 span {
    display: block;

    color: var(--gold-light);

    font-style: italic;
}

.contact-final-cta p:not(.section-label) {
    margin-top: 18px;

    color: rgba(255,255,255,.53);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-info-card {
        padding: 30px;
    }

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

    .contact-details-side {
        min-height: 620px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .contact-hero {
        min-height: 620px;

        padding:
            calc(var(--header-height) + 75px)
            6%
            75px;
    }

    .contact-hero h1 {
        font-size:
            clamp(4rem, 19vw, 5.7rem);
    }


    .contact-info-section {
        padding-bottom: 80px;
    }

    .contact-info-grid {
        margin-top: -35px;

        grid-template-columns: 1fr;
    }

    .contact-info-card {
        min-height: 230px;

        border-right: 0;

        border-bottom:
            1px solid #ebe4da;
    }

    .contact-info-card:last-child {
        border-bottom: 0;
    }


    .contact-main-section {
        padding-bottom: 80px;
    }

    .contact-form-side,
    .contact-detail-content {
        padding: 65px 6%;
    }

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

        gap: 0;
    }

    .contact-detail-buttons {
        flex-direction: column;
    }

    .contact-detail-buttons .btn {
        width: 100%;
    }


    .contact-map-section {
        padding: 80px 5%;
    }

    .contact-map-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .contact-map {
        height: 430px;
    }


    .contact-final-cta {
        min-height: auto;

        padding: 75px 6%;

        align-items: flex-start;

        flex-direction: column;
    }

    .contact-final-cta .btn {
        width: 100%;
    }

}