/*
Theme Name: Studio JAJ
Description: Custom theme for Studio JAJ - Arsitektur & Desain Interior Jakarta
Version: 3.0
*/

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Brand Palette */
    --primary:        #1a1a2e;
    --primary-light:  #2a2a4e;
    --primary-dark:   #0a0a1e;
    --primary-rgb:    26, 26, 46;

    --accent:         #c9a96e;
    --accent-hover:   #b8944f;
    --accent-light:   rgba(201, 169, 110, 0.1);
    --accent-rgb:     201, 169, 110;

    --cream:          #fafaf8;
    --white:          #ffffff;
    --dark:           #1a1a2e;
    --dark-soft:      #2a2a4e;

    --gray-900:       #2d2d2d;
    --gray-700:       #4a4a4a;
    --gray-500:       #6b6b6b;
    --gray-300:       #c8c8c8;
    --gray-200:       #e2e2e2;
    --gray-100:       #f2f2f2;

    /* Typography */
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs:       8px;
    --space-sm:       16px;
    --space-md:       24px;
    --space-lg:       40px;
    --space-xl:       64px;
    --space-2xl:      100px;
    --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: 13px;
    overflow-x: hidden;
    scrollbar-width: none;
}

html::-webkit-scrollbar { display: none; }

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; }
p    { text-align: justify; }

[style*="text-align:center"] p,
[style*="text-align: center"] p,
.hero-banner__subtitle,
.cta-block__text,
.faq-cta__text,
.error-404__text { text-align: center !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Screen reader only */
.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 link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-padding { padding: var(--section-pad) 0; }
.section-bg-light { background: var(--cream); }
.section-bg-navy  { background: var(--primary); }


/* ==========================================================================
   2. 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 > .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; }


/* ==========================================================================
   3. SHARED SECTION STYLES
   ========================================================================== */

.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    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: 36px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary);
    margin-top: 8px;
}

.section-header {
    margin-bottom: var(--space-lg);
}

.accent-line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: var(--space-md) 0;
}

/* Buttons */
.btn,
.btn-primary,
.btn--navy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--duration) var(--ease-smooth);
}

.btn::before,
.btn-primary::before,
.btn--navy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.45s var(--ease-smooth);
}

.btn:hover,
.btn-primary:hover,
.btn--navy:hover { border-color: var(--accent); color: var(--white); }

.btn:hover::before,
.btn-primary:hover::before,
.btn--navy:hover::before { transform: translateX(0); }

.btn span,
.btn-primary span { position: relative; z-index: 1; }

.btn--gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.btn--gold:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
}

.btn-outline,
.btn--outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.btn-outline:hover,
.btn--outline-navy:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn--outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.btn--outline-white:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn--lg { padding: 18px 48px; }
.btn--sm { padding: 11px 26px; font-size: 13px; }

.btn--full { width: 100%; justify-content: center; }

.btn__icon {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Generic link with arrow */
.link-underline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: all var(--duration) var(--ease-smooth);
}

.link-underline:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    gap: 14px;
}


/* ==========================================================================
   4. HEADER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--duration) var(--ease-smooth);
}

.site-header[data-scroll="scrolled"],
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 8px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    max-width: 100%;
    margin: 0;
    position: relative;
}

/* Logo */
.site-branding,
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-branding a,
.site-logo a { display: flex; align-items: center; gap: 12px; }

.site-branding img,
.site-logo img {
    height: 56px;
    width: auto;
    transition: height 0.3s var(--ease-smooth);
}

.site-header[data-scroll="scrolled"] .site-branding img,
.site-header[data-scroll="scrolled"] .site-logo img,
.site-header.scrolled .site-branding img,
.site-header.scrolled .site-logo img { height: 44px; }

.site-title-link {
    display: block;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
}

/* Primary nav */
.primary-nav,
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
}

.primary-nav .nav-menu,
.main-nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

.primary-nav .nav-menu li a,
.main-nav ul li a,
.primary-nav .menu-item a,
.main-nav .menu-item a {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 14px;
    position: relative;
    display: block;
    white-space: nowrap;
    transition: color var(--duration) var(--ease-smooth);
}

.primary-nav .nav-menu li a::after,
.main-nav ul li a::after,
.primary-nav .menu-item a::after,
.main-nav .menu-item 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);
}

.primary-nav .nav-menu li a:hover,
.main-nav ul li a:hover,
.primary-nav .menu-item a:hover,
.main-nav .menu-item a:hover { color: var(--primary); }

.primary-nav .nav-menu li a:hover::after,
.main-nav ul li a:hover::after,
.primary-nav .current-menu-item a::after,
.primary-nav .current_page_item a::after,
.main-nav .current-menu-item a::after,
.main-nav .current_page_item a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-nav .current-menu-item a,
.primary-nav .current_page_item a,
.main-nav .current-menu-item a,
.main-nav .current_page_item a { color: var(--primary); }

/* Nav CTA button */
.nav-cta,
.btn.nav-cta {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    margin-left: 8px;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease-smooth);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
}

