/*
Theme Name: FIRES
Theme URI: https://example.com
Author: SHARKANI
Author URI: https://sharkani.com
Description: Custom WordPress theme for FIRES (no builder, Polylang-ready).
Version: 0.1.2
Text Domain: fires
Requires at least: 6.0
Requires PHP: 8.0
*/

/* =========================================
   1. BASE & RESET
========================================= */
*,
*::before,
*::after,
section {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--ff);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--dark-blue);
    overflow-x: hidden;
}

p {
    margin-top: 0;
}

section,
#online-skusky {
    overflow-x: hidden;
    scroll-margin-top: 139px;
    position: relative;
    min-height: calc(100vh - var(--menu-height));
    min-height: calc(100dvh - var(--menu-height));
        display: flex;
            flex-direction: column;
            align-self: stretch;
            justify-content: center;
}

#cta-form {
    scroll-margin-top: 139px;
}

/* =========================================
   2. VARIABLES (Colors, Typography, Sizes)
========================================= */
:root {
    /* Colors */
    --fires: #ED5F55;
    --doplnkova: #027675;
    --white: #ffffff;
    --dark-blue: #06203F;
    --green: #608B32;
    --gray: #F5F5F5;

    /* Typography */
    --ff: "Red Hat Display", system-ui, -apple-system, Arial, sans-serif;
    --fw-regular: 500;
    --fw-bold: 700;
    --fw-black: 900;
    --lh-heading: 1.2;
    --lh-body: 1.4;

    /* Desktop sizes */
    --fs-h1: 2.625rem;
    /* 42px */
    --fs-h2: 2.625rem;
    /* 42px */
    --fs-h3: 1.375rem;
    /* 22px */
    --fs-body: 1rem;
    /* 16px */
    --fs-badge: 1.375rem;
    /* 22px */
    --fs-stat: 3.25rem;
    /* 52px */
    --menu-height: 139px;
}

