@font-face {
    font-family: "Brygada 1918";
    src: url("../fonts/Brygada1918-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Brygada 1918";
    src: url("../fonts/Brygada1918-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geologica";
    src: url("../fonts/Geologica-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geologica";
    src: url("../fonts/Geologica-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --ks-bg: #fbf7f1;
    --ks-cream: #fffaf3;
    --ks-coffee: #573f37;
    --ks-coffee-deep: #2f2420;
    --ks-clay: #8d6d62;
    --ks-orange: #ff811a;
    --ks-orange-dark: #e4680d;
    --ks-line: rgba(87, 63, 55, 0.16);
    --ks-shadow: 0 24px 70px rgba(59, 42, 34, 0.18);
    --ks-container: min(1220px, calc(100vw - 48px));
    --ks-content-wide: min(1280px, calc(100vw - 80px));
    --ks-content-gutter: calc((100vw - var(--ks-content-wide)) / 2);
    --ks-frame-left: max(0px, calc((100vw - 1440px) / 2));
    --ks-hero-bg-x: 96%;
    --ks-hero-bg-y: -320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.ks-page,
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--ks-bg);
    color: var(--ks-coffee-deep);
    font-family: "Geologica", Arial, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

.ks-header {
    position: fixed;
    top: 26px;
    left: 50%;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: var(--ks-content-wide);
    min-height: 83px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateX(-50%);
}

.ks-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 28px 8px 14px;
    border: 1.5px solid rgba(92, 69, 62, 0.82);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.88);
    min-width: 0;
}

.ks-brand__logo {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    object-fit: contain;
    object-position: center;
    padding: 0;
    box-shadow: none;
}

.ks-brand__text {
    color: var(--ks-orange);
    font-family: "Geologica", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.ks-nav {
    justify-self: center;
}

.ks-nav__list,
.ks-nav .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 1.55vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ks-nav a {
    position: relative;
    display: block;
    padding: 10px 0;
    color: #80645c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.ks-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--ks-orange);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 180ms ease, transform 180ms ease;
}

.ks-nav a:hover::after,
.ks-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.ks-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.ks-button,
.ks-feature-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Geologica", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ks-button:hover,
.ks-button:focus-visible,
.ks-feature-card a:hover,
.ks-feature-card a:focus-visible {
    transform: translateY(-1px);
}

.ks-button--ghost {
    border-color: rgba(87, 63, 55, 0.18);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ks-coffee);
}

.ks-button--header {
    min-height: 64px;
    padding: 0 34px;
    background: linear-gradient(90deg, #ff6714 0%, #ff811a 52%, #ffa12a 100%);
    box-shadow: 0 14px 30px rgba(255, 116, 18, 0.26);
    color: #fff;
    font-size: 16px;
}

.ks-button--avito {
    min-height: 64px;
    padding: 0 30px;
    background: #6f5048;
    box-shadow: 0 14px 30px rgba(68, 49, 41, 0.2);
    color: #fff;
    font-size: 16px;
}

.ks-button--dark {
    background: var(--ks-coffee);
    color: #fff;
}

.ks-button--primary {
    min-height: 50px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--ks-orange), #ff9e2a);
    box-shadow: 0 16px 34px rgba(255, 129, 26, 0.32);
    color: #fff;
}

.ks-button--light {
    min-height: 50px;
    padding: 0 22px;
    border-color: rgba(87, 63, 55, 0.14);
    background: rgba(255, 255, 255, 0.74);
    color: var(--ks-coffee);
}

.ks-icon-link {
    display: inline-grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #6f5048;
    color: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ks-icon-link svg {
    width: 33px;
    height: 33px;
    fill: currentColor;
}

.ks-menu-toggle {
    display: none;
}

.ks-hero {
    position: relative;
    display: flex;
    min-height: max(760px, calc(894 / 1440 * 100vw));
    padding: 0;
    overflow: hidden;
    background: var(--hero-bg) var(--ks-hero-bg-x) var(--ks-hero-bg-y) / 120% auto no-repeat var(--ks-bg);
}

.ks-hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: min(1120px, 78vw);
    pointer-events: none;
    background: url("../images/left-light.png") left top / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 66%, rgba(0, 0, 0, 0.62) 84%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 66%, rgba(0, 0, 0, 0.62) 84%, transparent 100%);
}

@media (min-width: 1024px) {
    .ks-header {
        display: grid;
    }

    .ks-hero {
        width: 100%;
        min-height: max(894px, 100vh);
        aspect-ratio: auto;
        margin: 0;
        background-color: var(--ks-bg);
        background-image: var(--hero-bg);
        background-position: var(--ks-hero-bg-x) var(--ks-hero-bg-y);
        background-repeat: no-repeat;
        background-size: 120% auto;
    }

    .ks-hero__content,
    .ks-hero__features {
        opacity: 1;
        pointer-events: auto;
    }
}

.ks-hero__content {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.ks-hero__copy {
    position: absolute;
    top: 169px;
    left: var(--ks-content-gutter);
    width: 850px;
    padding: 0;
}

.ks-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: 793px;
    height: 84px;
    min-height: 84px;
    margin-top: 29px;
    margin-left: 2px;
    padding: 0 44px 0 92px;
    border-radius: 0;
    background: url("../images/eyebrow-banner.png") left center / 100% 100% no-repeat;
    box-shadow: none;
    color: #fff;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.ks-eyebrow svg {
    display: none;
}

.ks-eyebrow svg path {
    display: none;
}

.ks-hero h1 {
    max-width: 585px;
    margin: 0;
    color: var(--ks-coffee);
    font-family: "Brygada 1918", Georgia, serif;
    font-size: 75px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

.ks-hero__copy > p {
    max-width: 510px;
    margin: 18px 0 0;
    color: rgba(47, 36, 32, 0.76);
    font-size: 18px;
    line-height: 1.6;
}

.ks-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    margin-left: 0;
}

.ks-hero__actions .ks-button--light {
    width: 291px;
    min-height: 72px;
    padding: 0 30px;
    border-color: rgba(87, 63, 55, 0.42);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ks-coffee);
    font-size: 23px;
    font-weight: 400;
}

.ks-hero__experience {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    min-width: 265px;
    min-height: 156px;
    place-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px 0 0 24px;
    background: linear-gradient(160deg, rgba(96, 73, 68, 0.45), rgba(96, 73, 68, 0.62));
    box-shadow: var(--ks-shadow);
    color: #fff;
    text-align: center;
    backdrop-filter: blur(16px);
    transform: translateY(-50%);
}

.ks-hero__experience strong {
    font-size: 62px;
    font-weight: 600;
    line-height: 0.9;
}

.ks-hero__experience span {
    margin-top: 6px;
    font-size: 25px;
    font-weight: 600;
}

.ks-hero__features {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
    width: var(--ks-content-wide);
    max-width: none;
    margin: 0 auto;
}

.ks-feature-card {
    display: grid;
    align-content: space-between;
    justify-items: center;
    height: 223px;
    min-height: 0;
    padding: 42px 28px 32px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(145, 122, 116, 0.78) 0%, rgba(89, 63, 56, 0.9) 100%);
    box-shadow: none;
    color: #fff;
    backdrop-filter: blur(18px);
}

.ks-feature-card h2 {
    margin: 0;
    font-family: "Brygada 1918", Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.08;
    text-align: center;
}

.ks-feature-card p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 25px;
    line-height: 1.25;
    text-align: center;
}

.ks-feature-card a {
    justify-self: center;
    min-height: 52px;
    margin-top: 22px;
    padding: 0 30px;
    background: var(--ks-orange);
    box-shadow: 0 10px 22px rgba(255, 129, 26, 0.24);
    color: #fff;
    font-size: 16px;
}

.ks-button--header:hover,
.ks-button--header:focus-visible,
.ks-button--primary:hover,
.ks-button--primary:focus-visible,
.ks-feature-card a:hover,
.ks-feature-card a:focus-visible {
    background: #ff7412;
    box-shadow: 0 16px 34px rgba(255, 129, 26, 0.36);
}

