/* =========================================
   BASE
========================================= */

:root {
    --color-primary: #18b6a4;
    --color-dark: #0f2742;
    --color-text: #1f2937;
    --color-muted: #64748b;
    --color-background: #f8fafc;
    --color-white: #ffffff;
    --color-border: #dbe3ea;

    --container-width: 1280px;
    --section-spacing: 1.5rem;

    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;

    --header-height: 90px;

    --shadow-small: 0 5px 15px rgba(0,0,0,.08);
    --shadow-large: 0 20px 60px rgba(0,0,0,.15);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    background:var(--color-background);
    color:var(--color-text);
    line-height: 1.6;
    padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
    line-height: 1.15;
    color: var(--color-dark);
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

::selection {
    background:var(--color-primary);
    color: white;
}

.container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
}

section {
    padding-block: var(--section-spacing);
}

/** css za 404 **/

.error-page {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    text-align: center;
}

.error-page-content {
    max-width: 750px;
}

.error-page h1 {
    margin: 0;
    font-size: clamp(7rem, 20vw, 14rem);
    line-height: 0.9;
}

.error-page h2 {
    margin-top: 2rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.error-page-description {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.error-page-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.error-page .button-secondary {
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--color-primary);
}

.error-page .button-secondary:hover {
    color: white;
    background-color: var(--color-primary);
}



/* =========================================
   HEADER
========================================= */

.mobile-menu {
    display: none;
}

/*==================== HEADER =============== */

.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--color-border);
}

.nav-wrapper {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 110px;
    height: auto;
}

.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;

    list-style: none;

    font-size: 1rem;
    font-weight: 600;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-list a:hover {
    color: var(--color-primary);
}

.nav-list a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1.6rem;
    min-height: 50px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: #129989;
    box-shadow: var(--shadow-small);
}

/* nav-action zajema nav-cta in language switcher*/

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4rem;
}


/*============== HEADER LANGUAGE SWITCHER =================*/

.language-switcher {
    position: relative;
    margin-left: 3rem;
}

.language-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;

    padding: 0.7rem 0.9rem;

    background: transparent;
    border: 2px solid #d9dde5;
    border-radius: 2rem;

    color: var(--color-text);
    font: inherit;
    font-weight: 600;

    cursor: pointer;
}

.language-trigger:hover {
    border-color: var(--color-primary);
}

.language-arrow {
    font-size: 0.8rem;
}

/* Dropdown language switcher*/

.language-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;

    padding: 0.5rem;
    margin: 0;
    

    list-style: none;

    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.8rem;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 1000;
}

.language-switcher.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    padding: 0.6rem;

    color: var(--color-text);
    text-decoration: none;

    justify-content: center;

    border-radius: var(--radius-medium);
}

.language-menu a:hover {
    background: #f4f6f8;
}

.language-menu a.active {
    font-weight: 700;
}

.language-flag {
    width: 24px;
    height: auto;
    display: block;
}

.language-menu-flag {
    width: 22px;
    height: auto;
    flex-shrink: 0;
}

/*============== DROPDOWN =================*/

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-trigger span {
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.dropdown-menu {
    z-index: 1000;
    position: absolute;
    top: calc(100% + 1.2rem);
    left: 50%;

    width: 560px;
    padding: 1rem;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;

    list-style: none;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-large);

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);

    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown:hover .dropdown-trigger span,
