/***** GLOBAL *****/

/* fonts */
@font-face {
    font-family: "Google Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../vendor/fonts/google-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Google Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../vendor/fonts/google-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --main-color: #c89972;
    --main-text-color: #191d1a;
    --second-color: #191d1a;
    --second-text-color: #f0eee6;
    --third-color: #242a25;
    --third-text-color: #f0eee6;
    --soft-color: #202620;
    --accent-color: #e0b58e;
    --accent-text-color: #191d1a;
    --muted-text-color: #a9afa6;
    --border-color: #3a4139;
    --base-font: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius: 3px;
    --radius-sm: 2px;
    --header-height: 96px;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.3);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --transition: 0.3s ease;
}

/* base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    overflow-x: clip;
    font-family: var(--base-font);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.011em;
    color: var(--second-text-color);
    background: var(--second-color);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.container {
    max-width: 1400px;
    padding-left: 25px;
    padding-right: 25px;
}

/* typography */
h1, h2, h3, h4, h5, h6,
.heading {
    margin-bottom: 0.5em;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

h1 { font-size: clamp(2.5rem, 4.6vw, 3.4375rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -0.03em; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
}

.lead {
    max-width: 620px;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.55;
    color: var(--muted-text-color);
}

.eyebrow { margin-bottom: 28px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--main-color); }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid currentColor; font-size: 0.875rem; text-decoration: none; }
.text-link:hover { color: var(--main-color); gap: 25px; }
.text-link svg, .t-btn > svg { width: 18px; height: 18px; flex-shrink: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--main-color); outline-offset: 5px; }

/* buttons */
.t-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 11px 21px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.t-btn:hover {
    transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .t-btn::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .22) 50%, transparent 80%);
        transform: translateX(-150%);
        transition: transform .65s var(--ease);
    }
    .t-btn:hover::after { transform: translateX(150%); }
    .t-btn .lucide-arrow-up-right, .text-link .lucide-arrow-up-right { transition: transform .4s var(--ease); }
    .t-btn:hover .lucide-arrow-up-right, .text-link:hover .lucide-arrow-up-right { transform: translate(2px, -2px); }
}

.t-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.t-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.2em;
    height: 1.2em;
    background: transparent;
}

.t-btn .icon svg {
    width: 1em;
    height: 1em;
}

.t-btn.theme {
    background: var(--main-color);
    color: var(--main-text-color);
    border-color: var(--main-color);
}

.t-btn.theme:hover,
.t-btn.theme:focus-visible {
    background: var(--accent-color);
    color: var(--accent-text-color);
    border-color: var(--accent-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    color: var(--second-text-color);
    border-color: var(--second-color);
}

.t-btn.theme2:hover,
.t-btn.theme2:focus-visible {
    background: var(--accent-color);
    color: var(--accent-text-color);
    border-color: var(--accent-color);
}

.t-btn.theme3 {
    background: var(--third-color);
    color: var(--third-text-color);
    border-color: var(--third-color);
}

.t-btn.theme3:hover,
.t-btn.theme3:focus-visible {
    background: var(--main-color);
    color: var(--main-text-color);
    border-color: var(--main-color);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* sections */
.intro-section {
    padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
}

.intro-section .heading {
    max-width: 980px;
}

.intro-section .lead {
    margin-bottom: 0;
}

/* realizacia card */
.realizacia-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--second-color);
    color: var(--second-text-color);
}

.realizacia-card .specs {
    margin: 16px 0 0;
}

.realizacia-card .spec {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.realizacia-card .spec .label {
    font-weight: 400;
    color: var(--muted-text-color);
}

.realizacia-card .spec .value {
    margin: 0;
    font-weight: 500;
    text-align: right;
}

.realizacia-card .image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.realizacia-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.realizacia-card:hover .image img {
    transform: scale(1.05);
}

.realizacia-card .content {
    padding: 24px;
}

.realizacia-card .title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.15;
}

.realizacia-card .link {
    text-decoration: none;
}

.realizacia-card .link:focus-visible {
    outline: 0;
}

.realizacia-card .link:focus-visible::after {
    border-radius: var(--radius);
    outline: 2px solid var(--accent-color);
    outline-offset: -4px;
}

.realizacia-card .icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--third-color);
    color: var(--third-text-color);
    transition: var(--transition);
}

.realizacia-card:hover .icon {
    background: var(--main-color);
    color: var(--main-text-color);
}

.realizacia-card .icon svg {
    width: 16px;
    height: 16px;
}

.realizacia-card .text {
    margin: 0;
    color: var(--muted-text-color);
}

/* reveal */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .t-btn:hover { transform: none; }
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    .realizacia-card:hover .image img,
    .home-page .products-section .item:hover img { transform: none; }
}


/***** HEADER *****/

/* header */
.header {
    position: sticky;
    top: 0;
    z-index: 1030;
    color: var(--second-text-color);
    transition: var(--transition);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--second-color) 96%, transparent);
    border-bottom: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.header.scrolled::before {
    border-bottom-color: var(--border-color);
}

.header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
}

/* reading progress */
.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
    pointer-events: none;
}

/* logo */
.header .logo {
    flex-shrink: 0;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.header .logo img {
    width: 232px;
    height: auto;
}

/* navigation */
.header .navigation .list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .navigation .link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: inherit;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
}

.header .navigation .link:hover,
.header .navigation .link.active,
.header .navigation .link[aria-expanded="true"] {
    background: var(--third-color);
}

.header .navigation .link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.header .navigation .link[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.header .navigation .dropdown-toggle::after {
    display: none;
}

.header .dropdown-menu {
    min-width: 220px;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--second-color);
    box-shadow: var(--shadow);
}

.header .dropdown-item {
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--second-text-color);
    font-size: 1.125rem;
    font-weight: 500;
}

.header .dropdown-item:hover,
.header .dropdown-item:focus,
.header .dropdown-item.active {
    background: var(--third-color);
    color: var(--third-text-color);
}

/* actions */
.header .actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .menu-toggle,
.header .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--main-color);
    color: var(--main-text-color);
    transition: var(--transition);
}

.header .menu-close {
    background: var(--third-color);
    color: var(--third-text-color);
}