/* =========================================
   3. GLOBAL TYPOGRAPHY
========================================= */
h1,
h2,
h3 {
    margin: 0;
    font-family: var(--ff);
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    letter-spacing: 0%;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

.is-accent {
    color: var(--fires);
}

.is-accent-green {
    color: var(--green);
}

.page-content {
    padding: 5rem 0;
}

.page-content .docs-list {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.docs-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 0;
    align-items: start;
    margin-bottom: 10px;
}

.docs-list li::before {
    content: "›";
    display: block;
    font-size: 21px;
    line-height: 1;
    font-weight: 400;
    transform: translateY(-2px);
    color: var(--fires);
}

.docs-list a {
    display: inline;
    text-decoration: none;
    line-height: 1.35;
    transition: opacity 0.2s ease;
    color: var(--dark-blue);
    width: fit-content;
}

.docs-list a:hover,
.docs-list a:focus {
    opacity: 0.75;
}

/* =========================================
   4. LAYOUT COMPONENTS
========================================= */
.container {
    width: min(75rem, calc(100% - 2.5rem));
    /* 1200px, 40px */
    margin: 0 auto;
    position: relative;
}

.container.centered {
    text-align: center;
}

.fires__divider {
    width: 100%;
    height: 4.125rem;
    /* 90px */
    position: absolute;
    bottom: -1px;
    background: var(--fires);
    clip-path: polygon(0 98%, 50% 0, 100% 98%, 100% 100%, 0 100%);
}

.fires__divider.green {
    background: var(--green);
}

/* Badge System */
.badge-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.badge {
    display: inline-flex;
    height: 3.875rem;
    padding: 0.625rem 1.4375rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0 0 0.63rem 0.63rem;
    /* 10px */
    background: var(--doplnkova);
    color: var(--white);
    font-weight: var(--fw-black);
    text-transform: uppercase;
    font-size: 1.375rem;
    font-style: normal;
    line-height: 120%;
    z-index: 9;
    text-align: center;
}

.badge.green {
    background: var(--green);
}

/* =========================================
   5. BUTTONS (Global)
========================================= */
button {
    cursor: pointer;
}

.btn {
    display: inline-flex;
    padding: 0.875rem 1.5rem;
    /* 14px 24px */
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    /* 8px */
    border-radius: 0.625rem;
    /* 10px */
    text-decoration: none;
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    transition: all 0.4s ease;
}

.btn__icon {
    display: flex
}

.btn--primary {
    background: var(--fires);
    color: var(--white);
    border: 0.0625rem solid var(--fires);
    /* 1px */
}

.btn--primary:hover,
.btn--outline-dark:hover {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

.btn--green,
.btn--green-outline {
    background: var(--green);
    color: var(--white);
    border: 0.0625rem solid var(--green);
    /* 1px */
}

.btn--green:hover {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

.btn--primary.border-white:hover,
.zone .btn--primary:hover,
.cta-global .btn--primary:hover,
button.btn--primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline {
    border: 0.0625rem solid var(--white);
    /* 1px */
    color: var(--white);
    background: transparent;
}

.btn--outline:hover,
.btn--green-outline:hover {
    border-color: var(--white);
    color: var(--dark-blue);
    background: var(--white);
}

.btn--dark {
    background: var(--dark-blue);
    color: var(--white);
    border: 0.0625rem solid var(--dark-blue);
    outline: var(--dark-blue) 0.0625rem solid;
    /* 1px */
}

.btn--dark:hover {
    background: var(--fires);
    color: var(--white);
    border-color: var(--fires);
    outline: var(--white) 0.0625rem solid;
}

.btn--outline-dark {
    border: 0.0625rem solid var(--dark-blue);
    /* 1px */
    color: var(--dark-blue);
    background: transparent;
}

/* ==== COOKIES === */
.cmplz-show-banner {
    cursor: pointer;
}

a.cmplz-show-banner:hover {
    text-decoration: none !important;
}

/* =========================================
   6. HERO SECTION
========================================= */
body.page-template-default:not(.home):not(.front-page) .hero {
    min-height: auto;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    align-self: stretch;
    background: linear-gradient(180deg, #06203F 4.65%, #027675 100%);
    overflow: hidden;
    border-bottom: 10px solid var(--fires);
    min-height: calc(100dvh - 139px);
    justify-content: center;
}

.hero__layout {
    position: relative;
    /* was absolute -> caused clipping on small screens */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    min-height: inherit;
}

.hero__top {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5.625rem;
    padding-bottom: 2rem;
    /* offset for badge/header spacing */
}

.hero__bottom {
    position: relative;
    width: 100%;
    margin-top: auto;
}


.hero.green {
    border-bottom: 10px solid var(--green);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: soft-light;
}

video.hero__media {
    opacity: 0.75;
}

img.hero__media {
    opacity: 0.4;
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 100%;
}

.hero__subtitle {
    color: var(--fires);
    text-align: center;
    font-family: var(--ff);
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.hero__subtitle--404 {
    margin-bottom: 0;
    color: var(--fires);
    font-size: 8rem;
    line-height: 0.92;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero__title {
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    max-width: 75rem;
    /* 900px */
}

.hero__text {
    max-width: 62.375rem;
    /* 920px */
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--white);
}

.hero__checklist {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 750px;
}

.hero__checklist-item {
    display: flex;
    align-items: center;
    gap: .62rem;
    white-space: nowrap;
    /* ← prevents Safari from wrapping text inside items */
}

.hero__checklist-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    /* ← fix: was 30px but width was 22px, inconsistency confuses Safari */
    background: url(assets/icons/border-check.svg) center / contain no-repeat;
}

.hero__checklist-text {
    color: #fff;
    font-weight: 700;
}

.hero__checklist-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero__checklist-link:hover,
.hero__checklist-link:focus-visible {
    color: var(--fires);
}

.hero__buttons {
    margin: 2rem 0;
    z-index: 2;
    /* 32px */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.9375rem;
    /* 15px */
    flex-wrap: wrap;
}

/* Hero Badge */
.hero__badge-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero__badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    padding: 0.625rem 1.4375rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    /* 10px */
    border-radius: 0 0 0.625rem 0.625rem;
    /* 10px */
    background: var(--doplnkova);
    color: var(--white);
    font-family: var(--ff);
    font-size: var(--fs-badge);
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    pointer-events: auto;
}

/* === GROW POST CATEGORY === */
.category-grow-by-fires .hero__title::first-line,
.category-grow-by-fires .post-card__title,
.category-grow-by-fires-group .hero__title::first-line,
.category-grow-by-fires-group .post-card__title {
    color: #608B32 !important;
}

.category-grow-by-fires .fires__divider,
.category-grow-by-fires-group .fires__divider {
    background: #608B32;
}

.category-grow-by-fires .category-loop,
.category-grow-by-fires-group .category-loop {
    padding: 10rem 0;
    border-top: 15px solid #608b32;
}

.category-grow-by-fires .hero,
.category-grow-by-fires-group .hero {
    border-bottom: 10px solid #608b32;
}

.category-grow-by-fires .post-card__media,
.category-grow-by-fires .post-card__meta,
.category-grow-by-fires-group .post-card__media,
.category-grow-by-fires-group .post-card__meta {
    display: none;
}

/* === HERO GROW BY FIRES === */
.hero-grow-by-fires__badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;

}

.hero-grow-by-fires__badge img {
    width: 7.75rem;
    height: 7.5rem;
}

.grow-by-fires-main {
    display: flex;
    padding: 0 0 10rem;
    flex-direction: column;
    align-items: center;
    gap: 6.25rem;
    align-self: stretch;
    border-bottom: 15px solid var(--green);
}

.page-template-page-grow-by-fires .btn--dark:hover {
    background: transparent;
    border: 0.0625rem solid var(--dark-blue);
    color: var(--dark-blue);
}
.page-template-page-grow-by-fires .contact {
border-top: 15px solid var(--green) !important;
}
.page-template-page-grow-by-fires .wpcf7 input[type="submit"] {
   
    border: 0.0625rem solid var(--green);
    background: var(--green);
}
.page-template-page-grow-by-fires .post-card__title {
    color: var(--green);
}

.clenstvo-section {
    display: flex;
    padding: 10rem 0;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;

    position: relative;
    background-color: var(--dark-blue);
    background-image: url(assets/img/bg-wave.svg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    color: var(--white);
    overflow: hidden;
    border-bottom: 15px solid var(--green);
}

/* =========================================
   7. HERO STATS (Counter Strip)
========================================= */
.hero-stats {
    width: 100%;
    background: var(--fires);
    color: var(--white);
    padding: 0rem 0 2.81rem;
    /* 48px 0 44px */
}

.hero-stats__inner {
    display: flex;
    justify-content: space-between;
}

.hero-stat {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 1.125rem 1.375rem;
    /* 18px 22px */
}

.hero-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 2.1875rem;
    /* 35px */
    top: 1rem;
    /* 16px */
    width: 0.125rem;
    /* 2px */
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    transform: rotate(-22deg);
    transform-origin: top;
    z-index: 0;
}

.hero-stat__num {
    font-size: var(--fs-stat);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

@media (max-width: 1030px) {
    .hero-stat__num {
        font-size: 2.25rem;
        /* 36px */
    }
}

@media (max-width: 900px) {
    .hero-stat__num {
        font-size: var(--fs-stat);
    }
}

.hero-stat__text {
    margin-top: 1rem;
    /* 16px */
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.35;
    opacity: 1;
    position: relative;
    z-index: 2;
    text-wrap: balance;
}

.hero-stat:nth-child(2)::after {
    transform: rotate(22deg);
    right: -2.1875rem;
    /* -35px */
}

/* =========================================
   8. SERVICES SECTION
========================================= */
.services {
    padding: 10rem 0;
    /* 160px */
    border-bottom: 15px solid var(--fires);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
}

.services-intro {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    /* 40px */
    align-items: end;
}

.services-intro--image-left {
    grid-template-columns: 0.75fr 1.25fr;
}

.services-intro__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.875rem;
    /* 30px */
    min-width: 0;
}

.services-intro__title {
    color: var(--dark-blue);
}

.services-intro__text {
    max-width: 70ch;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    line-height: var(--lh-body);
    color: var(--dark-blue);
}

.services-intro__eyebrow {
    font-weight: 700;
    font-size: 1.375rem;
    /* 22px */
    line-height: 1;
}

.services-intro__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Services Visuals */
.services-intro__visual {
    position: relative;
    min-height: 16.25rem;
    /* 260px */
}

.services-intro__arrow {
    position: absolute;
    right: calc(-1 * (50vw - 50%));
    bottom: 0;
    width: calc(50vw + 50%);
    height: 7.1875rem;
    /* 115px */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    z-index: -1;
}

.services-intro--image-left .services-intro__arrow {
    left: calc(-1 * (50vw - 50%));
    right: auto;
    bottom: 0;
    width: calc(50vw + 50%);
    height: 7.1875rem;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    z-index: -1;
    transform: rotate(180deg);
    transform-origin: center;
}

.services-intro__door {
    position: absolute;
    left: 50%;
    top: -60%;
    transform: translateX(-50%);
    height: auto;
    max-width: 100%;
}

.services-intro__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Service Cards Grid */
.cards-grid {
    display: grid;
    gap: 3.75rem;
    /* 60px */
}

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

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

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

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3.125rem;
    /* 50px */
    height: 100%;
}

.service-card-content {
    gap: 1.25rem;
    display: flex;
    flex-direction: column;
}

.service-card__icon {
    width: 4.375rem;
    /* 70px */
    height: 4.375rem;
    /* 70px */
    object-fit: contain;
}

.service-card__title {
    color: var(--fires);
    letter-spacing: -0.01375rem;
}

.service-card__text {
    color: var(--dark-blue);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
}

.service-card__btn {
    margin-top: auto;
}

/* =========================================
   9. ZONE SECTION (Moja zóna)
========================================= */
.zone {
    position: relative;
    background-color: var(--dark-blue);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    color: var(--white);
    overflow: hidden;
    display: flex;
    padding: 10rem 0 11.25rem 0;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.zone__waves {
    width: 1000px;
    height: 1000px;
    position: absolute;
    top: -100px;
    left: -100px;
    overflow: visible;
}

/* spoločné pre všetky vlny */
.zone__wave {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0.46;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    overflow: visible;
}

/* 3 vrstvy – každý má svoj SVG */
.zone__wave--1 {
    background-image: url(assets/img/wave-1.svg);

    /* statický offset (rozostup) */
    transform: translate3d(0, 0, 0);

    /* rýchlejšie */
    animation: waveDriftA 14s ease-in-out infinite;
}

.zone__wave--2 {
    background-image: url(assets/img/wave-2.svg);

    /* statický offset (rozostup) */
    transform: translate3d(18px, 14px, 0);

    animation: waveDriftB 12s ease-in-out infinite;
}

.zone__wave--3 {
    background-image: url(assets/img/wave-3.svg);

    /* statický offset (rozostup) */
    transform: translate3d(-34px, 26px, 0);

    animation: waveDriftC 16s ease-in-out infinite;
}

/* drift okolo offsetu (žiadne skoky cez nulu) */
@keyframes waveDriftA {
    0% {
        transform: translate3d(0, 0, 0);
    }

    25% {
        transform: translate3d(-18px, -2px, 0);
    }

    50% {
        transform: translate3d(-28px, 1px, 0);
    }

    75% {
        transform: translate3d(-16px, 2px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes waveDriftB {
    0% {
        transform: translate3d(18px, 14px, 0);
    }

    25% {
        transform: translate3d(28px, 16px, 0);
    }

    50% {
        transform: translate3d(36px, 12px, 0);
    }

    75% {
        transform: translate3d(26px, 18px, 0);
    }

    100% {
        transform: translate3d(18px, 14px, 0);
    }
}

@keyframes waveDriftC {
    0% {
        transform: translate3d(-34px, 26px, 0);
    }

    25% {
        transform: translate3d(-52px, 30px, 0);
    }

    50% {
        transform: translate3d(-66px, 24px, 0);
    }

    75% {
        transform: translate3d(-50px, 22px, 0);
    }

    100% {
        transform: translate3d(-34px, 26px, 0);
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {

    .zone__wave--1,
    .zone__wave--2,
    .zone__wave--3 {
        animation: none !important;
    }
}

.zone__inner {
    position: relative;
}

.zone__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    /* 60px */
    align-items: center;
}

.zone__media {
    position: relative;
}

.zone__laptop {
    width: 100%;
    height: auto;
    display: block;
}

.zone__title {
    color: var(--white);
    max-width: 34ch;
}

.zone__text {
    margin-top: 1.25rem;
    /* 20px */
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--fw-bold);
    max-width: 60ch;
}

.zone__list {
    margin: 2rem 0 0;
    /* 32px */
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.125rem;
    /* 18px */
}

.zone__list-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    /* 14px */
}

.zone__list-item--link {
    align-items: stretch;
}

.zone__list-icon {
    width: 1.5rem;
    /* 24px */
    height: 1.5rem;
    object-fit: contain;
    flex: 0 0 auto;
    margin-top: 0.125rem;
}

.zone__list-text {
    font-weight: var(--fw-bold);
    color: var(--white);
    transition: all 0.3s ease;
}

.zone__list-text:hover {
    color: var(--fires);
}

.zone__list-anchor {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
}

.zone__list-anchor .zone__list-text {
    flex: 1 1 auto;
}

.zone__list-link-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fires);
}

.zone__list-link-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.zone__buttons {
    margin-top: 2.5rem;
    /* 40px */
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.zone__cameras {
    margin-top: 2rem;
}

.zone__cameras-title {
    margin: 0 0 1rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: var(--fw-black);
    line-height: 1;
}

.zone__camera-list {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.zone__camera-link {
    min-height: 3.2rem;
    min-width: 145px;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    background: transparent;
    border: 0.0625rem solid var(--white);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.zone__camera-text {
    font-weight: var(--fw-black);
    line-height: 1.2;
}

.zone__camera-link:hover,
.zone__camera-link:focus-visible {
    border-color: var(--white);
    color: var(--dark-blue);
    background: var(--white);
}

.zone__camera-icon {
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.zone__camera-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* =========================================
   10. CERTIFICATES SECTION
========================================= */
.certs {
    position: relative;
    padding: 10rem 0;
    background: var(--white);
    color: var(--dark-blue);
    border-bottom: 15px solid var(--fires);
    border-top: 30px solid var(--fires);
}

.certs__inner {
    text-align: center;
}

.certs__title {
    color: var(--dark-blue);
    text-wrap: balance;
}

.certs__text {
    margin-top: 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--dark-blue);
    opacity: 0.95;
}

/* Slider Track */
.certs__track-wrap {
    margin-top: 4.375rem;
    /* 70px */
    position: relative;
    z-index: 2;
}

.certs__slider {
    overflow: hidden;
    padding: 0 2.5rem;
    cursor: grab;
    touch-action: pan-y;
}

.certs__slider.swiper-grabbing {
    cursor: grabbing;
}

.certs__track {
    display: flex;
    gap: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
    scrollbar-width: auto;
    align-items: stretch;
    max-height: none !important;
    will-change: transform;
}

.certs__track a {
    cursor: pointer;
}

/* Cert Item */
.certs__item {
    flex: 0 0 auto;
    /* 260px */
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: none;
    text-align: center;
    height: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.certs__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(16.25rem, 68vw);
    background: transparent;
    height: 205px;
    margin-inline: auto;
}

.certs__image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.certs__name {
    margin-top: 1.75rem;
    /* 28px */
    color: var(--fires);
}

.certs__link {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
}

.certs__link:hover {
    text-decoration: underline;
}

/* Progress Bar */
.certs__bar {
    margin: 3.75rem auto 0;
    /* 60px */
    width: min(22.5rem, calc(100% - 5rem));
    height: 0.375rem;
    background: rgba(6, 32, 63, 0.15);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* už máme v JS, ale môže byť aj tu */
    pointer-events: auto;
}

.certs__thumb {
    height: 100%;
    width: 50%;
    background: var(--fires);
    border-radius: 999px;
    transform: translateX(0);
    will-change: transform, width;
    cursor: grab;
    pointer-events: auto;
    /* thumb musí mať pointer-events */
    touch-action: none;
}

.certs__thumb:active {
    cursor: grabbing;
}

/* =========================================
   11. MEMBERSHIPS SECTION
========================================= */
.memberships {
    position: relative;
    padding: 10rem 0 6.25rem;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--doplnkova) 100%);
}

.memberships::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: -0.5px;
    height: 4.125rem;
    background: var(--white);
    clip-path: polygon(50% 100%, 100% 0, 100% 100%, 0 100%, 0 0);
    pointer-events: none;
}

.memberships__inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.75rem;
    /* 60px */
    align-items: center;
}

.memberships__title {
    margin: 0;
    color: var(--white);
}

.memberships__list {
    margin-top: 2rem;
}

.memberships__list p {
    margin: 0;
    text-wrap: balance;
}

.memberships__list ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* 20px */
}

