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

/* tokens – pri novom webe prepíš hodnoty podľa dizajnu, názvy premenných nechaj */
:root {
    --main-color: #161b1e;
    --main-text-color: #ffffff;
    --second-color: #ffffff;
    --second-text-color: #161b1e;
    --third-color: #eef3f2;
    --third-text-color: #161b1e;
    --accent-color: #14a395;
    --accent-text-color: #ffffff;
    --accent-ink: #0b7268; /* tmavší akcent pre text na bielom (kontrast) */

    --body-color: #ffffff;
    --text-color: #4a5257;
    --heading-color: #161b1e;
    --muted-color: #687075;
    --border-color: rgba(22, 27, 30, 0.12);
    --overlay: linear-gradient(90deg, rgba(13, 17, 19, 0.9) 0%, rgba(13, 17, 19, 0.62) 50%, rgba(13, 17, 19, 0.25) 100%);
    --overlay-mobile: linear-gradient(180deg, rgba(13, 17, 19, 0.82) 0%, rgba(13, 17, 19, 0.7) 100%);
    --overlay-bottom: linear-gradient(0deg, rgba(13, 17, 19, 0.85) 0%, rgba(13, 17, 19, 0.2) 60%);

    --body-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --heading-font: var(--body-font);

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow: 0 18px 40px rgba(13, 17, 19, 0.1);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-height: 92px;
    --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: 17px;
    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: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

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;
}

/* eyebrow – malý popisok nad nadpisom */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px 6px 12px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.eyebrow:has(svg)::before {
    display: none;
}

.eyebrow svg {
    width: 16px;
    height: 16px;
}

.eyebrow.light {
    background: color-mix(in srgb, var(--main-text-color) 12%, transparent);
    color: var(--main-text-color);
}

/* buttons */
.t-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0.8em 1.6em;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    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: 18px;
    height: 18px;
    flex: none;
}

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

.t-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    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-ink);
    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-ink);
    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);
}

.t-btn.outline2 {
    border-color: var(--border-color);
    color: var(--heading-color);
}

.t-btn.outline2:hover {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--main-text-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 *****/

/* variant B: celá šírka, priehľadný nad hero → biely po scrolle */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--second-color);
    color: var(--second-text-color);
    box-shadow: 0 10px 30px rgba(13, 17, 19, 0.08);
    transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.header.is-transparent:not(.is-scrolled) {
    background: transparent;
    color: var(--main-text-color);
    box-shadow: none;
    border-bottom: 1px solid color-mix(in srgb, var(--main-text-color) 14%, transparent);
}

.header .bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: var(--header-height);
    transition: height 0.35s var(--ease);
}

.header.is-scrolled .bar {
    height: 76px;
}

/* logo – dve verzie */
.header .logo {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header .logo .image {
    height: 52px;
    width: auto;
    transition: height 0.35s var(--ease), opacity 0.35s ease;
}

.header .logo .light {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.header.is-transparent:not(.is-scrolled) .logo .light {
    opacity: 1;
}

.header.is-transparent:not(.is-scrolled) .logo .dark {
    opacity: 0;
}

.header.is-scrolled .logo .image {
    height: 44px;
}

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

.header .navigation .link {
    display: block;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header .navigation .link:hover,
.header .navigation .link[aria-current="page"] {
    background: color-mix(in srgb, currentColor 10%, transparent);
}

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

.header .phone {
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.header .phone .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color) 16%, transparent);
    color: var(--accent-color);
}

.header .phone svg {
    width: 18px;
}

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

/* offcanvas */
.header .offcanvas {
    --bs-offcanvas-width: min(420px, 100vw);
    background: var(--main-color);
    color: var(--main-text-color);
}

.header .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--header-height);
    padding: 14px 25px;
    border-bottom: 1px solid color-mix(in srgb, var(--main-text-color) 12%, transparent);
}

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

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

.header .offcanvas .close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--main-text-color) 12%, transparent);
    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: 8px 25px 24px;
}

.header .offcanvas .links > li {
    border-bottom: 1px solid color-mix(in srgb, var(--main-text-color) 12%, transparent);
}

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

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

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

