@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/montserrat-v31-latin_latin-ext-500.woff2")
        format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/montserrat-v31-latin_latin-ext-600.woff2")
        format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/montserrat-v31-latin_latin-ext-700.woff2")
        format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Figtree";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/figtree-v9-latin_latin-ext-300.woff2") format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/figtree-v9-latin_latin-ext-regular.woff2")
        format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Figtree";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/figtree-v9-latin_latin-ext-500.woff2") format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Figtree";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/figtree-v9-latin_latin-ext-600.woff2") format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Figtree";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/figtree-v9-latin_latin-ext-700.woff2") format("woff2");
}

: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;
    }
}
h3 {
    font-size: 1.875rem;
    color: var(--text-dim);
    text-transform: uppercase;
}
: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: 0.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;
}

.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.png");
    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;
}
.b-shell {
    max-width: 2100px;
    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--podlahy {--service-photo: url("../img/sluzby_podlahove_vytapeni_2.jpg");}
.service--radiatory {--service-photo: url("../img/sluzby_radiatory.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");
}
.about-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    &::after {
        content: '';
        top: -15px;
        left: -15px;
        position: absolute;
        background-color: transparent;
        border: 5px solid var(--primary);
        width: 10rem;
        height: 10rem;
        z-index: -1;
    }
    &::before {
        content: '';
        position: absolute;
        bottom: -15px;
        right: -12px;
        background-color: var(--primary);
        width: 15rem;
        height: 15rem;
        z-index: -1;
        @media (min-width: 64rem) {right: -15px}
    }
    img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        aspect-ratio: 16 / 10;
    }
}
textarea {
    resize: vertical;
}
.bt {
    border-top: 1px solid var(--text);
}
.text-xs {font-size: 0.625rem;}
.text-sm {
    font-size: 0.875rem;
}
.text-md {
    font-size: 1rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.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-white {
    color: white;
}
.text-center {
    text-align: center;
}
.text-d-none {
    text-decoration: none;
}
.color-primary {
    color: var(--primary);
}
.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-md {
    margin-bottom: var(--gap-md);
}
.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-3 {
    grid-column: span 3;
}
.col-4 {
    grid-column: span 4;
}
.d-none {
    display: none !important;
}
.my-sm {
    margin-block: var(--gap-sm);
}
.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);
}
.p-md {
    padding: var(--gap-md);
}
.p-lg {padding: var(--gap-lg)}
.font-500 {
    font-weight: 500;
}
.font-600 {
    font-weight: 600;
}
.font-700 {
    font-weight: 700;
}
.leading-none {
    line-height: 1;
}
.just-center {
    justify-content: center;
}
.just-between {
    justify-content: space-between;
}
.align-start {
    align-items: flex-start;
}
.align-center {
    align-items: center;
}
.h-full {
    height: 100%;
}
.w-full {
    width: 100%;
}
.order-1 {
    order: 1;
}
.order-2 {
    order: 2;
}
.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-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) {
    .d-sm-visible {display: block !important;}
    .col-sm-2 {grid-column: span 2;}
    .gap-sm-lg {gap: var(--gap-lg);}
    .text-sm-sm {font-size: 0.875rem}
}
/* md */
@media (min-width: 48rem) {
    .d-md-visible {
        display: block !important;
    }
    .col-md-2 {
        grid-column: span 2;
    }
    .gap-md-lg {
        gap: var(--gap-lg);
    }
    .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) {
    .col-lg-1 {grid-column: span 1;}
    .col-lg-2 {grid-column: span 2;}
    .order-lg-1 {order: 1;}
    .order-lg-2 {order: 2;}
    .flex-lg-row {flex-direction: row;}
    .gap-lg-sm {gap: var(--gap-sm);}
    .d-lg-visible {display: block !important;}
}
/* xl */
@media (min-width: 80rem) {
    .col-xl-1 {grid-column: span 1;}
}

/* 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;
    height: 100%;
    overflow: hidden;
    transition: border-color 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
    border-color: var(--primary-bright);
}

/* Banner Container */
.review-card__banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.review-card__banner {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-dark);
}

.review-card__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Action Overlay on Hover */
.review-card__banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(33, 37, 41, 0.5); /* Tinted dark charcoal */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--bg);
    z-index: 1;
}

.review-card__banner-overlay svg {
    stroke: currentColor;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card__banner-overlay span {
    font-family: 'Figtree', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.review-card__banner:hover img {
    transform: scale(1.06);
}

.review-card__banner:hover .review-card__banner-overlay {
    opacity: 1;
}

.review-card__banner:hover .review-card__banner-overlay svg {
    transform: scale(1.15);
}

/* Top-Right Gallery Counter Badge */
.review-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--bg-dark);
    color: var(--bg);
    padding: 6px 10px;
    font-family: 'Figtree', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none; /* Let clicks trigger the banner */
}

.review-card__badge svg {
    stroke: currentColor;
}

/* Padded Content Body */
.review-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    padding: var(--gap-sm);
    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);
    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: auto; /* Pushes the author to the bottom of the card */
    padding-top: var(--gap-sm);
}

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

/* --- 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;
    padding: 24px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

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);
    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;
    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;
        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);
    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);
    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;
    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 {
    max-width: 180px;
    width: 100%;
    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;
    }
}

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

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

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

/* Klimatizace Microsite Custom Additions
   ========================================================================== */

/* 1. Partners / Brands Ribbon */
.partners-ribbon {
    background-color: var(--bg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: var(--gap-md) 0;
    width: 100%;
}

/* 3. 6-Step Process Grid */
.ac-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-md);
    width: 100%;
}
@media (min-width: 640px) {
    .ac-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ac-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--gap-lg) var(--gap-md);
    }
}

.ac-step {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    padding: var(--gap-md);
    position: relative;
}

.ac-step-badge {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.ac-step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ac-step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dim);
    line-height: 1.3;
    margin: 0;
}
.ac-step-content p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* 4. Servicing Split Callout */
.ac-service-callout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    width: 100%;
    align-items: center;
}
@media (min-width: 992px) {
    .ac-service-callout {
        grid-template-columns: 1.2fr 0.8fr;
    }
}
.ac-service-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.ac-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 7. Alternating A/C Showcase Sections */
.showcase-list {
    margin-top: var(--gap-lg);
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
}
.showcase-item {
    align-items: center;
    padding-bottom: var(--gap-xl);
}
.showcase-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.showcase-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.showcase-desc {
    margin: 0;
    line-height: 1.6;
}
.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.showcase-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text);
}
.showcase-features .icon-sm {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}
.showcase-cta {
    align-self: flex-start;
}