.nav-dropdown:focus-within .dropdown-trigger span {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;

    height: 100%;
    padding: 1.25rem;

    border-radius: var(--radius-small);

    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(24, 182, 164, 0.08);
    transform: translateY(-2px);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu strong {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    color: var(--color-dark);
}

.dropdown-menu span {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.dropdown-menu li + li {
    border-left: 1px solid var(--color-border);
}

.dropdown-menu li {
    padding: 0 0.5rem;
}

/*============== HAMBURGER =================*/

.hamburger {
    display: none;

    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 44px;
    height: 44px;

    padding: 0;

    background: transparent;
    border: 0;

    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;

    background: var(--color-dark);
    border-radius: 999px;

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

/*============== MOBILE =================*/

@media (max-width: 900px) {

    .main-nav,
    .nav-cta {
        display: none;
    }

    .site-header {
        --mobile-header-height: 96px;
    }

    .nav-wrapper {
        height: var(--mobile-header-height);
        min-height: var(--mobile-header-height);

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo img {
        width: 88px;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        position: fixed;

        top: var(--mobile-header-height);
        left: 0;
        right: 0;

        width: auto;
        height: calc(100dvh - var(--mobile-header-height));

        display: flex;
        flex-direction: column;

        padding: 2rem;

        background: var(--color-white);

        overflow-y: auto;
        overflow-x: hidden;

        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;

        transition:
            transform var(--transition-normal),
            opacity var(--transition-normal),
            visibility var(--transition-normal);

        z-index: 9999;

        overscroll-behavior: contain;
    }

    :root {
        --mobile-header-height: 96px;
    }

    body {
        padding-top: var(--mobile-header-height);
    }


    .mobile-menu.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-links a {
        padding: 0.65rem 0;

        font-family: "Manrope", sans-serif;
        font-size: 1.2rem;
        font-weight: 600;

        color: var(--color-dark);
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:active {
        color: var(--color-primary);
    }

    .mobile-menu-footer {
        margin-top: auto;

        display: flex;
        flex-direction: column;
        gap: 2rem;

        padding-bottom: 1rem;
    }

    .mobile-menu-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 52px;
        padding: 0.9rem 1.2rem;

        border-radius: 999px;

        background: var(--color-primary);
        color: var(--color-white);
        font-weight: 700;
    }

    .mobile-rating {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;

        font-size: 0.9rem;
        font-weight: 700;
        color: var(--color-dark);
    }

    .mobile-rating span:first-child {
        color: #f5b301;
    }

    .mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .mobile-contact a {
        font-size: 0.95rem;
        color: var(--color-dark);
    }

    .mobile-contact a:hover,
    .mobile-contact a:active {
        color: var(--color-primary);
    }

    .mobile-local {
        padding-top: 1rem;

        border-top: 1px solid var(--color-border);

        font-size: 0.78rem;
        line-height: 1.5;

        color: var(--color-muted);
    }
}


/* =========================================
   COMPONENTS
========================================= */

/*============== HERO BUTTONS =================*/

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0.85rem 1.4rem;

    border-radius: 999px;

    font-family: "Manrope", sans-serif;
    font-weight: 700;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.button-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);

    backdrop-filter: blur(12px);
}

.button-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
}

/* ===== HEADING za podstrani, enak povsod ======= */

.section-heading {
    max-width: 700px;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-eyebrow {
    margin-bottom: 1rem;

    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    color: var(--color-primary);
}

.section-heading > h2 {
    max-width: 12ch;
    margin-bottom: 1.5rem;

    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;

    color: var(--color-dark);
}

.section-description {
    max-width: 600px;

    font-size: 1.1rem;
    line-height: 1.7;

    color: var(--color-muted);
}

/* ===== ACTIVITY CARDS ======= */

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--color-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-small);
}

.activity-card1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 5%;
}

.activity-card2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 5%;
}

.activity-card3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 5%;
}

.activity-card4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

.activity-image {
    height: 18rem;
    overflow: hidden;
    border-radius: var(--radius-medium) var(--radius-medium) 0 0;
    position: relative;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
}

.activity-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;

    padding: 0.45rem 0.8rem;
    border-radius: 999px;

    background: var(--color-primary);
    color: var(--color-white);

    font-size: 0.8rem;
    font-weight: 700;
}

.activity-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.activity-category {
    margin-bottom: 0.5rem;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: var(--color-primary);
}

.activity-title {
    margin-bottom: 1rem;

    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;

    color: var(--color-dark);
}

.activity-description {
    margin-bottom: 1.5rem;

    font-size: 1rem;
    line-height: 1.6;

    color: var(--color-muted);
}

.activity-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;

    margin-bottom: 1.5rem;
}

.activity-meta-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
}

.activity-meta-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.activity-meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-muted);
}

.activity-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;

    margin-bottom: 2rem;
}

.activity-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;

    margin-top: auto;
}

.activity-price {
    display: flex;
    flex-direction: column;
}

.activity-price-label,
.activity-price-unit {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.activity-price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
}

.activity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.8rem 1.2rem;
    border-radius: 999px;

    background: var(--color-dark);
    color: var(--color-white);

    font-weight: 700;
}

.activity-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dificulty-stars {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===== FAQ ======= */

.faq {
    padding: 2rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.faq-heading h2 {
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.faq-description {
    max-width: 420px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(15, 39, 66, 0.12);
}

.faq-item summary {
    padding: 1.5rem 0;

    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);

    cursor: pointer;
}

.faq-item p {
    padding: 0 0 1.5rem;

    max-width: 650px;

    line-height: 1.7;
    color: var(--color-muted);
}

/* ===== FINAL CTA BUTTON ======= */

.final-cta .button-secondary {
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
}

.final-cta .button-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* ===== left side ======= */

.final-cta-content h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
}

.final-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== right side ======= */

.final-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
}

.contact-item a,
.contact-item span:not(.contact-label) {
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--color-primary);
}

/*====== HONEYPOT SPAM ======*/

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



/* ===== activities cards ======= */

@media (max-width: 768px) {

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

}


/* ===== faq home page ======= */


@media (max-width: 600px) {

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

    .faq-heading h2 {
        font-size: 2.5rem;
        line-height: 1.05;
    }

}


