/* ============================================
   ULJARICE BAČKA
   ============================================ */

/* --- CSS Variables --- */
:root {
    --page-bg: #FDF8F2;
    --white: #FFFFFF;
    --mint: #E6F5ED;
    --dark-green: #034D30;
    --heading-green: #034D30;
    --heading-navy: #1C2B3A;
    --body-text: #1C2B3A;
    --cta: #F78A21;
    --cta-hover: #D97510;
    --link: #058852;
    --divider: #DDD8D0;

    --font-heading: 'Manrope', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --container-max: 1280px;
    --section-py: clamp(5rem, 10vw, 9rem);
    --gap: clamp(1rem, 3vw, 2rem);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(28, 43, 58, 0.06);
    --shadow-md: 0 4px 24px rgba(28, 43, 58, 0.08);
    --shadow-lg: 0 12px 40px rgba(28, 43, 58, 0.12);
    --shadow-xl: 0 20px 60px rgba(28, 43, 58, 0.16);

    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --header-h: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--page-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1;
}

body.with-transitions {
    transition: opacity 0.6s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--cta);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--heading-navy);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    max-width: 65ch;
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.35s var(--ease);
    will-change: transform;
}

.btn-primary {
    background: var(--cta);
    color: #fff;
    border-color: var(--cta);
}

.btn-primary:hover {
    background: var(--cta-hover);
    border-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(247, 138, 33, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-lg {
    padding: 1.125rem 3rem;
    font-size: 1.0625rem;
}

/* --- Section Tag --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--link);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.25rem;
    height: 2px;
    background: var(--cta);
    transform: translateY(-50%);
}

/* --- Link Arrow --- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--link);
    text-decoration: none;
    margin-top: 1.5rem;
    transition: gap 0.3s var(--ease);
}

.link-arrow:hover {
    gap: 0.875rem;
}

.link-arrow span {
    transition: transform 0.3s var(--ease);
    font-size: 1.25em;
}

.link-arrow:hover span {
    transform: translateX(4px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(253, 248, 242, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    height: 44px;
    width: auto;
    transition: filter 0.4s ease;
}

.site-header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.nav-list {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s ease;
    position: relative;
}

.site-header.scrolled .nav-list a {
    color: var(--body-text);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cta);
    transition: width 0.3s var(--ease);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: #fff;
}

.site-header.scrolled .nav-list a:hover {
    color: var(--heading-navy);
}

.nav-list .nav-cta {
    background: var(--cta);
    color: #fff;
    padding: 0.625rem 1.75rem;
    border-radius: 50px;
    transition: all 0.3s var(--ease);
}

.nav-list .nav-cta::after {
    display: none;
}

.nav-list .nav-cta:hover {
    background: var(--cta-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(247, 138, 33, 0.35);
}

.site-header.scrolled .nav-list .nav-cta {
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.site-header.scrolled .hamburger span {
    background: var(--body-text);
}

.hamburger.active span {
    background: #fff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-12px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--dark-green);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    overflow: hidden;
}

.mobile-menu li + li {
    margin-top: 2rem;
}

.mobile-menu a {
    display: inline-block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.mobile-menu a:hover {
    opacity: 1;
    transform: translateX(8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-green);
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-fallback-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        175deg,
        rgba(3, 77, 48, 0.35) 0%,
        rgba(28, 43, 58, 0.55) 45%,
        rgba(28, 43, 58, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding-top: var(--header-h);
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--cta);
    transform: translateY(-50%);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    animation: scrollLineAnim 2.2s ease-in-out infinite;
}

@keyframes scrollLineAnim {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
    background: var(--dark-green);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(5, 136, 82, 0.25), transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(247, 138, 33, 0.08), transparent 55%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
    color: #fff;
    position: relative;
    padding: 1.5rem 1rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.stat-label {
    display: block;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
    opacity: 0.6;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section-white {
    background: var(--white);
}

.section-mint {
    background: var(--mint);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header p {
    margin: 0 auto;
    color: var(--body-text);
    opacity: 0.7;
    font-size: 1.0625rem;
    max-width: 550px;
}

.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.section-split--reverse .section-image {
    order: -1;
}

.section-text h2 {
    color: var(--heading-green);
}

.section-text p {
    color: var(--body-text);
    opacity: 0.8;
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* Image Frame */
.image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    will-change: transform;
}

.image-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.image-frame:hover img {
    transform: scale(1.04);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
    background: var(--page-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 77, 48, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: border-color 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    border-color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(28, 43, 58, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    transition: transform 0.35s var(--ease-out);
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ============================================
   QUICK LINKS CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    text-decoration: none;
    color: var(--body-text);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-green), var(--cta));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    color: var(--dark-green);
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
}

.card:hover .card-icon {
    color: var(--cta);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-navy);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    opacity: 0.65;
    flex: 1;
}

