/* ===== default_style.css ===== */
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline
}

:focus {
    outline: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

/*body {*/
/*    line-height: 1*/
/*}*/

blockquote, q {
    quotes: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-results-button, input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical
}

audio, canvas, video {
    display: inline-block;
    max-width: 100%
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden] {
    display: none
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

a:focus {
    outline: thin dotted
}

a:active, a:hover {
    outline: 0
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}

figure {
    margin: 0
}

form {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0;
    white-space: normal
}

button, input, select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 100%;
    margin: 0;
    vertical-align: baseline
}

button, input {
    line-height: normal
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

button, html, input, select, textarea {
    color: #222
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none
}

::selection {
    background: #b3d4fc;
    text-shadow: none
}

img {
    vertical-align: middle
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0
}

textarea {
    resize: vertical
}


/* ===== main_style.css ===== */
/* =========================
   Fonts
   ========================= */
@font-face {
    font-family: Heebo;
    src: url("../fonts/Heebo-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: Heebo;
    src: url("../fonts/Heebo-Bold.ttf");
    font-display: swap;
    font-weight: bold;
}

/* =========================
   Base / Reset
   ========================= */
:root {
    --ink: #111;
    --muted: rgba(17, 17, 17, .72);
    --bg: #ffffff;

    --hdr-bg: rgba(255, 255, 255, .88);
    --hdr-stroke: rgba(0, 0, 0, .08);
    --hdr-text: #111;
    --hdr-muted: rgba(17, 17, 17, .72);
    --hdr-brand: #8fb3a5;
    --hdr-shadow: 0 14px 30px rgba(0, 0, 0, .10);
    --hdr-r: 18px;

    --f-bg: rgba(255, 255, 255, .88);
    --f-stroke: rgba(0, 0, 0, .08);
    --f-text: #111;
    --f-muted: rgba(17, 17, 17, .72);
    --f-brand: #8fb3a5;
    --f-shadow: 0 16px 34px rgba(0, 0, 0, .10);
    --f-r: 22px;
}

* {
    box-sizing: border-box;
    text-decoration: none;
    font-family: Heebo, serif;
    transition: .3s;
    color: var(--ink);
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    color: var(--ink);
    line-height: initial;
    font-family: Heebo, serif;
    margin: 0;
    background: var(--bg);
}

pre {
    white-space: pre-wrap;
    margin: 0;
}

main {
    background-image: url("/images/bg_2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.no_bg_img{
    background-image: unset;
}

/* ===== shared_style.css ===== */
/* =========================
   Shared layout helpers
   ========================= */
.wrapper_container,
.container,
.page-shell__container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.page-shell__container--narrow {
    width: min(980px, calc(100% - 40px));
}

.wrapper_center,
.page-shell__center {
    /*padding: clamp(56px, 7vw, 110px) 20px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    margin: 10px 0 12px;
    text-align: center;
    /*font-size: clamp(24px, 3vw, 42px);*/
    line-height: 1.12;
    font-weight: 1000;
}

.section-title__title {
    display: block;
    margin: 0;
    font: inherit;
    line-height: 1.15;
}

.section-title__text {
    display: block;
    margin: 10px auto 0;
    max-width: 85ch;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.8;
    font-weight: 400;
}

.section-sub {
    margin: 0 auto 14px;
    max-width: 85ch;
    text-align: center;
    line-height: 1.8;
}

.card,
.surface-card {
    border-radius: 18px;
    overflow: hidden;
}

.surface-card--glass {
    background: rgba(255, 255, 255, .70);
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.surface-card--panel {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.surface-card--dark {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 20px 65px rgba(0, 0, 0, .35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =========================
   Shared reveal animation
   ========================= */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

.reveal--scale {
    transform: translateY(18px) scale(0.98);
}

.reveal--scale.is-in {
    transform: translateY(0) scale(1);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 550ms ease, transform 550ms ease;
}

.reveal-stagger.is-in > * {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > * {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* =========================
   Shared lightbox
   ========================= */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    z-index: 9999;
    padding: 24px;
    transition: opacity 240ms ease, background 240ms ease;
}

.gallery-lightbox.is-open {
    display: flex;
    opacity: 1;
    background: rgba(0, 0, 0, .86);
}

.gallery-lightbox__panel {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    transform: translateY(10px) scale(.98);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
    will-change: transform, opacity;
}

.gallery-lightbox.is-open .gallery-lightbox__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.gallery-lightbox__img {
    display: block;
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
    transition: opacity 220ms ease;
}

.gallery-lightbox__img.is-fading {
    opacity: 0;
}

.gallery-lightbox__btn,
.gallery-lightbox__close {
    position: absolute;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: .95;
    transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.gallery-lightbox__btn:hover,
.gallery-lightbox__close:hover {
    background: rgba(255, 255, 255, .22);
    opacity: 1;
}

.gallery-lightbox__btn:active,
.gallery-lightbox__close:active {
    transform: scale(.98);
}

.gallery-lightbox__btn {
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    line-height: 1;
}

.gallery-lightbox__btn--prev {
    right: -64px;
}

.gallery-lightbox__btn--next {
    left: -64px;
}

.gallery-lightbox__close {
    top: -56px;
    left: 0;
    font-size: 22px;
}

html[dir="rtl"] .gallery-lightbox__btn--next {
    left: -64px;
    right: auto;
}

html[dir="rtl"] .gallery-lightbox__btn--prev {
    right: -64px;
    left: auto;
}

@media (max-width: 700px) {
    html[dir="rtl"] .gallery-lightbox__btn--next {
        left: 12px;
    }

    html[dir="rtl"] .gallery-lightbox__btn--prev {
        right: 12px;
    }

    .gallery-lightbox__btn--prev {
        left: 12px;
        right: auto;
    }

    .gallery-lightbox__btn--next {
        right: 12px;
        left: auto;
    }

    .gallery-lightbox__close {
        top: 12px;
        left: 12px;
    }
}

/* =========================
   Shared page templates
   ========================= */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0 0 var(--r-lg, 26px) var(--r-lg, 26px);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: #000;
}

.page-hero__img {
    width: 100%;
    height: clamp(240px, 34vw, 500px);
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

.page--lighting .page-hero__img {
    object-position: top center;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    align-items: end;
    padding: 18px 0 22px;
    /*background: radial-gradient(900px 420px at 15% 25%, transparent, rgba(0, 0, 0, .35)),*/
    /*linear-gradient(to top, rgba(0, 0, 0, .72), transparent 55%);*/
    text-shadow: 2px 2px 5px black;
    font-weight: bold;
}

.page-hero__inner {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.page-hero__title {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(28px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 900;
}

.page-hero__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
    font-size: 1.05em;
}

.page-hero--stacked {
    overflow: visible;
    background: transparent;
    border-bottom: 0;
}

.page-hero--stacked .page-hero__overlay {
    position: static;
    inset: auto;
    z-index: auto;
    display: block;
    padding: 14px 0 0;
    background: none;
    text-shadow: none;
    font-weight: 400;
}

.page-hero--stacked .page-hero__overlay::before {
    display: none;
}

.page-hero--stacked .page-hero__inner {
    position: relative;
    z-index: 1;
    padding: 18px 22px 16px;
}

.page-hero--stacked .page-hero__title {
    color: white;
    text-align: center;
    text-shadow: none;
}

.page-hero--stacked .page-hero__subtitle {
    color:white;
    text-align: center;
    text-shadow: none;
}

.content-card {
    border-radius: var(--r-lg, 26px);
    overflow: hidden;
    background: rgba(255, 255, 255, .70);
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.content-card--dark {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 20px 65px rgba(0, 0, 0, .35);
}

.content-card__head {
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .60);
}

.content-card__title {
    margin: 0;
    color: var(--ink);
    font-size: 1.4em;
    font-weight: 1000;
}

.content-card__body {
    padding: 14px 16px 16px;
    display: grid;
    gap: 14px;
}

.content-card__desc p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05em;
    line-height: 1.85;
}

.gallery-frame__preview {
    position: relative;
    border-radius: var(--r-md, 18px);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    aspect-ratio: 16 / 10;
    background: rgba(0, 0, 0, .06);
    cursor: zoom-in;
    outline: none;
}

.gallery-frame__preview:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .75);
    outline-offset: 3px;
}

.gallery-frame__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .35s ease, filter .35s ease;
}

.gallery-frame__preview:hover img {
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.03);
}

.gallery-frame__zoom {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(0, 0, 0, .38);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .2s ease, background .2s ease;
}

.gallery-frame__zoom:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, .48);
}

.gallery-frame__zoom:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .75);
    outline-offset: 3px;
}

.gallery-frame__thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.gallery-frame__thumb {
    width: 100%;
    max-width: 72px;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .12);
    background: rgba(255, 255, 255, .75);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gallery-frame__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-frame__thumb:hover,
.gallery-frame__thumb.is-active {
    transform: translateY(-2px);
    border-color: rgba(143, 179, 165, .75);
    box-shadow: 0 16px 34px rgba(143, 179, 165, .18);
}

.gallery-frame__thumb:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .75);
    outline-offset: 3px;
}
/* ===== home_style.css ===== */
/* =========================
   HOME вЂ” isolated + premium
   requires: <main class="page page--home">
   ========================= */