.ks-button--header:hover,
.ks-button--header:focus-visible {
    background: linear-gradient(90deg, #f65c0f 0%, #ff7412 52%, #ff9420 100%);
}

.ks-button--avito:hover,
.ks-button--avito:focus-visible {
    background: #5f433d;
    box-shadow: 0 16px 34px rgba(68, 49, 41, 0.24);
}

.ks-button--light:hover,
.ks-button--light:focus-visible,
.ks-icon-link:hover,
.ks-icon-link:focus-visible {
    border-color: rgba(87, 63, 55, 0.24);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 28px rgba(68, 49, 41, 0.14);
}

.ks-icon-link:hover,
.ks-icon-link:focus-visible {
    background: #5f433d;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 1120px) {
    .ks-header {
        grid-template-columns: auto auto;
        gap: 12px;
        min-height: 68px;
    }

    .ks-menu-toggle {
        position: relative;
        z-index: 2;
        display: inline-grid;
        justify-self: end;
        width: 48px;
        height: 48px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: var(--ks-coffee);
        color: #fff;
        cursor: pointer;
    }

    .ks-menu-toggle span {
        grid-area: 1 / 1;
        width: 20px;
        height: 2px;
        border-radius: 99px;
        background: currentColor;
        transition: transform 180ms ease;
    }

    .ks-menu-toggle span:first-child {
        transform: translateY(-4px);
    }

    .ks-menu-toggle span:last-child {
        transform: translateY(4px);
    }

    .ks-header.is-open .ks-menu-toggle span:first-child {
        transform: rotate(45deg);
    }

    .ks-header.is-open .ks-menu-toggle span:last-child {
        transform: rotate(-45deg);
    }

    .ks-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        justify-self: stretch;
        width: 100%;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 28px;
        background: rgba(255, 250, 243, 0.96);
        box-shadow: 0 22px 52px rgba(68, 49, 41, 0.16);
    }

    .ks-header.is-open .ks-nav {
        display: block;
    }

    .ks-nav__list,
    .ks-nav .menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .ks-nav a {
        min-height: 42px;
        padding: 12px 10px;
        border: 1px solid rgba(87, 63, 55, 0.1);
        border-radius: 15px;
        background: #fff;
        text-align: center;
        white-space: normal;
    }

    .ks-nav a::after {
        display: none;
    }

    .ks-header__actions {
        display: none;
    }

    .ks-hero {
        padding-top: 110px;
    }

    .ks-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    :root {
        --ks-container: min(100vw - 28px, 1220px);
    }

    .ks-header {
        top: 10px;
        min-height: 62px;
        padding: 8px 8px 8px 10px;
        border-radius: 24px;
    }

    .ks-brand__logo {
        width: 52px;
        height: 52px;
    }

    .ks-brand__text {
        max-width: 150px;
        overflow: hidden;
        font-size: 22px;
        text-overflow: ellipsis;
    }

    .ks-nav {
        border-radius: 22px;
    }

    .ks-nav__list,
    .ks-nav .menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-hero {
        display: block;
        min-height: auto;
        padding: 96px 14px 20px;
        background:
            linear-gradient(180deg, rgba(251, 247, 241, 0.94) 0%, rgba(251, 247, 241, 0.82) 43%, rgba(251, 247, 241, 0.18) 80%, rgba(251, 247, 241, 0.7) 100%),
            var(--hero-bg) 61% 0 / auto 58vh no-repeat,
            var(--ks-bg);
    }

    .ks-hero::before {
        display: none;
    }

    .ks-hero__content {
        display: block;
        min-height: 650px;
    }

    .ks-hero__copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        padding-top: 10px;
        padding-bottom: 0;
    }

    .ks-eyebrow {
        gap: 8px;
        min-height: 38px;
        margin-top: 20px;
        margin-left: 0;
        padding: 8px 13px 8px 10px;
        font-size: 13px;
        white-space: normal;
    }

    .ks-eyebrow svg {
        width: 21px;
        height: 21px;
        margin-left: 0;
        padding: 0;
        background: transparent;
    }

    .ks-hero h1 {
        max-width: 330px;
        margin-top: 18px;
        font-size: 46px;
    }

    .ks-hero__copy > p {
        max-width: 310px;
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.55;
    }

    .ks-hero__actions {
        gap: 10px;
        margin-top: 20px;
    }

    .ks-button--primary,
    .ks-button--light {
        min-height: 46px;
        padding: 0 16px;
        font-size: 13px;
    }

    .ks-hero__experience {
        top: 520px;
        right: auto;
        left: 14px;
        min-width: 94px;
        min-height: 78px;
        padding: 12px;
        border-radius: 16px;
        transform: none;
    }

    .ks-hero__experience strong {
        font-size: 32px;
    }

    .ks-hero__experience span {
        font-size: 12px;
    }

    .ks-hero__features {
        position: relative;
        inset: auto;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: none;
        margin: -52px 0 0;
    }

    .ks-feature-card {
        min-height: 0;
        padding: 17px 17px 16px;
        border-radius: 18px;
    }

    .ks-feature-card h2 {
        font-size: 20px;
    }

    .ks-feature-card p {
        font-size: 13px;
    }

    .ks-feature-card a {
        margin-top: 12px;
    }
}

@media (max-width: 420px) {
    .ks-nav__list,
    .ks-nav .menu {
        grid-template-columns: 1fr;
    }

    .ks-brand__text {
        max-width: 132px;
        font-size: 20px;
    }

    .ks-hero {
        background:
            linear-gradient(180deg, rgba(251, 247, 241, 0.96) 0%, rgba(251, 247, 241, 0.86) 44%, rgba(251, 247, 241, 0.12) 78%, rgba(251, 247, 241, 0.72) 100%),
            var(--hero-bg) 62% 0 / auto 54vh no-repeat,
            var(--ks-bg);
    }

    .ks-hero__content {
        min-height: 640px;
    }

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

    .ks-hero__actions {
        display: grid;
        max-width: 230px;
    }

    .ks-hero__experience {
        top: 520px;
    }
}

