/* ==============================================================================
   KRISHNA CONSTRUCTION — ULTRA-PREMIUM ARCHITECTURAL DESIGN SYSTEM & MOTION
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Oswald:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
    --navy: #14243B;
    --navy-dark: #000000;
    --navy-light: #1D324F;
    --navy-overlay: rgba(0, 0, 0, 0.75);
    --gold: #B9975B;
    --gold-light: #D4B275;
    --gold-muted: rgba(185, 151, 91, 0.16);
    --gold-border: rgba(185, 151, 91, 0.32);
    --ivory: #F6F2EA;
    --ivory-light: #FBF9F5;
    --ivory-card: #EFE9DE;
    --white: #FFFFFF;
    --charcoal: #000000;
    --charcoal-light: #0A0A0A;
    --dark-black: #000000;
    --text-muted: #555555;
    --border-light: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(255, 255, 255, 0.12);

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 200ms var(--ease-out);
    --transition-normal: 350ms var(--ease-out);
    --transition-slow: 650ms var(--ease-out);
    --transition-reveal: 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    background-color: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: #000000;
}

p {
    margin-bottom: 1.25rem;
    color: var(--charcoal-light);
    font-size: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-gold {
    color: var(--gold) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.text-ivory {
    color: var(--ivory) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-navy-dark {
    background-color: var(--navy-dark) !important;
}

.bg-ivory {
    background-color: var(--ivory) !important;
}

.bg-ivory-light {
    background-color: var(--ivory-light) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* Editorial Eyebrow Tag */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background-color: var(--gold);
}

.eyebrow.eyebrow-center::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background-color: var(--gold);
}

/* Layout Containers */
.container-custom {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.container-narrow {
    max-width: 980px;
}

.container-wide {
    max-width: 1540px;
}

.section-spacing {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.section-spacing-sm {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Section Header Editorial Style */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.08rem;
    max-width: 640px;
    line-height: 1.75;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ==============================================================================
   NAVIGATION (PREMIUM RESPONSIVE MOTION)
   ============================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background-color 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.transparent-nav {
    background-color: transparent;
}

.site-header.scrolled {
    background-color: rgba(20, 36, 59, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 0;
    box-shadow: 0 10px 30px rgba(11, 21, 35, 0.35);
    border-bottom: 1px solid rgba(185, 151, 91, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Identity */
.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.brand-link:hover .brand-logo-img {
    transform: scale(1.02);
    opacity: 0.95;
}


/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link i.dropdown-caret {
    font-size: 0.65rem;
    transition: transform 0.25s var(--ease-out);
}

.nav-item:hover .nav-link i.dropdown-caret {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.28s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

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

/* Dropdown Menus */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--navy);
    border: 1px solid var(--gold-border);
    border-radius: 4px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    padding: 1.25rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out), visibility 0.24s;
    z-index: 1010;
}

.dropdown-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--navy);
    border-left: 1px solid var(--gold-border);
    border-top: 1px solid var(--gold-border);
}

.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Mega Dropdown for Services */
.dropdown-mega {
    min-width: 680px;
    padding: 1.8rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.dropdown-item-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 4px;
    background: transparent;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.dropdown-item-card:hover {
    background: rgba(185, 151, 91, 0.1);
    transform: translateX(4px);
}

.dropdown-item-icon {
    font-size: 1.25rem;
    color: var(--gold);
    line-height: 1;
    margin-top: 2px;
}

.dropdown-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white);
    text-transform: uppercase;
}

.dropdown-item-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-top: 2px;
}

/* Simple Dropdown list */
.dropdown-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dropdown-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.dropdown-list a:hover {
    background: rgba(185, 151, 91, 0.12);
    color: var(--gold);
    padding-left: 1.1rem;
}

/* Nav Actions (CTA Button) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ==============================================================================
   BUTTON DESIGN SYSTEM
   ============================================================================== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: var(--navy);
    color: var(--white);
    border: 1px solid var(--gold);
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--gold);
    transition: width 240ms var(--ease-out);
    z-index: -1;
}

.btn-primary-custom:hover {
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(185, 151, 91, 0.25);
    transform: translateY(-2px);
}

.btn-primary-custom:hover::before {
    width: 100%;
}

.btn-primary-custom i {
    transition: transform 200ms var(--ease-out);
}

.btn-primary-custom:hover i {
    transform: translateX(4px);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary-custom:hover {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-gold-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-gold-custom:hover {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-secondary-dark {
    color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary-dark:hover {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ==============================================================================
   CINEMATIC ARCHITECTURAL HERO
   ============================================================================== */
