@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/montserrat-v31-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v31-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/figtree-v9-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/figtree-v9-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/figtree-v9-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/figtree-v9-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/figtree-v9-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --primary: #b80a1d;
    --primary-bright: #ec001c;
    --primary-dark: #900818;
    --bg: white;
    --bg-dark: #212529;
    --bg-grey: #a6a6a6;
    --bg-bright: #f0efed;
    --text: #464646;
    --text-dim: #252525;
    --text-bright: #c8c8c8;
    --text-muted: #525252;
    --shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --gap-xs: 0.5rem;
    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 3rem;
    --gap-xl: 4rem;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scroll-padding: 40px;
}
@view-transition {navigation: auto;}
body {
    background-color: white;
    font-family: 'Figtree', system-ui;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    font-synthesis: none;
    min-height: 100vh;
}
:is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    position: relative;
    padding: 5px 0;
    color: var(--text-dim);
}
h2 {
    font-size: 2rem;
    color: var(--text-dim);
    text-transform: uppercase;
    &::after {
        position: absolute;
        content: "";
        width: 150px;
        height: 3px;
        background-color: var(--primary);
        bottom: -2px;
        left: 0;
    }
}
:is(p, a, span, input, textarea) {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(0.875rem, 1rem, 1rem);
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spotlight img{
    display: block;
}
main {
    display: flex;
    flex-direction: column;
    p {
        margin-bottom: .3rem;
        color: var(--text);
        &:last-child {margin-bottom: unset}
        line-height: 1.65;
    }
}
.topbar {
    background-color: var(--bg-dark);
    padding: 10px 0;
    color: white;
    width: 100%;
    .shell {
        max-width: 1400px;
        width: calc(100% - 32px);
        margin: 0 auto;
    }
    a {
        color: white;
        text-decoration: none;
        transition: color 220ms ease;
        &:hover {
            color: var(--primary);
        }
    }
}
header {
    width: 100%;
    position: sticky;
    top: 0;
    padding: 20px 0;
    background-color: var(--bg);
    left: 0;
    z-index: 998;
    box-shadow: var(--shadow);
    .shell {
        max-width: 1400px;
        width: calc(100% - 32px);
        margin: 0 auto;
    }
    .logo {
        width: auto;
        height: 30px;
        @media (min-width: 48rem) {height: 50px}
    }
}
nav {
    display: none;
    flex-direction: row;
    gap: var(--gap-lg);
    align-items: center;
    ul {
        display: flex;
        flex-direction: row;
        gap: var(--gap-md);
        li {list-style-type: none; margin-left: 0 !important;}
        li a {
            color: var(--bg-dark);
            text-decoration: none;
            font-size: 16px;
            text-transform: uppercase;
            font-weight: 700;
            transition: color 220ms ease;
            position: relative;
            &:hover {
                color: var(--bg-dark);
            }
            &:hover::after {width: 100%}
            &::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 0;
                height: 2px;
                background-color: var(--primary);
                transition: width 220ms ease;
            }
        }
    }
    @media (min-width: 64rem) {
        display: flex;
    }
}
ul li {margin-left: 20px}
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.dropdown-chevron {
    width: 10px;
    height: 6px;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: transform 220ms cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown .submenu {
    position: absolute;
    margin-left: 0 !important;
    top: 100%;
    left: 0;
    margin-top: 10px;
    padding: 12px;
    flex-direction: column;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    background: white;
    min-width: 260px;
    box-shadow: var(--shadow);
    border: 1px solid #e5e2df;
    list-style: none;
    z-index: 1000;
    gap: 0;
    transition: opacity 220ms cubic-bezier(0.25, 1, 0.5, 1), transform 220ms cubic-bezier(0.25, 1, 0.5, 1), visibility 220ms;
}

/* Pointer bridge to keep menu open while moving cursor */
.dropdown .submenu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.dropdown .submenu li {
    width: 100%;
    list-style-type: none;
}

.dropdown .submenu li a {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-family: 'Figtree', sans-serif;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--text) !important;
    text-transform: none !important;
    transition: background-color 150ms ease, color 150ms ease;
}

.dropdown .submenu li a::after {
    display: none !important;
}

