/*
Theme Name: Lumbung Architect
Theme URI: http://lumbungarchitect.test
Author: Lumbung Architect
Description: Custom theme for Lumbung Architect - A Journey in Every Design
Version: 3.0
Text Domain: lumbung-architect
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* ── Lumbung Architect Brand System ── */
    --primary: #161616;
    --primary-light: #2A2A2A;
    --primary-dark: #000000;
    --primary-rgb: 0, 0, 0;

    --accent: #161616;
    --accent-light: #2A2A2A;
    --accent-dark: #000000;
    --accent-text: #0A0A0A;
    --accent-rgb: 22, 22, 22;

    --gold: #2A2A2A;

    --cream: #FAFAFA;
    --cream-dark: #F2F2F2;
    --white: #FFFFFF;
    --dark: #161616;
    --dark-soft: #2A2A2A;

    --gray-900: #2E2E2E;
    --gray-700: #525252;
    --gray-500: #6B6B6B; /* Updated from #8A8A8A for WCAG AA 4.5:1 contrast on white */
    --gray-300: #C8C8C8;
    --gray-200: #E2E2E2;
    --gray-100: #F2F2F2;

    /* ── Typography ── */
    --font-heading: 'Jost', -apple-system, sans-serif;
    --font-body: 'Jost', -apple-system, sans-serif;

    /* ── Spacing System (8px grid) ── */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 100px;
    --space-3xl: 140px;
    --section-pad: 120px;

    /* ── Motion ── */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.4s;
    --duration-slow: 0.8s;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
}

*, *::before, *::after {
    max-width: 100%;
}

section, footer {
    overflow: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all var(--duration) var(--ease-smooth); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > .reveal:nth-child(8) { transition-delay: 0.7s; }
.stagger-children > .reveal:nth-child(9) { transition-delay: 0.8s; }
.stagger-children > .reveal:nth-child(10) { transition-delay: 0.9s; }
.stagger-children > .reveal:nth-child(11) { transition-delay: 1.0s; }
.stagger-children > .reveal:nth-child(12) { transition-delay: 1.1s; }

/* ===== SHARED SECTION STYLES ===== */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0A0A0A; /* WCAG AA 4.5:1 on white — darker than var(--accent) #161616 which only achieves 2.9:1 */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

.section-heading-white {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}

.accent-line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: var(--space-md) 0;
    border-radius: 2px;
}

.section-title-center {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--duration) var(--ease-smooth);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.45s var(--ease-smooth);
}

.btn-primary:hover { border-color: var(--accent); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: transparent;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.btn-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--duration) var(--ease-smooth);
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
    position: relative;
}

/* ── Logo ── */
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: height 0.3s var(--ease-smooth);
}

.site-header.scrolled .site-logo img { height: 48px; }

.site-logo .logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-logo .logo-text {
    color: var(--dark);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.site-logo .logo-sub {
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Nav ── */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

.main-nav a,
.main-nav .menu-item a {
    color: var(--gray-700);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    position: relative;
    display: block;
    transition: color var(--duration) var(--ease-smooth);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-smooth);
}

.main-nav a:hover { color: var(--dark); }
.main-nav a:hover::after,
.main-nav .current-menu-item a::after,
.main-nav .current_page_item a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav .current-menu-item a,
.main-nav .current_page_item a { color: var(--dark); }

.mobile-nav-brand,
.mobile-nav-footer {
    display: none;
}

/* Language float — bottom-left circle */
/* Floating buttons — shared sizing */
.lang-float {
    position: fixed;
    bottom: 29px;
    right: 86px;
    z-index: 999;
}
.lang-float-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #161616;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.lang-float-toggle:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.lang-float-menu {
    position: absolute;
    bottom: 54px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
}
.lang-float-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-float-opt {
    width: 44px;
    height: 36px;
    border-radius: 20px;
    background: #fff;
    color: #161616;
    border: 1px solid #E2E2E2;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.lang-float-opt:hover {
    background: #161616;
    color: #fff;
    border-color: #161616;
}
.lang-float-opt--active {
    background: #161616;
    color: #fff;
    border-color: #161616;
}

/* Header language switcher button */
.header-lang {
    position: relative;
    flex-shrink: 0;
}
.header-lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #161616;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
}
.header-lang-toggle:hover {
    background: #2A2A2A;
}
.header-lang-toggle svg { transition: transform 0.3s ease; }
.header-lang-menu.is-open + .header-lang-toggle svg,
.header-lang .header-lang-menu.is-open ~ .header-lang-toggle svg { transform: rotate(180deg); }
.header-lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #E2E2E2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s ease;
    z-index: 1003;
    min-width: 140px;
}
.header-lang-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-lang-opt {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #6B6B6B;
    cursor: pointer;
    transition: all 0.2s ease;
}
.header-lang-opt:hover {
    background: #F5F5F5;
    color: #161616;
}
.header-lang-opt--active {
    color: #161616;
    font-weight: 700;
}
.header-lang-opt + .header-lang-opt {
    border-top: 1px solid #F2F2F2;
}

/* Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ── Language Switcher ── */
.header-inner > .lang-switcher {
    display: none;
}
.lang-switcher {
    position: relative;
    z-index: 1002;
}

/* Mobile lang switcher — hidden on desktop */
.mobile-lang-switcher { display: none; }

.lang-switcher-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: transparent;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gray-700);
    transition: all 0.25s ease;
}

.lang-switcher-toggle:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.lang-switcher-toggle svg {
    transition: transform 0.25s ease;
}

.lang-switcher.open .lang-switcher-toggle svg {
    transform: rotate(180deg);
}

.lang-switcher-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    min-width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s ease;
}

.lang-switcher.open .lang-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gray-700);
    transition: all 0.2s ease;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
}

.lang-switcher-item:hover {
    background: var(--gray-100);
    color: var(--dark);
}

.lang-switcher-item.active {
    color: var(--dark);
    font-weight: 700;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #0A0A0A;
}

