/* =====================================================================
   KLEINHILL LLC — main stylesheet
   ===================================================================== */

:root {
    --theme-heading-font: "Frank Ruhl Libre", serif;
    --theme-paragraph-font: "Roboto", sans-serif;
    --theme-imperial-font: "Imperial Script", cursive;

    --theme-primary: 152, 100, 62;
    --theme-secondary: 20, 41, 41;
    --theme-surface: 255, 252, 249;
    --theme-base: 246, 241, 237;
    --theme-heading: 152, 100, 62;
    --theme-paragraph: 102, 102, 102;
    --theme-white: 255, 255, 255;
    --theme-sage: 214, 220, 211;

    --primary: rgb(var(--theme-primary));
    --primary-dark: #7f5232;
    --secondary: rgb(var(--theme-secondary));
    --surface: rgb(var(--theme-surface));
    --base: rgb(var(--theme-base));
    --heading: rgb(var(--theme-heading));
    --text: rgb(var(--theme-paragraph));

    --container: 1320px;
    --gutter: 24px;
    --radius: 16px;
    --radius-sm: 10px;
    --header-h: 104px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --shadow: 0 20px 50px -25px rgba(var(--theme-secondary), .35);
    --section-y: clamp(80px, 9vw, 130px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--theme-paragraph-font);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--base);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--theme-heading-font); color: var(--heading); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
sup { font-size: .6em; line-height: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 30px; transition: top .3s; }
.skip-link:focus { top: 16px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 1em; height: 1em; flex-shrink: 0; }
.icon-mask {
    display: inline-block;
    width: 24px; height: 24px;
    background-color: currentColor;
    -webkit-mask: var(--mask) center / contain no-repeat;
            mask: var(--mask) center / contain no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--primary);
    --btn-bg-hover: var(--primary-dark);
    display: inline-flex; align-items: center; gap: 22px;
    padding: 6px 6px 6px 28px;
    background: var(--btn-bg);
    color: #fff;
    border-radius: 60px;
    font-family: var(--theme-paragraph-font);
    font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
    box-shadow: 0 14px 30px -14px rgba(var(--theme-primary), .7);
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
    position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--btn-bg-hover);
    transform: scaleX(0); transform-origin: right;
    transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); }
.btn__label { white-space: nowrap; }
.btn__icon {
    position: relative;
    width: 46px; height: 46px; flex-shrink: 0;
    display: grid; place-items: center;
    background: #fff; color: var(--btn-bg);
    border-radius: 50%;
    transition: transform .5s var(--ease-out), color .3s;
}
.btn__icon .icon { width: 20px; height: 20px; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--dark { --btn-bg: var(--secondary); --btn-bg-hover: #0c1d1d; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.btn--dark .btn__icon { color: var(--secondary); }
.btn--header { padding-left: 26px; }

.btn-solid {
    position: relative;
    width: 100%; min-height: 56px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 50px;
    background: var(--secondary); color: #fff;
    font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .03em;
    transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.btn-solid:hover { background: #0c1d1d; transform: translateY(-1px); }

/* Spinner */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid currentColor; border-right-color: transparent;
    border-radius: 50%;
    display: none;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .spinner { display: block; }
.is-loading .btn__icon .icon { display: none; }
.is-loading { pointer-events: none; }
.btn.is-loading .btn__icon { transform: none; }

/* ---------- Section heading with ghost word ---------- */
.section-head { position: relative; margin-bottom: 36px; z-index: 1; }
.ghost {
    position: absolute; z-index: -1;
    left: -.06em; top: 50%;
    transform: translateY(-58%);
    font-family: var(--theme-heading-font);
    font-size: clamp(90px, 15vw, 250px);
    font-weight: 400; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--theme-primary), .16);
    white-space: nowrap;
    pointer-events: none; user-select: none;
}
.section-head--center { text-align: center; }
.section-head--center .ghost { left: 50%; transform: translate(-50%, -58%); }
.section-head--light .ghost { -webkit-text-stroke-color: rgba(255, 255, 255, .07); }
.kicker {
    display: block;
    font-family: var(--theme-imperial-font);
    font-size: clamp(28px, 2.6vw, 36px);
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 6px;
}
.section-title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.12; margin: 0; }
.section-sub { margin: 16px 0 0; max-width: 720px; font-size: 18px; }
.section-head--center .section-sub { margin-inline: auto; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-sub { color: rgba(255, 255, 255, .72); }
.section-head--light .kicker { color: #c99a74; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: var(--secondary);
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it. */
.header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(var(--theme-secondary), .92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; transition: opacity .4s var(--ease);
    pointer-events: none;
}
.header--overlay { position: fixed; left: 0; right: 0; background: transparent; }
.header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5); }
.header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 84px; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; transition: opacity .3s var(--ease); }
.logo:hover { opacity: .85; }
.logo__img { height: 54px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .logo__img { height: 46px; }

.nav__list {
    display: flex; align-items: center; gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 60px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav__list > li { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 16px;
    color: #fff;
    font-size: 16px; font-weight: 500;
    border-radius: 40px;
    transition: background-color .35s var(--ease), color .35s var(--ease);
}
.nav__link:hover { color: #e7c5a8; }
.nav__link.is-active { background: var(--primary); color: #fff; }
.nav__plus { transition: transform .35s var(--ease); display: inline-block; }
.nav__item--drop:hover .nav__plus, .nav__item--drop:focus-within .nav__plus { transform: rotate(45deg); }
.nav__drop {
    position: absolute; top: calc(100% + 18px); left: 0;
    min-width: 250px;
    padding: 12px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--secondary); font-size: 15px; font-weight: 500; }
.nav__drop a:hover { background: var(--base); color: var(--primary); }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: 98; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .4s var(--ease); }
.nav-backdrop.is-open { opacity: 1; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    height: 100vh; height: 100svh;
    min-height: 720px; max-height: 1100px;
    background: var(--secondary);
    overflow: hidden;
    color: #fff;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 1.4s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.12);
    transition: transform 9s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 30, .6) 0%, rgba(10, 22, 30, .1) 30%, rgba(10, 22, 30, .45) 62%, rgba(10, 22, 30, .9) 100%),
        linear-gradient(90deg, rgba(10, 22, 30, .55) 0%, rgba(10, 22, 30, 0) 65%);
}
.hero__content {
    position: absolute; left: 0; right: 0;
    bottom: calc(var(--hero-bottom, 64px) + 56px + 56px); z-index: 2;
}
.hero__kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 14px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
    color: #e7c5a8; margin-bottom: 18px;
}
.hero__kicker::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.hero__title {
    font-size: clamp(42px, 5.4vw, 84px);
    line-height: 1.12; font-weight: 500;
    color: #fff;
    max-width: 960px; margin: 0 0 22px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}