.dropdown .submenu li a:hover {
    background-color: #f7f6f5;
    color: var(--primary) !important;
}

.primary-button {
    padding: 10px 20px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: var(--primary-bright);
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 220ms ease, color 220ms ease;
    border: 2px solid var(--primary-bright);
    &:hover {
        background-color: white;
        color: var(--primary-bright);
    }
}
.white-button {
    padding: 10px 20px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: white;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 220ms ease, color 220ms ease;
    border: 2px solid white;
    &:hover {
        background-color: transparent;
        color: white;
    }
}
.secondary-button {
    padding: 10px 20px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 220ms ease, color 220ms ease, border 220ms ease;
    border: 2px solid var(--primary);
    &:hover {
        background-color: white;
        border: 2px solid white;
        color: var(--primary);
    }
}
.page-hero {
    width: 100%;
    background: var(--primary) url("../img/bg-blocks.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    .secondary-button {
        border: 2px solid white;
        color: white;
        &:hover {
            background-color: white;
            color: var(--primary);
        }
    }
    h1 {
        text-transform: uppercase;
        font-size: clamp(1.5rem, 2.25rem, 4vw);
        color: white !important;
    }
}
.hero-img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    max-height: 700px;
}
.shell {
    max-width: 1300px;
    width: calc(100% - 32px);
    margin: 0 auto;
}
footer {
    background: var(--bg-dark) url("../img/footer.svg");
    background-position: bottom -50px left 100px;
    background-size: contain;
    background-repeat: no-repeat;
    color: white;
    .logo {
        width: auto;
        height: 50px;
    }
    h2 {
        margin-bottom: var(--gap-sm);
        color: white;
        text-transform: uppercase;
        font-size: 1.5rem;
        line-height: 1.2;
        &:after {
            width: 50px;
        }
    }
    ul {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    ul li {
        line-height: 1.5;
        list-style: none;
        position: relative;
        margin-left: 0 !important;
        a {
            color: white;
            transition: color 220ms ease;
            text-decoration: none;
            &:hover {
                color: var(--primary);
            }
        }
    }
    p {line-height: 1.65}
    button {
        color: white;
        background-color: transparent;
        transition: color 220ms ease;
        cursor: pointer;
        font-size: 1rem;
        font-family: 'Figtree', sans-serif;
        &:hover {
            color: var(--primary);
        }
    }
    a {
        color: white;
        text-decoration: none;
        transition: color 220ms ease;
        &:hover {
            color: var(--primary);
        }
    }
}
label {
    padding-bottom: 5px;
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 400;
}
input:is([type=text], [type=tel], [type=email]), textarea, select {
    padding: 10px 20px;
    border: 1px solid var(--bg-grey);
    width: 100%;
    max-width: 100%;
    font-family: 'Figtree', sans-serif;
    &:focus {
        outline: 1px solid var(--primary);
        border: 1px solid var(--primary);
    }
}
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
@media (min-width: 64rem) {
    input:is([type=text], [type=tel], [type=email]) {
        max-width: 100%;
    }
    textarea, select {
        width: 100%;
        max-width: 100%;
    }
}
.service {
    background-color: var(--bg-grey);
    background-image: var(--service-photo);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 220ms ease;
    text-decoration: none;
    .content {
        background-color: rgba(0,0,0,0.3);
        transition: background-color 220ms ease;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        &:hover {
            background-color: rgba(0,0,0,0.5);
        }
    }
    .service-title {
        font-size: 1.275rem;
        text-transform: uppercase;
        color: white;
        font-weight: 700;
        margin-top: 1.2rem;
        letter-spacing: 1px;
    }
    p {
        color: var(--text);
        padding: var(--gap-sm);
        background-color: rgba(255,255,255,0.8);
    }
    &::before {
        content: '';
        width: 20px;
        height: 40px;
        background-color: white;
        position: absolute;
        top: 2.9rem;
        left: 0;
        clip-path: polygon(0% 0%, 50% 50%, 0% 100%);
    }
    @media (min-width: 64rem) {
        min-height: 350px;
    }
}
.service--otopne    {--service-photo: url("../img/sluzby_kompletni_topeni.jpg");}
.service--podlahy   {--service-photo: url("../img/sluzby_podlahove_vytapeni_2.jpg");}
.service--radiatory {--service-photo: url("../img/sluzby_radiatory.jpg");}
.service--kotle     {--service-photo: url("../img/sluzby_plynove_kotle.jpg");}
.service--kotle-plyn{--service-photo: url("../img/sluzby_plynove_kotle.jpg");}
.service--kotle-tuhe{--service-photo: url("../img/sluzby_kotle_tuha_paliva.jpg");}
.service--stenove   {--service-photo: url("../img/sluzby_kompletni_topeni.jpg");}
.service--cerpadla  {--service-photo: url("../img/sluzby_tepelna_cerpadla.jpg");}
.service--tuhe      {--service-photo: url("../img/sluzby_kotle_tuha_paliva.jpg");}
.about-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    &::after {
        content: '';
        position: absolute;
        background-color: var(--primary);
        top: -2rem;
        left: -2rem;
        width: 200px;
        height: 200px;
        z-index: -1;
    }
    img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
}
textarea {resize: vertical}
.bt {border-top: 1px solid var(--text)}
.ratio-1x1 {aspect-ratio: 1 / 1}
.text-sm {font-size: 0.875rem}
.text-md {font-size: 1rem}
.text-lg {font-size: 1.125rem}
.text-xl {font-size: 1.25rem}
.text-2xl {font-size: 1.5rem}
.text-3xl {font-size: 1.875rem}
.text-4xl {font-size: 2.25rem}
.text-bright {color: var(--text-bright)}
.text-dim {color: var(--text-dim)}
.text-muted {color: var(--text-muted)}
.text-white {color: white}
.text-center {text-align: center}
.text-d-none {text-decoration: none}
.color-primary {color: var(--primary)}
.color-primary-d {color: var(--primary-dark)}
.color-primary-b {color: var(--primary-bright)}
.color-white {color: white}
.flex-col {display: flex; flex-direction: column}
.flex-row {display: flex; flex-direction: row}
.gap-xs {gap: var(--gap-xs)}
.gap-sm {gap: var(--gap-sm)}
.gap-md {gap: var(--gap-md)}
.gap-lg {gap: var(--gap-lg)}
.gap-xl {gap: var(--gap-xl)}
.mb-sm {margin-bottom: var(--gap-sm)}
.mb-md {margin-bottom: var(--gap-md)}
.mb-lg {margin-bottom: var(--gap-lg)}
.mb-xl {margin-bottom: var(--gap-xl)}
.grid-4 {display: grid; grid-template-columns: repeat(4, 1fr)}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    @media (min-width: 64rem) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    @media (min-width: 40rem) {
        grid-template-columns: repeat(2, 1fr);
    }
}
.col-1 {grid-column: span 1}
.col-2 {grid-column: span 2}
.col-3 {grid-column: span 3}
.col-4 {grid-column: span 4}
.d-none {display: none !important;}
.my-sm {margin-block: var(--gap-sm)}
.my-md {margin-block: var(--gap-md)}
.my-lg {margin-block: var(--gap-lg)}
.my-xl {margin-block: var(--gap-xl)}
.my-auto {margin-block: auto}
.mx-sm {margin-inline: var(--gap-sm)}
.mx-md {margin-inline: var(--gap-md)}
.mx-lg {margin-inline: var(--gap-lg)}
.mx-xl {margin-inline: var(--gap-xl)}
.mx-auto {margin-inline: auto}
.m-sm {margin: var(--gap-sm)}
.m-md {margin: var(--gap-md)}
.m-lg {margin: var(--gap-lg)}
.m-xl {margin: var(--gap-xl)}
.py-sm {padding-block: var(--gap-sm)}
.py-md {padding-block: var(--gap-md)}
.py-lg {padding-block: var(--gap-lg)}
.py-xl {padding-block: var(--gap-xl)}
.px-sm {padding-inline: var(--gap-sm)}
.px-md {padding-inline: var(--gap-md)}
.px-lg {padding-inline: var(--gap-lg)}
.px-xl {padding-inline: var(--gap-xl)}
.p-sm {padding: var(--gap-sm)}
.p-md {padding: var(--gap-md)}
.p-lg {padding: var(--gap-lg)}
.p-xl {padding: var(--gap-xl)}
.font-500 {font-weight: 500}
.font-600 {font-weight: 600}
.font-700 {font-weight: 700}
.font-800 {font-weight: 800}
.leading-none {line-height: 1}
.just-left {justify-content: left}
.just-center {justify-content: center}
.just-right {justify-content: right}
.just-between {justify-content: space-between}
.just-self-left {justify-self: left}
.just-self-center {justify-self: center}
.just-self-right {justify-self: right}
.align-start {align-items: flex-start}
.align-center {align-items: center}
.align-end {align-items: flex-end}
.align-self-start {align-self: flex-start}
.align-self-center {align-self: center}
.align-self-end {align-self: flex-end}
.h-full {height: 100%}
.w-full {width: 100%}
.order-1 {order: 1}
.order-2 {order: 2}
.bg-grey {background-color: var(--bg-grey);}
.bg-dark {background-color: var(--bg-dark);}
.bg-white {background-color: white}
.bg-map {background-image: url("../img/mapa.webp"); background-repeat: no-repeat; background-position: center; background-size: cover}
.bg-red {
    background-color: var(--primary);
    h2 {
        color: white;
        &:after {
            background-color: white;
        }
    }
}
.bg-bright {
    background-color: var(--bg-bright);
    --text-muted: #3d3d3d;
}
.bg-img {background-image: url("../img/bg-blocks.webp"); background-repeat: no-repeat; background-position: center; background-size: cover}

