/* ==========================================
   1. VARIABLES & RESET
   ========================================== */
:root {
    --bg-dark: #151412;
    --bg-card: #1f1d1a;
    --gold-primary: #d4af40;
    --gold-hover: #f3e5ab;
    --text-light: #fffaf0;
    --text-muted: #d0c6b4;
    --border-color: rgba(212, 175, 64, 0.28);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #1b1915 0%, #151412 45%, #1a1814 100%);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   2. TYPOGRAPHY & REUSABLE COMPONENTS
   ========================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 1px;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.btn-gold {
    display: inline-block;
    padding: 15px 32px;
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold-primary);
    margin: 15px auto 0;
}

/* ==========================================
   3. HEADER & NAVIGATION BAR (WITH TOP BAR)
   ========================================== */
.header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Top Utility Bar */
.top-bar {
    background-color: #11100e;
    border-bottom: 1px solid rgba(212, 175, 64, 0.16);
    padding: 8px 5%;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 25px;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.top-bar-contact i {
    color: var(--gold-primary);
    margin-right: 6px;
}

.top-bar-socials {
    display: flex;
    gap: 12px;
}

.top-bar-socials a {
    width: 26px;
    height: 26px;
    background-color: transparent;
    border: 1px solid rgba(212, 175, 64, 0.28);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-socials a.fb i,
.top-bar-socials a.tw i,
.top-bar-socials a.ig i,
.top-bar-socials a.ln i { color: var(--gold-primary); }

.top-bar-socials a:hover {
    transform: translateY(-2px);
    background: var(--gold-primary);
    box-shadow: 0 4px 10px rgba(212, 175, 64, 0.2);
}

.top-bar-socials a:hover i {
    color: #080808;
}

/* Main Navbar Layout */
.navbar {
    background-color: rgba(18, 17, 15, 0.94);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    padding: 12px clamp(24px, 3.5vw, 54px);
    max-width: 1560px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
    width: 278px;
    min-width: 238px;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 2.6px;
    flex-shrink: 0;
    text-align: left;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 64, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #151412;
    background: var(--gold-primary);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-kicker {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-main {
    display: block;
    white-space: nowrap;
}

.nav-center-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(14px, 1.45vw, 26px);
    width: 100%;
    justify-content: center;
}

.nav-links a {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.55px;
    font-weight: 600;
    color: #f7f3ea;
    white-space: nowrap;
}

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

/* Right Menu Action Elements */
.nav-right-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 230px;
    flex-shrink: 0;
}

.nav-call-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(212, 175, 64, 0.38);
    background: rgba(212, 175, 64, 0.08);
}

.nav-call-icon-box {
    position: relative;
    width: 30px;
    height: 30px;
    border: none;
    color: #151412;
    background: var(--gold-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-call-icon-box .fa-comment-dots {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 0.75rem;
    color: #3b82f6;
}

.nav-call-text {
    display: flex;
    flex-direction: column;
}

.nav-call-label {
    font-size: 0.58rem;
    color: var(--text-muted);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.nav-call-number {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-call-widget:hover .nav-call-number {
    color: var(--gold-primary);
}

.nav-divider {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-search-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 64, 0.3);
    color: var(--gold-primary);
    width: 40px;
    height: 40px;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.nav-search-btn:hover {
    background: var(--gold-primary);
    color: #151412;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 64, 0.36);
    flex: 0 0 42px;
    z-index: 1200;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--gold-primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================
   4. FLOATING UTILITIES
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 999;
    font-size: 1.8rem;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   5. FOOTER
   ========================================== */
footer {
    background-color: #171511;
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer p {
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-creds {
    color: var(--gold-primary);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* ==========================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .nav-center-wrapper { gap: 20px; }
    .nav-links { gap: 18px; }
    .logo { min-width: 205px; width: 220px; font-size: 1.05rem; }
    .logo-mark { width: 38px; height: 38px; }
    .nav-call-label { display: none; }
}

@media (max-width: 1240px) {
    .nav-container {
        gap: 16px;
        padding-left: 26px;
        padding-right: 26px;
    }

    .logo {
        width: 228px;
        min-width: 210px;
        font-size: 1.02rem;
        letter-spacing: 2.1px;
    }

    .logo-kicker {
        font-size: 0.46rem;
        letter-spacing: 1.6px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a,
    .dropdown-label {
        font-size: 0.64rem;
        letter-spacing: 1.25px;
    }

    .nav-right-actions {
        min-width: 176px;
        gap: 10px;
    }

    .nav-call-widget {
        padding: 8px 10px;
    }

    .nav-call-text {
        display: none;
    }

    .nav-divider {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-center-wrapper { gap: 18px; }
    .nav-links { gap: 12px; }
    .logo { min-width: 198px; width: 208px; font-size: 0.98rem; }
    .logo-mark { width: 36px; height: 36px; font-size: 0.64rem; }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-container {
        padding: 10px 14px;
        gap: 10px;
        min-height: 66px;
    }
    
    .nav-toggle {
        display: flex;
        order: 3;
    }

    .nav-center-wrapper {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(22, 20, 17, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 0 20px;
        text-align: center;
        gap: 25px;
        max-height: 0;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    }

    .nav-center-wrapper.active {
        max-height: calc(100vh - 66px);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 30px 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 25px;
    }

    .logo {
        min-width: 0;
        width: auto;
        max-width: calc(100vw - 128px);
        overflow: hidden;
        text-align: left;
        font-size: clamp(0.92rem, 4vw, 1.12rem);
        letter-spacing: 1.8px;
    }

    .logo-copy {
        min-width: 0;
    }

    .logo-main,
    .logo-kicker {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-right-actions {
        order: 2;
        margin-left: auto;
        margin-right: 0;
        gap: 10px;
        min-width: auto;
        flex-shrink: 0;
    }

    .nav-call-widget {
        padding: 7px;
    }

    .nav-search-btn {
        padding: 0;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-parent { justify-content: center; }

    .container {
        padding: 80px 0;
    }

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

@media (max-width: 640px) {
    .nav-call-widget,
    .nav-divider {
        display: none;
    }

    .logo {
        max-width: calc(100vw - 118px);
    }
}

@media (max-width: 480px) {
    .nav-call-widget {
        display: none;
    }

    .nav-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo-main {
        font-size: 0.95rem;
        letter-spacing: 1.4px;
    }

    .logo-kicker {
        display: none;
    }
}
/* ==========================================
   7. HOST PAGE (BLAZOR LOADING / ERROR UI)
   ========================================== */
.app-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #181510;
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(229, 215, 184, 0.86)),
        url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=1800') center/cover no-repeat;
    font-family: var(--font-body);
}

.loading-card {
    width: min(520px, 92vw);
    padding: 46px 38px;
    text-align: center;
    background: rgba(255, 250, 240, 0.88);
    border: 1px solid rgba(138, 110, 34, 0.28);
    box-shadow: 0 24px 70px rgba(31, 28, 20, 0.18);
    backdrop-filter: blur(12px);
}

.loading-kicker {
    display: block;
    color: #8a6d1f;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.loading-card h1 {
    color: #151412;
    font-size: clamp(2rem, 6vw, 3.3rem);
    line-height: 1.05;
    margin-bottom: 22px;
}

.loading-line {
    width: 150px;
    height: 2px;
    margin: 0 auto 22px;
    overflow: hidden;
    background: rgba(138, 110, 34, 0.22);
    position: relative;
}

.loading-line::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 42%;
    background: var(--gold-primary);
    animation: loadingSweep 1.4s ease-in-out infinite;
}

.loading-card p {
    color: #5f5748;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    font-weight: 600;
}

@keyframes loadingSweep {
    0% { transform: translateX(-120%); }
    50% { transform: translateX(95%); }
    100% { transform: translateX(260%); }
}

#blazor-error-ui {
    background: #d4af37;
    color: #0f0f11;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: 0.8rem 1.2rem 0.6rem 1.2rem;
    position: fixed;
    width: 100%;
    z-index: 1001;
    font-family: var(--font-body);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ==========================================
   8. HOME PAGE
   ========================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 140px;
    background: linear-gradient(rgba(18,16,13,0.42), rgba(18,16,13,0.7)), url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?q=80&w=2000') no-repeat center center/cover;
}
.hero-content h1 { font-size: 3.8rem; margin-bottom: 25px; line-height: 1.2; color: #fff; }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); max-width: 850px; margin: 0 auto 40px; font-weight: 300; }

.search-mini-widget {
    background: rgba(35, 32, 27, 0.86);
    border: 1px solid var(--border-color);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 15px;
    align-items: center;
}
.widget-select {
    background: #171511;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}
.widget-select:focus { border-color: var(--gold-primary); }

.metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 80px;
}
.metric-item h3 { font-size: 3rem; color: var(--gold-primary); margin-bottom: 5px; }
.metric-item p { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; color: var(--text-muted); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: var(--font-heading);
}
.testimonial-card p { font-style: italic; color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; }
.testimonial-author { font-weight: 600; font-size: 0.85rem; color: var(--gold-primary); text-transform: uppercase; letter-spacing: 1px; }

.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.faq-trigger { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-heading); font-size: 1.2rem; }
.faq-content { max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-muted); font-size: 0.95rem; margin-top: 0; }
.faq-item.active .faq-content { max-height: 200px; margin-top: 15px; }
.faq-icon { transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

@media(max-width: 768px) {
    .hero { padding-top: 110px; }
    .hero-content h1 { font-size: 2.4rem; }
    .search-mini-widget { grid-template-columns: 1fr; }
    .metrics-bar { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================
   9. ABOUT PAGE
   ========================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.profile-frame {
    border: 1px solid var(--gold-primary);
    padding: 15px;
    background: var(--bg-card);
}
.profile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.about-text h3 { color: var(--gold-primary); font-size: 1.8rem; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.value-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; }
.value-card h4 { color: var(--gold-primary); margin-bottom: 10px; font-size: 1.15rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .values-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   10. SERVICES PAGE
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: var(--transition);
}
.service-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); }
.service-num { font-family: var(--font-heading); color: var(--gold-primary); font-size: 1.5rem; margin-bottom: 15px; display: block; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-light); }
.service-card ul { list-style: none; color: var(--text-muted); }
.service-card ul li { margin-bottom: 10px; position: relative; padding-left: 20px; }
.service-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-primary); }

.process-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.pipeline-step { background: #1d1a16; border: 1px solid var(--border-color); padding: 30px; }
.pipeline-step span { font-size: 0.8rem; color: var(--gold-primary); text-transform: uppercase; letter-spacing: 1px; }
.pipeline-step h4 { margin: 10px 0; font-size: 1.1rem; }
.pipeline-step p { color: var(--text-muted); font-size: 0.85rem; }

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

/* ==========================================
   11. PORTFOLIO PAGE
   ========================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.developer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}
.dev-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-light);
    transition: var(--transition);
}
.dev-box:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.dev-box span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 8px;
    letter-spacing: 1px;
}
.dev-box:hover span { color: var(--bg-dark); opacity: 0.8; }

/* ==========================================
   12. CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.contact-info h3 { color: var(--gold-primary); font-size: 1.6rem; margin-bottom: 25px; }
.info-item { margin-bottom: 25px; }
.info-item label { display: block; color: var(--gold-primary); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.5px; margin-bottom: 5px; }
.info-item p { font-size: 1.1rem; color: var(--text-light); }

.contact-form { background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; color: var(--text-muted); }
.form-control {
    width: 100%;
    background: #171511;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gold-primary); }

.map-container { width: 100%; height: 350px; border: 1px solid var(--border-color); background-color: var(--bg-card); }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================
   13. DROPDOWN NAVIGATION
   Desktop: pure CSS :hover reveals the dropdown; the JS "open" state has
   no visual effect here, so hover and click never fight each other.
   Mobile: no hover available on touch, so the caret button's "open"
   state becomes the only trigger, acting as an accordion.
   ========================================== */
.has-dropdown { position: relative; }

.dropdown-parent {
    display: flex;
    align-items: center;
}

.dropdown-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.55px;
    font-weight: 600;
    color: #f7f3ea;
}
.dropdown-label:hover, .dropdown-label.active { color: var(--gold-primary); }

.dropdown-caret-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    padding: 4px 0 4px 8px;
    font-size: 0.65rem;
    line-height: 1;
}
.dropdown-caret-btn i { display: block; transition: transform 0.25s ease; }
.dropdown-caret-btn i.rotated { transform: rotate(180deg); }

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    min-width: 260px;
    padding: 14px 0;
    background: rgba(23, 21, 18, 0.98);
    border: 1px solid rgba(212, 175, 64, 0.32);
    box-shadow: 0 24px 44px rgba(0,0,0,0.55);
    z-index: 1100;

    /* Always in the layout — visibility controlled by opacity/transform so
       there's no abrupt display:none/block jump. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown-menu::before {
    content: '';
    display: block;
    width: 42px;
    height: 1px;
    background: var(--gold-primary);
    margin: 0 auto 8px;
}

/* Small invisible bridge so the mouse can travel from the label down into
   the menu without the gap closing the dropdown early. */
.has-dropdown::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 15px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 11px 26px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.45px;
    color: #f7f3ea;
    white-space: nowrap;
    text-align: center;
}
.dropdown-menu li a:hover, .dropdown-menu li a.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 64, 0.08);
}

@media (max-width: 768px) {
    .dropdown-caret-btn { padding: 4px 8px; }

    /* Disable the desktop hover/fade behavior entirely; the menu becomes a
       static accordion driven only by the .open class (click state). */
    .dropdown-menu,
    .has-dropdown:hover .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu.open,
    .has-dropdown:hover .dropdown-menu.open {
        max-height: 220px;
        padding: 10px 0;
    }
    .has-dropdown::after { display: none; }
}


/* ==========================================
   14. HERO SLIDER (full-bleed, auto-rotating)
   ========================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #171511;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 132px;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-content { max-width: 900px; }
.hero-eyebrow {
    display: inline-block;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.hero-slide-content h1 { font-size: 3.4rem; margin-bottom: 30px; line-height: 1.25; color: #fff; }

.hero-slide-content h1 {
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: var(--gold-primary); }

@media (max-width: 768px) {
    .hero-slide { padding-top: 110px; }
    .hero-slide-content h1 { font-size: 2.2rem; }
}

/* ==========================================
   15. ABOUT TEASER (home page)
   ========================================== */
.about-teaser { padding-top: 100px; }
.about-teaser-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-teaser-text .eyebrow {
    display: block;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}
.about-teaser-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-teaser-text p { color: var(--text-muted); margin-bottom: 20px; }
.about-teaser-image {
    border: 1px solid var(--gold-primary);
    padding: 12px;
    background: var(--bg-card);
}
.about-teaser-image img { width: 100%; height: auto; display: block; object-fit: cover; }

@media (max-width: 768px) {
    .about-teaser-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================
   16. STATS BAND (count-up numbers)
   ========================================== */
.stats-band {
    background: #1d1a16;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 100px;
    padding: 20px 0;
}
.stats-band-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 60px 0 !important;
}
.stat-counter h3 { font-size: 2.8rem; color: var(--gold-primary); margin-bottom: 8px; }
.stat-counter p { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.5px; color: var(--text-muted); }

@media (max-width: 768px) {
    .stats-band-inner { grid-template-columns: 1fr 1fr; }
}

/* ==========================================
   17. LISTING / DEVELOPER CARDS (Altman property-card pattern)
   ========================================== */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 100px;
}
.listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}
.listing-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); }
.listing-card-media {
    height: 190px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    background-size: cover;
    background-position: center;
}
.listing-badge {
    background: var(--gold-primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 5px 12px;
}
.listing-card-body { padding: 22px 20px; }
.listing-card-body h4 { font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 8px; }
.listing-card-body p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.listing-link { color: var(--gold-primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================
   18. RECOGNITION STRIP (media/press equivalent)
   ========================================== */
.recognition-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0;
}
.recognition-strip-inner {
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.recognition-label {
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-right: 20px;
}
.recognition-badges { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }
.recognition-badge {
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 22px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   19. CTA BANNER (pre-footer, Altman "Get In Touch" pattern)
   ========================================== */
.cta-banner {
    background: linear-gradient(rgba(18,16,13,0.58), rgba(18,16,13,0.76)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2000') no-repeat center center/cover;
    padding: 100px 5%;
    text-align: center;
}
.cta-banner-inner { padding: 0 !important; }
.cta-banner h2 { font-size: 2.2rem; margin-bottom: 15px; color: #fff; }
.cta-banner p { color: var(--text-muted); margin-bottom: 30px; }

/* ==========================================
   20. OFFICE CARDS (About page)
   ========================================== */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.office-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; }
.office-tag {
    display: inline-block;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.office-card h4 { font-size: 1.3rem; margin-bottom: 12px; }
.office-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.office-phone i { color: var(--gold-primary); margin-right: 8px; }

/* ==========================================
   21. FOOTER GRID (multi-column, Altman-style)
   ========================================== */
.site-footer { padding-top: 70px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    text-align: left;
    padding-bottom: 50px !important;
    padding-top: 0 !important;
}
.footer-col h5 {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    font-family: var(--font-heading);
}
.footer-brand .logo { display: block; margin-bottom: 15px; }
.footer-col p { font-size: 0.85rem; margin-bottom: 10px; }
.footer-col p i { color: var(--gold-primary); margin-right: 8px; }
.footer-col .footer-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.footer-col .footer-links a { font-size: 0.85rem; }
.footer-col .footer-links a:hover { color: var(--gold-primary); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 5%;
    text-align: center;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   22. PAGE INTRO / SECTION CTA LINK
   ========================================== */
.page-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: -40px auto 50px;
    font-size: 1rem;
}
.section-cta-link {
    text-align: center;
    margin: -20px 0 80px;
}
.section-cta-link a {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.section-cta-link a:hover { color: var(--gold-hover); }

/* ==========================================
   23. TEAM GRID
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}
.team-grid-preview { margin-bottom: 0; }
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); }
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.team-role {
    display: block;
    color: var(--gold-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.team-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 15px; }
.team-socials { display: flex; justify-content: center; gap: 14px; }
.team-socials a { color: var(--text-muted); font-size: 0.9rem; }
.team-socials a:hover { color: var(--gold-primary); }

/* ==========================================
   24. VIDEO / VLOG GRID
   ========================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: block;
    transition: var(--transition);
}
.video-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); }
.video-thumb {
    height: 170px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(15,15,17,0.95));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-play {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.9);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.video-duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
}
.video-body { padding: 18px 20px; }
.video-body h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--text-light); }
.video-body span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