.memberships__list li {
    position: relative;
    padding-left: 2.625rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: var(--fw-regular, 500);
    line-height: 1.4;
}

.memberships__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--fires);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.memberships__list a {
    color: var(--fires);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}

.memberships__list a:hover {
    color: var(--white);
}

.memberships__buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 0.9375rem;
    flex-wrap: wrap;
}

.memberships__visual {
    display: flex;
    justify-content: flex-end;
}

.memberships__img {
    width: min(34rem, 100%);
    height: auto;
    display: block;
}

/* =========================================
   11.1 REFERENCES SECTION
========================================= */
.references-section {
    position: relative;
    display: flex;
    padding: 5.625rem 0 6.25rem 0;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
    background: var(--white);
    color: var(--dark-blue);
    overflow: hidden;
}

.references-section__header {
    text-align: center;
}

.references-section__title {
    color: var(--dark-blue);
}

.references-section__slider-shell {
    width: 100%;
    overflow: hidden;
}

.references-section .references-slider.swiper {
    overflow: visible;
    padding: 0 1.25rem;
    cursor: grab;
}

.references-section .references-slider.swiper:active,
.references-section .references-slider.swiper.swiper-grabbing {
    cursor: grabbing;
}

.references-section .references-slider .swiper-wrapper {
    align-items: stretch;
    max-height: none !important;
}

.reference-card.swiper-slide {
    position: relative;
    display: flex;
    width: 30.25rem;
    height: auto;
    min-height: 26.8125rem;
    padding: 2.5rem 1.875rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.3125rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #06203F 4.65%, #027675 100%);
    box-shadow: 4px 5px 0 2px rgba(6, 32, 63, 0.23);
    cursor: grab;
    overflow: visible;
}

.references-section .references-slider.swiper:active .reference-card.swiper-slide,
.references-section .references-slider.swiper.swiper-grabbing .reference-card.swiper-slide {
    cursor: grabbing;
}

.reference-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 1.875rem;
}

.reference-card__icon {
    display: block;
    width: 4.375rem;
    height: 2.875rem;
    flex-shrink: 0;
}