/* Icon Utilities */
.icon-sm {
    width: 1.125rem;
    height: 1.125rem;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.icon-md {
    width: 2.25rem;
    height: 2.25rem;
    stroke-width: 1.75;
    stroke: currentColor;
    fill: none;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* sm */
@media (min-width: 40rem) {
    h1.title {font-size: 48px}
    .d-sm-visible {display: block !important;}
    .col-sm-1 {grid-column: span 1}
    .col-sm-2 {grid-column: span 2}
    .col-sm-3 {grid-column: span 3}
    .col-sm-4 {grid-column: span 4}
    .align-sm-end {align-items: flex-end}
    .gap-sm-lg {gap: var(--gap-lg)}
    .flex-sm-row {flex-direction: row}
}
/* md */
@media (min-width: 48rem) {
    h1.title {font-size: 64px}
    .d-md-visible {display: block !important;}
    .col-md-1 {grid-column: span 1}
    .col-md-2 {grid-column: span 2}
    .col-md-3 {grid-column: span 3}
    .col-md-4 {grid-column: span 4}
    .align-md-end {align-items: flex-end}
    .gap-md-lg {gap: var(--gap-lg)}
    .gap-md-sm {gap: var(--gap-sm)}
    .flex-md-row {flex-direction: row}
    .text-md-left {text-align: left}
    .text-md-right {text-align: right}
    .p-md-xl {padding: var(--gap-xl)}
}
/* lg */
@media (min-width: 64rem) {
    .d-lg-visible {display: block !important;}
    .col-lg-1 {grid-column: span 1}
    .col-lg-2 {grid-column: span 2}
    .col-lg-3 {grid-column: span 3}
    .col-lg-4 {grid-column: span 4}
    .align-lg-end {align-items: flex-end}
    .gap-lg-lg {gap: var(--gap-lg)}
    .order-lg-1 {order: 1}
    .order-lg-2 {order: 2}
    .p-lg-lg {padding: var(--gap-lg)}
    .flex-lg-row {flex-direction: row}
    .gap-lg-sm {gap: var(--gap-sm)}
}
/* xl */
@media (min-width: 80rem) {
    .d-xl-visible {display: block !important;}
    .col-xl-1 {grid-column: span 1}
    .col-xl-2 {grid-column: span 2}
    .col-xl-3 {grid-column: span 3}
    .col-xl-4 {grid-column: span 4}
}

.service-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}
.home-service-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-dim);
}
.home-service-item p {
    max-width: 60ch;
    line-height: 1.65;
    color: var(--text);
}
@media (min-width: 40rem) {
    .home-services {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-service-item {
        border-bottom: none;
        padding-bottom: 0;
    }
}
@media (min-width: 64rem) {
    .home-services {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--gap-md);
    }
}

