.mak-se-widget,
.mak-se-widget * {
    box-sizing: border-box;
}

.mak-se-widget {
    width: 100%;
    overflow: hidden;
    font-family: inherit;
    color: #1d2633;
}

.mak-se-inner {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
}

.mak-se-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: stretch;
    isolation: isolate;
    background-color: #022c5a;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mak-se-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #001f45 0%, #001f45 38%, rgba(0,31,69,.72) 58%, rgba(0,31,69,.16) 100%);
}

.mak-se-hero-inner {
    display: flex;
    align-items: center;
    padding: 48px 24px 40px;
}

.mak-se-hero-content {
    width: min(720px, 62%);
}

.mak-se-hero-title,
.mak-se-card-title,
.mak-se-contact-title {
    margin: 0;
    font-family: inherit;
}

.mak-se-hero-title {
    color: #fff;
    font-size: clamp(30px, 3.2vw, 52px);
    line-height: 1.08;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.mak-se-title-line {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 14px;
    border-radius: 99px;
    background: #e63b3b;
}

.mak-se-hero-subtitle {
    max-width: 560px;
    margin-top: 16px;
    color: #fff;
    font-size: 18px;
    line-height: 1.62;
}

.mak-se-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 38px;
    margin-top: 30px;
}

.mak-se-highlight-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 170px;
}

.mak-se-highlight-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    background: rgba(2, 45, 91, .2);
    backdrop-filter: blur(3px);
}

.mak-se-highlight-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.mak-se-highlight-title {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.mak-se-highlight-text {
    margin-top: 4px;
    color: rgba(255,255,255,.92);
    font-size: 12px;
    line-height: 1.45;
}

.mak-se-main {
    padding: 28px 24px;
    background: #f7f9fc;
}

.mak-se-main-grid {
    --mak-se-contact-width: 300px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--mak-se-contact-width);
    gap: 24px;
    align-items: stretch;
}

.mak-se-main-grid.mak-se-no-contact {
    grid-template-columns: minmax(0, 1fr);
}

.mak-se-form-card,
.mak-se-contact-card {
    border: 1px solid rgba(24, 61, 110, .06);
    box-shadow: 0 8px 28px rgba(10, 37, 76, .08);
}

.mak-se-form-card {
    min-width: 0;
    padding: 24px;
    border-radius: 12px;
    background: #fff;
}

.mak-se-card-title,
.mak-se-contact-title {
    color: #0d326b;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 750;
}

.mak-se-card-title::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin-top: 12px;
    border-radius: 99px;
    background: #e63b3b;
}

.mak-se-form-body {
    margin-top: 18px;
}

/* Generic form styling: scoped to this widget so most form plugins inherit the visual language. */
.mak-se-form-body form {
    margin: 0;
}