/* Hamburger (checkbox-based approach in header.php) */
.nav-toggle-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1050;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

/* JS-toggled hamburger (main.js adds .active class to label) */
.nav-toggle-label.active .hamburger-bar:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); background: var(--white); }
.nav-toggle-label.active .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle-label.active .hamburger-bar:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); background: var(--white); }

/* Also support menu-toggle class used by anticipated JS rewrite */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1050;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.menu-toggle.active span { background: var(--white); }
.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); }


/* ==========================================================================
   5. MOBILE NAV OVERLAY
   ========================================================================== */

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 30, 0.5);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-smooth);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   6. HERO SLIDER (cinematic, Lumbung-style)
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background: var(--primary-dark);
}

.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;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 30, 0.55) 0%,
        rgba(10, 10, 30, 0.12) 35%,
        rgba(10, 10, 30, 0.18) 65%,
        rgba(10, 10, 30, 0.88) 100%
    );
}

/* Overlay content stays fixed while slides crossfade */
.hero-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 0 80px 100px;
}

/* Hero section original class (front-page.php) */
.hero-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 30, 0.5) 0%,
        rgba(10, 10, 30, 0.15) 40%,
        rgba(10, 10, 30, 0.85) 100%
    );
}

.hero-section__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
}

.hero-section__text {
    max-width: 680px;
}

.hero-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-section__badge-sep { color: rgba(255,255,255,0.3); }

.hero-section__tagline {
    font-family: var(--font-body);
    font-size: 54px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.3s forwards;
}

.hero-section__subtitle {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin-bottom: 36px;
    text-align: left;
}

.hero-section__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.6s forwards;
}

.hero-section__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
}

.scroll-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-chevron {
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Lumbung-style hero controls */
.hero-tagline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.1s forwards;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--white);
    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: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    transition: opacity 0.5s ease;
}

.hero-meta.is-changing { opacity: 0; }

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    opacity: 0;
    animation: heroFadeIn 1s ease 0.6s forwards;
}

.hero-cta:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

/* Counter */
.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: 13px;
    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 */
.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;
}

/* 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: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-nav .dot.active {
    background: var(--white);
    width: 48px;
}

.hero-nav .dot:hover { background: rgba(255,255,255,0.5); }

/* Hero arrows */
.hero-arrows {
    position: absolute;
    bottom: 100px;
    right: 80px;
    display: flex;
    gap: 8px;
    z-index: 4;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    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;
    transition: all 0.35s ease;
}

.hero-arrow:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

@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); }
}


/* ==========================================================================
   7. ABOUT PREVIEW (front-page)
   ========================================================================== */

.about-preview {
    background: var(--white);
}

.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-preview__figure { overflow: hidden; }

.about-preview__image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

.about-preview__figure:hover .about-preview__image { transform: scale(1.03); }

.about-preview__image-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gray-100);
}

.about-preview__heading {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: var(--space-md);
    margin-top: 8px;
}

.about-preview__bio {
    font-size: 13px;
    line-height: 1.85;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

/* Stats row */
.about-preview__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat-item { text-align: center; }

.stat-item__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
}


/* ==========================================================================
   8. SERVICES SECTION
   ========================================================================== */

.services-section {
    background: var(--cream);
}

.services-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--white);
    padding: var(--space-lg) var(--space-md);
    border-top: 3px solid transparent;
    transition: all var(--duration) var(--ease-smooth);
}

.service-card:hover {
    border-top-color: var(--accent);
    box-shadow: 0 8px 40px rgba(26,26,46,0.08);
}

.service-card__icon-wrap {
    width: 56px;
    height: 56px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all var(--duration) var(--ease-smooth);
}

.service-card:hover .service-card__icon-wrap {
    border-color: var(--accent);
    background: var(--accent-light);
}

.service-card__icon { color: var(--primary); transition: color var(--duration) var(--ease-smooth); }
.service-card:hover .service-card__icon { color: var(--accent); }

.service-card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    transition: gap 0.3s var(--ease-smooth);
}

.service-card__link:hover { gap: 12px; }


/* ==========================================================================
   9. PORTFOLIO SHOWCASE (front-page) + PORTFOLIO ARCHIVE
   ========================================================================== */

.portfolio-showcase,
.portfolio-archive {
    background: var(--white);
}