.reference-card__text {
    color: var(--white, #FFF);
    font-family: var(--ff);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: auto;
}

.reference-card__author {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.reference-card__name {
    margin: 0;
    color: var(--Fires, #ED5F55);
    font-family: var(--ff);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.reference-card__meta {
    display: grid;
    color: var(--white, #FFF);
    font-family: var(--ff);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.reference-card__meta p {
    display: -webkit-box;
    max-width: 24ch;
    overflow: hidden;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.references-section .references-section__pagination.swiper-pagination,
.references-section__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin-top: 5rem;
}

.references-section .references-section__pagination.swiper-pagination {
    position: static;
    width: auto;
}

.references-section__pagination .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 !important;
    background: #d9dde1;
    opacity: 1;
}

.references-section__pagination .swiper-pagination-bullet-active {
    background: var(--fires);
}

/* Shared slider controls: used by values and benefits. */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.slider-arrows {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.slider-nav {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border: 0;
    border-radius: 999px;
    background: var(--fires);
    color: var(--white);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.slider-nav::after {
    content: '';
    display: block;
    width: 0.8125rem;
    height: 0.875rem;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.slider-nav--prev::after {
    -webkit-mask-image: url(assets/img/arrow-left.svg);
    mask-image: url(assets/img/arrow-left.svg);
}

.slider-nav--next::after {
    -webkit-mask-image: url(assets/img/arrow-right.svg);
    mask-image: url(assets/img/arrow-right.svg);
}

.slider-nav:hover,
.slider-nav:focus-visible {
    transform: scale(1.06);
}

.slider-nav:focus-visible {
    outline: 3px solid rgba(237, 95, 85, 0.28);
    outline-offset: 3px;
}

.slider-nav.swiper-button-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.slider-pagination.swiper-pagination,
.slider-pagination {
    position: static;
    display: flex;
    justify-content: flex-end;
    width: auto !important;
    margin: 0;
    transform: none;
}

.slider-pagination .swiper-pagination-bullet {
    width: 0.625rem;
    height: 0.625rem;
    margin: 0 0.25rem !important;
    background: #d9dde1;
    opacity: 1;
}

.slider-pagination .swiper-pagination-bullet-active {
    background: var(--fires);
}

/* =========================================
   11. BENEFITS SECTION
========================================= */
.benefits {
    position: relative;
    padding: 10rem 0 6.25rem;
    color: var(--dark-blue);
    overflow: hidden;
    border-top: 15px solid var(--fires);
}

.benefits__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 0 0;
}

.benefits__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    align-self: stretch;
}

.benefits__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 5rem;
    align-items: center;
}

.benefits__title {
    margin: 0;
    color: var(--dark-blue);
}

.benefits__title span {
    color: var(--fires);
}

.benefits__text {
    max-width: 46rem;
}

.benefits__text> :first-child,
.benefits-card__text> :first-child {
    margin-top: 0;
}

.benefits__text> :last-child,
.benefits-card__text> :last-child {
    margin-bottom: 0;
}

.benefits__buttons {
    margin-top: 3.75rem;
}

.benefits__slider-wrap {
    min-width: 0;
}

.benefits .benefits-slider.swiper {
    width: 100%;
    overflow: hidden;
    padding: 0;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.benefits .benefits-slider.swiper:active,
.benefits .benefits-slider.swiper.swiper-grabbing {
    cursor: grabbing;
}

.benefits .benefits-slider .swiper-wrapper {
    align-items: stretch;
    max-height: none;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.benefits-slide.swiper-slide {
    display: flex;
    height: auto;
    padding: 0 0.75rem 0.75rem 0;
    box-sizing: border-box;
}

.benefits-card {
    display: flex;
    flex: 1 0 0;
    height: 100%;
    padding: 1.25rem 1.875rem;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: var(--gray);
    box-shadow: 4px 5px 0 2px rgba(6, 32, 63, 0.23);
}

.benefits-card__icon {
    width: 4.375rem;
    height: 4.375rem;
    flex-shrink: 0;
}

.benefits-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.benefits-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-card__title {
    margin: 0;
    color: var(--fires);
    font-family: var(--ff);
    font-size: 1.375rem;
    font-style: normal;
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
}

.benefits-card__text {
    color: var(--dark-blue);
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-style: normal;
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
}

.benefits__controls {
    margin-top: 2.5rem;
}

.benefits__arrows {
    gap: 0.5rem;
}

.page-template-contact #faq,
.page-template-my-zone #faq,
.page-template-page-technical-assessment #faq,
.page-template-page-about #faq,
.page-template-page-laboratory #faq,
.page-template-contact .contact {
    border-top: none;
}

.faq__suptitle {
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: var(--dark-blue);
}

/* === CAREER SECTION === */
#career {
    padding: 10rem 0;
}

/* =========================================
   Accommodation – SECTION
========================================= */

.accommodation-cta {
    background: var(--fires);
    /* presne ako na obrázku */
    padding: 3.25rem 0;
    min-height: auto !important;
}

.accommodation-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.accommodation-cta__title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.4rem;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .accommodation-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==== ZAVAZOK === */
.commitment-section {
    background-color: #054154;
    padding: 1.5rem 0;
}

.commitment-section__inner {
    display: flex;
    justify-content: center;
}

.commitment-section__text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.commitment-section__text p {
    margin: 0;
}

/* =========================
   CONTACT – LOCATE SECTION
   ========================= */

.contact-locate {
    padding: 10rem 0;
    border-top: 15px solid var(--fires);
}

/* Layout */
.contact-locate__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

/* Title */
.contact-locate__title {
    font-family: var(--ff);
    font-size: var(--fs-h2);
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    color: var(--dark-blue);
    margin-bottom: 1.25rem;
}

/* Card */
.contact-locate__card {
    display: flex;
    padding: 1.875rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    align-self: stretch;
    border-radius: 0.5rem;
    background: var(--gray);
    /* Fires shadow */
    box-shadow: 4px 5px 0 2px rgba(6, 32, 63, 0.23);
}

.contact-locate__card-title {
    font-family: var(--ff);
    font-size: 1.125rem;
    font-weight: var(--fw-bold);
    color: var(--fires);
    margin-bottom: 0.62rem;
}

.contact-locate__card-text {
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--dark-blue);
}

.contact-locate__card-text--billing strong,
.contact-locate__card-text--billing b {
    font-weight: var(--fw-bold);
}

/* Buttons */
.contact-locate__actions {
    display: flex;
    gap: 0.94rem;
    flex-wrap: wrap;
    margin-top: 3.12rem;
}

/* Visual */
.contact-locate__visual {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
}

.contact-locate__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .contact-locate__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   11. TEAM SECTION
========================================= */

/* =========================
   TEAM SECTION
   Breakpoints: 900 / 600
   ========================= */

.team-section {
    padding: 0 0 10rem;
    border-bottom: 15px solid var(--fires);
}

.team-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    margin-bottom: 5rem;
    text-align: center;
}

.team-section__subtitle {
    font-family: var(--ff);
    font-size: 1.375rem;
    font-weight: var(--fw-bold);
    color: var(--fires);

}

.team-section__title {
    font-family: var(--ff);
    font-size: var(--fs-h2);
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    color: var(--dark-blue);
}

.team-section__title .is-accent {
    color: var(--fires);
}

.team-section__text {
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--dark-blue);
}

.team-section__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
}

/* =========================
   TEAM CARD
   ========================= */

.team-card {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 1.875rem 1.875rem 2.5rem 1.875rem;
    gap: 1.25rem;
    border-radius: 0.5rem;
    background: var(--gray);

    /* Fires shadow */
    box-shadow: 4px 5px 0 2px rgba(6, 32, 63, 0.23);
}

.team-card__media {
    display: flex;
    justify-content: center;
}

.team-card__avatar {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    background: rgba(6, 32, 63, 0.06);
}

.team-card__avatar--placeholder {
    background: rgba(6, 32, 63, 0.06);
}

.team-card__name {
    font-family: var(--ff);
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    color: var(--fires);
    margin: 0;
}

.team-card__position {
    font-family: var(--ff);
    font-size: 1rem;
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    color: var(--dark-blue);
    margin-top: 5px;
    margin-bottom: 1.25rem;
}

.team-card__desc {
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--dark-blue);
    margin-top: 1.25rem;
}

.team-card__contact {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    display: grid;
    gap: 0.6rem;
}

.team-card__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-card__link {
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    color: var(--fires);
    text-decoration: none;
}

.team-card__link:hover {
    text-decoration: underline;
}

.team-card__icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--fires);
    flex: 0 0 auto;
    position: relative;
}

.team-card__icon::after {
    content: "";
    position: absolute;
    inset: 2px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* style.css (root) -> assets/icons/... */
.team-card__icon--landline::after {
    background-image: url("assets/icons/icon-phone.svg");
}

.team-card__icon--mobile::after {
    background-image: url("assets/icons/icon-mobile.svg");
}

.team-card__icon--email::after {
    background-image: url("assets/icons/icon-mail.svg");
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1060px) {
    .team-section__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .team-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .team-section__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   RECRUIT CTA (Hľadáme posily)
   Breakpoints: 900 / 600
   ========================= */

.recruit-cta {
    position: relative;
    padding: 3.75rem 0;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--doplnkova) 100%);
    min-height: auto !important;
}

/* spodný prechod do bielej (podobné ako na obrázku) */
.recruit-cta::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: -0.5px;
    height: 4.125rem;
    background: var(--white);
    clip-path: polygon(50% 100%, 100% 0, 100% 100%, 0 100%, 0 0);
    pointer-events: none;
}

.recruit-cta__inner {
    text-align: center;
    margin: 0 auto;
}

.recruit-cta__title {
    font-family: var(--ff);
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    color: var(--white);
    margin: 0 0 1.25rem 0;
}

.recruit-cta__title .is-accent {
    color: var(--fires);
}

.recruit-cta__text {
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    margin: 0 0 3.12rem 0;
}

.recruit-cta__actions {
    display: flex;
    justify-content: center;
}

/* =========================
   MOJA ZONA
   ========================= */
.cards-grid__actions {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
    margin-top: 5rem;
}

.prehlad-skusok {
    display: flex;
    padding: 10rem 0 8.375rem 0;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
}

/* DOTAZNIK */
.survey-cta {
    position: relative;
    background: var(--dark-blue);
    padding: 2.5rem 0;
    border-top: 15px solid var(--fires);
    min-height: auto !important;
}


.survey-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.survey-cta__title {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.4rem;
    margin-bottom: 0.625rem;
}

.survey-cta__text {
    font-size: 1rem;
    color: var(--white);
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    /* 1.4rem */
}

.survey-cta__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.survey-cta__actions .btn--primary:hover {
    background: transparent;
    border: 0.0625rem solid var(--white);
}

/* Form area below */
.survey-form {
    padding: 3rem 0;
    border-bottom: 15px solid var(--fires);
}

.survey-form[hidden] {
    display: none !important;
}

.survey-form__inner {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 1.5rem;
}

.survey-form__inner {
    position: relative;
}

.survey-form__close {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--fires);
    opacity: .7;
}

.survey-form__close:hover {
    opacity: 1;
}

.survey-form iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 3400px;
    border: 0;
}

/* ===== Rating / Range field (CF7) ===== */
.range-field {
    display: grid;
    gap: 0.5rem;
}

.range-field label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* wrapper pridá JS (slider + badge) */
.range-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.range-wrap input[type="range"] {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    outline: none;
}