.hero-slider { position: relative; width: 100%; height: 100%; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.15) 35%,
        rgba(0,0,0,0.2) 65%,
        rgba(0,0,0,0.85) 100%
    );
}

/* Overlay content — stays fixed while images crossfade */
.hero-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 0 80px 100px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.1s forwards;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-headline.is-changing {
    opacity: 0;
    transform: translateY(12px);
}

.hero-meta {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
    transition: opacity 0.5s ease;
}

.hero-meta.is-changing { opacity: 0; }

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.6s forwards;
}

.hero-cta:hover {
    background: #fff;
    border-color: #fff;
    color: #0A0A0A;
}

/* Slide counter — vertical on right side */
.hero-counter {
    position: absolute;
    right: 40px;
    bottom: 100px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}

.hero-counter-sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
}

/* Scroll hint — thin animated line */
.hero-scroll-hint {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    height: 60px;
    display: flex;
    align-items: flex-end;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: bottom; }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero nav dots */
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 80px;
    display: flex;
    gap: 6px;
    z-index: 4;
}

.hero-nav .dot {
    width: 28px;
    height: 2px;
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-nav .dot.active {
    background: #fff;
    width: 48px;
    transform: none;
}

.hero-nav .dot:hover { background: rgba(255,255,255,0.5); }

/* Hero arrows — minimal, bottom-right */
.hero-arrows {
    position: absolute;
    bottom: 100px;
    right: 80px;
    display: flex;
    gap: 8px;
    z-index: 4;
    pointer-events: none;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    background: transparent;
    pointer-events: all;
    transition: all 0.35s ease;
}

.hero-arrow:hover {
    background: #fff;
    border-color: #fff;
    color: #0A0A0A;
}

/* ===== DESCRIPTION / ABOUT ===== */
.description-section {
    padding: var(--section-pad) 0 var(--space-2xl);
}

.desc-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
}

.desc-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.3;
    color: var(--primary);
}

.desc-service h3 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0A0A0A; /* WCAG AA — darker green for small text */
    font-weight: 700;
    margin-bottom: var(--space-sm);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.desc-service p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.9;
}

.desc-readmore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 35px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.desc-readmore::after {
    content: '\2192';
    transition: transform 0.3s var(--ease-smooth);
}

.desc-readmore:hover {
    color: var(--accent);
}

.desc-readmore:hover::after {
    transform: translateX(4px);
}

/* Philosophy pull-quote (inside principal section) */
.principal-philosophy {
    max-width: 920px;
    margin: 0 auto;
    padding-top: 48px;
    text-align: left;
}

.principal-philosophy-line {
    width: 40px;
    height: 1px;
    background: var(--gray-400, #999);
    margin-bottom: 24px;
}

.principal-philosophy-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray-600, #555);
    max-width: 600px;
    margin-bottom: 20px;
}

.principal-philosophy-tagline {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.3px;
}

/* ===== PHILOSOPHY ===== */
.philosophy-section {
    padding: var(--section-pad) 0;
    background: #fff;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.philosophy-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(var(--accent-rgb), 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.philosophy-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(var(--accent-rgb), 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.philosophy-diagram {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.philosophy-title {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    color: var(--accent-text); /* WCAG AA for small text */
    font-weight: 700;
}

.philosophy-top-labels {
    display: flex;
    justify-content: space-between;
    max-width: 550px;
    margin: 0 auto var(--space-md);
}

.philosophy-top-labels span {
    font-size: 12px;
    color: var(--gray-500);
    opacity: 1;
    letter-spacing: 0.5px;
}

.philosophy-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 var(--space-lg);
}

.philosophy-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--accent-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--primary);
    margin: 0 -18px;
    transition: all 0.5s var(--ease-smooth);
    background: rgba(var(--accent-rgb), 0.03);
}

.philosophy-circle:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    transform: scale(1.05);
}

.philosophy-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-label {
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    color: var(--gray-500);
    opacity: 1;
}

.philosophy-label strong {
    color: var(--accent-text); /* WCAG AA for small text */
    opacity: 1;
}

/* ===== NATURE SECTION ===== */
.nature-section {
    padding: var(--section-pad) 0;
    background: #fff;
    color: var(--primary);
    overflow: hidden;
}

.nature-gallery {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.nature-gallery img {
    width: 300px;
    height: 210px;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.5s var(--ease-smooth);
    border: 1px solid #E2E2E2;
}

.nature-gallery img:hover {
    transform: scale(1.03);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.nature-content { text-align: center; }

.nature-content h2 {
    font-size: 22px;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    font-weight: 400;
    color: var(--primary);
}

.nature-content p {
    font-size: 13px;
    line-height: 2;
    color: var(--gray-500);
    opacity: 1;
    max-width: 470px;
    margin: 0 auto;
}

.circle-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: var(--space-lg);
}

.circle-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #E2E2E2;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s var(--ease-smooth);
}

.circle-nav button:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.12);
}

/* ===== SERVICES ===== */
.services-section {
    padding: var(--section-pad) 0;
    background: #fff;
}

.service-card { margin-bottom: var(--space-lg); }

.service-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 4px 50px rgba(0,0,0,0.04);
    transition: box-shadow var(--duration) var(--ease-smooth);
}

.service-card:hover .service-card-inner {
    box-shadow: 0 8px 60px rgba(0,0,0,0.08);
}

.service-card-inner.reverse { direction: rtl; }
.service-card-inner.reverse > * { direction: ltr; }

.service-image-wrap { overflow: hidden; }

.service-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

.service-card:hover .service-image { transform: scale(1.04); }