@media (min-width: 761px) and (max-width: 1439px) {
    .ks-header {
        top: calc(26 / 1900 * 100vw);
        grid-template-columns: auto 1fr auto;
        gap: 0;
        width: min(calc(1652 / 1900 * 100vw), calc(100vw - 36px));
        min-height: calc(83 / 1900 * 100vw);
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .ks-brand {
        gap: calc(12 / 1900 * 100vw);
        min-height: calc(52 / 1900 * 100vw);
        padding: calc(8 / 1900 * 100vw) calc(28 / 1900 * 100vw) calc(8 / 1900 * 100vw) calc(14 / 1900 * 100vw);
    }

    .ks-brand__logo {
        width: calc(36 / 1900 * 100vw);
        height: calc(36 / 1900 * 100vw);
        padding: 0;
    }

    .ks-brand__text {
        max-width: none;
        font-size: calc(18 / 1900 * 100vw);
    }

    .ks-menu-toggle {
        display: none;
    }

    .ks-nav {
        position: static;
        display: block;
        justify-self: center;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .ks-nav__list,
    .ks-nav .menu {
        display: flex;
        grid-template-columns: none;
        gap: calc(30 / 1900 * 100vw);
    }

    .ks-nav a {
        min-height: 0;
        padding: calc(10 / 1900 * 100vw) 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: calc(15 / 1900 * 100vw);
        text-align: left;
        white-space: nowrap;
    }

    .ks-nav a::after {
        display: block;
        bottom: calc(5 / 1900 * 100vw);
    }

    .ks-header__actions {
        display: flex;
        gap: calc(18 / 1900 * 100vw);
    }

    .ks-icon-link {
        width: calc(64 / 1900 * 100vw);
        height: calc(64 / 1900 * 100vw);
    }

    .ks-icon-link svg {
        width: calc(33 / 1900 * 100vw);
        height: calc(33 / 1900 * 100vw);
    }

    .ks-button--header,
    .ks-button--avito {
        min-height: calc(64 / 1900 * 100vw);
        padding: 0 calc(34 / 1900 * 100vw);
        font-size: calc(16 / 1900 * 100vw);
    }

    .ks-hero {
        width: 100vw;
        min-height: 0;
        aspect-ratio: 1440 / 894;
        padding: 0;
        background-color: var(--ks-bg);
        background-image: var(--hero-bg);
        background-position: var(--ks-hero-bg-x) var(--ks-hero-bg-y);
        background-repeat: no-repeat;
        background-size: 120% auto;
    }

    .ks-hero__content {
        width: 100%;
        min-height: 0;
    }

    .ks-hero__copy {
        position: absolute;
        top: calc(169 / 1440 * 100vw);
        left: var(--ks-content-gutter);
        width: calc(850 / 1440 * 100vw);
        padding: 0;
    }

    .ks-hero h1 {
        max-width: calc(585 / 1440 * 100vw);
        margin: 0;
        font-size: calc(75 / 1440 * 100vw);
        line-height: 1.08;
    }

    .ks-eyebrow {
        width: calc(793 / 1440 * 100vw);
        height: calc(84 / 1440 * 100vw);
        min-height: calc(84 / 1440 * 100vw);
        margin-top: calc(29 / 1440 * 100vw);
        margin-left: calc(2 / 1440 * 100vw);
        padding: 0 calc(44 / 1440 * 100vw) 0 calc(92 / 1440 * 100vw);
        border-radius: 0;
        font-size: calc(31 / 1440 * 100vw);
        line-height: 1;
        white-space: nowrap;
    }

    .ks-eyebrow svg {
        display: none;
    }

    .ks-hero__actions {
        gap: calc(12 / 1440 * 100vw);
        margin-top: calc(20 / 1440 * 100vw);
        margin-left: 0;
    }

    .ks-hero__actions .ks-button--light {
        width: calc(291 / 1440 * 100vw);
        min-height: calc(72 / 1440 * 100vw);
        padding: 0 calc(30 / 1440 * 100vw);
        border-radius: calc(30 / 1440 * 100vw);
        font-size: calc(23 / 1440 * 100vw);
    }

    .ks-hero__experience {
        top: 50%;
        right: 0;
        left: auto;
        min-width: calc(265 / 1440 * 100vw);
        min-height: calc(156 / 1440 * 100vw);
        padding: calc(16 / 1440 * 100vw) calc(18 / 1440 * 100vw);
        border-radius: calc(24 / 1440 * 100vw) 0 0 calc(24 / 1440 * 100vw);
        transform: translateY(-50%);
    }

    .ks-hero__experience strong {
        font-size: calc(62 / 1440 * 100vw);
    }

    .ks-hero__experience span {
        margin-top: calc(6 / 1440 * 100vw);
        font-size: calc(25 / 1440 * 100vw);
    }

    .ks-hero__features {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(38 / 1440 * 100vw);
        width: var(--ks-content-wide);
        max-width: none;
        margin: 0 auto;
    }

    .ks-feature-card {
        height: calc(223 / 1440 * 100vw);
        min-height: 0;
        padding: calc(42 / 1440 * 100vw) calc(28 / 1440 * 100vw) calc(32 / 1440 * 100vw);
        border-radius: calc(12 / 1440 * 100vw);
    }

    .ks-feature-card h2 {
        font-size: calc(34 / 1440 * 100vw);
    }

    .ks-feature-card p {
        margin-top: calc(12 / 1440 * 100vw);
        font-size: calc(25 / 1440 * 100vw);
    }

    .ks-feature-card a {
        min-height: calc(52 / 1440 * 100vw);
        margin-top: calc(22 / 1440 * 100vw);
        padding: 0 calc(30 / 1440 * 100vw);
        font-size: calc(16 / 1440 * 100vw);
    }
}

/* Responsive finishing pass */
@media (min-width: 1121px) and (max-width: 1439px) {
    .ks-header {
        top: 18px;
        width: var(--ks-content-wide);
        min-height: 64px;
    }

    .ks-brand {
        min-height: 48px;
        padding: 7px 22px 7px 12px;
    }

    .ks-brand__logo {
        width: 34px;
        height: 34px;
    }

    .ks-brand__text {
        font-size: 16px;
    }

    .ks-nav__list,
    .ks-nav .menu {
        gap: clamp(14px, 1.35vw, 22px);
    }

    .ks-nav a {
        font-size: clamp(12px, 1vw, 14px);
    }

    .ks-icon-link {
        width: 54px;
        height: 54px;
    }

    .ks-icon-link svg {
        width: 28px;
        height: 28px;
    }

    .ks-button--header,
    .ks-button--avito {
        min-height: 54px;
        padding: 0 26px;
        font-size: 14px;
    }

    .ks-hero {
        min-height: max(760px, 100vh);
        aspect-ratio: auto;
        background-size: 120% auto;
    }

    .ks-hero__copy {
        top: clamp(130px, 11vw, 160px);
        left: var(--ks-content-gutter);
        width: min(700px, 58vw);
    }

    .ks-hero h1 {
        max-width: min(520px, 46vw);
        font-size: clamp(54px, 5.3vw, 70px);
    }

    .ks-eyebrow {
        width: min(670px, 58vw);
        height: 72px;
        min-height: 72px;
        margin-top: 24px;
        padding: 0 34px 0 78px;
        font-size: clamp(24px, 2.25vw, 29px);
    }

    .ks-hero__actions .ks-button--light {
        width: 250px;
        min-height: 62px;
        font-size: 20px;
    }

    .ks-hero__experience {
        min-width: 210px;
        min-height: 124px;
    }

    .ks-hero__experience strong {
        font-size: 50px;
    }

    .ks-hero__experience span {
        font-size: 20px;
    }

    .ks-hero__features {
        right: 0;
        left: 0;
        gap: 32px;
        width: var(--ks-content-wide);
        margin-right: auto;
        margin-left: auto;
    }

    .ks-feature-card {
        height: 176px;
        padding: 30px 24px 24px;
    }

    .ks-feature-card h2 {
        font-size: 28px;
    }

    .ks-feature-card p {
        font-size: 20px;
    }

    .ks-feature-card a {
        min-height: 44px;
        margin-top: 16px;
        font-size: 14px;
    }
}

@media (min-width: 761px) and (max-width: 1120px) {
    .ks-header {
        top: 16px;
        grid-template-columns: auto auto;
        width: calc(100vw - 40px);
        min-height: 64px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .ks-brand {
        gap: 10px;
        min-height: 48px;
        width: max-content;
        padding: 6px 22px 6px 10px;
        border-radius: 999px;
        background: rgba(255, 250, 243, 0.92);
        box-shadow: 0 14px 34px rgba(68, 49, 41, 0.1);
    }

    .ks-brand__logo {
        width: 36px;
        height: 36px;
    }

    .ks-brand__text {
        font-size: 17px;
    }

    .ks-menu-toggle {
        display: inline-grid;
        border-radius: 50%;
        box-shadow: 0 14px 34px rgba(68, 49, 41, 0.12);
    }

    .ks-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        width: 100%;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 24px;
        background: rgba(255, 250, 243, 0.97);
        box-shadow: 0 22px 52px rgba(68, 49, 41, 0.16);
    }

    .ks-header.is-open .ks-nav {
        display: block;
    }

    .ks-nav__list,
    .ks-nav .menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ks-nav a {
        min-height: 42px;
        padding: 12px 10px;
        border: 1px solid rgba(87, 63, 55, 0.1);
        border-radius: 15px;
        background: #fff;
        font-size: 14px;
        text-align: center;
        white-space: normal;
    }

    .ks-nav a::after,
    .ks-header__actions {
        display: none;
    }

    .ks-hero {
        display: block;
        min-height: 820px;
        aspect-ratio: auto;
        padding: 118px 32px 34px;
        background:
            linear-gradient(90deg, rgba(251, 247, 241, 0.96) 0%, rgba(251, 247, 241, 0.84) 47%, rgba(251, 247, 241, 0.26) 74%, rgba(251, 247, 241, 0.12) 100%),
            linear-gradient(180deg, rgba(251, 247, 241, 0.06) 0%, rgba(251, 247, 241, 0.18) 47%, rgba(251, 247, 241, 1) 76%),
            var(--hero-bg) right -70px top -96px / auto 640px no-repeat,
            var(--ks-bg);
    }

    .ks-hero::before {
        display: none;
    }

    .ks-hero__content {
        min-height: 0;
    }

    .ks-hero__copy {
        position: relative;
        top: auto;
        left: auto;
        width: min(560px, 76vw);
    }

    .ks-hero h1 {
        max-width: 430px;
        font-size: 58px;
        line-height: 1.05;
    }

    .ks-eyebrow {
        width: fit-content;
        max-width: calc(100vw - 64px);
        height: auto;
        min-height: 64px;
        margin-top: 24px;
        margin-left: 0;
        padding: 0 34px 0 76px;
        font-size: 22px;
        line-height: 1.05;
        white-space: normal;
    }

    .ks-hero__actions {
        margin-top: 18px;
    }

    .ks-hero__actions .ks-button--light {
        width: 245px;
        min-height: 58px;
        border-radius: 26px;
        font-size: 19px;
    }

    .ks-hero__experience {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 140px;
        min-width: 140px;
        min-height: 92px;
        margin: 24px 0 0 auto;
        padding: 12px;
        border-radius: 20px;
        transform: none;
    }

    .ks-hero__experience strong {
        font-size: 40px;
    }

    .ks-hero__experience span {
        font-size: 15px;
    }

    .ks-hero__features {
        position: relative;
        inset: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
        margin: 28px 0 0;
    }

    .ks-feature-card {
        height: auto;
        min-height: 166px;
        padding: 28px 20px 22px;
        border-radius: 10px;
    }

    .ks-feature-card h2 {
        font-size: 26px;
    }

    .ks-feature-card p {
        font-size: 18px;
    }

    .ks-feature-card a {
        min-height: 42px;
        margin-top: 16px;
        font-size: 13px;
    }
}

@media (max-width: 760px) {
    .ks-header {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 10px;
        width: calc(100vw - 28px);
        min-height: 66px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        overflow: visible;
    }

    .ks-brand {
        gap: 9px;
        width: max-content;
        max-width: calc(100vw - 98px);
        min-height: 50px;
        padding: 6px 18px 6px 8px;
        border-radius: 999px;
        background: rgba(255, 250, 243, 0.92);
        box-shadow: 0 14px 34px rgba(68, 49, 41, 0.1);
    }

    .ks-brand__logo {
        width: 42px;
        height: 42px;
    }

    .ks-brand__text {
        max-width: 150px;
        font-size: 19px;
    }

    .ks-menu-toggle {
        position: absolute;
        top: 50%;
        right: 10px;
        z-index: 4;
        display: inline-grid !important;
        justify-self: end;
        width: 48px;
        min-width: 48px;
        height: 48px;
        background: var(--ks-coffee);
        color: #fff;
        transform: translateY(-50%);
    }

    .ks-hero {
        display: block;
        min-height: auto;
        padding: 104px 14px 22px;
        background:
            linear-gradient(180deg, rgba(251, 247, 241, 0) 0%, rgba(251, 247, 241, 0.08) 46%, rgba(251, 247, 241, 0.62) 58%, rgba(251, 247, 241, 0.94) 70%, rgba(251, 247, 241, 1) 82%),
            var(--hero-bg) right -124px top -104px / auto 610px no-repeat,
            var(--ks-bg);
    }

    .ks-hero::before {
        display: block;
        top: 270px;
        right: 0;
        bottom: auto;
        left: 0;
        z-index: 0;
        width: auto;
        height: 430px;
        background: linear-gradient(180deg, rgba(251, 247, 241, 0), rgba(251, 247, 241, 0.72) 46%, var(--ks-bg) 78%);
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ks-hero__content {
        position: relative;
        z-index: 1;
        min-height: 0;
    }

    .ks-hero__copy {
        padding-top: 0;
    }

    .ks-hero h1 {
        max-width: min(330px, 92vw);
        margin-top: 10px;
        font-size: clamp(38px, 11vw, 46px);
        line-height: 1.08;
    }

    .ks-eyebrow {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        overflow: visible;
        height: auto;
        min-height: 58px;
        margin-top: 24px;
        padding: 10px 16px 10px 64px;
        border-radius: 0 26px 26px 0;
        background: linear-gradient(90deg, transparent 0 28px, #ff5f13 28px, #ff7d18 56%, #ff9a24 100%);
        font-size: clamp(13px, 2.8vw, 16px);
        line-height: 1.18;
        white-space: normal;
    }

    .ks-eyebrow::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: #ff6816;
        transform: translate(-1px, -50%);
    }

    .ks-eyebrow svg {
        position: absolute;
        top: 50%;
        left: 12px;
        z-index: 1;
        display: block;
        width: 34px;
        height: 34px;
        color: #fff;
        fill: currentColor;
        transform: translateY(-50%);
    }

    .ks-eyebrow svg path {
        display: block;
        fill: currentColor;
    }

    .ks-hero__actions {
        display: block;
        margin-top: 18px;
    }

    .ks-hero__actions .ks-button--light {
        width: min(280px, 100%);
        min-height: 60px;
        border-radius: 26px;
        font-size: 18px;
    }

    .ks-hero__experience {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 104px;
        min-width: 104px;
        min-height: 82px;
        margin: 24px 0 0;
        padding: 10px;
        border-radius: 18px;
        transform: none;
    }

    .ks-hero__experience strong {
        font-size: 32px;
    }

    .ks-hero__experience span {
        font-size: 12px;
    }

    .ks-hero__features {
        position: relative;
        inset: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 16px 0 0;
    }

    .ks-feature-card {
        height: auto;
        min-height: 164px;
        padding: 24px 18px 20px;
        border-radius: 12px;
    }

    .ks-feature-card h2 {
        overflow-wrap: anywhere;
        font-size: 21px;
        line-height: 1.12;
    }

    .ks-feature-card p {
        margin-top: 8px;
        font-size: 16px;
    }

    .ks-feature-card a {
        min-height: 44px;
        margin-top: 16px;
        padding: 0 20px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .ks-brand {
        width: max-content;
        max-width: calc(100vw - 92px);
        padding-right: 14px;
    }

    .ks-brand__text {
        max-width: 138px;
        font-size: 18px;
    }

    .ks-hero {
        padding-right: 12px;
        padding-left: 12px;
        background:
            linear-gradient(180deg, rgba(251, 247, 241, 0) 0%, rgba(251, 247, 241, 0.08) 44%, rgba(251, 247, 241, 0.64) 58%, rgba(251, 247, 241, 0.95) 70%, rgba(251, 247, 241, 1) 82%),
            var(--hero-bg) right -128px top -106px / auto 610px no-repeat,
            var(--ks-bg);
    }

    .ks-eyebrow {
        min-height: 58px;
        padding: 10px 12px 10px 58px;
        font-size: 13px;
    }

    .ks-feature-card h2 {
        font-size: 20px;
    }
}

.ks-section {
    scroll-margin-top: 118px;
    background: var(--ks-bg);
    color: var(--ks-coffee);
}

.ks-section__inner {
    width: min(1280px, calc(100vw - 80px));
    margin: 0 auto;
    padding: 92px 0;
}

.ks-section__head {
    max-width: 780px;
    margin-bottom: 36px;
}

.ks-section__head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    max-width: none;
}

.ks-section__head--row > p {
    max-width: 430px;
}

.ks-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 14px;
    padding: 0 18px;
    border: 1px solid rgba(87, 63, 55, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--ks-orange);
    font-size: 14px;
    font-weight: 700;
}

.ks-section h2,
.ks-section h3,
.ks-section p {
    margin: 0;
}

.ks-section h2 {
    font-family: "Brygada 1918", Georgia, serif;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
}

.ks-section h3 {
    font-family: "Brygada 1918", Georgia, serif;
    font-size: 28px;
    line-height: 1.08;
}

.ks-section__head p,
.ks-about__copy > p,
.ks-delivery p,
.ks-contacts p,
.ks-faq p {
    margin-top: 16px;
    color: rgba(87, 63, 55, 0.78);
    font-size: 18px;
    line-height: 1.45;
}

.ks-button--orange {
    background: linear-gradient(135deg, #ff6414, #ff9d25);
    color: #fff;
}

.ks-button--dark {
    background: var(--ks-coffee);
    color: #fff;
}

.ks-catalog {
    background:
        linear-gradient(180deg, rgba(251, 247, 241, 1) 0%, rgba(255, 250, 243, 1) 100%);
}

.ks-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ks-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(87, 63, 55, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 60px rgba(68, 49, 41, 0.09);
}

.ks-product-card__image {
    display: block;
    aspect-ratio: 0.76 / 1;
    overflow: hidden;
    background: #efe7dc;
}

.ks-product-card__image img,
.ks-gallery-item img,
.ks-review-card img,
.ks-about__visual img,
.ks-faq__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ks-product-card__image img {
    object-position: top center;
}

.ks-mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--ks-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.ks-promo .ks-section__inner {
    padding-top: 30px;
}

.ks-promo__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ks-promo-card {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(92px, max-content) minmax(78px, max-content) auto;
    align-content: start;
    overflow: hidden;
    min-height: 260px;
    padding: 38px 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff5f13 0%, #ff8f21 100%);
    color: #fff;
}

.ks-promo-card span {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 22px;
    font-size: 16px;
    font-weight: 800;
}

.ks-promo-card h2 {
    position: relative;
    z-index: 1;
    max-width: 460px;
    color: #fff;
    font-size: clamp(34px, 3vw, 44px);
}

.ks-promo-card p {
    position: relative;
    z-index: 1;
    max-width: 430px;
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 1.24;
}

.ks-promo-card .ks-button {
    position: relative;
    z-index: 1;
    align-self: start;
    justify-self: start;
    min-height: 54px;
    margin-top: 26px;
    padding: 0 34px;
}

.ks-promo-card__decor {
    position: absolute;
    z-index: 0;
    display: block;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.ks-promo-card__decor--percent {
    right: 34px;
    bottom: 18px;
    width: 178px;
    transform: rotate(-7deg);
}

.ks-promo-card__decor--gift {
    right: 26px;
    bottom: 8px;
    width: 205px;
}

.ks-promo-card__decor--coins {
    right: 42px;
    bottom: 24px;
    width: 176px;
}

.ks-about {
    background: #f7f1e9;
}

.ks-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 42px 58px;
    align-items: start;
}

.ks-about__copy {
    grid-column: 1;
    grid-row: 1;
}

.ks-about__visual {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    align-self: stretch;
    overflow: visible;
    min-height: 100%;
}

.ks-about__visual img {
    position: relative;
    width: 100%;
    height: clamp(420px, 42vw, 540px);
    max-height: calc(100vh - 136px);
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 28px 70px rgba(68, 49, 41, 0.12);
}

.ks-about__visual--logo img {
    padding: clamp(28px, 4vw, 54px);
    background: #fff;
    object-fit: contain;
}

.ks-about__visual.is-fixed img {
    position: fixed;
    top: 112px;
    left: var(--ks-about-image-left);
    z-index: 4;
    width: var(--ks-about-image-width);
}

.ks-about__visual.is-bottom img {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

.ks-about__stats {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.ks-about__stats span {
    min-height: 96px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(87, 63, 55, 0.76);
    font-size: 14px;
    font-weight: 700;
}

.ks-about__stats strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ks-coffee);
    font-family: "Brygada 1918", Georgia, serif;
    font-size: 30px;
}

.ks-why-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ks-why-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
}

.ks-paw-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--ks-orange);
    color: #fff;
}

