/* ============================================
   COMPONENTS — Drevenica 2026
   ============================================ */

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    transition: all var(--dur-norm) var(--ease);
    background: transparent;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--c-gray-100), var(--sh-sm);
}

.navbar__container {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    min-height: var(--nav-h);
    position: relative;
}

.navbar__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.navbar__menu {
    pointer-events: auto;
}

.navbar__lang-mobile-wrap {
    pointer-events: auto;
}

.navbar__logo {
    display: flex;
    align-items: center;
    z-index: 3;
    flex-shrink: 0;
}

.navbar__logo-img {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: var(--sh-lg);
    object-fit: contain;
    margin-top: 20px;
    margin-bottom: -80px;
    position: relative;
    z-index: 10;
    transition: box-shadow var(--dur-norm) var(--ease), transform var(--dur-norm) var(--ease);
}

.navbar.is-scrolled .navbar__logo-img {
    box-shadow: var(--sh-xl);
    transform: scale(0.7) translateY(-30px);
}

.navbar__logo-text {
    display: none;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--c-forest-600);
    border-radius: var(--r-full);
    padding: var(--sp-1) var(--sp-2);
    transition: all var(--dur-norm) var(--ease);
}

.navbar.is-scrolled .navbar__menu {
    background: var(--c-gray-50);
}

.navbar__link {
    padding: var(--sp-3) var(--sp-4);
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--fs-sm);
    font-weight: 500;
    border-radius: var(--r-sm);
    transition: all var(--dur-fast);
    letter-spacing: 0.01em;
}

.navbar.is-scrolled .navbar__link {
    color: var(--c-forest-700);
}

.navbar__link:hover {
    color: var(--c-bark-500);
}

.navbar.is-scrolled .navbar__link:hover {
    background: var(--c-forest-50);
    color: var(--c-forest-600);
}

/* Dropdown */
.navbar__item--dropdown {
    position: relative;
}

.navbar__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: var(--sp-2);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--c-gray-100);
}

.navbar__item--dropdown:hover .navbar__dropdown {
    display: block;
    animation: fadeIn var(--dur-fast);
}

.navbar__dropdown a {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    color: var(--c-text);
    font-size: var(--fs-sm);
    border-radius: var(--r-sm);
    transition: background var(--dur-fast);
}

.navbar__dropdown a:hover {
    background: var(--c-forest-50);
    color: var(--c-forest-600);
}

/* Language wrapper — absolute right on desktop, inside mobile menu on mobile */
.navbar__lang-mobile-wrap {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
}

/* Language */
.navbar__lang {
    position: relative;
    z-index: 11;
}

.navbar__lang-btn {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-3);
    color: var(--c-forest-700);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--c-gray-200);
    transition: all var(--dur-fast);
    cursor: pointer;
}

.navbar__lang-btn:hover {
    background: white;
    box-shadow: var(--sh-sm);
}

.navbar.is-scrolled .navbar__lang-btn {
    color: var(--c-forest-700);
    border-color: var(--c-gray-200);
}

.navbar__lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background: var(--c-white);
    border-radius: var(--r-md);
    padding: var(--sp-2);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--c-gray-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--dur-fast), transform var(--dur-fast), visibility var(--dur-fast);
    pointer-events: none;
}

.navbar__lang.is-open .navbar__lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar__lang-option {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    color: var(--c-text);
    font-size: var(--fs-sm);
    border-radius: var(--r-sm);
    transition: background var(--dur-fast);
}

.navbar__lang-option:hover {
    background: var(--c-forest-50);
    color: var(--c-forest-600);
}

.navbar__lang-option.is-active {
    background: var(--c-forest-50);
    font-weight: 600;
    color: var(--c-forest-600);
}

.navbar__lang-flag {
    font-weight: 700;
    min-width: 28px;
}

/* Mobile nav */
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--sp-3);
    cursor: pointer;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--r-md);
    border: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 12;
}

.navbar__toggle-line {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--dur-norm) var(--ease);
}

.navbar.is-scrolled .navbar__toggle {
    background: rgba(0, 0, 0, 0.06);
}

.navbar.is-scrolled .navbar__toggle-line {
    background: var(--c-forest-800);
}