.header .menu-toggle:hover,
.header .menu-close:hover {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.header .menu-toggle:focus-visible,
.header .menu-close:focus-visible,
.header .navigation .link:focus-visible,
.header .dropdown-item:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* offcanvas */
.header .offcanvas {
    background: var(--second-color);
    color: var(--second-text-color);
}

.header .offcanvas-header {
    justify-content: space-between;
    padding: 16px 25px;
}

.header .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 12px 25px 32px;
}

.header .offcanvas .label {
    margin: 18px 0 6px;
    color: var(--muted-text-color);
    font-size: 0.8125rem;
    font-weight: 500;
}

.header .offcanvas .navigation .list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.header .offcanvas .navigation .link {
    display: block;
    padding: 10px 0;
    border-radius: 0;
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.header .offcanvas .navigation .link:hover,
.header .offcanvas .navigation .link.active {
    background: transparent;
    color: var(--accent-color);
}


/***** HOME *****/

/* hero */
.home-page .hero-section { padding: 32px 0 42px; }
.home-page .hero-section .layout { display: grid; grid-template-columns: 0.95fr 1.05fr; min-height: 620px; }
.home-page .hero-section .content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 50px 45px 35px 0; }
.home-page .hero-section .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.home-page .hero-section .eyebrow span { width: 6px; height: 6px; background: var(--main-color); border-radius: 50%; }
.home-page .hero-section .heading { margin-bottom: 28px; font-size: clamp(3.5rem, 5.8vw, 5.8rem); line-height: 1.02; letter-spacing: -0.065em; }
.home-page .hero-section .heading .accent { color: var(--main-color); font-size: inherit; letter-spacing: -0.04em; }
.home-page .hero-section .text { max-width: 380px; margin-bottom: 32px; color: var(--muted-text-color); font-size: 1rem; line-height: 1.8; }
.home-page .hero-section .buttons { align-items: center; gap: 24px; }
.home-page .hero-section .signature { display: flex; align-items: center; gap: 14px; margin-top: 64px; color: var(--muted-text-color); font-size: 0.7rem; }
.home-page .hero-section .line { width: 36px; height: 1px; background: var(--main-color); }
.home-page .hero-section .visual { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.home-page .hero-section .image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 47% center; }
.home-page .hero-section .visual::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.home-page .hero-section figcaption { position: absolute; z-index: 1; bottom: 28px; left: 28px; display: grid; gap: 7px; color: var(--second-text-color); font-size: 0.875rem; }
.home-page .hero-section figcaption span:last-child { font-size: 0.6rem; text-transform: uppercase; letter-spacing: .15em; opacity: .7; }
.home-page .hero-section .photo-link { position: absolute; z-index: 2; right: 25px; bottom: 25px; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); color: var(--second-text-color); }
.home-page .hero-section .photo-link:hover { background: var(--main-color); color: var(--main-text-color); border-color: var(--main-color); }

/* entrance */
@keyframes entrance {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes photo-entrance {
    from { opacity: 0; clip-path: inset(0 0 9% 0); }
    to { opacity: 1; clip-path: inset(0); }
}
@keyframes photo-zoom {
    from { transform: translateY(var(--parallax, 0px)) scale(1.14); }
    to { transform: translateY(var(--parallax, 0px)) scale(1.07); }
}
@media (prefers-reduced-motion: no-preference) {
    .js .home-page .hero-section .content > * { animation: entrance 1s var(--ease) both; }
    .js .home-page .hero-section .heading { animation-delay: .1s; }
    .js .home-page .hero-section .text { animation-delay: .2s; }
    .js .home-page .hero-section .buttons { animation-delay: .3s; }
    .js .home-page .hero-section .signature { animation-delay: .4s; }
    .js .home-page .hero-section .visual { animation: photo-entrance 1.3s var(--ease) both; }
    .js .home-page .hero-section figcaption { animation: entrance 1s .6s var(--ease) both; }
    .js .home-page .hero-section .image { transform: translateY(var(--parallax, 0px)) scale(1.07); animation: photo-zoom 2s var(--ease); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .home-page .products-section .arrow { transition: background .4s var(--ease), color .4s var(--ease); }
    .home-page .products-section .arrow svg { transition: transform .4s var(--ease); }
    .home-page .products-section .item:hover .arrow { background: var(--main-color); color: var(--main-text-color); }
    .home-page .products-section .item:hover .arrow svg { transform: translate(2px, -2px); }
    .home-page .craft-section .visual::before { transition: border-color .7s var(--ease), transform .7s var(--ease); }
    .home-page .craft-section .visual:hover::before { border-color: var(--main-color); transform: translate(5px, 5px); }
}

/* facts */
.home-page .facts-section { padding: 0 0 40px; }
.home-page .facts-section .list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-color); padding-top: 32px; }
.home-page .facts-section .item { display: flex; align-items: center; gap: 18px; padding: 0 25px; border-right: 1px solid var(--border-color); }
.home-page .facts-section .item:first-child { padding-left: 0; }
.home-page .facts-section .item:last-child { border: 0; }
.home-page .facts-section .item > svg { width: 25px; height: 25px; color: var(--main-color); stroke-width: 1.2; flex-shrink: 0; }
.home-page .facts-section strong { display: block; font-size: .875rem; font-weight: 400; }
.home-page .facts-section .item span { display: block; font-size: .75rem; color: var(--muted-text-color); margin-top: 3px; }