.home-why {
    background-color: #f5f4f2;
}
.home-why-inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}
.home-why-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
}
.home-why-item {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    align-items: baseline;
    padding-top: var(--gap-md);
    padding-bottom: var(--gap-md);
}
.home-why-ordinal {
    flex: 0 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e3021b;
    padding-top: 0.15em;
    user-select: none;
    min-width: 1.75rem;
}
.home-why-body {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    flex: 1;
}
.home-why-item p {
    line-height: 1.65;
    color: var(--text);
    max-width: 65ch;
    margin: 0;
}

/* --- 3. Reference a realizace --- */
.gallery .spotlight {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: transform 220ms ease;
}
.gallery .spotlight:hover {
    transform: scale(1.02);
}
.gallery .spotlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider System (Universal Classes) */
.slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.slider-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    cursor: grab;
    user-select: none;
}

.slider-viewport::-webkit-scrollbar {
    display: none;
}

.slider-viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.slider-track {
    display: flex;
    gap: 24px;
    width: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
}

@media (min-width: 768px) {
    .slider-slide {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (min-width: 992px) {
    .slider-slide {
        flex: 0 0 calc(33.333% - 16px);
    }
}

/* Review Card Styling */
.review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg);
    border: 1px solid #e5e2df;
    padding: var(--gap-sm);
    height: 100%;
    justify-content: space-between;
}

