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

/* tokens – pri novom webe prepíš hodnoty podľa dizajnu, názvy premenných nechaj */
:root {
    --main-color: #14181d;
    --main-text-color: #ffffff;
    --second-color: #ffffff;
    --second-text-color: #14181d;
    --third-color: #f9f9f9;
    --third-text-color: #14181d;
    --accent-color: #30a0e0;
    --accent-text-color: #ffffff;
    --accent-ink: #1a6fa3;
    --accent-soft: #e3f2fb;
    --fourth-color: #2c363d;
    --fourth-text-color: #ffffff;

    --body-color: #ffffff;
    --text-color: #4d535b;
    --heading-color: #14181d;
    --muted-color: #6b7078;
    --border-color: rgba(20, 24, 29, 0.12);
    --overlay: linear-gradient(90deg, rgba(14, 17, 21, 0.88) 0%, rgba(14, 17, 21, 0.6) 45%, rgba(14, 17, 21, 0.15) 100%);
    --overlay-mobile: linear-gradient(180deg, rgba(14, 17, 21, 0.78) 0%, rgba(14, 17, 21, 0.62) 100%);

    --body-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --heading-font: var(--body-font);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-btn: 10px;
    --radius-pill: 999px;
    --shadow: 0 18px 40px rgba(20, 24, 29, 0.1);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-height: 125px;
    --section-space: clamp(64px, 8vw, 112px);
}

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

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-color);
    background: var(--body-color);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .heading {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 2.6vw, 2.375rem); }
h3 { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

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

main section {
    padding: var(--section-space) 0;
}

.spec-font {
    font-family: var(--heading-font);
}

/* skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--main-color);
    color: var(--main-text-color);
}

.skip-link:focus {
    top: 16px;
}

/* buttons */
.t-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0.65em 1.35em;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

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

.t-btn svg {
    width: 16px;
    height: 16px;
    flex: none;
}

/* tlačidlo s okrúhlou ikonou vpravo */
.t-btn:has(> .icon) {
    padding: 5px 5px 5px 1.35em;
}

.t-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease;
}

.t-btn .icon .icon-copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

@media (prefers-reduced-motion: no-preference) {
    .t-btn:hover .icon svg:not(.icon-copy) {
        transition: transform 0.35s var(--ease);
        transform: translate(150%, -150%);
    }

    .t-btn:hover .icon .icon-copy {
        transition: transform 0.35s var(--ease) 0.08s;
        transform: translate(0, 0);
    }
}

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

.t-btn.theme .icon {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

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

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

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

.t-btn.theme2 .icon {
    background: var(--main-color);
    color: var(--main-text-color);
}

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

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

.t-btn.theme3 .icon {
    background: var(--main-color);
    color: var(--main-text-color);
}

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

.t-btn.theme3:hover .icon {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.t-btn.outline {
    border-color: color-mix(in srgb, var(--main-text-color) 35%, transparent);
    color: var(--main-text-color);
}

.t-btn.outline:hover {
    background: var(--main-text-color);
    color: var(--main-color);
}

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

/* check list */
.check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 32px;
}

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.check-list svg {
    flex: none;
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
    margin-top: 2px;
}

/* section head */
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head .heading {
    margin-bottom: 0;
    max-width: 680px;
}

.section-head.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* image placeholder (kým fotka nie je dodaná) */
.media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: repeating-linear-gradient(45deg, var(--third-color) 0 14px, color-mix(in srgb, var(--third-color) 70%, var(--border-color)) 14px 28px);
    color: var(--muted-color);
    font-size: 14px;
    font-weight: 600;
}

/* animations */
@media (prefers-reduced-motion: no-preference) {
    .js [data-animate] {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.8s var(--ease) var(--delay, 0s), transform 0.8s var(--ease) var(--delay, 0s);
    }

    .js [data-animate="zoom"] {
        transform: scale(0.96);
    }

    .js [data-animate].is-visible {
        opacity: 1;
        transform: none;
    }

    .load-in {
        animation: load-in 0.9s var(--ease) both;
    }

    .load-in:nth-child(2) { animation-delay: 0.1s; }
    .load-in:nth-child(3) { animation-delay: 0.2s; }
    .load-in:nth-child(4) { animation-delay: 0.3s; }
    .load-in:nth-child(5) { animation-delay: 0.4s; }
}

@keyframes load-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    .heading br {
        display: none;
    }
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* topbar */
.header .topbar {
    background: var(--fourth-color);
    color: color-mix(in srgb, var(--fourth-text-color) 85%, transparent);
    font-size: 12px;
    overflow: hidden;
    max-height: 41px;
    transition: max-height 0.35s var(--ease);
}

.header.is-scrolled .topbar {
    max-height: 0;
}

.header .topbar .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 41px;
    gap: 24px;
}