/* products */
.home-page .products-section { padding: 100px 0 50px; color: var(--second-text-color); background: var(--soft-color); }
.home-page .products-section .top, .home-page .projects-section .top { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 50px; }
.home-page .products-section .eyebrow { color: var(--main-color); }
.home-page .products-section .heading, .home-page .craft-section .heading, .home-page .projects-section .heading { margin: 0; font-size: clamp(2.8rem, 4vw, 4rem); }
.home-page .products-section .heading .accent, .home-page .projects-section .heading .accent { font-size: inherit; }
.home-page .products-section .top > .text { max-width: 330px; color: var(--muted-text-color); font-size: .9375rem; margin: 0 0 5px; }
.home-page .products-section .item { position: relative; }
.home-page .products-section .photo { position: relative; overflow: hidden; }
.home-page .products-section .photo img { width: 100%; aspect-ratio: 1.65; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .home-page .products-section .item:hover img { transform: scale(1.035); }
}
.home-page .products-section .number { position: absolute; top: 20px; left: 20px; font-size: .75rem; padding: 7px 12px; color: var(--second-text-color); background: var(--second-color); }
.home-page .products-section .arrow { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--second-color); }
.home-page .products-section .body { display: grid; grid-template-columns: .75fr 1fr; gap: 20px; padding: 25px 0 12px; }
.home-page .products-section .title { font-size: 1.75rem; }
.home-page .products-section .title a { text-decoration: none; }
.home-page .products-section .body .text { font-size: .8125rem; color: var(--muted-text-color); margin: 0; line-height: 1.8; }
.home-page .products-section .note { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--border-color); font-size: .875rem; }
.home-page .products-section .text-link:hover { color: var(--main-color); }

/* craft */
.home-page .craft-section { padding: 110px 0; }
.home-page .craft-section .visual { position: relative; margin: 0; padding: 0 45px 25px 0; }
.home-page .craft-section .visual::before { content: ""; position: absolute; top: 45px; left: 45px; right: 0; bottom: 0; border: 1px solid var(--border-color); }
.home-page .craft-section .image { position: relative; width: 100%; height: 570px; object-fit: cover; }
.home-page .craft-section figcaption { position: relative; font-size: .6875rem; padding-top: 18px; color: var(--muted-text-color); }
.home-page .craft-section .heading { margin-bottom: 28px; }
.home-page .craft-section .heading .accent { color: var(--main-color); font-size: inherit; }
.home-page .craft-section .text { color: var(--muted-text-color); font-size: .9375rem; line-height: 1.85; }
.home-page .craft-section .text-link { margin-top: 15px; }
.home-page .craft-section .experience { display: flex; align-items: center; gap: 25px; margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--border-color); }
.home-page .craft-section .experience strong { font-size: 5.5rem; font-weight: 400; letter-spacing: -.08em; line-height: 1; }
.home-page .craft-section .experience strong span { font-size: 3rem; color: var(--main-color); vertical-align: top; }
.home-page .craft-section .experience > span { color: var(--muted-text-color); font-size: .8125rem; }

/* projects */
.home-page .projects-section { padding: 20px 0 100px; }
.home-page .projects-section .realizacia-card { border: 0; border-radius: 0; background: transparent; }
.home-page .projects-section .realizacia-card .image { aspect-ratio: 1.35; }
.home-page .projects-section .realizacia-card .content { padding: 25px 0 0; }
.home-page .projects-section .realizacia-card .title { font-size: 1.5rem; font-weight: 400; }
.home-page .projects-section .realizacia-card .icon { background: transparent; color: var(--main-color); }

/* process */
:is(.home-page, .service-page) .process-section {
    padding: clamp(64px, 8vw, 110px) 0;
    background: var(--soft-color);
    color: var(--second-text-color);
    border-block: 1px solid var(--border-color);
}
:is(.home-page, .service-page) .process-section .top { margin-bottom: 60px; }
:is(.home-page, .service-page) .process-section .eyebrow { margin-bottom: 20px; }
:is(.home-page, .service-page) .process-section .heading { max-width: 660px; margin: 0; font-size: clamp(2.25rem, 3.7vw, 3.5rem); }
:is(.home-page, .service-page) .process-section .text { margin: 0; font-size: .9375rem; line-height: 1.8; color: var(--muted-text-color); }
:is(.home-page, .service-page) .process-section .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
:is(.home-page, .service-page) .process-section .item { position: relative; padding-top: 28px; border-top: 1px solid var(--border-color); }
:is(.home-page, .service-page) .process-section .item::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--main-color); transform-origin: left; transition: transform .8s var(--ease); }
:is(.home-page, .service-page) .process-section .marker { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
:is(.home-page, .service-page) .process-section .number { color: var(--main-color); font-size: 3.5rem; letter-spacing: -.06em; line-height: 1; font-weight: 400; }
:is(.home-page, .service-page) .process-section .marker svg { width: 24px; height: 24px; color: var(--muted-text-color); stroke-width: 1.2; }
:is(.home-page, .service-page) .process-section .title { font-size: 1.25rem; margin-bottom: 16px; }
:is(.home-page, .service-page) .process-section .item .text { font-size: .875rem; }
:is(.home-page, .service-page) .process-section .bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--border-color); }
@media (prefers-reduced-motion: no-preference) {
    .js :is(.home-page, .service-page) .process-section .item:not(.visible)::before { transform: scaleX(0); }
}
@media (max-width: 991.98px) {
    :is(.home-page, .service-page) .process-section .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
    :is(.home-page, .service-page) .process-section .top { margin-bottom: 40px; }
}
@media (max-width: 575.98px) {
    :is(.home-page, .service-page) .process-section .steps { grid-template-columns: 1fr; gap: 32px; }
    :is(.home-page, .service-page) .process-section .marker { margin-bottom: 22px; }
    :is(.home-page, .service-page) .process-section .number { font-size: 2.75rem; }
    :is(.home-page, .service-page) .process-section .bottom { margin-top: 35px; }
}