.service-info {
    padding: var(--space-xl) 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.service-info p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.portfolio-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.portfolio-filters {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-filters button {
    background: transparent;
    border: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px 0;
    border-radius: 0;
    position: relative;
    transition: color 0.3s var(--ease-smooth);
}

.portfolio-filters button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s var(--ease-smooth);
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
    color: var(--primary);
    background: transparent;
}

.portfolio-filters button.active::after,
.portfolio-filters button:hover::after {
    width: 100%;
}

.portfolio-section .container {
    max-width: 1600px;
    padding: 0 24px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    aspect-ratio: 5 / 3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.portfolio-item:hover img { transform: none; }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(var(--primary-rgb), 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-overlay .overlay-cat {
    color: rgba(255,255,255,0.75);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ===== PRINCIPAL ===== */
.principal-section {
    padding: 80px 0 72px;
    background: linear-gradient(135deg, #f0f0f0 0%, #f7f7f7 30%, #fcfcfc 60%, #ffffff 100%);
}

.principal-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: end;
    max-width: 920px;
    margin: 0 auto;
}

.principal-photo-wrap { position: relative; }

.principal-photo-wrap::before { display: none; }

.principal-photo {
    width: 100%;
    max-height: 315px;
    object-fit: contain;
    object-position: center top;
    position: relative;
    z-index: 1;
    transform: translate(35px, -8px);
}

.principal-label {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 10px;
}

.principal-name {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.principal-bio p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--gray-700);
    margin-bottom: 12px;
}

/* ===== ACHIEVEMENTS ===== */
.achievements-section {
    padding: var(--section-pad) 0;
    background: #fff;
    text-align: center;
}

.awards-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.award-card {
    width: 210px;
    padding: 32px 22px;
    border-radius: 8px;
    transition: transform var(--duration) var(--ease-smooth), box-shadow var(--duration) var(--ease-smooth);
    text-align: center;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.award-card--gold {
    background: linear-gradient(145deg, #2A2A2A, #6B6B6B, #2A2A2A);
    color: #333;
}

.award-card--teal {
    background: var(--primary);
    color: var(--white);
}

.award-card--cream {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--gray-200);
}

.award-year { font-size: 22px; font-weight: 800; }
.award-subtitle { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; margin: 6px 0; opacity: 0.85; }
.award-title { font-size: 12px; font-weight: 800; line-height: 1.4; }
.award-project { font-size: 10px; margin-top: 6px; opacity: 0.7; }
.award-stars { color: var(--gold); margin-top: 10px; letter-spacing: 2px; font-size: 14px; }
.award-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 16px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.award-badge--green { background: #2E7D32; color: white; }
.award-badge--gold { background: var(--gold); color: white; }

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-300);
    letter-spacing: 1px;
    transition: all 0.3s var(--ease-smooth);
}

.partner-name:hover { color: var(--accent); }

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    padding: var(--section-pad) 0;
    background: var(--white);
    position: relative;
}

/* Subtle accent top border */
.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.testimonial-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-alt h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.testimonial-alt .quote {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
}

.testimonial-alt .view-project {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-md);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-text); /* WCAG AA for small text */
}

.testimonial-alt .view-project:hover { gap: 16px; }

.testimonial-person { text-align: center; }

.testimonial-person img {
    width: 300px;
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 auto;
}

.testimonial-person h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: var(--space-sm);
    color: var(--primary);
}

.testimonial-person span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: var(--section-pad) 0;
    background: #fff;
    border-top: 1px solid #E2E2E2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form .form-group { margin-bottom: var(--space-md); }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid var(--gray-200);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark);
    background: transparent;
    outline: none;
    transition: border-color var(--duration) var(--ease-smooth);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray-500); }
.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23888' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    cursor: pointer;
    color: var(--gray-500);
}

.contact-form select option {
    color: var(--dark);
    background: var(--white);
}

.contact-info-panel .map-container {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--gray-200);
}

.contact-info-panel .map-container iframe { width: 100%; height: 100%; border: 0; }

.contact-info-panel h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    margin-top: var(--space-md);
}

.contact-info-panel p,
.contact-info-panel a {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.8;
}

.contact-info-panel a:hover { color: var(--accent); }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.3s var(--ease-smooth);
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-sm);
}

.footer-brand .footer-logo img {
    height: 36px;

}

.footer-brand .footer-logo-text {
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    padding: 5px 0;
    transition: all 0.3s var(--ease-smooth);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 6px;
}

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

.footer-copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.footer-social { display: flex; gap: 16px; }

.footer-social a {
    color: rgba(255,255,255,0.4);
    transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover { color: var(--accent); transform: translateY(-2px); }

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #161616;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s var(--ease-spring);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.whatsapp-float svg { width: 26px; height: 26px; fill: var(--white); }

/* ===== PAGE HERO (About, Projects, Contact) ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: var(--primary);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    max-width: 100vw;
    background-attachment: fixed;
}

/* Accent corner decoration */
.page-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at bottom right, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    padding-bottom: var(--space-xl);
    color: var(--white);
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-hero-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.5);
}

.page-hero .accent-line {
    background: rgba(255,255,255,0.3);
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.page-hero-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
}

/* ===== ABOUT PAGE ===== */
.about-story { padding: var(--section-pad) 0; }

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story-text h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.about-story-text p {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 6px;
}