/* Filter buttons */
.portfolio-showcase__filters,
.portfolio-archive__filters {
    display: flex;
    gap: 32px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s var(--ease-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.portfolio-filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-smooth);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.is-active,
.portfolio-filter-btn[aria-current="true"] { color: var(--primary); }

.portfolio-filter-btn:hover::after,
.portfolio-filter-btn.is-active::after,
.portfolio-filter-btn[aria-current="true"]::after { width: 100%; }

.portfolio-filter-btn__count {
    font-size: 11px;
    opacity: 0.5;
}

/* Grids */
.portfolio-showcase__grid,
.portfolio-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.portfolio-showcase__item,
.portfolio-archive__item {
    overflow: hidden;
}

.portfolio-showcase__empty,
.portfolio-archive__empty {
    text-align: center;
    padding: 80px 0;
    color: var(--gray-500);
}

.portfolio-archive__empty .btn,
.portfolio-archive__empty .btn--navy {
    margin-top: var(--space-md);
}

.portfolio-showcase__cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* Portfolio Card */
.portfolio-card { position: relative; overflow: hidden; display: block; }

.portfolio-card__link { display: block; }

.portfolio-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.portfolio-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

.portfolio-card__image--placeholder {
    background: var(--gray-100);
}

.portfolio-card:hover .portfolio-card__image { transform: scale(1.05); }

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,10,30,0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__view-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
}

.portfolio-card__body {
    padding: 16px 0 8px;
}

.portfolio-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.portfolio-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    transition: color var(--duration) var(--ease-smooth);
}

.portfolio-card:hover .portfolio-card__title { color: var(--accent); }

.portfolio-card__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    text-align: left;
}

.portfolio-card__location,
.portfolio-card__year {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
}

/* Lumbung-style portfolio classes (expected from rewrite) */
.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;
}

.portfolio-filters button {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s var(--ease-smooth);
}

.portfolio-filters button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-smooth);
}

.portfolio-filters button.active,
.portfolio-filters button:hover { color: var(--primary); }

.portfolio-filters button.active::after,
.portfolio-filters button:hover::after { width: 100%; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 5 / 3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,10,30,0.88) 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: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-overlay .overlay-cat {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}


/* ==========================================================================
   10. PROCESS SECTION
   ========================================================================== */

.process-section { background: var(--cream); }

.process-section__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    list-style: none;
    margin-top: var(--space-lg);
}

.process-step {
    padding: var(--space-lg);
    background: var(--white);
    transition: all var(--duration) var(--ease-smooth);
}

.process-step:hover { box-shadow: 0 4px 30px rgba(26,26,46,0.08); }

.process-step__number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: rgba(201,169,110,0.2);
    line-height: 1;
    margin-bottom: 12px;
    transition: color var(--duration) var(--ease-smooth);
}

.process-step:hover .process-step__number { color: var(--accent); }

.process-step__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.process-step__desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
}


/* ==========================================================================
   11. HOME BANNERS (recognition, trust)
   ========================================================================== */

.home-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.home-banner-card {
    padding: var(--space-xl) var(--space-lg);
    background: var(--cream);
    position: relative;
}

.home-banner-card--dark,
.home-banner-card:nth-child(even) {
    background: var(--primary);
    color: var(--white);
}

.home-banner-stat {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.home-banner-body { max-width: 420px; }

.home-banner-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: inherit;
    margin-bottom: 12px;
}

.home-banner-desc {
    font-size: 13px;
    line-height: 1.8;
    color: inherit;
    opacity: 0.7;
    text-align: left;
}

.home-banner-arrow {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all var(--duration) var(--ease-smooth);
}

.home-banner-card:hover .home-banner-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}


/* ==========================================================================
   12. DESCRIPTION GRID (Lumbung-style 3-col)
   ========================================================================== */

.description-section { padding: var(--section-pad) 0; }

.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: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    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: 13px;
    color: var(--gray-700);
    line-height: 1.8;
}

.desc-readmore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 35px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    transition: color 0.3s var(--ease-smooth);
}

.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); }


/* ==========================================================================
   13. PRINCIPAL / ABOUT SECTION (Lumbung-style)
   ========================================================================== */

.principal-section {
    padding: 80px 0 72px;
    background: var(--cream);
}

.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 {
    width: 100%;
    max-height: 315px;
    object-fit: contain;
    object-position: center top;
    position: relative;
    z-index: 1;
}

.principal-content { padding-top: 0; }

.principal-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 700;
    margin-bottom: 8px;
}

.principal-name {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.principal-bio p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.principal-philosophy {
    max-width: 920px;
    margin: 0 auto;
    padding-top: 48px;
    text-align: left;
}

.principal-philosophy-line {
    width: 40px;
    height: 1px;
    background: var(--gray-300);
    margin-bottom: 24px;
}

.principal-philosophy-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-500);
    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;
}


/* ==========================================================================
   14. CTA BLOCK
   ========================================================================== */

.cta-block {
    padding: var(--section-pad) 0;
}