@media (max-width: 1199.98px) {
    .home-page .hero-section .buttons { gap: 12px; }
    .home-page .hero-section .layout { min-height: 580px; }
    .home-page .hero-section .content { padding-right: 25px; }
    .header .inner { gap: 12px; }
    .header .navigation .link { padding: 10px 8px; font-size: .8125rem; }
    .header .logo img { width: 190px; }
    .header .actions .t-btn { font-size: .75rem; }
}
@media (max-width: 991.98px) {
    :root { --header-height: 78px; }
    .home-page .hero-section .layout { grid-template-columns: 1fr 1fr; min-height: 560px; }
    .home-page .hero-section .heading { font-size: 3.6rem; }
    .home-page .hero-section .eyebrow { font-size: .56rem; }
    .home-page .hero-section .signature { margin-top: 36px; font-size: .625rem; }
    .home-page .facts-section .item { padding: 0 14px; gap: 10px; }
    .home-page .facts-section .item span { font-size: .625rem; }
    .home-page .facts-section strong { font-size: .75rem; }
    .home-page .craft-section .image { height: 520px; }
    .home-page .craft-section .visual { max-width: 650px; }
}
@media (max-width: 767.98px) {
    .home-page .hero-section { padding-top: 0; padding-bottom: 28px; }
    .home-page .hero-section .layout { grid-template-columns: 1fr; }
    .home-page .hero-section .content { padding: 44px 0 32px; }
    .home-page .hero-section .heading { font-size: clamp(3.3rem, 12vw, 5rem); }
    .home-page .hero-section .eyebrow { margin-bottom: 25px; font-size: .6rem; }
    .home-page .hero-section .text { margin-bottom: 24px; font-size: .9375rem; }
    .home-page .hero-section .signature { margin-top: 30px; }
    .home-page .hero-section .visual { height: 420px; }
    .home-page .hero-section .image { object-position: center; }
    .home-page .hero-section figcaption { bottom: 22px; left: 20px; font-size: .75rem; }
    .home-page .hero-section .photo-link { width: 40px; height: 40px; bottom: 20px; right: 18px; }
    .home-page .facts-section .list { grid-template-columns: 1fr 1fr; gap: 26px 12px; padding-top: 25px; }
    .home-page .facts-section .item { padding: 0; border: 0; }
    .home-page .facts-section strong { font-size: .8125rem; }
    .home-page .facts-section .item span { font-size: .6875rem; }
    .home-page .products-section { padding: 65px 0 35px; }
    .home-page .products-section .top, .home-page .projects-section .top { align-items: flex-start; flex-direction: column; gap: 25px; margin-bottom: 35px; }
    .home-page .products-section .heading, .home-page .craft-section .heading, .home-page .projects-section .heading { font-size: 2.8rem; }
    .home-page .products-section .body { grid-template-columns: 1fr; gap: 3px; padding-top: 20px; }
    .home-page .products-section .title { font-size: 1.6rem; }
    .home-page .products-section .note { margin-top: 30px; }
    .home-page .craft-section { padding: 65px 0; }
    .home-page .craft-section .visual { padding-right: 20px; }
    .home-page .craft-section .visual::before { left: 20px; }
    .home-page .craft-section .image { height: 430px; }
    .home-page .projects-section { padding-bottom: 65px; }
}

/***** ABOUT *****/

/* visual */
.about-page .visual-section .frame {
    overflow: hidden;
    border-radius: var(--radius);
}

.about-page .visual-section .image {
    width: 100%;
    height: clamp(320px, 46vw, 640px);
    object-fit: cover;
}

/* content */
.about-page .content-section {
    padding: clamp(72px, 9vw, 124px) 0 clamp(40px, 5vw, 64px);
}

.about-page .content-section .text {
    max-width: 640px;
    font-size: 1.125rem;
    color: var(--muted-text-color);
}

.about-page .content-section .card {
    align-items: flex-start;
    padding: 36px;
    border: 0;
    border-radius: var(--radius);
    background: var(--third-color);
    color: var(--third-text-color);
}

.about-page .content-section .card .title {
    font-size: 2rem;
}

.about-page .content-section .card .text {
    margin-bottom: 24px;
    font-size: 1rem;
}

/* values */
.about-page .values-section {
    padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 10vw, 140px);
}

.about-page .values-section .item {
    height: 100%;
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.about-page .values-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--main-color);
    color: var(--main-text-color);
}

.about-page .values-section .icon svg {
    width: 22px;
    height: 22px;
}

.about-page .values-section .text {
    margin: 0;
    color: var(--muted-text-color);
}


/***** SERVICES *****/

/* intro */
.service-page .intro-section .frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.service-page .intro-section .image {
    width: 100%;
    height: clamp(320px, 40vw, 580px);
    object-fit: cover;
}


.service-page .intro-section .caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--second-color) 85%, transparent);
    font-size: 0.75rem;
    font-weight: 500;
}

.service-page .intro-section .lead {
    margin-bottom: 32px;
}

/* details */
.service-page .details-section {
    padding: clamp(72px, 9vw, 124px) 0;
}

.service-page .details-section .text {
    max-width: 560px;
    margin: 0;
    font-size: 1.125rem;
    color: var(--muted-text-color);
}

.service-page .details-section .features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-page .details-section .item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.service-page .details-section .item:first-child {
    border-top: 1px solid var(--border-color);
}

.service-page .details-section .icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--accent-color);
}

.service-page .details-section .icon svg {
    width: 16px;
    height: 16px;
}

/* gallery */
.service-page .gallery-section {
    padding: 0 0 clamp(72px, 9vw, 124px);
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.service-page .gallery-section .heading {
    margin-bottom: 36px;
}

/* needs */
.service-page .needs-section {
    padding: clamp(72px, 9vw, 124px) 0;
    background: var(--soft-color);
}

.service-page .needs-section .top {
    max-width: 640px;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.service-page .needs-section .top .text {
    margin: 0;
    font-size: 1.125rem;
    color: var(--muted-text-color);
}

.service-page .needs-section .card {
    height: 100%;
    padding: 28px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--second-text-color);
}

.service-page .needs-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--accent-color);
}

.service-page .needs-section .icon svg {
    width: 20px;
    height: 20px;
}

.service-page .needs-section .title {
    font-size: 1.25rem;
}

.service-page .needs-section .card .text {
    margin: 0;
    color: var(--muted-text-color);
}

