:root {
    --okno-ink: #27231f;
    --okno-paper: #f7f3ed;
    --okno-warm: #dcc4a5;
    --okno-muted: rgba(250, 247, 241, 0.62);
    --okno-line: rgba(250, 247, 241, 0.16);
}

.okno-footer {
    position: relative;
    overflow: hidden;
    padding: 72px 0 28px;
    background: var(--okno-ink);
    color: #faf7f1;
}

.okno-footer::before {
    position: absolute;
    top: -180px;
    right: -130px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(220, 196, 165, 0.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.okno-footer a,
.okno-footer button {
    color: inherit;
}

.okno-footer__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, 1240px);
    margin: 0 auto;
}

.okno-footer__top {
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) minmax(180px, 0.8fr) minmax(210px, 0.9fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--okno-line);
}

.okno-footer__brand {
    margin: 0;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(54px, 6vw, 92px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.86;
}

.okno-footer__tagline {
    margin: 18px 0 0;
    color: var(--okno-warm);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.okno-footer__services {
    max-width: 540px;
    margin: 32px 0 0;
    color: var(--okno-muted);
    font-size: 13px;
    line-height: 1.8;
}

.okno-footer__heading {
    margin: 4px 0 20px;
    color: var(--okno-warm);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.okno-footer__contacts,
.okno-footer__nav {
    display: grid;
    gap: 11px;
}

.okno-footer__contacts a,
.okno-footer__nav a {
    width: fit-content;
    text-decoration: none;
    transition: color 180ms ease;
}

.okno-footer__contacts a:hover,
.okno-footer__nav a:hover {
    color: var(--okno-warm);
}

.okno-footer__phone {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 24px;
}

.okno-footer__email,
.okno-footer__place,
.okno-footer__nav a {
    font-size: 13px;
    line-height: 1.45;
}

.okno-footer__place {
    margin: 7px 0 0;
    color: var(--okno-muted);
}

.okno-footer__legal {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 30px 0;
    border-bottom: 1px solid var(--okno-line);
}

.okno-footer__legal p {
    margin: 0;
    color: var(--okno-muted);
    font-size: 11px;
    line-height: 1.75;
}

.okno-footer__legal strong {
    color: #faf7f1;
    font-weight: 500;
}

.okno-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    color: rgba(250, 247, 241, 0.48);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    .okno-footer {
        padding-top: 56px;
    }

    .okno-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .okno-footer__identity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .okno-footer {
        padding: 48px 0 calc(24px + env(safe-area-inset-bottom));
    }

    .okno-footer__inner {
        width: min(100% - 40px, 1240px);
    }

    .okno-footer__top,
    .okno-footer__legal {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .okno-footer__top {
        padding-bottom: 38px;
    }

    .okno-footer__brand {
        font-size: 58px;
    }

    .okno-footer__services {
        margin-top: 24px;
    }

    .okno-footer__legal {
        padding: 26px 0;
    }

    .okno-footer__bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .okno-footer__contacts a,
    .okno-footer__nav a {
        transition: none;
    }
}

.okno-cookie {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10020;
    display: flex;
    width: min(520px, calc(100% - 40px));
    align-items: center;
    gap: 20px;
    padding: 16px 16px 16px 20px;
    border: 1px solid rgba(220, 196, 165, 0.32);
    border-radius: 14px;
    background: rgba(39, 35, 31, 0.97);
    box-shadow: 0 18px 50px rgba(20, 17, 14, 0.24);
    color: #faf7f1;
    font-family: var(--font-body, Arial, sans-serif);
}

.okno-cookie p {
    margin: 0;
    color: rgba(250, 247, 241, 0.78);
    font-size: 12px;
    line-height: 1.55;
}

.okno-cookie a {
    color: #dcc4a5;
    text-underline-offset: 3px;
}

.okno-cookie button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #dcc4a5;
    border-radius: 999px;
    background: #dcc4a5;
    color: #27231f;
    cursor: pointer;
    font: 600 11px/1 var(--font-body, Arial, sans-serif);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.spread-more {
    display: inline-flex;
    width: fit-content;
    margin-top: 20px;
    color: #896b4d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.spread-more::after {
    margin-left: 9px;
    content: "↗";
}

.shop-service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.shop-service-links a {
    padding: 9px 13px;
    border: 1px solid rgba(41, 38, 33, 0.24);
    border-radius: 999px;
    color: inherit;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-decoration: none;
}

@media (max-width: 560px) {
    .okno-cookie {
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: calc(100% - 24px);
        align-items: flex-end;
        gap: 12px;
        padding: 14px;
    }

    .okno-cookie p {
        font-size: 11px;
    }
}

/* Permanent legal and service pages */
.okno-page {
    margin: 0;
    background: var(--okno-paper);
    color: #292621;
    font-family: var(--font-body, Arial, sans-serif);
}

.okno-page *,
.okno-page *::before,
.okno-page *::after {
    box-sizing: border-box;
}

.okno-page a {
    color: inherit;
}

.okno-page-header {
    border-bottom: 1px solid rgba(41, 38, 33, 0.14);
    background: rgba(247, 243, 237, 0.96);
}

.okno-page-header__inner {
    display: flex;
    width: min(100% - 48px, 1240px);
    min-height: 80px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.okno-page-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.okno-page-logo__mark {
    display: grid;
    width: 30px;
    height: 38px;
    place-items: center;
    border: 1px solid #896b4d;
    border-radius: 50% 50% 48% 48%;
    color: #896b4d;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 18px;
}

.okno-page-logo strong {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.okno-page-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
}

.okno-page-nav a {
    text-decoration: none;
}

.okno-page-nav__cta {
    padding: 12px 18px;
    border: 1px solid #292621;
    border-radius: 999px;
}

.okno-breadcrumbs {
    width: min(100% - 48px, 980px);
    margin: 0 auto;
    padding-top: 38px;
    color: #797168;
    font-size: 11px;
}

.okno-breadcrumbs a {
    text-decoration: none;
}

.okno-breadcrumbs span {
    margin: 0 8px;
}

.legal-page,
.service-page {
    width: min(100% - 48px, 980px);
    margin: 0 auto;
    padding: 72px 0 110px;
}

.legal-page__eyebrow,
.service-page__eyebrow {
    margin: 0 0 22px;
    color: #896b4d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.legal-page h1,
.service-page h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(44px, 6.5vw, 82px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.legal-page__intro,
.service-page__lead {
    max-width: 760px;
    margin: 30px 0 0;
    color: #5f5952;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
}

.service-page {
    padding-top: 58px;
}

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
    align-items: end;
    gap: 64px;
}

.service-hero__media {
    overflow: hidden;
    min-height: 460px;
    border-radius: 2px 2px 140px 2px;
    background: #e5ddd2;
}

.service-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.service-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #292621;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.service-button--dark {
    background: #292621;
    color: #faf7f1 !important;
}

.service-sections {
    display: grid;
    gap: 92px;
    margin-top: 100px;
}

.service-section {
    display: grid;
    grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1.4fr);
    gap: 58px;
    padding-top: 26px;
    border-top: 1px solid rgba(41, 38, 33, 0.18);
}

.service-section__label {
    margin: 2px 0 0;
    color: #896b4d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-section__content h2 {
    margin: 0;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.service-section__content h3 {
    margin: 32px 0 10px;
    font-size: 16px;
}

.service-section__content p,
.service-section__content li {
    color: #5f5952;
    font-size: 15px;
    line-height: 1.75;
}

.service-section__content ul {
    padding-left: 19px;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 30px;
    background: rgba(41, 38, 33, 0.14);
}

.service-feature {
    padding: 26px;
    background: var(--okno-paper);
}

.service-feature h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 25px;
    font-weight: 400;
}

.service-feature p {
    margin: 0;
    font-size: 13px;
}

.service-faq {
    margin-top: 30px;
}

.service-faq details {
    border-top: 1px solid rgba(41, 38, 33, 0.16);
}

.service-faq details:last-child {
    border-bottom: 1px solid rgba(41, 38, 33, 0.16);
}

.service-faq summary {
    padding: 20px 32px 20px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.service-faq p {
    max-width: 700px;
    margin: 0 0 22px;
}

.service-related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.service-related a {
    padding: 10px 14px;
    border: 1px solid rgba(41, 38, 33, 0.2);
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
}

.service-cta {
    padding: 58px;
    background: #27231f;
    color: #faf7f1;
}

.service-cta h2 {
    max-width: 700px;
    margin: 0;
    color: #faf7f1;
}

.service-cta p {
    max-width: 620px;
    color: rgba(250, 247, 241, 0.65);
}

.service-cta .service-button {
    border-color: #dcc4a5;
    background: #dcc4a5;
    color: #27231f !important;
}

@media (max-width: 780px) {
    .service-hero,
    .service-section {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .service-hero__media,
    .service-hero__media img {
        min-height: 360px;
    }

    .service-hero__media {
        border-radius: 2px 2px 90px 2px;
    }

    .service-sections {
        gap: 68px;
        margin-top: 72px;
    }
}

@media (max-width: 560px) {
    .okno-page-nav a:not(.okno-page-nav__cta) {
        display: none;
    }

    .okno-page-header__inner,
    .okno-breadcrumbs,
    .legal-page,
    .service-page {
        width: min(100% - 40px, 980px);
    }

    .okno-page-header__inner {
        min-height: 70px;
    }

    .okno-page-logo strong {
        font-size: 22px;
    }

    .okno-page-logo__mark {
        width: 26px;
        height: 32px;
        font-size: 15px;
    }

    .okno-page-nav__cta {
        padding: 10px 13px;
        font-size: 10px;
    }

    .service-page {
        padding-top: 42px;
    }

    .service-hero__media,
    .service-hero__media img {
        min-height: 300px;
    }

    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .service-cta {
        margin: 0 -20px;
        padding: 42px 20px;
    }
}

.legal-document {
    max-width: 780px;
    margin-top: 62px;
}

.legal-document h2 {
    margin: 48px 0 16px;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.15;
}

.legal-document h3 {
    margin: 30px 0 12px;
    font-size: 16px;
}

.legal-document p,
.legal-document li {
    color: #514c46;
    font-size: 15px;
    line-height: 1.8;
}

.legal-document ul,
.legal-document ol {
    padding-left: 22px;
}

.legal-document a {
    text-decoration-color: #b6946d;
    text-underline-offset: 3px;
}

.okno-error {
    display: grid;
    min-height: 100vh;
    padding: 48px 24px;
    place-content: center;
    text-align: center;
}

.okno-error > span {
    color: #b6946d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
}

.okno-error h1 {
    margin: 16px 0 0;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.okno-error p {
    margin: 20px 0 0;
    color: #6d675f;
}

.okno-error div {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.okno-error a {
    padding: 13px 20px;
    border: 1px solid #292621;
    border-radius: 999px;
    text-decoration: none;
}

.legal-document__date {
    margin-top: 54px;
    padding-top: 20px;
    border-top: 1px solid rgba(41, 38, 33, 0.14);
    color: #797168 !important;
    font-size: 12px !important;
}

@media (max-width: 700px) {
    .okno-page-header__inner,
    .okno-breadcrumbs,
    .legal-page,
    .service-page {
        width: min(100% - 40px, 980px);
    }

    .okno-page-nav a:not(.okno-page-nav__cta) {
        display: none;
    }

    .okno-page-header__inner {
        min-height: 70px;
    }

    .okno-page-nav__cta {
        padding: 10px 13px;
        font-size: 10px;
    }

    .legal-page,
    .service-page {
        padding: 50px 0 76px;
    }

    .legal-document {
        margin-top: 44px;
    }

    .legal-document h2 {
        margin-top: 38px;
    }
}
