/* ==========================================================
   FIGHTERS GYM
   PÁGINA DE CONTACTO
========================================================== */

.contact-page {
    background:
        radial-gradient(
            circle at 75% 8%,
            rgba(197, 30, 35, 0.08),
            transparent 26%
        ),
        #040404;
}


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

.contact-hero {
    position: relative;

    display: flex;
    align-items: flex-end;

    min-height: 66vh;

    padding:
        150px
        clamp(24px, 7vw, 110px)
        86px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #040404 0%,
            #0a0a0b 52%,
            #040404 100%
        );

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.contact-hero__glow {
    position: absolute;

    top: 50%;
    right: 5%;

    width: min(560px, 48vw);
    height: min(560px, 48vw);

    border:
        1px solid
        rgba(197, 30, 35, 0.09);

    border-radius: 50%;

    transform:
        translateY(-50%);

    box-shadow:
        0 0 80px rgba(197, 30, 35, 0.06),
        inset 0 0 80px rgba(197, 30, 35, 0.04);
}

.contact-hero__content {
    position: relative;
    z-index: 2;
}

.contact-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--red-light);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;

    text-transform: uppercase;

    text-shadow:
        0 0 12px rgba(239, 49, 56, 0.28);
}

.contact-hero h1 {
    margin: 0 0 20px;

    font-family: var(--font-heading);
    font-size: clamp(88px, 13vw, 190px);
    font-weight: 400;

    line-height: 0.77;
    text-transform: uppercase;

    text-shadow:
        0 0 18px rgba(255, 255, 255, 0.12),
        0 0 52px rgba(255, 255, 255, 0.035);
}

.contact-hero p {
    margin: 0;

    color: #d0d0d0;

    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500;
}

.contact-hero p span {
    color: var(--red-light);
}


/* ==========================================================
   DISTRIBUCIÓN PRINCIPAL
========================================================== */

.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.78fr)
        minmax(440px, 1.22fr);

    gap: clamp(34px, 6vw, 90px);

    max-width: 1400px;
    margin: 0 auto;

    padding:
        100px
        clamp(20px, 5vw, 76px)
        120px;
}


/* ==========================================================
   INFORMACIÓN
========================================================== */

.contact-info {
    align-self: start;
}

.contact-info h2,
.contact-form-panel h2 {
    margin: 0 0 34px;

    font-family: var(--font-heading);
    font-size: clamp(54px, 6vw, 90px);
    font-weight: 400;

    line-height: 0.88;
    text-transform: uppercase;

    text-shadow:
        0 0 14px rgba(255, 255, 255, 0.10);
}

.contact-info__list {
    margin-bottom: 30px;

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

.contact-info__item {
    padding: 22px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.contact-info__item span {
    display: block;

    margin-bottom: 8px;

    color: var(--red-light);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.contact-info__item p,
.contact-info__item a {
    margin: 0;

    color: #d2d2d2;

    font-size: 15px;
    line-height: 1.7;

    text-decoration: none;
}

.contact-info__item a:hover {
    color: var(--red-light);
}


/* ==========================================================
   ICONOS DE WHATSAPP E INSTAGRAM
========================================================== */

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    min-height: 48px;
    padding: 11px 16px;

    color: #ffffff;
    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.contact-social svg {
    width: 22px;
    height: 22px;

    fill: currentColor;

    flex: 0 0 auto;
}

.contact-social:hover {
    transform: translateY(-3px);

    background:
        rgba(255, 255, 255, 0.05);

    border-color:
        rgba(239, 49, 56, 0.34);

    box-shadow:
        0 0 24px rgba(197, 30, 35, 0.10);
}

.contact-social--whatsapp:hover {
    color: #69d99b;
}

.contact-social--instagram:hover {
    color: var(--red-light);
}


/* ==========================================================
   FORMULARIO
========================================================== */

.contact-form-panel {
    padding:
        clamp(28px, 4vw, 52px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    box-shadow:
        0 28px 74px rgba(0, 0, 0, 0.42),
        0 0 42px rgba(197, 30, 35, 0.05);

    backdrop-filter: blur(16px);
}

.contact-form__honeypot {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

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

.contact-field label {
    color: #b8b8b8;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;

    text-transform: uppercase;
}

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

    padding: 15px 2px;

    color: #ffffff;
    background: transparent;

    border: 0;
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 0;
    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

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

.contact-field textarea {
    resize: vertical;
}

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

    box-shadow:
        0 8px 18px -14px
        rgba(239, 49, 56, 0.55);
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
    border-bottom-color:
        #ff575d;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 26px 0;

    color: #aaa;

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

.contact-consent input {
    margin-top: 3px;
    accent-color: var(--red);
}

.contact-submit {
    border: 0;
}

.contact-submit[disabled] {
    opacity: 0.58;
    pointer-events: none;
}

.contact-status {
    min-height: 22px;
    margin: 18px 0 0;

    color: #bdbdbd;

    font-size: 13px;
    line-height: 1.5;
}

.contact-status.is-success {
    color: #9ed6a4;
}

.contact-status.is-error {
    color: #ff777c;
}


/* ==========================================================
   MAPA
========================================================== */

.contact-map {
    position: relative;

    width: 100%;
    height: 62vh;
    min-height: 470px;

    overflow: hidden;

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

.contact-map::after {
    position: absolute;
    inset: 0;

    content: "";

    pointer-events: none;

    box-shadow:
        inset 0 40px 70px rgba(0, 0, 0, 0.36),
        inset 0 -40px 70px rgba(0, 0, 0, 0.30);
}

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

    border: 0;

    filter:
        grayscale(1)
        invert(0.90)
        contrast(1.14)
        brightness(0.70);
}


/* ==========================================================
   APARICIONES
========================================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

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

@media (max-width: 640px) {
    .contact-hero {
        min-height: 62vh;

        padding:
            130px
            22px
            70px;
    }

    .contact-layout {
        padding:
            70px
            16px
            90px;
    }

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

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

    .contact-socials {
        flex-direction: column;
    }

    .contact-social {
        width: 100%;
        justify-content: center;
    }

    .contact-map {
        height: 54vh;
        min-height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-social,
    .reveal {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