.review-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    flex-grow: 1;
}

.review-stars {
    color: #f5a623;
    font-size: 1.125rem;
}

.review-text {
    font-family: 'Figtree', sans-serif;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin: 0;
}

.review-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-top: var(--gap-xs);
}

/* Review Thumbnails */
.review-card__thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--gap-sm);
}

.review-thumbnail {
    display: block;
    width: 60px;
    height: 60px;
    border: 1px solid #e5e2df;
    overflow: hidden;
    transition: border-color 220ms ease, transform 220ms ease;
    cursor: pointer;
}

.review-thumbnail:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.review-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
.slider-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: var(--gap-xs);
}

.slider-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: var(--bg-grey);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 220ms ease, width 220ms ease;
    padding: 0;
}

.slider-dot:hover {
    background-color: var(--primary-bright);
}

.slider-dot.is-active {
    background-color: var(--primary);
    width: 24px;
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--bg-dark);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, opacity 220ms ease;
}

.slider-arrow:hover {
    background-color: var(--primary);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: var(--bg-dark);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* --- 4. Náš tým --- */
.home-team {
    background-color: #f0efed;
}
.home-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
}
.home-team-member {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}
.home-team-photo {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.home-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.home-team-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.home-team-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-dim);
}
.home-team-role {
    font-family: 'Figtree', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
}
.home-team-info p {
    line-height: 1.65;
    color: var(--text);
    max-width: 48ch;
}
@media (min-width: 40rem) {
    .home-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 64rem) {
    .home-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- 5. FAQ --- */

.home-faq-list {
    display: flex;
    flex-direction: column;
}
.home-faq-item {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.home-faq-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.home-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--gap-md) 0;
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.home-faq-question::-webkit-details-marker { display: none; }
.home-faq-question span:first-child {
    flex: 1;
    line-height: 1.5;
    font-size: 1.275rem;
}
.home-faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-faq-icon::before,
.home-faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text);
    transition: transform 260ms ease-out, opacity 260ms ease-out;
}
.home-faq-icon::before {
    width: 12px;
    height: 1.5px;
}
.home-faq-icon::after {
    width: 1.5px;
    height: 12px;
}
.home-faq-item[open] .home-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.home-faq-answer {
    padding-bottom: var(--gap-md);
    padding-right: calc(24px + var(--gap-md));
}
.home-faq-answer p {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 68ch;
}
.home-faq-answer strong {
    color: var(--text);
    font-weight: 600;
}
@media (min-width: 48rem) {
    .home-faq-question {
        font-size: 1.0625rem;
    }
    .home-faq-icon {
        width: 28px;
        height: 28px;
    }
}