.cta-block--navy {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-block--navy::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(201,169,110,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.cta-block--white {
    background: var(--cream);
}

.cta-block__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cta-block__content { max-width: 600px; }

.cta-block__heading {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    text-align: left;
}

.cta-block--white .cta-block__heading { color: var(--primary); }

.cta-block__text {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    text-align: left !important;
}

.cta-block--white .cta-block__text { color: var(--gray-700); }

.cta-block__action { flex-shrink: 0; }


/* ==========================================================================
   15. BLOG PREVIEW + BLOG CARDS
   ========================================================================== */

.blog-preview { background: var(--white); }

.blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.blog-preview__cta {
    margin-top: var(--space-lg);
    text-align: center;
}

.blog-preview__empty {
    text-align: center;
    color: var(--gray-500);
    padding: 40px 0;
}

.blog-card {
    background: var(--white);
    transition: all var(--duration) var(--ease-smooth);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card__image-link { display: block; overflow: hidden; }

.blog-card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.blog-card__image-link:hover .blog-card__image { transform: scale(1.04); }

.blog-card__body { padding: var(--space-md) 0 0; }

.blog-card__meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.blog-card__date,
.blog-card__reading-time {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: left;
}

.blog-card__reading-time::before { content: '/ '; }

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card__title a { color: inherit; transition: color var(--duration) var(--ease-smooth); }
.blog-card__title a:hover { color: var(--accent); }

.blog-card__excerpt {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
}


/* ==========================================================================
   16. STATS BAR (About page)
   ========================================================================== */

.stats-bar { padding: 80px 0; }

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stats-bar__item { color: var(--white); }

.stats-bar__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stats-bar__label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}


/* ==========================================================================
   17. VISION / MISSION (About page)
   ========================================================================== */

.vision-mission { background: var(--white); }

.vision-mission__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.vision-card {
    padding: var(--space-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease-smooth);
}

.vision-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 30px rgba(26,26,46,0.06);
}

.vision-card__icon {
    width: 52px;
    height: 52px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.vision-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.vision-card__text {
    font-size: 13px;
    line-height: 1.85;
    color: var(--gray-700);
}


/* ==========================================================================
   18. FOUNDER SECTION (About page)
   ========================================================================== */

.founder-section { background: var(--cream); }

.founder-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: start;
}

.founder-section__figure { overflow: hidden; }

.founder-section__image {
    width: 100%;
    height: auto;
    transition: transform 0.7s var(--ease-smooth);
}

.founder-section__figure:hover .founder-section__image { transform: scale(1.02); }

.founder-section__name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 6px;
    margin-top: 8px;
}

.founder-section__role {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.founder-section__bio {
    font-size: 13px;
    line-height: 1.85;
    color: var(--gray-700);
}


/* ==========================================================================
   19. TIMELINE (About page)
   ========================================================================== */

.timeline-section { background: var(--white); }

.timeline {
    position: relative;
    list-style: none;
    padding-left: 60px;
    margin-top: var(--space-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--gray-200);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
    position: absolute;
    left: -48px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline__year {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    white-space: nowrap;
}

.timeline__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline__desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
}


/* ==========================================================================
   20. OFFICES SECTION (About page)
   ========================================================================== */

.offices-section { background: var(--white); }

.offices-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.office-card {
    padding: var(--space-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease-smooth);
}

.office-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 30px rgba(26,26,46,0.06);
}

.office-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--accent);
}

.office-card__city {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.office-card__address {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: normal;
    margin-bottom: 10px;
}

.office-card__hours {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.office-card__map {
    width: 100%;
    height: 160px;
    background: var(--gray-100);
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-card__map-placeholder {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
}


/* ==========================================================================
   21. CONTACT PAGE
   ========================================================================== */

.contact-section { background: var(--white); }

.contact-section__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.contact-section__form-title,
.contact-section__info-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-section__form-intro {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

/* Contact form fields */
.contact-form { display: flex; flex-direction: column; gap: 0; }

.form-row { margin-bottom: var(--space-md); }

.form-row--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group { margin-bottom: var(--space-md); }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-label__required { color: var(--accent); }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 2px solid var(--gray-200);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--dark);
    background: transparent;
    outline: none;
    transition: border-color var(--duration) var(--ease-smooth);
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-bottom-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-300); }

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-select {
    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='%234a4a4a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    color: var(--gray-700);
}

.form-select option { color: var(--dark); background: var(--white); }

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--space-md);
    background: rgba(201,169,110,0.1);
    border-left: 3px solid var(--accent);
    font-size: 13px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.form-error {
    padding: var(--space-sm) var(--space-md);
    background: rgba(220,38,38,0.08);
    border-left: 3px solid #dc2626;
    font-size: 13px;
    color: #dc2626;
    margin-bottom: var(--space-md);
}

/* Contact info col */
.contact-office-card {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-md);
}

.contact-office-card__city {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-office-card__city svg { color: var(--accent); }

.contact-office-card__address {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: normal;
    margin-bottom: 6px;
}

.contact-office-card__hours {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.contact-map-placeholder {
    width: 100%;
    height: 120px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.contact-social { margin-top: var(--space-md); }

.contact-social__email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.contact-social__email svg { color: var(--accent); flex-shrink: 0; }
.contact-social__email a:hover { color: var(--accent); }

.contact-social__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    text-align: left;
}

.contact-social__links {
    display: flex;
    gap: 10px;
}

.social-icon-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--duration) var(--ease-smooth);
}

.social-icon-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}


/* ==========================================================================
   22. FAQ PAGE
   ========================================================================== */

.faq-section { background: var(--white); }
.faq-section__container { max-width: 800px; }