.page--home {
    --bg: #0b1010;
    --stroke: rgba(255, 255, 255, .16);
    --glass: rgba(255, 255, 255, .10);
    --glass2: rgba(255, 255, 255, .08);

    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .74);

    --brand: #8fb3a5;
    --sand: #d0c9c0;

    --shadow: 0 20px 65px rgba(0, 0, 0, .50);
    --shadow2: 0 12px 30px rgba(0, 0, 0, .30);

    --r-lg: 28px;
    --r-md: 18px;

    background: transparent;
}

/* HOME: force dark canvas so white/glass UI is readable */
main.page--home {
    background:rgb(56, 69, 65) !important;
    /*background: #0b1010 !important;*/
    position: relative;
    overflow: hidden;
}

/* keep your bg image but darken it (optional) */
main.page--home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/images/bg_2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .22; /* <= Ч©Ч•ЧњЧ Ч›ЧћЧ” вЂњЧ”Ч“Ч¤ЧЎвЂќ ЧЁЧ•ЧђЧ™Чќ */
    filter: saturate(.9) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

/* lift content above background layer */
main.page--home > * {
    position: relative;
    z-index: 1;
}

/* make about text definitely visible */
.page--home .wrapper_title {
    color: rgba(255, 255, 255, .92) !important;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.page--home .wrapper_text {
    color: rgba(255, 255, 255, .78) !important;
}

/* ===== HERO WRAP ===== */
.page--home .hero.wrapper_container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.page--home .hero__media {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border-bottom: 1px solid var(--stroke);
    background: var(--bg);
    box-shadow: var(--shadow);
}

/* cinematic overlays */
.page--home .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 58%);
    pointer-events: none;
    z-index: 2;
}