.ks-paw-icon svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.ks-why-card h3 {
    font-family: "Geologica", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.18;
}

.ks-why-card p {
    margin-top: 10px;
    color: rgba(87, 63, 55, 0.72);
    font-size: 16px;
    line-height: 1.4;
}

.ks-gallery__grid {
    display: grid;
    width: min(1560px, calc(100vw - 32px));
    margin-left: 50%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    transform: translateX(-50%);
}

.ks-gallery__hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    margin: 0 0 28px;
    padding: 0 16px;
    border: 1px solid rgba(87, 63, 55, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: rgba(87, 63, 55, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.ks-gallery .ks-gallery__hint {
    margin: 0 0 28px;
}

.ks-gallery__hint::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ks-orange);
    box-shadow: 0 0 0 5px rgba(255, 112, 24, 0.14);
}

.ks-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin: 0;
    border-radius: 8px;
    background: #f7f1e9;
    cursor: zoom-in;
    outline: none;
    box-shadow: 0 18px 45px rgba(68, 49, 41, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ks-gallery-item::after {
    content: none;
}

.ks-gallery-item:hover,
.ks-gallery-item:focus-visible {
    box-shadow: 0 24px 60px rgba(68, 49, 41, 0.15);
    transform: translateY(-2px);
}

.ks-gallery-item figcaption {
    display: none;
}

.ks-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: #f7f1e9;
}