.navbar__toggle.is-active .navbar__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.is-active .navbar__toggle-line:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.is-active .navbar__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__logo-img {
        width: 100px;
        height: 100px;
        margin-top: 10px;
        margin-bottom: -50px;
    }

    .navbar__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - var(--nav-h));
        background: var(--c-white);
        padding: var(--sp-6) 0;
        overflow-y: auto;
        z-index: 100;
        box-shadow: var(--sh-lg);
        pointer-events: auto;
        bottom: auto;
        align-items: stretch;
        justify-content: flex-start;
    }

    .navbar__nav.is-open {
        display: block;
        animation: slideDown var(--dur-norm);
    }

    .navbar__menu {
        flex-direction: column;
        gap: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    .navbar__item {
        border-bottom: 1px solid var(--c-gray-100);
    }

    .navbar__link {
        color: var(--c-forest-800) !important;
        font-size: var(--fs-lg);
        padding: var(--sp-5) var(--sp-8);
        width: 100%;
        display: block;
    }

    .navbar__link:hover {
        background: var(--c-forest-50) !important;
        color: var(--c-forest-600) !important;
    }

    .navbar__dropdown {
        position: static;
        background: var(--c-gray-50);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        min-width: unset;
        display: none;
    }

    .navbar__item--dropdown.is-open .navbar__dropdown {
        display: block;
    }

    .navbar__dropdown a {
        color: var(--c-text-muted);
        padding: var(--sp-4) var(--sp-8) var(--sp-4) var(--sp-12);
        font-size: var(--fs-base);
        border-radius: 0;
    }

    .navbar__dropdown a:hover {
        background: var(--c-forest-100);
        color: var(--c-forest-700);
    }

    /* Language switcher inside mobile menu */
    .navbar__lang-mobile-wrap {
        position: static;
        transform: none;
        display: block;
        padding: var(--sp-6) var(--sp-8);
        border-top: 1px solid var(--c-gray-100);
        margin-top: var(--sp-4);
    }

    .navbar__lang-mobile-wrap .navbar__lang {
        position: static;
    }

    .navbar__lang-mobile-wrap .navbar__lang-btn {
        display: none;
    }

    .navbar__lang-mobile-wrap .navbar__lang-dropdown {
        position: static;
        display: flex !important;
        flex-wrap: wrap;
        gap: var(--sp-2);
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: unset;
    }

    .navbar__lang-mobile-wrap .navbar__lang-option {
        padding: var(--sp-2) var(--sp-4);
        border-radius: var(--r-md);
        border: 1px solid var(--c-gray-200);
        font-size: var(--fs-sm);
    }

    .navbar__lang-mobile-wrap .navbar__lang-option.is-active {
        background: var(--c-forest-100);
        border-color: var(--c-forest-400);
        font-weight: 600;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--r-full);
    border: 2px solid transparent;
    transition: all var(--dur-norm) var(--ease);
    cursor: pointer;
}

.btn--forest {
    background: var(--c-forest-600);
    color: white;
    border-color: var(--c-forest-600);
}