/* ===== cover aspect ratios ===== */
.page--home .cover_strip {
    position: relative;
    aspect-ratio: 4 / 5;
}

@media (min-width: 600px) {
    .page--home .cover_strip {
        aspect-ratio: 1;
    }
}

@media (min-width: 768px) {
    .page--home .cover_strip {
        aspect-ratio: 16 / 5;
    }
}

/* ===== SLIDER ===== */
.page--home .cover_slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.page--home .cover_slider__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}

.page--home .cover_slider__item.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.page--home .cover_slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

/* Dots */
.page--home .cover_slider__dots {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    /*display: flex;*/
    gap: 10px;
    z-index: 3;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page--home .cover_slider__dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .60);
    transition: transform 160ms ease, background 160ms ease;
}

.page--home .cover_slider__dots .dot:hover {
    transform: scale(1.25);
}

.page--home .cover_slider__dots .dot.is-active {
    background: var(--brand);
    transform: scale(1.35);
}

.page--home .cover_slider__dots .dot:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .85);
    outline-offset: 3px;
}

/* ===== OVERLAY CONTENT ===== */
.page--home .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    pointer-events: none; /* allow slider hover to work, enable on inner content */
}

.page--home .hero__overlay .hero__content,
.page--home .hero__overlay .hero__brand {
    pointer-events: auto;
}

/* small logo pill (mobile) */
.page--home .hero__brand {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.page--home .hero__logo {
    display: block;
    height: 50px;
    width: auto;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .22))
            drop-shadow(0 1px 2px rgba(0, 0, 0, .12));
}

@media (min-width: 768px) {
    .page--home .hero__brand {
        display: none;
    }
}

/* content glass card */
.page--home .hero__content {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto 22px;
    padding: 18px;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(11, 16, 16, .34), rgba(11, 16, 16, .24));
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow2);
}

.page--home .hero__content,
.page--home .hero__content * {
    text-shadow: 0 2px 8px rgba(0, 0, 0, .52);
}

.page--home .hero__title {
    margin: 0 0 8px;
    color: var(--text);
    font-weight: 1000;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 1.1;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.page--home .hero__subtitle {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .58);
}

.page--home .hero__subtitle-main,
.page--home .hero__subtitle-sep {
    color: #fff;
    display: inline;
    padding: 0;
}

.page--home .hero__subtitle-tail {
    color: #fff;
    display: inline;
}

@media (max-width: 767px) {
    .page--home .hero__subtitle-sep {
        display: none;
    }

    .page--home .hero__subtitle-tail {
        display: block;
    }
}

/* ===== BUTTONS ===== */
.page--home .hero__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page--home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    position: relative;
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.page--home .btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms ease;
    background: radial-gradient(120px 60px at 30% 20%, rgba(255, 255, 255, .22), transparent 70%);
}