.faq-group { margin-bottom: var(--space-xl); }

.faq-group__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease-smooth);
}

.faq-item[open] { border-bottom-color: var(--accent); }

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
    flex: 1;
    text-align: left;
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--accent);
}

.faq-icon-plus  { display: block; }
.faq-icon-minus { display: none; }

.faq-item[open] .faq-icon-plus  { display: none; }
.faq-item[open] .faq-icon-minus { display: block; }

.faq-item__answer {
    padding: 0 0 20px;
}

.faq-item__answer p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--gray-700);
}

/* FAQ bottom CTA */
.faq-cta { background: var(--cream); }

.faq-cta__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.faq-cta__heading {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.faq-cta__text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}


/* ==========================================================================
   23. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--primary);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-top { padding-bottom: 0; }

.footer-grid {
    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.08);
    margin-bottom: var(--space-lg);
}

.footer-col--brand { }

.footer-brand { margin-bottom: var(--space-md); }

.footer-brand img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-site-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    display: block;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: var(--space-md);
    text-align: left;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    transition: all 0.3s var(--ease-smooth);
}

.footer-social .social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.footer-nav-list { display: flex; flex-direction: column; gap: 0; }

.footer-nav-list li a,
.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    padding: 5px 0;
    transition: all 0.3s var(--ease-smooth);
}

.footer-nav-list li a:hover,
.footer-col a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-address { font-style: normal; }

.address-item { margin-bottom: 12px; }

.address-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.address-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    text-align: left;
}

.footer-email {
    font-size: 13px;
    color: rgba(255,255,255,0.5) !important;
    transition: color 0.3s var(--ease-smooth);
}

.footer-email:hover { color: var(--accent) !important; }

.footer-whatsapp {
    font-size: 13px;
    color: rgba(255,255,255,0.5) !important;
    transition: color 0.3s var(--ease-smooth);
}

.footer-whatsapp:hover { color: var(--accent) !important; }

.footer-bottom { padding-top: 0; }

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    text-align: left;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.3) !important;
    padding: 0 !important;
    transition: color 0.3s var(--ease-smooth);
}

.footer-legal a:hover {
    color: var(--accent) !important;
    padding-left: 0 !important;
}


/* ==========================================================================
   24. HERO BANNER (inner pages: hero-banner.php)
   ========================================================================== */

.hero-banner {
    position: relative;
    padding: 160px 0 80px;
    background: var(--primary);
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at bottom right, rgba(201,169,110,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top left, rgba(201,169,110,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-banner__inner { position: relative; z-index: 2; }

.hero-banner__breadcrumb { margin-bottom: 20px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb__item a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
    transition: color var(--duration) var(--ease-smooth);
}

.breadcrumb__item a:hover { color: var(--accent); }

.breadcrumb__separator {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}

.breadcrumb__item--active {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.hero-banner__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 16px;
}

.hero-banner__subtitle {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
}

.hero-banner__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-banner__wave svg {
    display: block;
    width: 100%;
    height: 60px;
}


/* ==========================================================================
   25. SINGLE PORTFOLIO
   ========================================================================== */

.single-portfolio-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
    background: var(--primary);
}

.single-portfolio-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-portfolio-hero__placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-light);
}

.single-portfolio-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,30,0.3) 0%, rgba(10,10,30,0.8) 100%);
}

.single-portfolio-hero__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 60px;
    z-index: 2;
}

.single-portfolio-hero__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-top: 10px;
}

/* Portfolio detail layout */
.single-portfolio-detail { background: var(--white); }

.single-portfolio-detail__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.single-portfolio-detail__content {
    font-size: 13px;
    line-height: 1.85;
    color: var(--gray-700);
}

.single-portfolio-detail__content h2,
.single-portfolio-detail__content h3 { color: var(--primary); margin-bottom: 12px; margin-top: var(--space-md); }

.single-portfolio-detail__content p { margin-bottom: var(--space-sm); }

.single-portfolio-detail__content img { margin: var(--space-md) 0; }

/* Gallery */
.single-portfolio-gallery { margin-top: var(--space-xl); }

.single-portfolio-gallery__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.single-portfolio-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.single-portfolio-gallery__item { overflow: hidden; aspect-ratio: 4/3; }

.single-portfolio-gallery__link { display: block; height: 100%; }

.single-portfolio-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.single-portfolio-gallery__link:hover .single-portfolio-gallery__image { transform: scale(1.04); }

/* Project info sidebar */
.project-info-card {
    position: sticky;
    top: 100px;
    background: var(--cream);
    padding: var(--space-lg);
}

.project-info-card__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.project-info-list { list-style: none; }

.project-info-list__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}

.project-info-list__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-500);
    flex-shrink: 0;
}

.project-info-list__label svg { color: var(--accent); }

.project-info-list__value {
    font-size: 13px;
    color: var(--primary);
    text-align: right;
}

.project-info-card__cta {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.project-info-card__cta-text {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
    text-align: center;
}

/* Related projects */
.related-projects { background: var(--cream); }
.related-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}