.range-wrap input[type="range"]::-moz-range-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--fires);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    cursor: pointer;
    margin-top: -2px;
}

.range-wrap input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--fires);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    cursor: pointer;
}

.range-value {
    min-width: 52px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: rgba(11, 90, 107, 0.12);
    color: var(--fires);
    user-select: none;
}

/* ===== Rating form layout (no Bootstrap) ===== */

.rating-form__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.rating-q {
    margin-top: 1rem;
}

.rating-q__title {
    font-weight: 700;
    margin: 0 0 0.5rem !important;
}

.rating-q__grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.range-field {
    display: block;
}

.rating-form__privacy {
    margin: 2rem 0;
}

.wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpcf7-acceptance a {
    color: var(--fires);
}

.wpcf7-acceptance a:hover {
    color: var(--fires);
    text-decoration: underline;
}

/* mobil */
@media (max-width: 900px) {
    .rating-form__top {
        grid-template-columns: 1fr;
    }

    .rating-q__grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .survey-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   Accommodation sections
========================================= */

/* --- Accommodation Swiper hard reset (zabráni extrémnym šírkam) --- */
.accommodation-block {
    scroll-margin-top: 155px;
}

.accommodation-block__content,
.accommodation-block__media,
.accommodation-block__swiper {
    min-width: 0;
    /* dôležité v grid/flex layoute */
}

.js-accommodation-swiper {
    overflow: hidden;
    /* Swiper očakáva */
    width: 100%;
}

.js-accommodation-swiper .swiper-wrapper {
    display: flex;
    /* Swiper potrebuje flex */
}

.js-accommodation-swiper .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
}

.js-accommodation-swiper img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

.accommodation-sections {
    padding: 10rem 0;
    border-top: 15px solid var(--fires);
}

.accommodation-sections .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10rem;
    align-self: stretch;
}

/* ----- Block wrapper ----- */


.accommodation-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

.accommodation-block__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    align-self: stretch;
}

/* Reverse layout */
.accommodation-block.is-reversed .accommodation-block__inner {
    grid-template-columns: 1fr 1fr;
}

.accommodation-block.is-reversed .accommodation-block__content {
    order: 2;
}

.accommodation-block.is-reversed .accommodation-block__media {
    order: 1;
}

/* ----- Content ----- */


/* ----- List ----- */

.accommodation-block__list {
    margin: 0 0 1.3rem;
    padding: 0;
    list-style: none;

    display: grid;
    gap: 0.75rem;
}

.accommodation-block__list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.accommodation-block__check {
    color: var(--fires);
    font-weight: var(--fw-bold);
    line-height: 1;
    margin-top: 0.25rem;
}

.accommodation-block__list-text {
    font-weight: var(--fw-regular);
}

/* ----- Buttons ----- */

.accommodation-block__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ----- Media / Gallery ----- */

.accommodation-block__media {
    width: 100%;
}

.accommodation-block__swiper {
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
}

.accommodation-block__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper navigation overrides (lokálne) */

.accommodation-block__swiper .swiper-button-prev,
.accommodation-block__swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fires);
    color: var(--white);
}

.accommodation-block__swiper .swiper-button-prev::after,
.accommodation-block__swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
}

/* Pagination dots */

.accommodation-block__swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.accommodation-block__swiper .swiper-pagination-bullet-active {
    background: var(--fires);
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {
    .accommodation-sections .container {
        gap: 5rem;
    }

    .accommodation-block__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* prebijeme aj reversed layout */
    .accommodation-block.is-reversed .accommodation-block__inner {
        grid-template-columns: 1fr;
    }

    /* Default na mobile: obsah -> galéria */
    .accommodation-block__content {
        order: 1;
    }

    .accommodation-block__media {
        order: 2;
    }

    /* Na mobile ignorujeme reversed poradie – vždy TEXT -> GALÉRIA */
    .accommodation-block.is-reversed .accommodation-block__content {
        order: 1;
    }

    .accommodation-block.is-reversed .accommodation-block__media {
        order: 2;
    }

    .accommodation-block__image {
        height: 280px !important;
    }
}




/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .recruit-cta {
        padding: 4rem 0 6rem;
    }
}

@media (max-width: 600px) {
    .recruit-cta__title {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .recruit-cta__text {
        padding: 0 0.5rem;
    }
}

/* =========================
   QUICK CONTACTS – FILTER
   používa EXISTUJÚCE .team-card
   ========================= */

.qc-section {
    padding: 10rem 0;
}

.qc-section__head {
    text-align: center;
    margin: 0 auto 5rem auto;
}

.qc-section__subtitle {
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-black);
    color: var(--fires);
    margin-bottom: 0.5rem;
}

.qc-section__title {
    font-family: var(--ff);
    font-size: var(--fs-h2);
    font-weight: var(--fw-black);
    line-height: var(--lh-heading);
    color: var(--dark-blue);
}

.qc-section__title .is-accent {
    color: var(--fires);
}

.qc-section__text {
    margin-top: 0.75rem;
    font-family: var(--ff);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--dark-blue);
}

.contact-activity {
    margin: revert;
}

/* Panel rám */
.qc-panel {
    border: 1.5px solid var(--dark-blue);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--white);
}

/* Tabs */
/* Tabs container */
.qc-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--dark-blue);
}

/* Default = NEAKTÍVNY */
.qc-tab {
    appearance: none;
    border: 0;
    background: var(--dark-blue);
    border-right: 1px solid rgba(255, 255, 255, 0.35);

    padding: 0.85rem 1rem;
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-black);
    color: var(--white);
    cursor: pointer;
}

.qc-tab:last-child {
    border-right: 0;
}

/* AKTÍVNY TAB */
.qc-tab.is-active {
    background: var(--white);
    color: var(--fires);
}

/* Hover – jemné zvýraznenie */
.qc-tab:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Grid – OBAL pre team-card */
.qc-grid {
    padding: 2.5rem 1.88rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

/* =========================
   ZOZNAMY
   ========================= */

.issued-docs {
    border-top: 15px solid var(--fires);
}

#zoznamy .qc-tabs {
    grid-template-columns: repeat(6, 1fr);
}

.cancelled-certs {
    border-top: 15px solid var(--fires);
}

.my-zone-pdf-list {
    border-bottom: 15px solid var(--fires);
    min-height: auto !important;
}

#postupy.my-zone-pdf-list {
    border-bottom: 0;
}

.my-zone-pdf-list__items {
    display: flex;
    flex-direction: column;
}

.my-zone-pdf-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--fires);
    background: var(--white);
    padding: 0.62rem 0
}
.my-zone-pdf-list__item:last-child {
    border-bottom: 1px solid var(--fires);
}
#tlaciva.qc-section {
    padding:10rem 0 0 !important;
}
.my-zone-pdf-list__item-title {
    margin: 0;
    color: var(--dark-blue);
    line-height: 1.25;
    font-size: 1.125rem;
        font-weight: var(--fw-black);

}

.my-zone-pdf-list__btn {
    flex: 0 0 auto;
}

.mdb-select,
::placeholder {
    font-family: var(--ff);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .qc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    #zoznamy .qc-grid {
        grid-template-columns: 1fr !important;
    }

    #zoznamy .qc-tabs {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .qc-tabs {
        grid-template-columns: 1fr !important;
    }

    #zoznamy .qc-tabs {
        grid-template-columns: 1fr !important;
    }

    .qc-tab {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        text-align: center;
    }

    .qc-tab:last-child {
        border-bottom: 0;
    }

    .qc-grid {
        grid-template-columns: 1fr !important;
        padding: 1.5rem;
    }

    .my-zone-pdf-list__item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   PRINT / MEDIA (klon Quick Contacts)
========================================= */

.page-template-print-media .nase-sluzby {
    border-top: 15px solid var(--fires);
    gap: 5rem;
}

.page-template-print-media .service-card__title {
    text-wrap: balance;
}

/* Panel rám – rovnaký ako kontakty */
.print-media .qc-panel {
    border: 1.5px solid var(--dark-blue);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--white);
}

/* Tabs container – dynamický počet tabov */
.print-media .qc-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    background: var(--dark-blue);
}

/* Default tab (neaktívny) */
.print-media .qc-tab {
    appearance: none;
    border: 0;
    background: var(--dark-blue);
    border-right: 1px solid rgba(255, 255, 255, 0.35);

    padding: 0.85rem 1rem;
    font-family: var(--ff);
    font-size: var(--fs-body);
    font-weight: var(--fw-black);
    color: var(--white);
    cursor: pointer;
}

.print-media .qc-tab:last-child {
    border-right: 0;
}

/* Aktívny tab */
.print-media .qc-tab.is-active {
    background: var(--white);
    color: var(--fires);
}