.page--home .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow2);
}

.page--home .btn:hover::after {
    opacity: 1;
}

.page--home .btn:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .9);
    outline-offset: 3px;
}

.page--home .btn--primary {
    background: linear-gradient(135deg, rgba(208, 201, 192, .95), rgba(143, 179, 165, .92));
    color: #10201d;
    border-color: rgba(255, 255, 255, .18);
}

.page--home .btn--ghost {
    background: rgba(255, 255, 255, .10);
    color: var(--text);
    border-color: rgba(255, 255, 255, .18);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

/* ===== ABOUT SECTION ===== */
.page--home .wrapper_center {
    padding: clamp(64px, 7vw, 110px) 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page--home .wrapper_title {
    font-size: clamp(28px, 4vw, 54px);
    letter-spacing: .2px;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .45);
    color: #fff;
}

.page--home .wrapper_text {
    max-width: 72ch;
    margin: 0 auto 26px;
    padding: clamp(16px, 2.2vw, 26px);
    line-height: 1.85;
    color: var(--muted);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow2);
}

/* ===== CATEGORIES ===== */
.page--home .about_strip_categories {
    width: 100%;
    max-width: 1100px;
    position: relative;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

.page--home .categories_logo_bg {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 0;
}

.page--home .categories_logo_bg img {
    opacity: .20;
    max-width: 600px;
    width: min(600px, 90%);
}

.page--home .categories__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    box-shadow: var(--shadow2);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    z-index: 1;
}

.page--home .categories__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.page--home .categories__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .74), rgba(0, 0, 0, .12));
    pointer-events: none;
    z-index: 2;
}

.page--home .categories__item::before {
    content: "";
    position: absolute;
    inset: -40%;
    transform: rotate(25deg) translateX(-30%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), transparent);
    opacity: 0;
    transition: opacity 260ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
    z-index: 3;
}

.page--home .categories__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(143, 179, 165, .35);
}

.page--home .categories__item:hover::before {
    opacity: 1;
    transform: rotate(25deg) translateX(30%);
}

.page--home .categories__item span {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 18px;
    text-align: center;
    color: #fff;
    font-weight: 1000;
    font-size: clamp(18px, 2vw, 26px);
    text-shadow: 0 10px 24px rgba(0, 0, 0, .55);
}

/* desktop grid */
@media (min-width: 768px) {
    .page--home .about_strip_categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        align-items: stretch;
    }

    .page--home .categories__item {
        aspect-ratio: 4 / 5;
    }

    .page--home .categories_logo_bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }
}

.page--home .reveal.is-in {
    text-align: center;
}

#services {
    scroll-margin-top: 90px;
}

/* ЧЄЧЄЧђЧ™Чќ ЧњЧ¤Ч™ Ч’Ч•Ч‘Ч” Ч”Ч”Ч“ЧЁ */

/* ===== airConditioner_style.css ===== */
/* =========================
   Shared page backgrounds
   ========================= */
main.page--air,
main.page--diffusers,
main.page--credits,
main.page--lighting,
main.page--accessibility,
main.page--gallery {
    background:rgb(56, 69, 65) !important;
    /*background: #0b1010 !important;*/
    position: relative;
    overflow: hidden;
}

main.page--air::before,
main.page--diffusers::before,
main.page--credits::before,
main.page--lighting::before,
main.page--accessibility::before,
main.page--gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/images/bg_2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: var(--print-opacity, .22);
    filter: saturate(.9) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

main.page--air > *,
main.page--diffusers > *,
main.page--credits > *,
main.page--lighting > *,
main.page--gallery > * {
    position: relative;
    z-index: 1;
}
/* container */
.page--air .air_container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

/* sections spacing */
.page--air .air_section {
    padding: 22px 0;
}

.page--air .air_stack {
    display: grid;
    gap: 18px;
}

/* NOTE */
.page--air .air_note {
    margin: 0;
    padding: 16px 16px;
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    overflow: hidden;
    background-clip: padding-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow2);
}

/* marquee */
.page--air .air_marquee {
    margin-top: 14px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    background-clip: padding-box;
    box-shadow: var(--shadow2);
}

.page--air .air_marquee__track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: air-marquee 200s linear infinite;
    will-change: transform;
}

.page--air .air_marquee__item {
    width: 160px;
    height: 110px;
    object-fit: contain;
    padding: 10px 6px;
}

@keyframes air-marquee {
    from {
        transform: translateX(80%);
    }
    to {
        transform: translateX(-50%);
    }
}

