/* Homepage V6: premium construction editorial layout. */
body.home {
    --home-ink: #151817;
    --home-pine: #18342d;
    --home-pine-2: #0f2520;
    --home-gold: #c89b37;
    --home-gold-dark: #9d7420;
    --home-mist: #eef2f0;
    --home-line: #dce2df;
    background: #fff;
}

body.home .button {
    min-height: 56px;
    padding-inline: 30px;
    border: 1px solid #c69a3e;
    border-radius: 8px;
    background: #d7ae4d;
    box-shadow: 0 13px 30px rgba(96, 70, 18, .2), inset 0 1px 0 rgba(255, 255, 255, .48), inset 0 -1px 0 rgba(96, 70, 18, .15);
    color: #15201c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

body.home .button:hover {
    border-color: var(--home-pine);
    background: var(--home-pine);
    box-shadow: 0 15px 32px rgba(15, 37, 32, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateY(-2px);
}

body.home .button--outline {
    border-color: #9eaaa5;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 25px rgba(24, 52, 45, .09);
    color: var(--home-pine);
}

body.home .button--outline:hover { border-color: var(--home-pine); background: var(--home-pine); color: #fff; }

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--home-gold-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-kicker::before { width: 34px; height: 2px; content: ""; background: currentColor; }

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: var(--home-ink);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.home-link span { color: var(--home-gold-dark); font-size: 20px; transition: transform .2s ease; }
.home-link:hover span { transform: translateX(4px); }

.home-section { padding: 118px 0; scroll-margin-top: 86px; }
.home-section h2,
.home-production h2 {
    margin: 0;
    color: var(--home-ink);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 46px;
    font-weight: 550;
    line-height: 1.2;
}

.home-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
    gap: 90px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--home-line);
}

.home-heading > p { margin: 0; color: #64706c; font-size: 16px; line-height: 1.7; }
.home-heading--light { border-color: rgba(255, 255, 255, .18); }
.home-heading--light h2 { color: #fff; }
.home-heading--light > p { color: #b8c3bf; }
.home-heading--light .home-kicker { color: #e4bc65; }

.home-hero {
    min-height: clamp(600px, calc(100svh - 238px), 700px);
    position: relative;
    display: grid;
    align-items: stretch;
    overflow: hidden;
    background: #e7ecef;
}

.home-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; }
.home-hero__copy { width: min(640px, 48%); padding: 52px 0 122px; }
.home-hero__copy .home-kicker { color: #5c6763; }
.home-hero h1 {
    max-width: 690px;
    margin: 0;
    color: #101514;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: clamp(51px, 4vw, 67px);
    font-weight: 520;
    line-height: 1.12;
}

.home-hero__lead { max-width: 420px; margin: 27px 0 31px; color: #394440; font-size: 18px; line-height: 1.65; }
.home-hero__actions { display: flex; align-items: center; gap: 28px; }
.home-hero__actions .home-link {
    min-height: 56px;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid rgba(24, 52, 45, .3);
    border-radius: 8px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 10px 26px rgba(24, 52, 45, .1), inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.home-hero__actions .home-link:hover {
    border-color: rgba(24, 52, 45, .5);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 30px rgba(24, 52, 45, .14);
    transform: translateY(-2px);
}
.home-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 650px;
    margin-top: 30px;
    padding: 15px 17px;
    border: 1px solid rgba(21, 24, 23, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 16px 40px rgba(31, 43, 39, .11), inset 0 1px 0 rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
}

.home-hero__facts span { min-height: 48px; display: grid; gap: 5px; padding-right: 17px; color: #38413e; font-size: 12px; line-height: 1.4; }
.home-hero__facts span + span { padding-left: 18px; border-left: 1px solid rgba(21, 24, 23, .18); }
.home-hero__facts strong { color: var(--home-gold-dark); font-size: 10px; }
.home-hero__scroll {
    position: absolute;
    z-index: 3;
    right: 38px;
    bottom: 33px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #2d3532;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.home-hero__scroll b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(21, 24, 23, .35); font-size: 15px; font-weight: 400; writing-mode: horizontal-tb; }

.home-direction-bar { position: relative; z-index: 4; background: var(--home-pine-2); color: #fff; }
.home-direction-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-direction-bar a {
    min-height: 116px;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 22px 25px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}

.home-direction-bar a:first-child { border-left: 1px solid rgba(255, 255, 255, .14); }
.home-direction-bar a::after { width: 0; height: 2px; position: absolute; right: 25px; bottom: 18px; content: ""; background: #d6b265; transition: width .25s ease; }
.home-direction-bar a { position: relative; }
.home-direction-bar a:hover { background: #21483e; }
.home-direction-bar a:hover::after { width: 38px; }
.home-direction-bar span { color: #d6b265; font-size: 10px; font-weight: 800; }
.home-direction-bar strong { font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 650; }
.home-direction-bar b { color: #d6b265; font-size: 18px; font-weight: 400; }

.home-about { overflow: hidden; }
.home-about__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 94px; align-items: center; }
.home-about__visual { min-height: 620px; position: relative; }
.home-about__visual::before { position: absolute; inset: 26px 26px -26px -26px; z-index: -1; content: ""; background: var(--home-mist); }
.home-about__visual img { width: 100%; height: 620px; border: 1px solid rgba(24, 52, 45, .12); border-radius: 8px; box-shadow: 0 28px 70px rgba(24, 52, 45, .13); object-fit: cover; }
.home-about__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(400px, 76%);
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px 0 8px 0;
    background: var(--home-pine);
    box-shadow: 0 18px 46px rgba(15, 37, 32, .24);
    color: #fff;
}

.home-about__caption span,
.home-about__caption strong { display: block; }
.home-about__caption span { margin-bottom: 7px; color: #dfbd70; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.home-about__caption strong { font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.5; }
.home-about__content { padding-left: 22px; }
.home-about__lead { margin: 27px 0 18px; color: #26312d; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 22px; font-weight: 500; line-height: 1.55; }
.home-about__content > p:not(.home-kicker):not(.home-about__lead) { margin: 0; color: #68716e; font-size: 15px; line-height: 1.8; }
.home-about__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 36px 0 31px; }
.home-about__metrics div { min-height: 142px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 19px 17px; border: 1px solid #d8dfdc; border-radius: 8px; background: #fbfcfb; box-shadow: 0 13px 34px rgba(24, 52, 45, .07), inset 0 1px 0 #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-about__metrics div::before { width: 44px; height: 3px; position: absolute; top: 0; left: 17px; content: ""; background: var(--home-gold); }
.home-about__metrics div:hover { border-color: #bcc9c4; box-shadow: 0 18px 42px rgba(24, 52, 45, .11); transform: translateY(-3px); }
.home-about__metrics b { position: absolute; top: 17px; right: 17px; color: #b0b8b5; font-size: 9px; font-weight: 800; }
.home-about__metrics strong { color: var(--home-pine); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 30px; font-weight: 580; line-height: 1; }
.home-about__metrics span { margin-top: 10px; color: #66706c; font-size: 11px; line-height: 1.45; }

.home-projects { background: var(--home-mist); }
.home-projects__filters { width: fit-content; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 30px; padding: 4px; border: 1px solid #ccd5d1; border-radius: 8px; background: rgba(255, 255, 255, .68); box-shadow: 0 10px 28px rgba(24, 52, 45, .06); }
.home-projects__filters a { min-height: 39px; display: inline-flex; align-items: center; padding: 8px 16px; border: 0; border-radius: 6px; color: #3e4a46; font-size: 12px; font-weight: 700; text-decoration: none; }
.home-projects__filters a:hover,
.home-projects__filters .is-current { border-color: var(--home-pine); background: var(--home-pine); color: #fff; }
.home-projects__grid { gap: 20px; }
.home-projects .project-card { overflow: hidden; border: 1px solid rgba(24, 52, 45, .1); border-radius: 8px; box-shadow: 0 18px 45px rgba(24, 52, 45, .09), inset 0 1px 0 #fff; }
.home-projects .project-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(24, 52, 45, .14); }
.home-projects .project-card__image { aspect-ratio: 16 / 9; }
.home-projects .project-card h3 { color: var(--home-ink); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 21px; font-weight: 600; }
.home-projects .project-card__arrow { border-radius: 6px; background: var(--home-gold); box-shadow: 0 8px 18px rgba(157, 116, 32, .2), inset 0 1px 0 rgba(255, 255, 255, .35); }
.home-projects__all { display: flex; width: fit-content; margin: 38px auto 0; }

.home-technologies { background: #15241f; }
.home-tech-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.home-tech-card { grid-column: span 3; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: #fff; box-shadow: 0 22px 52px rgba(4, 16, 12, .24); transition: transform .25s ease, box-shadow .25s ease; }
.home-tech-card:hover { box-shadow: 0 30px 65px rgba(4, 16, 12, .34); transform: translateY(-5px); }
.home-tech-card--wide { grid-column: span 6; display: grid; grid-template-columns: 1.15fr .85fr; }
.home-tech-card__image { min-height: 235px; display: block; overflow: hidden; background: #dce4e1; }
.home-tech-card--wide .home-tech-card__image { min-height: 370px; }
.home-tech-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-tech-card:hover .home-tech-card__image img { transform: scale(1.025); }
.home-tech-card__body { min-height: 260px; display: flex; flex-direction: column; padding: 25px; }
.home-tech-card--wide .home-tech-card__body { min-height: 370px; padding: 34px; }
.home-tech-card__body > span { color: var(--home-gold-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.home-tech-card h3 { margin: 20px 0 12px; color: var(--home-ink); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.35; }
.home-tech-card p { margin: 0; color: #69736f; font-size: 13px; line-height: 1.65; }
.home-tech-card__body > a { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin-top: auto; padding-top: 20px; color: var(--home-pine); font-size: 12px; font-weight: 800; text-decoration: none; }
.home-tech-card__body > a b { color: var(--home-gold-dark); font-size: 17px; }

.home-production { display: grid; grid-template-columns: 1.08fr .92fr; background: #e9efec; }
.home-production__visual { min-height: 720px; overflow: hidden; }
.home-production__visual img { width: 100%; height: 100%; object-fit: cover; }
.home-production__content { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(44px, 7vw, 130px); }
.home-production__content > p:not(.home-kicker) { max-width: 660px; margin: 26px 0 0; color: #5b6863; font-size: 16px; line-height: 1.75; }
.home-production__facts { max-width: 700px; margin: 35px 0 32px; padding: 0; border-top: 1px solid #cbd5d1; }
.home-production__facts div { display: grid; grid-template-columns: 52px 1fr; gap: 15px; margin: 0; padding: 18px 0; border-bottom: 1px solid #cbd5d1; }
.home-production__facts dt { color: var(--home-gold-dark); font-size: 10px; font-weight: 800; }
.home-production__facts dd { display: grid; gap: 3px; margin: 0; }
.home-production__facts strong { color: var(--home-ink); font-size: 14px; }
.home-production__facts span { color: #6b7772; font-size: 12px; }
.home-production__content .button { width: fit-content; }

.home-process { background: #0f1d19; color: #fff; }
.home-process__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.home-process__list li { min-height: 282px; display: grid; grid-template-columns: minmax(190px, .82fr) 1.18fr; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: #152a24; box-shadow: 0 24px 60px rgba(2, 10, 7, .28), inset 0 1px 0 rgba(255, 255, 255, .05); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.home-process__list li:hover { border-color: rgba(221, 182, 94, .48); box-shadow: 0 31px 70px rgba(2, 10, 7, .38); transform: translateY(-4px); }
.home-process__visual { min-height: 282px; position: relative; overflow: hidden; background: #203831; }
.home-process__visual::after { position: absolute; inset: 0; content: ""; background: rgba(7, 23, 18, .12); }
.home-process__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform .45s ease; }
.home-process__list li:hover img { transform: scale(1.035); }
.home-process__visual span { width: 46px; height: 46px; position: absolute; z-index: 2; top: 18px; left: 18px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 8px; background: rgba(15, 37, 32, .82); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); color: #f0c76b; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.home-process__visual b { position: absolute; z-index: 2; right: 15px; bottom: 15px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; background: rgba(255, 255, 255, .9); box-shadow: 0 9px 22px rgba(0, 0, 0, .13); color: var(--home-pine); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.home-process__body { display: flex; flex-direction: column; padding: 31px 29px 27px; }
.home-process__list h3 { margin: 0 0 13px; color: #fff; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.35; }
.home-process__list p { margin: 0; color: #bec9c5; font-size: 13px; line-height: 1.65; }
.home-process__list small { display: block; margin-top: auto; padding-top: 19px; border-top: 1px solid rgba(255, 255, 255, .13); color: #dfbd70; font-size: 10px; font-weight: 700; line-height: 1.5; }

.home-crimea { background: #fff; }
.home-crimea__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 82px; align-items: center; }
.home-crimea__grid > img { width: 100%; min-height: 560px; border: 1px solid rgba(24, 52, 45, .12); border-radius: 8px; box-shadow: 0 28px 70px rgba(24, 52, 45, .12); object-fit: cover; }
.home-crimea__copy > p:not(.home-kicker) { margin: 28px 0 0; color: #63706b; font-size: 16px; line-height: 1.8; }
.home-crimea__contacts { display: grid; gap: 8px; margin-top: 35px; padding: 23px 25px; border: 1px solid var(--home-line); border-left: 4px solid var(--home-gold); border-radius: 8px; background: #fbfcfb; box-shadow: 0 15px 38px rgba(24, 52, 45, .07); }
.home-crimea__contacts span { color: var(--home-gold-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.home-crimea__contacts strong { color: var(--home-ink); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 18px; font-weight: 600; }
.home-crimea__contacts a { width: fit-content; color: var(--home-pine); font-size: 19px; font-weight: 800; text-decoration: none; }

.home-request { background: var(--home-mist); }
.home-request .request__grid { align-items: center; }
.home-request .request__copy h2 { color: var(--home-ink); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 46px; font-weight: 550; }

/* Filterable project gallery */
.home-gallery { overflow: hidden; background: #f3f5f3; }
.home-gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 8px; border: 1px solid rgba(19, 47, 39, .12); border-radius: 8px; background: rgba(255, 255, 255, .72); width: fit-content; box-shadow: 0 16px 42px rgba(15, 40, 33, .06); }
.home-gallery__filters button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 6px; background: transparent; color: #52615c; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.home-gallery__filters button:hover { color: var(--home-ink); background: #eef2ef; }
.home-gallery__filters button.is-active { color: #fff; background: var(--home-ink); box-shadow: 0 8px 20px rgba(16, 44, 37, .2); }
.home-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 14px; }
.home-gallery__item { position: relative; overflow: hidden; min-width: 0; margin: 0; border-radius: 7px; background: #142c26; box-shadow: 0 18px 48px rgba(16, 44, 37, .1); animation: galleryReveal .32s ease both; }
.home-gallery__item[hidden] { display: none; }
.home-gallery__item--large { grid-column: span 2; }
.home-gallery__open { width: 100%; height: 100%; display: block; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: zoom-in; }
.home-gallery__open:focus-visible { outline: 3px solid #e6b84e; outline-offset: -5px; }
.home-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.home-gallery__item::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(180deg, transparent, rgba(7, 23, 19, .86)); pointer-events: none; }
.home-gallery__item:hover img { transform: scale(1.035); }
.home-gallery__item figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; gap: 4px; padding: 26px; color: #fff; }
.home-gallery__item figcaption span { color: #e8bc5b; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.home-gallery__item figcaption strong { font-size: 19px; font-weight: 600; }
.home-gallery__item figcaption small { color: rgba(255,255,255,.72); font-size: 12px; }
@keyframes galleryReveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; z-index: 10020; inset: 0; display: grid; place-items: center; padding: 28px; }
.gallery-lightbox__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(5, 18, 15, .91); cursor: zoom-out; backdrop-filter: blur(10px); }
.gallery-lightbox__dialog { position: relative; z-index: 1; width: min(1180px, 100%); max-height: calc(100vh - 56px); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: #0d211c; box-shadow: 0 38px 110px rgba(0,0,0,.48); }
.gallery-lightbox__topbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px 0 22px; color: rgba(255,255,255,.6); font-size: 11px; }
.gallery-lightbox__topbar button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.gallery-lightbox__stage { position: relative; height: min(68vh, 720px); display: grid; place-items: center; background: #091712; }
.gallery-lightbox__stage img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.gallery-lightbox__nav { position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; background: rgba(11,34,28,.78); color: #fff; font-size: 20px; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.gallery-lightbox__nav:hover { background: #c99a35; color: #102c25; transform: translateY(-50%) scale(1.05); }
.gallery-lightbox__nav--prev { left: 20px; }
.gallery-lightbox__nav--next { right: 20px; }
.gallery-lightbox__caption { min-height: 105px; display: grid; grid-template-columns: 1fr minmax(240px, .7fr); gap: 34px; align-items: center; padding: 22px 28px; }
.gallery-lightbox__caption span { color: #d9aa45; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.gallery-lightbox__caption h3 { margin: 5px 0 0; color: #fff; font-size: 20px; font-weight: 600; }
.gallery-lightbox__caption p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
body.gallery-lightbox-open { overflow: hidden; }

/* Reviews */
.home-reviews { overflow: hidden; color: #fff; background: #102c25; }
.home-reviews .home-heading { border-color: rgba(255,255,255,.14); }
.home-reviews__grid { display: grid; grid-template-columns: 1.22fr .89fr .89fr; gap: 16px; }
.home-review { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: rgba(255,255,255,.055); box-shadow: 0 22px 60px rgba(0,0,0,.13); }
.home-review--featured { background: #f1c45b; color: #132d27; border-color: transparent; }
.home-review__mark { height: 48px; color: rgba(16,44,37,.45); font-family: Georgia, serif; font-size: 74px; line-height: 1; }
.home-review__rating { color: #e7b64a; font-size: 14px; letter-spacing: 3px; }
.home-review blockquote { margin: 28px 0 34px; font-size: 17px; line-height: 1.72; }
.home-review--featured blockquote { font-size: 21px; line-height: 1.62; }
.home-review footer { display: flex; align-items: center; gap: 13px; }
.home-review footer > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #e9bd59; font-weight: 750; }
.home-review--featured footer > span { border-color: rgba(16,44,37,.22); color: #132d27; }
.home-review footer div { display: grid; gap: 3px; }
.home-review footer strong { font-size: 13px; }
.home-review footer small { color: rgba(255,255,255,.6); font-size: 11px; }
.home-review--featured footer small { color: rgba(16,44,37,.66); }
.home-reviews__note { display: grid; grid-template-columns: 46px 1fr auto; gap: 22px; align-items: center; margin-top: 16px; padding: 22px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; }
.home-reviews__note > span { color: #e7b64a; font-size: 12px; }
.home-reviews__note p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.home-reviews__note p strong { display: block; margin-bottom: 3px; color: #fff; }
.home-reviews__note a { color: #e7b64a; font-size: 12px; font-weight: 750; text-decoration: none; text-transform: uppercase; }
.home-lead-form { border: 1px solid #cfd8d4; border-top: 6px solid var(--home-pine); border-radius: 8px; background: #fff; box-shadow: 0 30px 75px rgba(24, 52, 45, .14), inset 0 1px 0 #fff; }
.home-lead-form input,
.home-lead-form select { border-color: #d6ddda; background: #f8faf9; }
.home-lead-form input:focus,
.home-lead-form select:focus { border-color: var(--home-pine); box-shadow: 0 0 0 3px rgba(24, 52, 45, .1); }

@media (max-width: 1240px) {
    .home-hero__copy { width: 53%; }
    .home-hero h1 { font-size: 58px; }
    .home-section h2, .home-production h2 { font-size: 44px; }
    .home-about__grid { gap: 62px; }
    .home-tech-card { grid-column: span 6; }
    .home-tech-card--wide { grid-column: span 6; display: block; }
    .home-tech-card--wide .home-tech-card__image { min-height: 300px; }
    .home-tech-card--wide .home-tech-card__body { min-height: 260px; padding: 25px; }
    .home-production__content { padding-inline: 54px; }
}

@media (max-width: 980px) {
    .home-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-reviews__grid { grid-template-columns: 1fr 1fr; }
    .home-review--featured { grid-column: 1 / -1; min-height: 280px; }
    .home-section { padding: 88px 0; }
    .home-heading { grid-template-columns: 1fr; gap: 22px; }
    .home-heading > p { max-width: 620px; }
    .home-hero { min-height: 710px; }
    .home-hero__image { object-position: 56% center; }
    .home-hero::before { position: absolute; z-index: 1; inset: 0 42% 0 0; content: ""; background: rgba(255, 255, 255, .88); }
    .home-hero__copy { width: 58%; padding-bottom: 82px; }
    .home-hero h1 { font-size: 51px; }
    .home-hero__facts { grid-template-columns: 1fr; gap: 8px; }
    .home-hero__facts span { min-height: 0; display: flex; align-items: center; gap: 11px; padding: 0; }
    .home-hero__facts span + span { padding-left: 0; border-left: 0; }
    .home-direction-bar__grid { grid-template-columns: 1fr 1fr; }
    .home-direction-bar a:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .14); }
    .home-about__grid { grid-template-columns: 1fr; }
    .home-about__visual, .home-about__visual img { min-height: 540px; height: 540px; }
    .home-about__content { padding: 20px 0 0; }
    .home-production { grid-template-columns: 1fr; }
    .home-production__visual { min-height: 560px; }
    .home-production__content { padding: 72px 40px; }
    .home-process__list { grid-template-columns: 1fr; }
    .home-process__list li { min-height: 260px; }
    .home-process__visual { min-height: 260px; }
    .home-crimea__grid { grid-template-columns: 1fr; gap: 48px; }
    .home-crimea__grid > img { min-height: 470px; grid-row: 1; }
}

@media (max-width: 620px) {
    .home-gallery__filters { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding: 6px; }
    .home-gallery__filters button { flex: 0 0 auto; }
    .home-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .home-gallery__item--large { grid-column: auto; }
    .home-gallery__item figcaption { padding: 22px; }
    .gallery-lightbox { padding: 0; }
    .gallery-lightbox__dialog { width: 100%; max-height: 100vh; border: 0; border-radius: 0; }
    .gallery-lightbox__stage { height: 62vh; }
    .gallery-lightbox__nav { width: 42px; height: 42px; }
    .gallery-lightbox__nav--prev { left: 10px; }
    .gallery-lightbox__nav--next { right: 10px; }
    .gallery-lightbox__caption { min-height: 125px; grid-template-columns: 1fr; gap: 8px; padding: 20px; }
    .home-reviews__grid { grid-template-columns: 1fr; }
    .home-review--featured { grid-column: auto; }
    .home-review, .home-review--featured { min-height: 0; padding: 27px; }
    .home-review--featured blockquote { font-size: 18px; }
    .home-reviews__note { grid-template-columns: 34px 1fr; }
    .home-reviews__note a { grid-column: 2; }
    body.home .container { width: min(calc(100% - 28px), var(--container)); }
    .home-section { padding: 68px 0; }
    .home-section h2,
    .home-production h2,
    .home-request .request__copy h2 { font-size: 35px; line-height: 1.2; }
    .home-heading { margin-bottom: 28px; padding-bottom: 22px; }
    .home-heading > p { font-size: 14px; }
    .home-hero { min-height: 704px; display: block; background: #fff; }
    .home-hero__image { height: 292px; object-position: 70% center; }
    .home-hero::before { inset: 292px 0 0; background: #fff; }
    .home-hero__inner { min-height: 704px; display: block; }
    .home-hero__copy { width: 100%; padding: 326px 0 30px; }
    .home-hero__copy .home-kicker { margin-bottom: 13px; }
    .home-hero h1 { max-width: 390px; font-size: 40px; line-height: 1.1; }
    .home-hero__lead { margin: 17px 0 21px; font-size: 14px; line-height: 1.55; }
    .home-hero__actions { align-items: stretch; flex-direction: column; gap: 15px; }
    .home-hero__actions .button { width: 100%; }
    .home-hero__actions .home-link { margin-inline: auto; }
    .home-hero__facts { display: none; }
    .home-hero__scroll { display: none; }
    .home-direction-bar__grid { grid-template-columns: 1fr; }
    .home-direction-bar a { min-height: 68px; padding: 16px 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
    .home-direction-bar strong { font-size: 16px; }
    .home-about__grid { gap: 46px; }
    .home-about__visual, .home-about__visual img { min-height: 370px; height: 370px; }
    .home-about__visual::before { inset: 12px 12px -12px -12px; }
    .home-about__caption { width: calc(100% - 18px); padding: 18px 20px; }
    .home-about__content { padding: 0; }
    .home-about__lead { font-size: 21px; }
    .home-about__metrics { grid-template-columns: 1fr; }
    .home-about__metrics div { min-height: 112px; }
    .home-projects__filters { display: grid; grid-template-columns: 1fr 1fr; }
    .home-projects__filters a { justify-content: center; text-align: center; }
    .home-projects__grid { grid-template-columns: 1fr; }
    .home-projects .project-card:hover { transform: none; }
    .home-tech-grid { grid-template-columns: 1fr; }
    .home-tech-card,
    .home-tech-card--wide { grid-column: auto; }
    .home-tech-card__image,
    .home-tech-card--wide .home-tech-card__image { min-height: 230px; }
    .home-tech-card__body,
    .home-tech-card--wide .home-tech-card__body { min-height: 230px; padding: 23px; }
    .home-production__visual { min-height: 350px; }
    .home-production__content { padding: 58px 20px; }
    .home-production__content .button { width: 100%; }
    .home-process__list { grid-template-columns: 1fr; }
    .home-process__list li { min-height: 0; display: block; }
    .home-process__visual { min-height: 218px; height: 218px; }
    .home-process__body { min-height: 220px; padding: 25px 22px 23px; }
    .home-process__list li:hover { transform: none; }
    .home-crimea__grid > img { min-height: 330px; }
    .home-request .request__grid { gap: 46px; }
    .home-lead-form { padding: 24px 18px; }
}
.home-hero__promise{margin:18px 0 0;color:rgba(255,255,255,.82);font-size:13px;font-weight:700;letter-spacing:0}
.home-evidence__card{display:flex;flex-direction:column;gap:14px}.home-evidence__card h3{margin:0;font-size:23px}.home-evidence__card p{margin:0;color:rgba(255,255,255,.72);line-height:1.7}.home-evidence__card a{margin-top:auto;color:#e4b94d;font-weight:800;text-decoration:none}.home-evidence__number{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(228,185,77,.45);color:#e4b94d;font-weight:800}
.form-alternatives{display:flex;gap:18px;flex-wrap:wrap}.form-alternatives a{color:#0d503e;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.home-projects__filters button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer;padding:12px 16px}.home-projects__filters button.is-current{background:#153d32;color:#fff}.home-projects__empty{margin:24px 0 0;padding:20px;border:1px solid #d8e1de;background:#fff;color:#52645f}.home-projects__grid .project-card[hidden]{display:none!important}

.home-direction-bar{margin-top:-74px}
.home-hero__scroll{right:auto;bottom:88px;left:50%;display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(255,255,255,.82);box-shadow:0 10px 26px rgba(14,42,34,.18);color:#173d32;transform:translateX(-50%);writing-mode:horizontal-tb;backdrop-filter:blur(8px)}
.home-hero__scroll span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.home-hero__scroll b{width:auto;height:auto;border:0;font-size:20px;animation:home-scroll-arrow 1.6s ease-in-out infinite}
@keyframes home-scroll-arrow{0%,100%{transform:translateY(-2px)}50%{transform:translateY(4px)}}
@media(max-width:760px){.home-direction-bar{margin-top:0}.home-hero__scroll{display:none}}

/* Marketing readability pass */
.home-evidence .home-review,.home-evidence .home-review--featured{border:1px solid rgba(224,182,80,.28)!important;background:#173f34!important;color:#fff!important;box-shadow:none!important}
.home-evidence .home-review--featured{background:#1d493d!important}
.home-evidence__card h3{color:#fff!important}.home-evidence__card p{color:#d8e5e1!important}.home-evidence__card a{color:#f0c65b!important}.home-evidence__number{border-color:rgba(240,198,91,.62)!important;color:#f0c65b!important;background:rgba(240,198,91,.06)}
.home-evidence .home-reviews__note{border-color:rgba(240,198,91,.28);background:#12372e}.home-evidence .home-reviews__note p,.home-evidence .home-reviews__note strong{color:#eef6f3!important}
.home-lead-form>small{display:block;margin-top:4px;color:#687a75!important;font-size:11px;line-height:1.5}
@media(max-width:760px){.home-evidence__card p{font-size:15px}}

/* Published price references */
.home-prices { background: #f3f6f4; }
.home-prices__grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 16px; }
.home-price { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 34px; overflow: hidden; border: 1px solid #d4ded9; border-radius: 7px; background: #fff; color: #17352c; text-decoration: none; box-shadow: 0 18px 48px rgba(13, 48, 38, .07); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.home-price::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: #d5a83f; }
.home-price--featured { background: #153d32; color: #fff; }
.home-price--featured::before { height: 6px; background: #edc257; }
.home-price:hover { border-color: #c7a34d; box-shadow: 0 24px 58px rgba(13, 48, 38, .12); transform: translateY(-4px); }
.home-price > span { color: #a27412; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.home-price--featured > span { color: #edc257; }
.home-price h3 { max-width: 310px; margin: 28px 0 24px; color: inherit; font-size: 28px; font-weight: 600; line-height: 1.22; }
.home-price strong { display: flex; align-items: baseline; gap: 7px; color: inherit; font-size: clamp(33px, 3vw, 45px); line-height: 1; white-space: nowrap; }
.home-price strong small { font-size: 13px; font-weight: 700; }
.home-price strong b { color: #7a8883; font-size: 14px; font-weight: 600; }
.home-price--featured strong b { color: #c8d8d3; }
.home-price p { margin: 25px 0 30px; color: #687671; font-size: 14px; line-height: 1.65; }
.home-price--featured p { color: #d5e1dd; }
.home-price i { margin-top: auto; color: #9b6d08; font-size: 13px; font-style: normal; font-weight: 800; }
.home-price--featured i { color: #edc257; }
.home-prices__note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding: 18px 22px; border-left: 3px solid #d5a83f; background: rgba(255, 255, 255, .76); }
.home-prices__note p { margin: 0; color: #697570; font-size: 12px; }
.home-prices__note a { flex: 0 0 auto; color: #173d32; font-size: 13px; font-weight: 800; text-decoration: none; }
@media(max-width:980px){.home-prices__grid{grid-template-columns:1fr 1fr}.home-price--featured{grid-column:1/-1;min-height:330px}}
@media(max-width:620px){.home-prices__grid{grid-template-columns:1fr}.home-price--featured{grid-column:auto}.home-price{min-height:330px;padding:28px}.home-price:hover{transform:none}.home-prices__note{align-items:flex-start;flex-direction:column;gap:12px}}

/* Verified Avito reviews */
.home-evidence .home-review { border-color: rgba(240, 198, 91, .24) !important; background: #173f34 !important; color: #fff !important; }
.home-evidence .home-review--featured { border-color: transparent !important; background: #efc65f !important; color: #14352c !important; }
.home-evidence .home-review__rating { color: #f0c65b; letter-spacing: 2px; }
.home-evidence .home-review--featured .home-review__rating { color: #76530b; }
.home-evidence .home-review blockquote { color: inherit; }
.home-evidence .home-review footer small { color: rgba(255, 255, 255, .68); }
.home-evidence .home-review--featured footer small { color: rgba(20, 53, 44, .68); }
.home-evidence .home-review--featured footer > span { border-color: rgba(20, 53, 44, .28); color: #14352c; }
.home-evidence .home-reviews__note > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(240, 198, 91, .55); color: #f0c65b; font-weight: 800; }
.home-reviews__carousel { min-width: 0; }
.home-reviews__viewport { overflow: hidden; outline: none; }
.home-reviews__viewport:focus-visible { outline: 2px solid #efc65f; outline-offset: 5px; }
.home-reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; transition: transform .42s cubic-bezier(.22, .7, .2, 1); }
.home-reviews__track .home-review { min-width: 0; }
.home-reviews__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.home-reviews__controls > button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(240, 198, 91, .4); border-radius: 50%; background: transparent; color: #f0c65b; font: inherit; font-size: 19px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.home-reviews__controls > button:hover { background: #efc65f; color: #14352c; }
.home-reviews__dots { display: flex; gap: 8px; }
.home-reviews__dots button { width: 9px; height: 9px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: transparent; cursor: pointer; }
.home-reviews__dots button.is-active { border-color: #efc65f; background: #efc65f; }
@media(max-width:980px){.home-reviews__track{grid-auto-columns:calc((100% - 16px) / 2)}}
@media(max-width:620px){.home-reviews__track{grid-auto-columns:100%}.home-reviews__controls{justify-content:space-between}.home-review blockquote{font-size:16px}}

/* Softer homepage typography */
.home-hero h1,
.home-section h2,
.home-production h2,
.home-request .request__copy h2,
.home-direction-bar strong,
.home-about__caption strong,
.home-about__lead,
.home-about__metrics strong,
.home-projects .project-card h3,
.home-tech-card h3,
.home-process__list h3,
.home-crimea__contacts strong {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}
.home-hero h1 { font-weight: 480; line-height: 1.1; }
.home-hero h1 span { color: #a87813; font-weight: 650; }
.home-section h2,
.home-production h2,
.home-request .request__copy h2 { font-weight: 500; }
.request-socials { display: flex !important; flex-wrap: wrap; gap: 10px 18px; }
.request-socials a { display: inline-flex; align-items: center; gap: 7px; color: #173d32; font-weight: 700; text-decoration: none; }
.request-socials img { width: 22px; height: 22px; }

/* Homepage sections use the shared scale; the first screen stays expressive. */
.home-section { font-family: "Manrope", "Segoe UI", Arial, sans-serif; }
.home-section h2,
.home-production h2,
.home-request .request__copy h2 {
    font-size: var(--type-section-title);
    font-weight: 520;
    line-height: 1.2;
}
.home-section h3,
.home-projects .project-card h3,
.home-tech-card h3,
.home-process__list h3 {
    font-size: var(--type-card-title);
    font-weight: 600;
    line-height: 1.35;
}
.home-section p,
.home-section li,
.home-heading > p,
.home-hero + .home-direction-bar p {
    font-size: var(--type-body);
    line-height: 1.7;
}
.home-kicker,
.home-section small,
.home-section label,
.home-price > span {
    font-size: var(--type-caption);
}
.home-request .request__copy { max-width: 590px; }
.home-request .request__copy h2 { max-width: 520px; }
@media(max-width:620px){.home-request .request__copy h2{max-width:none}}
.home-request .request__copy > p,
.home-heading > p,
.home-crimea__copy > p,
.home-about__copy > p:not(.home-kicker) {
    font-size: var(--type-body) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* The request block mirrors the typography and proportions of the Crimea block above. */
.home-request .request__grid {
    grid-template-columns: .82fr 1.18fr;
    gap: 82px;
    align-items: center;
}
.home-crimea__copy h2,
.home-request .request__copy h2 {
    max-width: none;
    margin: 0;
    color: var(--home-ink);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: var(--type-section-title);
    font-weight: 520;
    line-height: 1.2;
}
.home-request .request__copy { max-width: none; }
.home-request .request__copy > p {
    max-width: none;
    margin: 28px 0 0;
    color: #63706b;
}

/* High-end mobile homepage: editorial surfaces instead of stacked boxes. */
@media (max-width: 620px) {
    body.home .container { width: min(calc(100% - 28px), var(--container)); }
    .home-section { padding: 58px 0; }
    .home-section h2,
    .home-production h2,
    .home-request .request__copy h2 { font-size: 29px; line-height: 1.22; }
    .home-heading { gap: 12px; margin-bottom: 24px; padding-bottom: 17px; }

    .home-hero { min-height: 0; }
    .home-hero__image { height: 280px; }
    .home-hero::before { inset: 280px 0 0; }
    .home-hero__inner { min-height: 0; }
    .home-hero__copy { padding: 315px 0 31px; }
    .home-hero h1 { max-width: 355px; font-size: 38px; line-height: 1.08; }
    .home-hero__lead { margin-block: 15px 20px; font-size: 14px; line-height: 1.6; }
    .home-hero__actions { gap: 11px; }
    .home-hero__actions .button { min-height: 50px; border-radius: 6px; box-shadow: 0 12px 26px rgba(13,58,47,.16); }
    .home-hero__actions .home-link { padding: 6px 0; }

    .home-direction-bar { overflow-x: auto; scrollbar-width: none; }
    .home-direction-bar__grid { display: flex; width: max-content; }
    .home-direction-bar a { width: 210px; min-height: 62px; padding: 14px 16px; }

    .home-about__grid { gap: 32px; }
    .home-about__visual,
    .home-about__visual img { min-height: 315px; height: 315px; }
    .home-about__metrics { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dbe3df; }
    .home-about__metrics div { min-height: 0; padding: 18px 4px 15px; border: 0; border-bottom: 1px solid #dbe3df; border-radius: 0; background: transparent; box-shadow: none; }

    .home-projects__filters { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid #dce4e0; scrollbar-width: none; }
    .home-projects__filters button { flex: 0 0 auto; padding: 11px 13px; border-bottom: 2px solid transparent; font-size: 12px; }
    .home-projects__filters button.is-current { border-bottom-color: #153d32; background: transparent; color: #153d32; }
    .home-projects__grid { gap: 34px; }
    .home-projects__all { margin-top: 28px; border: 0; background: transparent; box-shadow: none; color: #153d32; text-decoration: underline; text-underline-offset: 5px; }

    .home-tech-grid { gap: 32px; }
    .home-tech-card,
    .home-tech-card--wide { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .home-tech-card__image,
    .home-tech-card--wide .home-tech-card__image { min-height: 220px; border-radius: 6px; }
    .home-tech-card__body,
    .home-tech-card--wide .home-tech-card__body { min-height: 0; padding: 17px 2px 0; }

    .home-production__visual { min-height: 300px; }
    .home-production__content { padding: 48px 16px; }
    .home-production__content .button { width: auto; min-height: 48px; border-radius: 6px; }

    .home-process__list { gap: 0; border-top: 1px solid #d9e2de; }
    .home-process__list li { border: 0; border-bottom: 1px solid #d9e2de; border-radius: 0; background: transparent; box-shadow: none; }
    .home-process__visual { min-height: 190px; height: 190px; margin-top: 18px; border-radius: 6px; }
    .home-process__body { min-height: 0; padding: 20px 2px 24px; }

    .home-gallery__filters { gap: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.18); border-radius: 0; background: transparent; }
    .home-gallery__filters button { padding: 11px 13px; border-radius: 0; }
    .home-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 155px; gap: 8px; }
    .home-gallery__item--large { grid-column: 1 / -1; grid-row: auto; height: 235px; }
    .home-gallery__item { border: 0; border-radius: 5px; }
    .home-gallery__item figcaption { padding: 14px; }

    .home-review,
    .home-review--featured { padding: 23px 2px; border: 0; border-top: 1px solid #dce4e0; border-radius: 0; background: transparent; box-shadow: none; }
    .home-reviews__viewport { border-bottom: 1px solid #dce4e0; }
    .home-reviews__note { padding: 17px 0; border-width: 1px 0; border-radius: 0; background: transparent; }

    .home-crimea__grid { gap: 28px; }
    .home-crimea__grid > img { min-height: 285px; border-radius: 6px; }
    .home-request .request__grid { gap: 30px; }
    .home-lead-form { padding: 0; }
}
@media(max-width:1100px){.home-request .request__grid{grid-template-columns:1fr;gap:48px}.home-request .request__copy{max-width:650px}}

/* Detail polish: softer controls, clearer cards and premium directional links. */
.home-projects__filters {
    gap: 6px;
    padding: 6px;
    border-color: rgba(25, 58, 49, .13);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 14px 38px rgba(18, 52, 43, .07);
}
.home-projects__filters button {
    min-height: 40px;
    padding: 9px 17px;
    border-radius: 9px;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.home-projects__filters button.is-current {
    background: #183f34;
    color: #fff;
    box-shadow: 0 8px 19px rgba(15, 50, 41, .17);
}

.home-evidence .home-review,
.home-evidence .home-review--featured {
    border: 1px solid rgba(237, 194, 87, .32) !important;
    border-radius: 12px;
    box-shadow: 0 21px 50px rgba(4, 20, 15, .18), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.home-evidence .home-review--featured { border-color: rgba(255,255,255,.38) !important; }
.home-reviews__viewport { border-radius: 12px; }
.home-reviews__controls > button { border-radius: 50%; box-shadow: 0 9px 22px rgba(2, 14, 10, .16); }

.home-tech-card p { color: #1d2623; font-weight: 470; }
.home-tech-card__body > a {
    gap: 10px;
    min-height: 38px;
    padding-top: 17px;
    color: #102f27;
    font-size: 13px;
    font-weight: 800;
}
.home-tech-card__body > a b,
.home-price i b {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e2b64d;
    color: #17352c;
    font-size: 15px;
    font-style: normal;
    box-shadow: 0 8px 18px rgba(174, 127, 25, .18);
}

.project-card__view {
    min-height: 42px;
    padding-inline: 17px;
    border-radius: 9px;
    box-shadow: 0 9px 20px rgba(11, 51, 41, .16);
}

.home-direction-bar { padding-block: 10px; }
.home-direction-bar__grid { gap: 10px; }
.home-direction-bar a,
.home-direction-bar a:first-child,
.home-direction-bar a:nth-child(3) {
    min-height: 94px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
}
.home-direction-bar a:hover { border-color: rgba(224,181,77,.42); background: #21483e; }
.home-direction-bar a::after { display: none; }
.home-direction-bar a b {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(225,181,76,.15);
    color: #e6bd5c;
    font-size: 14px;
}

.home-price { border-radius: 12px; }
.home-price i { display: inline-flex; align-items: center; gap: 10px; }
.home-price i b { margin-left: 2px; }
.home-price--featured i b { background: #edc257; color: #14352c; }

.request__contacts { gap: 11px; }
.request__contacts .request-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
}
.request-contact-icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #d1a842;
    border-radius: 50%;
    background: #fffaf0;
    color: #8d650d;
    font-size: 15px;
    font-weight: 800;
    margin-top: 0 !important;
    color: #8d650d !important;
}
.page-request .request-contact-icon { border-color: rgba(226,182,77,.5); background: rgba(226,182,77,.1); color: #e2b64d !important; }

@media (max-width: 620px) {
    .home-projects__filters { gap: 5px; padding: 5px; border: 1px solid rgba(25,58,49,.12); border-radius: 12px; background: rgba(255,255,255,.78); }
    .home-projects__filters button { border: 0; border-radius: 8px; }
    .home-projects__filters button.is-current { background: #183f34; color: #fff; }
    .home-evidence .home-review,
    .home-evidence .home-review--featured { padding: 24px 20px; border-radius: 10px; }
    .home-reviews__viewport { border: 0; border-radius: 10px; }
    .home-direction-bar { padding-block: 9px; }
    .home-direction-bar__grid { gap: 8px; padding-inline: 14px; }
    .home-direction-bar a,
    .home-direction-bar a:first-child,
    .home-direction-bar a:nth-child(3) { width: 205px; min-height: 68px; padding: 13px 14px; border-radius: 9px; }
    .home-direction-bar a b { width: 28px; height: 28px; }
    .project-card__view { min-height: 40px; border-radius: 8px; }
    .request__contacts .request-contact-link { font-size: 15px; }
    .request-contact-icon { width: 34px; height: 34px; }
}

/* Technology CTAs stay visible and premium in every card. */
.home-tech-card__body { background: #fff; }
.home-tech-card__body > a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding: 8px 9px 8px 16px;
    border: 1px solid #173d32;
    border-radius: 10px;
    background: #173d32;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 11px 24px rgba(13, 53, 43, .16);
}
.home-tech-card__body > a:hover { border-color: #235647; background: #235647; }
.home-tech-card__body > a b { width: 30px; height: 30px; background: #e4b94f; color: #16372e; }

.home-reviews__note,
.home-evidence .home-reviews__note {
    border: 1px solid rgba(237, 194, 87, .28);
    border-radius: 12px;
    background: #12372e;
    box-shadow: 0 16px 38px rgba(3, 18, 13, .15), inset 0 1px 0 rgba(255,255,255,.04);
}

@media (max-width: 620px) {
    .home-tech-grid { gap: 22px; }
    .home-tech-card,
    .home-tech-card--wide {
        overflow: hidden;
        border: 1px solid rgba(20, 58, 48, .12);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 44px rgba(7, 35, 27, .12);
    }
    .home-tech-card__image,
    .home-tech-card--wide .home-tech-card__image {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 2.65;
        border-radius: 0;
    }
    .home-tech-card__body,
    .home-tech-card--wide .home-tech-card__body {
        min-height: 0;
        padding: 22px 20px 20px;
    }
    .home-tech-card__body > span { font-size: 9px; letter-spacing: 0; }
    .home-tech-card h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.3; }
    .home-tech-card p { font-size: 14px; line-height: 1.6; }
    .home-tech-card__body > a {
        width: 100%;
        min-height: 46px;
        margin-top: 18px;
        padding: 8px 9px 8px 15px;
        border-radius: 10px;
    }
    .home-reviews__note,
    .home-evidence .home-reviews__note { padding: 18px; border-width: 1px; border-radius: 10px; background: #12372e; }

    .home-gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 14px;
        padding-bottom: 4px;
    }
    .home-gallery__item,
    .home-gallery__item--large {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 2.65;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 12px;
        box-shadow: 0 16px 34px rgba(4, 25, 19, .2);
    }
    .home-gallery__item::after { inset: 24% 0 0; }
    .home-gallery__item figcaption {
        gap: 5px;
        padding: 24px 18px 18px;
    }
    .home-gallery__item figcaption span { font-size: 9px; }
    .home-gallery__item figcaption strong { font-size: 19px; line-height: 1.28; }
    .home-gallery__item figcaption small { font-size: 12px; line-height: 1.45; }
}