/* Stats */
.about-stats {
    padding: 80px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item { color: var(--white); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.55;
    font-weight: 600;
}

/* Values */
.about-values {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.value-card {
    padding: var(--space-lg) var(--space-md);
    background: var(--white);
    border-radius: 8px;
    transition: all var(--duration) var(--ease-smooth);
    border-left: 4px solid transparent;
    position: relative;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-left-color: var(--primary);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-700);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 6px;
    transition: all var(--duration) var(--ease-smooth);
}

.team-member:hover .team-photo {
    transform: translateY(-4px);
}

.team-member h4 { font-size: 14px; font-weight: 700; margin-top: var(--space-sm); color: var(--primary); }
.team-member span { font-size: 12px; color: var(--gray-500); }

/* ===== PROJECTS PAGE ===== */
.projects-archive {
    padding: 80px 0 var(--section-pad);
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

.project-card:hover img { transform: scale(1.06); }

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(var(--primary-rgb), 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-overlay h3 {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.project-card-overlay .card-location {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

.project-card-overlay .card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transform: translate(-10px, 10px);
    opacity: 0;
    transition: all 0.4s var(--ease-smooth);
}

.project-card:hover .card-arrow {
    transform: translate(0);
    opacity: 1;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    padding: 80px 0 var(--section-pad);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
}

.contact-page-form h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    font-weight: 400;
}

.contact-page-form > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: var(--space-lg);
}

.contact-offices { margin-top: var(--space-xl); }

.office-card {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.office-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-badge {
    font-size: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.office-card p {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE: TABLET (1024px) ===== */
@media (max-width: 1024px) {
    .container { padding: 0 40px; }
    .header-inner { padding: 0 40px; }

    /* Reduce section padding */
    section[style*="padding:120px"] { padding-top: 80px !important; padding-bottom: 80px !important; }
    section[style*="padding:100px"] { padding-top: 70px !important; padding-bottom: 70px !important; }

    /* All 2-col inline grids → stack */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns:1.3fr 1fr"],
    div[style*="grid-template-columns: 1.3fr 1fr"],
    div[style*="grid-template-columns:1.2fr 1fr"],
    div[style*="grid-template-columns: 1.2fr 1fr"],
    div[style*="grid-template-columns:1.4fr 1fr"],
    div[style*="grid-template-columns: 1.4fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 4-col → 2-col */
    div[style*="grid-template-columns:repeat(4,1fr)"],
    div[style*="grid-template-columns: repeat(4,1fr)"],
    div[style*="grid-template-columns:repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 5-col → 3-col */
    div[style*="grid-template-columns:repeat(5,1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* 3-col stays 2-col */
    div[style*="grid-template-columns:repeat(3,1fr)"],
    div[style*="grid-template-columns: repeat(3,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Gap reductions */
    div[style*="gap:80px"] { gap: 40px !important; }
    div[style*="gap: 80px"] { gap: 40px !important; }
    div[style*="gap:100px"] { gap: 50px !important; }
    div[style*="gap: 100px"] { gap: 50px !important; }
    div[style*="gap:60px"] { gap: 30px !important; }

    /* Image heights */
    img[style*="height:500px"] { height: 350px !important; }
    img[style*="height:420px"] { height: 300px !important; }
    img[style*="height: 500px"] { height: 350px !important; }

    /* Font sizes */
    h1[style*="font-size:48px"] { font-size: 36px !important; }
    h2[style*="font-size:34px"] { font-size: 28px !important; }
    h2[style*="font-size:36px"] { font-size: 30px !important; }
    h2[style*="font-size:38px"] { font-size: 30px !important; }

    /* CSS-class grids */
    .desc-grid { grid-template-columns: 1fr; gap: 30px; }
    .portfolio-section .container { max-width: 100%; padding: 0 20px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
    .portfolio-item { aspect-ratio: 4 / 3; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card-inner { grid-template-columns: 1fr; }
    .service-card-inner.reverse { direction: ltr; }
    .service-image { height: 350px; }
    .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-page-grid { grid-template-columns: 1fr; gap: 60px; }

    /* Footer inline grid */
    .site-footer div[style*="grid-template-columns:1.5fr"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Stats bar flex wrap */
    div[style*="display:flex"][style*="gap:60px"] {
        gap: 30px !important;
    }

    /* Awards flex */
    div[style*="display:flex"][style*="gap:24px"][style*="flex-wrap:wrap"] > div[style*="width:210px"] {
        width: 180px !important;
    }

    /* Principal */
    .principal-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .principal-photo-wrap { max-width: 280px; margin: 0 auto; }

    /* Language switcher — hide from header on tablet, show inside nav panel */
    .header-inner > .lang-switcher {
        display: none;
    }

    /* Mobile lang switcher inside nav panel */
    .mobile-lang-switcher {
        display: block;
        margin-bottom: 4px;
    }
    .mobile-lang-switcher .lang-switcher {
        display: inline-flex;
    }
    .mobile-lang-switcher .lang-switcher-toggle {
        border-color: rgba(255,255,255,0.25);
        color: rgba(255,255,255,0.7);
        padding: 6px 14px;
        font-size: 11px;
    }
    .mobile-lang-switcher .lang-switcher-toggle:hover {
        border-color: rgba(255,255,255,0.5);
        color: #fff;
    }
    .mobile-lang-switcher .lang-switcher-toggle svg {
        color: rgba(255,255,255,0.5);
    }
    .mobile-lang-switcher .lang-switcher-dropdown {
        top: calc(100% + 6px);
        bottom: auto;
        background: var(--primary-light);
        border-color: rgba(255,255,255,0.15);
    }
    .mobile-lang-switcher .lang-switcher-item {
        color: rgba(255,255,255,0.6);
    }
    .mobile-lang-switcher .lang-switcher-item:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
    }
    .mobile-lang-switcher .lang-switcher-item.active {
        color: #fff;
    }

    .header-lang { display: none; }

    /* Mobile menu — hamburger visible at 1024px */
    .menu-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        background: var(--primary);
        background-image:
            radial-gradient(circle at 20% 30%, rgba(22,22,22,0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(22,22,22,0.04) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(255,255,255,0.01) 0%, transparent 70%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: transform 0.45s var(--ease-smooth);
        z-index: 1000;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 30px 20px;
    }

    .main-nav::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(22,22,22,0.08);
        border-radius: 50%;
        pointer-events: none;
    }

    .main-nav::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: -80px;
        width: 250px;
        height: 250px;
        border: 1px solid rgba(22,22,22,0.06);
        border-radius: 50%;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        position: relative;
        z-index: 2;
        flex-direction: column;
        gap: 6px;
        flex: 1;
        justify-content: center;
        margin: 0;
        padding: 10px 0;
    }

    .main-nav li {
        text-align: center;
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .main-nav.open li {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav.open li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.open li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.open li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.open li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.open li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav.open li:nth-child(6) { transition-delay: 0.35s; }
    .main-nav.open li:nth-child(7) { transition-delay: 0.4s; }

    .main-nav a {
        color: rgba(255,255,255,0.7) !important;
        font-size: 15px !important;
        letter-spacing: 5px !important;
        padding: 10px 20px !important;
        display: block;
        transition: color 0.3s ease, letter-spacing 0.3s ease !important;
    }

    .main-nav a:hover {
        color: #161616 !important;
        letter-spacing: 7px !important;
    }

    .main-nav a::after { display: none; }

    .main-nav .current-menu-item a,
    .main-nav .current_page_item a {
        color: #161616 !important;
    }

    .mobile-nav-brand {
        display: block;
        text-align: center;
        flex-shrink: 0;
        padding-bottom: 10px;
    }

    .mobile-nav-brand img {
        height: 40px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 auto;
    }

    .mobile-nav-footer {
        display: block;
        text-align: center;
        flex-shrink: 0;
        padding-top: 20px;
    }
}

/* ===== RESPONSIVE: MOBILE (768px) ===== */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .header-inner { padding: 0 24px; }

    .site-logo img { height: 32px !important; width: auto !important; max-width: none !important; }
    .site-logo .logo-text { font-size: 14px !important; letter-spacing: 3px !important; }
    .site-logo .logo-sub { font-size: 7px !important; letter-spacing: 4px !important; }

    /* All multi-col → single col */
    div[style*="grid-template-columns:repeat(3,1fr)"],
    div[style*="grid-template-columns: repeat(3,1fr)"],
    div[style*="grid-template-columns:repeat(2,1fr)"],
    div[style*="grid-template-columns: repeat(2,1fr)"],
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Keep 2-col for small items */
    div[style*="grid-template-columns:repeat(4,1fr)"],
    div[style*="grid-template-columns: repeat(4,1fr)"],
    div[style*="grid-template-columns:repeat(5,1fr)"],
    div[style*="grid-template-columns: repeat(5,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Reduce large gaps */
    div[style*="gap:80px"] { gap: 40px !important; }
    div[style*="gap:60px"] { gap: 30px !important; }

    /* Reduce section padding */
    section[style*="padding:120px"] { padding: 60px 0 !important; }
    section[style*="padding:100px"] { padding: 50px 0 !important; }

    /* Font sizes */
    .hero-headline { font-size: 42px; }
    .hero-overlay-content { padding: 0 40px 80px; }
    .hero-nav { left: 40px; }
    .hero-arrows { right: 40px; bottom: 80px; }
    .hero-counter { right: 20px; }
    .page-hero-title { font-size: 32px; }
    .section-heading { font-size: 28px; }
    h1[style*="font-size:48px"] { font-size: 28px !important; }
    h1[style*="font-size:38px"] { font-size: 26px !important; }
    h2[style*="font-size:34px"] { font-size: 24px !important; }
    h2[style*="font-size:36px"] { font-size: 26px !important; }
    h2[style*="font-size:28px"] { font-size: 22px !important; }
    h2[style*="font-size:24px"] { font-size: 20px !important; }
    h2[style*="font-size:42px"] { font-size: 28px !important; }

    /* Images */
    img[style*="height:500px"] { height: 280px !important; }
    img[style*="height:420px"] { height: 250px !important; }
    img[style*="height:400px"] { height: 260px !important; }

    /* Gaps */
    div[style*="gap:80px"] { gap: 30px !important; }
    div[style*="gap:60px"] { gap: 24px !important; }
    div[style*="gap:50px"] { gap: 24px !important; }
    div[style*="gap:40px"] { gap: 20px !important; }

    /* Page hero */
    .page-hero { min-height: 360px !important; height: 50vh !important; background-attachment: scroll !important; }
    section[style*="height:60vh"] { height: 50vh !important; min-height: 360px !important; }
    section[style*="height:55vh"] { height: 50vh !important; min-height: 360px !important; }

    /* Philosophy circles */
    div[style*="border-radius:50%"][style*="width:200px"] {
        width: 140px !important;
        height: 140px !important;
        font-size: 16px !important;
        margin: 0 -12px !important;
    }

    /* Pill filters scroll */
    div[style*="border-radius:40px"][style*="background:#F2F2F2"] {
        max-width: 100% !important;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }

    /* Portfolio grid 2-col */
    .portfolio-section .container { padding: 0 16px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .portfolio-item { aspect-ratio: 4 / 3; }
    .projects-grid { grid-template-columns: 1fr; }
    .portfolio-filters { gap: 12px; flex-wrap: wrap; }

    .principal-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .principal-photo-wrap { max-width: 220px; margin: 0 auto; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .testimonial-alt { grid-template-columns: 1fr; gap: 30px; }

    /* Awards */
    div[style*="display:flex"][style*="flex-wrap:wrap"] > div[style*="width:210px"] {
        width: 100% !important;
        max-width: 280px;
    }

    .nature-gallery { flex-direction: column; align-items: center; }

    /* Footer */
    .site-footer div[style*="grid-template-columns:1.5fr"] {
        grid-template-columns: 1fr !important;
    }
    .site-footer div[style*="display:flex"][style*="justify-content:space-between"] {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }

    /* Stats inline */
    div[style*="display:flex"][style*="gap:60px"] {
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
    }

    /* Project detail split layout */
    div[style*="grid-template-columns:1.3fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* CHAKRA flex */
    div[style*="display:flex"][style*="gap:16px"][style*="flex-wrap:wrap"] > div[style*="width:150px"],
    div[style*="display:flex"][style*="gap:16px"][style*="flex-wrap:wrap"] > div[style*="width:140px"] {
        width: calc(33% - 12px) !important;
    }

    /* Culture cards */
    .culture-card { min-height: auto !important; }

    .values-grid { grid-template-columns: 1fr; }

    /* Mindset 5-col → 2-col */
    div[style*="grid-template-columns:repeat(5,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Related projects 4-col → 2-col */
    div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Blog grid */
    div[style*="grid-template-columns:repeat(3,1fr)"][class*="stagger"] {
        grid-template-columns: 1fr !important;
    }

    /* Details table in project */
    div[style*="display:flex"][style*="justify-content:space-between"][style*="padding:14px"] {
        flex-direction: column !important;
        gap: 2px !important;
    }
}

    /* Fix overflow on all decorative absolute elements */
    div[style*="position:absolute"][style*="border-radius:50%"] {
        display: none !important;
    }

    /* Fix inline flex gap overflow */
    div[style*="display:flex"][style*="gap:50px"] {
        gap: 20px !important;
    }
    div[style*="display:flex"][style*="gap:40px"] {
        gap: 16px !important;
    }

/* ===== RESPONSIVE: SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 0 16px; }

    .hero-headline { font-size: 28px; }
    .hero-tagline { font-size: 9px; letter-spacing: 4px; }
    .hero-meta { font-size: 11px; letter-spacing: 3px; }
    .hero-cta { padding: 12px 28px; font-size: 10px; letter-spacing: 3px; }
    .hero-overlay-content { padding: 0 20px 70px; }
    .hero-nav { left: 20px; bottom: 28px; }
    .hero-arrows { display: none; }
    .hero-counter { right: 16px; bottom: 70px; }
    .hero-scroll-hint { display: none; }
    .page-hero-title { font-size: 26px; }
    .section-heading { font-size: 24px; }
    .stat-number { font-size: 40px; }

    h1[style*="font-size:48px"] { font-size: 24px !important; }
    h2[style*="font-size:34px"] { font-size: 22px !important; }

    .portfolio-section .container { padding: 0 12px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .portfolio-item { aspect-ratio: 3 / 2; }

    /* All grids single col */
    div[style*="grid-template-columns:repeat(2,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Awards stack full */
    div[style*="display:flex"][style*="flex-wrap:wrap"] > div[style*="width:210px"],
    div[style*="display:flex"][style*="flex-wrap:wrap"] > div[style*="width:180px"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* CHAKRA items */
    div[style*="display:flex"][style*="gap:16px"][style*="flex-wrap:wrap"] > div[style*="width:150px"] {
        width: calc(50% - 10px) !important;
    }

    /* Buttons full width */
    a[style*="display:inline-block"][style*="padding:15px 40px"] {
        display: block !important;
        text-align: center !important;
    }

    /* Footer social center */
    .site-footer div[style*="display:flex"][style*="gap:16px"] {
        justify-content: center !important;
    }

    /* Hero min height */
    .page-hero { min-height: 320px !important; }
    section[style*="height:60vh"] { min-height: 320px !important; }

    /* Philosophy circles — stack vertically on mobile */
    .philosophy-circles {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .philosophy-circle {
        margin: -18px 0 !important;
        width: 180px !important;
        height: 180px !important;
        font-size: 16px !important;
        letter-spacing: 3px !important;
    }
    .philosophy-top-labels { display: none !important; }
    .philosophy-labels { grid-template-columns: 1fr !important; gap: 16px !important; }

    img:not(.site-logo img):not([style*="height:36px"]) { max-width: 100% !important; }
    .site-logo img { max-width: none !important; height: 36px !important; width: auto !important; }
    img[style*="height:420px"] { height: auto !important; max-width: 100% !important; }
    img[style*="height:160px"] { height: 80px !important; width: auto !important; max-width: none !important; }
    img[style*="height:200px"] { height: 100px !important; width: auto !important; max-width: none !important; }
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-content h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--primary);
    margin: 40px 0 14px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}
.privacy-content h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.privacy-content h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 24px 0 10px;
}
.privacy-content p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 12px;
}
.privacy-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.privacy-content ul li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 4px;
}
.privacy-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.privacy-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.privacy-content a:hover { color: var(--primary); }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--white);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--accent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.cookie-consent-text p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0;
}
.cookie-consent-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent-text a:hover { color: var(--primary); }
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn-accept {
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.cookie-btn-accept:hover { background: var(--accent-dark); }
.cookie-btn-reject {
    padding: 10px 22px;
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cookie-btn-reject:hover { border-color: var(--gray-700); color: var(--gray-900); }
.cookie-btn-settings {
    padding: 10px 22px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cookie-btn-settings:hover { background: var(--primary); color: #fff; }

/* Cookie Settings Panel */
.cookie-settings-panel {
    border-top: 1px solid var(--gray-200);
    background: var(--cream);
}
.cookie-settings-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}
.cookie-settings-inner h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}
.cookie-category {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-category-header strong {
    font-size: 14px;
    color: var(--gray-900);
    display: block;
    margin-bottom: 2px;
}
.cookie-category-header p {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}
.cookie-always-on {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-text); /* WCAG AA for small text */
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.cookie-settings-actions {
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 24px;
    transition: background 0.3s ease;
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--accent); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

/* Cookie consent responsive */
@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        padding: 18px 20px;
        gap: 16px;
    }
    .cookie-consent-text { gap: 8px; }
    .cookie-consent-text svg { display: none; }
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .cookie-consent-actions button { width: 100%; text-align: center; }
    .cookie-settings-inner { padding: 16px 20px; }
    .cookie-category-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== FAQ DETAILS ===== */
details summary::-webkit-details-marker { display: none; }
details[open] summary svg { transform: rotate(180deg); }
details summary:hover { color: var(--accent-text); }

/* ===== ACCESSIBILITY: Skip to Content ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ===== ACCESSIBILITY: Focus Styles ===== */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 86px;
    right: 29px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== PORTFOLIO ITEM LINK ===== */
.portfolio-item a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===== TESTIMONIAL SLIDER (replaces inline styles) ===== */
.cs-section {
    padding: var(--section-pad) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.cs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.2;
}
.cs-header {
    text-align: center;
    margin-bottom: 50px;
}
.cs-header .section-label { justify-content: center; }
.cs-header p { font-size: 14px; color: var(--gray-500); margin-top: 10px; }
.cs-wrapper { position: relative; max-width: 800px; margin: 0 auto; }
.cs-slide { text-align: center; padding: 20px 0; }
.cs-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 24px;
}
.cs-quote {
    font-size: 16px;
    line-height: 2;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 30px;
}
.cs-client-name { font-size: 15px; font-weight: 700; color: var(--primary); }
.cs-client-project {
    font-size: 12px;
    color: var(--accent-text);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 4px;
}
.cs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}
.cs-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary);
    transition: all 0.3s ease;
}
.cs-nav-btn:hover { border-color: var(--primary); }
.cs-dots { display: flex; gap: 8px; }
.cs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gray-200);
    border: none;
    padding: 0;
}
.cs-dot.active { background: var(--primary); transform: scale(1.2); }

/* ===== ACHIEVEMENTS & PARTNERS (replaces inline styles) ===== */
.achievements-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.award-img {
    height: 420px;
    width: auto;
    margin: 0 auto;
    transition: transform 0.4s ease;
}
.award-img:hover { transform: translateY(-6px); }
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.partner-img {
    height: 160px;
    width: auto;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.partner-img:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.partner-img--tall { height: 200px; }

/* ===== FOOTER (class-based, replaces inline styles) ===== */
.site-footer-wrap {
    background: #FFFFFF;
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray-200);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 30px;
}
.footer-grid .brand-logo {
    margin-bottom: 14px;
}
.footer-grid .brand-logo img {
    height: 56px;
    width: auto;
}
.footer-grid .brand-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 280px;
}
.footer-grid h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}
.footer-grid a {
    display: block;
    font-size: 13px;
    color: var(--gray-700);
    padding: 5px 0;
}
.footer-grid a:hover { color: var(--accent); }
.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bar p {
    font-size: 12px;
    color: var(--gray-500);
}
.footer-bar a {
    color: var(--gray-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-bar a:hover { color: var(--accent); }
.footer-bar-social {
    display: flex;
    gap: 16px;
}
.footer-bar-social a {
    color: #8A8A8A;
    transition: all 0.3s ease;
}
.footer-bar-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bar { flex-direction: column; text-align: center; }
    .achievements-grid { gap: 20px; }
    .award-img { height: 280px; }
    .partner-img { height: 100px; }
    .partner-img--tall { height: 120px; }
}
@media (max-width: 480px) {
    .award-img { height: 200px; }
    .partners-section { padding: 56px 0; }
    .partners-showcase { grid-template-columns: 1fr; }
    .partner-card { padding: 28px 20px; }
    .partner-card-logo { height: 40px; }
    .partner-card-head { height: 44px; margin-bottom: 20px; }
}

/* ============================================================
   MEDIA & PUBLICATIONS PAGE — Trophy wall, timeline, bold numbers
   ============================================================ */

/* Counter bar */
.media-counter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
.media-counter-item { text-align: center; }
.media-counter-num {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    display: block;
}
.media-counter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 8px;
    display: block;
}
.media-counter-sep {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
}

/* Section head with big number */
.media-section-head {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 60px;
}
.media-section-num {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 400;
    color: #E8E8E8;
    line-height: 0.85;
    flex-shrink: 0;
}

/* Media page — clean list rows */
.media-list {
    border-top: 1px solid #E2E2E2;
}
.media-row {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #E2E2E2;
}
.media-row-year {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #999;
    flex-shrink: 0;
    min-width: 56px;
}
.media-row-body {
    flex: 1;
    min-width: 0;
}
.media-row-title {
    font-size: 15px;
    font-weight: 700;
    color: #161616;
    line-height: 1.4;
    margin-bottom: 2px;
}
.media-row-sub {
    font-size: 13px;
    color: #6B6B6B;
    line-height: 1.6;
}
.media-row-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #161616;
    white-space: nowrap;
    padding: 4px 12px;
    border: 1px solid #E2E2E2;
    flex-shrink: 0;
    align-self: center;
}
.media-row-location {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

/* Office switcher on contact page */
.office-item { opacity: 0.5; }
.office-item:hover { opacity: 0.8; }
.office-item--active { opacity: 1; border-left: 3px solid #161616; padding-left: 16px !important; }

/* Event rows — stacked layout */
.event-row {
    padding: 24px 0;
    border-bottom: 1px solid #E2E2E2;
}
.event-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.event-row-date {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #999;
}
.event-row-location {
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
}

/* Events timeline */
.events-timeline {
    position: relative;
    padding-left: 40px;
}
.events-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #E2E2E2;
}
.event-item {
    position: relative;
    padding: 0 0 48px 32px;
}
.event-item:last-child { padding-bottom: 0; }
.event-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #161616;
    z-index: 1;
}
.event-item:first-child .event-dot {
    background: #161616;
    width: 17px;
    height: 17px;
    left: -41px;
}
.event-date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
}
.event-title {
    font-size: 18px;
    font-weight: 700;
    color: #161616;
    margin-bottom: 8px;
}
.event-desc {
    font-size: 14px;
    color: #6B6B6B;
    line-height: 1.8;
    max-width: 600px;
}
.event-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
}

/* ============================================================
   CLIENTS & PARTNERS PAGE
   ============================================================ */

/* Partner section & showcase */
.partners-section {
    padding: 100px 0;
    background: #fff;
}
.partners-tier {
    margin-bottom: 72px;
}
.partners-tier:last-child { margin-bottom: 0; }
.partners-tier-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ACACAC;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid #EBEBEB;
}

/* Grid layouts per tier */
.partners-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #EBEBEB;
}
.partners-showcase--strategic {
    grid-template-columns: repeat(2, 1fr);
}

/* Base card — clean, restrained */
.partner-card {
    background: #fff;
    padding: 36px 32px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}
.partner-card:hover {
    background: #FAFAFA;
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.04);
}