.ks-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(38, 27, 22, 0.84);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.ks-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ks-lightbox__dialog {
    position: relative;
    display: grid;
    gap: 14px;
    width: min(1080px, 100%);
    max-height: calc(100vh - 56px);
}

.ks-lightbox__image {
    display: block;
    width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 8px;
    background: #f7f1e9;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.ks-lightbox__caption {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ks-coffee);
    font-size: 15px;
    font-weight: 800;
    justify-self: start;
}

.ks-lightbox__close {
    position: absolute;
    top: -18px;
    right: -18px;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ks-coffee);
    cursor: pointer;
    font-family: "Geologica", Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

body.ks-lightbox-open {
    overflow: hidden;
}

.ks-delivery {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0)),
        #f8f1e9;
}

.ks-delivery__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 54px;
    align-items: start;
}

.ks-delivery__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.ks-delivery__steps article,
.ks-delivery__panel {
    border: 1px solid rgba(87, 63, 55, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 60px rgba(68, 49, 41, 0.08);
}

.ks-delivery__steps article {
    min-height: 190px;
    padding: 24px;
}

.ks-delivery__steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--ks-orange);
    color: #fff;
    font-weight: 800;
}

.ks-delivery__steps strong {
    display: block;
    font-size: 20px;
}

.ks-delivery__steps p {
    margin-top: 10px;
    font-size: 15px;
}

.ks-delivery__panel {
    padding: 34px;
}

.ks-delivery__panel h3 {
    margin-bottom: 20px;
}

.ks-delivery__panel ul {
    display: grid;
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.ks-delivery__panel li {
    position: relative;
    padding-left: 28px;
    color: rgba(87, 63, 55, 0.78);
    font-size: 17px;
    line-height: 1.42;
}

.ks-delivery__panel li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ks-orange);
}

.ks-reviews {
    background: var(--ks-bg);
}

.ks-reviews__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ks-reviews-slider {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 14px;
    align-items: center;
}

.ks-reviews-slider .ks-reviews__grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ks-reviews-slider .ks-reviews__grid::-webkit-scrollbar {
    display: none;
}

.ks-reviews-slider .ks-review-card {
    flex: 0 0 min(320px, 82vw);
    scroll-snap-align: start;
}

.ks-slider-button {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #6f5048;
    color: #fff;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1;
}

.ks-review-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(68, 49, 41, 0.09);
}

.ks-review-card img {
    aspect-ratio: 0.76 / 1;
    object-position: top center;
}

.ks-review-card span {
    display: block;
    padding: 16px 18px 18px;
    color: rgba(87, 63, 55, 0.75);
    font-size: 14px;
    font-weight: 700;
}

.ks-faq {
    background: #f7f1e9;
}

.ks-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 56px;
    align-items: center;
}

.ks-faq__visual {
    overflow: hidden;
    aspect-ratio: 1.1 / 1;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(68, 49, 41, 0.12);
}