.header .offcanvas .sub-toggle {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--main-text-color) 10%, transparent);
    color: inherit;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header .offcanvas .sub-toggle svg {
    width: 20px;
    height: 20px;
    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 16px 2px;
    padding-left: 16px;
    border-left: 2px solid var(--accent-color);
}

.header .offcanvas .sub a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.35;
    color: color-mix(in srgb, var(--main-text-color) 72%, transparent);
    transition: color 0.2s ease;
}

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

.header .offcanvas-footer {
    display: grid;
    gap: 18px;
    padding: 20px 25px calc(22px + env(safe-area-inset-bottom));
    border-top: 1px solid color-mix(in srgb, var(--main-text-color) 12%, transparent);
    background: color-mix(in srgb, var(--main-text-color) 4%, var(--main-color));
}

.header .offcanvas .contacts {
    display: grid;
    gap: 12px;
}

.header .offcanvas .contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 1.3;
    color: inherit;
}

.header .offcanvas .contact small {
    display: block;
    font-size: 13px;
    color: color-mix(in srgb, var(--main-text-color) 60%, transparent);
}

.header .offcanvas .contact .icon,
.header .offcanvas .socials a {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--main-text-color) 10%, transparent);
    color: var(--accent-color);
}

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

.header .offcanvas .socials {
    display: flex;
    gap: 10px;
}

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

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

@media (max-width: 991.98px) {
    :root {
        --header-height: 76px;
    }

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

    .header.is-scrolled .bar {
        height: 68px;
    }

    .header.is-scrolled .logo .image {
        height: 38px;
    }
}

/***** 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;
}

.page-hero .text {
    font-size: clamp(17px, 1.4vw, 19px);
    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 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-weight: 600;
    color: var(--heading-color);
}

.service-card .more svg {
    width: 18px;
    transition: transform 0.3s ease;
}

.service-card:hover .more svg {
    transform: translateX(4px);
}

/* 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: 19px;
    font-weight: 600;
    color: var(--heading-color);
}

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

/* cta */
.cta-section .box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(36px, 6vw, 80px);
    border-radius: var(--radius-lg);
    background: var(--overlay), var(--background, none) center / cover no-repeat, var(--main-color);
    color: var(--main-text-color);
}

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

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

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

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

.contact-form .form-control {
    min-height: 52px;
    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;
    }
}

/* section head – úvodný text */
.section-head .intro {
    max-width: 560px;
    margin: 0;
    color: var(--muted-color);
}

/* service card – štítky */
.service-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.service-card .tags li {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--second-color);
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
}

.service-card .media-placeholder {
    min-height: 100%;
}

/* process – počet krokov z --steps */
.process-section .steps {
    grid-template-columns: repeat(var(--steps, 5), 1fr);
}

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

.process-section .icon {
    color: var(--accent-ink);
}

.process-section .text {
    font-size: 16px;
}

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

.faq-section .intro .heading {
    margin-bottom: 14px;
}

.faq-section .intro .text {
    margin-bottom: 24px;
}

/* reference grid */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reference-grid .reference {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--third-color);
    overflow: hidden;
}

.reference-grid .reference[hidden] {
    display: none;
}

.reference-grid .image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

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

.reference-grid .info {
    display: grid;
    gap: 2px;
    padding: 18px 22px 22px;
}

.reference-grid .category {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-ink);
}

.reference-grid .title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
}

.reference-grid .zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--heading-color);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.reference-grid .reference:hover .zoom,
.reference-grid .reference:focus-visible .zoom {
    opacity: 1;
    transform: none;
}

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

/* cta – pomalý zoom pozadia */
.cta-section .box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
    .cta-section .box {
        background-size: auto, 108%;
        animation: cta-zoom 16s ease-in-out infinite alternate;
    }
}

@keyframes cta-zoom {
    to {
        background-size: auto, 118%;
    }
}

/* kód chýbajúcej fotky v pozadí (kým nie je dodaná) */
.page-hero[data-image]:not([style])::after,
.home-page .hero-section[data-image]:not([style])::after,
.cta-section .box[data-image]:not([style])::after {
    content: "foto " attr(data-image);
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 4px 12px;
    border: 1px dashed color-mix(in srgb, var(--main-text-color) 40%, transparent);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--main-text-color) 70%, transparent);
}

.home-page .hero-section {
    position: relative;
}