/* TOC (sticky bar) */
.page--air .air_toc {
    position: sticky;
    top: 82px; /* ЧђЧќ Ч”-header Ч©ЧњЧљ sticky, ЧЄЧЄЧђЧќ ЧњЧ’Ч•Ч‘Ч” Ч©ЧњЧ• */
    z-index: 50;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page--air .air_toc__inner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
}

.page--air .air_toc__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .92);
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.page--air .air_toc__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow2);
    border-color: rgba(143, 179, 165, .35);
}

.page--air .air_toc__item.is-active {
    background: linear-gradient(135deg, rgba(208, 201, 192, .92), rgba(143, 179, 165, .86));
    color: #0f1f1c;
    border-color: rgba(255, 255, 255, .22);
}

/* card grid */
.page--air .air_card__grid {
    padding: 14px 16px 16px;
    display: grid;
    gap: 14px;
}

.page--air .air_text {
    color: var(--muted);
    font-size: 1.05em;
    line-height: 1.8;
}

.page--air .air_text p {
    margin: 0 0 10px;
}

.page--air .air_text p:last-child {
    margin-bottom: 0;
}

/* media */
.page--air .air_media {
    margin: 0;
    border-radius: var(--r-md);
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .65);
    box-shadow: var(--shadow2);
    padding: 10px;
    display: grid;
    place-items: center;
}

.page--air .air_media img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* pros/cons */
.page--air .air_cols {
    display: grid;
    gap: 12px;
}

.page--air .air_col {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--r-md);
    box-shadow: var(--shadow2);
    padding: 14px;
}

.page--air .air_h3 {
    margin: 0 0 10px;
    font-size: 1.1em;
    font-weight: 1000;
    color: var(--ink);
}

/* IMPORTANT: list scoped (no white li globally!) */
.page--air .air_list {
    margin: 0;
    padding: 0 18px 0 0;
    color: rgba(17, 17, 17, .78);
    line-height: 1.7;
}

.page--air .air_list li {
    margin-bottom: 8px;
}

.page--air .air_list--tight li {
    margin-bottom: 6px;
}

/* examples */
.page--air .air_examples {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow2);
    padding: 14px;
}

.page--air .air_examples__grid {
    display: grid;
    gap: 12px;
}

.page--air .air_examples__block {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--r-md);
    padding: 12px;
}

.page--air .air_examples__title {
    margin: 0 0 8px;
    font-weight: 1000;
    color: var(--ink);
}

.page--air .air_examples__note {
    margin: 2px 0 0;
    color: rgba(17, 17, 17, .72);
    font-weight: 700;
}

/* Desktop layout */
@media (min-width: 900px) {
    .page--air .air_card__grid {
        grid-template-columns: 1.15fr .85fr;
        grid-template-areas:
      "text media"
      "cols cols"
      "ex   ex";
        align-items: start;
    }

    .page--air .air_text {
        grid-area: text;
    }

    .page--air .air_media {
        grid-area: media;
    }

    .page--air .air_cols {
        grid-area: cols;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .page--air .air_examples {
        grid-area: ex;
    }

    .page--air .air_examples__grid {
        grid-template-columns: 1fr 1fr;
    }

    .page--air .air_examples__note {
        grid-column: 1 / -1;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .page--air .air_toc__item,
    .page--air .air_marquee__track {
        transition: none !important;
        animation: none !important;
    }
}

/* Section title block */
.air_sectionTitle {
    text-align: center;
    margin: 10px 0 26px;
    padding: 0 8px;
}

.air_sectionTitle__h {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    color: white;
}

/* decorative line under title */
.air_sectionTitle__h::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.18;
}

/* subtitle */
.air_sectionTitle__p {
    margin: 10px auto 0;
    max-width: 60ch;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.75;
    color: white;
}

/* spacing tweak if it sits right before cards */
.air_stack > .air_card:first-child {
    margin-top: 0;
}

/* ===== diffusersGrilles_style.css ===== */

/* =========================
   Grid wrapper
   ========================= */
.page--diffusers .dg_grid {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 18px;
    padding: 22px 0 40px;
}

@media (min-width: 900px) {
    .page--diffusers .dg_card__body {
        grid-template-columns: 1.15fr .85fr;
        align-items: start;
    }
}

/* ===== credits_style.css ===== */
/* =========================
   CREDITS PAGE вЂ” isolated + premium
   Requires: <main class="page page--credits">
   ========================= */

.page--credits {
    --bg: #0b1010;
    --glass: rgba(255, 255, 255, .70);
    --glass2: rgba(255, 255, 255, .55);
    --stroke: rgba(0, 0, 0, .08);
    --ink: #111;
    --muted: rgba(17, 17, 17, .72);
    --brand: #8fb3a5;
    --shadow: 0 18px 45px rgba(0, 0, 0, .10);
    --shadow2: 0 10px 26px rgba(0, 0, 0, .08);
    --r-lg: 28px;
    --r-md: 18px;
}


/* Center spacing */
.page--credits .wrapper_center {
    /*padding: clamp(56px, 7vw, 110px) 20px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page--credits > section:first-child .wrapper_center {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.page--credits > section:first-child .credits__title,
.page--credits > section:first-child .credits__subtitle {
    margin-top: 0 !important;
}

main.page--credits > section:first-child {
    /*margin-top: -18px !important;*/
    padding: clamp(56px, 7vw, 110px) 20px;
    position: relative;
    /*top: -18px;*/
}

/* Main card */
.page--credits .credits {
    width: min(1050px, 100%);
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 65px rgba(0, 0, 0, .35);
    padding: clamp(18px, 3vw, 34px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Title + subtitle */
.page--credits .credits__title {
    margin: 0 0 8px;
    text-align: center;
    font-size: clamp(28px, 4vw, 54px);
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 12px 28px rgba(0, 0, 0, .45);
    letter-spacing: .2px;
    font-weight: 1000;
}

.page--credits .credits__subtitle {
    margin: 0 auto 18px;
    text-align: center;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
}

/* Grid */
.page--credits .credits__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    margin-top: 10px;
}

/* Card */
.page--credits .credits__card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--r-md);
    padding: 16px 16px;
    box-shadow: var(--shadow2);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
    position: relative;
    overflow: hidden;
}