/* duties */
.service-page .duties-section { padding: clamp(64px, 8vw, 110px) 0; }
.service-page .duties-section .top { margin-bottom: 44px; }
.service-page .duties-section .eyebrow { margin-bottom: 20px; }
.service-page .duties-section .heading { margin: 0; font-size: clamp(2.25rem, 3.7vw, 3.5rem); }
.service-page .duties-section .text { margin: 0; color: var(--muted-text-color); font-size: .875rem; line-height: 1.85; }
.service-page .duties-section .top .text { font-size: .9375rem; }
.service-page .duties-section .list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.service-page .duties-section .item { padding: clamp(24px, 3vw, 36px); background: var(--soft-color); border: 1px solid var(--border-color); border-radius: 8px; }
.service-page .duties-section .featured { grid-column: span 2; background: var(--third-color); border-color: color-mix(in srgb, var(--main-color) 40%, var(--border-color)); }
.service-page .duties-section .meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 38px; }
.service-page .duties-section .number { font-size: 2rem; font-weight: 400; line-height: 1; letter-spacing: -.05em; color: var(--main-color); }
.service-page .duties-section .label { font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-text-color); }
.service-page .duties-section .featured .label { color: var(--main-color); }
.service-page .duties-section .title { max-width: 470px; margin-bottom: 16px; font-size: 1.375rem; line-height: 1.25; }
.service-page .duties-section .featured .title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-page .duties-section .featured .text { max-width: 620px; }
.service-page .duties-section .note { display: flex; align-items: flex-start; gap: 14px; padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--border-color); color: var(--muted-text-color); }
.service-page .duties-section .note svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--main-color); }
.service-page .duties-section .note p { max-width: 900px; font-size: .75rem; line-height: 1.8; margin: 0; }
@media (max-width: 991.98px) {
    .service-page .duties-section .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .service-page .duties-section .list { grid-template-columns: 1fr; }
    .service-page .duties-section .featured { grid-column: auto; }
    .service-page .duties-section .meta { margin-bottom: 28px; }
}

/* model */
.service-page .model-section {
    padding: 0 0 clamp(72px, 10vw, 140px);
}

.service-page .model-section .panel {
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--radius);
    background: var(--third-color);
    color: var(--third-text-color);
}

.service-page .model-section .text {
    max-width: 520px;
    margin-bottom: 28px;
    color: var(--muted-text-color);
}

.service-page .model-section .price {
    padding: 36px;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--second-text-color);
}

.service-page .model-section .label {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.service-page .model-section .value {
    display: block;
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.service-page .model-section .price .text {
    margin: 0;
}

@media (max-width: 767.98px) {
    .service-page .model-section .price {
        padding: 28px;
    }
}


/***** KATALOG *****/

.katalog-page .intro-section { padding: clamp(55px, 7vw, 100px) 0 50px; }
.katalog-page .intro-section .heading { margin: 0; font-size: clamp(3rem, 5.8vw, 5.5rem); letter-spacing: -.055em; }
.katalog-page .intro-section .heading span { color: var(--main-color); }
.katalog-page .intro-section .lead { max-width: 380px; font-size: 1.125rem; line-height: 1.8; }
.katalog-page .intro-section .note { display: flex; align-items: center; gap: 10px; margin: 25px 0 0; font-size: .9375rem; color: var(--muted-text-color); }
.katalog-page .intro-section .note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--main-color); }
.katalog-page .intro-section .categories { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 45px; padding-top: 26px; border-top: 1px solid var(--border-color); }
.katalog-page .intro-section .link { display: inline-flex; align-items: center; gap: 18px; padding: 12px 20px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--soft-color); text-decoration: none; font-size: 1rem; }
.katalog-page .intro-section .link span { color: var(--main-color); font-size: .875rem; }
.katalog-page .intro-section .link svg { width: 16px; height: 16px; }
.katalog-page .intro-section .link:hover { border-color: var(--main-color); color: var(--main-color); }
.katalog-page .categories-section .group { scroll-margin-top: calc(var(--header-height) + 30px); }
.katalog-page .categories-section .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.katalog-page .categories-section .top .eyebrow { margin-bottom: 14px; }
.katalog-page .categories-section .top .heading { margin: 0; }
.katalog-page .categories-section .count { padding-bottom: 5px; color: var(--muted-text-color); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }

/* model cards */
.katalog-card { --model-accent: var(--main-color); --model-surface: #2b2823; position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid color-mix(in srgb, var(--model-accent) 24%, var(--second-color)); border-radius: 10px; background: var(--model-surface); }
.katalog-card.sage { --model-accent: #b0c5a0; --model-surface: #252e25; }
.katalog-card.slate { --model-accent: #a6beca; --model-surface: #232d32; }
.katalog-card.clay { --model-accent: #d7aa94; --model-surface: #302823; }
.katalog-card .photo { position: relative; overflow: hidden; }
.katalog-card .photo img { width: 100%; height: 100%; aspect-ratio: 1.6; object-fit: cover; transition: transform .8s var(--ease); }
.katalog-card .badge { position: absolute; top: 20px; left: 20px; padding: 9px 12px; border-radius: 4px; background: var(--model-surface); color: var(--model-accent); font-size: .8125rem; font-weight: 400; letter-spacing: .04em; }
.katalog-card .content { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3vw, 38px); border-top: 2px solid var(--model-accent); }
.katalog-card .label { margin-bottom: 16px; color: var(--model-accent); font-size: .8125rem; text-transform: uppercase; letter-spacing: .13em; }
.katalog-card .title { margin-bottom: 16px; font-size: clamp(1.875rem, 2.8vw, 2.625rem); line-height: 1.15; }
.katalog-card .link { text-decoration: none; }
.katalog-card .link:focus-visible { outline: none; }
.katalog-card .link:focus-visible::after { outline: 2px solid var(--model-accent); outline-offset: -4px; border-radius: 10px; }
.katalog-card .text { margin-bottom: 28px; color: var(--muted-text-color); font-size: 1.0625rem; line-height: 1.8; }
.katalog-card .specs { margin: auto 0 26px; }
.katalog-card .spec { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--model-accent) 18%, transparent); font-size: .9375rem; }
.katalog-card .spec dt { color: var(--muted-text-color); font-weight: 400; }
.katalog-card .spec dd { max-width: 65%; margin: 0; text-align: right; }
.katalog-card .bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--model-accent) 25%, transparent); }
.katalog-card .caption { display: block; margin-bottom: 5px; color: var(--muted-text-color); font-size: .8125rem; }
.katalog-card .price { font-size: 1.0625rem; }
.katalog-card .action { display: inline-flex; align-items: center; gap: 12px; color: var(--model-accent); font-size: .9375rem; }
.katalog-card .action svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
@media (min-width: 992px) {
    .katalog-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; }
    .katalog-card.featured .photo img { position: absolute; inset: 0; aspect-ratio: auto; }
    .katalog-card.featured .content { border-top: 0; border-left: 2px solid var(--model-accent); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .katalog-card { transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
    .katalog-card:hover { border-color: var(--model-accent); box-shadow: 0 14px 40px rgba(0, 0, 0, .15); }
    .katalog-card:hover .photo img { transform: scale(1.035); }
    .katalog-card:hover .action svg { transform: translate(3px, -3px); }
}
@media (max-width: 575.98px) {
    .katalog-page .categories-section .top { align-items: flex-start; flex-direction: column; gap: 12px; }
    .katalog-card .badge { top: 14px; left: 14px; }
}

/***** REALIZACIE *****/

.realizacie-page .categories-section,
.katalog-page .categories-section {
    padding: 0 0 clamp(72px, 10vw, 140px);
}

.realizacie-page .categories-section .group + .group,
.katalog-page .categories-section .group + .group {
    margin-top: clamp(56px, 7vw, 96px);
}

.realizacie-page .categories-section .heading,
.katalog-page .categories-section .heading {
    margin-bottom: 32px;
}

/* detail intro */
.realizacia-page .intro-section {
    padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 10vw, 120px);
}