.header .topbar .items {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header .topbar .item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header .topbar a.item {
    transition: color 0.25s ease;
}

.header .topbar a.item:hover {
    color: var(--fourth-text-color);
}

.header .topbar svg {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
}

.header .topbar .social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
    transition: background 0.25s ease;
}

.header .topbar .social svg {
    color: inherit;
}

.header .topbar .social:hover {
    background: var(--accent-ink);
}

/* bar */
.header .main {
    background: var(--second-color);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.header.is-scrolled .main {
    box-shadow: 0 10px 30px rgba(20, 24, 29, 0.08);
}

.header .bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

/* logo */
.header .logo {
    display: inline-flex;
    align-items: center;
}

.header .logo .image {
    height: 83px;
    width: auto;
}

/* navigation */
.header .navigation ul {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.header .navigation .link {
    position: relative;
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
}

.header .navigation .link {
    transition: color 0.25s ease;
}

.header .navigation .link:hover,
.header .navigation .link[aria-current="page"] {
    color: var(--accent-ink);
}

/* actions */
.header .actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    grid-column: 3;
}

.header .toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: var(--radius-btn);
    background: var(--main-color);
    color: var(--main-text-color);
}

/* mega menu – Služby */
.header .main {
    position: relative;
}

.header .navigation .has-mega {
    display: flex;
    align-items: center;
}

.header .navigation .has-mega > .link {
    padding-right: 2px;
}

.header .mega-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--heading-color);
}

.header .mega-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.header .has-mega:hover .mega-toggle svg,
.header .has-mega.is-open .mega-toggle svg {
    transform: rotate(180deg);
}

.header .mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

/* mostík, aby sa menu nezavrelo pri presune myši z odkazu do panelu */
.header .mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 36px;
}

.header .has-mega:hover .mega,
.header .has-mega.is-open .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
}

.header .mega .box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--second-color);
    box-shadow: var(--shadow);
}

.header .mega .items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.header .mega .item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 12px;
    border-radius: var(--radius);
    transition: background-color 0.2s ease;
}

.header .mega .item:hover {
    background: var(--third-color);
}

.header .mega .item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header .mega .item .icon svg {
    width: 20px;
    height: 20px;
}

.header .mega .item:hover .icon {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.header .mega .item.all .icon {
    background: var(--main-color);
    color: var(--main-text-color);
}

.header .mega .item .title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
}

.header .mega .item[aria-current="page"] .title {
    color: var(--accent-ink);
}

.header .mega .item .text {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted-color);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.header .mega .banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    min-height: 280px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--overlay-mobile), var(--background, none) center / cover no-repeat, var(--main-color);
    color: var(--main-text-color);
}

.header .mega .banner .title {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.header .mega .banner .text {
    margin: 0 0 8px;
    font-size: 15px;
    opacity: 0.85;
}

.header .mega .banner .phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}

.header .mega .banner .phone svg {
    width: 16px;
    height: 16px;
}

.header .mega .banner .phone:hover {
    color: var(--accent-color);
}

/* offcanvas – biele mobilné menu */
.header .offcanvas {
    --bs-offcanvas-width: min(420px, 100vw);
    background: var(--second-color);
    color: var(--heading-color);
}

.header .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 84px;
    padding: 10px 25px;
    border-bottom: 1px solid var(--border-color);
}

.header .offcanvas-header .logo {
    display: inline-flex;
    align-items: center;
}

.header .offcanvas-header .logo .image {
    width: auto;
    height: 56px;
}

.header .offcanvas .close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: var(--third-color);
    color: inherit;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.header .offcanvas-body {
    padding: 4px 25px 20px;
}

.header .offcanvas .links > li {
    border-bottom: 1px solid var(--border-color);
}

.header .offcanvas .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header .offcanvas .link {
    flex: 1;
    display: block;
    padding: 11px 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: inherit;
}

.header .offcanvas .link[aria-current="page"] {
    color: var(--accent-ink);
}

.header .offcanvas .sub-toggle {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--third-color);
    color: inherit;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header .offcanvas .sub-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s var(--ease);
}

.header .offcanvas .sub-toggle[aria-expanded="true"] {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

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

.header .offcanvas .sub {
    display: grid;
    margin: 0 0 12px 2px;
    padding-left: 16px;
    border-left: 2px solid var(--accent-color);
}

.header .offcanvas .sub a {
    display: block;
    padding: 7px 0;
    font-size: 16px;
    line-height: 1.35;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.header .offcanvas .sub a:hover,
.header .offcanvas .sub a[aria-current="page"] {
    color: var(--accent-ink);
}

.header .offcanvas-footer {
    display: grid;
    gap: 14px;
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom)) 25px;
    border-top: 1px solid var(--border-color);
    background: var(--third-color);
}

.header .offcanvas-footer .t-btn {
    width: calc(100% - 25px);
}