.btn--forest:hover {
    background: var(--c-forest-700);
    border-color: var(--c-forest-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.btn--bark {
    background: var(--c-bark-600);
    color: white;
    border-color: var(--c-bark-600);
}

.btn--bark:hover {
    background: var(--c-bark-700);
    border-color: var(--c-bark-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.btn--outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
    background: white;
    color: var(--c-forest-700);
    border-color: white;
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--c-forest-600);
    border-color: var(--c-forest-300);
}

.btn--outline-dark:hover {
    background: var(--c-forest-600);
    color: white;
    border-color: var(--c-forest-600);
    transform: translateY(-2px);
}

/* Legacy class compat */
.btn--primary {
    background: var(--c-forest-600);
    color: white;
    border-color: var(--c-forest-600);
}

.btn--primary:hover {
    background: var(--c-forest-700);
    border-color: var(--c-forest-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.btn--lg {
    padding: var(--sp-5) var(--sp-10);
    font-size: var(--fs-md);
}

.btn--sm {
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--fs-sm);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

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

.hero__overlay {
    display: none;
}

/* Photo dominates — text reads over image with shadows */
.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter) var(--sp-16);
}

.hero__content-inner {}

.hero__headline {
    font-size: var(--fs-5xl);
    font-family: var(--font-display);
    color: white;
    margin-bottom: var(--sp-6);
    font-weight: 800;
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.7), 0 1px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero__title {
    font-size: var(--fs-4xl);
    color: white;
    margin-bottom: var(--sp-3);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    color: white;
    font-style: italic;
    margin-bottom: var(--sp-6);
    font-weight: 400;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero__description {
    font-size: var(--fs-xl);
    color: #ffffff !important;
    margin-bottom: var(--sp-8);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.hero__actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.hero__actions .btn--outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.hero__actions .btn--outline:hover {
    background: var(--c-forest-600);
    color: white;
    border-color: var(--c-forest-600);
}

@media (max-width: 768px) {
    .hero__content {
        padding: 0 var(--gutter) var(--sp-8);
    }

    .hero__headline {
        font-size: var(--fs-3xl);
    }

    .hero__title {
        font-size: var(--fs-2xl);
    }
}

/* === HERO SLIDESHOW === */
.hero--slideshow .hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.hero--slideshow .hero__slide.active {
    opacity: 1;
    z-index: 3;
}

.hero--slideshow .hero__slide .hero__bg img {
    animation: heroSlideZoom 8s ease-in-out infinite alternate;
}

@keyframes heroSlideZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero__overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 var(--gutter) var(--sp-20);
    max-width: var(--max-w);
    margin: 0 auto;
    z-index: 3;
    color: #ffffff;
}

.hero__slide-content p {
    color: #ffffff !important;
}

.hero__slide-content .hero__headline {}

.hero__slide-content .hero__description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hero navigation */
.hero__nav {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.hero__dots {
    display: flex;
    gap: var(--sp-2);
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.hero__dot.active {
    background: white;
    width: 32px;
}

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 52px;
    height: 52px;
    border-radius: var(--r-full);
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    line-height: 1;
    padding: 0 0 3px 0;
}

.hero__arrow:hover {
    background: rgba(0, 0, 0, 0.45);
    border-color: white;
    transform: translateY(-50%) scale(1.06);
}

.hero__arrow--prev {
    left: var(--sp-6);
}

.hero__arrow--next {
    right: var(--sp-6);
}

@media (max-width: 768px) {
    .hero__slide-content {
        padding: 0 var(--gutter) var(--sp-16);
    }

    .hero__slide-content .hero__headline {
        font-size: var(--fs-3xl);
    }

    .hero__arrow {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .hero__arrow--prev {
        left: var(--sp-3);
    }

    .hero__arrow--next {
        right: var(--sp-3);
    }
}

@media (max-width: 480px) {
    .hero__slide-content .hero__headline {
        font-size: var(--fs-2xl);
    }

    .hero__slide-content .hero__description {
        font-size: var(--fs-base);
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .hero__actions {
        flex-direction: column;
        gap: var(--sp-3);
    }
}

/* === FEATURE CARDS === */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.feature-card {
    text-align: center;
    padding: var(--sp-10) var(--sp-8);
    background: var(--c-white);
    border: 1px solid var(--c-gray-100);
    border-radius: var(--r-xl);
    transition: all var(--dur-norm) var(--ease);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-forest-400), var(--c-forest-200));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-norm) var(--ease);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--sp-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--c-forest-600), var(--c-forest-400));
    border-radius: var(--r-lg);
    color: white;
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    color: var(--c-forest-800);
    margin-bottom: var(--sp-4);
}

.feature-card__text {
    color: var(--c-text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-6);
}

.feature-card__link {
    font-weight: 600;
    color: var(--c-bark-600);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    transition: gap var(--dur-fast);
}

.feature-card__link:hover {
    color: var(--c-bark-700);
    gap: var(--sp-3);
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
}

/* === PARALLAX BREAK === */
.parallax-break {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.parallax-break__img {
    position: absolute;
    inset: -20% 0;
    height: 140%;
    object-fit: cover;
    width: 100%;
}

.parallax-break__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-break__text {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    padding: var(--sp-8) var(--sp-12);
    border-radius: var(--r-xl);
    color: var(--c-forest-800);
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-style: italic;
    text-align: center;
    max-width: 800px;
    border-left: 4px solid var(--c-bark-400);
    box-shadow: var(--sh-lg);
}

@media (max-width: 768px) {
    .parallax-break {
        height: 300px;
    }

    .parallax-break__text {
        font-size: var(--fs-lg);
        padding: var(--sp-6) var(--sp-8);
        margin: 0 var(--sp-4);
    }
}

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--c-forest-700) 0%, var(--c-forest-600) 50%, var(--c-forest-500) 100%);
    padding: var(--sp-20) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
}

.cta-banner h2 {
    color: white;
    margin-bottom: var(--sp-4);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-md);
    margin-bottom: var(--sp-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* === WAVE DIVIDER === */
.wave-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* === GALLERY GRID === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
}

.gallery-grid__item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--r-lg);
    cursor: pointer;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}

.gallery-grid__item:hover img {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-2);
    }
}

/* === GALLERY FILTERS === */
.gallery-filters {
    display: flex;
    gap: var(--sp-2);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-10);
}

.gallery-filters__btn {
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--fs-sm);
    font-weight: 500;
    border-radius: var(--r-full);
    border: 1px solid var(--c-gray-200);
    color: var(--c-text-muted);
    transition: all var(--dur-fast);
    cursor: pointer;
    background: transparent;
}

.gallery-filters__btn:hover,
.gallery-filters__btn.is-active {
    background: var(--c-forest-600);
    color: white;
    border-color: var(--c-forest-600);
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
    animation: fadeIn var(--dur-norm);
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--r-sm);
}

