/* ==========================================================================
   1. DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette (Modern Slate, Deep Forest Green & Accent Gold) */
    --color-bg-dark: oklch(0.12 0.015 250);
    --color-bg-light: oklch(0.98 0.005 250);
    --color-text-dark: oklch(0.15 0.01 250);
    --color-text-light: oklch(0.95 0.005 250);
    --color-text-muted: oklch(0.65 0.01 250);

    /* Branding Colors */
    --color-primary: oklch(0.28 0.06 140);
    /* Deep Forest Green */
    --color-primary-light: oklch(0.38 0.08 140);
    --color-accent: #3184b5;
    /* Premium Accent Blue */
    --color-accent-hover: #3b9cd6;

    /* Glassmorphism Styles */
    --glass-bg: rgba(18, 25, 20, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.3);

    /* Fonts */
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Global Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

/* Helper scroll class */
.scroll-anchor {
    scroll-margin-top: 80px;
}

/* Common Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.15em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 650px;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* ==========================================================================
   3. HEADER & NAVIGATION BAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow);
    transition: padding var(--transition-normal), background var(--transition-normal);
    padding: 1.25rem 0;
}

.main-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 15, 12, 0.9);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    height: 46px;
    /* Enlarged by 10% */
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo-link:hover .header-logo {
    transform: scale(1.05) rotate(3deg);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    line-height: 1.1;
}

.header-ccb-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-top: 0.1rem;
}

.accent-text {
    color: var(--color-accent);
}

/* Navigation Links & Dropdown Menu */
.nav-menu>ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--color-text-light);
    opacity: 0.8;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    opacity: 1;
    color: var(--color-accent);
    font-weight: 600;
}

/* Dropdown Menu Styles */
.dropdown-item {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--color-text-light);
    opacity: 0.8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-normal);
}

.dropdown-toggle:hover::after,
.dropdown-toggle.active::after,
.dropdown-item:hover .dropdown-toggle::after {
    width: 100%;
}

.dropdown-toggle:hover,
.dropdown-toggle.active,
.dropdown-item:hover .dropdown-toggle {
    opacity: 1;
    color: var(--color-accent);
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(10, 15, 12, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 100;
    list-style: none;
    margin: 0;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-link {
    display: block;
    padding: 0.65rem 1.25rem;
    color: var(--color-text-light);
    opacity: 0.8;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    text-align: left;
}

.dropdown-link:hover {
    opacity: 1;
    color: var(--color-accent);
    background-color: rgba(212, 175, 55, 0.08);
    padding-left: 1.5rem;
}

.dropdown-item:hover .dropdown-menu,
.dropdown-menu.show {
    display: block;
    animation: navSlideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Actions & Admin Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-ccb-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.05);
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    pointer-events: none;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.btn-admin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-normal);
}

.btn-admin:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   4. ADMIN LOGIN MODAL OVERLAY & CARD
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 6, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.login-modal-card {
    background: rgba(22, 30, 24, 0.95);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.open .login-modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lock-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Login Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    background: rgba(10, 15, 12, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(10, 15, 12, 0.8);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.input-wrapper input:focus+i {
    color: var(--color-accent);
}

.btn-login-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 0.85rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    margin-top: 0.5rem;
}

.btn-login-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.25rem;
    font-weight: 500;
}

/* ==========================================================================
   5. HERO SECTION (3D PARALLAX & COLLAGE)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, oklch(0.2 0.04 140) 0%, var(--color-bg-dark) 80%);
}

/* Background grid overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
    perspective: 1200px;
}

/* 3D Perspective Card */
.hero-3d-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    background: rgba(20, 28, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 4rem 3.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg);
    transition: transform 0.1s ease-out, box-shadow var(--transition-normal);
}

.hero-3d-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.05);
}

/* Cursor Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.07), transparent 80%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 3;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transform: translateZ(50px);
}

.hero-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--color-accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-light);
    word-wrap: break-word;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

/* Call to Action Buttons */
.btn-cta-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal);
}

.btn-cta-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.btn-cta-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-3px);
}

/* Floating 3D Image Container (Collage Layout) */
.hero-floating-image-container {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: translateZ(30px) scale(0.95);
    transition: transform var(--transition-normal);
}