/* kontakty v jednom riadku, posúvateľné do strany */
.header .offcanvas .contacts {
    display: flex;
    gap: 10px;
    padding-right: 25px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.header .offcanvas .contacts::-webkit-scrollbar {
    display: none;
}

.header .offcanvas .contacts li {
    flex: none;
    scroll-snap-align: start;
}

.header .offcanvas .contact {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--second-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    color: var(--heading-color);
}

.header .offcanvas .contact small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted-color);
}

.header .offcanvas .contact .icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.header .offcanvas .contact svg {
    width: 17px;
    height: 17px;
}

.header .offcanvas a.contact:hover {
    border-color: var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
    .header .offcanvas .sub-toggle svg,
    .header .mega-toggle svg,
    .header .mega {
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .header .bar {
        min-height: 84px;
    }

    .header .logo .image {
        height: 67px;
    }
}

/***** COMPONENTS *****/

/* page hero (podstránky) */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 480px;
    padding: calc(var(--header-height) + 80px) 0 64px !important;
    background: var(--overlay), var(--background, none) center / cover no-repeat, var(--main-color);
    color: var(--main-text-color);
}

.page-hero .content {
    max-width: 760px;
}

.page-hero .heading {
    color: inherit;
    margin-bottom: 16px;
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
}

.page-hero .text {
    font-size: clamp(16px, 1.2vw, 18px);
    opacity: 0.85;
}

.page-hero .crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.page-hero .crumbs li + li::before {
    content: "/";
    margin-right: 6px;
    opacity: 0.5;
}

.page-hero .crumbs a:hover {
    color: var(--accent-color);
}

/* service card */
.service-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--third-color);
    overflow: hidden;
}

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

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

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

.service-card .body {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 36px 28px 28px;
}

.service-card .icon {
    position: absolute;
    top: -28px;
    left: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.service-card .title {
    margin-bottom: 10px;
}

.service-card .title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.service-card .more {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 16px;
    font-weight: 600;
    color: var(--heading-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.25s ease;
}

.service-card:hover .more {
    color: var(--accent-ink);
}

/* process */
.process-section {
    background: var(--third-color);
}

.process-section .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-section .step {
    position: relative;
    text-align: center;
}

.process-section .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    left: calc(50% + 56px);
    right: calc(-50% + 56px);
    border-top: 2px dashed var(--border-color);
}

.process-section .icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--heading-color);
    box-shadow: var(--shadow);
}

.process-section .number {
    position: absolute;
    top: -4px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
    font-size: 13px;
    font-weight: 700;
}

.process-section .title {
    margin-bottom: 8px;
}

/* faq */
.faq-list {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--heading-color);
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-body-padding-x: 0;
}

.faq-list .item {
    border-width: 0 0 1px;
    border-radius: 0 !important;
}

.faq-list .question {
    margin: 0;
}

.faq-list .accordion-button {
    padding: 22px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--heading-color);
}

.faq-list .answer {
    padding-top: 0;
    padding-bottom: 24px;
}

/* cta – banner na plnú šírku, vždy priamo nad footerom */
.cta-section {
    padding: clamp(56px, 7vw, 96px) 0;
    background: var(--overlay), var(--background, none) center / cover no-repeat, var(--main-color);
    color: var(--main-text-color);
}

.cta-section .box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.cta-section .content {
    max-width: 620px;
}

.cta-section .heading {
    color: inherit;
    margin-bottom: 14px;
}

.cta-section .text {
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    .cta-section {
        background: var(--overlay-mobile), var(--background, none) center / cover no-repeat, var(--main-color);
    }
}

/* contact form */
.contact-form .form-label {
    font-weight: 600;
    color: var(--heading-color);
}

.contact-form .form-control {
    min-height: 48px;
    padding: 12px 16px;
    border-color: var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 25%, transparent);
}

.contact-form .trap {
    position: absolute;
    left: -9999px;
}

.contact-form .notice {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.contact-form .notice.success {
    background: #e7f6ec;
    color: #146c34;
}

.contact-form .notice.error {
    background: #fdecec;
    color: #a12121;
}

@media (max-width: 991.98px) {
    .process-section .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .process-section .step::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .process-section .steps {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 400px;
    }
}

/* check list v dvoch stĺpcoch */
.check-list.two-columns {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

@media (max-width: 575.98px) {
    .check-list.two-columns {
        grid-template-columns: 1fr;
    }
}
/* process – 6 krokov */
.process-section .steps {
    grid-template-columns: repeat(6, 1fr);
}

.process-section .icon {
    border-radius: var(--radius-lg);
}

.process-section .step:not(:last-child)::after {
    left: calc(50% + 52px);
    right: calc(-50% + 52px);
}

@media (max-width: 1199.98px) {
    .process-section .steps {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }

    .process-section .step::after {
        display: none;
    }
}

/* section head s úvodom vpravo */
.section-head .intro {
    max-width: 420px;
    margin: 0;
    color: var(--muted-color);
}

/* variants */
.variants-section {
    background: var(--third-color);
}

.variants-section .variant {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--second-color);
    border: 1px solid var(--border-color);
}

.variants-section .variant.featured {
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 80%, transparent);
    border-color: var(--main-color);
}