.hero-architectural {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.hero-background-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

@keyframes heroImgReveal {
    0% { opacity: 0; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1.00); }
}

@keyframes heroContentReveal {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero-overlay-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(20, 36, 59, 0.65) 50%,
        rgba(20, 36, 59, 0.45) 100%
    );
    z-index: 2;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(185, 151, 91, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(185, 151, 91, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding-top: 7rem;
    padding-bottom: 5rem;
    max-width: 860px;
}

/* Hero Staggered Animation Sequence (Pure CSS Keyframes) */
.hero-eyebrow {
    animation: heroContentReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-title-line-1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    letter-spacing: 0.02em;
    color: var(--white);
    display: block;
    line-height: 1.05;
    animation: heroContentReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-title-line-2 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    letter-spacing: 0.02em;
    display: block;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: heroContentReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(246, 242, 234, 0.92);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 2.2rem;
    animation: heroContentReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    animation: heroContentReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* Hero Gentle Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    opacity: 0;
    transition: opacity 1s var(--ease-out) 1.2s;
}

.hero-architectural.loaded .hero-scroll-indicator {
    opacity: 1;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0.2; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ==============================================================================
   SCROLL-TRIGGERED MOTION UTILITIES
   ============================================================================== */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-reveal), transform var(--transition-reveal);
    will-change: opacity, transform;
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* Architectural Image Reveal Mask - Immediate display */
.image-mask-reveal {
    position: relative;
    overflow: hidden;
    clip-path: none;
}

.image-mask-reveal.revealed {
    clip-path: none;
}

.image-mask-reveal img {
    transform: none;
}

.image-mask-reveal.revealed img {
    transform: none;
}

/* ==============================================================================
   METRICS & VERIFIED COMPANY STATISTICS
   ============================================================================== */
.metrics-section {
    background-color: var(--navy);
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
    padding: 3.5rem 0;
    color: var(--white);
}

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

.metric-card {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1.5rem;
}

.metric-card:last-child {
    border-right: none;
}

.metric-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.metric-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
}

.metric-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
}

.metric-sublabel {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ==============================================================================
   INTERACTIVE SERVICES SECTIONS
   ============================================================================== */
.services-section {
    background-color: var(--ivory);
}

.services-editorial-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.service-editorial-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.service-editorial-row.row-reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.service-editorial-row.row-reverse .service-image-col {
    order: 2;
}

.service-editorial-row.row-reverse .service-info-col {
    order: 1;
}

.service-image-col {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(20, 36, 59, 0.08);
}

.service-image-link {
    display: block;
    overflow: hidden;
    position: relative;
}

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

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

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 36, 59, 0.45) 0%, transparent 60%);
    opacity: 0.6;
    transition: opacity 0.4s;
}

.service-image-link:hover .service-image-overlay {
    opacity: 0.85;
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--navy);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    text-transform: uppercase;
}

.service-info-col h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.service-info-col:hover h3 {
    color: var(--navy-light);
}

.service-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.service-features-list {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.service-features-list li {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features-list li i {
    color: var(--gold);
    font-size: 0.9rem;
}

.service-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    padding-bottom: 4px;
    border-bottom: 1.5px solid var(--gold);
    transition: var(--transition-fast);
}

.service-action-link i {
    color: var(--gold);
    transition: transform 0.25s var(--ease-out);
}

.service-action-link:hover {
    color: var(--gold);
    border-color: var(--navy);
}

.service-action-link:hover i {
    transform: translateX(5px);
}

/* ==============================================================================
   CINEMATIC PROJECTS PORTFOLIO (EDITORIAL ARCHITECTURE MAGAZINE)
   ============================================================================== */
.portfolio-section {
    background-color: var(--navy);
    color: var(--white);
}

.portfolio-filter-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.55rem 1.4rem;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* Asymmetrical Magazine Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background-color: var(--navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-border);
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-12 { grid-column: span 12; }

.portfolio-thumb-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000000;
}

.card-tall .portfolio-thumb-wrap {
    height: 520px;
}