/* Dark logo pad — for white/light logos (Ideasia, Sonne) */
.partner-card--dark .partner-card-head {
    background: #161616;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.partner-card--dark .partner-card-logo {
    filter: none;
    opacity: 0.9;
}
.partner-card--dark:hover .partner-card-logo {
    opacity: 1;
    filter: none;
}

/* Strategic cards — elevated presence */
.partner-card--strategic {
    padding: 40px 36px;
}

/* Card head — logo container */
.partner-card-head {
    margin-bottom: 24px;
    height: 72px;
    display: flex;
    align-items: center;
}

/* Logo — monochrome by default, color on hover */
.partner-card-logo {
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.partner-card:hover .partner-card-logo {
    opacity: 1;
    filter: grayscale(0%);
}

/* Letter initial fallback */
.partner-card-initial {
    width: 44px;
    height: 44px;
    background: #0A0A0A;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Card body */
.partner-card-body { flex: 1; min-width: 0; }
.partner-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #161616;
    margin-bottom: 4px;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}
.partner-card-category {
    font-size: 10px;
    color: #ACACAC;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.partner-card-desc {
    font-size: 12.5px;
    color: #7A7A7A;
    line-height: 1.7;
    margin-bottom: 16px;
}
.partner-card-location {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ACACAC;
    padding: 5px 12px;
    border: 1px solid #EBEBEB;
}

/* Clients list — clean rows with hover */
.clients-list {
    border-top: 1px solid #E2E2E2;
}
.client-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 24px;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #E2E2E2;
    color: #161616;
    transition: all 0.3s ease;
}
.client-row:hover {
    background: #fff;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 -16px;
}
.client-row-year {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #999;
}
.client-row-name {
    font-size: 15px;
    font-weight: 700;
}
.client-row-project {
    font-size: 13px;
    color: #6B6B6B;
    font-style: italic;
}
.client-row-arrow {
    font-size: 14px;
    color: #ccc;
    transition: all 0.3s ease;
}
.client-row:hover .client-row-arrow {
    color: #161616;
    transform: translateX(4px);
}