.variants-section .variant.featured .title,
.variants-section .variant.featured .price {
    color: var(--main-text-color);
}

.variants-section .top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.variants-section .title {
    margin: 0;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
}

.variants-section .badge-tag {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--accent-color);
    color: var(--accent-text-color);
    font-size: 14px;
    font-weight: 700;
}

.variants-section .price {
    margin: 12px 0 18px;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-ink);
}

.variants-section .list-title {
    margin: 4px 0 0;
    font-weight: 700;
    color: var(--heading-color);
}

.variants-section .variant.featured .list-title {
    color: var(--main-text-color);
}

.variants-section .check-list {
    gap: 8px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.variants-section .check-list li {
    gap: 10px;
}

.variants-section .check-list svg {
    width: 20px;
    height: 20px;
    padding: 3px;
    margin-top: 1px;
}

.variants-section .variant.featured .check-list {
    color: var(--main-text-color);
}

.variants-section .t-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* financing */
.financing-section .box {
    position: relative;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background: var(--accent-ink);
    color: color-mix(in srgb, var(--main-text-color) 88%, transparent);
    overflow: hidden;
}

.financing-section .box::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 360px;
    height: 360px;
    border: 60px solid color-mix(in srgb, var(--main-text-color) 8%, transparent);
    transform: rotate(45deg);
}

.financing-section .heading {
    color: var(--main-text-color);
    margin-bottom: 16px;
}

.financing-section .expert {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--second-color);
    color: var(--text-color);
}

.financing-section .expert .photo {
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: var(--radius);
    overflow: hidden;
}

.financing-section .expert .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.financing-section .expert .role {
    margin: 0;
    font-size: 14px;
    color: var(--muted-color);
}

.financing-section .expert .name {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--heading-color);
}

.financing-section .expert .phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent-ink);
}

.financing-section .expert .phone svg {
    width: 18px;
}

/* reasons */
.reasons-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.reasons-section .item {
    position: relative;
    padding: 36px 32px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.reasons-section .item:hover {
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 80%, transparent);
}

.reasons-section .item:hover .title {
    color: var(--main-text-color);
}

.reasons-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.reasons-section .title {
    margin-bottom: 10px;
}

/* partners */
.partners-section {
    padding: 56px 0 !important;
    border-bottom: 1px solid var(--border-color);
}

.partners-section .heading {
    margin-bottom: 28px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

.partners-section .marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partners-section .track {
    display: flex;
    flex: none;
    align-items: center;
    gap: 64px;
    padding-right: 64px;
    animation: marquee 40s linear infinite;
}

.partners-section .marquee:hover .track {
    animation-play-state: paused;
}

.partners-section .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 56px;
}

.partners-section .logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    mix-blend-mode: multiply;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-section .logo img:hover {
    filter: none;
    opacity: 1;
}

@keyframes marquee {
    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-section .track {
        animation: none;
    }

    .partners-section .marquee {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partners-section .track[aria-hidden] {
        display: none;
    }
}

/* area */
.area-section .map {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--third-color);
}

.area-section .map img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.area-section .towns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
}

.area-section .towns li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--third-color);
    font-weight: 600;
    color: var(--heading-color);
}

.area-section .towns svg {
    width: 16px;
    color: var(--accent-ink);
}

/* photo grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
    gap: 12px;
}

.photo-grid .photo {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--third-color);
}

.photo-grid .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.photo-grid .photo:hover img {
    transform: scale(1.05);
}

.photo-grid .zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--heading-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-grid .photo:hover .zoom,
.photo-grid .photo:focus-visible .zoom {
    opacity: 1;
}

.photo-grid .zoom svg {
    width: 18px;
}

@media (max-width: 991.98px) {
    .reasons-section .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .process-section .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .process-section .steps,
    .reasons-section .grid {
        grid-template-columns: 1fr;
    }

    .financing-section .expert {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* project card */
.project-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--second-color);
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s var(--ease);
}

.project-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.project-card .image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--third-color);
}

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

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

.project-card .price {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--main-color);
    color: var(--main-text-color);
    font-weight: 800;
}

.project-card .body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 22px 22px 24px;
}

.project-card .title {
    margin: 0;
    font-size: 22px;
}

.project-card .title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.project-card .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-card .chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--third-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
}

.project-card .chips svg {
    width: 16px;
    height: 16px;
    color: var(--accent-ink);
}