/* ==========================================================================
   26. BLOG / ARCHIVE
   ========================================================================== */

.section-hero--archive {
    padding: 160px 0 80px;
    background: var(--primary);
}

.archive-hero-content { max-width: 600px; }

.archive-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-top: 8px;
    margin-bottom: 16px;
}

.archive-description {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    text-align: left;
}

.archive-author-info { margin-top: var(--space-md); }

.archive-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

.section-blog {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.posts-grid--3col { grid-template-columns: repeat(3, 1fr); }

.post-card { background: var(--white); }

.post-card__image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.post-card__image-link:hover .post-card__image { transform: scale(1.04); }

.post-card__image-placeholder {
    aspect-ratio: 16/9;
    background: var(--gray-100);
}

.post-card__body {
    padding: var(--space-md) 0 0;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.post-card__date,
.post-card__reading-time {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.5px;
    text-align: left;
}

.post-card__reading-time::before { content: '\00B7 '; }

.post-card__categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.post-category-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-card__title a { color: inherit; transition: color var(--duration) var(--ease-smooth); }
.post-card__title a:hover { color: var(--accent); }

.post-card__excerpt {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    transition: gap 0.3s var(--ease-smooth);
}

.post-card__link:hover { gap: 12px; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

.pagination .page-numbers {
    display: inline-flex;
    gap: 4px;
    list-style: none;
}

.pagination .page-numbers li { }

.pagination .page-numbers a,
.pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease-smooth);
}

.pagination .page-numbers a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-numbers .current {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.no-results {
    text-align: center;
    padding: 80px 0;
}

.no-results__text {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
    text-align: center;
}


/* ==========================================================================
   27. SINGLE POST
   ========================================================================== */

.post-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: var(--primary) var(--post-hero-bg, '') center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,30,0.3) 0%, rgba(10,10,30,0.85) 100%);
}

.post-hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    max-width: 800px;
}

.post-hero__meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.post-hero__date,
.post-hero__reading-time {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    text-align: left;
}

.post-hero__reading-time::before { content: '\00B7 '; }

.post-hero__title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.post-hero__categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Post body layout */
.post-layout { max-width: 800px; margin: 0 auto; padding: var(--section-pad) 0; }

.post-content-wrap { }

/* Share bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-lg);
}

.share-bar--bottom { border-top: 1px solid var(--gray-200); border-bottom: none; margin-top: var(--space-lg); padding-bottom: 0; }

.share-bar__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--gray-200);
    background: transparent;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.share-btn--whatsapp:hover { background: #25d366; border-color: #25d366; color: var(--white); }
.share-btn--copy:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Post body content */
.post-body.entry-content {
    font-size: 13px;
    line-height: 1.9;
    color: var(--gray-700);
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    margin: 36px 0 16px;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin: 28px 0 12px;
}

.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin-bottom: 20px; padding-left: 24px; }
.post-body ul li { list-style: disc; margin-bottom: 8px; }
.post-body ol li { list-style: decimal; margin-bottom: 8px; }

.post-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--cream);
    font-style: italic;
    color: var(--primary);
}

.post-body img { margin: 24px 0; }

.post-body a { color: var(--accent); }
.post-body a:hover { color: var(--accent-hover); }

/* Post tags */
.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: var(--space-lg) 0;
}

.post-tags__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.tag-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease-smooth);
}

.tag-badge:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Author card */
.author-card {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--cream);
    margin: var(--space-lg) 0;
}

.author-card__avatar { flex-shrink: 0; }

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.author-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.author-card__bio {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-700);
}

/* Post navigation */
.post-navigation { margin: var(--space-lg) 0; }

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 20px;
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease-smooth);
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover { border-color: var(--accent); }

.post-navigation .nav-next { text-align: right; }

.post-navigation .nav-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.post-navigation .nav-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Page links */
.page-links {
    font-size: 13px;
    color: var(--gray-700);
    margin: var(--space-md) 0;
}

/* Related posts */
.related-posts { padding: var(--section-pad) 0; background: var(--cream); }

.related-posts__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}


/* ==========================================================================
   28. 404
   ========================================================================== */

.error-404 {
    padding: 160px 0 var(--section-pad);
    background: var(--white);
    text-align: center;
}

.error-404__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-404__number {
    font-family: var(--font-heading);
    font-size: 160px;
    font-weight: 600;
    color: rgba(26,26,46,0.06);
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: -20px;
}

.error-404__title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.error-404__text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: var(--space-lg);
}

.error-404__search {
    max-width: 480px;
    width: 100%;
    margin-bottom: var(--space-lg);
}

.error-404__search .search-form {
    display: flex;
    gap: 0;
}

.error-404__search .search-field {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-right: none;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: border-color var(--duration) var(--ease-smooth);
}

.error-404__search .search-field:focus { border-color: var(--accent); }

.error-404__search .search-submit {
    padding: 14px 24px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--duration) var(--ease-smooth);
}