/* subtle shine */
.page--credits .credits__card::before {
    content: "";
    position: absolute;
    inset: -40%;
    transform: rotate(25deg) translateX(-30%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
    opacity: 0;
    transition: opacity 260ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}

.page--credits .credits__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(143, 179, 165, .35);
    background: rgba(255, 255, 255, .92);
}

.page--credits .credits__card:hover::before {
    opacity: 1;
    transform: rotate(25deg) translateX(30%);
}

.page--credits .credits__card:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .75);
    outline-offset: 3px;
}

/* Text inside */
.page--credits .credits__name {
    display: block;
    font-weight: 1000;
    font-size: 1.15em;
    color: var(--ink);
}

.page--credits .credits__role {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 1em;
    font-weight: 700;
}

/* Desktop grid */
@media (min-width: 768px) {
    .page--credits .credits__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .page--credits .credits__card,
    .page--credits .credits__card::before {
        transition: none !important;
    }
}

/* ===== lighting_style.css ===== */

main.page--lighting {
    min-height: 100vh;
}

/* =========================
   Grid wrapper
   ========================= */
.page--lighting .lighting_grid {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 18px;
    padding: 22px 0 40px;
}

@media (min-width: 900px) {
    .page--lighting .lighting_card__body {
        grid-template-columns: 1.15fr .85fr;
        align-items: start;
    }
}

/* ===== accessibility_style.css ===== */

/* ===== Accessibility Page ===== */
.a11y_page {
    padding: 26px 0 60px;
}

.a11y_container {
    max-width: 980px;
}

.a11y_header {
    margin-bottom: 18px;
}

.a11y_title {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
}

.a11y_subtitle {
    margin: 0 0 14px;
    max-width: 85ch;
    opacity: .85;
    font-size: 15px;
    line-height: 1.95;
}

.a11y_meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.a11y_metaItem {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(8px);
    font-size: 13px;
}

.a11y_metaItem strong {
    font-weight: 800;
}

.a11y_card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.a11y_block {
    padding: 14px 0;
}

.a11y_block + .a11y_block {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.a11y_h {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 900;
}

.a11y_p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 2;
    opacity: .92;
}

.a11y_list {
    margin: 0;
    padding: 0 18px 0 0;
    display: grid;
    gap: 6px;
    font-size: 14px;
    line-height: 1.9;
}

.a11y_list li {
    opacity: .95;
}

.a11y_list--twoCol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.a11y_note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.85;
    opacity: .8;
}

.a11y_contactGrid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.a11y_contactItem {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .02);
    font-size: 13px;
}

.a11y_contactItem strong {
    font-weight: 900;
}

.a11y_footer {
    border-top: 1px solid rgba(0, 0, 0, .08);
    margin-top: 12px;
    padding-top: 12px;
}

.a11y_small {
    margin: 0;
    font-size: 12.5px;
    opacity: .75;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 760px) {
    .a11y_meta {
        grid-template-columns: 1fr;
    }

    .a11y_contactGrid {
        grid-template-columns: 1fr;
    }

    .a11y_list--twoCol {
        grid-template-columns: 1fr;
    }
}

