/* =========================================================
   CADIK
   CONTACTO
   contacto.css — PARTE 1
   ========================================================= */


/* =========================================================
   01. CONTENEDOR GENERAL
   ========================================================= */

.contact-container {
    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   02. HERO DE CONTACTO
   ========================================================= */

.contact-hero {
    position: relative;

    padding: 95px 0 90px;

    overflow: hidden;

    background: #0b1c38;
}


.contact-hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    bottom: -300px;

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

    border-radius: 50%;
}


.contact-hero-content {
    position: relative;

    z-index: 2;

    max-width: 820px;
}


/* =========================================================
   ENCABEZADO DEL HERO
   ========================================================= */

.contact-hero .section-label {
    display: flex;

    align-items: flex-start;

    gap: 20px;
}


.contact-hero .section-number {
    flex-shrink: 0;

    display: flex;

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

    width: 42px;
    height: 42px;

    margin-top: 5px;

    color: #f47c20;

    border: 1px solid
        rgba(244, 124, 32, 0.35);

    font-size: 11px;

    font-weight: 700;
}


.contact-hero .section-kicker {
    display: block;

    margin-bottom: 15px;

    color: #f47c20;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.contact-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(42px, 5.5vw, 68px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -0.04em;
}


.contact-hero h1 span {
    display: block;

    color: #f47c20;
}


/* =========================================================
   TEXTO DEL HERO
   ========================================================= */

.contact-hero-text {
    max-width: 650px;

    margin-top: 35px;

    margin-left: 62px;
}


.contact-hero-text p {
    color:
        rgba(255, 255, 255, 0.70);

    font-size: 13px;

    line-height: 1.9;
}


.contact-hero-text p + p {
    margin-top: 12px;
}


/* =========================================================
   03. SECCIÓN PRINCIPAL DE CONTACTO
   ========================================================= */

.contact-main {
    padding: 95px 0;

    background: #E5E7EB;
}


.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   04. INFORMACIÓN DE CONTACTO
   ========================================================= */

.contact-info {
    padding-top: 10px;
}