.error-404__search .search-submit:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.error-404__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}


/* ==========================================================================
   29. BACK TO TOP
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s var(--ease-smooth);
    pointer-events: none;
}

.back-to-top:not([hidden]) {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}


/* ==========================================================================
   30. WHATSAPP FLOAT
   ========================================================================== */

.whatsapp-float-btn {
    position: fixed;
    bottom: 84px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s var(--ease-spring);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}


/* ==========================================================================
   31. UTILITY
   ========================================================================== */

.section-bg-light { background: var(--cream); }
.section-bg-navy  { background: var(--primary); }
.section-bg-white { background: var(--white); }

.text-center { text-align: center !important; }
.text-left   { text-align: left !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }


/* ==========================================================================
   32. RESPONSIVE -- TABLET (max 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .container { padding: 0 40px; }
    .header-inner { padding: 0 40px; }

    /* Show hamburger */
    .nav-toggle-label { display: flex; }
    .menu-toggle { display: flex; }

    /* Full-screen mobile nav */
    .primary-nav,
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.45s var(--ease-smooth);
        z-index: 1000;
        overflow-y: auto;
        padding: 40px 20px;
    }

    .primary-nav.open,
    .main-nav.open,
    .nav-toggle-checkbox:checked ~ .primary-nav {
        transform: translateX(0);
    }

    .primary-nav .nav-menu,
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
        width: 100%;
    }

    .primary-nav .nav-menu li,
    .main-nav ul li {
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        text-align: center;
    }

    .primary-nav.open .nav-menu li,
    .main-nav.open li,
    .nav-toggle-checkbox:checked ~ .primary-nav .nav-menu li { opacity: 1; transform: translateY(0); }

    .primary-nav.open .nav-menu li:nth-child(1),
    .main-nav.open li:nth-child(1) { transition-delay: 0.1s; }
    .primary-nav.open .nav-menu li:nth-child(2),
    .main-nav.open li:nth-child(2) { transition-delay: 0.15s; }
    .primary-nav.open .nav-menu li:nth-child(3),
    .main-nav.open li:nth-child(3) { transition-delay: 0.2s; }
    .primary-nav.open .nav-menu li:nth-child(4),
    .main-nav.open li:nth-child(4) { transition-delay: 0.25s; }
    .primary-nav.open .nav-menu li:nth-child(5),
    .main-nav.open li:nth-child(5) { transition-delay: 0.3s; }

    .primary-nav .nav-menu li a,
    .main-nav ul li a {
        color: rgba(255,255,255,0.7) !important;
        font-size: 13px !important;
        letter-spacing: 3px !important;
        padding: 14px 24px !important;
    }

    .primary-nav .nav-menu li a:hover,
    .main-nav ul li a:hover { color: var(--white) !important; }

    .primary-nav .nav-menu li a::after,
    .main-nav ul li a::after { display: none; }

    .nav-cta,
    .btn.nav-cta {
        margin-top: 24px;
        margin-left: 0;
    }

    /* Hero */
    .hero-section__tagline { font-size: 38px; }
    .hero-headline { font-size: 38px; }
    .hero-overlay-content { padding: 0 48px 80px; }
    .hero-nav { left: 48px; }
    .hero-arrows { right: 48px; bottom: 80px; }

    /* About grid */
    .about-preview__grid { grid-template-columns: 1fr; gap: 48px; }
    .about-preview__image { height: 400px; }
    .about-preview__stats { grid-template-columns: repeat(4, 1fr); }

    /* Services */
    .services-section__grid { grid-template-columns: 1fr; gap: var(--space-sm); }

    /* Portfolio */
    .portfolio-showcase__grid,
    .portfolio-archive__grid,
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

    .portfolio-item { aspect-ratio: 4/3; }

    /* Process */
    .process-section__steps { grid-template-columns: 1fr; }

    /* Desc grid */
    .desc-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Principal */
    .principal-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .principal-photo-wrap { max-width: 280px; margin: 0 auto; }

    /* CTA block */
    .cta-block__inner { flex-direction: column; text-align: center; }
    .cta-block__heading, .cta-block__text { text-align: center !important; }
    .cta-block__content { max-width: 100%; }

    /* Vision/Mission */
    .vision-mission__grid { grid-template-columns: 1fr; }

    /* Founder */
    .founder-section__grid { grid-template-columns: 1fr; gap: 40px; }

    /* Offices */
    .offices-section__grid { grid-template-columns: 1fr; }

    /* Timeline */
    .timeline { padding-left: 40px; }

    /* Stats bar */
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer grid */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }

    /* Blog */
    .blog-preview__grid,
    .posts-grid { grid-template-columns: repeat(2, 1fr); }

    /* Single portfolio */
    .single-portfolio-detail__grid { grid-template-columns: 1fr; }
    .project-info-card { position: static; }
    .single-portfolio-gallery__grid { grid-template-columns: repeat(2, 1fr); }

    /* Contact */
    .contact-section__grid { grid-template-columns: 1fr; gap: 48px; }

    /* Form */
    .form-row--two-col { grid-template-columns: 1fr; }

    /* Related projects */
    .related-projects__grid { grid-template-columns: repeat(2, 1fr); }

    /* Post */
    .post-layout { padding: var(--section-pad) 0 60px; }
    .post-hero__title { font-size: 32px; }
    .post-navigation .nav-links { grid-template-columns: 1fr; }

    /* Hero banner */
    .hero-banner { padding: 130px 0 60px; }
    .hero-banner__title { font-size: 38px; }

    /* Home banners */
    .home-banners { grid-template-columns: 1fr; }
}


