.mrp-qo,
.mrp-qo * {
    box-sizing: border-box;
}

.mrp-qo {
    --mrp-qo-navy: #061c48;
    --mrp-qo-blue: #0b63ce;
    --mrp-qo-green: #22a852;
    --mrp-qo-muted: #405271;
    --mrp-qo-border: rgba(6, 28, 72, 0.10);
    --mrp-qo-shadow: 0 18px 55px rgba(6, 28, 72, 0.08);
    --mrp-qo-animation-speed: .7s;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--mrp-qo-navy);
}

.mrp-qo::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mrp-qo__container {
    width: 100%;
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.mrp-qo--container-full .mrp-qo__container {
    max-width: none !important;
}

.mrp-qo__head {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mrp-qo__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #5c96e8;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}

.mrp-qo__badge::before,
.mrp-qo__badge::after {
    content: "";
    width: 72px;
    height: 10px;
    display: inline-block;
    background-image: radial-gradient(currentColor 2px, transparent 2px);
    background-size: 18px 10px;
    opacity: .35;
}

.mrp-qo__title {
    margin: 0;
    color: var(--mrp-qo-navy);
    font-size: clamp(42px, 4.25vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.mrp-qo__highlight {
    color: var(--mrp-qo-green);
}

.mrp-qo__description {
    margin: 18px auto 0;
    color: #304060;
    font-size: clamp(18px, 1.35vw, 27px);
    line-height: 1.45;
    font-weight: 400;
}

.mrp-qo__description p,
.mrp-qo__card-text p,
.mrp-qo__notice-text p {
    margin-top: 0;
    margin-bottom: 0;
}

.mrp-qo__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-top: 58px;
    position: relative;
    z-index: 2;
}

.mrp-qo__card {
    display: block;
    text-decoration: none !important;
    color: inherit;
    min-width: 0;
}

.mrp-qo__card-inner {
    min-height: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 42px 26px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--mrp-qo-border);
    border-radius: 24px;
    box-shadow: var(--mrp-qo-shadow);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
    backdrop-filter: blur(8px);
}

.mrp-qo--hover-lift .mrp-qo__card:hover .mrp-qo__card-inner,
.mrp-qo--hover-lift .mrp-qo__card:focus .mrp-qo__card-inner {
    transform: translateY(-7px);
    box-shadow: 0 24px 70px rgba(6, 28, 72, .13);
    border-color: rgba(31, 115, 216, .24);
}

.mrp-qo__card-icon {
    width: 112px;
    height: 112px;
    margin: 0 auto 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mrp-qo-blue);
    font-size: 52px;
    line-height: 1;
    background: #eaf3ff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 15px 34px rgba(42, 101, 173, .08);
    transition: transform .28s ease, color .28s ease, background-color .28s ease;
}

.mrp-qo__card:hover .mrp-qo__card-icon {
    transform: scale(1.04);
}

.mrp-qo__card-icon i,
.mrp-qo__card-icon .fa,
.mrp-qo__card-icon .fas,
.mrp-qo__card-icon .far,
.mrp-qo__card-icon .fab,
.mrp-qo__card-icon .eicon {
    color: currentColor;
}

.mrp-qo__card-icon svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: currentColor;
}

.mrp-qo__card-icon svg path,
.mrp-qo__card-icon svg g,
.mrp-qo__card-icon svg circle,
.mrp-qo__card-icon svg rect,
.mrp-qo__card-icon svg polygon {
    fill: currentColor;
}

.mrp-qo__card-icon svg [stroke],
.mrp-qo__card-icon svg path[stroke],
.mrp-qo__card-icon svg line,
.mrp-qo__card-icon svg polyline,
.mrp-qo__card-icon svg circle[stroke],
.mrp-qo__card-icon svg rect[stroke],
.mrp-qo__card-icon svg polygon[stroke] {
    stroke: currentColor;
}

.mrp-qo__card-title {
    margin: 0;
    color: var(--mrp-qo-navy);
    font-size: clamp(22px, 1.65vw, 30px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
}

.mrp-qo__card-text {
    margin-top: 22px;
    color: var(--mrp-qo-muted);
    font-size: clamp(16px, 1.1vw, 22px);
    line-height: 1.5;
}

.mrp-qo__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 42px;
}

.mrp-qo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .25s ease;
}

.mrp-qo__button--primary {
    color: #fff;
    background: #075ec8;
    box-shadow: 0 13px 30px rgba(7, 94, 200, .20);
}

.mrp-qo__button--secondary {
    color: #159947;
    background: #fff;
    border-color: #20aa55;
}

.mrp-qo__button-icon,
.mrp-qo__button-icon svg {
    width: 1em;
    height: 1em;
}

.mrp-qo__notice {
    margin: 42px auto 0;
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(31,115,216,.20);
    border-radius: 16px;
    padding: 24px 38px;
    box-shadow: 0 12px 45px rgba(28, 80, 143, .05);
    backdrop-filter: blur(8px);
}

.mrp-qo__notice-icon {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mrp-qo-blue);
    background: #ecf5ff;
    border: 1px solid rgba(31,115,216,.24);
    font-size: 40px;
    line-height: 1;
}

.mrp-qo__notice-icon i,
.mrp-qo__notice-icon .fa,
.mrp-qo__notice-icon .fas,
.mrp-qo__notice-icon .far,
.mrp-qo__notice-icon .fab,
.mrp-qo__notice-icon .eicon {
    color: currentColor;
}