.project-card .more {
    align-self: flex-start;
    margin-top: auto;
    font-weight: 700;
    color: var(--accent-ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.25s ease;
}

.project-card:hover .more {
    color: var(--heading-color);
}

@media (prefers-reduced-motion: reduce) {
    .project-card,
    .project-card .image img {
        transition: none;
    }

    .project-card:hover {
        transform: none;
    }
}

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

/* hero */
.home-page .hero-section {
    display: flex;
    align-items: flex-end;
    min-height: min(100svh, 920px);
    padding: calc(var(--header-height) + 80px) 0 140px;
    background: var(--overlay), var(--background, none) center / cover no-repeat, var(--main-color);
    color: var(--main-text-color);
}

.home-page .hero-section .heading {
    max-width: 760px;
    margin-bottom: 20px;
    color: inherit;
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
}

.home-page .hero-section .text {
    max-width: 600px;
    margin-bottom: 32px;
    font-size: clamp(16px, 1.3vw, 18px);
    opacity: 0.88;
}

.home-page .hero-section .card {
    position: relative;
    padding: 32px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--second-color);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.home-page .hero-section .card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.home-page .hero-section .card .title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--heading-color);
}

.home-page .hero-section .card .text {
    font-size: 14px;
}

.home-page .hero-section .card .link {
    display: inline-block;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.25s ease;
}

.home-page .hero-section .card .link:hover {
    color: var(--accent-ink);
}

/* facts */
.home-page .facts-section {
    position: relative;
    z-index: 2;
    margin-top: -80px;
    padding: 0;
}

.home-page .facts-section .box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--radius-lg);
    background: var(--second-color);
    box-shadow: var(--shadow);
}

.home-page .facts-section .fact {
    padding: 32px 28px;
}

.home-page .facts-section .fact + .fact {
    border-left: 1px solid var(--border-color);
}

.home-page .facts-section .number {
    margin-bottom: 4px;
    font-size: clamp(1.625rem, 2.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--heading-color);
    font-variant-numeric: tabular-nums;
}

.home-page .facts-section .label {
    color: var(--muted-color);
}

/* services */
.home-page .services-section .bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.home-page .services-section .tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    padding: 26px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--main-text-color);
    isolation: isolate;
}

.home-page .services-section .tile .background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.home-page .services-section .tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(14, 17, 21, 0.92) 0%, rgba(14, 17, 21, 0.55) 55%, rgba(14, 17, 21, 0.2) 100%);
}

.home-page .services-section .tile:hover .background {
    transform: scale(1.05);
}

.home-page .services-section .tile .content {
    display: grid;
    gap: 8px;
    max-width: 460px;
}

.home-page .services-section .tile .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--accent-color);
}

.home-page .services-section .tile .title {
    line-height: 1.2;
    font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-page .services-section .tile .text {
    font-size: 15px;
    opacity: 0.85;
}

.home-page .services-section .tile .arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--second-color);
    color: var(--heading-color);
    transition: transform 0.3s var(--ease), background-color 0.3s ease;
}

.home-page .services-section .tile:hover .arrow {
    transform: rotate(45deg);
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.home-page .services-section .others {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.home-page .services-section .others a {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 13px 16px;
    border-radius: var(--radius);
    background: var(--third-color);
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-page .services-section .others a:hover {
    background: var(--main-color);
    color: var(--main-text-color);
}

.home-page .services-section .others .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--accent-ink);
}

.home-page .services-section .others .icon svg {
    width: 18px;
}

.home-page .services-section .others .chevron {
    width: 18px;
    margin-left: auto;
    flex: none;
}

/* projects slider */
.home-page .projects-section .slider-nav {
    display: flex;
    gap: 10px;
}

.home-page .projects-section .slider-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-btn);
    background: var(--second-color);
    color: var(--heading-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-page .projects-section .slider-nav button:hover:not(:disabled) {
    background: var(--main-color);
    color: var(--main-text-color);
}

.home-page .projects-section .slider-nav button:disabled {
    opacity: 0.35;
}

.home-page .projects-section .slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-left: max(25px, calc((100vw - 1320px) / 2 + 12px));
    padding-right: 25px;
    scroll-padding-left: max(25px, calc((100vw - 1320px) / 2 + 12px));
}

.home-page .projects-section .slider::-webkit-scrollbar {
    display: none;
}

.home-page .projects-section .slide {
    flex: 0 0 clamp(280px, 32vw, 460px);
    scroll-snap-align: start;
}

.home-page .projects-section .slide .image {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--third-color);
}

.home-page .projects-section .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.home-page .projects-section .slide:hover img {
    transform: scale(1.05);
}

.home-page .projects-section .caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px 0;
    font-weight: 800;
    color: var(--heading-color);
}

.home-page .projects-section .caption .title {
    display: block;
}

.home-page .projects-section .caption .meta {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-color);
}

.home-page .projects-section .caption svg {
    width: 20px;
    color: var(--accent-ink);
}

.home-page .projects-section .note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-weight: 600;
    color: var(--heading-color);
}

.home-page .projects-section .note svg {
    color: var(--accent-ink);
}

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

