
/* =========================================
   CONTACT HERO - MEXICANÍSIMO
========================================= */

.contact-hero {
    position: relative;
    isolation: isolate;

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

    width: 100%;
    min-height: 760px;
    height: 92vh;
    max-height: 950px;

    overflow: hidden;
    background: #080807;
}

/* =========================================
   BACKGROUND
========================================= */

.contact-hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image: url("../img/3.jpeg");
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.04);
    animation: contactHeroImage 1.8s ease forwards;
}

@keyframes contactHeroImage {

    from {
        transform: scale(1.12);
        opacity: .5;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

/* =========================================
   OVERLAY
========================================= */

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

    background:
        linear-gradient(
            90deg,
            rgba(5,5,5,.92) 0%,
            rgba(5,5,5,.78) 40%,
            rgba(5,5,5,.40) 75%,
            rgba(5,5,5,.30) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5,5,5,.85),
            transparent 35%,
            rgba(5,5,5,.20)
        );
}

/* Brillo dorado */

.contact-hero-glow {
    position: absolute;
    z-index: -1;

    width: 650px;
    height: 650px;

    top: 10%;
    left: -250px;

    background: radial-gradient(
        circle,
        rgba(216,184,121,.10),
        transparent 70%
    );

    pointer-events: none;
}

/* =========================================
   CONTAINER
========================================= */

.contact-hero-container {
    position: relative;

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

    width: 100%;
    max-width: 1350px;
    height: 100%;

    margin: 0 auto;
    padding: 100px 7% 75px;
}

/* =========================================
   CONTENT
========================================= */

.contact-hero-content {
    width: 100%;
    max-width: 850px;

    text-align: center;

    animation: contactContent 1s ease both;
    animation-delay: .2s;
}

@keyframes contactContent {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================
   EYEBROW
========================================= */

.contact-hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-bottom: 28px;

    color: #d8b879;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.contact-hero-line {
    width: 45px;
    height: 1px;

    background: #d8b879;
    opacity: .8;
}

/* =========================================
   TITLE
========================================= */

.contact-hero-content h1 {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;

    color: #f5f0e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 6vw, 76px);
    font-weight: 400;

    line-height: 1.16;
    letter-spacing: -1.5px;
}

.contact-hero-content h1 strong {
    display: block;

    margin-top: 8px;

    color: #d8b879;

    font-weight: 400;
    font-style: italic;
}

/* =========================================
   DESCRIPTION
========================================= */

.contact-hero-description {
    max-width: 680px;

    margin: 30px auto 0;

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

    font-size: 14px;
    font-weight: 300;

    line-height: 2;
    letter-spacing: .2px;
}

/* =========================================
   BUTTON
========================================= */

.contact-hero-actions {
    display: flex;
    justify-content: center;

    margin-top: 38px;
}

.contact-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 54px;
    padding: 0 30px;

    color: #17140e;

    background: #d8b879;
    border: 1px solid #d8b879;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;

    text-decoration: none;

    transition: all .35s ease;
}

.contact-hero-button i {
    font-size: 12px;
    transition: transform .3s ease;
}

.contact-hero-button:hover {
    color: #d8b879;
    background: transparent;

    box-shadow: 0 0 25px rgba(216,184,121,.12);
}

.contact-hero-button:hover i {
    transform: translateX(5px);
}

/* =========================================
   ORNAMENT
========================================= */

.contact-hero-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 45px;
}

.contact-hero-ornament span {
    width: 55px;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #d8b879
    );
}

.contact-hero-ornament span:last-child {
    transform: rotate(180deg);
}

.contact-hero-ornament i {
    color: #d8b879;
    font-size: 11px;
}

/* =========================================
   SCROLL INDICATOR
========================================= */

.contact-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

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

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;

    text-decoration: none;

    transform: translateX(-50%);
}

.contact-hero-scroll i {
    color: #d8b879;
    font-size: 13px;

    animation: contactScroll 1.5s ease-in-out infinite;
}

@keyframes contactScroll {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }

}

/* =========================================
   TRICOLOR
========================================= */

.contact-hero-tricolor {
    position: absolute;
    bottom: 0;
    left: 0;

    display: flex;

    width: 100%;
    height: 3px;
}

