/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {

    padding: 60px 40px;

    background: #f5f5f7;

}

/* =========================================================
   GRID
========================================================= */

.contact-section__grid {

    display: grid;

    grid-template-columns: minmax(0, 1.45fr) 420px;

    gap: 22px;

    align-items: start;

}

/* =========================================================
   CARDS
========================================================= */

.contact-section__form-card,
.contact-section__infos {

    background: var(--color-white);

    border: 1px solid #ececf1;

    border-radius: 18px;

    padding: 30px;

    box-shadow: 0 8px 24px rgba(15,23,42,0.03);

}

/* =========================================================
   TITLES
========================================================= */

.contact-section__title {

    font-size: 22px;

    font-weight: 800;

    line-height: 1.2;

    color: var(--color-primary);

    margin-bottom: 10px;

}

.contact-section__subtitle {

    font-size: 14px;

    line-height: 1.7;

    color: var(--color-text-muted);

    margin-bottom: 24px;

}

/* =========================================================
   FORM
========================================================= */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 16px;

}

/* =========================================================
   FIELD
========================================================= */

.contact-form__field {

    position: relative;

}

.contact-form__field > svg,
.contact-form__field > i:first-child {

    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    stroke: #7b8195;

    stroke-width: 2;

    z-index: 5;

    pointer-events: none;

}

/* =========================================================
   INPUTS
========================================================= */

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {

    width: 100%;

    background: #fbfbfc;

    border: 1px solid #ececf1;

    border-radius: 14px;

    padding-left: 52px;
    padding-right: 18px;

    font-size: 15px;

    font-family: inherit;

    color: var(--color-primary);

    transition: var(--transition-fast);

}

.contact-form__field input,
.contact-form__field select {

    height: 54px;

}

.contact-form__field textarea {

    min-height: 150px;

    resize: vertical;

    padding-top: 18px;

}

/* =========================================================
   PLACEHOLDER
========================================================= */

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {

    color: #8b92a6;

}

/* =========================================================
   FOCUS
========================================================= */

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {

    outline: none;

    border-color: var(--color-secondary);

    background: var(--color-white);

    box-shadow: 0 0 0 4px rgba(255,132,0,0.08);

}

/* =========================================================
   SELECT
========================================================= */

.contact-form__field select {

    appearance: none;

    cursor: pointer;

}

.contact-form__arrow {

    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    stroke: var(--color-primary);

    stroke-width: 2.4;

    pointer-events: none;

}

/* =========================================================
   TEXTAREA
========================================================= */

.contact-form__field--textarea > svg,
.contact-form__field--textarea > i {

    top: 20px;

    transform: none;

}

/* =========================================================
   BUTTON
========================================================= */

.contact-form__btn {

    height: 58px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #03143f 0%,
            #07194b 55%,
            #0d2a78 100%
        );

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: var(--color-white);

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition-fast);

}

.contact-form__btn svg {

    width: 17px;
    height: 17px;

    stroke-width: 2.4;

}

.contact-form__btn:hover {

    transform: translateY(-2px);

    filter: brightness(1.04);

}

/* =========================================================
   INFOS
========================================================= */

.contact-section__infos {

    display: flex;

    flex-direction: column;

    gap: 16px;

}

/* =========================================================
   INFO ITEM
========================================================= */

.contact-info {

    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 18px;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid #ececf1;

}

/* =========================================================
   ICON
========================================================= */

.contact-info__icon {

    width: 54px;
    height: 54px;

    min-width: 54px;

    border-radius: 50%;

    border: 1px solid #ececf1;

    background: #fbfbfc;

    display: flex;

    align-items: center;
    justify-content: center;

}

.contact-info__icon svg {

    width: 22px;
    height: 22px;

    stroke: var(--color-primary);

    stroke-width: 2;

}

/* =========================================================
   CONTENT
========================================================= */

.contact-info__content {

    flex: 1;

}

.contact-info__content h3 {

    font-size: 17px;

    font-weight: 700;

    line-height: 1.3;

    color: var(--color-primary);

    margin-bottom: 6px;

}

.contact-info__content p {

    font-size: 14px;

    line-height: 1.8;

    color: var(--color-text-muted);

}

/* =========================================================
   SOCIALS
========================================================= */

.contact-socials {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 10px;

}

.contact-socials__item {

    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-white);

    text-decoration: none;

    transition: var(--transition-fast);

}

.contact-socials__item svg {

    width: 17px;
    height: 17px;

    stroke-width: 2;

}

.contact-socials__item:nth-child(1) {

    background: #1877f2;

}

.contact-socials__item:nth-child(2) {

    background:
        linear-gradient(
            135deg,
            #f9ce34 0%,
            #ee2a7b 55%,
            #6228d7 100%
        );

}

.contact-socials__item:nth-child(3) {

    background: #0a66c2;

}

.contact-socials__item:hover {

    transform: translateY(-2px);

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .contact-section__grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 768px) {

    .contact-section {

        padding: 50px 18px;

    }

    .contact-section__form-card,
    .contact-section__infos {

        padding: 22px;

        border-radius: 16px;

    }

    .contact-section__title {

        font-size: 20px;

    }

    .contact-form__field input,
    .contact-form__field select {

        height: 52px;

    }

    .contact-form__btn {

        height: 54px;

        font-size: 14px;

    }

    .contact-info {

        padding: 16px;

    }

}