#kontakt iframe {
    width: 100%;
    height: 350px;
    display: block;
    filter: grayscale(1) opacity(0.85);
    transition: filter 0.3s ease, opacity 0.3s ease;
    @media (min-width: 64rem) {
        height: 100%;
        min-height: 450px;
    }
    &:hover {
        filter: grayscale(0) opacity(1);
    }
}

.contact-form-col {
    background-color: var(--bg-dark);
    padding: var(--gap-md);
    gap: var(--gap-md);
}
@media (min-width: 64rem) {
    .contact-form-col {
        padding: var(--gap-lg);
        gap: var(--gap-lg);
    }
}

/* --- Mobile Menu Styles --- */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

@media (min-width: 64rem) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    display: none; /* Physically hidden when closed to prevent covering/blocking navbar */
    padding: 24px 20px;
    box-sizing: border-box;
    overflow-y: auto; /* Enable scrolling for small screen viewports (e.g. iPhone SE) */
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .mobile-menu-overlay {
    display: block;
    animation: mobileMenuFadeIn 0.25s ease forwards;
}

@keyframes mobileMenuFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Wrapper */
.mobile-menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.mobile-menu-header .logo {
    display: block;
    width: auto;
    height: 30px;
    @media (min-width: 48rem) {height: 50px};
}
.mobile-menu-header .logo img {
    height: 100%;
    width: auto;
    display: block;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu-close span {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary); /* Red/Primary color for close button */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-close span:first-child {
    transform: rotate(45deg);
}
.mobile-menu-close span:last-child {
    transform: rotate(-45deg);
}

/* Navigation Links */
.mobile-menu-nav {
    display: block !important; /* Overrides the global nav { display: none } on mobile */
    margin: auto 0;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    
    .dropdown-chevron {
        width: 12px;
        height: 8px;
        margin-left: 6px;
        opacity: 0.7;
    }

    .submenu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 6px;
        padding: 0;
        list-style: none;
    }

    .submenu li a {
        font-family: 'Figtree', sans-serif;
        font-size: 1.125rem !important; /* 18px */
        color: var(--text) !important;
        text-transform: none !important;
        font-weight: 500 !important;
        padding: 4px 0 !important;
        display: block;
    }

    .submenu li a:hover {
        color: var(--primary) !important;
    }
}

body.mobile-menu-open .mobile-menu-nav {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm); /* Smaller gap for mobile screens */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu-nav ul li {
    text-align: center;
}
.mobile-menu-nav ul li a {
    color: var(--primary); /* Primary brand color for menu links */
    font-family: 'Figtree', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.04em;
    display: block;
    padding: 6px 0; /* Compact padding for small screen heights */
    transition: color 0.2s ease;
}
.mobile-menu-nav ul li a:hover {
    color: var(--bg-dark);
}
.mobile-menu-nav ul li a.primary-button {
    font-size: 1.125rem;
    padding: 12px 30px;
    border: none;
    display: inline-block;
    color: white;
    background-color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 0;
    width: auto;
}
.mobile-menu-nav ul li a.primary-button:hover {
    background-color: var(--bg-dark);
    color: white;
}

/* Footer details */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

body.mobile-menu-open .mobile-menu-footer {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 0;
}
.mobile-menu-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.review-stars {color: #ffaf27}
.brand-logo {
    width: 180px;
    height: auto;
}
/* CookieConsent Custom Theme */
#cc-main {
    --cc-font-family: 'Figtree', sans-serif;
    --cc-modal-border-radius: 0px;
    --cc-btn-border-radius: 0px;
    --cc-pm-toggle-border-radius: 0px;
    
    --cc-bg: #fafafa;
    --cc-primary-color: var(--bg-dark);
    --cc-secondary-color: var(--text);
    
    --cc-btn-primary-bg: var(--primary);
    --cc-btn-primary-color: #fafafa;
    --cc-btn-primary-border-color: var(--primary);
    --cc-btn-primary-hover-bg: var(--bg-dark);
    --cc-btn-primary-hover-color: #fafafa;
    --cc-btn-primary-hover-border-color: var(--bg-dark);
    
    --cc-btn-secondary-bg: var(--bg-bright);
    --cc-btn-secondary-color: var(--bg-dark);
    --cc-btn-secondary-border-color: var(--bg-bright);
    --cc-btn-secondary-hover-bg: var(--bg-grey);
    --cc-btn-secondary-hover-color: var(--bg-dark);
    --cc-btn-secondary-hover-border-color: var(--bg-grey);
    
    --cc-separator-border-color: var(--bg-grey);
    
    --cc-toggle-on-bg: var(--primary);
    --cc-toggle-off-bg: var(--bg-grey);
    --cc-toggle-on-knob-bg: #fafafa;
    --cc-toggle-off-knob-bg: #fafafa;
    
    --cc-toggle-readonly-bg: var(--bg-bright);
    --cc-toggle-readonly-knob-bg: #fafafa;
    
    --cc-cookie-category-block-bg: #fafafa;
    --cc-cookie-category-block-border: var(--bg-grey);
    --cc-cookie-category-block-hover-bg: #fafafa;
    --cc-cookie-category-block-hover-border: var(--primary);
    --cc-cookie-category-expanded-block-bg: #fafafa;
    
    --cc-footer-bg: var(--bg-dark);
    --cc-footer-color: #fafafa;
    --cc-footer-border-color: var(--bg-dark);
}