.contact-hero-tricolor span {
    flex: 1;
}

.contact-hero-tricolor span:nth-child(1) {
    background: #087b43;
}

.contact-hero-tricolor span:nth-child(2) {
    background: #e9e0cd;
}

.contact-hero-tricolor span:nth-child(3) {
    background: #b72c3b;
}

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

@media (max-width: 900px) {

    .contact-hero {
        min-height: 700px;
        height: 85vh;
    }

    .contact-hero-container {
        padding-left: 6%;
        padding-right: 6%;
    }

    .contact-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,5,5,.88),
                rgba(5,5,5,.62)
            ),
            linear-gradient(
                0deg,
                rgba(5,5,5,.8),
                transparent 60%
            );
    }

}

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

@media (max-width: 600px) {

    .contact-hero {
        min-height: 690px;
        height: 88svh;
        max-height: 820px;
    }

    .contact-hero-background {
        background-image: url("../img/8.jpeg");
        background-position: center center;
    }

    .contact-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,5,5,.58),
                rgba(5,5,5,.76) 45%,
                rgba(5,5,5,.94) 100%
            );
    }

    .contact-hero-container {
        padding: 115px 7% 90px;
    }

    .contact-hero-content {
        max-width: 100%;
    }

    .contact-hero-eyebrow {
        gap: 10px;
        margin-bottom: 23px;

        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .contact-hero-line {
        width: 25px;
    }

    .contact-hero-content h1 {
        font-size: clamp(39px, 10vw, 52px);
        line-height: 1.18;
        letter-spacing: -1px;
    }

    .contact-hero-content h1 strong {
        margin-top: 10px;
    }

    .contact-hero-description {
        margin-top: 24px;

        font-size: 12px;
        line-height: 1.9;
    }

    .contact-hero-actions {
        margin-top: 30px;
    }

    .contact-hero-button {
        width: 100%;
        max-width: 300px;
        min-height: 53px;

        padding: 0 15px;
        gap: 12px;

        font-size: 9px;
    }

    .contact-hero-ornament {
        margin-top: 35px;
    }

    .contact-hero-scroll {
        bottom: 22px;
        font-size: 8px;
    }

}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-hero-background,
    .contact-hero-content,
    .contact-hero-scroll i {
        animation: none;
    }

    .contact-hero-background {
        transform: none;
    }

}










/* =========================================
   CONTACT FORM - MEXICANÍSIMO
========================================= */

.contact-form-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    padding: 110px 7% 90px;

    background:
        radial-gradient(
            ellipse at 5% 15%,
            rgba(8,91,55,.12),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 95% 85%,
            rgba(153,31,43,.11),
            transparent 35%
        ),
        #090a09;
}

.contact-form-decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .12;

    background-image:
        linear-gradient(rgba(216,184,121,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216,184,121,.05) 1px, transparent 1px);

    background-size: 75px 75px;
}

.contact-form-container {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

/* ENCABEZADO */

.contact-form-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.contact-form-eyebrow {
    display: inline-block;
    margin-bottom: 20px;

    color: #d8b879;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contact-form-heading h2 {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;

    color: #f4eee3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
}

.contact-form-heading h2 strong {
    margin-top: 4px;
    color: #d8b879;
    font-weight: 400;
    font-style: italic;
}

.contact-form-heading > p {
    max-width: 600px;
    margin: 22px auto 0;

    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.9;
}

.contact-form-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 27px;
}

.contact-form-ornament span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d8b879);
}

.contact-form-ornament span:last-child {
    transform: rotate(180deg);
}

.contact-form-ornament i {
    color: #d8b879;
    font-size: 11px;
}

/* CONTENEDOR DEL FORMULARIO */

.contact-form {
    position: relative;
    width: 100%;
    padding: 48px 50px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        ),
        #10110f;

    border: 1px solid rgba(216,184,121,.25);
    box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

/* DETALLE DORADO SUPERIOR */

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        #087b43 0 33.33%,
        #e9e0cd 33.33% 66.66%,
        #b72c3b 66.66% 100%
    );
}

/* CABECERAS INTERNAS */