.card-arrow {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 1.25rem;
    color: var(--cta);
    transition: transform 0.3s var(--ease);
    font-weight: 600;
}

.card:hover .card-arrow {
    transform: translateX(8px);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--dark-green);
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
}

.cta-banner::before {
    width: 500px;
    height: 500px;
    background: var(--cta);
    top: -150px;
    right: -100px;
}

.cta-banner::after {
    width: 400px;
    height: 400px;
    background: var(--link);
    bottom: -100px;
    left: -80px;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1.0625rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark-green);
    color: rgba(255, 255, 255, 0.75);
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.65;
    opacity: 0.6;
    max-width: 320px;
}

.footer-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.site-footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer ul {
    list-style: none;
}

.site-footer li + li {
    margin-top: 0.625rem;
}

.site-footer li {
    font-size: 0.9375rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.45;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .section-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section-split--reverse .section-image {
        order: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 479px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .page-gallery-grid {
        grid-template-columns: 1fr;
    }

    .location-card--hq {
        grid-column: span 1;
    }
}

/* ============================================
   DROPDOWN MENUS (Desktop)
   ============================================ */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-chevron {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    transition: transform 0.25s var(--ease);
}

.has-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 230px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(-50%) rotate(45deg);
}

.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-list .dropdown a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--body-text);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-list .dropdown a::after {
    display: none;
}

.nav-list .dropdown a:hover {
    background: var(--mint);
    color: var(--heading-green);
}

.site-header.scrolled .nav-list .dropdown a {
    color: var(--body-text);
}

.site-header.scrolled .nav-list .dropdown a:hover {
    color: var(--heading-green);
}

.dropdown li + li {
    margin-top: 0;
}

/* Nav Divider */
.nav-divider {
    display: flex;
    align-items: center;
    user-select: none;
    pointer-events: none;
}

.nav-divider::before {
    content: '';
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
}

.site-header.scrolled .nav-divider::before {
    background: var(--divider);
}

/* Lang Switch (inline in nav) */
.nav-list .lang-switch {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.55;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-list .lang-switch:hover {
    opacity: 1;
}

.nav-list .lang-switch::after {
    display: none;
}

/* Mobile Lang Switch */
.mobile-lang-switch {
    display: block;
    margin-top: 3rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.12em;
    text-align: center;
    transition: color 0.3s ease;
}

.mobile-lang-switch:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   MOBILE MENU — Accordion Submenus
   ============================================ */
.mobile-nav-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.25s ease;
    padding: 0;
    width: 100%;
}

.mobile-nav-parent:hover {
    opacity: 1;
}

.mobile-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.4;
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}

.mobile-nav-parent[aria-expanded="true"] .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
    margin-top: 0;
}

.mobile-sub.open {
    max-height: 400px;
    margin-top: 1rem;
}

.mobile-sub li + li {
    margin-top: 0.625rem;
}

.mobile-sub a {
    display: inline-block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 500;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.mobile-sub a:hover {
    opacity: 0.85;
    transform: translateX(4px);
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    position: relative;
    height: clamp(340px, 45vh, 540px);
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    background: var(--dark-green);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.page-hero .hero-subtitle {
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .sep {
    opacity: 0.3;
}

/* ============================================
   VALUES GRID
   ============================================ */
.values-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.values-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--body-text);
    opacity: 0.8;
    margin: 0 auto;
}

.values-intro p + p {
    margin-top: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
}

.value-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--dark-green), var(--cta));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
    opacity: 1;
}

.value-bullet {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
    color: var(--cta);
    transition: color 0.3s ease;
}

.value-bullet svg {
    width: 10px;
    height: 10px;
}

.value-card:hover .value-bullet {
    color: var(--dark-green);
}

.value-content {
    flex: 1;
    min-width: 0;
}

.value-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--heading-navy);
    margin-bottom: 0.375rem;
    max-width: none;
}

.value-desc {
    display: block;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--body-text);
    opacity: 0.55;
    max-width: none;
}

/* Quote Banner */
.quote-banner {
    background: var(--dark-green);
    padding: clamp(4rem, 8vw, 7rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(5, 136, 82, 0.2), transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(247, 138, 33, 0.06), transparent 60%);
    pointer-events: none;
}

.quote-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: -1rem;
    user-select: none;
}