.realizacia-page .intro-section .cta {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius);
    background: var(--main-color);
    color: var(--main-text-color);
}

.realizacia-page .intro-section .cta .title {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.realizacia-page .intro-section .cta .text {
    margin-bottom: 28px;
    color: inherit;
    opacity: 0.8;
}

.realizacia-page .intro-section .cta .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.realizacia-page .intro-section .params {
    margin-top: 32px;
}

.realizacia-page .intro-section .text {
    max-width: 640px;
    font-size: 1.125rem;
    color: var(--muted-text-color);
}

.realizacia-page .intro-section .text:last-child {
    margin-bottom: 0;
}

.realizacia-page .intro-section .params {
    margin: 0;
    padding: 8px 28px;
    border-radius: var(--radius-sm);
    background: var(--third-color);
    color: var(--third-text-color);
}

.realizacia-page .intro-section .item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.realizacia-page .intro-section .item + .item {
    border-top: 1px solid var(--border-color);
}

.realizacia-page .intro-section .label {
    flex: 0 0 40%;
    font-weight: 500;
    color: var(--muted-text-color);
}

.realizacia-page .intro-section .value {
    flex: 1;
    margin: 0;
    font-weight: 500;
    text-align: right;
}

/* detail gallery */
.realizacia-page .catalog-feature {
    padding: 24px 0 0;
}

.realizacia-page .catalog-feature .visual {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--third-color);
}

.realizacia-page .catalog-feature .visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

.realizacia-page .catalog-feature figcaption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92);
    color: #292624;
    font-size: 0.75rem;
}

.realizacia-page .catalog-feature .heading {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.realizacia-page .catalog-feature .lead {
    margin: 20px 0 28px;
    font-size: 1.125rem;
    color: var(--muted-text-color);
}

.realizacia-page .gallery-section.model-photos {
    padding: 0 0 clamp(56px, 8vw, 96px);
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.realizacia-page .model-photos > .container > .heading {
    margin-bottom: 28px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.realizacia-page .gallery-section {
    padding: clamp(16px, 2vw, 24px) 0 0;
}

.realizacia-page .gallery-section .bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.realizacia-page .gallery-section .bento.count-3,
.realizacia-page .gallery-section .bento.count-4 {
    grid-template-columns: repeat(5, 1fr);
}

.realizacia-page .gallery-section .item {
    position: relative;
    aspect-ratio: 1 / 1;
}

.realizacia-page .gallery-section .item:first-child,
.realizacia-page .gallery-section .count-3 .item:nth-child(2),
.realizacia-page .gallery-section .count-4 .item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
}

.realizacia-page .gallery-section .count-3 .item:nth-child(3) {
    grid-row: span 2;
    aspect-ratio: auto;
}

@media (max-width: 767.98px) {
    .realizacia-page .gallery-section .bento,
    .realizacia-page .gallery-section .bento.count-3,
    .realizacia-page .gallery-section .bento.count-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .realizacia-page .gallery-section .count-3 .item:nth-child(2) {
        grid-column: auto;
        grid-row: auto;
    }

    .realizacia-page .gallery-section .count-3 .item:nth-child(3) {
        grid-row: auto;
        aspect-ratio: 1 / 1;
    }
}

.realizacia-page .gallery-section .all {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
}

.realizacia-page .gallery-section .photo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--third-color);
    cursor: zoom-in;
}

.realizacia-page .gallery-section .photo[hidden] {
    display: none;
}

.realizacia-page .gallery-section .photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.realizacia-page .gallery-section .photo:hover img {
    transform: scale(1.05);
}

.realizacia-page .gallery-section .photo:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* detail modal */
.modal-backdrop {
    --bs-backdrop-bg: var(--second-color);
    --bs-backdrop-opacity: 0.85;
}

.realizacia-page .gallery-modal .modal-content {
    position: relative;
    border: 0;
    background: transparent;
    pointer-events: none;
}

.realizacia-page .gallery-modal .image {
    width: min(100%, calc((100dvh - var(--bs-modal-margin) * 2) * var(--ratio, 1)));
    margin: 0 auto;
    border-radius: var(--radius-sm);
    pointer-events: auto;
}

.realizacia-page .gallery-modal .nav {
    top: 50%;
    transform: translateY(-50%);
}

.realizacia-page .gallery-modal .prev {
    left: 12px;
}

.realizacia-page .gallery-modal .next {
    right: 12px;
}

.realizacia-page .gallery-modal .counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    margin: 0;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--second-text-color);
    font-size: 0.875rem;
    transform: translateX(-50%);
}

.realizacia-page .gallery-modal .close {
    top: 12px;
    right: 12px;
}

.realizacia-page .gallery-modal .close,
.realizacia-page .gallery-modal .nav {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--second-text-color);
    pointer-events: auto;
    transition: var(--transition);
}

