/* =========================================================
   CONTACTO
   BLOQUE 01 - HERO
========================================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(247, 147, 30, .12),
            transparent 31%
        ),
        radial-gradient(
            circle at 67% 68%,
            rgba(75, 170, 90, .10),
            transparent 32%
        ),
        #f7f7f5;
    color: #111;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.contact-hero__inner {
    width: min(1380px, calc(100% - 80px));
    min-height: 720px;
    margin: 0 auto;
    padding: 150px 0 100px;

    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
    align-items: center;
    gap: clamp(50px, 7vw, 120px);
}


/* =========================================================
   CONTENIDO
========================================================= */

.contact-hero__content {
    position: relative;
    z-index: 5;

    opacity: 0;
    transform: translateY(25px);
    animation: contactHeroIn .9s ease forwards;
}


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

.contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #666;
}


.contact-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4baa5a;

    box-shadow:
        0 0 0 5px rgba(75, 170, 90, .10);
}


/* =========================================================
   TITULO
========================================================= */

.contact-hero__title {
    margin: 0;

    font-size: clamp(72px, 8vw, 132px);
    line-height: .88;
    letter-spacing: -.065em;
    font-weight: 600;

    color: #111;
}


.contact-hero__title span {
    color: #f7931e;
}


/* =========================================================
   LEAD
========================================================= */

.contact-hero__lead {
    max-width: 700px;

    margin: 38px 0 0;

    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.25;
    letter-spacing: -.025em;

    color: #242424;
}


.contact-hero__lead strong {
    display: block;

    margin-top: 3px;

    font-weight: 500;
    color: #4baa5a;
}


/* =========================================================
   TEXTO
========================================================= */

.contact-hero__text {
    max-width: 650px;

    margin: 28px 0 0;

    font-size: 17px;
    line-height: 1.75;

    color: #626262;
}


/* =========================================================
   BOTONES
========================================================= */

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

    margin-top: 38px;
}


.contact-hero__button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 25px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


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


.contact-hero__button--primary {
    background: #111;
    color: #fff;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .13);
}


.contact-hero__button--primary:hover {
    background: #f7931e;
}


.contact-hero__button--whatsapp {
    background: #25d366;
    color: #fff;

    box-shadow:
        0 12px 30px rgba(37, 211, 102, .20);
}


.contact-hero__button--whatsapp:hover {
    background: #1fbd5a;
}


/* =========================================================
   VISUAL
========================================================= */

.contact-hero__visual {
    position: relative;

    width: min(100%, 620px);
    aspect-ratio: 1 / 1;

    justify-self: end;

    opacity: 0;
    transform: scale(.94);
    animation:
        contactVisualIn 1s .18s ease forwards;
}


/* =========================================================
   CIRCULOS
========================================================= */

.contact-hero__orbit {
    position: absolute;
    inset: 50% auto auto 50%;

    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .10);

    transform: translate(-50%, -50%);
}


.contact-hero__orbit--one {
    width: 74%;
    height: 74%;
}


.contact-hero__orbit--two {
    width: 100%;
    height: 100%;

    border-style: dashed;

    animation:
        contactOrbitRotate 45s linear infinite;
}


/* =========================================================
   CENTRO
========================================================= */

.contact-hero__center {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 220px;
    height: 220px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

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

    text-align: center;

    background: #111;
    color: #fff;

    box-shadow:
        0 35px 70px rgba(0, 0, 0, .18);
}


.contact-hero__center span {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}


.contact-hero__center strong {
    display: block;

    margin-top: 7px;

    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.03em;
}


/* =========================================================
   TAGS
========================================================= */

.contact-hero__tag {
    position: absolute;

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

    padding: 12px 19px;

    border-radius: 999px;

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

    border: 1px solid rgba(0, 0, 0, .08);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .07);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    white-space: nowrap;

    font-size: 13px;
    font-weight: 500;

    animation:
        contactTagFloat 5s ease-in-out infinite;
}


.contact-hero__tag--web {
    left: 4%;
    top: 16%;
}


.contact-hero__tag--hosting {
    right: 1%;
    top: 18%;

    animation-delay: -.8s;
}