/* reference grid – popis */
.reference-grid .text {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
}

/* reasons – prečo BM-TECH */
.reasons-section {
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 75%, transparent);
}

.reasons-section .heading {
    color: var(--main-text-color);
}

.reasons-section .section-head .intro {
    max-width: 440px;
    margin: 0;
}

.reasons-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reasons-section .item {
    padding: 30px;
    border: 1px solid color-mix(in srgb, var(--main-text-color) 12%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--main-text-color) 4%, transparent);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.reasons-section .item:hover {
    border-color: color-mix(in srgb, var(--accent-color) 60%, transparent);
    background: color-mix(in srgb, var(--accent-color) 8%, transparent);
}

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

.reasons-section .title {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--main-text-color);
}

.reasons-section .text {
    margin: 0;
}

/* rfq – pošlite výkres */
.rfq-section .box {
    border-radius: var(--radius-lg);
    background: var(--third-color);
    overflow: hidden;
}

.rfq-section .image {
    height: 100%;
    min-height: 320px;
}

.rfq-section .image img,
.rfq-section .image .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rfq-section .content {
    padding: clamp(28px, 5vw, 64px);
}

.rfq-section .heading {
    margin-bottom: 16px;
}

.rfq-section .needs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.rfq-section .needs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--second-color);
    font-weight: 500;
    color: var(--heading-color);
}

.rfq-section .needs .icon,
.rfq-section .mail .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--accent-ink);
}

.rfq-section .needs svg {
    width: 20px;
}

.rfq-section .mail {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 700;
    color: var(--heading-color);
    word-break: break-all;
}

.rfq-section .mail .icon {
    width: 52px;
    height: 52px;
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.rfq-section .mail small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-color);
}

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

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

    .process-section .steps[style*="--steps: 4"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .reasons-section .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .rfq-section .image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .reasons-section .section-head .intro {
        max-width: none;
    }
}

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

    .reference-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reference-grid .info {
        padding: 14px 16px 16px;
    }

    .reference-grid .title {
        font-size: 16px;
    }

    .reasons-section .grid,
    .rfq-section .needs {
        grid-template-columns: 1fr;
    }

    .reasons-section .item {
        padding: 24px;
    }
}

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

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

.home-page .hero-section .content {
    max-width: 780px;
}

.home-page .hero-section .heading {
    color: inherit;
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 5.4vw, 4.75rem);
}

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

.home-page .hero-section .trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 36px;
}

.home-page .hero-section .trust li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-page .hero-section .trust svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
}

/* about */
.home-page .about-section .image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.home-page .about-section .image img,
.home-page .about-section .image .media-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

.home-page .about-section .badge-card {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 14px;
    border-radius: var(--radius);
    background: var(--second-color);
    box-shadow: var(--shadow);
    line-height: 1.3;
}

.home-page .about-section .badge-card strong {
    display: block;
    color: var(--heading-color);
}

.home-page .about-section .badge-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.home-page .about-section .heading {
    margin-bottom: 18px;
}

.home-page .about-section .industries {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.home-page .about-section .industries li {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--third-color);
}

.home-page .about-section .industries .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--accent-ink);
}

.home-page .about-section .industries strong {
    display: block;
    color: var(--heading-color);
}

/* about – odkaz na O nás */
.home-page .about-section .industries {
    margin-bottom: 32px;
}

/* problems – s čím vieme pomôcť */
.home-page .problems-section {
    padding-top: 0;
}

.home-page .problems-section .section-head .intro {
    max-width: 420px;
    margin: 0;
}

.home-page .problems-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-page .problems-section .item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--second-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}

.home-page .problems-section .item:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.home-page .problems-section .number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-ink);
}

.home-page .problems-section .problem {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
}

.home-page .problems-section .solution {
    display: flex;
    gap: 10px;
    flex: 1;
}

.home-page .problems-section .solution svg {
    flex: none;
    width: 20px;
    margin-top: 3px;
    color: var(--accent-ink);
}

.home-page .problems-section .service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
}

.home-page .problems-section .service svg {
    width: 18px;
    transition: transform 0.3s var(--ease);
}

.home-page .problems-section .item:hover .service svg {
    transform: translateX(4px);
}

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