#cc-main .cc__btn {
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-radius: 0 !important;
}

#cc-main .cm, #cc-main .pm {
    border-radius: 0px !important;
    border: 1px solid var(--bg-bright);
    box-shadow: var(--shadow);
}

/* ── Financovani (Cena a návratnost) ─────────────────────────── */
.financovani-inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}
.financovani-head {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    max-width: 72ch;
}
.financovani-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
}
@media (min-width: 56rem) {
    .financovani-body {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Ledger */
.financovani-ledger {
    display: flex;
    flex-direction: column;
}
.ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--gap-md);
    padding: 0.875rem 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    &:last-of-type {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
}
.ledger-label {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-bright);
    line-height: 1.4;
}
.ledger-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #fafafa;
    white-space: nowrap;
}
.ledger-note {
    margin-top: var(--gap-sm);
    font-family: 'Figtree', sans-serif;
    font-size: 0.8125rem;
    color: var(--bg-grey);
    line-height: 1.6;
}

/* Stat */
.financovani-stat {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    align-items: flex-start;
}
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    color: var(--primary-bright);
    letter-spacing: -0.02em;
    sup {
        font-size: 0.45em;
        vertical-align: super;
    }
}
.stat-caption {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-bright);
    line-height: 1.6;
    max-width: 38ch;
}

/* Footnote strip */
.financovani-footnote {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-sm);
    padding-top: var(--gap-md);
    border-top: 1px solid rgba(255,255,255,0.12);
    p {
        font-family: 'Figtree', sans-serif;
        font-size: 0.9rem;
        color: var(--text-bright);
        line-height: 1.6;
    }
}

/* ── Dotace (Získejte dotaci) ────────────────────────────────── */
.dotace-inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}
.dotace-head {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    max-width: 68ch;
}
.dotace-programmes {
    display: flex;
    flex-direction: column;
}
.dotace-programme-row {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    padding: var(--gap-md) 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    &:last-child {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
}
@media (min-width: 48rem) {
    .dotace-programme-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap-lg);
    }
}
.programme-meta {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.programme-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: #fafafa;
}
.programme-desc {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: var(--text-bright);
    line-height: 1.5;
    max-width: 52ch;
}
.programme-amount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--primary-bright);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}
.dotace-footer {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    padding-top: var(--gap-md);
}
@media (min-width: 48rem) {
    .dotace-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.dotace-footnote {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-sm);
    p {
        font-family: 'Figtree', sans-serif;
        font-size: 0.9rem;
        color: var(--text-bright);
        line-height: 1.6;
        max-width: 55ch;
    }
}

/* ── Subpages: Shared and Page-specific styles ────────────────── */

/* Responsive Table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: var(--gap-md);
    border: 1px solid var(--bg-grey);
}
.table-responsive table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px;
}
.table-responsive th {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 14px 16px;
    border-bottom: 2px solid var(--primary);
}
.table-responsive td {
    padding: 14px 16px;
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--bg-grey);
    background-color: var(--bg);
}
.table-responsive tr:last-child td {
    border-bottom: none;
}
.table-responsive tr:hover td {
    background-color: var(--bg-bright);
}

/* Info Box / Warning Box Styling */
.info-box-white {
    border: 1px solid var(--bg-grey);
}
.info-box-white h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.info-box-white p {
    font-size: 0.95rem;
    color: var(--text);
}