.card-regular .portfolio-thumb-wrap {
    height: 380px;
}

.portfolio-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    border-color: var(--gold);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease-out);
    filter: brightness(0.97);
}

.portfolio-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.02);
}

.portfolio-card-zoom-indicator {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    pointer-events: none;
    z-index: 5;
}

.portfolio-card:hover .portfolio-card-zoom-indicator {
    opacity: 1;
    transform: scale(1);
}

/* ==============================================================================
   CONSTRUCTION PROCESS STORYTELLING (01 PLAN -> 02 DESIGN -> 03 BUILD -> 04 DELIVER)
   ============================================================================== */
.process-section {
    background-color: var(--ivory-light);
    position: relative;
}

.process-timeline {
    position: relative;
    margin-top: 4rem;
}

.process-connecting-line {
    position: absolute;
    top: 45px;
    left: 5%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), var(--navy));
    z-index: 1;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-timeline.line-revealed .process-connecting-line {
    width: 90%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-step-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(20, 36, 59, 0.05);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
    position: relative;
}

.process-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 36, 59, 0.12);
    border-color: var(--gold-border);
}

.process-number-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--gold);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-step-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}

.process-step-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

.process-step-features {
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid var(--border-light);
    padding-top: 0.85rem;
}

.process-step-features li::before {
    content: '— ';
    color: var(--gold);
}

/* ==============================================================================
   SUBTLE PARALLAX HIGHLIGHT BANNER
   ============================================================================== */
.parallax-banner {
    position: relative;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-dark);
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    opacity: 0.55;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 2rem;
    color: var(--white);
}

.parallax-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--white);
    margin-bottom: 1.25rem;
}

.parallax-content p {
    font-size: 1.15rem;
    color: rgba(246, 242, 234, 0.9);
    margin-bottom: 2rem;
}

/* ==============================================================================
   LEADERSHIP TEAM SECTION
   ============================================================================== */
.team-section {
    background-color: var(--ivory);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(20, 36, 59, 0.1);
    border-color: var(--gold-border);
}

.team-portrait-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background-color: var(--navy);
}

.team-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s var(--ease-out);
}

.team-card:hover .team-portrait-wrap img {
    transform: scale(1.04);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.team-qual {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--charcoal-light);
    margin-bottom: 0;
}

/* ==============================================================================
   INTERACTIVE CONSULTATION & CONTACT FORM
   ============================================================================== */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: start;
}

.contact-info-col h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 1.25rem;
}

.contact-methods-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background-color: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid var(--gold-border);
}

.contact-method-content h5 {
    font-size: 1rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.contact-method-content p {
    font-size: 0.92rem;
    color: var(--charcoal-light);
    margin-bottom: 0;
}

.contact-method-content a {
    color: var(--navy);
    font-weight: 600;
    transition: color 0.2s;
}

.contact-method-content a:hover {
    color: var(--gold);
}

/* Premium Form Design */
.consultation-form-card {
    background-color: var(--ivory-light);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(20, 36, 59, 0.06);
}

.consultation-form-card h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.consultation-form-card > p {
    font-size: 0.92rem;
    margin-bottom: 2rem;
}

.form-group-custom {
    margin-bottom: 1.5rem;
}

.form-label-custom {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.45rem;
}

.form-control-custom {
    width: 100%;
    background-color: var(--white);
    border: 1.5px solid rgba(20, 36, 59, 0.15);
    border-radius: 2px;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    outline: none;
    transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.form-control-custom:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(185, 151, 91, 0.18);
}

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

.form-feedback {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-feedback.error {
    display: block;
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* ==============================================================================
   RESPONSIVE EDITORIAL FOOTER
   ============================================================================== */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    border-top: 2px solid var(--gold);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand-col p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 340px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links-list a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}


/* ==============================================================================
   PROJECT SHOWCASE MODAL
   ============================================================================== */
.project-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 21, 35, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.project-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-container {
    background-color: var(--navy);
    border: 1px solid var(--gold-border);
    border-radius: 4px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s var(--ease-out);
}

.project-modal-backdrop.active .project-modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--gold);
    color: var(--navy);
}