@media (max-width: 767.98px) {
    .home-page .problems-section .grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-page .problems-section .item {
        padding: 22px;
    }
}
/* references bento */
.home-page .references-section .bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}

.home-page .references-section .item {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--main-text-color);
}

.home-page .references-section .item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.home-page .references-section .photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.home-page .references-section .item:hover .photo {
    transform: scale(1.05);
}

.home-page .references-section .info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 2px;
    padding: 48px 22px 20px;
    background: var(--overlay-bottom);
}

.home-page .references-section .category {
    font-size: 14px;
    font-weight: 600;
    color: color-mix(in srgb, var(--main-text-color) 78%, transparent);
}

.home-page .references-section .title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.home-page .references-section .item.big .title {
    font-size: clamp(1.375rem, 2vw, 1.75rem);
}

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

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

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

    .home-page .references-section .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
}

@media (max-width: 575.98px) {
    .home-page .references-section .bento {
        grid-auto-rows: 170px;
        gap: 12px;
    }

    .home-page .references-section .info {
        padding: 36px 14px 14px;
    }

    .home-page .references-section .title {
        font-size: 16px;
    }

    .home-page .references-section .arrow {
        display: none;
    }
}

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

.services-page .list-section .row-item + .row-item {
    margin-top: clamp(48px, 7vw, 96px);
}

.services-page .list-section .image {
    display: block;
    aspect-ratio: 20 / 13;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.services-page .list-section .image img,
.services-page .list-section .image .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.services-page .list-section .image:hover img {
    transform: scale(1.04);
}

.services-page .list-section .heading {
    margin-bottom: 14px;
}

.services-page .list-section .heading a:hover {
    color: var(--accent-ink);
}

.services-page .list-section .points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin: 24px 0 32px;
}

.services-page .list-section .points li {
    display: flex;
    gap: 10px;
    font-weight: 500;
    color: var(--heading-color);
}

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

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

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

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

.service-page .detail-section .lead-text {
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--heading-color);
}

.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: 54px;
    height: 54px;
    border-radius: 50%;
    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 {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-page .detail-section .facts .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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





.service-page .detail-section .facts .mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 600;
    color: var(--main-text-color);
    word-break: break-all;
}

.service-page .detail-section .facts .mail svg {
    flex: none;
    width: 18px;
    color: var(--accent-color);
}

.service-page .detail-section .text {
    margin-top: 14px;
}

.service-page .detail-section .subheading {
    margin: 44px 0 20px;
    font-size: clamp(22px, 2vw, 26px);
}

.service-page .detail-section .blocks {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
}

.service-page .detail-section .block .title {
    font-size: 18px;
}

.service-page .detail-section .block .text {
    margin: 0;
    font-size: 16px;
}

.service-page .detail-section .facts .title {
    font-size: 20px;
}

.service-page .detail-section .audience {
    margin-bottom: 24px;
}

.service-page .detail-section .needs {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.service-page .detail-section .needs li {
    display: flex;
    gap: 10px;
    color: var(--main-text-color);
}

.service-page .detail-section .needs svg {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 4px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.service-page .detail-section .facts .media-placeholder {
    min-height: 0;
    height: 100%;
}

.service-page .process-section {
    background: var(--second-color);
    padding-top: 0;
}

.service-page .process-section .icon {
    background: var(--third-color);
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .service-page .detail-section .blocks {
        grid-template-columns: 1fr;
    }
}
.service-page .related-section {
    background: var(--third-color);
}

.service-page .related-section .reference {
    background: var(--second-color);
}

@media (max-width: 575.98px) {
    .service-page .detail-section .block {
        flex-direction: column;
        gap: 12px;
    }
}

/***** REFERENCES *****/

.references-page .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.references-page .filter {
    min-height: 48px;
    padding: 0 22px;
    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.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.references-page .filter:hover {
    border-color: var(--heading-color);
}

.references-page .filter.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--main-text-color);
}

/***** REFERENCE (detail) *****/

.reference-page .detail-section .photo {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.reference-page .detail-section .photo img {
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--ease);
}

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

.reference-page .detail-section .photo .zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--heading-color);
}

.reference-page .detail-section .photo .zoom svg {
    width: 20px;
}

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

.reference-page .detail-section .lead-text {
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--heading-color);
}