/* ==========================================================================
   33. RESPONSIVE -- MOBILE (max 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .header-inner { padding: 0 24px; }

    /* Section padding */
    .section-padding { padding: 72px 0; }
    :root { --section-pad: 72px; }

    /* Typography scale */
    .hero-section__tagline { font-size: 30px; letter-spacing: 1.5px; }
    .hero-headline { font-size: 30px; }
    .hero-overlay-content { padding: 0 28px 72px; }
    .hero-nav { left: 28px; bottom: 30px; }
    .hero-arrows { right: 28px; bottom: 72px; }
    .hero-counter { right: 16px; bottom: 72px; }

    .hero-banner { padding: 110px 0 50px; }
    .hero-banner__title { font-size: 32px; }

    .about-preview__stats { grid-template-columns: repeat(2, 1fr); }

    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar__number { font-size: 40px; }

    .portfolio-showcase__grid,
    .portfolio-archive__grid,
    .portfolio-grid { grid-template-columns: 1fr; gap: 2px; }

    .portfolio-item { aspect-ratio: 3/2; }

    .portfolio-showcase__filters,
    .portfolio-archive__filters,
    .portfolio-filters { gap: 16px; flex-wrap: wrap; }

    .blog-preview__grid,
    .posts-grid,
    .posts-grid--3col { grid-template-columns: 1fr; }

    .single-portfolio-hero { height: 50vh; min-height: 320px; }
    .single-portfolio-hero__title { font-size: 28px; }
    .single-portfolio-gallery__grid { grid-template-columns: 1fr; }
    .related-projects__grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
    .copyright { text-align: center; }

    .post-hero { height: 50vh; min-height: 320px; }
    .post-hero__title { font-size: 26px; }

    .archive-title { font-size: 32px; }
    .section-title, .section-heading { font-size: 26px; }

    .cta-block__heading { font-size: 26px; }

    .error-404__number { font-size: 100px; }
    .error-404__title { font-size: 24px; }

    .faq-cta__heading { font-size: 24px; }

    .about-preview__image { height: 300px; }

    .home-banners { grid-template-columns: 1fr; }

    .vision-mission__grid { grid-template-columns: 1fr; }
    .offices-section__grid { grid-template-columns: 1fr; }

    .back-to-top { bottom: 20px; right: 20px; }

    .hero-scroll-hint { display: none; }
}


/* ==========================================================================
   34. RESPONSIVE -- SMALL MOBILE (max 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 0 16px; }

    .hero-section__tagline { font-size: 24px; line-height: 1.2; }
    .hero-headline { font-size: 24px; line-height: 1.2; }
    .hero-cta { padding: 12px 24px; }
    .hero-overlay-content { padding: 0 16px 60px; }
    .hero-nav { left: 16px; bottom: 24px; }
    .hero-arrows { display: none; }
    .hero-counter { display: none; }

    .hero-banner { padding: 100px 0 40px; }
    .hero-banner__title { font-size: 26px; }

    .about-preview__stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-item__number { font-size: 28px; }

    .stats-bar__number { font-size: 36px; }
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .section-title, .section-heading { font-size: 22px; }
    .section-label { font-size: 12px; }

    .cta-block__heading { font-size: 22px; }
    .cta-block__inner { gap: var(--space-md); }

    .hero-banner__subtitle { font-size: 13px; }

    .faq-cta__heading { font-size: 22px; }

    .post-hero__title { font-size: 22px; }
    .archive-title { font-size: 26px; }

    .error-404__number { font-size: 80px; }
    .error-404__title { font-size: 20px; }
    .error-404__actions { flex-direction: column; align-items: center; }

    .btn--lg { padding: 15px 28px; font-size: 12px; }

    .hero-section__actions { flex-direction: column; gap: 12px; }
    .hero-section__actions .btn,
    .hero-section__actions .btn--outline-white,
    .hero-section__actions .btn--gold { width: 100%; justify-content: center; }

    .portfolio-filter-btn { font-size: 12px; letter-spacing: 1px; }

    .footer-grid { gap: var(--space-md); }

    .form-row--two-col { grid-template-columns: 1fr; }

    .share-bar { gap: 8px; }
    .share-btn { font-size: 11px; padding: 6px 12px; }

    .post-navigation .nav-links { grid-template-columns: 1fr; }

    .single-portfolio-hero__title { font-size: 22px; }

    .author-card { flex-direction: column; }
}