.realizacia-page .gallery-modal .close:hover,
.realizacia-page .gallery-modal .nav:hover {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.realizacia-page .gallery-modal .close:focus-visible,
.realizacia-page .gallery-modal .nav:focus-visible {
    outline: 2px solid var(--second-color);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .realizacia-page .intro-section .item {
        flex-direction: column;
        gap: 2px;
    }

    .realizacia-page .intro-section .label {
        flex-basis: auto;
    }

    .realizacia-page .intro-section .value {
        text-align: left;
    }
}


/***** FAQ *****/

.faq-page .questions-section {
    padding: clamp(24px, 3vw, 40px) 0 clamp(72px, 10vw, 140px);
}

/* side */
.faq-page .questions-section .side {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.faq-page .questions-section .menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.faq-page .questions-section .link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.faq-page .questions-section .link:hover {
    background: var(--soft-color);
}

.faq-page .questions-section .link:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.faq-page .questions-section .symbol {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soft-color);
}

.faq-page .questions-section .symbol svg {
    width: 18px;
    height: 18px;
}

.faq-page .questions-section .card {
    align-items: flex-start;
    padding: 28px;
    border: 0;
    border-radius: var(--radius);
    background: var(--main-color);
    color: var(--main-text-color);
}

.faq-page .questions-section .card .title {
    font-size: 1.5rem;
}

.faq-page .questions-section .card .text {
    margin-bottom: 20px;
    color: color-mix(in srgb, var(--main-text-color) 75%, transparent);
}

/* groups */
.faq-page .questions-section .group {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.faq-page .questions-section .group + .group {
    margin-top: clamp(40px, 5vw, 64px);
}

.faq-page .questions-section .heading {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* accordion */
.faq-page .accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-page .accordion-item {
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--soft-color);
}

.faq-page .accordion-button {
    gap: 20px;
    justify-content: space-between;
    padding: 18px 20px 18px 24px;
    background: transparent;
    color: var(--second-text-color);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    box-shadow: none;
}

.faq-page .accordion-button::after {
    display: none;
}

.faq-page .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--second-text-color);
    box-shadow: none;
}

.faq-page .accordion-button:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: -2px;
    border-radius: var(--radius-sm);
}

.faq-page .accordion-button .toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    transition: var(--transition);
}

.faq-page .accordion-button .toggle svg {
    width: 18px;
    height: 18px;
}

.faq-page .accordion-button:not(.collapsed) .toggle {
    background: var(--main-color);
    color: var(--main-text-color);
    transform: rotate(45deg);
}

.faq-page .accordion-body {
    padding: 0 76px 22px 24px;
}

.faq-page .accordion-body .text {
    margin: 0;
    color: var(--muted-text-color);
}

.faq-page .accordion-body .t-btn {
    margin-top: 14px;
}

@media (max-width: 991.98px) {
    .faq-page .questions-section .side {
        position: static;
    }

    .faq-page .questions-section .menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .faq-page .questions-section .link {
        padding: 6px 14px 6px 6px;
        background: var(--soft-color);
        font-size: 1rem;
    }

    .faq-page .questions-section .symbol {
        width: 32px;
        height: 32px;
        background: var(--second-color);
    }

    .faq-page .accordion-body {
        padding-right: 24px;
    }
}



/***** BLOG *****/

/* images */
.blog-page .figure {
    display: block;
    margin: 0;
}

.blog-page .photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.blog-page .image-slot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 16 / 9;
    padding: clamp(16px, 3vw, 32px);
    border: 1px dashed color-mix(in srgb, var(--muted-text-color) 50%, transparent);
    border-radius: var(--radius-sm);
    background: var(--third-color);
    color: var(--muted-text-color);
}

.blog-page .image-slot .file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.blog-page .image-slot svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.blog-page .image-slot .prompt {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.blog-page .caption {
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--muted-text-color);
}

/* cards */
.blog-page .card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.blog-page .card:hover {
    box-shadow: var(--shadow);
}

.blog-page .card:focus-within {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.blog-page .card .image-slot,
.blog-page .card .photo {
    border: 0;
    border-radius: 0;
}

.blog-page .card .body {
    padding: 24px;
}

.blog-page .meta {
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-text-color);
}

.blog-page .card .title {
    margin-bottom: 12px;
    font-size: 1.375rem;
    line-height: 1.2;
}

.blog-page .card .title a {
    text-decoration: none;
}

.blog-page .card .text {
    margin: 0;
    color: var(--muted-text-color);
}

/* articles */
.blog-page .articles-section {
    padding: 0 0 clamp(72px, 10vw, 140px);
}

@media (min-width: 992px) {
    .blog-page .card.featured {
        display: grid;
        grid-template-columns: 7fr 5fr;
        align-items: center;
    }

    .blog-page .card.featured .body {
        padding: clamp(32px, 4vw, 56px);
    }

    .blog-page .card.featured .title {
        font-size: clamp(1.75rem, 2.8vw, 2.5rem);
        line-height: 1.1;
    }
}

/* article */
.blog-page .article-section {
    padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 124px);
}

.blog-page .article-section .back {
    margin-bottom: 32px;
}

.blog-page .article-section .lead {
    max-width: none;
    margin-bottom: 0;
}

.blog-page .article-section .hero {
    margin: clamp(32px, 4vw, 56px) 0;
}

.blog-page .article-section .body {
    font-size: 1.125rem;
    line-height: 1.7;
}

.blog-page .article-section .body > p {
    margin-bottom: 1.3em;
}

.blog-page .article-section .body h2 {
    margin: 1.6em 0 0.6em;
    font-size: clamp(1.625rem, 2.6vw, 2.125rem);
    line-height: 1.15;
}

.blog-page .article-section .body > .figure {
    margin: 40px 0;
}

.blog-page .article-section .body a {
    overflow-wrap: anywhere;
}

.blog-page .article-section .summary {
    margin-bottom: 36px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--radius-sm);
    background: var(--third-color);
    color: var(--third-text-color);
    font-size: 1rem;
}