@media (max-width: 1199.98px) {
    .home-page .services-section .others {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .home-page .hero-section {
        padding-bottom: 120px;
        background: var(--overlay-mobile), var(--background, none) center / cover no-repeat, var(--main-color);
    }

    .home-page .facts-section .box {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-page .facts-section .fact:nth-child(3) {
        border-left: 0;
    }

    .home-page .facts-section .fact:nth-child(n + 3) {
        border-top: 1px solid var(--border-color);
    }

    .home-page .services-section .bento {
        grid-template-columns: 1fr;
    }

    .home-page .services-section .tile {
        min-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .home-page .facts-section .fact {
        padding: 22px 18px;
    }

    .home-page .services-section .others {
        grid-template-columns: 1fr;
    }
}

/***** HOUSES *****/

.houses-page .intro-section .image,
.renovations-page .intro-section .image,
.about-page .intro-section .image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.houses-page .intro-section .image img,
.renovations-page .intro-section .image img,
.about-page .intro-section .image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.houses-page .intro-section .heading,
.renovations-page .intro-section .heading,
.about-page .intro-section .heading {
    margin-bottom: 18px;
}

.houses-page .intro-section .buttons {
    margin-top: 28px;
}

.houses-page .financing-section,
.projects-page .financing-section {
    padding-top: 0;
}

/***** PROJECTS *****/

.projects-page .options-section .option {
    height: 100%;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--third-color);
}

.projects-page .options-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--main-color);
    color: var(--main-text-color);
}

.projects-page .options-section .title {
    font-size: clamp(1.375rem, 2vw, 1.625rem);
    margin-bottom: 12px;
}

.projects-page .catalog-section {
    padding-top: 0;
}

.projects-page .catalog-section .project {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.projects-page .catalog-section .image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--third-color);
}

.projects-page .catalog-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.projects-page .catalog-section .project:hover img {
    transform: scale(1.05);
}

.projects-page .catalog-section .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 18px 22px;
}

.projects-page .catalog-section .title {
    margin: 0;
    font-size: 20px;
}

/***** PROJECT *****/

.project-page .detail-section .gallery {
    display: grid;
    grid-template-columns: repeat(var(--thumbs, 4), 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.project-page .detail-section .photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--third-color);
}

.project-page .detail-section .photo.main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
}

.project-page .detail-section .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-page .detail-section .photo:hover img {
    transform: scale(1.04);
}

.project-page .zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--second-color);
    color: var(--heading-color);
}

.project-page .zoom svg {
    width: 20px;
}

.project-page .detail-section .heading {
    margin-bottom: 16px;
}

.project-page .detail-section .lead-text {
    font-size: clamp(16px, 1.3vw, 18px);
    color: var(--heading-color);
}

.project-page .detail-section .summary {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 80%, transparent);
}

.project-page .summary .label {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.project-page .summary .price {
    margin: 4px 0 24px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--main-text-color);
}

.project-page .summary .params {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
    padding: 24px 0;
    border-top: 1px solid color-mix(in srgb, var(--main-text-color) 14%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--main-text-color) 14%, transparent);
}

.project-page .summary .params li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--main-text-color);
}

.project-page .summary .params small {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: color-mix(in srgb, var(--main-text-color) 60%, transparent);
}

.project-page .summary .params .icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--main-text-color) 10%, transparent);
    color: var(--accent-color);
}

.project-page .summary .buttons {
    display: grid;
    gap: 14px;
}

.project-page .summary .phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: var(--main-text-color);
}

.project-page .summary .phone svg {
    width: 18px;
}

.project-page .summary .note {
    display: flex;
    gap: 10px;
    margin: 24px 0 0;
    padding: 16px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--accent-color) 18%, transparent);
    font-size: 15px;
    color: var(--main-text-color);
}

.project-page .summary .note svg {
    flex: none;
    width: 20px;
    color: var(--accent-color);
}

.project-page .plan-section {
    background: var(--third-color);
}

.project-page .plan-section .plans {
    display: grid;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.project-page .plan-section .plans.multiple {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: none;
}

.project-page .plan-section .plan {
    position: relative;
    display: block;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--second-color);
}

.project-page .plan-section .plan img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.project-page .included-section .intro {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.project-page .included-section .heading {
    margin-bottom: 14px;
}

.project-page .included-section .check-list {
    margin: 0;
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    row-gap: 14px;
}

.project-page .financing-section {
    padding-top: 0;
}

.project-page .more-section {
    background: var(--third-color);
}

@media (max-width: 991.98px) {
    .project-page .detail-section .summary,
    .project-page .included-section .intro {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .project-page .detail-section .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-page .detail-section .photo:not(.main) {
        border-radius: var(--radius-sm);
    }

    .project-page .detail-section .summary,
    .project-page .included-section .check-list {
        padding: 24px;
    }
}

/***** RENOVATIONS *****/

.renovations-page .intro-section .guarantee {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 24px 0 32px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--accent-soft);
}

.renovations-page .intro-section .guarantee .number {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-ink);
}