.ks-faq__list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.ks-faq details {
    border: 1px solid rgba(87, 63, 55, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.ks-faq summary {
    cursor: pointer;
    padding: 22px 24px;
    color: var(--ks-coffee);
    font-size: 18px;
    font-weight: 800;
}

.ks-faq details p {
    margin: 0;
    padding: 0 24px 22px;
    font-size: 16px;
}

.ks-contacts {
    padding-bottom: 36px;
    background: var(--ks-bg);
}

.ks-contacts__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 52px;
    border-radius: 8px;
    background:
        linear-gradient(100deg, rgba(87, 63, 55, 0.94), rgba(128, 96, 84, 0.84)),
        var(--ks-coffee);
    color: #fff;
}

.ks-contacts__box .ks-kicker {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ks-contacts__box h2 {
    max-width: 720px;
    color: #fff;
}

.ks-contacts__box p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
}

.ks-contacts__actions {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.ks-contacts__actions .ks-button {
    min-height: 58px;
    min-width: 0;
    padding: 0 24px;
    white-space: nowrap;
}

.ks-button--vk {
    background: #0077ff;
    color: #fff;
}

.ks-button--contact-avito {
    background: linear-gradient(135deg, #00aaff 0%, #00aaff 24%, #97cf26 24%, #97cf26 49%, #ff6163 49%, #ff6163 74%, #965eeb 74%, #965eeb 100%);
    color: #fff;
}

.ks-button--whatsapp {
    background: #25d366;
    color: #fff;
}

.ks-button--telegram {
    background: #229ed9;
    color: #fff;
}

.ks-button--vk:hover,
.ks-button--vk:focus-visible {
    background: #006de8;
}

.ks-button--contact-avito:hover,
.ks-button--contact-avito:focus-visible {
    filter: saturate(1.08) brightness(0.98);
}

.ks-button--whatsapp:hover,
.ks-button--whatsapp:focus-visible {
    background: #1fbd5b;
}

.ks-button--telegram:hover,
.ks-button--telegram:focus-visible {
    background: #168ac2;
}

.ks-why-section {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background:
        linear-gradient(90deg, rgba(251, 247, 241, 0.98) 0%, rgba(251, 247, 241, 0.94) 45%, rgba(251, 247, 241, 0.28) 66%, rgba(251, 247, 241, 0.05) 100%),
        url("../images/hero-bg-room.jpg") 74% center / cover no-repeat #f7f1e9;
}

.ks-why-section .ks-section__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(280px, 1fr);
    min-height: 560px;
    padding-top: 74px;
    padding-bottom: 74px;
}

.ks-why-section .ks-section__head {
    grid-column: 1;
    max-width: 650px;
    margin-bottom: 28px;
}

.ks-why-section .ks-kicker {
    display: inline-flex;
    min-height: 46px;
    max-width: min(100%, 610px);
    padding: 9px 28px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(128, 100, 92, 0.9), rgba(95, 67, 61, 0.92));
    box-shadow: 0 10px 22px rgba(68, 49, 41, 0.18);
    color: #fff;
    font-family: "Brygada 1918", Georgia, serif;
    font-size: clamp(16px, 1.35vw, 18px);
    font-weight: 700;
    line-height: 1.18;
    text-align: left;
    text-transform: none;
    white-space: normal;
}

.ks-why-section .ks-section__head h2 {
    max-width: 650px;
    margin-top: 20px;
    color: var(--ks-coffee);
    font-size: clamp(30px, 2.55vw, 44px);
    line-height: 1.08;
}

.ks-why-section .ks-section__head p {
    display: none;
}

body.ks-page .ks-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ks-product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 10px;
    padding: 18px;
    background: #fff;
}

.ks-product-card__actions .ks-mini-link {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
}

.ks-mini-link--vk {
    background: #6f5048;
}

body.ks-page .ks-why-grid {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 48px;
    max-width: 720px;
    align-content: start;
}

body.ks-page .ks-why-section .ks-why-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.ks-page .ks-why-section .ks-paw-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    margin: 0 -10px 0 0;
    align-self: center;
    border: 0;
    box-shadow: 0 10px 22px rgba(255, 100, 20, 0.22);
}

body.ks-page .ks-why-section .ks-paw-icon svg {
    width: 36px;
    height: 36px;
}

body.ks-page .ks-why-section .ks-why-card h3 {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    padding: 0 24px 0 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6414 0%, #ff811a 55%, #ff9d25 100%);
    color: #fff;
    font-family: "Geologica", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 10px 22px rgba(255, 100, 20, 0.16);
}

body.ks-page .ks-why-section .ks-why-card p {
    grid-column: 2;
    max-width: 260px;
    margin-top: 10px;
    color: rgba(87, 63, 55, 0.86);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.ks-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ks-check-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(87, 63, 55, 0.78);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.36;
}

.ks-check-list li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ks-orange);
}

.ks-check-list li::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 5px;
    width: 6px;
    height: 3px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
}

body.ks-page .ks-about__stats {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ks-lead {
    background: #f7f1e9;
}

.ks-lead__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: 54px;
    align-items: start;
}

.ks-lead-form {
    display: grid;
    gap: 16px;
    padding: 34px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(68, 49, 41, 0.12);
}

.ks-lead-form label {
    display: grid;
    gap: 8px;
    color: var(--ks-coffee);
    font-size: 14px;
    font-weight: 800;
}

.ks-lead-form__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.ks-lead-form input,
.ks-lead-form textarea {
    width: 100%;
    border: 1px solid rgba(87, 63, 55, 0.18);
    border-radius: 8px;
    background: #fffaf3;
    color: var(--ks-coffee);
    font: inherit;
}

.ks-lead-form input {
    min-height: 52px;
    padding: 0 16px;
}

.ks-lead-form textarea {
    resize: vertical;
    min-height: 116px;
    padding: 14px 16px;
}

.ks-lead-form .ks-button {
    border: 0;
    cursor: pointer;
}

.ks-lead-form .ks-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.ks-lead-form__status {
    min-height: 22px;
    margin: 0;
    color: rgba(87, 63, 55, 0.74);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.ks-lead-form.is-success .ks-lead-form__status {
    color: #22783b;
}

.ks-lead-form.is-error .ks-lead-form__status {
    color: #a63d2c;
}

.ks-contacts__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.ks-contacts__grid .ks-contacts__box {
    grid-template-columns: 1fr;
}

.ks-contact-list {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.ks-contact-list p {
    margin: 0;
}

.ks-contact-list a,
.ks-contact-list a:visited {
    color: #fff;
    text-decoration: none;
}

.ks-map {
    overflow: hidden;
    min-height: 420px;
    border-radius: 8px;
    background: #efe7dc;
    box-shadow: 0 28px 70px rgba(68, 49, 41, 0.1);
}

.ks-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.ks-footer {
    background: #4f3932;
    color: #fff;
}

.ks-footer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 0.95fr) minmax(280px, 0.9fr);
    gap: 44px;
    width: min(1280px, calc(100vw - 80px));
    margin: 0 auto;
    padding: 58px 0 38px;
}

.ks-footer__brand p {
    max-width: 430px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.48;
}

.ks-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.ks-footer__logo img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    background: #fffaf3;
}

.ks-footer__logo span {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.ks-footer__nav {
    display: grid;
    gap: 12px;
}

.ks-footer__nav a,
.ks-footer__nav a:visited,
.ks-footer__phone,
.ks-footer__phone:visited {
    color: #fff;
    text-decoration: none;
}

.ks-footer__nav span {
    margin-bottom: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.ks-footer__nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.ks-footer__nav a:hover,
.ks-footer__nav a:focus-visible {
    color: #fff;
}

.ks-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.ks-footer__contacts > span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.ks-footer__phone {
    font-size: 24px;
    font-weight: 800;
}

.ks-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ks-footer__actions .ks-button {
    min-height: 52px;
    padding: 0 24px;
}

.ks-footer__bottom {
    width: min(1280px, calc(100vw - 80px));
    margin: 0 auto;
    padding: 20px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1120px) {
    .ks-section__inner {
        width: calc(100vw - 64px);
        padding: 74px 0;
    }

    .ks-catalog__grid,
    .ks-why-grid,
    .ks-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-about__grid,
    .ks-delivery__grid,
    .ks-lead__grid,
    .ks-contacts__grid,
    .ks-faq__grid {
        grid-template-columns: 1fr;
    }

    .ks-about__copy,
    .ks-about__visual,
    body.ks-page .ks-about__stats {
        grid-column: auto;
        grid-row: auto;
    }

    .ks-about__visual {
        position: static;
        overflow: hidden;
        aspect-ratio: 1.22 / 1;
        border-radius: 8px;
        box-shadow: 0 28px 70px rgba(68, 49, 41, 0.12);
        max-height: 520px;
    }

    .ks-faq__visual {
        max-height: 520px;
    }

    .ks-about__visual img {
        position: static;
        height: 100%;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
    }

    .ks-about__visual.is-fixed img,
    .ks-about__visual.is-bottom img {
        position: static;
        inset: auto;
        width: 100%;
    }

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

    .ks-contacts__box,
    .ks-contacts__grid .ks-contacts__box {
        grid-template-columns: 1fr;
    }

    .ks-contacts__actions {
        justify-content: flex-start;
    }

    .ks-footer__inner {
        grid-template-columns: 1fr 1fr;
        width: calc(100vw - 64px);
    }

    body.ks-page .ks-about__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-why-section {
        background:
            linear-gradient(90deg, rgba(251, 247, 241, 0.98) 0%, rgba(251, 247, 241, 0.92) 56%, rgba(251, 247, 241, 0.3) 100%),
            url("../images/hero-bg-room.jpg") 76% center / cover no-repeat #f7f1e9;
    }

    .ks-why-section .ks-section__inner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 620px;
    }

    body.ks-page .ks-why-section .ks-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }

    .ks-footer__bottom {
        width: calc(100vw - 64px);
    }
}