.modal-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-body {
    padding: 2.5rem;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 3px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-spec-item {
    font-size: 0.85rem;
}

.modal-spec-label {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.modal-spec-val {
    font-size: 1.05rem;
    font-family: var(--font-heading);
    margin-top: 2px;
}

/* ==============================================================================
   MOBILE DRAWER & RESPONSIVE BREAKPOINTS
   ============================================================================== */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--navy-dark);
    z-index: 1500;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
    transition: right 0.4s var(--ease-out);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    align-self: flex-end;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--white);
    display: block;
    text-transform: uppercase;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--gold);
}

.mobile-floating-bar {
    display: none;
}

/* Responsive Queries */
@media (max-width: 1080px) {
    .nav-menu {
        display: none;
    }
    .d-none-mobile {
        display: none !important;
    }
    .mobile-toggle {
        display: block;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .metric-card {
        border-right: none;
    }
    .service-editorial-row,
    .service-editorial-row.row-reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .service-editorial-row.row-reverse .service-image-col {
        order: 1;
    }
    .service-editorial-row.row-reverse .service-info-col {
        order: 2;
    }
    .process-connecting-line {
        display: none;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .col-span-8, .col-span-4, .col-span-6 {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 64px; /* Space for bottom floating bar */
    }

    .container-custom {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-spacing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* Cinematic Hero on Mobile */
    .hero-content {
        padding-top: 6rem;
        padding-bottom: 3.5rem;
    }
    .hero-title-line-1,
    .hero-title-line-2 {
        font-size: clamp(2.2rem, 8.5vw, 3.4rem);
        letter-spacing: 0.01em;
    }
    .hero-description {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1.8rem;
    }
    .hero-scroll-indicator {
        display: none;
    }

    /* Built Works Gallery Mobile Stacking */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .col-span-8, .col-span-4, .col-span-6, .col-span-12 {
        grid-column: span 1 !important;
    }
    .card-tall .portfolio-thumb-wrap,
    .card-regular .portfolio-thumb-wrap {
        height: clamp(260px, 64vw, 360px);
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .consultation-form-card {
        padding: 1.8rem;
    }

    .service-features-list {
        grid-template-columns: 1fr;
    }

    .modal-specs-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Floating Bar */
    .mobile-floating-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--gold-border);
        z-index: 1200;
        padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
        gap: 0.5rem;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
    }

    .mobile-float-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        padding: 0.65rem 0.4rem;
        font-family: var(--font-heading);
        font-size: 0.74rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border-radius: 2px;
        text-decoration: none;
        transition: transform 0.2s, background-color 0.2s;
        min-height: 44px;
        white-space: nowrap;
    }

    .mobile-float-call {
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .mobile-float-whatsapp {
        background: rgba(37, 211, 102, 0.16);
        color: #25d366;
        border: 1px solid rgba(37, 211, 102, 0.45);
    }

    .mobile-float-consult {
        background: var(--gold);
        color: var(--navy);
        border: 1px solid var(--gold);
    }

    .mobile-float-btn:active {
        transform: scale(0.97);
    }
}

/* Small Smartphone Viewport (iPhone SE, Galaxy, Pixel < 480px) */
@media (max-width: 480px) {
    .container-custom {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-spacing {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .hero-actions .btn-primary-custom,
    .hero-actions .btn-secondary-custom {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .site-header {
        padding: 0.75rem 0;
    }

    .brand-logo-img {
        height: 38px;
        width: auto;
    }

    .mobile-nav-drawer {
        width: 88%;
        max-width: 320px;
        padding: 2rem 1.25rem;
    }

    .mobile-menu-links {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .mobile-menu-links a {
        font-size: 1.15rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .consultation-form-card {
        padding: 1.4rem 1.1rem;
    }

    .form-control-custom {
        font-size: 16px !important; /* Critical to prevent iOS auto-zoom */
        padding: 0.8rem 0.85rem;
    }

    .metric-number-wrapper {
        font-size: 3rem;
    }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-background-image {
        transform: none !important;
        opacity: 1 !important;
    }
    .hero-eyebrow,
    .hero-title-line-1,
    .hero-title-line-2,
    .hero-description,
    .hero-actions,
    .hero-scroll-indicator,
    .reveal-init {
        opacity: 1 !important;
        transform: none !important;
    }
    .image-mask-reveal {
        clip-path: none !important;
    }
    .image-mask-reveal img {
        transform: none !important;
    }
}