.hero-floating-image {
    position: absolute;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
    object-fit: cover;
}

.hero-floating-image.img-base {
    width: 85%;
    aspect-ratio: 4 / 3;
    z-index: 5;
    transform: translateZ(10px);
    animation: floatBase 6s ease-in-out infinite;
}

.hero-floating-image.img-overlay-1 {
    width: 44%;
    aspect-ratio: 3 / 4;
    left: -12%;
    bottom: -10%;
    z-index: 10;
    transform: translateZ(40px);
    animation: floatOverlay1 6s ease-in-out infinite;
}

.hero-floating-image.img-overlay-2 {
    width: 46%;
    aspect-ratio: 3 / 4;
    right: -12%;
    top: -10%;
    z-index: 15;
    transform: translateZ(70px);
    animation: floatOverlay2 6s ease-in-out infinite;
}

.hero-floating-image:hover {
    border-color: var(--color-accent);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.25);
    z-index: 25;
}

/* Keyframes for independent float movements */
@keyframes floatBase {

    0%,
    100% {
        transform: translateZ(10px) translateY(0);
    }

    50% {
        transform: translateZ(10px) translateY(-8px);
    }
}

@keyframes floatOverlay1 {

    0%,
    100% {
        transform: translateZ(40px) translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateZ(40px) translateY(-12px) rotate(-2deg);
    }
}

@keyframes floatOverlay2 {

    0%,
    100% {
        transform: translateZ(70px) translateY(0) rotate(1deg);
    }

    50% {
        transform: translateZ(70px) translateY(-16px) rotate(2deg);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0.7;
    transition: opacity opacity var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 500;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 16px;
        opacity: 0;
    }

    100% {
        top: 6px;
        opacity: 1;
    }
}

/* ==========================================================================
   6. OUR APPROACH SECTION (LIGHT CONTRAST BANNER)
   ========================================================================== */
.approach-section {
    padding: 7rem 2rem;
    background-color: #f7f5f0;
    color: #1E2522;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.approach-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.approach-left {
    display: flex;
    flex-direction: column;
}

.approach-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #C36D56;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.approach-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #1E2522;
    word-wrap: break-word;
}

.approach-right {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.approach-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.25;
    color: #1E2522;
    letter-spacing: -0.01em;
}

.approach-text {
    font-size: 1rem;
    color: #555E5A;
    line-height: 1.7;
    max-width: 540px;
}

/* ==========================================================================
   7. SERVICES SECTION (INTERACTIVE TRIANGLE)
   ========================================================================== */
.services-section {
    padding: 8rem 2rem;
    background-color: var(--color-bg-dark);
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.triangle-services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.triangle-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.triangle-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

.triangle-polygon {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 2;
    stroke-dasharray: 6 6;
    transition: stroke var(--transition-normal);
}

.triangle-visual-wrapper:hover .triangle-polygon {
    stroke: rgba(212, 175, 55, 0.2);
}

.triangle-vertex {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.vertex-remodeling {
    top: 13.3%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vertex-protection {
    top: 76.7%;
    left: 86.7%;
    transform: translate(-50%, -50%);
}

.vertex-outdoor {
    top: 76.7%;
    left: 13.3%;
    transform: translate(-50%, -50%);
}

.vertex-dot {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #141c17;
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.vertex-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    transition: color var(--transition-normal);
    white-space: nowrap;
}

.triangle-vertex:hover .vertex-dot,
.triangle-vertex.active .vertex-dot {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.triangle-vertex:hover .vertex-label,
.triangle-vertex.active .vertex-label {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.triangle-center {
    position: absolute;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.center-icon {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.15));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.triangle-visual-wrapper:hover .center-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.triangle-details-wrapper {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.category-detail-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 32, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow var(--transition-normal);
}

.category-detail-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.02);
}

.panel-image-wrapper {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.panel-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.category-detail-panel.active .panel-cover-img {
    transform: scale(1.05);
}

.panel-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 18, 14, 1) 0%, rgba(12, 18, 14, 0.3) 80%, transparent 100%);
    z-index: 1;
}

.panel-body {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
    z-index: 2;
    background-color: rgba(12, 18, 14, 0.95);
}

.panel-body h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-light);
}