.contact-hero__tag--dominios {
    right: -3%;
    top: 52%;

    animation-delay: -1.6s;
}


.contact-hero__tag--sistemas {
    right: 13%;
    bottom: 8%;

    animation-delay: -2.2s;
}


.contact-hero__tag--soporte {
    left: 4%;
    bottom: 15%;

    animation-delay: -3s;
}


.contact-hero__tag--idea {
    left: -5%;
    top: 50%;

    background: #f7931e;
    color: #fff;

    border-color: transparent;

    animation-delay: -1.2s;
}


/* =========================================================
   TICKER
========================================================= */

.contact-hero__ticker {
    position: relative;
    z-index: 10;

    overflow: hidden;

    border-top: 1px solid rgba(0, 0, 0, .08);

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

    backdrop-filter: blur(10px);
}


.contact-hero__ticker-track {
    width: max-content;

    min-height: 70px;

    display: flex;
    align-items: center;
    gap: 28px;

    animation:
        contactTicker 34s linear infinite;
}


.contact-hero__ticker span {
    font-size: 14px;
    font-weight: 500;

    color: #555;

    white-space: nowrap;
}


.contact-hero__ticker i {
    display: block;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #f7931e;
}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes contactHeroIn {

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

}


@keyframes contactVisualIn {

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

}


@keyframes contactOrbitRotate {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


@keyframes contactTagFloat {

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

    50% {
        transform: translateY(-9px);
    }

}


@keyframes contactTicker {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


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

@media (max-width: 1050px) {

    .contact-hero__inner {
        width: min(100% - 50px, 900px);

        grid-template-columns: 1fr;

        padding-top: 130px;
        padding-bottom: 70px;
    }


    .contact-hero__visual {
        width: min(100%, 570px);
        justify-self: center;
    }

}


@media (max-width: 680px) {

    .contact-hero__inner {
        width: calc(100% - 36px);

        min-height: auto;

        padding-top: 115px;
        padding-bottom: 60px;

        gap: 60px;
    }


    .contact-hero__title {
        font-size: clamp(64px, 21vw, 95px);
    }


    .contact-hero__lead {
        margin-top: 28px;

        font-size: 24px;
    }


    .contact-hero__text {
        font-size: 15px;
    }


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


    .contact-hero__button {
        width: 100%;
    }


    .contact-hero__visual {
        width: 100%;
        max-width: 440px;
    }


    .contact-hero__center {
        width: 170px;
        height: 170px;
    }


    .contact-hero__center strong {
        font-size: 23px;
    }


    .contact-hero__tag {
        padding: 9px 13px;

        font-size: 11px;
    }


    .contact-hero__tag--web {
        left: 0;
    }


    .contact-hero__tag--hosting {
        right: 0;
    }


    .contact-hero__tag--dominios {
        right: -3%;
    }


    .contact-hero__tag--idea {
        left: -2%;
    }

}


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

    .contact-hero__content,
    .contact-hero__visual,
    .contact-hero__orbit--two,
    .contact-hero__tag,
    .contact-hero__ticker-track {
        animation: none;
    }


    .contact-hero__content,
    .contact-hero__visual {
        opacity: 1;
        transform: none;
    }

}
/* =========================================================
   CONTACTO
   BLOQUE 02 - FORMULARIO
========================================================= */

.contact-form-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;

    background: #111;
    color: #fff;
}


.contact-form-section::before {
    content: "";

    position: absolute;
    width: 650px;
    height: 650px;

    right: -250px;
    top: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(247, 147, 30, .18),
            rgba(247, 147, 30, 0) 70%
        );

    pointer-events: none;
}


.contact-form-section::after {
    content: "";

    position: absolute;
    width: 550px;
    height: 550px;

    left: -240px;
    bottom: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(75, 170, 90, .14),
            rgba(75, 170, 90, 0) 70%
        );

    pointer-events: none;
}


/* =========================================================
   INNER
========================================================= */

.contact-form-section__inner {
    position: relative;
    z-index: 2;

    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(340px, .8fr)
        minmax(0, 1.2fr);

    gap: clamp(60px, 8vw, 130px);

    align-items: start;
}