.blog-page .article-section .summary .title {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.blog-page .article-section .summary ul {
    margin: 0;
    padding-left: 20px;
}

.blog-page .article-section .summary li + li {
    margin-top: 8px;
}

.blog-page .article-section .highlight {
    margin: 40px 0;
    padding-left: 24px;
    border-left: 3px solid var(--main-color);
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.blog-page .article-section .highlight small {
    display: block;
    margin-top: 12px;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted-text-color);
}

.blog-page .article-section .note {
    margin: 40px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.blog-page .article-section .sources {
    margin-top: 32px;
    font-size: 0.9375rem;
}

.blog-page .article-section .sources .title {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.blog-page .article-section .sources ol {
    margin: 0;
    padding-left: 20px;
    color: var(--muted-text-color);
}

.blog-page .article-section .sources li + li {
    margin-top: 8px;
}

/* related */
.blog-page .related-section {
    padding: 0 0 clamp(72px, 10vw, 140px);
}

.blog-page .related-section .heading {
    margin-bottom: 32px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}


/***** PAGE BANNERS *****/

.intro-section.has-banner {
    padding: 24px 0 40px;
}

.page-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--soft-color);
}

.page-banner .image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(25, 29, 26, .97), rgba(25, 29, 26, .75) 45%, rgba(25, 29, 26, .1));
}

.page-banner .content {
    width: 61%;
    max-width: 700px;
    padding: 36px clamp(24px, 4vw, 52px);
}

.page-banner .heading {
    margin-bottom: 16px;
    font-size: clamp(32px, 3.8vw, 50px);
    line-height: 1.08;
    text-wrap: balance;
}

.page-banner .lead {
    max-width: 490px;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--muted-text-color);
}

@media (max-width: 767.98px) {
    .page-banner {
        min-height: 300px;
    }

    .page-banner .image {
        object-position: 80% center;
    }

    .page-banner::before {
        background: linear-gradient(90deg, rgba(25, 29, 26, .96), rgba(25, 29, 26, .8) 58%, rgba(25, 29, 26, .45));
    }

    .page-banner .content {
        width: 100%;
        max-width: 560px;
        padding: 28px 24px;
    }
}

.about-page .intro-section.has-banner + .content-section {
    padding-top: 0;
}

/***** CONTACT *****/

.contact-page .info-section {
    padding: 0 0 clamp(72px, 10vw, 140px);
}

.contact-page .info-section .details {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-page .info-section .item {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.contact-page .info-section .item:first-child {
    padding-top: 0;
    border-top: 0;
}

.contact-page .info-section .symbol {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--soft-color);
}

.contact-page .info-section .symbol svg {
    width: 20px;
    height: 20px;
}

.contact-page .info-section .label {
    margin-bottom: 4px;
    font-size: 0.875rem;
    color: var(--muted-text-color);
}

.contact-page .info-section .value {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.contact-page .info-section a.value:hover {
    text-decoration: underline;
}

.contact-page .info-section .text {
    margin: 4px 0 0;
    color: var(--muted-text-color);
}

.contact-page .info-section .form-box {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius);
    background: var(--soft-color);
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.contact-page .info-section .title {
    margin-bottom: 24px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.contact-page .info-section .form-label {
    margin-bottom: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.contact-page .info-section .form-control,
.contact-page .info-section .form-select {
    padding: 0.7em 1em;
    border-color: var(--border-color);
    border-radius: var(--radius-sm);
}

.contact-page .info-section .form-control:focus,
.contact-page .info-section .form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px var(--main-color);
}

.contact-page .info-section .form-check-input:checked {
    border-color: var(--main-color);
    background-color: var(--main-color);
}

.contact-page .info-section .form-check-label {
    font-size: 0.9375rem;
    color: var(--muted-text-color);
}

.contact-page .info-section .trap {
    position: absolute;
    left: -9999px;
}

.contact-page .info-section .notice {
    margin: 0 0 20px;
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-page .info-section .notice.error {
    color: var(--bs-danger);
}


/***** ERROR *****/

.error-page .intro-section {
    padding-bottom: clamp(72px, 10vw, 140px);
}

.error-page .intro-section .lead {
    margin-bottom: 28px;
}


/***** ANALYTICS *****/

.analytics-page .login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 25px;
}

.analytics-page .login-section .form {
    width: min(100%, 380px);
    padding: 32px;
    border-radius: var(--radius);
    background: var(--soft-color);
}

.analytics-page .login-section .title {
    margin-bottom: 20px;
    font-size: 2rem;
}

.analytics-page .login-section .t-btn {
    margin-top: 16px;
    border: 0;
}

.analytics-page .stats-section {
    padding: clamp(32px, 5vw, 64px) 0;
}

.analytics-page .stats-section .top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.analytics-page .stats-section .heading {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.analytics-page .stats-section .t-btn {
    border: 0;
}

.analytics-page .stats-section .text {
    color: var(--muted-text-color);
}


/***** FOOTER *****/

.footer { overflow: hidden; background: var(--second-color); color: var(--second-text-color); }
.footer .cta { position: relative; padding: 80px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.footer .cta .heading { max-width: 850px; font-size: clamp(3.4rem, 6vw, 6rem); margin-bottom: 28px; }
.footer .cta .heading .accent { color: var(--main-color); font-size: inherit; }
.footer .cta .text { max-width: 490px; margin-bottom: 28px; }
.footer .buttons { align-items: center; gap: 30px; }
.footer .logo { display: inline-block; margin-bottom: 22px; }
.footer .logo img { width: 250px; height: auto; }
.footer .text { color: var(--muted-text-color); font-size: .875rem; }
.footer .title { margin-bottom: 23px; color: var(--main-color); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; }
.footer .list { margin: 0; padding: 0; list-style: none; font-size: .8125rem; }
.footer .list li + li { margin-top: 10px; }
.footer .list a { overflow-wrap: anywhere; text-decoration: none; }
.footer .list a:hover { color: var(--main-color); }
.footer .contact .list { color: var(--muted-text-color); }
.footer .contact .list li:first-child { color: var(--second-text-color); font-size: 1.1rem; }
.footer .main { padding: 65px 0; }
.footer .main .text { max-width: 270px; }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 25px 0; border-top: 1px solid var(--border-color); }
.footer .bottom .text { margin: 0; font-size: .6875rem; }
@media (min-width: 992px) {
    .footer .cta::after { content: "↗"; position: absolute; right: 30px; top: 65px; color: var(--main-color); font-size: 12rem; line-height: 1; font-weight: 300; }
}
@media (max-width: 767.98px) {
    .footer .cta { padding: 55px 0; }
    .footer .cta .heading { font-size: 3.2rem; }
    .footer .main { padding: 45px 0; }
}