/* ===== gallery_style.css ===== */
/* =========================
   GALLERY PAGE вЂ” isolated + premium
   Requires: <main class="page page--gallery">
   ========================= */

.page--gallery {
    --bg: #0b1010;
    --glass: rgba(255, 255, 255, .08);
    --stroke: rgba(255, 255, 255, .14);
    --shadow: 0 18px 55px rgba(0, 0, 0, .35);
    --shadow2: 0 10px 26px rgba(0, 0, 0, .24);
    --r-lg: 28px;
    --r-md: 18px;

    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .78);
    --brand: #8fb3a5;
}


main.page--gallery > section:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
    position: relative;
    /*top: -18px;*/
}

main.page--gallery > section:first-child .solution_title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

main.page--gallery > section:first-child .solution_title h1,
main.page--gallery > section:first-child .page_subtitle {
    margin-top: 0 !important;
}

/* Title polish */
main.page--gallery .solution_title h1 {
    margin: auto;
    padding: 10px 18px;
    width: min(920px, calc(100% - 40px));
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    font-weight: 1000;
    font-size: clamp(28px, 4vw, 54px);
    text-align: center;
}

main.page--gallery .page_subtitle {
    margin: 12px auto 0;
    color: var(--muted);
    text-align: center;
    width: min(900px, calc(100% - 40px));
    line-height: 1.7;
    font-size: 1.05em;
}

/* Stack */
main.page--gallery .solution_strip {
    padding: 34px 0 70px;
}

main.page--gallery .gallery_stack {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

/* Each gallery block as premium вЂњcardвЂќ
   IMPORTANT: override global .gallery { display:grid; ... } */
main.page--gallery .gallery {
    margin: 20px auto;
    padding: 14px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;

    display: block; /* <-- overrides the global .gallery grid */
    max-width: none; /* <-- overrides global max-width if exists */
}

/* Layout (scoped, so global .top/.bottom won't mess other pages) */
main.page--gallery .top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    align-items: stretch;
}

main.page--gallery .top .big {
    grid-row: 1 / span 2;
    aspect-ratio: 16 / 9;
}

main.page--gallery .top .big.for {
    grid-row: 1 / span 1;
}

main.page--gallery .top .small,
main.page--gallery .top .small-big {
    aspect-ratio: 16 / 9;
}

main.page--gallery .bottom {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

main.page--gallery .bottom figure {
    aspect-ratio: 21 / 9;
}

/* Tiles */
main.page--gallery .gallery figure {
    margin: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .20);
    position: relative;
    cursor: zoom-in;
    outline: none;
}

main.page--gallery .gallery figure:focus-visible {
    outline: 3px solid rgba(143, 179, 165, .75);
    outline-offset: 3px;
}

/* images */
main.page--gallery .gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform .35s ease, filter .35s ease;
    will-change: transform;
}

/* hover depth */
main.page--gallery .gallery figure:hover img {
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.03);
}

main.page--gallery .gallery figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

main.page--gallery .gallery figure:hover::after {
    opacity: 1;
}

/* Mobile */
@media (max-width: 900px) {
    main.page--gallery .gallery {
        padding: 12px;
    }

    main.page--gallery .top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    main.page--gallery .top .big {
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    main.page--gallery .bottom {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    main.page--gallery .bottom figure {
        aspect-ratio: 16 / 10;
    }
}

/* =========================
   Projects page
   ========================= */

.page--projects {
    --bg: #0b1010;
    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .78);
}

main.page--projects > section:first-child {
    padding-top: 26px !important;
    margin-top: 0 !important;
    position: relative;
}

main.page--projects .solution_title {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

main.page--projects .solution_title h1 {
    margin: 0;
    padding: 0;
    width: auto;
    border-radius: 0;
    color: #111827;
    font-weight: 1000;
    font-size: clamp(34px, 4vw, 58px);
    text-align: center;
    line-height: 1.05;
}

main.page--projects .page_subtitle {
    margin: 14px auto 0;
    color: #64748b;
    text-align: center;
    width: auto;
    max-width: 900px;
    line-height: 1.6;
    font-size: 1.1rem;
}

main.page--projects .solution_strip {
    padding: 34px 0 70px;
}

main.page--projects .projects_grid {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

main.page--projects .project_card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    z-index: 1;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

main.page--projects .project_card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

main.page--projects .project_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
    border-color: rgba(15, 23, 42, .16);
}

main.page--projects .project_card:focus-visible {
    outline: 3px solid rgba(59, 130, 246, .35);
    outline-offset: 3px;
}

main.page--projects .project_card__content {
    width: 100%;
    padding: 16px 20px 22px;
    text-align: center;
    color: #111827;
}

main.page--projects .project_card__content h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 1000;
    line-height: 1.2;
}

main.page--projects .project_card__content p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 900px) {
    main.page--projects > section:first-child {
        padding-top: 20px !important;
    }

    main.page--projects .solution_title {
        width: min(100%, calc(100% - 28px));
    }

    main.page--projects .solution_title h1 {
        font-size: clamp(28px, 5vw, 42px);
    }

    main.page--projects .page_subtitle {
        max-width: 760px;
        font-size: 1rem;
    }

    main.page--projects .solution_strip {
        padding: 26px 0 60px;
    }

    main.page--projects .projects_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: min(100%, calc(100% - 28px));
    }

    main.page--projects .project_card__content {
        padding: 14px 16px 18px;
    }

    main.page--projects .project_card__content h2 {
        font-size: 1.2rem;
    }

    main.page--projects .project_card__content p {
        font-size: .96rem;
    }
}

