.mkik-contact-page {
    padding: 52px 0 72px;
    background:
        linear-gradient(
            180deg,
            #fff7f3 0,
            #ffffff 180px
        ),
        #ffffff;
}


/* Main contact area */

.mkik-contact-main {
    padding: 0 0 34px;
}

.mkik-contact-main__layout {
    display: grid;
    grid-template-columns:
        minmax(300px, 0.75fr)
        minmax(0, 1.25fr);
    gap: 34px;
    align-items: stretch;
}

.mkik-contact-info,
.mkik-contact-form-card {
    border: 1px solid
        rgba(224, 229, 238, 0.96);
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 12px 32px
        rgba(20, 33, 61, 0.05);
}


/* Contact information */

.mkik-contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 38px 32px;
    box-sizing: border-box;
}

.mkik-contact-info h1 {
    margin: 0 0 30px;
    color: var(--mkik-dark);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.mkik-contact-info__list {
    display: grid;
    gap: 28px;
}

.mkik-contact-info__item {
    display: grid;
    grid-template-columns:
        38px minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
}

.mkik-contact-info__icon {
    position: relative;
    width: 38px;
    height: 38px;
}

.mkik-contact-info__icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mkik-contact-info__item strong {
    display: block;
    margin-bottom: 4px;
    color: #7a8397;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.mkik-contact-info__item p {
    margin: 0;
    color: var(--mkik-dark);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.mkik-contact-info__item a {
    color: var(--mkik-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mkik-contact-info__item a:hover {
    color: var(--mkik-orange);
}


/* Phone icon */

.mkik-contact-info__item--phone
.mkik-contact-info__icon::before {
    background-image:
        url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92V19.92C22 20.4723 21.5523 20.92 21 20.92C11.0589 20.92 3 12.8611 3 2.92C3 2.36772 3.44772 1.92 4 1.92H7C7.55228 1.92 8 2.36772 8 2.92V6.92C8 7.47228 7.55228 7.92 7 7.92H5.1C6.08268 11.689 9.231 14.8373 13 15.82V13.92C13 13.3677 13.4477 12.92 14 12.92H18C18.5523 12.92 19 13.3677 19 13.92V16.92C19 17.4723 18.5523 17.92 18 17.92H16.92' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* Email icon */

.mkik-contact-info__item--email
.mkik-contact-info__icon::before {
    background-image:
        url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6H20V18H4V6Z' stroke='%23FF5A1F' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M4 7L12 13L20 7' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* Time icon */

.mkik-contact-info__item--time
.mkik-contact-info__icon::before {
    background-image:
        url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8.5' stroke='%23FF5A1F' stroke-width='1.8'/%3E%3Cpath d='M12 7.5V12.2L15.2 14.2' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* Social links */

.mkik-contact-socials {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid
        rgba(224, 229, 238, 0.92);
}

.mkik-contact-socials h2 {
    margin: 0 0 18px;
    color: var(--mkik-dark);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 800;
}

.mkik-contact-socials__links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mkik-contact-socials__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid
        var(--mkik-border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--mkik-dark);
    text-decoration: none;
    box-shadow:
        0 8px 18px
        rgba(20, 33, 61, 0.04);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.mkik-contact-socials__links a:hover {
    border-color:
        rgba(255, 90, 31, 0.35);
    color: var(--mkik-orange);
    transform: translateY(-1px);
}

.mkik-contact-socials__links svg {
    display: block;
    width: 22px;
    height: 22px;
}

.mkik-contact-socials__links svg path {
    fill: currentColor;
}

.mkik-contact-socials__links svg rect,
.mkik-contact-socials__links svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}


/* Form card */

.mkik-contact-form-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    padding: 0;
    box-sizing: border-box;
}

.mkik-contact-form-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
}

.mkik-contact-form-card__content > .wpcf7 {
    flex: 1;
    width: 100%;
}

.mkik-contact-form-card .wpcf7,
.mkik-contact-form-card .wpcf7 form {
    margin: 0;
}

.mkik-contact-form-card .wpcf7 form {
    min-height: 100%;
}

.mkik-contact-form {
    display: block;
}

.mkik-contact-form__head {
    padding: 38px 38px 24px;
}

.mkik-contact-form__head h2 {
    margin: 0 0 12px;
    color: var(--mkik-dark);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.mkik-contact-form__head p {
    max-width: 620px;
    margin: 0;
    color: #59637c;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
}

.mkik-contact-form__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0 38px 28px;
}

.mkik-contact-form__field {
    min-width: 0;
}

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

.mkik-contact-form__field label {
    display: block;
    margin: 0 0 8px;
    color: var(--mkik-dark);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.mkik-contact-form
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.mkik-contact-form input[type="text"],
.mkik-contact-form input[type="email"],
.mkik-contact-form input[type="tel"],
.mkik-contact-form select,
.mkik-contact-form textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #d8deea;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: var(--mkik-dark);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mkik-contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.mkik-contact-form input::placeholder,
.mkik-contact-form textarea::placeholder {
    color: #8a94a8;
    opacity: 1;
}

.mkik-contact-form input:focus,
.mkik-contact-form select:focus,
.mkik-contact-form textarea:focus {
    border-color:
        rgba(255, 90, 31, 0.55);
    background: #ffffff;
    box-shadow:
        0 0 0 4px
        rgba(255, 90, 31, 0.09);
}

.mkik-contact-form select {
    cursor: pointer;
}

.mkik-contact-form__submit {
    display: flex;
    justify-content: flex-start;
    padding: 0 38px 36px;
}

.mkik-contact-form input[type="submit"],
.mkik-contact-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 56px;
    padding: 15px 34px;
    border: 0;
    border-radius: 12px;
    background: var(--mkik-orange);
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 16px 34px
        rgba(255, 90, 31, 0.24);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.mkik-contact-form input[type="submit"]:hover,
.mkik-contact-form .wpcf7-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 20px 42px
        rgba(255, 90, 31, 0.3);
}

.mkik-contact-form .wpcf7-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.mkik-contact-form-card .wpcf7-spinner {
    display: block;
    margin: 14px 0 0;
}

.mkik-contact-form .wpcf7-not-valid {
    border-color: #c62828 !important;
    background: #fffafa !important;
}

.mkik-contact-form
.wpcf7-not-valid-tip {
    margin-top: 7px;
    color: #c62828;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.mkik-contact-form-card
.wpcf7-response-output {
    margin:
        0
        38px
        32px !important;
    padding:
        15px
        18px !important;
    border-width: 1px !important;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.mkik-contact-form-card
.wpcf7 form.sent
.wpcf7-response-output {
    border-color:
        rgba(22, 138, 58, 0.25) !important;
    background:
        rgba(22, 138, 58, 0.08);
    color: #168a3a;
}

.mkik-contact-form-card
.wpcf7 form.invalid
.wpcf7-response-output,
.mkik-contact-form-card
.wpcf7 form.unaccepted
.wpcf7-response-output,
.mkik-contact-form-card
.wpcf7 form.failed
.wpcf7-response-output,
.mkik-contact-form-card
.wpcf7 form.aborted
.wpcf7-response-output {
    border-color:
        rgba(198, 40, 40, 0.25) !important;
    background:
        rgba(198, 40, 40, 0.08);
    color: #c62828;
}

.mkik-contact-form p {
    margin: 0;
}

.mkik-contact-form br {
    display: none;
}

.mkik-contact-form-card__empty {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 35px;
    color: #59637c;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}


/* Tablet */

@media (max-width: 1100px) {
    .mkik-contact-main__layout {
        grid-template-columns: 1fr;
    }

    .mkik-contact-info,
    .mkik-contact-form-card {
        height: auto;
        min-height: 0;
    }
}


/* Mobile */

@media (max-width: 760px) {
    .mkik-contact-page {
        padding:
            34px
            0
            48px;
    }

    .mkik-contact-main__layout {
        gap: 22px;
    }

    .mkik-contact-info {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .mkik-contact-info h1 {
        margin-bottom: 25px;
        font-size: 30px;
    }

    .mkik-contact-info__list {
        gap: 22px;
    }

    .mkik-contact-socials {
        margin-top: 28px;
    }

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

    .mkik-contact-form__head {
        padding:
            30px
            22px
            22px;
    }

    .mkik-contact-form__head h2 {
        font-size: 28px;
    }

    .mkik-contact-form__head p {
        font-size: 14px;
    }

    .mkik-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding:
            0
            22px
            26px;
    }

    .mkik-contact-form__submit {
        padding:
            0
            22px
            30px;
    }

    .mkik-contact-form
    input[type="submit"],
    .mkik-contact-form
    .wpcf7-submit {
        width: 100%;
        min-width: 0;
    }

    .mkik-contact-form-card
    .wpcf7-response-output {
        margin:
            0
            22px
            28px !important;
    }
}


/* Small mobile */

@media (max-width: 420px) {
    .mkik-contact-info {
        padding:
            27px
            20px;
    }

    .mkik-contact-info h1 {
        font-size: 28px;
    }

    .mkik-contact-info__item {
        grid-template-columns:
            34px minmax(0, 1fr);
        gap: 13px;
    }

    .mkik-contact-info__icon {
        width: 34px;
        height: 34px;
    }
}