.panel-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.activity-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.activity-tag-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.activity-tag-pill i {
    color: var(--color-accent);
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.activity-tag-pill:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.35);
}

.activity-tag-pill:hover i {
    color: var(--color-bg-dark);
}

/* ==========================================================================
   8. PROJECTS SECTION (BEFORE/AFTER SLIDER - LIGHT THEME)
   ========================================================================== */
.projects-section {
    padding: 8rem 2rem;
    background-color: #f7f5f0;
    /* Cozy warm cream background */
    color: #1e2522;
    /* Dark text */
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section .section-title {
    color: #1e2522;
}

.projects-section .section-title .accent-text {
    color: var(--color-accent);
    /* Deep Bronze Gold for premium readability */
}

.projects-section .section-subtitle {
    color: var(--color-accent);
    /* Deep Bronze Gold for premium readability */
}

.projects-section .section-description {
    color: #555e5a;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    user-select: none;
    -webkit-user-select: none;
    container-type: inline-size;
    cursor: ew-resize;
}

.slider-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-after {
    z-index: 1;
}

.before-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    border-right: 2px solid var(--color-accent);
}

.before-image-wrapper .slider-img {
    width: 100cqw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
}

.badge-label {
    position: absolute;
    top: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.badge-before {
    left: 1.5rem;
    color: var(--color-accent);
    border-left: 3px solid #C36D56;
}

.badge-after {
    right: 1.5rem;
    color: var(--color-accent);
    border-right: 3px solid #8C691E;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--color-accent);
    transform: translateX(-50%);
    z-index: 20;
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.handle-line {
    width: 2px;
    height: 35%;
    background: rgba(255, 255, 255, 0.5);
}

.handle-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 10px rgba(212, 175, 55, 0.3);
    transition: transform var(--transition-fast);
}

.slider-handle:hover .handle-button {
    transform: scale(1.1);
}

.project-info-card {
    background: #ffffff;
    /* Clean white card for pop contrast on cream */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.project-category-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.project-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e2522;
    margin-top: 0.25rem;
}

.project-desc-text {
    font-size: 0.95rem;
    color: #555E5A;
    line-height: 1.7;
}

.project-meta-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.meta-item {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.meta-label {
    font-weight: 700;
    color: #777e7a;
    width: 90px;
    flex-shrink: 0;
}

.meta-val {
    color: #1e2522;
}

/* ==========================================================================
   9. GALLERY SECTION (DARK/BLACK BACKGROUND & MASONRY GRID)
   ========================================================================== */
.gallery-section {
    padding: 8rem 2rem 4rem 2rem;
    background: radial-gradient(circle at 50% 10%, oklch(0.15 0.02 140) 0%, var(--color-bg-dark) 70%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gallery-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.15em;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: -0.01em;
}

.gallery-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.65;
    margin-top: 0.25rem;
}

/* Gallery Filter Wrapper & Buttons */
.gallery-filter-wrapper {
    display: none;
    /* Hidden by default, shown when Show More is active */
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.4s ease forwards;
}

.gallery-filter-wrapper.show {
    display: flex;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

/* Masonry Grid (Rompecabezas) */
.projects-masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.masonry-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(22, 32, 26, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.masonry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden by default extra photos */
.masonry-item.extra-photo {
    display: none !important;
}

/* Initial 5 Photo Alignment - Perfect Rectangular Integration */
.item-vertical {
    grid-column: span 4;
    grid-row: span 2;
    height: 600px;
}

.item-large {
    grid-column: span 8;
    height: 290px;
}

.item-bottom-1 {
    grid-column: span 3;
    height: 290px;
}

.item-bottom-2 {
    grid-column: span 2;
    height: 290px;
}

.item-bottom-3 {
    grid-column: span 3;
    height: 290px;
}

/* EXPANDED GALLERY STATE (Auto-packing grid layout when filter is active) */
.projects-masonry-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    grid-auto-rows: 290px;
}

.projects-masonry-grid.expanded .masonry-item {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 290px !important;
    display: block !important;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Overlay details on hover */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 12, 0.95) 0%, rgba(10, 15, 12, 0.3) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    z-index: 5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.overlay-content {
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.overlay-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1.3;
}

/* Hover States */
.masonry-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.masonry-item:hover .masonry-img {
    transform: scale(1.08);
}

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

.masonry-item:hover .overlay-content {
    transform: translateY(0);
}

/* Gallery Pagination Controls */
.gallery-pagination-wrapper {
    display: none;
    /* Hidden by default, shown when Show More is active */
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    animation: fadeInUp 0.4s ease forwards;
}

.gallery-pagination-wrapper.show {
    display: flex;
}

.pag-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.pag-btn:hover:not(:disabled) {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.05);
}

.pag-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pag-pages {
    display: flex;
    gap: 0.5rem;
}

.page-num-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-normal);
}