.quote-banner blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    font-style: italic;
}

.quote-banner cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Related Links */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

/* ============================================
   TIMELINE (History Page)
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--dark-green), var(--cta), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.0625rem;
    top: 0.375rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark-green);
    border: 3px solid var(--mint);
    z-index: 1;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-text);
}

.timeline-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.timeline-list li {
    margin-bottom: 0.25rem;
}

.timeline-list li:last-child {
    margin-bottom: 0;
    opacity: 0.85;
}

/* ============================================
   LOCATION CARDS
   ============================================ */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-green), var(--cta));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.location-card:hover::before {
    opacity: 1;
}

.location-card--hq {
    grid-column: 1 / -1;
    background: var(--mint);
}

.location-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--heading-navy);
    margin-bottom: 0.25rem;
}

.location-type {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cta);
    margin-bottom: 1rem;
}

.location-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--body-text);
    opacity: 0.8;
    margin-bottom: 1rem;
    max-width: none;
}

.location-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.location-spec {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--body-text);
    opacity: 0.6;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
}

.location-spec svg {
    width: 14px;
    height: 14px;
    color: var(--dark-green);
    flex-shrink: 0;
}

/* ============================================
   BUSINESS SECTIONS
   ============================================ */
.business-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-bottom: 1px solid var(--divider);
}

.business-section:last-child {
    border-bottom: none;
}

.business-section h3 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    color: var(--heading-green);
    margin-bottom: 1rem;
}

.business-section-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--body-text);
    opacity: 0.8;
    max-width: 75ch;
}

.business-section-text + .business-section-text {
    margin-top: 1rem;
}

.business-list {
    margin: 0.75rem 0 1rem;
    padding-left: 1.5rem;
    max-width: 75ch;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--body-text);
    opacity: 0.85;
    list-style: disc;
}

.business-list li {
    margin-bottom: 0.35rem;
}

.contact-persons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.contact-person {
    background: var(--mint);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}

.contact-person-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--heading-navy);
    margin-bottom: 0.125rem;
}

.contact-person-role {
    font-size: 0.8125rem;
    color: var(--body-text);
    opacity: 0.55;
    margin-bottom: 0.75rem;
}

.contact-person a {
    display: block;
    font-size: 0.875rem;
    color: var(--link);
    transition: color 0.2s;
}

.contact-person a:hover {
    color: var(--dark-green);
}

.contact-person a + a {
    margin-top: 0.25rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}

.contact-form-wrap h3 {
    margin-bottom: 1.5rem;
    color: var(--heading-green);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading-navy);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--body-text);
    background: var(--white);
    border: 1.5px solid var(--divider);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--dark-green);
    box-shadow: 0 0 0 3px rgba(3, 77, 48, 0.08);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    background: var(--mint);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-card svg {
    width: 24px;
    height: 24px;
    color: var(--dark-green);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-info-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: 0;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.9375rem;
    color: var(--body-text);
    opacity: 0.7;
    max-width: none;
}

.contact-info-card a:hover {
    opacity: 1;
    color: var(--link);
}

/* ============================================
   TEAM PAGE
   ============================================ */
.team-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.team-highlight {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s var(--ease);
}

.team-highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-highlight-icon {
    width: 48px;
    height: 48px;
    color: var(--dark-green);
    margin: 0 auto 1rem;
}

.team-highlight h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--heading-navy);
}

.team-highlight p {
    font-size: 0.875rem;
    line-height: 1.65;
    opacity: 0.6;
    margin: 0 auto;
}

/* ============================================
   VIDEO EMBED (YouTube)
   ============================================ */
.page-gallery-video {
    grid-column: 1 / -1;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.page-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.page-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.page-gallery-item:hover img {
    transform: scale(1.06);
}

.page-gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 77, 48, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.page-gallery-item .gallery-overlay svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

/* ============================================
   CAREER PAGE
   ============================================ */
.career-cta {
    background: var(--mint);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    max-width: 600px;
    margin: 2.5rem auto 0;
}

.career-cta p {
    font-size: 1.0625rem;
    margin: 0 auto 1.5rem;
    opacity: 0.8;
}

.career-cta a {
    color: var(--link);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.career-cta a:hover {
    color: var(--dark-green);
}

/* ============================================
   INNER PAGE RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .team-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        height: clamp(280px, 40vh, 400px);
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item::before {
        left: -2.0625rem;
    }

    .team-highlights {
        grid-template-columns: 1fr;
    }

    .page-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-persons {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-line::after {
        animation: none;
    }

    .hero-video {
        opacity: 1;
    }
}