.renovations-page .intro-section .guarantee p {
    margin: 0;
    color: var(--heading-color);
}

.renovations-page .intro-section .guarantee strong {
    display: block;
    font-size: 19px;
}

.renovations-page .scope-section {
    background: var(--third-color);
}

.renovations-page .scope-section .feature {
    height: 100%;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--second-color);
}

.renovations-page .scope-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.renovations-page .works-section {
    padding-top: 0;
}

.renovations-page .works-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.renovations-page .works-section .item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.renovations-page .works-section .item:hover {
    border-color: var(--accent-color);
    background: var(--accent-soft);
}

.renovations-page .works-section .icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--main-color);
    color: var(--main-text-color);
}

@media (max-width: 991.98px) {
    .renovations-page .works-section .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .renovations-page .works-section .grid {
        grid-template-columns: 1fr;
    }
}

/***** SERVICE *****/

.service-page .detail-section .lead-text {
    font-size: clamp(16px, 1.3vw, 18px);
    color: var(--heading-color);
}

.service-page .detail-section .heading {
    margin-bottom: 18px;
}

.service-page .detail-section .blocks {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.service-page .detail-section .block {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--third-color);
}

.service-page .detail-section .block .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--second-color);
    color: var(--accent-ink);
}

.service-page .detail-section .block .title {
    margin-bottom: 6px;
}

.service-page .detail-section .facts {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    border-radius: var(--radius-lg);
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 80%, transparent);
    overflow: hidden;
}

.service-page .detail-section .facts .image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-page .detail-section .facts .body {
    padding: 32px;
}

.service-page .detail-section .facts .title {
    margin-bottom: 10px;
    color: var(--main-text-color);
}

.service-page .detail-section .facts .t-btn {
    margin: 24px 0 16px;
}

.service-page .detail-section .facts .phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: var(--main-text-color);
}

.service-page .compare-section {
    padding-top: 0;
}

.service-page .compare-section .pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.service-page .compare-section .photo {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-page .compare-section .photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.service-page .compare-section .tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: var(--main-color);
    color: var(--main-text-color);
    font-weight: 700;
}

.service-page .compare-section .tag.after {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.service-page .more-section {
    background: var(--third-color);
}

.service-page .more-section .service-card {
    background: var(--second-color);
}

.service-page .detail-section .points {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.service-page .detail-section .points .title {
    margin-bottom: 16px;
}

.service-page .detail-section .points .check-list {
    margin: 0;
}

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

.about-page .intro-section .stamp {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    background: var(--accent-color);
    color: var(--accent-text-color);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.about-page .intro-section .stamp strong {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.about-page .intro-section .text + .text {
    margin-bottom: 28px;
}

.about-page .financing-section {
    padding-top: 0;
}

/***** INQUIRY *****/

/* form */
.inquiry-page .form-section .box {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--third-color);
}

.inquiry-page .form-section .notice[hidden] {
    display: none;
}

.inquiry-page .form-section .group {
    margin: 0 0 32px;
    padding: 0 0 32px;
    border: 0;
    border-bottom: 1px solid var(--border-color);
}

.inquiry-page .form-section .group .title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
}

.inquiry-page .form-section .group .title small {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-color);
}

.inquiry-page .form-section .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
    font-size: 15px;
    font-weight: 700;
}

/* výberové karty */
.inquiry-page .form-section .options,
.inquiry-page .form-section .meetings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.inquiry-page .form-section .option {
    position: relative;
    cursor: pointer;
}

.inquiry-page .form-section .option input,
.inquiry-page .form-section .pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.inquiry-page .form-section .option .choice {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--second-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--heading-color);
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.inquiry-page .form-section .option .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--third-color);
    color: var(--accent-ink);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.inquiry-page .form-section .option .icon svg {
    width: 20px;
    height: 20px;
}

.inquiry-page .form-section .option:hover .choice {
    border-color: color-mix(in srgb, var(--accent-color) 60%, transparent);
}

.inquiry-page .form-section .option input:checked + .choice {
    border-color: var(--accent-color);
    background: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent-color);
}

.inquiry-page .form-section .option input:checked + .choice .icon {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.inquiry-page .form-section .option input:focus-visible + .choice,
.inquiry-page .form-section .pill input:focus-visible + span {
    outline: 2px solid var(--accent-ink);
    outline-offset: 2px;
}

.inquiry-page .form-section .meetings .choice {
    align-items: flex-start;
}

.inquiry-page .form-section .meetings .label small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-color);
}

/* termín */
.inquiry-page .form-section .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inquiry-page .form-section .pill {
    position: relative;
    cursor: pointer;
}

.inquiry-page .form-section .pill span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--second-color);
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.inquiry-page .form-section .pill:hover span {
    border-color: var(--main-color);
}

.inquiry-page .form-section .pill input:checked + span {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--main-text-color);
}

.inquiry-page .form-section .financing {
    margin-top: 20px;
}