.page-num-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.05);
}

.page-num-btn.active {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Gallery Toggle Controls ("Show more") */
.gallery-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.btn-gallery-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-gallery-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.btn-gallery-toggle i {
    font-size: 0.8rem;
    transition: transform var(--transition-normal);
}

.btn-gallery-toggle.active i {
    transform: rotate(180deg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   9b. REVIEWS / TESTIMONIALS SECTION (CREAM BACKGROUND & LIGHT CARD STYLES)
   ========================================================================== */
/* ==========================================================================
   9b. OUR PROCESS / HOW WE WORK SECTION (CREAM BACKGROUND & EDITORIAL SERIF)
   ========================================================================== */
.process-section {
    padding: 8rem 2rem;
    background-color: #f7f5f0;
    /* Cozy warm cream background */
    color: #1e2522;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-header {
    text-align: left;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.process-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #8C691E;
    /* Deep Bronze Gold */
    letter-spacing: 0.15em;
}

.process-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 9vw, 5rem);
    /* Large elegant editorial title */
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1.1;
    word-wrap: break-word;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* top line separator matching picture */
}

.step-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e2522;
    letter-spacing: 0.05em;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e2522;
    letter-spacing: 0.05em;
}

.step-desc {
    font-size: 0.95rem;
    color: #555e5a;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-title {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
   9c. REVIEWS / TESTIMONIALS SECTION (DARK/BLACK THEME & GLASS CARDS)
   ========================================================================== */
.reviews-section {
    padding: 8rem 2rem;
    background: radial-gradient(circle at 50% 10%, oklch(0.15 0.02 140) 0%, var(--color-bg-dark) 70%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.reviews-section .section-title {
    color: var(--color-text-light);
}

.reviews-section .section-description {
    color: var(--color-text-muted);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.reviews-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto 0;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.review-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 3rem 2.5rem;
    background: rgba(22, 32, 26, 0.35);
    /* Glass dark cards */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

@media (min-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        margin-right: 2rem;
    }

    .review-card:nth-child(2n) {
        margin-right: 0;
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.review-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    /* gold border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text-light);
    font-weight: 700;
}

.review-stars {
    display: flex;
    gap: 0.35rem;
    color: var(--color-accent);
    /* gold stars */
    font-size: 0.95rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text-light);
    opacity: 0.95;
    font-family: var(--font-heading);
    flex-grow: 1;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.verified-badge {
    font-size: 0.8rem;
    color: #4ade80;
    /* bright green */
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.review-project-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    /* gold text */
    letter-spacing: 0.08em;
    background: rgba(212, 175, 55, 0.08);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.reviews-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.review-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.review-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.google-review-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 5rem;
    text-align: center;
}

.google-review-cta p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.btn-google-review {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-normal);
}

.btn-google-review:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-2px);
}

.btn-google-review i {
    font-size: 1.1rem;
    color: var(--color-accent);
}

/* ==========================================================================
   9d. SPLIT CONTACT CTA SECTION (DARK THEME & INTERACTIVE FLIP CARD)
   ========================================================================== */
.contact-cta-section {
    background-color: #f7f5f0;
    /* Cozy warm cream background */
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-cta-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

/* Left Photo Column */
.contact-left-photo-column {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 80%, #f7f5f0 100%);
    pointer-events: none;
}

/* Right Panel Column */
.contact-right-panel-column {
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contact-panel-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-accent);
    /* Deep Bronze Gold for legibility on cream */
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.contact-panel-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e2522;
    /* Dark text */
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
}

/* Dynamic Flip Card */
.contact-cta-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    perspective: 1500px;
    /* Perspective depth for 3D flip */
}