@media (max-width: 760px) {
    .ks-section__inner {
        width: calc(100vw - 28px);
        padding: 54px 0;
    }

    .ks-section__head,
    .ks-section__head--row {
        display: block;
        margin-bottom: 26px;
    }

    .ks-section__head--row > p {
        margin-top: 14px;
    }

    .ks-section h2 {
        font-size: clamp(32px, 9vw, 42px);
    }

    .ks-section__head p,
    .ks-about__copy > p,
    .ks-delivery p,
    .ks-contacts p,
    .ks-faq p {
        font-size: 16px;
    }

    .ks-promo__grid,
    .ks-about__stats,
    .ks-why-grid,
    .ks-delivery__steps,
    .ks-reviews__grid {
        grid-template-columns: 1fr;
    }

    .ks-catalog__grid {
        display: flex;
        gap: 16px;
        margin-right: -14px;
        padding: 0 14px 16px 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-padding-left: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .ks-catalog__grid::-webkit-scrollbar {
        display: none;
    }

    .ks-product-card {
        flex: 0 0 min(82vw, 330px);
        scroll-snap-align: start;
    }

    .ks-product-card__image {
        aspect-ratio: 0.76 / 1;
        height: auto;
    }

    .ks-product-card__actions {
        padding: 14px;
        gap: 8px;
    }

    .ks-promo-card {
        min-height: 236px;
        padding: 28px;
    }

    .ks-promo-card p {
        font-size: 18px;
    }

    .ks-promo-card__decor--percent {
        right: 18px;
        bottom: 20px;
        width: 118px;
    }

    .ks-promo-card__decor--gift {
        right: 16px;
        bottom: 12px;
        width: 132px;
    }

    .ks-promo-card__decor--coins {
        right: 22px;
        bottom: 26px;
        width: 122px;
    }

    .ks-gallery__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .ks-lightbox {
        padding: 18px;
    }

    .ks-lightbox__image {
        max-height: calc(100vh - 128px);
    }

    .ks-lightbox__close {
        top: 8px;
        right: 8px;
        width: 42px;
        height: 42px;
        font-size: 26px;
    }

    .ks-delivery__panel {
        padding: 26px;
    }

    .ks-review-card img {
        aspect-ratio: 1.1 / 1;
    }

    .ks-faq__visual {
        aspect-ratio: 1.35 / 1;
    }

    .ks-contacts__box {
        padding: 30px 22px;
    }

    .ks-contacts__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ks-contacts__actions .ks-button {
        min-height: 50px;
        padding: 0 12px;
    }

    .ks-check-list {
        grid-template-columns: 1fr;
    }

    .ks-why-section {
        min-height: 0;
        background:
            linear-gradient(180deg, rgba(251, 247, 241, 0.9) 0%, rgba(251, 247, 241, 0.78) 34%, #f7f1e9 100%),
            url("../images/hero-bg-room.jpg") 72% top / auto 360px no-repeat #f7f1e9;
    }

    .ks-why-section .ks-section__inner {
        min-height: 0;
        padding-top: 46px;
        padding-bottom: 54px;
    }

    .ks-why-section .ks-kicker {
        min-height: 40px;
        max-width: 100%;
        padding: 8px 18px;
        font-size: 15px;
        line-height: 1.2;
    }

    .ks-why-section .ks-section__head h2 {
        max-width: 440px;
        font-size: clamp(26px, 7vw, 34px);
    }

    body.ks-page .ks-why-section .ks-why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 430px;
        margin-top: 22px;
    }

    body.ks-page .ks-why-section .ks-why-card h3 {
        min-height: 36px;
        padding-right: 18px;
        padding-left: 28px;
        font-size: 15px;
    }

    body.ks-page .ks-why-section .ks-paw-icon {
        width: 44px;
        height: 44px;
        margin-top: 0;
    }

    body.ks-page .ks-why-section .ks-paw-icon svg {
        width: 32px;
        height: 32px;
    }

    body.ks-page .ks-why-section .ks-why-card p {
        max-width: 320px;
        font-size: 15px;
    }

    .ks-lead-form {
        padding: 24px;
    }

    .ks-map,
    .ks-map iframe {
        min-height: 320px;
    }

    .ks-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        width: calc(100vw - 28px);
        padding: 42px 0 28px;
    }

    .ks-footer__nav {
        grid-template-columns: 1fr;
    }

    .ks-footer__bottom {
        display: grid;
        width: calc(100vw - 28px);
        padding-bottom: 22px;
    }
}

@media (max-width: 460px) {
    .ks-product-card {
        flex-basis: min(84vw, 320px);
    }

    .ks-product-card__image {
        aspect-ratio: 0.76 / 1;
    }

    .ks-gallery__grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .ks-about__stats span,
    .ks-why-card,
    .ks-delivery__steps article {
        min-height: 0;
    }
}

/* Keep the landing independent from late plugin styles on the deployed WP site. */
body.ks-page,
body.ks-page .ks-header,
body.ks-page .ks-section,
body.ks-page .ks-button,
body.ks-page .ks-feature-card a,
body.ks-page .ks-mini-link,
body.ks-page .ks-brand__text,
body.ks-page .ks-nav a,
body.ks-page .ks-kicker,
body.ks-page .ks-product-card,
body.ks-page .ks-promo-card,
body.ks-page .ks-why-card,
body.ks-page .ks-delivery__panel,
body.ks-page .ks-review-card,
body.ks-page .ks-faq details,
body.ks-page .ks-contacts__box,
body.ks-page .ks-footer {
    font-family: "Geologica", Arial, sans-serif !important;
}

body.ks-page .ks-hero h1,
body.ks-page .ks-feature-card h2,
body.ks-page .ks-section h2,
body.ks-page .ks-section h3,
body.ks-page .ks-about__stats strong {
    font-family: "Brygada 1918", Georgia, serif !important;
}

body.ks-page .ks-button,
body.ks-page .ks-button:visited,
body.ks-page .ks-button:hover,
body.ks-page .ks-button:focus,
body.ks-page .ks-button:focus-visible,
body.ks-page .ks-feature-card a,
body.ks-page .ks-feature-card a:visited,
body.ks-page .ks-feature-card a:hover,
body.ks-page .ks-feature-card a:focus,
body.ks-page .ks-feature-card a:focus-visible,
body.ks-page .ks-mini-link,
body.ks-page .ks-mini-link:visited,
body.ks-page .ks-mini-link:hover,
body.ks-page .ks-mini-link:focus,
body.ks-page .ks-mini-link:focus-visible {
    color: #fff !important;
    text-decoration: none !important;
}

body.ks-page .ks-button--light,
body.ks-page .ks-button--light:visited,
body.ks-page .ks-button--light:hover,
body.ks-page .ks-button--light:focus,
body.ks-page .ks-button--light:focus-visible,
body.ks-page .ks-button--ghost,
body.ks-page .ks-button--ghost:visited,
body.ks-page .ks-button--ghost:hover,
body.ks-page .ks-button--ghost:focus,
body.ks-page .ks-button--ghost:focus-visible {
    color: var(--ks-coffee) !important;
}

body.ks-page .ks-button--vk,
body.ks-page .ks-button--vk:visited,
body.ks-page .ks-button--vk:hover,
body.ks-page .ks-button--vk:focus,
body.ks-page .ks-button--vk:focus-visible,
body.ks-page .ks-button--contact-avito,
body.ks-page .ks-button--contact-avito:visited,
body.ks-page .ks-button--contact-avito:hover,
body.ks-page .ks-button--contact-avito:focus,
body.ks-page .ks-button--contact-avito:focus-visible,
body.ks-page .ks-button--whatsapp,
body.ks-page .ks-button--whatsapp:visited,
body.ks-page .ks-button--whatsapp:hover,
body.ks-page .ks-button--whatsapp:focus,
body.ks-page .ks-button--whatsapp:focus-visible,
body.ks-page .ks-button--telegram,
body.ks-page .ks-button--telegram:visited,
body.ks-page .ks-button--telegram:hover,
body.ks-page .ks-button--telegram:focus,
body.ks-page .ks-button--telegram:focus-visible {
    color: #fff !important;
}