.lightbox__close {
    position: absolute;
    top: var(--sp-8);
    right: var(--sp-8);
    color: white;
    padding: var(--sp-4);
    cursor: pointer;
    font-size: var(--fs-2xl);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: var(--sp-6);
    cursor: pointer;
    font-size: var(--fs-2xl);
}

.lightbox__prev {
    left: var(--sp-6);
}

.lightbox__next {
    right: var(--sp-6);
}

/* === GLASS CARD (compat) === */
.glass-card {
    background: var(--c-white);
    border: 1px solid var(--c-gray-100);
    border-radius: var(--r-xl);
    padding: var(--sp-10);
    transition: all var(--dur-norm) var(--ease);
}

.glass-card:hover {
    box-shadow: var(--sh-md);
}

.glass-card--light {
    background: var(--c-white);
}

/* === FOOTER === */
.footer__wave {
    margin-bottom: -1px;
    margin-top: -80px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.footer__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer__body {
    background: var(--c-forest-900);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' fill='rgba(255,255,255,0.015)'%3E%3Cpath d='M80 200L65 160 45 160 60 125 40 125 80 60 120 125 100 125 115 160 95 160Z'/%3E%3Cpath d='M300 200L290 175 278 175 286 150 275 150 300 100 325 150 314 150 322 175 310 175Z'/%3E%3Cpath d='M1150 200L1135 155 1115 155 1130 115 1110 115 1150 50 1190 115 1170 115 1185 155 1165 155Z'/%3E%3Cpath d='M1350 200L1342 178 1334 178 1340 158 1333 158 1350 125 1367 158 1360 158 1366 178 1358 178Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 200px;
    padding: var(--sp-16) 0 var(--sp-10);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sp-10);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    color: white;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.footer__logo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    padding: 3px;
    box-shadow: var(--sh-md);
}

.footer__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}

.footer__heading {
    color: var(--c-bark-300);
    font-size: var(--fs-xs);
    margin-bottom: var(--sp-5);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.footer__links li {
    margin-bottom: var(--sp-2);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--fs-sm);
    transition: all var(--dur-fast);
}

.footer__links a:hover {
    color: white;
    padding-left: 4px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
}

.footer__contact svg {
    flex-shrink: 0;
    color: var(--c-bark-300);
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
    color: white;
}

.footer__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
}

.footer__gallery a {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--r-sm);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: border-color var(--dur-fast);
}

.footer__gallery a:hover {
    border-color: var(--c-bark-400);
}

.footer__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-norm);
}

.footer__gallery a:hover img {
    transform: scale(1.08);
}

.footer__bottom {
    background: linear-gradient(180deg, var(--c-forest-900), color-mix(in srgb, var(--c-forest-900) 85%, black));
    padding: var(--sp-5) 0;
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-xs);
    margin: 0;
}

/* === FOOTER WEATHER WIDGET === */
.footer-weather {
    min-height: 80px;
}

.footer-weather__loading {
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
}

.footer-weather__spin {
    animation: footerWeatherSpin 1.5s linear infinite;
}

@keyframes footerWeatherSpin {
    to {
        transform: rotate(360deg);
    }
}

.footer-weather__now {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: var(--sp-4) var(--sp-5);
    margin-bottom: var(--sp-3);
}

.footer-weather__icon {
    font-size: 2rem;
    line-height: 1;
}

.footer-weather__info {
    display: flex;
    flex-direction: column;
}

.footer-weather__temp {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: white;
    line-height: 1;
}

.footer-weather__desc {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.footer-weather__detail {
    display: flex;
    gap: var(--sp-4);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--sp-4);
    padding-left: var(--sp-2);
}

.footer-weather__forecast {
    display: flex;
    gap: var(--sp-2);
}

.footer-weather__day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-md);
    padding: var(--sp-3) var(--sp-2);
}

.footer-weather__day-name {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-bark-300);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-weather__day-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.footer-weather__day-temp {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
}

/* === BADGE === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--r-full);
}

.badge--green {
    background: var(--c-forest-600);
    color: white;
}

/* === FORMS === */
.form-group {
    margin-bottom: var(--sp-5);
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-forest-800);
    margin-bottom: var(--sp-1);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--sp-4);
    font-size: var(--fs-base);
    border: 1px solid var(--c-gray-200);
    border-radius: var(--r-md);
    background: var(--c-white);
    transition: all var(--dur-fast);
    font-family: var(--font-body);
    color: var(--c-text);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--c-forest-400);
    box-shadow: 0 0 0 3px rgba(27, 94, 42, 0.08);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Section ornament compat */
.section-ornament {
    display: none;
}