.contact-info .section-kicker,
.form-header .section-kicker {
    display: block;

    margin-bottom: 14px;

    color: #f47c20;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.contact-info h2,
.form-header h2 {
    margin: 0;

    color: #172033;

    font-size:
        clamp(30px, 4vw, 44px);

    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -0.03em;
}


.contact-intro {
    max-width: 470px;

    margin-top: 20px;

    color: #667085;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   05. DATOS DE CONTACTO
   ========================================================= */

.contact-item {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 30px;

    padding-bottom: 25px;

    border-bottom: 1px solid #dfe4ea;
}


.contact-item:last-child {
    border-bottom: none;
}


.contact-icon {
    flex-shrink: 0;

    width: 46px;
    height: 46px;

    display: flex;

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

    color: #f47c20;

    background: #ffffff;

    border: 1px solid #d5dbe2;

    font-size: 17px;
}


.contact-item-content {
    min-width: 0;
}


.contact-item-label {
    display: block;

    margin-bottom: 5px;

    color: #98a2b3;

    font-size: 8px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.contact-item-content p {
    margin: 0;

    color: #172033;

    font-size: 13px;

    line-height: 1.5;

    font-weight: 600;
}


/* =========================================================
   06. FORMULARIO
   ========================================================= */

.contact-form-wrapper {
    padding: 40px;

    background: #ffffff;

    border: 1px solid #c4ccd5;

    box-shadow:
        0 10px 30px
        rgba(15, 31, 58, 0.06);
}


.form-header {
    margin-bottom: 35px;
}


.form-header h2 {
    font-size: 28px;
}


.form-header p {
    max-width: 500px;

    margin-top: 12px;

    color: #667085;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   ESTRUCTURA DEL FORMULARIO
   ========================================================= */

.contact-form {
    display: grid;

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

    gap: 22px 18px;
}


.form-group {
    display: flex;

    flex-direction: column;
}


.form-group-full {
    grid-column: 1 / -1;
}


.form-group label {
    margin-bottom: 8px;

    color: #344054;

    font-size: 10px;

    line-height: 1.4;

    font-weight: 700;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    color: #172033;

    background: #ffffff;

    border: 1px solid #cbd2da;

    border-radius: 0;

    outline: none;

    font-family: inherit;

    font-size: 11px;

    line-height: 1.5;

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


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #98a2b3;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f47c20;

    box-shadow:
        0 0 0 3px
        rgba(244, 124, 32, 0.10);
}


.form-group textarea {
    min-height: 130px;

    resize: vertical;
}


.form-group select {
    cursor: pointer;

    appearance: auto;
}


/* =========================================================
   FIN — PARTE 1
   ========================================================= */
/* =========================================================
   CADIK
   CONTACTO
   contacto.css — PARTE 2
   ========================================================= */


/* =========================================================
   07. BOTÓN DEL FORMULARIO
   ========================================================= */

.form-submit {
    grid-column: 1 / -1;

    margin-top: 5px;
}


.contact-submit {
    display: inline-flex;

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

    gap: 12px;

    min-height: 50px;

    padding: 0 26px;

    border: none;

    border-radius: 0;

    color: #ffffff;

    background: #f47c20;

    font-family: inherit;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.contact-submit span {
    font-size: 16px;

    line-height: 1;
}


.contact-submit:hover {
    background: #db6914;

    transform: translateY(-2px);
}


/* =========================================================
   08. LLAMADA A LA ACCIÓN
   ========================================================= */

.contact-cta {
    padding: 85px 0;

    background: #ffffff;
}


.contact-cta-content {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    overflow: hidden;

    background: #0b1c38;
}


.contact-cta-content::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -200px;
    bottom: -280px;

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

    border-radius: 50%;
}


.contact-cta-content > div {
    position: relative;

    z-index: 2;

    max-width: 700px;
}


.contact-cta .section-kicker {
    display: block;

    margin-bottom: 14px;

    color: #f47c20;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.contact-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(30px, 4vw, 46px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -0.03em;
}


.contact-cta p {
    max-width: 620px;

    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 12px;

    line-height: 1.85;
}


/* =========================================================
   BOTÓN CTA
   ========================================================= */

.contact-cta-button {
    position: relative;

    z-index: 2;

    display: inline-flex;

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

    gap: 12px;

    flex-shrink: 0;

    min-height: 50px;

    padding: 0 25px;

    color: #ffffff;

    background: #f47c20;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.contact-cta-button span {
    font-size: 16px;

    line-height: 1;
}


.contact-cta-button:hover {
    background: #db6914;

    transform: translateY(-2px);
}


/* =========================================================
   09. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .contact-container {
        width: calc(100% - 60px);
    }


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

        gap: 55px;
    }


    .contact-info {
        max-width: 700px;
    }


    .contact-form-wrapper {
        max-width: 800px;
    }


    .contact-cta-content {
        padding: 45px;
    }

}


/* =========================================================
   10. RESPONSIVE — TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 800px) {

    .contact-hero {
        padding: 75px 0 70px;
    }


    .contact-main {
        padding: 70px 0;
    }


    .contact-cta {
        padding: 70px 0;
    }


    .contact-cta-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

}


/* =========================================================
   11. RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 600px) {

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


    .contact-hero {
        padding: 65px 0;
    }


    .contact-hero .section-label {
        gap: 14px;
    }


    .contact-hero .section-number {
        width: 36px;
        height: 36px;

        font-size: 9px;
    }


    .contact-hero h1 {
        font-size: 40px;
    }


    .contact-hero-text {
        margin-left: 50px;
    }


    .contact-hero-text p {
        font-size: 12px;
    }


    .contact-main {
        padding: 60px 0;
    }


    .contact-form-wrapper {
        padding: 30px 22px;
    }


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


    .form-group-full {
        grid-column: auto;
    }


    .form-submit {
        grid-column: auto;
    }


    .contact-submit {
        width: 100%;
    }


    .contact-cta {
        padding: 55px 0;
    }


    .contact-cta-content {
        padding: 35px 25px;
    }


    .contact-cta-button {
        width: 100%;
    }

}


/* =========================================================
   12. PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 400px) {

    .contact-hero h1 {
        font-size: 34px;
    }


    .contact-info h2 {
        font-size: 30px;
    }


    .form-header h2 {
        font-size: 25px;
    }


    .contact-form-wrapper {
        padding: 25px 18px;
    }


    .contact-cta-content {
        padding: 30px 20px;
    }

}


/* =========================================================
   FIN — CONTACTO.CSS PARTE 2
   ========================================================= */


/* Iconos de contacto */
.contact-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-content p + p {
    margin-top: 4px;
}