body.ks-page .ks-nav a,
body.ks-page .ks-nav a:visited,
body.ks-page .ks-nav a:hover,
body.ks-page .ks-nav a:focus,
body.ks-page .ks-nav a:focus-visible {
    color: #80645c !important;
    font-family: "Geologica", Arial, sans-serif !important;
    text-decoration: none !important;
}

body.ks-page .ks-brand__text {
    color: var(--ks-orange) !important;
}

body.ks-page .ks-header {
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

body.ks-page .ks-page-content {
    padding: 148px 0 86px;
    background:
        radial-gradient(circle at 14% 0%, rgba(255, 120, 23, 0.08), transparent 30%),
        linear-gradient(180deg, #fffaf4 0%, var(--ks-bg) 100%);
}

body.ks-page .ks-page-content__inner {
    width: var(--ks-content-wide);
    max-width: 980px;
    margin: 0 auto;
}

body.ks-page .ks-page-article {
    padding: clamp(26px, 4vw, 54px);
    border: 1px solid rgba(103, 69, 59, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 70px rgba(87, 63, 55, 0.1);
}

body.ks-page .ks-page-article h1 {
    max-width: 780px;
    margin: 14px 0 24px;
    color: var(--ks-coffee);
    font-family: var(--ks-serif);
    font-size: clamp(34px, 6vw, 66px);
    line-height: 0.95;
    letter-spacing: 0;
}

body.ks-page .ks-page-article__body {
    color: #80645c;
    font-size: 17px;
    line-height: 1.75;
}

body.ks-page .ks-page-article__body h2 {
    margin: 34px 0 12px;
    color: var(--ks-coffee);
    font-family: var(--ks-serif);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
}

body.ks-page .ks-page-article__body h3 {
    margin: 26px 0 10px;
    color: var(--ks-coffee);
    font-size: 20px;
    line-height: 1.25;
}

body.ks-page .ks-page-article__body p,
body.ks-page .ks-page-article__body ul,
body.ks-page .ks-page-article__body ol {
    margin: 0 0 16px;
}

body.ks-page .ks-page-article__body ul,
body.ks-page .ks-page-article__body ol {
    padding-left: 24px;
}

body.ks-page .ks-page-article__body a {
    color: var(--ks-orange);
    font-weight: 800;
}

body.ks-page .ks-header.is-scrolled {
    padding: 10px 14px !important;
    border: 1px solid rgba(87, 63, 55, 0.1) !important;
    border-radius: 999px !important;
    background: rgba(255, 250, 243, 0.82) !important;
    box-shadow: 0 18px 46px rgba(68, 49, 41, 0.13) !important;
    backdrop-filter: blur(18px) saturate(1.08) !important;
}

@supports (-webkit-backdrop-filter: blur(18px)) {
    body.ks-page .ks-header.is-scrolled {
        -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
    }
}

@media (max-width: 760px) {
    body.ks-page .ks-page-content {
        padding: 118px 0 56px;
    }

    body.ks-page .ks-page-article {
        border-radius: 14px;
    }

    body.ks-page .ks-page-article__body {
        font-size: 15px;
    }

    body.ks-page .ks-header.is-scrolled {
        padding: 8px !important;
    }
}

@media (min-width: 1121px) and (max-width: 1650px) {
    body.ks-page .ks-hero {
        background-size: cover !important;
        background-position: 88% center !important;
    }
}

@media (min-width: 761px) and (max-width: 1120px) {
    body.ks-page .ks-hero {
        background-size: auto, auto, cover, auto !important;
        background-position: 0 0, 0 0, 72% center, 0 0 !important;
    }
}

@media (max-width: 760px) {
    body.ks-page .ks-hero {
        background-image:
            radial-gradient(ellipse 88% 58% at 0% 42%, rgba(251, 247, 241, 0.9) 0%, rgba(251, 247, 241, 0.68) 38%, rgba(251, 247, 241, 0.24) 62%, rgba(251, 247, 241, 0) 78%),
            linear-gradient(180deg, rgba(251, 247, 241, 0) 0%, rgba(251, 247, 241, 0.08) 46%, rgba(251, 247, 241, 0.62) 58%, rgba(251, 247, 241, 0.94) 70%, rgba(251, 247, 241, 1) 82%),
            var(--hero-bg),
            none !important;
        background-size: auto, auto, auto 610px, auto !important;
        background-position: 0 0, 0 0, right -124px top -104px, 0 0 !important;
    }

    body.ks-page .ks-hero::before {
        display: block !important;
        top: 300px !important;
        right: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        width: auto !important;
        height: 310px !important;
        background: linear-gradient(180deg, rgba(251, 247, 241, 0) 0%, rgba(251, 247, 241, 0.55) 28%, rgba(251, 247, 241, 0.94) 48%, var(--ks-bg) 72%, var(--ks-bg) 100%) !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    body.ks-page .ks-hero h1 {
        max-width: min(276px, 68vw) !important;
        margin-top: 14px !important;
        color: #4a332c;
        font-size: clamp(30px, 8.4vw, 36px) !important;
        line-height: 1.08 !important;
        text-wrap: balance;
        text-shadow: none;
    }
}

@media (max-width: 420px) {
    body.ks-page .ks-hero {
        background-position: 0 0, 0 0, right -128px top -106px, 0 0 !important;
    }

    body.ks-page .ks-hero h1 {
        max-width: min(252px, 66vw) !important;
        font-size: clamp(29px, 8.2vw, 34px) !important;
    }
}

/* Consent and optional third-party services */
.ks-lead-form .ks-lead-form__consent { display:flex; align-items:flex-start; gap:10px; font-size:13px; font-weight:500; line-height:1.45; }
.ks-lead-form .ks-lead-form__consent input { width:19px; min-width:19px; height:19px; min-height:19px; margin:1px 0 0; padding:0; accent-color:#e98425; }
.ks-lead-form__consent a { color:#9a4b1e; text-decoration:underline; }
.ks-map { position:relative; }
.ks-map__show { display:grid; place-content:center; gap:12px; width:100%; min-height:420px; padding:28px; border:0; background:#efe7dc; color:#4f3932; font:inherit; text-align:center; cursor:pointer; }
.ks-map__show strong { font-size:22px; }
.ks-map__show span { max-width:420px; line-height:1.5; }
.ks-cookie-settings { padding:0; border:0; background:none; color:rgba(255,255,255,.78); font:inherit; text-align:left; cursor:pointer; }
.ks-cookie-banner { position:fixed; z-index:1000; right:18px; bottom:18px; width:min(540px,calc(100vw - 36px)); padding:22px; border:1px solid #ddcbb7; border-radius:10px; background:#fffaf3; box-shadow:0 16px 48px rgba(34,24,18,.3); color:#4f3932; }
.ks-cookie-banner[hidden], .ks-map [hidden] { display:none !important; }
.ks-cookie-banner p { margin:0 0 12px; font-size:14px; line-height:1.5; }
.ks-cookie-banner strong { display:block; margin-bottom:8px; font-size:18px; }
.ks-cookie-banner a { color:#9a4b1e; text-decoration:underline; }
.ks-cookie-banner__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.ks-cookie-banner__actions button { min-height:44px; padding:8px 18px; border:1px solid #9a674c; border-radius:7px; background:transparent; color:#4f3932; font:inherit; font-weight:700; cursor:pointer; }
.ks-cookie-banner__actions button:first-child { background:#e98425; border-color:#e98425; color:#fff; }
.ks-cookie-banner button:focus-visible, .ks-cookie-settings:focus-visible, .ks-map__show:focus-visible { outline:3px solid #266da8; outline-offset:3px; }
@media (max-width:540px) { .ks-cookie-banner { right:10px; bottom:10px; width:calc(100vw - 20px); padding:16px; } .ks-cookie-banner__actions button { flex:1 1 150px; } }