.contact-form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 28px;
}

.contact-form-number {
    display: block;
    margin-bottom: 8px;

    color: #d8b879;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-form-top h3 {
    margin: 0;

    color: #f4eee3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.contact-form-top > i {
    color: rgba(216,184,121,.55);
    font-size: 25px;
}

/* GRID DE CAMPOS */

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.contact-field label {
    margin-bottom: 10px;

    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .4px;
}

/* INPUTS Y SELECTS */

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-width: 0;
    padding: 15px 16px;

    color: #f4eee3;
    font-family: inherit;
    font-size: 12px;

    border: 1px solid rgba(216,184,121,.20);
    border-radius: 0;
    outline: none;

    background: rgba(255,255,255,.035);

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

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

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(255,255,255,.32);
}

.contact-field select {
    color-scheme: dark;
    cursor: pointer;
}

.contact-field select option {
    color: #f4eee3;
    background: #151512;
}

.contact-field textarea {
    min-height: 135px;
    resize: vertical;
    line-height: 1.8;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #d8b879;
    background: rgba(216,184,121,.045);
    box-shadow: 0 0 0 3px rgba(216,184,121,.07);
}

/* SEPARADORES */

.contact-form-divider {
    width: 100%;
    height: 1px;
    margin: 38px 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(216,184,121,.35),
        transparent
    );
}

/* BOTÓN DE ENVÍO */

.contact-form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    margin-top: 32px;
    text-align: center;
}

.contact-form-submit p {
    margin: 0;

    color: rgba(255,255,255,.43);
    font-size: 10px;
    line-height: 1.7;
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    max-width: 420px;
    min-height: 58px;
    padding: 14px 20px;

    color: #15130e;
    background: #d8b879;
    border: 1px solid #d8b879;

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    cursor: pointer;
    transition: all .35s ease;
}

.contact-submit-button > i:first-child {
    font-size: 20px;
}

.contact-submit-button > i:last-child {
    font-size: 11px;
    transition: transform .3s ease;
}

.contact-submit-button:hover {
    color: #d8b879;
    background: transparent;
    box-shadow: 0 0 30px rgba(216,184,121,.10);
}

.contact-submit-button:hover > i:last-child {
    transform: translateX(5px);
}

/* FOOTER DECORATIVO */

.contact-form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 45px;
    text-align: center;
}

.contact-form-footer-tricolor {
    display: flex;
    width: 55px;
    height: 3px;
}

.contact-form-footer-tricolor span {
    flex: 1;
}

.contact-form-footer-tricolor span:nth-child(1) {
    background: #087b43;
}

.contact-form-footer-tricolor span:nth-child(2) {
    background: #e9e0cd;
}

.contact-form-footer-tricolor span:nth-child(3) {
    background: #b72c3b;
}

.contact-form-footer p {
    margin: 0;

    color: rgba(255,255,255,.48);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-style: italic;
}

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

@media (max-width: 800px) {

    .contact-form-section {
        padding: 85px 5%;
    }

    .contact-form {
        padding: 38px 30px;
    }

}

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

@media (max-width: 600px) {

    .contact-form-section {
        padding: 75px 5% 65px;
    }

    .contact-form-heading {
        margin-bottom: 38px;
    }

    .contact-form-eyebrow {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .contact-form-heading h2 {
        font-size: 39px;
    }

    .contact-form-heading > p {
        font-size: 12px;
        line-height: 1.8;
    }

    .contact-form {
        padding: 32px 20px;
    }

    .contact-form-top {
        margin-bottom: 23px;
    }

    .contact-form-top h3 {
        font-size: 21px;
    }

    .contact-form-top > i {
        font-size: 21px;
    }

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

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

    .contact-field label {
        font-size: 10px;
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: 12px;
    }

    .contact-form-divider {
        margin: 30px 0;
    }

    .contact-submit-button {
        max-width: 100%;
        gap: 9px;
        padding: 13px 10px;
        font-size: 9px;
        letter-spacing: .5px;
    }

    .contact-form-submit p {
        font-size: 9px;
    }

}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-field input,
    .contact-field select,
    .contact-field textarea,
    .contact-submit-button {
        transition: none;
    }

}
