:root {
    --mk-upgrade-ink: #221710;
    --mk-upgrade-muted: #6d6258;
    --mk-upgrade-green: #174b34;
    --mk-upgrade-green-light: #246346;
    --mk-upgrade-gold: #c38a31;
    --mk-upgrade-cream: #f6eee3;
    --mk-upgrade-paper: #fffdf8;
    --mk-upgrade-line: rgba(173, 121, 47, .22);
    --mk-upgrade-shadow: 0 24px 60px rgba(47, 34, 22, .12);
}

html,
body.mk-home-page {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body.mk-home-page {
        overflow-x: clip;
    }
}

body.mk-home-page img,
body.mk-home-page svg {
    max-width: 100%;
}

body.mk-home-page .mk-main,
.mk-upgrade-home,
.mk-upgrade-home * {
    min-width: 0;
}

.mk-upgrade-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.mk-upgrade-hero {
    min-height: min(900px, 100svh);
    color: #fffaf0;
}

.mk-upgrade-hero .hero-room-bg {
    object-position: center center;
    filter: saturate(.96) contrast(1.04);
}

.mk-upgrade-hero .text-readability-overlay {
    background:
        linear-gradient(90deg, rgba(12, 17, 14, .88) 0%, rgba(18, 21, 17, .70) 36%, rgba(21, 18, 14, .22) 68%, rgba(16, 12, 9, .18) 100%),
        linear-gradient(180deg, rgba(10, 14, 12, .55) 0%, rgba(20, 17, 13, .08) 36%, rgba(13, 15, 12, .48) 100%);
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-content {
    width: min(100% - 64px, 1560px);
    padding-bottom: 44px;
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-body {
    align-items: center;
    padding: clamp(64px, 8vh, 112px) 0 32px;
}

body.mk-home-page .mk-upgrade-hero .mk-upgrade-hero__text {
    width: min(760px, 58vw);
    margin-left: clamp(0px, 2.7vw, 48px);
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-eyebrow {
    margin-bottom: 14px;
    color: #f0c779;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-text h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(48px, 5vw, 82px);
    line-height: 1;
    letter-spacing: -.025em;
    text-wrap: balance;
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-text h1 span {
    display: inline;
    white-space: normal;
    color: #f0c779;
}

body.mk-home-page .mk-upgrade-hero .mk-upgrade-hero__lead {
    max-width: 680px;
    margin-top: 22px;
    font-size: clamp(18px, 1.3vw, 22px);
    line-height: 1.5;
    text-wrap: pretty;
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-actions {
    grid-template-columns: repeat(2, minmax(220px, 288px));
    max-width: none;
    margin-top: 28px;
    gap: 12px;
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-btn {
    min-height: 56px;
    padding: 12px 22px;
    font-size: 16px;
    text-align: center;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body.mk-home-page .mk-upgrade-hero .makosha-hero-btn:focus-visible,
.mk-upgrade-home a:focus-visible,
.mk-upgrade-home summary:focus-visible,
.mk-upgrade-mobile-actions a:focus-visible {
    outline: 3px solid #f2c46f;
    outline-offset: 3px;
}

.mk-upgrade-hero__hint {
    margin: 11px 0 0 !important;
    color: rgba(255, 250, 241, .78) !important;
    font-size: 14px !important;
}

.mk-upgrade-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 251, 243, .92);
    font-size: 14px;
    font-weight: 750;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

.mk-upgrade-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mk-upgrade-hero__trust li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e4b45d;
    box-shadow: 0 0 0 4px rgba(228, 180, 93, .17);
}

.mk-upgrade-home {
    overflow: hidden;
    background: var(--mk-upgrade-paper);
    color: var(--mk-upgrade-ink);
}

.mk-upgrade-proof {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, .72);
    border-bottom: 1px solid var(--mk-upgrade-line);
    background: linear-gradient(180deg, #fffdf9, #f7eee1);
}

.mk-upgrade-proof__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-upgrade-proof__item {
    position: relative;
    padding: 28px clamp(20px, 3vw, 44px);
    border-right: 1px solid var(--mk-upgrade-line);
}

.mk-upgrade-proof__item:first-child {
    padding-left: 0;
}

.mk-upgrade-proof__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.mk-upgrade-proof__item strong,
.mk-upgrade-proof__item span {
    display: block;
}

.mk-upgrade-proof__item strong {
    margin-bottom: 7px;
    color: var(--mk-upgrade-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.mk-upgrade-proof__item span {
    color: var(--mk-upgrade-muted);
    font-size: 14px;
    line-height: 1.55;
}

.mk-upgrade-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.mk-upgrade-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 42px;
}

.mk-upgrade-kicker {
    display: block;
    margin-bottom: 12px;
    color: #95661f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.mk-upgrade-heading h2,
.mk-upgrade-choice h2,
.mk-upgrade-faq-intro h2,
.mk-upgrade-final h2 {
    margin: 0;
    color: var(--mk-upgrade-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4.2vw, 60px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.mk-upgrade-heading > p,
.mk-upgrade-choice__copy > p,
.mk-upgrade-faq-intro > p,
.mk-upgrade-final p {
    margin: 0;
    color: var(--mk-upgrade-muted);
    font-size: 17px;
    line-height: 1.7;
}

.mk-upgrade-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mk-upgrade-service {
    position: relative;
    display: flex;
    min-height: 290px;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--mk-upgrade-line);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 4%, rgba(195, 138, 49, .13), transparent 34%),
        #fff;
    box-shadow: 0 12px 38px rgba(47, 34, 22, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mk-upgrade-service:hover {
    transform: translateY(-4px);
    border-color: rgba(195, 138, 49, .42);
    box-shadow: var(--mk-upgrade-shadow);
}

.mk-upgrade-service__number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
    border: 1px solid rgba(195, 138, 49, .42);
    border-radius: 50%;
    color: #95661f;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.mk-upgrade-service h3 {
    margin: 0 0 12px;
    color: var(--mk-upgrade-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 600;
}

.mk-upgrade-service p {
    margin: 0 0 24px;
    color: var(--mk-upgrade-muted);
    line-height: 1.6;
}

.mk-upgrade-service a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--mk-upgrade-green);
    font-weight: 850;
    text-decoration: none;
}

.mk-upgrade-service a span,
.mk-upgrade-link span {
    transition: transform .2s ease;
}

.mk-upgrade-service a:hover span,
.mk-upgrade-link:hover span {
    transform: translateX(4px);
}

.mk-upgrade-section--steps {
    position: relative;
    color: #fffaf1;
    background:
        radial-gradient(circle at 12% 12%, rgba(210, 161, 77, .14), transparent 28%),
        linear-gradient(135deg, #123a29, #1b533a 60%, #123a29);
}

.mk-upgrade-heading--light h2,
.mk-upgrade-heading--light > p {
    color: #fffaf1;
}

.mk-upgrade-heading--light > p {
    opacity: .78;
}

.mk-upgrade-section--steps .mk-upgrade-kicker {
    color: #edc477;
}

.mk-upgrade-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.mk-upgrade-steps li {
    position: relative;
    padding: 0 clamp(20px, 2.5vw, 34px);
    border-left: 1px solid rgba(240, 196, 119, .30);
}

.mk-upgrade-steps li:first-child {
    padding-left: 0;
    border-left: 0;
}

.mk-upgrade-steps li:last-child {
    padding-right: 0;
}

.mk-upgrade-steps li > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(240, 196, 119, .54);
    border-radius: 50%;
    color: #edc477;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.mk-upgrade-steps h3 {
    margin: 0 0 12px;
    color: #fffaf1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.mk-upgrade-steps p {
    margin: 0;
    color: rgba(255, 250, 241, .72);
    font-size: 15px;
    line-height: 1.65;
}

.mk-upgrade-steps__action,
.mk-upgrade-choice__actions,
.mk-upgrade-final__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 26px;
}

.mk-upgrade-steps__action {
    margin-top: 46px;
}

.mk-upgrade-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--mk-upgrade-green);
    border-radius: 999px;
    background: var(--mk-upgrade-green);
    color: #fff;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mk-upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 71, 51, .20);
}

.mk-upgrade-button--gold {
    border-color: #d9a754;
    background: #d9a754;
    color: #1a2f24;
}

.mk-upgrade-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mk-upgrade-green);
    font-weight: 850;
    text-decoration: none;
}

.mk-upgrade-section--steps .mk-upgrade-link {
    color: #fffaf1;
}

.mk-upgrade-choice {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: center;
    gap: clamp(42px, 7vw, 96px);
}

.mk-upgrade-choice__copy > p {
    max-width: 740px;
    margin-top: 24px;
}

.mk-upgrade-choice__copy ul {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
    color: #4e463f;
}

.mk-upgrade-choice__copy li {
    position: relative;
    padding-left: 28px;
    line-height: 1.55;
}

.mk-upgrade-choice__copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mk-upgrade-green-light);
    font-weight: 950;
}