.hero__text { max-width: 720px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .88); margin: 0; }
.hero__kicker, .hero__title, .hero__text {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.hero__slide.is-active .hero__kicker { opacity: 1; transform: none; transition-delay: .35s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .5s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .7s; }

.hero__bottom {
    position: absolute; left: 0; right: 0; bottom: 56px; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__contact { display: inline-flex; align-items: center; gap: 16px; color: #fff; }
.hero__contact-icon {
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color .4s var(--ease);
}
.hero__contact:hover .hero__contact-icon { background: var(--primary); }
.hero__contact-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero__contact-text small { font-size: 15px; opacity: .85; }
.hero__contact-text strong { font-size: 20px; font-weight: 600; }

/* Pager — numbers with a growing progress line after the active item */
.pager { display: flex; align-items: center; gap: 4px; }
.pager__btn {
    display: inline-flex; align-items: center;
    padding: 6px;
    color: rgba(255, 255, 255, .6);
    font-size: 16px; font-weight: 600;
    transition: color .4s var(--ease);
}
.pager__btn:hover, .pager__btn.is-active { color: #fff; }
.pager__line {
    position: relative; display: block;
    width: 0; height: 1px; margin-left: 0;
    background: rgba(255, 255, 255, .3);
    overflow: hidden;
    transition: width .6s var(--ease), margin .6s var(--ease);
}
.pager__btn.is-active .pager__line { width: 86px; margin: 0 6px 0 14px; }
.pager__line i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.pager__btn.is-active .pager__line i { animation: pagerFill var(--pager-duration, 7000ms) linear forwards; }
.is-paused .pager__btn.is-active .pager__line i { animation-play-state: paused; }
@keyframes pagerFill { to { transform: scaleX(1); } }

.pager--vertical { flex-direction: column; align-items: center; gap: 2px; }
.pager--vertical .pager__btn { flex-direction: column; font-size: 14px; padding: 4px 6px; }
.pager--vertical .pager__line { width: 1px; height: 0; }
.pager--vertical .pager__btn.is-active .pager__line { width: 1px; height: 96px; margin: 10px 0 6px; }
.pager--vertical .pager__line i { transform: scaleY(0); transform-origin: top; }
.pager--vertical .pager__btn.is-active .pager__line i { animation-name: pagerFillY; }
@keyframes pagerFillY { to { transform: scaleY(1); } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { background: var(--base); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.about__media { position: relative; padding-right: 60px; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.about__media:hover .about__img img { transform: scale(1.05); }
.info-card {
    position: absolute; right: 0; bottom: 44px;
    width: min(360px, 82%);
    padding: 34px 32px;
    background: var(--secondary); color: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.info-card ul { display: grid; gap: 20px; }
.info-card li { display: flex; gap: 16px; align-items: flex-start; font-family: var(--theme-heading-font); font-size: 18px; line-height: 1.5; }
.info-card b { font-weight: 500; color: #e7c5a8; }
.info-card__icon { width: 24px; height: 24px; margin-top: 2px; flex-shrink: 0; color: #fff; }
.info-card__icon .icon { width: 24px; height: 24px; }

.about__content > p { font-size: 18px; }
.hex-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin-top: 40px;
    max-width: 560px;
}
.hex-row .hex:nth-child(2n) { transform: translateY(40px); }
.hex-row { padding-bottom: 40px; }
.hex { position: relative; aspect-ratio: 340 / 299; width: 100%; max-width: 230px; transition: transform .6s var(--ease-out); }
.hex__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hex__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 12% 0 22%; }
.hex__num { font-family: var(--theme-heading-font); font-size: clamp(38px, 3.6vw, 54px); line-height: 1; color: var(--primary); font-weight: 500; }
.hex__label { font-size: 15px; line-height: 1.45; margin-top: 8px; color: var(--text); }
.hex-row .hex:hover { transform: translateY(-6px); }
.hex-row .hex:nth-child(2n):hover { transform: translateY(40px); }

/* =====================================================================
   SECTORS
   ===================================================================== */
.sectors { background: var(--secondary); color: rgba(255, 255, 255, .74); }
.sectors::before {
    content: ""; position: absolute; right: -120px; top: -80px;
    width: 520px; height: 520px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 60px rgba(255, 255, 255, .015), 0 0 0 120px rgba(255, 255, 255, .01);
    pointer-events: none;
}
.sectors .section-head { margin-bottom: 70px; }
.sector {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
    scroll-margin-top: 100px;
}
.sector + .sector { margin-top: clamp(80px, 9vw, 130px); }
.sector--reverse .sector__media { order: 2; }

.gallery {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0e1f1f;
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .8);
    touch-action: pan-y;
}
.gallery__slide {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.gallery__slide.is-active { opacity: 1; visibility: visible; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s var(--ease); }
.gallery__slide.is-active img { transform: scale(1); }
.gallery__pager {
    position: absolute; left: 22px; bottom: 22px; z-index: 2;
    padding: 12px 6px;
    background: rgba(var(--theme-secondary), .55);
    border-radius: 40px;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sector--reverse .gallery__pager { left: auto; right: 22px; }

.sector__index { display: inline-block; font-size: 14px; letter-spacing: .25em; color: #c99a74; margin-bottom: 12px; }
.sector__title { font-size: clamp(32px, 3.4vw, 52px); color: #fff; margin-bottom: 18px; }
.sector__lead { font-family: var(--theme-heading-font); font-size: 21px; line-height: 1.55; color: #fff; }
.sector__text { font-size: 16.5px; line-height: 1.85; }
.sector__list-title { font-family: var(--theme-paragraph-font); font-size: 18px; font-weight: 600; color: #fff; margin: 26px 0 18px; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 20px; margin-bottom: 34px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 16px; line-height: 1.35; }
.check-list .icon { width: 20px; height: 20px; color: #fff; --chev-stroke: var(--secondary); }

/* =====================================================================
   MARKET
   ===================================================================== */
.market { background: var(--base) url("img/bg.png") center bottom / 100% auto no-repeat; }
.market__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.market__content > p { font-size: 18px; max-width: 620px; }
.market__content .btn { margin-top: 10px; }
.market__note { font-size: 13px; line-height: 1.6; margin-top: 30px; max-width: 560px; opacity: .85; }

.honeycomb {
    --w: clamp(150px, 19vw, 300px);
    --h: calc(var(--w) * 299 / 340);
    --g: 14px;
    position: relative;
    width: calc(var(--w) * 1.75 + var(--g));
    height: calc(var(--h) * 2.5 + var(--g) * 1.5);
    margin-left: auto;
}
.hexfill { position: absolute; width: var(--w); height: var(--h); transition: transform .7s var(--ease-out); }
.hexfill:nth-child(1) { left: calc(var(--w) * .75 + var(--g)); top: 0; }
.hexfill:nth-child(2) { left: 0; top: calc((var(--h) + var(--g)) / 2); }
.hexfill:nth-child(3) { left: calc(var(--w) * .75 + var(--g)); top: calc(var(--h) + var(--g)); }
.hexfill:nth-child(4) { left: 0; top: calc((var(--h) + var(--g)) * 1.5); }
.hexfill:hover { transform: scale(1.04); }
.hexfill img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hexfill--warm img { filter: hue-rotate(-8deg) saturate(.75); }
.hexfill__body {
    position: relative; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 18%;
}
.hexfill__num { font-family: var(--theme-heading-font); font-size: calc(var(--w) * .22); line-height: 1; color: var(--primary); }
.hexfill__num--dark { color: var(--secondary); }
.hexfill__label { font-size: max(12px, calc(var(--w) * .055)); line-height: 1.4; margin-top: 10px; font-weight: 500; color: #5f6262; }

/* =====================================================================
   APPROACH
   ===================================================================== */
.approach {
    background-color: #efe9e3;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .22) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .22) 75%),
        linear-gradient(45deg, rgba(255, 255, 255, .22) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .22) 75%);
    background-size: 120px 120px;
    background-position: 0 0, 60px 60px;
}
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.eval-table { box-shadow: var(--shadow); }
.eval-table__head {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 26px 24px;
    background: var(--primary);
}
.eval-table__head h3 { color: #fff; font-size: clamp(24px, 2.2vw, 32px); margin: 0; }
.eval-table__row { display: grid; grid-template-columns: 180px 1fr; }
.eval-table__row + .eval-table__row { border-top: 1px solid rgba(255, 255, 255, .55); }
.eval-table__icon { background: var(--secondary); display: grid; place-items: center; padding: 30px; }
.eval-table__icon img { width: 60px; height: 60px; object-fit: contain; transition: transform .6s var(--ease-out); }
.eval-table__row:hover .eval-table__icon img { transform: scale(1.12) rotate(-4deg); }
.eval-table__body { background: rgb(var(--theme-sage)); padding: 0; }
.eval-table__body h4 { font-size: 24px; color: var(--secondary); margin: 0; padding: 24px 32px 18px; border-bottom: 1px solid rgba(255, 255, 255, .7); }
.eval-table__body p { margin: 0; padding: 16px 32px 24px; font-family: var(--theme-heading-font); font-size: 16px; line-height: 1.6; color: #5e6560; }

.approach__content > p { font-size: 18px; }
.bars__title { font-family: var(--theme-paragraph-font); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); font-weight: 600; margin: 44px 0 20px; }
.bars { display: grid; gap: 20px; }
.bar { display: grid; grid-template-columns: 44px 210px 1fr 48px; align-items: center; gap: 14px; }
.bar__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #b98762, var(--primary));
    clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}
.bar__icon .icon { width: 20px; height: 20px; }
.bar__label { font-weight: 600; color: var(--secondary); font-size: 17px; }
.bar__track { height: 12px; background: rgba(var(--theme-secondary), .1); border-radius: 12px; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: calc(var(--value) * 1%); background: linear-gradient(90deg, #5f6c68, #727b78); border-radius: 12px; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.bars.is-visible .bar__fill { transform: scaleX(1); }
.bars.is-visible .bar:nth-child(2) .bar__fill { transition-delay: .15s; }
.bars.is-visible .bar:nth-child(3) .bar__fill { transition-delay: .3s; }
.bars.is-visible .bar:nth-child(4) .bar__fill { transition-delay: .45s; }
.bar__value { font-weight: 600; color: var(--text); font-size: 16px; }

/* =====================================================================
   PROCESS
   ===================================================================== */
.process { background: var(--secondary); color: rgba(255, 255, 255, .72); }
.process .section-head { margin-bottom: 70px; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
    content: ""; position: absolute; left: 10%; right: 10%; top: 46px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 154, 116, .5) 10%, rgba(201, 154, 116, .5) 90%, transparent);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__icon {
    position: relative;
    width: 92px; height: 92px;
    margin: 0 auto 26px;
    display: grid; place-items: center;
    color: #fff;
    background: var(--secondary);
    transition: color .4s var(--ease);
}
.step__icon::before, .step__icon::after {
    content: ""; position: absolute; inset: 0;
    clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%);
}
.step__icon::before { background: linear-gradient(135deg, #c99a74, rgba(152, 100, 62, .6)); }
.step__icon::after { inset: 2px; background: var(--secondary); transition: background-color .5s var(--ease); }
.step__icon .icon { position: relative; z-index: 1; width: 34px; height: 34px; }
.step:hover .step__icon::after { background: var(--primary); }
.step__num { position: absolute; top: -14px; left: 50%; transform: translateX(26px); font-family: var(--theme-heading-font); font-size: 15px; color: #c99a74; z-index: 2; }
.step h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.7; margin: 0; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { background: var(--base); }
.testimonials__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 44px; align-items: center; margin-top: 30px; }
.testimonials__quote { width: 64px; height: 64px; color: var(--primary); opacity: .9; }
.testimonials__lead { font-family: var(--theme-heading-font); font-size: 24px; line-height: 1.45; color: var(--secondary); margin: 18px 0 30px; }
.slider-nav { display: flex; align-items: center; gap: 16px; }
.slider-nav__btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid rgba(var(--theme-primary), .4);
    color: var(--primary);
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.slider-nav__btn .icon { width: 20px; height: 20px; }
.slider-nav__btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.slider-nav__count { font-family: var(--theme-heading-font); font-size: 18px; color: var(--text); min-width: 64px; text-align: center; }
.slider-nav__count b { color: var(--primary); font-weight: 500; }

.tslider { overflow: hidden; padding: 6px; margin: -6px; touch-action: pan-y; }
.tslider__track { display: flex; gap: 24px; transition: transform .8s var(--ease-out); will-change: transform; }
.tcard {
    flex: 0 0 calc((100% - 24px) / 2);
    margin: 0;
    padding: 36px 34px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(var(--theme-primary), .1);
    display: flex; flex-direction: column;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tcard__stars { display: flex; gap: 3px; color: var(--primary); margin-bottom: 18px; }
.tcard__stars .icon { width: 17px; height: 17px; }
.tcard__text { margin: 0 0 24px; flex: 1; }
.tcard__text p { font-family: var(--theme-heading-font); font-size: 18.5px; line-height: 1.65; color: #4a4a4a; margin: 0; }
.tcard figcaption { border-top: 1px solid rgba(var(--theme-primary), .15); padding-top: 18px; display: flex; flex-direction: column; }
.tcard__name { font-family: var(--theme-heading-font); font-size: 26px; color: var(--primary); line-height: 1.2; }
.tcard__role { font-size: 15px; font-weight: 500; color: var(--secondary); }
.tslider__dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.tslider__dot { width: 9px; height: 9px; border-radius: 9px; background: rgba(var(--theme-primary), .3); transition: width .4s var(--ease), background-color .4s; }
.tslider__dot.is-active { width: 30px; background: var(--primary); }

.testimonials__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.testimonials__media img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--surface); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 80px; }
.contact-card {
    position: relative; overflow: hidden;
    display: flex; justify-content: space-between; gap: 18px;
    padding: 42px 40px;
    background: var(--base);
    border-radius: 20px;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.2; margin-bottom: 14px; }
.contact-card p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 500; position: relative; z-index: 1; }
.contact-card a:hover { color: var(--primary); }
.contact-card__icon {
    width: 84px; height: 84px; flex-shrink: 0;
    border-radius: 50%; border: 1px solid var(--primary);
    display: grid; place-items: center;
    background: #fff; color: var(--primary);
    transition: background-color .4s var(--ease), color .4s var(--ease);
}
.contact-card__icon .icon-mask { width: 32px; height: 32px; }
.contact-card:hover .contact-card__icon { background: var(--primary); color: #fff; }
.contact-card__ghost { position: absolute; right: 30px; bottom: -28px; width: 120px; height: 120px; color: rgba(var(--theme-primary), .06); pointer-events: none; }

.contact-form-wrap {
    position: relative;
    padding: clamp(50px, 7vw, 100px) clamp(20px, 6vw, 110px);
    background: var(--base);
    border-radius: 24px;
    overflow: hidden;
}
.contact-form-wrap .section-head { margin-bottom: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.input {
    width: 100%;
    height: 68px;
    padding: 0 56px 0 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
    font: 400 16.5px/1.4 var(--theme-paragraph-font);
    color: var(--secondary);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
    -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #8a8a8a; }
.input:focus { outline: none; border-color: rgba(var(--theme-primary), .6); box-shadow: 0 0 0 4px rgba(var(--theme-primary), .1); }
.input--select { cursor: pointer; color: #8a8a8a; }
.input--select.has-value { color: var(--secondary); }
.input--area { height: auto; min-height: 170px; padding: 20px 24px; resize: vertical; }
.field__icon { position: absolute; right: 22px; top: 22px; color: #6d6d6d; pointer-events: none; }
.field__icon .icon { width: 22px; height: 22px; }
.field__error { display: block; min-height: 0; font-size: 13.5px; color: #b3412e; margin-top: 6px; line-height: 1.3; }
.field__error:empty { display: none; }
.field.is-invalid .input { border-color: #c8553d; }
.field.is-valid .input { border-color: rgba(78, 125, 96, .5); }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.6; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
    width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px;
    border-radius: 6px; border: 1px solid rgba(var(--theme-primary), .55); background: #fff;
    display: grid; place-items: center; color: #fff;
    transition: background-color .3s var(--ease), border-color .3s;
}
.check__box .icon { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease-out); stroke-width: 2.4; }
.check input:checked + .check__box { background: var(--primary); border-color: var(--primary); }
.check input:checked + .check__box .icon { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--primary); outline-offset: 2px; }
.check a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.field--check.is-invalid .check__box { border-color: #c8553d; }

.form-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.btn--submit { border: 0; }
.form-note { font-size: 13.5px; text-align: center; margin: 0; }
.form-status { margin-top: 18px; text-align: center; color: #b3412e; font-weight: 500; }

.js-form.is-done > *:not(.form-success) { display: none !important; }
.form-success { text-align: center; padding: 30px 10px 10px; animation: fadeUp .8s var(--ease-out) both; }
.form-success:focus { outline: none; }
.form-success__icon {
    width: 96px; height: 96px; margin: 0 auto 24px;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #b98762, var(--primary));
    clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%);
}
.form-success__icon .icon { width: 42px; height: 42px; stroke-width: 2.2; }
.form-success h3 { font-size: clamp(28px, 3vw, 40px); }
.form-success p { max-width: 560px; margin: 0 auto 24px; font-size: 17px; }
.form-success__again { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.newsletter .form-success { padding: 10px 0 0; color: #fff; }
.newsletter .form-success h3 { color: #fff; font-size: 24px; }
.newsletter .form-success p { font-size: 15px; color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.newsletter .form-success__icon { width: 64px; height: 64px; margin-bottom: 14px; background: var(--secondary); }
.newsletter .form-success__icon .icon { width: 28px; height: 28px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   CTA BAND + FOOTER
   ===================================================================== */
.cta-band { background: var(--primary); color: #fff; padding: clamp(60px, 7vw, 90px) 0 clamp(80px, 9vw, 120px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band__title { color: #fff; font-size: clamp(32px, 4vw, 58px); line-height: 1.18; max-width: 900px; margin: 0; }
.cta-band__badge { position: relative; width: 230px; height: 230px; flex-shrink: 0; display: grid; place-items: center; }
.cta-band__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.cta-band__ring text { font-family: var(--theme-heading-font); font-size: 15px; letter-spacing: .1em; fill: rgba(255, 255, 255, .9); }
.cta-band__badge .btn { position: relative; z-index: 1; }

.footer { background: var(--secondary); color: rgba(255, 255, 255, .78); font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 96px); }
.footer__subscribe {
    position: relative;
    margin-top: -40px;
    padding: 40px 34px 44px;
    background: var(--primary);
    border-radius: 0 0 22px 22px;
    color: #fff;
    align-self: start;
}
.footer__subscribe-icon { width: 58px; height: 58px; color: #fff; margin-bottom: 20px; }
.footer__subscribe h3 { color: #fff; font-size: 28px; line-height: 1.3; margin-bottom: 12px; }
.footer__subscribe > p { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .9); margin-bottom: 26px; }
.newsletter { display: grid; gap: 14px; }
.input--round { border-radius: 50px; height: 60px; padding: 0 28px; }
.newsletter .field__error { color: #ffe1d4; padding-left: 20px; }
.newsletter__note { font-size: 13px; margin: 0; color: rgba(255, 255, 255, .8); }
.newsletter__note a { text-decoration: underline; text-underline-offset: 3px; }

.footer__main { padding: 60px 0 40px; }
.footer__brand { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.footer__brand .logo__img { height: 50px; }
.footer__brand p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.6; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 30px 56px; padding-bottom: 40px; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.footer__contacts li { display: flex; align-items: center; gap: 18px; }
.footer__contact-icon {
    width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    display: grid; place-items: center; color: #fff;
    transition: background-color .4s var(--ease), border-color .4s;
}
.footer__contacts li:hover .footer__contact-icon { background: var(--primary); border-color: var(--primary); }
.footer__contacts small { display: block; font-size: 15px; color: rgba(255, 255, 255, .8); }
.footer__contacts a, .footer__contacts address { font-family: var(--theme-heading-font); font-size: 22px; color: #fff; line-height: 1.35; }
.footer__contacts a:hover { color: #e7c5a8; }

.footer__cols { display: grid; grid-template-columns: 1fr 1.1fr .9fr 1.2fr; gap: 36px; padding-top: 50px; }
.footer__col h4 { color: #fff; font-size: 24px; margin-bottom: 26px; position: relative; padding-bottom: 14px; }
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary) 0 72%, transparent 72% 80%, var(--primary) 80%); }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a, .footer__col button { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: 16px; transition: color .3s, transform .35s var(--ease); }
.footer__col a .icon, .footer__col button .icon { width: 14px; height: 14px; color: #c99a74; }
.footer__col a:hover, .footer__col button:hover { color: #e7c5a8; transform: translateX(4px); }
.footer__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.footer__gallery-item { border-radius: 6px; overflow: hidden; aspect-ratio: 1; display: block; }
.footer__gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
.footer__gallery-item:hover img { transform: scale(1.12); filter: brightness(1.1); }

.footer__disclaimer { font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 28px; margin: 20px 0 0; }
.footer__disclaimer strong { color: rgba(255, 255, 255, .8); font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 30px; font-size: 15px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; }
.footer__bottom li + li::before { content: "/"; margin: 0 12px; opacity: .5; }
.footer__bottom a, .footer__bottom button { color: #fff; font-weight: 500; font-size: 15px; }
.footer__bottom a:hover, .footer__bottom button:hover { color: #e7c5a8; }

.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--primary); color: #fff;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s;
}
.to-top .icon { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--secondary); }

/* =====================================================================
   COOKIES
   ===================================================================== */
.cookie-banner {
    position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 200;
    max-width: 1100px; margin-inline: auto;
    display: flex; align-items: center; gap: 30px;
    padding: 26px 30px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(var(--theme-primary), .15);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .35);
    transform: translateY(30px); opacity: 0;
    transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.cookie-banner.is-visible { transform: none; opacity: 1; }
.cookie-banner h2 { font-size: 22px; margin-bottom: 6px; }
.cookie-banner p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.cookie-banner a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
    padding: 13px 20px; border-radius: 40px;
    font-size: 14px; font-weight: 600; letter-spacing: .02em;
    border: 1px solid var(--primary);
    transition: background-color .3s var(--ease), color .3s, border-color .3s;
    white-space: nowrap;
}
.cookie-btn--solid { background: var(--primary); color: #fff; }
.cookie-btn--solid:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.cookie-btn--outline { color: var(--primary); }
.cookie-btn--outline:hover { background: var(--primary); color: #fff; }
.cookie-btn--ghost { border-color: transparent; color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }
.cookie-btn--ghost:hover { color: var(--primary); }

.cookie-modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; }
.cookie-modal__overlay { position: absolute; inset: 0; background: rgba(var(--theme-secondary), .6); opacity: 0; transition: opacity .4s var(--ease); }
.cookie-modal__panel {
    position: relative;
    width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto;
    padding: 40px;
    background: #fff; border-radius: 20px;
    transform: translateY(24px) scale(.98); opacity: 0;
    transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.cookie-modal.is-open .cookie-modal__overlay { opacity: 1; }
.cookie-modal.is-open .cookie-modal__panel { transform: none; opacity: 1; }
.cookie-modal__panel:focus { outline: none; }
.cookie-modal h2 { font-size: 30px; }
.cookie-modal__panel > p { font-size: 15px; }
.cookie-modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--secondary); transition: background-color .3s; }
.cookie-modal__close:hover { background: var(--base); }
.cookie-modal__close .icon { width: 20px; height: 20px; }
.cookie-opt { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid rgba(var(--theme-secondary), .1); }
.cookie-opt h3 { font-family: var(--theme-paragraph-font); font-size: 16px; font-weight: 600; color: var(--secondary); margin: 0 0 4px; }
.cookie-opt p { font-size: 14px; line-height: 1.55; margin: 0; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }

.switch { position: relative; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { display: block; width: 52px; height: 30px; border-radius: 30px; background: #cfcac5; position: relative; transition: background-color .3s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--ease-out); }
.switch input:checked + .switch__track { background: var(--primary); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--primary); outline-offset: 2px; }
.switch.is-locked { cursor: not-allowed; opacity: .65; }

/* =====================================================================
   LEGAL PAGES
   ===================================================================== */
.page-hero {
    position: relative;
    padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 8vw, 110px);
    background: var(--secondary) url("img/photos/hero-hotel-lobby.jpg") center / cover no-repeat;
    color: #fff; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 30, .92), rgba(10, 22, 30, .7)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 72px); margin-bottom: 12px; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 17px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 15px; margin-bottom: 18px; color: #e7c5a8; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: #e7c5a8; }

.legal { padding: clamp(60px, 8vw, 110px) 0; background: var(--surface); }
.legal__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.legal__toc { position: sticky; top: 110px; padding: 28px; background: var(--base); border-radius: var(--radius); max-height: calc(100vh - 140px); overflow: auto; }
.legal__toc h2 { font-size: 22px; margin-bottom: 14px; }
.legal__toc ol { counter-reset: toc; display: grid; gap: 4px; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); color: var(--primary); font-weight: 600; font-size: 13px; padding-top: 1px; }
.legal__toc a:hover, .legal__toc a.is-active { background: #fff; color: var(--secondary); }
.legal__content { max-width: 860px; }
.legal__content section { scroll-margin-top: 110px; padding-bottom: 14px; }
.legal__content h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 36px 0 16px; }
.legal__content section:first-child h2 { margin-top: 0; }
.legal__content h3 { font-family: var(--theme-paragraph-font); font-size: 18px; font-weight: 600; color: var(--secondary); margin: 22px 0 10px; }
.legal__content p, .legal__content li { font-size: 16.5px; line-height: 1.8; }
.legal__content ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.legal__content ul li { position: relative; padding-left: 26px; }
.legal__content ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; background: var(--primary); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.legal__content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal__content strong { color: var(--secondary); font-weight: 600; }
.legal__meta { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; background: var(--base); border-radius: 40px; font-size: 14.5px; margin-bottom: 30px; }
.legal__meta .icon { color: var(--primary); width: 18px; height: 18px; }
.legal__box { background: var(--base); border-left: 3px solid var(--primary); padding: 22px 26px; border-radius: 0 12px 12px 0; margin: 10px 0 24px; }
.legal__box p:last-child { margin: 0; }
.legal__contact { display: grid; gap: 6px; padding: 26px 28px; background: var(--secondary); color: rgba(255, 255, 255, .85); border-radius: var(--radius); margin-top: 10px; }
.legal__contact strong { color: #fff; font-family: var(--theme-heading-font); font-size: 22px; font-weight: 500; }
.legal__contact a { color: #e7c5a8; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1399px) {
    .nav__link { padding: 10px 12px; font-size: 15px; }
    .testimonials__grid { grid-template-columns: 230px minmax(0, 1fr) 250px; gap: 32px; }
    .tcard { padding: 30px 26px; }
}

@media (max-width: 1199px) {
    :root { --header-h: 88px; }
    .burger { display: block; }
    .btn--header { display: none; }
    .logo__img { height: 46px; }

    .nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
        width: min(380px, 88vw);
        padding: 110px 28px 36px;
        background: var(--secondary);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .55s var(--ease-out);
        display: flex; flex-direction: column; gap: 30px;
    }
    .nav.is-open { transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 0; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 18px; border-radius: 10px; }
    .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 6px 16px; min-width: 0; display: none; }
    .nav__item--drop.is-open .nav__drop { display: block; }
    .nav__item--drop.is-open .nav__plus { transform: rotate(45deg); }
    .nav__drop a { color: rgba(255, 255, 255, .75); }
    .nav__drop a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .nav__mobile-extra { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
    .nav__contact { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; }
    .nav__contact .icon { color: #c99a74; width: 20px; height: 20px; }
    .header__actions { position: relative; z-index: 101; }

    .testimonials__grid { grid-template-columns: 1fr; gap: 30px; }
    .testimonials__media { display: none; }
    .testimonials__intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
    .testimonials__intro .testimonials__quote { display: none; }
    .testimonials__lead { margin: 0; max-width: 560px; }

    .footer__grid { grid-template-columns: 1fr; gap: 0; }
    .footer__subscribe { max-width: 560px; }
    .footer__cols { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
    .steps::before { display: none; }
}

@media (max-width: 991px) {
    body { font-size: 16px; }
    .about__grid, .market__grid, .approach__grid, .sector { grid-template-columns: 1fr; }
    .sector--reverse .sector__media { order: 0; }
    .about__media { padding-right: 0; }
    .info-card { position: relative; right: auto; bottom: auto; width: auto; margin: -70px 20px 0; }
    .hex-row { max-width: 520px; }
    .honeycomb { margin: 20px auto 0; --w: clamp(150px, 38vw, 280px); }
    .contact-cards { grid-template-columns: 1fr; gap: 18px; margin-bottom: 50px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .legal__grid { grid-template-columns: 1fr; }
    .legal__toc { position: static; max-height: none; }
    .hero__bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 767px) {
    :root { --gutter: 16px; --header-h: 76px; }
    .header.is-scrolled .header__inner { height: 70px; }
    .logo__img, .header.is-scrolled .logo__img { height: 38px; }
    .burger { width: 46px; height: 46px; }
    .burger span { left: 14px; right: 14px; }
    .burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }

    .hero { min-height: 740px; }
    .hero__content { bottom: calc(var(--hero-bottom, 180px) + 32px + 36px); }
    .hero__kicker { font-size: 11px; letter-spacing: .14em; }
    .hero__text { font-size: 15.5px; }
    .hero__kicker::before { width: 28px; }
    .hero__bottom { bottom: 32px; }
    .hero__actions { gap: 18px; }
    .hero__contact-icon { width: 54px; height: 54px; }
    .hero__contact-text strong { font-size: 17px; }
    .pager__btn.is-active .pager__line { width: 56px; }

    .btn { gap: 16px; padding-left: 22px; font-size: 14px; }
    .btn__icon { width: 42px; height: 42px; }

    .section-head { margin-bottom: 28px; }
    .section-sub { font-size: 16.5px; }
    .about__content > p, .market__content > p, .approach__content > p { font-size: 16.5px; }
    .hex-row { gap: 14px 16px; }
    .hex-row .hex:nth-child(2n) { transform: translateY(34px); }
    .hex-row .hex:nth-child(2n):hover { transform: translateY(28px); }
    .hex__body { padding: 0 8% 0 18%; }
    .hex__num { font-size: 34px; }
    .hex__label { font-size: 13px; }
    .info-card { margin: -50px 12px 0; padding: 26px 22px; }
    .info-card li { font-size: 16px; }

    .gallery__pager { left: 14px; bottom: 14px; }
    .sector--reverse .gallery__pager { right: 14px; }
    .pager--vertical .pager__btn.is-active .pager__line { height: 56px; }
    .sector__lead { font-size: 19px; }
    .check-list { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
    .check-list li { font-size: 14.5px; }

    .eval-table__row { grid-template-columns: 96px 1fr; }
    .eval-table__icon { padding: 18px; }
    .eval-table__icon img { width: 44px; height: 44px; }
    .eval-table__body h4 { font-size: 20px; padding: 18px 20px 12px; }
    .eval-table__body p { padding: 12px 20px 18px; font-size: 15px; }
    .eval-table__head img { width: 32px; height: 32px; }
    .bar { grid-template-columns: 40px 1fr 44px; row-gap: 8px; }
    .bar__icon { width: 40px; height: 40px; grid-row: span 2; }
    .bar__label { grid-column: 2 / 4; font-size: 15.5px; }
    .bar__track { grid-column: 2 / 3; }

    .steps { grid-template-columns: 1fr 1fr; gap: 40px 18px; }
    .step h3 { font-size: 21px; }
    .step p { font-size: 14.5px; }

    .tcard { flex-basis: 100%; padding: 28px 24px; }
    .tcard__text p { font-size: 17px; }
    .testimonials__lead { font-size: 20px; }

    .contact-card { padding: 30px 26px; }
    .contact-card__icon { width: 64px; height: 64px; }
    .contact-card__icon .icon-mask { width: 26px; height: 26px; }
    .contact-form-wrap { border-radius: 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .input { height: 60px; font-size: 16px; padding-left: 18px; }
    .field__icon { top: 18px; right: 18px; }

    .cta-band__badge { width: 190px; height: 190px; }
    .footer__subscribe { padding: 34px 24px 36px; }
    .footer__contacts { flex-direction: column; gap: 22px; }
    .footer__contacts a, .footer__contacts address { font-size: 19px; }
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .footer__col--gallery { grid-column: 1 / -1; }
    .footer__col h4 { font-size: 21px; }
    .footer__col a, .footer__col button { font-size: 15px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; }
    .cookie-banner__actions { flex-wrap: wrap; }
    .cookie-banner__actions .cookie-btn { flex: 1 1 auto; }
    .cookie-modal__panel { padding: 32px 22px; }
    .cookie-modal__actions .cookie-btn { flex: 1 1 auto; }
    .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

@media (max-width: 420px) {
    .hero__title { font-size: 36px; }
    .hero__title br { display: none; }
    .check-list { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: 1fr; }
    .hex__num { font-size: 30px; }
    .hex__label { font-size: 12px; }
    .honeycomb { --w: 44vw; --g: 8px; }
}

@media (max-height: 760px) and (min-width: 768px) {
    .hero__title { font-size: clamp(38px, 4.4vw, 64px); }
    .hero__content { bottom: calc(var(--hero-bottom, 64px) + 56px + 36px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

.legal-inline-btn { color: var(--primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