.bg-charcoal {
    background-color: #2c3034;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.bg-charcoal h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-box-dark {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #2c3034;
}

/* Brand Grid */
.brand-grid .brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-grey);
    letter-spacing: 0.1em;
    transition: color 220ms ease;
    user-select: none;
}
.brand-grid .brand-name:hover {
    color: var(--primary);
}

/* Gallery Placeholders */
.gallery-placeholder-card {
    background-color: var(--bg);
    border: 2px dashed var(--bg-grey);
    transition: border-color 220ms ease, background-color 220ms ease;
    aspect-ratio: 4 / 3;
}
.gallery-placeholder-card:hover {
    border-color: var(--primary);
    background-color: var(--bg-bright);
}
.gallery-placeholder-card span {
    font-size: 1.1rem;
    margin-top: 8px;
}
.gallery-placeholder-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.icon-lg {
    width: 48px;
    height: 48px;
}

/* Video Card (Heat Pumps) */
.video-card {
    background-color: var(--bg);
    border: 1px solid var(--bg-grey);
    transition: transform 220ms ease, box-shadow 220ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.video-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.video-card h4 {
    transition: color 220ms ease;
}
.video-card:hover h4 {
    color: var(--primary);
}
.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-dark);
}
.video-thumbnail iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}
.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}
.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 220ms ease, background-color 220ms ease;
}
.video-card:hover .play-btn-overlay {
    opacity: 1;
    background-color: rgba(33, 37, 41, 0.5);
}
.play-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 220ms ease, background-color 220ms ease;
}
.video-card:hover .play-icon {
    transform: scale(1.1);
    background-color: var(--primary-bright);
}
.play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 14px solid var(--bg);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

/* Product Thumbnail (Heat Pumps) */
.product-thumb {
    position: relative;
    width: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--bg-dark);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price Calculator (Heating Systems) */
.calc-box {
    background: #fafafa;
    padding: var(--gap-sm);
}
@media (min-width: 48rem) {
    .calc-box {
        padding: var(--gap-lg);
    }
}
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: start;
}
@media (max-width: 900px) {
    .calc-wrapper { grid-template-columns: 1fr; }
}
.calc-label {
    font-family: 'Figtree', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.calc-label strong {
    color: var(--text-deep);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}
.calc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.calc-chip {
    font-family: 'Figtree', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--bg-grey);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.calc-chip:hover {
    border-color: var(--text-muted);
    color: var(--text-deep);
}
.calc-chip:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.calc-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--bg-grey);
    cursor: pointer;
}
.calc-range:focus,
.calc-range:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid #fafafa;
}
.calc-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid #fafafa;
    border-radius: 0;
}
.calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Figtree', sans-serif;
}
.calc-result-inner {
    background: var(--bg-bright);
    border: 1px solid var(--bg-grey);
    padding: var(--gap-md);
}
.calc-result-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}
.calc-price {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-deep);
    line-height: 1.1;
    transition: opacity 200ms ease;
}
.calc-price.updating {
    opacity: 0.3;
}
.calc-price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Figtree', sans-serif;
}
.calc-breakdown {
    border-top: 1px solid var(--bg-grey);
    padding-top: var(--gap-sm);
    gap: 6px !important;
}
.calc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Figtree', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.calc-breakdown-row span:last-child {
    font-weight: 600;
    color: var(--text-deep);
    white-space: nowrap;
    padding-left: 8px;
}
.calc-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'Figtree', sans-serif;
    line-height: 1.5;
    border-top: 1px solid var(--bg-grey);
    padding-top: var(--gap-sm);
}
.calc-eyebrow {
    color: var(--primary-bright);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Service Background Images (Underfloor Heating) */
.service--podlahy-cerpadla {
    --service-photo: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=600&q=80');
}
.service--podlahy-plyn {
    --service-photo: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=600&q=80');
}
.service--podlahy-kotle {
    --service-photo: url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&w=600&q=80');
}