/* ============================================================
   ALADIVIBO — Component Styles (Julius Berger inspired)
   Diagonal hero banners, sidebar nav, corporate content
   ============================================================ */

/* ── Top Bar ──────────────────────────────────────────────────── */
.top-bar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: var(--text-xs);
    color: var(--gray-300);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 0;
}

.top-bar a {
    color: var(--gray-300);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .15);
}

/* Top bar — hide on mobile (contact info is in footer + sidebar) */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background .3s, box-shadow .3s;
}

.navbar.scrolled .nav-main {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
    /* NOTE: Do NOT use backdrop-filter here — it creates a new containing block
       that breaks position:fixed on child elements (hamburger sidebar) */
}

.nav-main {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    transition: background .3s, border-color .3s;
}

/* Transparent Navbar state for Homepage */
.navbar-transparent:not(.scrolled) .nav-main {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.navbar-transparent:not(.scrolled) .top-bar {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.navbar-transparent:not(.scrolled) .top-bar,
.navbar-transparent:not(.scrolled) .top-bar a {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.navbar-transparent:not(.scrolled) .hamburger span {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 70px;
}

.nav-logo-img {
    height: 44px;
}

/* Nav links */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 32px 40px;
    margin: 0;
    list-style: none;
    z-index: 1002;
    transition: right .4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.nav-links.open {
    right: 0;
}

.nav-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: var(--text-lg);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: color .2s, padding-left .2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    padding-left: 8px;
}

.nav-link-arrow {
    font-size: 14px;
    transition: transform .3s;
    color: rgba(255, 255, 255, 0.4);
}

.nav-link-arrow.rotated {
    transform: rotate(180deg);
}

/* Mega Menu (Nested Accordion in Sidebar) */
.mega-menu {
    display: none;
    /* hidden by default, toggled by JS */
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -32px;
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, .04);
}

.mega-menu.mobile-open {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    transition: transform .2s;
    color: var(--gray-300);
}

.mega-menu-link:last-child {
    border-bottom: none;
}

.mega-menu-link:hover {
    transform: translateX(6px);
}

.mega-menu-link-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius);
    color: var(--white);
}

.mega-menu-link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu-link-title {
    font-weight: 500;
    font-size: var(--text-base);
    color: var(--white);
}

.mega-menu-link-desc {
    font-size: 12px;
    color: var(--gray-400);
}

/* Nav CTA */
.nav-cta {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ── Hamburger ────────────────────────────────────────────────── */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1003;
    /* Keep above sidebar and nav-links */
    position: relative;
    border-radius: 50%;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s;
}

.hamburger:hover {
    background: rgba(0, 107, 63, .1);
    transform: scale(1.05);
}

.hamburger:hover span {
    background: var(--primary);
}

.navbar.scrolled .hamburger:hover span,
.navbar:not(.navbar-transparent) .hamburger:hover span {
    background: var(--primary);
}

.navbar-transparent:not(.scrolled) .hamburger:hover span {
    background: var(--green-300);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    transition: all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

/* White bars when menu is open because background is dark */
.hamburger.active span {
    background: var(--white);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ── Mobile Overlay ───────────────────────────────────────────── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* ── Hero / Page Banner — JB Diagonal Style ───────────────────── */
.hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 45, 80, .88) 0%, rgba(0, 107, 63, .65) 50%, rgba(0, 45, 80, .75) 100%);
}

/* Diagonal bottom shape */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 100px;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, .7);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.hero-desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, .85);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: background .3s, width .3s;
}

.hero-dot.active {
    background: var(--white);
    width: 60px;
}

.hero-progress {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, .1);
    z-index: 4;
}

.hero-progress-bar {
    height: 100%;
    width: 0;
    background: var(--primary);
}

.hero-progress-bar.running {
    animation: heroProgress 6s linear;
}

@keyframes heroProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ── Page Banner (subpages) — JB diagonal ─────────────────────── */
.page-banner {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, #002d50 60%, var(--green-700) 100%);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><polygon points="0,400 800,200 800,400" fill="rgba(255,255,255,0.04)"/><polygon points="200,0 800,0 800,300" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, .7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, .3);
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-top: 20px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-img {
    height: 45px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--gray-300);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: background .2s, color .2s;
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: .08em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: color .2s, padding-left .2s;
}