/* Hover */
.print-media .qc-tab:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Grid – karty */
.print-media .qc-grid {
    padding: 2.5rem 1.88rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

/* Karta */
.print-card {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 1.875rem 1.875rem 2.5rem 1.875rem;
    gap: 1.25rem;
    border-radius: 0.5rem;
    background: var(--gray);
    box-shadow: 4px 5px 0 2px rgba(6, 32, 63, 0.23);
}

.print-card__title {
    margin: 0;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    color: var(--dark-blue);
}

.print-card__text {
    color: var(--dark-blue);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

/* Linky pod textom */
.print-card__links {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
}

.print-card__link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    text-decoration: none;
    color: var(--fires);
    font-weight: var(--fw-bold);
}

.print-card__link:hover {
    text-decoration: underline;
}

.print-card__link-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    object-fit: contain;
    margin-top: 0.15rem;
}

.print-card__link-text {
    display: inline-block;
}

/* Responzivita */
@media (max-width: 900px) {
    .print-media .qc-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .print-media .qc-tab {
        padding: 0.75rem 0.75rem;
        font-size: 0.95rem;
    }
}


/* =========================================
   12. CONTACT SECTION & CF7
========================================= */
.contact {
    padding: 6.25rem 0 10.25rem;
    background: var(--white);
    color: var(--dark-blue);
    border-top: 15px solid var(--fires);
}

.page-template-career .contact {
    padding: 6.25rem 0 6.25rem;
    border-top: 15px solid var(--fires);
}

.page-template-contact .contact {
    padding: 7.5rem 0;
}

.contact__inner {
    text-align: center;
}

.contact__subtitle {
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: var(--fires);
    margin-bottom: 1.25rem;
}

.contact__title {
    color: var(--dark-blue);
}

.contact__text {
    margin-top: 1rem;
    font-weight: var(--fw-bold);
    color: var(--dark-blue);
    opacity: 0.95;
}

.contact__card {
    margin: 3.12rem auto 0;
    max-width: 720px;
    background: #F3F4F6;
    border-radius: 0.875rem;
    padding: 3.25rem 3rem;
    position: relative;
    box-shadow: 5px 4px 0px rgba(6, 32, 63, 0.25);
}

/* CF7 Form Styles */
.wpcf7 {
    margin: 0;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
    text-align: left;
}

.wpcf7 form p {
    margin: 0;
}

.contact-form__grid br {
    display: none;
}

.contact-form__field label {
    display: block;
    margin: 0 0 0.5rem;
    font-weight: var(--fw-black);
    color: var(--dark-blue);
    min-width: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    border: 0.0625rem solid var(--dark-blue);
    border-radius: 0.5rem;
    padding: 0.75rem 0.875rem;
    font-family: var(--ff);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--dark-blue);
    background: var(--white);
    outline: none;
}

.wpcf7 textarea {
    height: 6.875rem;
    resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(6, 32, 63, 0.45);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--fires);
    box-shadow: 0 0 0 0.1875rem rgba(237, 95, 85, 0.18);
}

.contact-form__field--full {
    grid-column: 1 / -1;
    text-align: left;
}

.contact-form__accept label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.contact-form__accept a {
    color: var(--dark-blue);
    font-weight: var(--fw-regular);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
    text-decoration: none;
}

.contact-form__accept a:hover {
    color: var(--fires);
    text-decoration: underline;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--dark-blue);
}

.wpcf7 .wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

label .wpcf7-form-control-wrap:has(input[type="text"]),
label .wpcf7-form-control-wrap:has(input[type="email"]),
label .wpcf7-form-control-wrap:has(input[type="tel"]),
label .wpcf7-form-control-wrap:has(textarea) {
    position: relative;
    top: 0.3rem;
}