.cta-card-front,
.cta-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: #1e2522;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card-front {
    z-index: 2;
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-card-back {
    z-index: 1;
    transform: rotateY(180deg);
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Flipped trigger action in CSS */
.contact-cta-card.flipped .cta-card-front {
    transform: rotateY(-180deg);
}

.contact-cta-card.flipped .cta-card-back {
    transform: rotateY(0deg);
}

/* Brand Header */
.cta-brand-header {
    margin-bottom: 2rem;
}

.cta-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.cta-brand-header h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e2522;
    margin-bottom: 0.5rem;
}

.cta-brand-header p {
    font-size: 0.95rem;
    color: #555e5a;
    line-height: 1.5;
}

/* Quick Action Buttons */
.cta-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
    justify-content: center;
}

.cta-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.05rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

/* Buttons style variants */
.btn-phone {
    background-color: #f7f5f0;
    color: #1e2522;
}

.btn-phone:hover {
    border-color: #8C691E;
    color: #8C691E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 105, 30, 0.1);
}

.btn-whatsapp {
    background-color: #e8f5e9;
    color: #15803d;
    border-color: #d1ebd3;
}

.btn-whatsapp:hover {
    background-color: #d1ebd3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.1);
}

.btn-email-trigger {
    background-color: #e3f2fd;
    color: #1d60b5;
    border-color: #bbdefb;
}

.btn-email-trigger:hover {
    background-color: #bbdefb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 96, 181, 0.1);
}

.cta-action-btn i {
    font-size: 1.2rem;
}

.cta-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #777e7a;
    font-weight: 600;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
}

.cta-card-footer i {
    color: #8C691E;
}

/* Card Back: Contact Form */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.btn-back-to-cta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #555e5a;
    transition: color var(--transition-fast);
}

.btn-back-to-cta:hover {
    color: #8C691E;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e2522;
}

.interactive-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #555e5a;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: #ffffff;
    color: #1e2522;
    transition: all var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #8C691E;
    box-shadow: 0 0 8px rgba(140, 105, 30, 0.12);
}

.form-field textarea {
    height: 90px;
    resize: none;
}

.btn-submit-contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: #15803d;
    /* Safe dark green */
    color: #ffffff;
    padding: 0.85rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    margin-top: 0.5rem;
}