/* =========================================
   FOOTER
========================================= */

/* ===== FOOTER ======= */

.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 0.8fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand h3 {
    margin-bottom: 1.5rem;

    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

.footer-brand .logo {
    margin-bottom: 0.75rem;
}

.footer-brand .logo img {
    width: 110px;
    height: auto;
}

.footer-company,
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-company h3,
.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

.footer-company span,
.footer-company strong {
    margin-bottom: 0.6rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: var(--color-white);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--color-white);
    text-decoration: none;
}

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

@media (max-width: 768px) {

    .site-footer {
        padding: 3rem 0 2rem;
    }

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

    .footer-brand,
    .footer-company,
    .footer-links,
    .footer-contact {
        width: 100%;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-brand .logo img {
        width: 100px;
    }

    .footer-tagline {
        max-width: 280px;
    }

    .footer-company,
    .footer-links,
    .footer-contact {
        gap: 0.75rem;
    }

    .footer-company h3,
    .footer-links h3,
    .footer-contact h3 {
        margin-bottom: 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;

        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }
}



/* ==================================================
   COOKIE CONSENT
================================================== */

.cookie-consent {
    position: static;
    z-index: auto;
    pointer-events: none;
}


/* ==================================================
   COOKIE BANNER
================================================== */

.cookie-banner {
    position: fixed;

    right: 1.5rem;
    bottom: 1.5rem;

    width: min(420px, calc(100vw - 3rem));

    padding: 1.5rem;

    background: #ffffff;
    border-radius: 1.2rem;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.16);

    display: none;

    z-index: 2147483647;
    pointer-events: auto;
}


.cookie-banner.is-visible {
    display: block;
}


.cookie-banner__content {
    margin-bottom: 1.25rem;
}


.cookie-banner__title {
    margin: 0 0 0.6rem;

    font-size: 1.35rem;
    line-height: 1.25;

    color: var(--text-color, #1f2933);
}


.cookie-banner__text {
    margin: 0;

    font-size: 0.95rem;
    line-height: 1.55;

    color: #5c6670;
}


.cookie-banner__policy-link {
    display: inline-block;

    margin-top: 0.75rem;

    font-size: 0.9rem;
    font-weight: 600;

    color: var(--color-primary);

    text-decoration: underline;
    text-underline-offset: 3px;
}


.cookie-banner__policy-link:hover {
    text-decoration-thickness: 2px;
}


/* ==================================================
   BUTTONS
================================================== */

.cookie-banner__actions,
.cookie-settings__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 0.65rem;
}


.cookie-button {
    border: 0;

    padding: 0.75rem 1rem;

    border-radius: 0.7rem;

    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}


.cookie-button:hover {
    transform: translateY(-1px);
}


.cookie-button--primary {
    background: var(--color-primary);
    color: #ffffff;
}


.cookie-button--secondary {
    background: #f3f5f6;

    color: #25313b;

    border: 1px solid #d8dee3;
}


.cookie-button--secondary:hover {
    background: #e9edef;
}


/* ==================================================
   COOKIE SETTINGS MODAL
================================================== */

.cookie-settings {
    position: fixed;
    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 1.5rem;

    z-index: 10000;

    pointer-events: auto;
}


.cookie-settings.is-visible {
    display: flex;
}


.cookie-settings__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(12, 22, 29, 0.55);

    backdrop-filter: blur(3px);
}


.cookie-settings__dialog {
    position: relative;

    width: min(620px, 100%);

    max-height: calc(100vh - 3rem);

    overflow-y: auto;

    padding: 2rem;

    background: #ffffff;

    border-radius: 1.4rem;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    z-index: 1;

    box-sizing: border-box;
}


.cookie-settings__close {
    position: absolute;

    top: 1rem;
    right: 1rem;

    width: 2.5rem;
    height: 2.5rem;

    display: grid;
    place-items: center;

    padding: 0;

    background: transparent;

    border: 0;

    font-size: 1.8rem;
    line-height: 1;

    color: #47525c;

    cursor: pointer;
}


.cookie-settings__header {
    padding-right: 2.5rem;

    margin-bottom: 1.5rem;
}


.cookie-settings__header h2 {
    margin: 0 0 0.6rem;

    font-size: 1.7rem;

    color: var(--text-color, #1f2933);
}


.cookie-settings__header p {
    margin: 0;

    line-height: 1.55;

    color: #5c6670;
}


/* ==================================================
   COOKIE CATEGORIES
================================================== */

.cookie-settings__categories {
    margin-bottom: 1.5rem;
}


.cookie-category {
    padding: 1.2rem 0;

    border-top: 1px solid #e4e8eb;
}


.cookie-category:last-child {
    border-bottom: 1px solid #e4e8eb;
}


.cookie-category__heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 0.35rem;
}


