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

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

.mkik-contact-hero__inner {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 90, 31, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #fff8f4 100%);
    box-shadow: 0 18px 50px rgba(20, 33, 61, 0.07);
}

.mkik-contact-hero__inner::before {
    content: "";
    position: absolute;
    left: -70px;
    top: 50%;
    width: 160px;
    height: 160px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.66;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='M30 28L75 80L30 132' stroke='%23F7B9A1' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M84 28L129 80L84 132' stroke='%23F7B9A1' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    pointer-events: none;
}

.mkik-contact-hero__inner::after {
    content: "";
    position: absolute;
    right: 44px;
    top: 34px;
    width: 180px;
    height: 130px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='130' viewBox='0 0 180 130' fill='none'%3E%3Cpath d='M35 22L72 65L35 108' stroke='%23F7B9A1' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M86 22L123 65L86 108' stroke='%23F7B9A1' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    pointer-events: none;
}

.mkik-contact-hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 68px 54px;
}

.mkik-contact-hero h1 {
    margin: 0 0 20px;
    color: var(--mkik-dark);
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.mkik-contact-hero p {
    max-width: 560px;
    margin: 0;
    color: #4c5872;
    font-size: 19px;
    line-height: 1.65;
    font-weight: 600;
}

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

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

.mkik-contact-info,
.mkik-contact-form-card,
.mkik-contact-house,
.mkik-contact-map__inner {
    border: 1px solid rgba(232, 237, 244, 0.92);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(20, 33, 61, 0.04);
}

.mkik-contact-info {
    padding: 34px 30px;
}

.mkik-contact-info h2,
.mkik-contact-form-card h2,
.mkik-contact-houses h2,
.mkik-contact-map h2 {
    margin: 0 0 24px;
    color: var(--mkik-dark);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
}

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

.mkik-contact-info__item {
    display: grid;
    grid-template-columns: 38px 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;
}

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

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

.mkik-contact-info__item--address .mkik-contact-info__icon::before,
.mkik-contact-house__address::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='M12 21C12 21 18.5 15.8 18.5 9.8C18.5 6.2 15.6 3.5 12 3.5C8.4 3.5 5.5 6.2 5.5 9.8C5.5 15.8 12 21 12 21Z' stroke='%23FF5A1F' stroke-width='1.9' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9.8' r='2.4' stroke='%23FF5A1F' stroke-width='1.9'/%3E%3C/svg%3E");
}

.mkik-contact-info__item--phone .mkik-contact-info__icon::before,
.mkik-contact-house__phone::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");
}

.mkik-contact-info__item--email .mkik-contact-info__icon::before,
.mkik-contact-house__email::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");
}

.mkik-contact-info__item--time .mkik-contact-info__icon::before,
.mkik-contact-house__time::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");
}

.mkik-contact-socials {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(232, 237, 244, 0.92);
}

.mkik-contact-socials h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

.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);
    box-shadow: 0 8px 18px rgba(20, 33, 61, 0.04);
    transition: 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 {
    width: 22px;
    height: 22px;
    display: block;
}

.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;
}

.mkik-contact-form-card {
    overflow: hidden;
    padding: 0;
}

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

.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;
    background: #ffffff;
    color: var(--mkik-dark);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    outline: none;
    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,
        background-color 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 input[type="submit"]:active,
.mkik-contact-form .wpcf7-submit:active {
    transform: translateY(0);
}

.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.payment-required .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-notice {
    padding: 34px 36px;
    color: var(--mkik-dark);
}

.mkik-contact-form-notice p {
    margin: 8px 0 0;
    color: #59637c;
}

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

.mkik-contact-houses__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mkik-contact-house {
    display: grid;
    grid-template-columns: 42% 1fr;
    overflow: hidden;
}

.mkik-contact-house__image {
    min-height: 240px;
    background: #f4f6fa;
}

.mkik-contact-house__image img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.mkik-contact-house__body {
    padding: 28px 28px;
}

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

.mkik-contact-house ul {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkik-contact-house li {
    position: relative;
    min-height: 24px;
    padding-left: 32px;
    color: #25304f;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.mkik-contact-house li::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mkik-contact-house a {
    color: #25304f;
    text-decoration: none;
}

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

.mkik-contact-map {
    padding: 0;
}

.mkik-contact-map__inner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: center;
    padding: 38px 42px;
    background:
        radial-gradient(circle at 80% 30%, rgba(255, 90, 31, 0.10), transparent 32%),
        #fff8f4;
}

.mkik-contact-map__content p {
    max-width: 520px;
    margin: 0;
    color: #4c5872;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
}

.mkik-contact-map__points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.mkik-contact-map__point {
    position: relative;
    display: block;
    padding: 26px 26px 26px 62px;
    border: 1px solid rgba(232, 237, 244, 0.92);
    border-radius: 16px;
    background: #ffffff;
    color: var(--mkik-dark);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(20, 33, 61, 0.04);
}

.mkik-contact-map__point::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 27px;
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 24 24' fill='%23FF5A1F' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21C12 21 18.5 15.8 18.5 9.8C18.5 6.2 15.6 3.5 12 3.5C8.4 3.5 5.5 6.2 5.5 9.8C5.5 15.8 12 21 12 21Z'/%3E%3C/svg%3E");
}

.mkik-contact-map__point:hover {
    transform: translateY(-1px);
    color: var(--mkik-dark);
}

.mkik-contact-map__point strong {
    display: block;
    margin-bottom: 6px;
    color: var(--mkik-dark);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.mkik-contact-map__point span {
    display: block;
    color: #59637c;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

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

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

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

    .mkik-contact-hero {
        padding-top: 30px;
    }

    .mkik-contact-hero__inner {
        min-height: auto;
    }

    .mkik-contact-hero__content {
        padding: 44px 24px;
    }

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

    .mkik-contact-hero p {
        font-size: 17px;
    }

    .mkik-contact-info,
    .mkik-contact-form-card {
        padding: 28px 24px;
    }

    .mkik-contact-info h2,
    .mkik-contact-form-card h2,
    .mkik-contact-houses h2,
    .mkik-contact-map h2 {
        font-size: 26px;
    }

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

    .mkik-contact-form__submit {
        justify-content: stretch;
    }

    .mkik-contact-form__submit button {
        width: 100%;
        min-width: 0;
    }

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

    .mkik-contact-house__image,
    .mkik-contact-house__image img {
        min-height: 220px;
    }

    .mkik-contact-house__body {
        padding: 26px 24px;
    }

    .mkik-contact-map__inner {
        padding: 30px 24px;
    }

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

/* Contact Form 7 final responsive overrides */

@media (max-width: 760px) {
    .mkik-contact-form-card {
        padding: 0;
    }

    .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;
    }
}