.inquiry-page .form-section .hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--muted-color);
}

.inquiry-page .form-section .hint svg {
    flex: none;
    width: 16px;
    height: 16px;
}

.inquiry-page .form-section .submit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

/* sidebar */
.inquiry-page .form-section .sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 20px;
}

.inquiry-page .form-section .sidebar .heading {
    margin: 0;
    font-size: 20px;
}

.inquiry-page .form-section .info {
    display: grid;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--second-color);
}

.inquiry-page .form-section .item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    word-break: break-word;
}

.inquiry-page .form-section .item small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted-color);
}

.inquiry-page .form-section .item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--accent-ink);
}

.inquiry-page .form-section .item .icon svg {
    width: 20px;
    height: 20px;
}

.inquiry-page .form-section .hours {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--muted-color);
}

.inquiry-page .form-section .hours svg {
    width: 18px;
    height: 18px;
}

.inquiry-page .form-section .steps {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 75%, transparent);
}

.inquiry-page .form-section .steps .heading {
    color: var(--main-text-color);
}

.inquiry-page .form-section .steps ol {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.inquiry-page .form-section .steps li {
    display: flex;
    gap: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.inquiry-page .form-section .steps strong {
    display: block;
    font-size: 16px;
    color: var(--main-text-color);
}

@media (max-width: 1199.98px) {
    .inquiry-page .form-section .options,
    .inquiry-page .form-section .meetings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .inquiry-page .form-section .sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .inquiry-page .form-section .options,
    .inquiry-page .form-section .meetings {
        grid-template-columns: 1fr;
    }
}

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

.contact-page .form-section .info {
    display: grid;
    gap: 16px;
}

.contact-page .form-section .item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
}

.contact-page .form-section .item small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-color);
}

.contact-page .form-section .item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--accent-ink);
}

.contact-page .form-section .hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 24px;
    margin: 16px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.contact-page .form-section .hours dt {
    font-weight: 400;
}

.contact-page .form-section .hours dd {
    margin: 0;
    font-weight: 600;
    color: var(--heading-color);
    text-align: right;
}

.contact-page .form-section .company {
    color: var(--muted-color);
}

.contact-page .form-section .box {
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--third-color);
}

.contact-page .form-section .box .heading {
    margin-bottom: 24px;
}

/***** LEGAL *****/

.legal-page .text-section .content {
    max-width: 760px;
}

.legal-page .text-section .heading {
    margin: 36px 0 10px;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.legal-page .text-section .heading:first-child {
    margin-top: 0;
}

/***** 404 *****/

.not-found-page .message-section {
    padding-top: calc(var(--header-height) + 100px);
    text-align: center;
}

.not-found-page .code {
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 700;
    line-height: 1;
    color: var(--accent-color);
}

.not-found-page .text {
    margin-bottom: 28px;
}

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

.footer {
    padding: clamp(56px, 7vw, 88px) 0 0;
    background: var(--second-color);
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
}

.cta-section + .footer {
    border-top: 0;
}

.footer a:hover {
    color: var(--accent-ink);
}

.footer .heading {
    margin-bottom: 16px;
    font-size: 16px;
    letter-spacing: 0;
    color: var(--heading-color);
}

/* contact – vľavo logo a údaje, vpravo veľký e-mail a telefón */
.footer .contact {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.footer .about {
    display: grid;
    justify-items: start;
    gap: 18px;
    max-width: 400px;
    font-size: 15px;
}

.footer .logo {
    display: inline-block;
    color: var(--heading-color);
}

.footer .logo .image {
    height: 110px;
    width: auto;
}

.footer .logo .text {
    font-size: 28px;
    font-weight: 800;
}

.footer .primary {
    display: grid;
    justify-items: end;
    gap: 20px;
    text-align: right;
}

.footer .big {
    display: block;
    max-width: 100%;
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--heading-color);
    overflow-wrap: anywhere;
}

.footer .big small {
    display: block;
    margin-bottom: 4px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted-color);
}

.footer .items {
    display: grid;
    gap: 10px;
}

.footer .item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer .item svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--accent-ink);
}

.footer .socials {
    display: flex;
    gap: 10px;
}

.footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
}

.footer .socials svg {
    width: 18px;
    height: 18px;
}

/* main – menu, služby, informácie */
.footer .main {
    padding: 48px 0;
}

.footer .links ul {
    display: grid;
    gap: 8px;
}

.footer .links a {
    font-size: 15px;
}

/* bottom */
.footer .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 22px 0;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--muted-color);
}

.footer .credit {
    color: var(--heading-color);
}

.footer .top-link {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer .top-link.is-visible {
    opacity: 1;
    visibility: visible;
}

.footer .top-link:hover {
    color: var(--accent-text-color);
}

@media (max-width: 767.98px) {
    .footer .logo .image {
        height: 88px;
    }

    .footer .primary {
        justify-items: start;
        text-align: left;
    }
}