.btn-submit-contact-form:hover {
    background-color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

/* Success Feedback Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e8f5e9;
    color: #15803d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    border: 2px solid #d1ebd3;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e2522;
    margin-bottom: 0.5rem;
}

.success-content p {
    font-size: 0.95rem;
    color: #555e5a;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-reset-form-state {
    background-color: #f7f5f0;
    color: #1e2522;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.btn-reset-form-state:hover {
    border-color: #8C691E;
    color: #8C691E;
}

@keyframes scaleUp {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   10. RESPONSIVE DESIGN BREAKPOINTS & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-3d-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .approach-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .triangle-services-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .contact-cta-split-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-left-photo-column {
        height: 380px;
    }

    .photo-overlay-glow {
        background: linear-gradient(to bottom, transparent 35%, #f7f5f0 100%);
    }

    .contact-right-panel-column {
        padding: 4rem 2rem;
        align-items: center;
        text-align: center;
    }

    .contact-panel-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .contact-cta-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .triangle-visual-wrapper {
        max-width: 380px;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .projects-masonry-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .item-vertical {
        grid-column: span 3;
        grid-row: span 2;
        height: 500px;
    }

    .item-bottom-1 {
        grid-column: span 3;
        height: 250px;
    }

    .item-bottom-2 {
        grid-column: span 3;
        height: 250px;
    }

    .item-bottom-3 {
        grid-column: span 6;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header-ccb-badge {
        display: none;
    }

    .dropdown-toggle {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        justify-content: center;
        opacity: 0.8;
    }

    .dropdown-menu {
        position: static;
        background-color: rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0.25rem 0;
        min-width: 100%;
        width: 100%;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
        animation: none;
        /* Disable 3D slide down animation in mobile to stay clean */
    }

    .dropdown-link {
        font-size: 1rem;
        text-align: center;
        padding: 0.75rem 1.25rem;
        color: var(--color-text-light);
    }

    .services-section {
        padding: 5rem 1.5rem;
    }

    .vertex-label {
        font-size: 0.7rem;
    }

    .projects-section,
    .gallery-section {
        padding: 5rem 1.5rem;
    }

    .project-info-card {
        padding: 2.25rem 1.75rem;
    }

    .gallery-section-header {
        margin-bottom: 3rem;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 22, 17, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem 2rem;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.open {
        display: block;
        animation: slideDown 0.3s ease-out forwards;
    }

    .nav-menu>ul {
        flex-direction: column;
        gap: 1.25rem;
    }

    .btn-admin {
        padding: 0.4rem 0.9rem;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .header-logo {
        height: 38px;
        /* Enlarged by 10% */
    }
}

@media (max-width: 576px) {
    .projects-masonry-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .masonry-item {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 280px !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   11. MAIN FOOTER & LOCAL SEO STYLES
   ========================================================================== */
.main-footer {
    background-image: linear-gradient(rgba(12, 14, 11, 0.93), rgba(12, 14, 11, 0.96)), url('assets/wood_logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 6rem 2rem 2rem 2rem;
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Brand Section - Wooden Logo */
.footer-brand-img {
    width: 100%;
    max-width: 300px;
    display: block;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.65));
    transition: transform var(--transition-normal);
}

.footer-brand-img:hover {
    transform: scale(1.03) rotate(-1deg);
}

/* Titles */
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-accent);
}

/* Links List */
.footer-links,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Contact List */
.footer-contact-list li {
    display: flex;
    gap: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--color-accent);
    font-size: 1rem;
    margin-top: 0.15rem;
}

.footer-contact-list a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
    color: var(--color-accent);
}

/* SEO Tags */
.seo-areas-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.seo-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.seo-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-light);
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
    cursor: default;
}

.seo-tag:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
    color: var(--color-accent);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 5rem;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text,
.footer-legal-notice {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   12. ADMIN PORTAL DASHBOARD & CONTROL BAR STYLES
   ========================================================================== */
.admin-control-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #0c0e0b;
    border-bottom: 2px solid var(--color-accent);
    color: #ffffff;
    z-index: 1100;
    /* stays above header */
    display: none;
    /* hidden until logged in */
    font-family: var(--font-heading);
}

body.admin-logged-in .admin-control-bar {
    display: block;
}

body.admin-logged-in .main-header {
    top: 45px;
    /* push down header when logged in */
}

body.admin-logged-in .hero-section {
    padding-top: calc(var(--header-height, 80px) + 45px);
}

.admin-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.admin-status-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop Admin Button in Header */
.header-actions {
    display: block;
}

/* Mobile Admin Button in Nav Menu */
.mobile-admin-item {
    display: none;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.mobile-admin-btn {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.admin-bar-actions {
    display: flex;
    gap: 1.25rem;
}

.btn-admin-bar {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--transition-fast);
    padding: 0.25rem 0.5rem;
}

.btn-admin-bar:hover {
    color: var(--color-accent);
}

.btn-admin-bar.btn-logout:hover {
    color: #ef4444;
    /* red logout hover */
}

/* Floating Delete Button on Gallery Items */
.gallery-item-card {
    position: relative;
}

.admin-delete-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.95);
    /* solid red */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.05rem;
    display: none;
    /* hidden by default */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.admin-logged-in .admin-delete-btn {
    display: flex;
    /* visible to logged-in admins */
}

.admin-delete-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    body.admin-logged-in .main-header {
        top: 0;
        /* Keep header sticky on mobile, admin bar floats relative */
    }

    .admin-control-bar {
        position: relative;
        height: auto;
        padding: 0.5rem 0;
    }

    .admin-bar-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    /* Hide desktop admin button and show mobile one */
    .header-actions {
        display: none !important;
    }

    .mobile-admin-item {
        display: block;
    }
}