.contact-form__accept .wpcf7-form-control-wrap {
    position: relative;
    top: 0rem;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Submit & Spinner */
.contact-form__submit {
    margin-top: 1.25rem;
}

.contact-form__submit p {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.contact-form__submit input[type="submit"] {
    grid-column: 2;
    justify-self: center;
}

.contact-form__submit .wpcf7-spinner,
.newsletter-form__submit .wpcf7-spinner {
    grid-column: 3;
    justify-self: start;
    margin-left: 0.75rem;
    position: absolute;
}

.wpcf7 input[type="submit"] {
    display: inline-flex;
    border-radius: 0.625rem;
    border: 0.0625rem solid var(--fires);
    background: var(--fires);
    color: var(--white);
    font-family: var(--ff);
    font-weight: var(--fw-bold);
    cursor: pointer;
    font-size: var(--fs-body);
    padding: 0.875rem 1.5rem;
    /* 14px 24px */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

.wpcf7 input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cv-btn p {
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
}

/* ==== NESLETTER FORM ==== */
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.newsletter-form__field input[type="email"] {
    height: 56px;
    padding: 0 1rem;
    border-radius: 0.5rem;
    border: 1.5px solid #FFF;
    background: transparent;
    color: var(--white);
}

.newsletter-form__field input[type="email"]::placeholder {
    color: var(--white);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.newsletter-form__submit .wpcf7-submit {
    height: 56px;
    padding: 0 2rem;
    border-radius: 12px;
}

.newsletter-form__submit .wpcf7-submit:hover {
    background: var(--white) !important;
    border-color: var(--dark-blue) !important;
    color: var(--dark-blue) !important;
}

.newsletter-form__field p,
.newsletter-form__submit p {
    margin: 0;
    /*display: flex;*/
    align-items: center;
}

.newsletter-form__field {
    flex: 1;
}

.newsletter-form__field input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form__submit {
    flex-shrink: 0;
}

/* =========================================
   13. TEST GALLERY (Slider)
========================================= */
.test-gallery {
    display: flex;
    padding: 10rem 0 6.25rem 0;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
}

.test-gallery .memberships__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.test-gallery .memberships__content {
    padding-top: 3rem;
}

.test-gallery__slider-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.test-gallery-slider {
    width: 100%;
    height: 420px;
}

.test-gallery-slider .swiper-slide {
    position: relative;
    height: 320px;
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
}

.test-gallery-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.test-gallery {
    --container-max: 1200px;
    /* uprav podľa svojho containeru */
    --container-pad: 20px;
    /* uprav podľa horizontálneho paddingu containeru */
    --container-real: min(calc(100vw - (var(--container-pad) * 2)), var(--container-max));
    --bleed-right: max(0px, calc((100vw - var(--container-real)) / 2));
}

.test-gallery .memberships__inner {
    overflow: visible;
}

.test-gallery .test-gallery__slider-wrap {
    width: calc(100% + var(--bleed-right));
    max-width: none;
    margin-right: calc(var(--bleed-right) * -1);
}

/* Gallery Controls */
.test-gallery-controls {
    width: 100%;
    position: absolute;
    bottom: 30px;
    right: 0px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-gallery-controls .swiper-button-prev,
.test-gallery-controls .swiper-button-next {
    position: static;
    width: 44px;
    height: 44px;
    background: var(--fires);
    border-radius: 50%;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    transform: none;
}

.test-gallery-controls .swiper-button-prev:hover,
.test-gallery-controls .swiper-button-prev:focus-visible,
.test-gallery-controls .swiper-button-next:hover,
.test-gallery-controls .swiper-button-next:focus-visible {
    background: var(--fires);
    transform: scale(1.06);
}

.test-gallery-controls .swiper-button-prev:focus-visible,
.test-gallery-controls .swiper-button-next:focus-visible {
    outline: 3px solid rgba(237, 95, 85, 0.28);
    outline-offset: 3px;
}

.test-gallery-controls .swiper-button-prev::after,
.test-gallery-controls .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.test-gallery-controls .swiper-pagination {
    position: static;
    width: 220px !important;
    margin-left: auto;
}

.test-gallery-controls .swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 4px !important;
}

.test-gallery-controls .swiper-pagination-bullet-active {
    background: #ff5a5a;
    opacity: 1;
}

/* Swiper Icon Resets */
.test-gallery-controls .swiper-button-next::after,
.accommodation-block__swiper .swiper-button-next::after {
    content: '' !important;
    display: block;
    width: 15.45px;
    height: 16.8px;
    background-image: url(assets/img/arrow-right.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.test-gallery-controls .swiper-button-prev::after,
.accommodation-block__swiper .swiper-button-prev::after {
    content: '' !important;
    display: block;
    width: 15.45px;
    height: 16.8px;
    background-image: url(assets/img/arrow-left.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

/* =========================================
   13.1 VALUES SECTION
========================================= */
.values-section {
    display: flex;
    padding: 10rem 0;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
    border-bottom: 15px solid var(--fires);
}

.values-section__container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.values-section__header {
    display: flex;
    max-width: 42rem;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.values-section__title {
    color: var(--dark-blue);
}

.values-section__description {
    max-width: 50ch;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    line-height: var(--lh-body);
    color: var(--dark-blue);
}

.values-section__slider-wrap {
    position: relative;
    padding: 0;
}

.values-section .values-slider.swiper {
    overflow: hidden;
    padding: 0 7px 0.55rem 0;
    cursor: grab;
}

.values-section .values-slider.swiper:active,
.values-section .values-slider.swiper.swiper-grabbing {
    cursor: grabbing;
}

.values-section .values-slider .swiper-wrapper {
    align-items: stretch;
    max-height: none;
}

.values-section .values-card.swiper-slide {
    display: flex;
    flex-direction: column;
    min-height: 19rem;
    height: auto;
    padding: 1.25rem 1.88rem;
    border-radius: 0.5rem;
    background: var(--gray);
    box-shadow: 4px 5px 0 2px rgba(6, 32, 63, 0.23);
    cursor: grab;
    gap: 0.62rem;
}

.values-section .values-slider.swiper:active .values-card.swiper-slide,
.values-section .values-slider.swiper.swiper-grabbing .values-card.swiper-slide {
    cursor: grabbing;
}

.values-card__icon {
    display: flex;
    width: 4.375rem;
    height: 4.375rem;
    align-items: center;
    justify-content: center;
}

.values-card__icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.values-card__title {
    color: var(--fires);
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: -0.01375rem;
}

.values-card__description {
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.values-section__controls {
    margin-top: 1.5rem;
}

/* =========================================
   14. GLOBAL CTA
========================================= */
.cta-global {
    display: flex;
    padding: 6.25rem 0 10.5rem 0;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
    align-self: stretch;
    background-color: var(--dark-blue);
    background-image: url("assets/img/cta-lines.svg");
    background-repeat: no-repeat;
    background-position: right -40rem top -30rem;
    background-size: auto;
    border-top: 15px solid var(--fires);
}

.cta-global__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cta-global__title {
    color: var(--white);
    margin: 0;
}

.cta-global__text {
    max-width: 52ch;
    font-weight: var(--fw-bold);
    color: var(--white);
}

.cta-global__actions {
    display: flex;
    justify-content: center;
}

/* === FORMULAR IFRAME JOTFORM === */

.form-all:after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 5px;
    width: 100%;
    height: 100% !important;
    border-radius: 0.875rem;
    overflow: visible;
    background-color: rgba(6, 32, 63, 0.25) !important;
    padding: 0 !important;
    z-index: 1;
}

iframe>body {
    margin: 0 !important;
    padding: 0 !important;
}



/* =========================================
   15. VISION & HISTORY SECTION
========================================= */
.history-intro {
    max-width: 500px;
    margin: 30px auto;
}

.history-intro .history-intro__media {
    width: 100%;
    height: 400px;
    border-radius: 0.875rem;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.history-intro .history-intro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vision {
    display: flex;
    padding: 10rem 0;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
    border-top: 30px solid var(--fires);
    border-bottom: 15px solid var(--fires);
}

.vision-intro__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.62rem;
    min-width: 0;
}

.section--vision {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.section__header--center {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 16px;
}

.section__text {
    font-size: 16px;
    line-height: 1.6;
    color: #425466;
}

.history-post__text {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--fw-regular);
    max-width: 60ch;
}

section.grow-by-fires {
    border-top: 15px solid var(--fires);
}

.grow-by-fires .services-intro__visual {
    min-height: 1rem;
    position: relative;
    width: 100%;
    max-width: 100%;
}
#grow-by-fires {
    padding: 0 0 10px;
}

/* =========================================
   16. Nase sluzby SECTION (Page)
========================================= */
.nase-sluzby {
    display: flex;
    padding: 10rem 0;
    flex-direction: column;
    align-items: center;
    /*gap: 5rem;*/
    align-self: stretch;
}

/* =========================================
   16. Laboratorium
========================================= */
section.laboratory-sections {
    display: flex;
    padding: 10rem 0 5rem;
    flex-direction: column;
    align-items: center;
    gap: 10rem;
    align-self: stretch;
}

/* =========================================
   16. SITE FOOTER
========================================= */
.site-footer {
    position: relative;
    color: #fff;
    z-index: 5;
    isolation: isolate;
}

.site-footer__top {
    position: relative;
}

.site-footer__top {
    position: relative;
}

.site-footer__top svg {
    animation: backToTopBounce 2.4s ease-in-out infinite;
    will-change: transform;
    margin-top: 2px;
}

@keyframes backToTopBounce {
    0% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(-3px);
    }
}

/* UX detail – po hoveri sa animácia zastaví */
.site-footer__top:hover svg {
    animation-play-state: paused;
}

/* pri hoveri animáciu zastavíme (UX detail) */
.site-footer__top:hover svg {
    animation-play-state: paused;
}

/* Triangular Divider */
.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 100%;
    height: 60px;
    transform: translateY(-100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: #054154;
    pointer-events: none;
    z-index: 0;
}

.site-footer__bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #054154 4.65%, #06203F 100%);
    z-index: 1;
}

/* Flame BG */
.site-footer__bg::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(46vw, 720px);
    height: min(46vw, 720px);
    background: url("assets/img/footer-flame.png") no-repeat right bottom / contain;
    pointer-events: none;
    z-index: 0;
}

/* Footer Grid */
.site-footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px 1fr 1fr 1.5fr;
    gap: 32px;
    padding: 40px 0 56px;
}

.site-footer__logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.site-footer__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-accent, #ff6b57);
}

.site-footer__menu {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.site-footer a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: 0.3s ease;
}

.site-footer a:hover {
    color: var(--c-accent, #ff6b57);
}

.site-footer .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.site-footer__text {
    margin: 0;
    font-style: normal;
    color: rgba(255, 255, 255, .9);
    line-height: 1.6;
}

.site-footer__zone {
    width: fit-content;
}

.site-footer__zone:hover {
    color: var(--white) !important;
}

.site-footer__phone {
    display: inline-block;
    margin: 8px 0 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer__in {
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    margin-top: -2px;
}

.site-footer__hero {
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: right;
}

.site-footer__small {
    max-width: 520px;
    margin-left: auto;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .65);
    font-size: 0.625rem;
    line-height: 150%;
}

.site-footer__slogan {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.site-footer__slogan br {
    display: block;
}

.site-footer__top {
    position: absolute;
    right: 28px;
    top: -30px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 0;
    background: var(--c-accent, #ff6b57);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
}

/* Footer Bottom Bar */
.site-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1.5px solid rgba(255, 255, 255, 1);
    padding: 18px 0;
    font-size: 0.875rem;
}

.site-footer__bottom-inner {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
}

.site-footer__bottom-left {
    display: flex;
    gap: 28px;
    align-items: center;
    color: rgba(255, 255, 255, .9);
}

.site-footer__bottom-left a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
}

.site-footer__bottom-left a:hover {
    text-decoration: underline;
}

.site-footer__bottom-center {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, .9);
}

.site-footer__credit {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.site-footer__credit:hover {
    text-decoration: underline;
}

/* ==== Article ==== */
.site-main--article .hero {
    padding: 7.5rem 0 10rem 0;
    min-height: auto;
}

.site-main--article .hero__inner {
    max-width: 37.25rem;
}

/* Article hero – prvý riadok title v accent farbe */
.site-main--article .hero__title::first-line {
    color: var(--fires);
}

/* Article hero – perex max 2 riadky */
.site-main--article .hero__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;
}

.site-main--category .hero__text {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    text-overflow: clip;
}

/* =========================================
   16. MODAL
============= */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.modal.is-active {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.modal__dialog {
    position: relative;
    margin: 10vh auto;
    max-width: 720px;
    background: #F3F4F6;
    border-radius: 0.875rem;
    box-shadow: 5px 4px 0px rgba(6, 32, 63, 0.25);
    overflow: hidden;
    display: flex;
    max-height: 90vh;
}

.modal__content {
    display: flex;
    padding: 3.25rem 3rem;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow-y: auto;
    /* 👈 TU SA SCROLLUJE */
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--fires);
    line-height: 0;
}

/* =========================================
   16. SCROLL ANIMATIONS
========================================= */
/* === Scroll reveal (stagger utility) === */
.js-reveal-stagger>* {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
    will-change: opacity, transform;
}

.js-reveal-stagger>*.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .js-reveal-stagger>* {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   17. RESPONSIVE QUERIES (Breakpoints)
========================================= */
@media (max-width: 1060px) {
    section {
        scroll-margin-top: 70px;
    }

    #cta-form {
        scroll-margin-top: 70px;
    }

    :root {
        --menu-height: 70px;
    }
}

/* Desktop / Tablet (900px) */
@media (max-width: 56.25rem) {


    .hero-stats__inner {
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 0 0 50%;
    }

    .hero-stat:nth-child(2)::after {
        display: none;
    }

    .services {
        padding: 3.75rem 0;
    }

    .services-intro,
    .services-intro.services-intro--image-left {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 2rem;
    }

    .services-intro__content {
        order: 1;
    }

    .services-intro__visual {
        order: 2;
        min-height: 26.25rem;
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .services-intro__door {
        top: -2%;
        max-width: 60%;
    }

    .services-intro__arrow,
    .services-intro--image-left .services-intro__arrow {
        right: calc(-1 * (50vw - 50%));
        width: calc(50vw + 50%);
        background-position: left 20px center;
    }

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



    .zone__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .zone__media {
        order: 1;
    }

    .zone__content {
        order: 2;
    }

    .clenstvo-section .zone__media {
        order: 2;
    }

    .clenstvo-section .zone__content {
        order: 1;
    }

    .certs {
        padding: 7.5rem 0 6.25rem;
    }

    .certs__track {
        padding: 0;
    }

    /*.certs__item {
        width: 14.375rem;
    }*/


    .memberships__inner,
    .benefits__inner {
        grid-template-columns: 1fr;
        gap: 3.75rem;
    }

    .benefits__content {
        order: 1;
    }

    .benefits__slider-wrap {
        order: 2;
    }

    .memberships__visual {
        justify-content: center;
    }

    .memberships__img {
        width: min(28rem, 70%);
    }

    .references-section__header {
        margin-bottom: 0;
    }

    .reference-card.swiper-slide {
        width: min(30.25rem, calc(100vw - 3.5rem));
    }

    .contact__card {
        padding: 2.5rem 1.75rem;
    }

    .test-gallery .memberships__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .test-gallery-slider {
        height: 400px;
    }

    .test-gallery-controls {
        bottom: 0px;
    }

    .test-gallery-slider .swiper-wrapper {
        max-height: 450px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .site-footer__hero {
        grid-column: 1 / -1;
        text-align: left;
    }

    .site-footer__small {
        margin-left: inherit;
        margin-right: auto;
    }

    .site-footer::before,
    .memberships::after,
    .recruit-cta::after {
        height: 1.5rem;
    }

    .site-footer__bg::after {
        width: min(80vw, 720px);
        height: min(80vw, 720px);
    }

}

/* Standard Tablet (900px - specific fix) */
@media (max-width: 900px) {
    .test-gallery__slider-wrap {
        min-height: 300px;
    }

    .test-gallery .memberships__content {
        padding-top: 0rem;
    }

    .values-section__container {
        gap: 3rem;
    }

    .values-section__slider-wrap {
        padding-inline: 0;
        padding-bottom: 0;
    }

    .values-section .values-slider.swiper {
        padding-right: 0;
        padding-left: 0;
    }

    .values-section__controls {
        margin-top: 1.25rem;
    }

    .benefits__inner {
        gap: 2.5rem;
    }

    .benefits__buttons {
        margin-top: 2rem;
    }

    .fires__divider {
        height: 1.5rem;
        clip-path: polygon(0 90%, 50% 0, 100% 90%, 100% 100%, 0 100%);
    }

    /* Padding reset for specific sections */
    section:not(.hero) {
        padding: 5.25rem 0 !important;
    }
   
    section .news-category__grid {
        padding: 0 0 3rem !important;
    }

    section.references-section:not(.hero) {
        padding: 5.625rem 0 6.25rem 0 !important;
        gap: 5rem;
    }


    section.hero,
    .hero.green .hero__layout {
        /*padding: 5rem 0 0 !important;*/
        justify-content: flex-start;
    }

    body:not(.home):not(.front-page) section.hero,
    .hero.green .hero__layout {
        min-height: auto;
    }

    body.home section.hero,
    body.front-page section.hero {
        min-height: calc(100dvh - 70px);
    }

    .site-main--article .hero {
        padding: 4.30rem 0 !important;
    }

    section.cta-global {
        padding: 3.25rem 0 7.25rem !important;
    }

    section.contact,
    .grow-by-fires-main {
        padding: 3.25rem 0 6.25rem !important;

    }

    .hero-stats-section,
    .services-infinity,
    .hero.green {
        padding: 0 !important;
    }

    section.badge-section:not(.hero) {
        padding: 7rem 0 !important;
    }

    section.benefits.badge-section:not(.hero) {
        padding: 5.25rem 0 !important;
    }

    section.laboratory-sections {
        gap: 8rem;
    }

    .hero__bottom {
        margin-top: 30px;
    }

    .hero-grow-by-fires__badge img {
        width: 5rem;
        height: 5rem;
    }
}

/* Mobile (600px) */
@media (max-width: 37.5rem) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 2rem;
        --fs-h3: 1.25rem;
        --fs-badge: 1.125rem;
        --fs-stat: 2.5rem;
    }

    .badge {
        height: 2.875rem;
        font-size: 1rem;
    }

    .hero-stat {
        flex: 0 0 100%;
    }

    .hero-stat::after,
    .hero-stat:not(:last-child)::after,
    .hero-stat:nth-child(2)::after {
        top: 100%;
        display: block;
        left: 50%;
        transform: translateY(-50%) rotate(90deg);
        transform-origin: center;
    }

    .cards-grid--2,
    .cards-grid--3,
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.75rem 1rem;
    }

    .services-intro__buttons {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .zone {
        padding-top: 4.375rem;
    }

    .zone__buttons {
        gap: 0.75rem;
    }

    .zone__camera-list {
        gap: 0.7rem;
    }

    .zone__camera-link {
        width: 100%;
    }

    .zone__cameras-title {
        margin-bottom: 0.85rem;
    }

    .memberships {
        padding-top: 7.5rem;
    }

    .certs__slider {
        padding-inline: 1.25rem;
    }

    .certs__image {
        width: min(13.75rem, 70vw);
    }

    .references-section .references-slider.swiper {
        padding-inline: 1.25rem;
    }

    .reference-card.swiper-slide {
        width: calc(100vw - 2.5rem);
        height: auto;
        min-height: 26.8125rem;
        padding: 2rem 1.5rem;
    }

    .values-section .values-card.swiper-slide {
        min-height: 17.5rem;
        padding: 1.5rem;
        width: calc(100% - 0.625rem) !important;
        max-width: calc(100% - 0.625rem);
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0.625rem !important;
    }


    .values-card__title {
        font-size: 1.25rem;
    }

    .memberships__inner::after {
        height: 1.5rem;
    }

    .contact {
        padding: 6.25rem 0;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero__title br {
        display: none !important;
    }

    /*   .services-intro__visual {
            order: 2;
            min-height: 20.25rem;
            position: relative;
            width: 100%;
            max-width: 100%;
        }
*/


    /* === HERO GROW BY FIRES === */
    .hero-grow-by-fires__badge img {
        width: 4rem;
        height: 4rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form__submit p {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .hero__checklist {
        flex-direction: column;
    }

    .cards-grid__actions {
        margin-top: 3.75rem;
    }

    section.cta-global {
        padding: 3.25rem 0rem !important;
    }

    p br {
        display: none;
    }

}

@media (max-width: 31.5rem) {
    .services-intro__visual {
        order: 2;
        min-height: 20.25rem;
        position: relative;
        width: 100%;
        max-width: 100%;
    }
}

/* =========================
   Lightbox
========================= */
html.is-lightbox-open,
html.is-lightbox-open body {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    place-items: center;
    padding: 1.5rem;
}

.lightbox.is-open {
    display: grid;
}

.lightbox__figure {
    margin: 0;
    max-width: min(1000px, 92vw);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lightbox__img {
    width: 100%;
    height: auto;
    max-height: 74vh;
    display: block;
    border-radius: 1rem;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
}

.lightbox__caption {
    display: none;
    max-width: 760px;
    margin: 0 auto;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.lightbox__caption:not(:empty) {
    display: block;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
}

/* =========================
   Lightbox arrows – custom SVG
========================= */

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;

    background-color: rgba(255, 255, 255, 0.12);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;

    color: transparent;
    /* skryj text */
    font-size: 0;
}

.lightbox__prev {
    left: 1rem;
    background-image: url(assets/img/arrow-left.svg);
}

.lightbox__next {
    right: 1rem;
    background-image: url(assets/img/arrow-right.svg);
}

/* Lightbox arrow disabled state */
.lightbox__nav.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Fires divider in hero bottom context */
.hero__bottom .fires__divider {
    position: relative;
    bottom: -1px;
}