.footer-link:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    font-size: var(--text-sm);
    color: var(--gray-400);
    align-items: flex-start;
}

.footer-contact-icon {
    font-size: 14px;
    margin-top: 2px;
}

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--gray-300);
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 28px;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--green-100);
    color: var(--green-700);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.card-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.card-text {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    margin-top: 14px;
}

.card-link:hover {
    gap: 8px;
}

/* ── Service Cards ────────────────────────────────────────────── */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 28px;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card-body h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card-body p {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ── Filter Tabs ─────────────────────────────────────────────── */
.filter-tab {
    padding: 10px 24px;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gray-600);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 100px;
    cursor: pointer;
    transition: all .25s ease;
}

.filter-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 107, 63, 0.25);
}

/* ── Project Cards ────────────────────────────────────────────── */
.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all .35s;
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-card-overlay h4 {
    font-size: var(--text-lg);
    margin-bottom: 4px;
}

.project-card-overlay p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .7);
}

/* ── Team Cards ───────────────────────────────────────────────── */
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: transform .25s;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark);
}

.team-card-role {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 600;
    margin-top: 4px;
}

/* ── News Cards ───────────────────────────────────────────────── */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: transform .25s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 24px;
}

.news-card-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: .05em;
}

.news-card-body h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── CTA Banner — JB Diagonal ────────────────────────────────── */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #002d50, var(--green-700));
    text-align: center;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--gray-50);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><polygon points="0,400 800,200 800,400" fill="rgba(255,255,255,0.03)"/><polygon points="200,0 800,0 800,300" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-banner p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, .8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ── Content Prose (JB style centered text blocks) ────────────── */
.prose {
    max-width: 800px;
    margin: 0 auto;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.prose h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--dark);
    margin: 40px 0 16px;
}

.prose p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.prose p:last-child {
    margin-bottom: 0;
}

/* ── Feature List ─────────────────────────────────────────────── */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: transform .2s;
}

.feature-item:hover {
    transform: translateX(4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.feature-title {
    font-weight: 700;
    color: var(--dark);
    font-size: var(--text-sm);
    margin-bottom: 2px;
}

.feature-desc {
    font-size: var(--text-xs);
    color: var(--gray-500);
    line-height: 1.5;
}

/* ── Overview Strip ───────────────────────────────────────────── */
.overview-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.overview-text {
    padding: 48px 56px;
}

.overview-image {
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Stats Strip ──────────────────────────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .6);
    margin-top: 4px;
    font-weight: 500;
}

/* ── Values Grid ──────────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: transform .2s;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.value-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.value-desc {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ── Timeline ─────────────────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-sm);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.timeline-item h3 {
    font-size: var(--text-lg);
    color: var(--dark);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Contact Form ─────────────────────────────────────────────── */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    border: 1px solid var(--gray-100);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--gray-50);
    transition: border-color .2s, box-shadow .2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 107, 63, .12);
}

/* ── Compliance Badges ────────────────────────────────────────── */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
}

.compliance-badge-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    border-radius: var(--radius);
}

.compliance-badge span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
}

/* ── Back to Top ──────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-700);
    transform: translateY(-2px);
}

/* ── Page Loader ──────────────────────────────────────────────── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: linear-gradient(135deg, var(--dark), #002d50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s, visibility .5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.loader-logo .green {
    color: var(--primary);
}

.loader-logo .blue {
    color: var(--secondary);
}

.loader-bar {
    width: 200px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .1);
    margin: 0 auto;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: loaderFill 1.5s ease forwards;
}

@keyframes loaderFill {
    to {
        width: 100%;
    }
}

/* ── Divider with diagonal ────────────────────────────────────── */
.diagonal-top {
    position: relative;
}

.diagonal-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}

/* ── Sustainability Section Icons ─────────────────────────────── */
.sustainability-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-100);
}

.sustainability-block:last-child {
    border-bottom: none;
}

.sustainability-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-100), var(--blue-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.sustainability-block h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.sustainability-block p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.8;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .nav-links {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .overview-strip {
        grid-template-columns: 1fr;
    }

    .overview-text {
        padding: 36px 28px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .sustainability-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sustainability-icon {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: var(--text-base);
    }

    .hero-btns {
        flex-direction: column;
    }
}