/* Homepage banner cards — Media & Clients */
.home-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.home-banner-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px 48px;
    background: #FAFAFA;
    border: 1px solid #E8E8E8;
    color: #161616;
    transition: all 0.4s ease;
}
.home-banner-card--dark {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #fff;
}
.home-banner-card:hover {
    background: #F0F0F0;
}
.home-banner-card--dark:hover {
    background: #161616;
}
.home-banner-stat {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.8;
}
.home-banner-card--dark .home-banner-stat { opacity: 0.4; }
.home-banner-body { flex: 1; min-width: 0; }
.home-banner-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.home-banner-desc {
    font-size: 12px;
    opacity: 0.5;
    letter-spacing: 0.5px;
}
.home-banner-arrow {
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.home-banner-card:hover .home-banner-arrow {
    opacity: 1;
    transform: translateX(4px);
}
@media (max-width: 768px) {
    .home-banners { grid-template-columns: 1fr; }
    .home-banner-card { padding: 28px 24px; gap: 16px; }
    .home-banner-stat { font-size: 36px; }
}

/* Media page responsive */
@media (max-width: 768px) {
    .media-counter-bar { gap: 24px; }
    .media-counter-num { font-size: 36px; }
    .media-counter-label { font-size: 9px; letter-spacing: 2px; }
    .media-counter-sep { height: 32px; }
    .media-section-head { gap: 16px; }
    .media-section-num { font-size: 48px; }
    .media-row { flex-direction: column; gap: 4px; }
    .media-row-badge, .media-row-location { align-self: flex-start; }
    .partners-section { padding: 72px 0; }
    .partners-showcase { grid-template-columns: repeat(2, 1fr); }
    .partners-showcase--strategic { grid-template-columns: 1fr; }
    .partner-card { padding: 28px 24px; }
    .partners-tier { margin-bottom: 48px; }
    .client-row { grid-template-columns: 50px 1fr 24px; }
    .client-row-project { display: none; }
    .events-timeline { padding-left: 28px; }
    .event-dot { left: -28px; }
    .event-item:first-child .event-dot { left: -29px; }
}

/* ============================================================
   MONOCHROME — Removed global grayscale. All images show original color.
   Logo-only green accent is maintained through design, not CSS filters.
   ============================================================ */

/* No rounded corners on any image container */
img, .portfolio-item, .pf-item, .service-image, .award-img,
.partner-img, .hero-slide, .principal-photo { border-radius: 0 !important; }

/* ===== BALINESE PAGES RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Feature accordion — stack image above text */
    .bal-feature-img { height: 260px !important; }

    /* Detail page feature cards */
    .bal-feature-item { padding: 16px 0 !important; }
}

/* ===== TEAM GRID RESPONSIVE ===== */
@media (max-width: 1024px) {
    #team-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    #team-grid { grid-template-columns: repeat(2, 1fr) !important; }
    #team-filters { gap: 4px !important; }
    #team-filters button { padding: 6px 12px !important; font-size: 10px !important; }
}

/* ===== POSITIONS GRID RESPONSIVE ===== */
@media (max-width: 768px) {
    #positions .stagger-children { grid-template-columns: 1fr !important; }
}

/* ===== COMMUNITY TABS ===== */
.community-tab { padding: 10px 24px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: none; background: transparent; color: #6B6B6B; cursor: pointer; border-bottom: 2px solid transparent; font-family: var(--font-body); transition: all 0.3s; }
.community-tab.active { color: #161616; border-bottom-color: #161616; }
.community-tab:hover { color: #161616; }
.community-tab-content { display: none; }
.community-tab-content.active { display: grid; }