.cookie-category__heading h3 {
    margin: 0;

    font-size: 1.05rem;

    color: #25313b;
}


.cookie-category p {
    margin: 0;

    padding-right: 4rem;

    font-size: 0.92rem;
    line-height: 1.5;

    color: #68737d;
}


.cookie-category__status {
    flex-shrink: 0;

    font-size: 0.82rem;
    font-weight: 600;

    color: var(--color-primary);
}


/* ==================================================
   COOKIE SWITCH
================================================== */

.cookie-switch {
    position: relative;

    display: inline-block;

    width: 46px;
    height: 26px;

    flex-shrink: 0;
}


.cookie-switch input {
    position: absolute;

    opacity: 0;

    width: 0;
    height: 0;
}


.cookie-switch__slider {
    position: absolute;

    inset: 0;

    background: #c8d0d5;

    border-radius: 999px;

    cursor: pointer;

    transition: background-color 0.2s ease;
}


.cookie-switch__slider::before {
    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 3px;
    top: 3px;

    background: #ffffff;

    border-radius: 50%;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);

    transition: transform 0.2s ease;
}


.cookie-switch input:checked + .cookie-switch__slider {
    background: var(--color-primary);
}


.cookie-switch input:checked + .cookie-switch__slider::before {
    transform: translateX(20px);
}


.cookie-switch input:focus-visible + .cookie-switch__slider {
    outline: 3px solid rgba(18, 103, 130, 0.25);
    outline-offset: 2px;
}


/** stran ne scrolla ko je odprt cookies setting **/

body.cookie-settings-open {
    overflow: hidden;
}

/* ==================================================
   FOOTER COOKIE SETTINGS
================================================== */

.footer-cookie-settings {
    padding: 0;

    background: none;
    border: 0;

    font: inherit;
    color: inherit;

    cursor: pointer;
}

.footer-cookie-settings:hover {
    color: var(--color-primary);
}

/* ==================================================
   PRIVACY & COOKIES POLICY
================================================== */




/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .cookie-banner {
        position: fixed;

        left: 1rem;
        right: 1rem;

        top: auto;
        bottom: 1rem;

        width: auto;

        transform: none;

        padding: 1rem 1.25rem;
        border-radius: 1rem;
    }


    .cookie-banner__title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }


    .cookie-banner__text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .cookie-banner__policy-link {
        display: inline-block;
    }


    .cookie-banner__actions {
        flex-direction: column;
        gap: 0.5rem;
    }


    .cookie-banner__actions .cookie-button {
        width: 100%;
    }


    .cookie-settings {
        align-items: flex-end;
        padding: 0;
    }


    .cookie-settings__dialog {
        width: 100%;

        max-height: 90vh;

        padding: 1.5rem;

        border-radius: 1.4rem 1.4rem 0 0;

        box-sizing: border-box;
    }


    .cookie-settings__header h2 {
        font-size: 1.45rem;
    }


    .cookie-category p {
        padding-right: 0;
    }


    .cookie-settings__actions {
        flex-direction: column;
    }


    .cookie-settings__actions .cookie-button {
        width: 100%;
    }

    .cookie-button {
        padding: 0.8rem 1rem;
    }

}

/* =========================================
   BACK TO TOP
========================================= */

.back-to-top {
    display: none;
}



@media (max-width: 900px) {

    .back-to-top {
        position: fixed;
        right: 20px;
        bottom: 20px;

        width: 48px;
        height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;

        border: 2px solid var(--color-primary);
        border-radius: 14px;

        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(12px);

        color: var(--color-dark);

        cursor: pointer;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease,
            background-color .2s ease;

        z-index: 9000;
    }

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;

        fill: none;
        stroke: currentColor;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

}

/* =========================================
   FLOATING WHATSAPP
========================================= */

.floating-whatsapp {
    display: none;
}

@media (max-width: 900px) {

    .floating-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 20px;

    height: 44px;
    width: 48px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 11px;

    border-radius: 14px;

    background: var(--color-primary);
    color: #fff;

    text-decoration: none;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);

    transition:
        width .35s ease,
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 9000;
    }


    /* Visible + expanded */

    .floating-whatsapp.is-visible {
        width: 132px;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }


    /* Collapsed */

    .floating-whatsapp.is-collapsed {
        width: 44px;
    }


    /* Icon */

    .floating-whatsapp svg {
        width: 22px;
        height: 22px;

        min-width: 22px;
        flex: 0 0 22px;

        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


    /* Text */

    .floating-whatsapp span {
        margin-left: 9px;

        font-weight: 600;
        white-space: nowrap;

        opacity: 1;

        transition: opacity .2s ease;
    }

    .floating-whatsapp.is-collapsed span {
        opacity: 0;
    }
}