.mak-se-form-body label {
    color: #263449;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

.mak-se-form-body input:not([type="checkbox"]):not([type="radio"]),
.mak-se-form-body select,
.mak-se-form-body textarea {
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    margin-top: 6px;
    padding: 9px 12px;
    border: 1px solid #dce3ec;
    border-radius: 6px;
    background: #fff;
    color: #233348;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.mak-se-form-body textarea {
    min-height: 108px;
    resize: vertical;
}

.mak-se-form-body input:focus,
.mak-se-form-body select:focus,
.mak-se-form-body textarea:focus {
    border-color: #1d3f72;
    outline: none;
    box-shadow: 0 0 0 2px rgba(29,63,114,.10);
}

.mak-se-form-body button,
.mak-se-form-body input[type="submit"],
.mak-se-form-body .elementor-button {
    min-height: 42px;
    padding: 10px 24px;
    border: 0;
    border-radius: 5px;
    background: #0b3274;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.mak-se-form-body button:hover,
.mak-se-form-body input[type="submit"]:hover,
.mak-se-form-body .elementor-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Elementor Pro Form alignment */
.mak-se-form-body .elementor-form .elementor-field-group {
    margin-bottom: 14px;
}

.mak-se-form-body .elementor-form .elementor-field-label {
    margin-bottom: 3px;
}

.mak-se-contact-card {
    min-width: 0;
    padding: 22px 20px 20px;
    border-radius: 12px;
    background: #f2f6fe;
}

.mak-se-contact-title {
    font-size: 19px;
}

.mak-se-contact-line {
    width: 32px;
    height: 2px;
    margin-top: 10px;
}

.mak-se-contact-list {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.mak-se-contact-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: inherit;
    text-decoration: none;
}

.mak-se-contact-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #0b3274;
    box-shadow: 0 2px 8px rgba(11, 50, 116, .06);
    font-size: 13px;
}

.mak-se-contact-icon svg {
    width: 13px;
    height: 13px;
    fill: #0b3274;
}

.mak-se-contact-label {
    color: #1d2633;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.mak-se-contact-value {
    margin-top: 2px;
    color: #1d2633;
    font-size: 12px;
    line-height: 1.45;
}

.mak-se-contact-note {
    margin-top: 2px;
    color: #6d7786;
    font-size: 11px;
    line-height: 1.5;
}

.mak-se-location-image-wrap {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 8px;
    background: #dfe8f5;
    aspect-ratio: 16 / 8.5;
}

.mak-se-location-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mak-se-location-button {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #9ab1d2;
    border-radius: 5px;
    background: #fff;
    color: #0b3274;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.mak-se-location-button:hover {
    background: rgba(255,255,255,.72);
    transform: translateY(-1px);
}

.mak-se-empty-form {
    padding: 24px;
    border: 1px dashed #b9c6d8;
    border-radius: 8px;
    background: #fbfcfe;
    color: #65758a;
    text-align: center;
    font-size: 13px;
}

/* Editor-only visual placeholder. */
.mak-se-demo-form {
    display: grid;
    gap: 12px;
}

.mak-se-demo-grid {
    display: grid;
    gap: 12px;
}

.mak-se-demo-grid-four {
    grid-template-columns: 1.35fr 1.35fr .82fr .82fr;
}

.mak-se-demo-grid-two {
    grid-template-columns: 1fr 2.2fr;
}

.mak-se-demo-form label {
    display: block;
}

.mak-se-demo-bottom {
    display: grid;
    grid-template-columns: 1.5fr .55fr .9fr .9fr;
    gap: 14px;
    align-items: end;
}

.mak-se-demo-upload {
    min-height: 54px;
    padding: 9px 12px;
    border: 1px dashed #b8c6d8;
    border-radius: 6px;
    color: #314156;
    font-size: 11px;
    font-weight: 700;
}

.mak-se-demo-upload span {
    display: block;
    margin-top: 5px;
    color: #6d7786;
    font-size: 10px;
    font-weight: 500;
}

.mak-se-demo-captcha {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #d1d9e5;
    border-radius: 4px;
    color: #063171;
    font-family: monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .18em;
}

@media (max-width: 1024px) {
    .mak-se-hero-content {
        width: min(700px, 72%);
    }

    .mak-se-main-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
    }

    .mak-se-demo-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mak-se-demo-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mak-se-hero {
        min-height: 320px;
        background-position: 68% center;
    }

    .mak-se-hero::before {
        background: linear-gradient(90deg, rgba(0,31,69,.96) 0%, rgba(0,31,69,.90) 56%, rgba(0,31,69,.68) 100%);
    }

    .mak-se-hero-inner {
        padding: 38px 18px 34px;
    }

    .mak-se-hero-content {
        width: 100%;
    }

    .mak-se-hero-subtitle {
        font-size: 16px;
    }

    .mak-se-highlights {
        display: grid;
        gap: 16px;
        margin-top: 24px;
    }

    .mak-se-main {
        padding: 18px 14px;
    }

    .mak-se-main-grid,
    .mak-se-main-grid.mak-se-no-contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .mak-se-form-card,
    .mak-se-contact-card {
        padding: 18px;
    }

    .mak-se-demo-grid-four,
    .mak-se-demo-grid-two,
    .mak-se-demo-bottom {
        grid-template-columns: minmax(0, 1fr);
    }
}