.mk-upgrade-choice__card {
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(195, 138, 49, .34);
    border-radius: 32px;
    background:
        radial-gradient(circle at 86% 10%, rgba(195, 138, 49, .18), transparent 32%),
        linear-gradient(145deg, #f8efe1, #fffdf8);
    box-shadow: var(--mk-upgrade-shadow);
}

.mk-upgrade-choice__card > span {
    color: #95661f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mk-upgrade-choice__card h3 {
    margin: 14px 0 16px;
    color: var(--mk-upgrade-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}

.mk-upgrade-choice__card p {
    margin: 0 0 26px;
    color: var(--mk-upgrade-muted);
    line-height: 1.65;
}

.mk-upgrade-choice__card a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 21px;
    border-radius: 999px;
    background: var(--mk-upgrade-green);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.mk-upgrade-section--faq {
    background: var(--mk-upgrade-cream);
}

.mk-upgrade-faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(42px, 7vw, 94px);
}

.mk-upgrade-faq-intro {
    position: sticky;
    top: 24px;
}

.mk-upgrade-faq-intro > p {
    margin-top: 20px;
}

.mk-upgrade-faq-intro .mk-upgrade-link {
    margin-top: 24px;
}

.mk-upgrade-faq {
    border-top: 1px solid rgba(114, 78, 37, .24);
}

.mk-upgrade-faq details {
    border-bottom: 1px solid rgba(114, 78, 37, .24);
}

.mk-upgrade-faq summary {
    position: relative;
    padding: 24px 52px 24px 0;
    color: var(--mk-upgrade-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.mk-upgrade-faq summary::-webkit-details-marker {
    display: none;
}

.mk-upgrade-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 19px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 75, 52, .28);
    border-radius: 50%;
    font-family: Inter, system-ui, sans-serif;
    font-size: 22px;
}

.mk-upgrade-faq details[open] summary::after {
    content: "−";
}

.mk-upgrade-faq details p {
    max-width: 700px;
    margin: -4px 0 24px;
    padding-right: 44px;
    color: var(--mk-upgrade-muted);
    line-height: 1.7;
}

.mk-upgrade-final {
    padding: clamp(64px, 7vw, 92px) 0;
    background:
        radial-gradient(circle at 8% 20%, rgba(221, 171, 86, .16), transparent 30%),
        #153f2d;
    color: #fffaf1;
}

.mk-upgrade-final__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

.mk-upgrade-final h2 {
    max-width: 760px;
    color: #fffaf1;
}

.mk-upgrade-final p {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(255, 250, 241, .75);
}

.mk-upgrade-final .mk-upgrade-kicker {
    color: #edc477;
}

.mk-upgrade-final__actions {
    justify-content: flex-end;
}

.mk-upgrade-button--outline {
    border-color: rgba(255, 250, 241, .48);
    background: transparent;
    color: #fffaf1;
}

.mk-upgrade-mobile-actions {
    display: none;
}

@media (max-width: 1024px) {
    body.mk-home-page .mk-upgrade-hero .mk-upgrade-hero__text {
        width: min(720px, 78vw);
        margin-left: 0;
    }

    .mk-upgrade-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-upgrade-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 0;
    }

    .mk-upgrade-steps li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .mk-upgrade-choice,
    .mk-upgrade-faq-layout {
        grid-template-columns: 1fr;
    }

    .mk-upgrade-faq-intro {
        position: static;
    }

    .mk-upgrade-final__inner {
        grid-template-columns: 1fr;
    }

    .mk-upgrade-final__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    body.mk-home-page {
        padding-bottom: calc(66px + env(safe-area-inset-bottom));
    }

    .mk-upgrade-container {
        width: min(100% - 28px, 560px);
    }

    .mk-upgrade-hero {
        min-height: 820px;
    }

    .mk-upgrade-hero .hero-room-bg {
        object-position: 58% center;
    }

    .mk-upgrade-hero .text-readability-overlay {
        background:
            linear-gradient(180deg, rgba(12, 17, 14, .78) 0%, rgba(14, 18, 15, .44) 35%, rgba(12, 16, 13, .80) 100%),
            linear-gradient(90deg, rgba(11, 16, 13, .64), rgba(17, 17, 13, .22));
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-content {
        width: min(100% - 24px, 560px);
        padding-top: 8px;
        padding-bottom: 28px;
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-body {
        align-items: flex-end;
        padding: 44px 0 20px;
    }

    body.mk-home-page .mk-upgrade-hero .mk-upgrade-hero__text {
        width: 100%;
        max-width: 100%;
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-text h1 {
        max-width: 100%;
        font-size: clamp(38px, 11.4vw, 54px);
        line-height: 1.03;
        overflow-wrap: anywhere;
    }

    body.mk-home-page .mk-upgrade-hero .mk-upgrade-hero__lead {
        margin-top: 16px;
        font-size: 17px;
        line-height: 1.45;
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-actions {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 21px;
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-btn {
        width: 100%;
        min-height: 52px;
    }

    .mk-upgrade-hero__hint {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .mk-upgrade-hero__trust {
        display: grid;
        gap: 8px;
        margin-top: 16px;
        font-size: 13px;
    }

    .mk-upgrade-proof__grid,
    .mk-upgrade-heading,
    .mk-upgrade-services,
    .mk-upgrade-steps {
        grid-template-columns: 1fr;
    }

    .mk-upgrade-proof__item,
    .mk-upgrade-proof__item:first-child,
    .mk-upgrade-proof__item:last-child {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--mk-upgrade-line);
    }

    .mk-upgrade-proof__item:last-child {
        border-bottom: 0;
    }

    .mk-upgrade-heading {
        align-items: start;
        gap: 18px;
        margin-bottom: 30px;
    }

    .mk-upgrade-heading h2,
    .mk-upgrade-choice h2,
    .mk-upgrade-faq-intro h2,
    .mk-upgrade-final h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .mk-upgrade-heading > p,
    .mk-upgrade-choice__copy > p,
    .mk-upgrade-faq-intro > p,
    .mk-upgrade-final p {
        font-size: 16px;
        line-height: 1.6;
    }

    .mk-upgrade-section {
        padding: 64px 0;
    }

    .mk-upgrade-service {
        min-height: 0;
        padding: 25px;
    }

    .mk-upgrade-service__number {
        margin-bottom: 24px;
    }

    .mk-upgrade-steps {
        gap: 0;
    }

    .mk-upgrade-steps li,
    .mk-upgrade-steps li:first-child,
    .mk-upgrade-steps li:nth-child(3),
    .mk-upgrade-steps li:last-child {
        padding: 0 0 28px 58px;
        border: 0;
    }

    .mk-upgrade-steps li:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 20px;
        top: 44px;
        bottom: 4px;
        width: 1px;
        background: rgba(240, 196, 119, .30);
    }

    .mk-upgrade-steps li > span {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    .mk-upgrade-steps__action,
    .mk-upgrade-choice__actions,
    .mk-upgrade-final__actions {
        display: grid;
        width: 100%;
        gap: 14px;
    }

    .mk-upgrade-button {
        width: 100%;
    }

    .mk-upgrade-choice__card {
        padding: 28px 24px;
    }

    .mk-upgrade-faq summary {
        padding-right: 46px;
        font-size: 19px;
    }

    .mk-upgrade-faq details p {
        padding-right: 0;
    }

    .mk-upgrade-final {
        padding: 58px 0 88px;
    }

    .mk-upgrade-mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 8px;
        padding: 9px max(10px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        border-top: 1px solid rgba(195, 138, 49, .34);
        background: rgba(255, 253, 248, .96);
        box-shadow: 0 -12px 30px rgba(35, 24, 15, .12);
        backdrop-filter: blur(14px);
    }

    .mk-upgrade-mobile-actions a {
        display: inline-flex;
        min-width: 0;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        border: 1px solid var(--mk-upgrade-green);
        border-radius: 999px;
        color: var(--mk-upgrade-green);
        font-size: 13px;
        font-weight: 900;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
    }

    .mk-upgrade-mobile-actions a:last-child {
        background: var(--mk-upgrade-green);
        color: #fff;
    }
}

@media (max-width: 430px) {
    .mk-upgrade-hero {
        min-height: 860px;
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-content {
        width: calc(100% - 20px);
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-text h1 {
        font-size: clamp(34px, 10.7vw, 44px);
    }

    body.mk-home-page .mk-upgrade-hero .makosha-hero-eyebrow {
        letter-spacing: .08em;
    }

    html body.mk-site.mk-home-page .mk-upgrade-hero .makosha-hero-region-art {
        left: auto;
        right: 8%;
        top: 24%;
        width: 42%;
        max-width: calc(100% - 20px);
    }

    .mk-upgrade-service h3 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-upgrade-home *,
    .mk-upgrade-hero * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Compact service header: ordering information stays ahead of decorative widgets. */
.mk-service-strip {
    position: relative;
    z-index: 80;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 18px;
    padding: 5px 12px;
    color: #153e2c;
    font-size: 13px;
    font-weight: 800;
}

.mk-service-strip button,
.mk-service-strip a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid rgba(180, 122, 34, .36);
    border-radius: 999px;
    background: rgba(255, 253, 248, .82);
    color: #174b34;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.mk-service-strip button:focus-visible,
.mk-service-strip a:focus-visible {
    outline: 3px solid rgba(195, 138, 49, .45);
    outline-offset: 2px;
}

body.mk-home-page .makosha-home-topbar > .mk-header-clock,
body.mk-home-page .makosha-home-topbar > .makosha-weather-line,
.mk-public-header .header-content > .mk-header-clock,
.mk-public-header .mk-weather-strip {
    display: none !important;
}

.mk-public-header {
    min-height: 120px !important;
}

.mk-public-shell {
    min-height: 120px;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 4px;
    padding-top: 4px;
}

body.mk-home-page .makosha-home-topbar > .mk-service-strip {
    color: #fffaf1;
}

body.mk-home-page .makosha-home-topbar > .mk-service-strip > span {
    color: rgba(255, 250, 241, .88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* Request form conversion and consent. */
.mk-request-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mk-field-optional {
    color: var(--mk-muted);
    font-size: .82em;
    font-weight: 500;
}

.mk-request-consent {
    align-items: flex-start !important;
    padding: 14px;
    border: 1px solid rgba(180, 122, 34, .28);
    border-radius: 14px;
    background: rgba(246, 238, 227, .62);
    line-height: 1.45;
}

.mk-request-consent input {
    margin-top: 3px;
}

.mk-request-consent a,
.mk-request-submit-note a {
    color: var(--mk-green);
    font-weight: 800;
}

.mk-request-submit-note {
    margin: -2px 0 2px;
    color: var(--mk-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Contacts always show a useful fallback before location data loads. */
.mk-contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr);
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
}

.mk-contact-assurance {
    padding: 26px;
    border: 1px solid rgba(180, 122, 34, .38);
    border-radius: 24px;
    background: rgba(255, 253, 248, .78);
    box-shadow: var(--mk-shadow);
}

.mk-contact-assurance strong {
    display: block;
    margin-bottom: 10px;
    color: var(--mk-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.mk-contact-assurance p {
    margin: 0;
    color: var(--mk-muted);
    line-height: 1.6;
}

.mk-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mk-contact-grid .mk-card {
    height: 100%;
}

.mk-contact-grid .mk-card-body {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.mk-contact-grid .mk-card-body .mk-btn {
    margin-top: auto;
}

.mk-contact-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 24px;
}

.mk-contact-list a {
    color: var(--mk-green);
    font-size: 17px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.mk-contact-note-section {
    padding-top: 0;
}

.mk-contact-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
    gap: clamp(28px, 6vw, 72px);
    padding: clamp(28px, 5vw, 54px);
    border-radius: 28px;
    background: #174b34;
    color: #fffaf1;
}

.mk-contact-note h2 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
}

.mk-contact-note li,
.mk-contact-note p {
    line-height: 1.65;
}

.mk-contact-note a {
    color: #f0c779;
    font-weight: 800;
}

@media (max-width: 900px) {
    .mk-contact-grid {
        grid-template-columns: 1fr;
    }

    .mk-contact-note {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    html,
    body.mk-site {
        max-width: 100%;
        overflow-x: hidden;
    }

    .mk-service-strip {
        justify-content: space-between;
        gap: 6px;
        padding-inline: 4px;
        font-size: 11px;
    }

    .mk-service-strip > span,
    .mk-service-strip button > span {
        display: none;
    }

    .mk-service-strip button,
    .mk-service-strip a {
        min-height: 30px;
        padding: 4px 9px;
    }

    .mk-public-header {
        min-height: 104px !important;
    }

    .mk-public-shell {
        min-height: 104px;
    }

    html body.mk-site.mk-home-page .mk-upgrade-hero .makosha-hero-region-art {
        display: none !important;
    }

    .mk-request-contact-grid,
    .mk-contact-hero__grid {
        grid-template-columns: 1fr;
    }
}