.reference-page .detail-section .subheading {
    margin: 32px 0 16px;
    font-size: 22px;
}

.reference-page .detail-section .delivered {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.reference-page .detail-section .delivered li {
    display: flex;
    gap: 10px;
    font-weight: 500;
    color: var(--heading-color);
}

.reference-page .detail-section .delivered svg {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 4px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.reference-page .detail-section .service {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--third-color);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
}

.reference-page .detail-section .service > span:not(.icon) {
    flex: 1;
}

.reference-page .detail-section .service small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-color);
}

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

.reference-page .detail-section .service:hover {
    color: var(--accent-ink);
}

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

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

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

.about-page .intro-section .lead-text {
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--heading-color);
}

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

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

.about-page .intro-section .image img,
.about-page .intro-section .image .media-placeholder {
    width: 100%;
    aspect-ratio: 7 / 8;
    object-fit: cover;
}

.about-page .team-section .image img,
.about-page .team-section .image .media-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-page .intro-section .person {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--third-color);
}

.about-page .intro-section .person > span:not(.icon) {
    flex: 1;
    min-width: 180px;
}

.about-page .intro-section .person strong {
    display: block;
    font-size: 18px;
    color: var(--heading-color);
}

.about-page .intro-section .person > .icon,
.about-page .team-section .roles .icon,
.about-page .workshop-section .item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--second-color);
    color: var(--accent-ink);
}

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

.about-page .pillars-section .service-card {
    background: var(--third-color);
}

.about-page .team-section {
    background: var(--third-color);
}

.about-page .team-section .roles {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.about-page .team-section .roles li {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--second-color);
}

.about-page .team-section .roles .icon {
    background: var(--third-color);
}

.about-page .team-section .roles strong {
    display: block;
    color: var(--heading-color);
}

.about-page .workshop-section .box {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background: var(--third-color);
}

.about-page .workshop-section .heading {
    margin-bottom: 14px;
}

.about-page .workshop-section .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.about-page .workshop-section .chips li {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: var(--second-color);
    font-weight: 600;
    color: var(--heading-color);
}

.about-page .workshop-section .address {
    display: grid;
    align-content: center;
    gap: 18px;
}

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

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

.about-page .workshop-section a.item:hover {
    color: var(--accent-ink);
}

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

    .about-page .intro-section .image img,
    .about-page .intro-section .image .media-placeholder {
        aspect-ratio: 4 / 3;
    }
}
/***** 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;
}

.contact-page .form-section .info .heading {
    margin-bottom: 8px;
}

.contact-page .form-section .note {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--heading-color);
}

.contact-page .form-section .note svg {
    flex: none;
    width: 20px;
    margin-top: 3px;
    color: var(--accent-ink);
}

.contact-page .form-section a.item:hover {
    color: var(--accent-ink);
}

.contact-page .form-section .send {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--third-color);
}

.contact-page .form-section .send .title {
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-page .form-section .send ul {
    display: grid;
    gap: 8px;
}

.contact-page .form-section .send li {
    display: flex;
    gap: 10px;
}

.contact-page .form-section .send svg {
    flex: none;
    width: 20px;
    margin-top: 3px;
    color: var(--accent-ink);
}

/***** 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: 80px 0 0;
    background: var(--main-color);
    color: color-mix(in srgb, var(--main-text-color) 72%, transparent);
}

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

/* main */
.footer .logo {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--main-text-color);
}

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

.footer .logo .text {
    font-size: 22px;
    font-weight: 700;
}

.footer .heading {
    margin-bottom: 18px;
    font-size: 18px;
    color: var(--main-text-color);
}

.footer .socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--main-text-color) 20%, transparent);
}

/* links */
.footer .links ul {
    display: grid;
    gap: 10px;
}

/* contact */
.footer .contact .items {
    display: grid;
    gap: 14px;
}

.footer .contact .item {
    display: flex;
    gap: 12px;
}

.footer .contact svg {
    flex: none;
    width: 20px;
    color: var(--accent-color);
    margin-top: 3px;
}

/* bottom */
.footer .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 64px;
    padding: 24px 0;
    border-top: 1px solid color-mix(in srgb, var(--main-text-color) 12%, transparent);
    font-size: 15px;
}

.footer .credit {
    color: var(--main-text-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);
}