/* =========================================================
   INFORMACION
========================================================= */

.contact-form-section__info {
    position: sticky;
    top: 130px;
}


.contact-form-section__eyebrow {
    display: block;

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;

    color: #f7931e;
}


.contact-form-section__title {
    margin: 0;

    max-width: 580px;

    font-size: clamp(48px, 5vw, 78px);
    line-height: .98;

    font-weight: 500;

    letter-spacing: -.055em;

    color: #fff;
}


.contact-form-section__title span {
    color: #4baa5a;
}


.contact-form-section__text {
    max-width: 520px;

    margin: 30px 0 0;

    font-size: 17px;
    line-height: 1.75;

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


/* =========================================================
   CONTACTO DIRECTO
========================================================= */

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

    display: grid;
    gap: 10px;
}


.contact-direct-card {
    position: relative;

    min-height: 82px;

    padding: 18px 60px 18px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 15px;

    text-decoration: none;

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

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}


.contact-direct-card:hover {
    transform: translateX(5px);

    border-color: rgba(247, 147, 30, .55);

    background: rgba(255, 255, 255, .06);
}


.contact-direct-card__label {
    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .1em;
    text-transform: uppercase;

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


.contact-direct-card strong {
    font-size: 16px;
    font-weight: 500;

    color: #fff;
}


.contact-direct-card__arrow {
    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    width: 37px;
    height: 37px;

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

    border-radius: 50%;

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

    color: #fff;

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


.contact-direct-card:hover .contact-direct-card__arrow {
    background: #f7931e;

    transform:
        translateY(-50%)
        rotate(45deg);
}


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

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

    border-radius: 24px;

    background: #f6f6f3;
    color: #111;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, .22);
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    display: grid;
    gap: 25px;
}


.contact-form__row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CAMPOS
========================================================= */

.contact-form__field {
    display: flex;
    flex-direction: column;
}


.contact-form__field label {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;

    font-size: 13px;
    font-weight: 600;

    color: #222;
}


.contact-form__field label span {
    font-size: 10px;

    font-weight: 500;

    color: #999;
}


/* =========================================================
   INPUTS
========================================================= */

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

    border: 1px solid #deded8;
    border-radius: 12px;

    outline: none;

    background: #fff;

    color: #111;

    font-family: inherit;
    font-size: 15px;

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


.contact-form__field input,
.contact-form__field select {
    height: 57px;

    padding: 0 17px;
}


.contact-form__field textarea {
    min-height: 155px;

    padding: 17px;

    resize: vertical;

    line-height: 1.6;
}


.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: #aaa;
}


/* =========================================================
   FOCUS
========================================================= */

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: #f7931e;

    box-shadow:
        0 0 0 4px rgba(247, 147, 30, .09);

    background: #fff;
}


/* =========================================================
   BOTTOM
========================================================= */

.contact-form__bottom {
    padding-top: 5px;

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

    gap: 30px;
}


.contact-form__bottom p {
    max-width: 430px;

    margin: 0;

    font-size: 11px;
    line-height: 1.6;

    color: #929292;
}


/* =========================================================
   BOTON
========================================================= */

.contact-form__submit {
    min-height: 55px;

    padding: 0 24px;

    flex: 0 0 auto;

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

    gap: 11px;

    border: 0;
    border-radius: 999px;

    background: #111;
    color: #fff;

    font-family: inherit;

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

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


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

    background: #f7931e;

    box-shadow:
        0 15px 30px rgba(247, 147, 30, .20);
}


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

@media (max-width: 1000px) {

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

        gap: 55px;
    }


    .contact-form-section__info {
        position: relative;
        top: auto;
    }


    .contact-form-section__direct {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

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


    .contact-form-section__inner {
        width: calc(100% - 36px);
    }


    .contact-form-section__direct,
    .contact-form__row {
        grid-template-columns: 1fr;
    }


    .contact-form-card {
        border-radius: 18px;
    }


    .contact-form__bottom {
        flex-direction: column;
        align-items: stretch;
    }


    .contact-form__submit {
        width: 100%;
    }

}