@media (max-width: 640px) {
    main.page--projects > section:first-child {
        padding-top: 16px !important;
    }

    main.page--projects .solution_title {
        width: min(100%, calc(100% - 20px));
    }

    main.page--projects .solution_title h1 {
        font-size: 26px;
        line-height: 1.12;
    }

    main.page--projects .page_subtitle {
        max-width: none;
        font-size: .95rem;
        line-height: 1.55;
    }

    main.page--projects .solution_strip {
        padding: 22px 0 52px;
    }

    main.page--projects .projects_grid {
        grid-template-columns: 1fr;
        gap: 14px;
        width: min(100%, calc(100% - 20px));
    }

    main.page--projects .project_card {
        border-radius: 18px;
    }

    main.page--projects .project_card__img {
        aspect-ratio: 16 / 10;
    }

    main.page--projects .project_card__content {
        padding: 12px 14px 16px;
    }

    main.page--projects .project_card__content h2 {
        margin-bottom: 8px;
        font-size: 1.08rem;
    }

    main.page--projects .project_card__content p {
        font-size: .92rem;
        line-height: 1.5;
    }
}

/* =========================
   Single project page
   ========================= */

main.page--project > section:first-child {
    padding-top: 26px !important;
    margin-top: 0 !important;
}

main.page--project .solution_title {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

main.page--project .solution_title h1 {
    margin: 0;
    padding: 0;
    width: auto;
    color: #111827;
    font-weight: 1000;
    font-size: clamp(34px, 4vw, 58px);
    text-align: center;
    line-height: 1.05;
}

main.page--project .page_subtitle {
    margin: 14px auto 0;
    color: #64748b;
    text-align: center;
    width: auto;
    max-width: 900px;
    line-height: 1.6;
    font-size: 1.1rem;
}

main.page--project .project_back_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

main.page--project .project_back_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
    border-color: rgba(15, 23, 42, .18);
}

main.page--project .solution_strip {
    padding: 28px 0 72px;
}

main.page--project .project_back_wrap {
    display: flex;
    justify-content: center;
    padding: 0 0 40px;
}

main.page--project .project_gallery {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

main.page--project .project_gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    background: #fff;
    cursor: zoom-in;
    outline: none;
    aspect-ratio: 4 / 3;
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

main.page--project .project_gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
    border-color: rgba(15, 23, 42, .16);
}

main.page--project .project_gallery__item:focus-visible {
    outline: 3px solid rgba(59, 130, 246, .35);
    outline-offset: 3px;
}

main.page--project .project_gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1100px) {
    main.page--project .project_gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        width: min(100%, calc(100% - 28px));
    }
}

@media (max-width: 780px) {
    main.page--project .project_gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    main.page--project .solution_title h1 {
        font-size: clamp(28px, 5vw, 42px);
    }

    main.page--project .page_subtitle {
        font-size: 1rem;
    }

    main.page--project .project_back_btn {
        margin-top: 16px;
        padding: 11px 16px;
    }
}

@media (max-width: 520px) {
    main.page--project .solution_title {
        width: min(100%, calc(100% - 20px));
    }

    main.page--project .project_gallery {
        grid-template-columns: 1fr;
        gap: 14px;
        width: min(100%, calc(100% - 20px));
    }

    main.page--project .project_gallery__item {
        border-radius: 18px;
        aspect-ratio: unset;
    }

    main.page--project .project_gallery__item img {
        height: auto;
        aspect-ratio: auto;
    }

    main.page--project .project_back_btn {
        width: 100%;
        max-width: 240px;
    }
}