.mrp-qo__notice-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.mrp-qo__notice-icon svg path,
.mrp-qo__notice-icon svg g,
.mrp-qo__notice-icon svg circle,
.mrp-qo__notice-icon svg rect,
.mrp-qo__notice-icon svg polygon {
    fill: currentColor;
}

.mrp-qo__notice-icon svg [stroke],
.mrp-qo__notice-icon svg path[stroke],
.mrp-qo__notice-icon svg line,
.mrp-qo__notice-icon svg polyline,
.mrp-qo__notice-icon svg circle[stroke],
.mrp-qo__notice-icon svg rect[stroke],
.mrp-qo__notice-icon svg polygon[stroke] {
    stroke: currentColor;
}

.mrp-qo__notice-content {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.mrp-qo__notice-text {
    color: #0d2657;
    font-size: clamp(16px, 1.15vw, 22px);
    line-height: 1.45;
    font-weight: 500;
}

.mrp-qo__notice-source {
    margin-top: 10px;
    color: #73819d;
    font-size: clamp(15px, 1.05vw, 19px);
    line-height: 1.35;
    font-style: italic;
}

.mrp-qo__dots {
    position: absolute;
    width: 180px;
    height: 145px;
    background-image: radial-gradient(rgba(34,197,94,.18) 2px, transparent 2px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 1;
}

.mrp-qo__dots--top {
    left: 16px;
    top: 18px;
}

.mrp-qo__dots--bottom {
    right: 34px;
    bottom: 16px;
}

.mrp-qo__curve {
    position: absolute;
    top: -155px;
    right: -145px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(34,197,94,.30);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.mrp-qo__wave {
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -135px;
    height: 340px;
    background: rgba(228,242,255,.78);
    border-radius: 55% 45% 0 0 / 38% 32% 0 0;
    transform: rotate(-1deg);
    pointer-events: none;
    z-index: 0;
}

.mrp-qo__decorative-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 220px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.mrp-qo--floating .mrp-qo__dots--top,
.mrp-qo--floating .mrp-qo__dots--bottom,
.mrp-qo--floating .mrp-qo__curve,
.mrp-qo--floating .mrp-qo__decorative-image {
    animation: mrpQOFloating 6s ease-in-out infinite;
}

.mrp-qo--floating .mrp-qo__dots--bottom {
    animation-delay: .8s;
}

@keyframes mrpQOFloating {
    0%, 100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(0,-12px,0); }
}

.mrp-qo--animation-fade-up .mrp-qo__head,
.mrp-qo--animation-fade-up .mrp-qo__card,
.mrp-qo--animation-fade-up .mrp-qo__notice,
.mrp-qo--animation-fade-up .mrp-qo__buttons {
    animation: mrpQOFadeUp var(--mrp-qo-animation-speed, .7s) ease both;
}

.mrp-qo--animation-fade-in .mrp-qo__head,
.mrp-qo--animation-fade-in .mrp-qo__card,
.mrp-qo--animation-fade-in .mrp-qo__notice,
.mrp-qo--animation-fade-in .mrp-qo__buttons {
    animation: mrpQOFadeIn var(--mrp-qo-animation-speed, .7s) ease both;
}

.mrp-qo--animation-zoom-in .mrp-qo__head,
.mrp-qo--animation-zoom-in .mrp-qo__card,
.mrp-qo--animation-zoom-in .mrp-qo__notice,
.mrp-qo--animation-zoom-in .mrp-qo__buttons {
    animation: mrpQOZoomIn var(--mrp-qo-animation-speed, .7s) ease both;
}

.mrp-qo__card:nth-child(2) { animation-delay: .08s; }
.mrp-qo__card:nth-child(3) { animation-delay: .16s; }
.mrp-qo__card:nth-child(4) { animation-delay: .24s; }
.mrp-qo__notice { animation-delay: .30s; }

@keyframes mrpQOFadeUp {
    from { opacity: 0; transform: translate3d(0,24px,0); }
    to { opacity: 1; transform: translate3d(0,0,0); }
}

@keyframes mrpQOFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mrpQOZoomIn {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1024px) {
    .mrp-qo__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mrp-qo__card-inner {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .mrp-qo {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mrp-qo__badge {
        font-size: 12px;
        letter-spacing: .14em;
        margin-bottom: 14px;
    }

    .mrp-qo__badge::before,
    .mrp-qo__badge::after {
        width: 42px;
    }

    .mrp-qo__title {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.05;
    }

    .mrp-qo__description {
        font-size: 17px;
        margin-top: 12px;
    }

    .mrp-qo__grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 18px;
    }

    .mrp-qo__card-inner {
        min-height: auto;
        padding: 28px 20px;
    }

    .mrp-qo__card-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .mrp-qo__card-title {
        font-size: 21px;
    }

    .mrp-qo__card-text {
        font-size: 16px;
        margin-top: 12px;
    }

    .mrp-qo__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .mrp-qo__button {
        width: 100%;
    }

    .mrp-qo__notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
        gap: 16px;
        margin-top: 28px;
    }

    .mrp-qo__notice-content {
        text-align: center;
    }

    .mrp-qo__notice-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 28px;
    }

    .mrp-qo__dots {
        width: 108px;
        height: 96px;
        background-size: 18px 18px;
    }

    .mrp-qo__curve {
        width: 230px;
        height: 230px;
        top: -120px;
        right: -120px;
    }

    .mrp-qo__wave {
        bottom: -210px;
        height: 300px;
    }
}
