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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: color-mix(in srgb, var(--charcoal), white 10%);
    --charcoal-mid: color-mix(in srgb, var(--charcoal), white 20%);
    --gold: #c9a96e;
    --gold-light: color-mix(in srgb, var(--gold), white 20%);
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --white: #ffffff;
    --text-muted: #888888;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --hero-title-size: 72px;
    --hero-title-color: #ffffff;
    --hero-subtitle-size: 18px;
    --hero-subtitle-color: #f5f0e8;
    --section-title-size: 40px;
    --section-title-color: #f5f0e8;
    --section-eyebrow-size: 13px;
    --section-eyebrow-color: #c9a96e;
    --body-size: 16px;
    --body-color: #f5f0e8;
    --navbar-size: 13px;
    --navbar-color: rgba(245, 240, 232, 0.75);
    --footer-title-size: 16px;
    --footer-title-color: #ffffff;
    --card-title-size: 20px;
    --card-title-color: #f5f0e8;
    --stat-number-size: 40px;
    --stat-number-color: #c9a96e;
}

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}


body {
    background-color: var(--charcoal);
    color: var(--body-color);
    font-family: var(--font-sans);
    font-size: var(--body-size);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(26, 26, 26, 0); backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(201, 169, 110, 0.15);
}
.navbar-logo {
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500;
    letter-spacing: 0.08em; color: var(--cream); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    max-width: calc(100% - 60px);
}
.navbar-logo-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cream); }
.navbar-logo .brand-name { color: var(--cream); }
.navbar-logo .brand-dot, .navbar-logo .brand-suffix { color: var(--gold); }
.navbar-nav { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.navbar-nav a {
    color: var(--navbar-color); text-decoration: none;
    font-size: var(--navbar-size); font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.25s ease;
}
.navbar-nav a:hover { color: var(--gold); }
.navbar-actions { display: flex; align-items: center; gap: 1rem; }
.btn-ghost {
    color: rgba(245, 240, 232, 0.8); text-decoration: none;
    font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em;
    padding: 0.5rem 1.25rem; border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 2px; transition: all 0.25s ease;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold {
    color: var(--charcoal); background: var(--gold); text-decoration: none;
    font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
    padding: 0.5rem 1.5rem; border-radius: 2px; transition: all 0.25s ease;
}
.btn-gold:hover { background: var(--gold-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 1001; position: relative; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navbar-nav.active {
    display: flex !important; position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100vh;
    background-color: var(--charcoal, #1a1a1a) !important; flex-direction: column;
    justify-content: flex-start; align-items: center; z-index: 998;
    padding: 6rem 2rem 2rem; gap: 1.5rem; animation: fadeIn 0.3s ease forwards;
    overflow-y: auto;
}
.navbar-nav.active li { width: 100%; text-align: center; }
.mobile-only { display: none; }
.mobile-only.mobile-only-flex { display: flex; flex-direction: column; gap: 1rem; width: 100%; align-items: center; }
.responsive-embed { position: relative; width: 100%; overflow: hidden; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.responsive-embed iframe { width: 100% !important; height: 450px !important; border: 0 !important; }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('/images/hero.png'); background-size: cover; background-position: center; transform: scale(1.05); transition: transform 8s ease; }
.hero-bg.loaded { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,10,0.75) 0%, rgba(26,26,26,0.55) 50%, rgba(10,10,10,0.8) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 2rem; max-width: 900px; animation: fadeInUp 1.2s ease forwards; }
.hero-eyebrow { display: inline-block; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; opacity: 0; animation: fadeInUp 1s ease 0.2s forwards; }
.hero-title { font-family: var(--font-serif); font-size: var(--hero-title-size); font-weight: 400; line-height: 1.1; margin-bottom: 2rem; color: var(--hero-title-color); }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-size: var(--hero-subtitle-size); color: var(--hero-subtitle-color); max-width: 500px; margin-bottom: 3rem; line-height: 1.7; opacity: 0.9; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeInUp 1s ease 0.8s forwards; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold); color: var(--charcoal); text-decoration: none; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.875rem 2rem; border-radius: 2px; transition: all 0.3s ease; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.3); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--cream); text-decoration: none; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.875rem 2rem; border: 1px solid rgba(245,240,232,0.4); border-radius: 2px; transition: all 0.3s ease; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0; animation: fadeIn 1s ease 1.5s forwards; }
.hero-scroll span { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,240,232,0.5); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(201,169,110,0.8), transparent); animation: scrollPulse 2s ease-in-out infinite; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--charcoal-light); border-top: 1px solid rgba(201,169,110,0.15); border-bottom: 1px solid rgba(201,169,110,0.15); padding: 2rem 3rem; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { padding: 1rem; }
.stat-number { font-family: var(--font-serif); font-size: var(--stat-number-size); font-weight: 300; color: var(--stat-number-color); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }

/* ===== SECTIONS COMMON ===== */
section { padding: 6rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: var(--section-eyebrow-size); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--section-eyebrow-color); margin-bottom: 1.25rem; display: block; }
.footer-title { font-size: var(--footer-title-size); font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--footer-title-color); margin-bottom: 1.75rem; }
.section-title { font-family: var(--font-serif); font-size: var(--section-title-size); font-weight: 400; line-height: 1.2; color: var(--section-title-color); }
.section-title em { font-style: italic; color: var(--gold-light); }
.section-divider { width: 48px; height: 1px; background: var(--gold); margin-bottom: 1.5rem; }

/* ===== ABOUT ===== */
.about { background: var(--charcoal); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-text p { color: rgba(245,240,232,0.65); font-weight: 300; line-height: 1.9; margin-bottom: 1.25rem; font-size: 0.9375rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.value-item { padding: 1.5rem; border: 1px solid rgba(201,169,110,0.15); border-radius: 2px; transition: border-color 0.3s ease; }
.value-item:hover { border-color: rgba(201,169,110,0.4); }
.value-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.value-title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; color: var(--gold-light); margin-bottom: 0.25rem; }
.value-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.7; }
.about-image-wrap { position: relative; }
.about-image { width: 100%; height: 520px; object-fit: cover; border-radius: 2px; }
.about-image-frame { position: absolute; top: -1.5rem; right: -1.5rem; bottom: 1.5rem; left: 1.5rem; border: 1px solid rgba(201,169,110,0.3); border-radius: 2px; pointer-events: none; z-index: -1; }

/* ===== SERVICES ===== */
.services { background: var(--charcoal-light); }
.services-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.services-header .section-divider { margin: 0 auto 1.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--charcoal); padding: 3rem 2.5rem; position: relative; overflow: hidden; transition: transform 0.3s ease; cursor: default; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.3s ease; }
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::before { background: var(--gold); }
.service-number { font-family: var(--font-serif); font-size: 4rem; font-weight: 300; color: rgba(201,169,110,0.12); line-height: 1; margin-bottom: 1rem; transition: color 0.3s ease; }
.service-card:hover .service-number { color: rgba(201,169,110,0.25); }
.service-title { font-family: var(--font-serif); font-size: var(--card-title-size); font-weight: 500; color: var(--card-title-color); margin-bottom: 1rem; }
.service-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: gap 0.3s ease; }
.service-link:hover { gap: 0.75rem; }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--charcoal); }
.portfolio-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 1.5rem; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; }
.portfolio-item:first-child { grid-column: span 2; grid-row: span 2; }
.portfolio-image { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform 0.6s ease; display: block; }
.portfolio-item:first-child .portfolio-image { min-height: 520px; }
.portfolio-item:hover .portfolio-image { transform: scale(1.06); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%); opacity: 0; transition: opacity 0.4s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.portfolio-name { font-family: var(--font-serif); font-size: var(--card-title-size); font-weight: 400; color: var(--card-title-color); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--charcoal-light); }
.testimonials-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.testimonials-header .section-divider { margin: 0 auto 1.5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: var(--charcoal); padding: 2.5rem; border-radius: 2px; border: 1px solid rgba(201,169,110,0.1); position: relative; }
.testimonial-card::before { content: '\201C'; font-family: var(--font-serif); font-size: 5rem; color: rgba(201,169,110,0.15); position: absolute; top: 1rem; left: 1.5rem; line-height: 1; }
.testimonial-text { font-family: var(--font-serif); font-size: 1.0625rem; font-style: italic; color: rgba(245,240,232,0.8); line-height: 1.8; margin-bottom: 1.5rem; margin-top: 1rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal); font-weight: 600; flex-shrink: 0; }
.testimonial-meta strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--cream); }
.testimonial-meta span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--charcoal); padding: 6rem 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(201,169,110,0.07) 0%, transparent 70%); }
.cta-section .container { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; color: var(--cream); margin-bottom: 1rem; }
.cta-subtitle { font-size: 1rem; color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 300; }
.cta-actions { display: flex; gap: 1.25rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.btn-cta-whatsapp { display: inline-flex; align-items: center; gap: 0.75rem; background: linear-gradient(135deg, var(--gold) 0%, #b39359 100%); color: var(--charcoal); text-decoration: none; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; padding: 1rem 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-cta-whatsapp:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 25px rgba(201,169,110,0.3); background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%); }
.btn-cta-email { display: inline-flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 1rem 2rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-cta-email:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); color: var(--gold); transform: translateY(-4px) scale(1.02); }

/* ===== FOOTER ===== */
footer { background: #111111; padding: 4rem 3rem 2rem; border-top: 1px solid rgba(201,169,110,0.1); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; color: var(--cream); margin-bottom: 1rem; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }
.footer-heading { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; transition: color 0.25s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copyright { font-size: 0.8125rem; color: rgba(136,136,136,0.6); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== GALLERY ===== */
.gallery-section { padding: 100px 0; background-color: var(--charcoal); }
.gallery-header { text-align: center; margin-bottom: 3.5rem; max-width: 600px; margin-inline: auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; background: var(--charcoal-light); aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-item:hover img { transform: scale(1.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root { --hero-title-size: 60px; --section-title-size: 32px; }
    .navbar { padding: 1.25rem 2rem; background: var(--charcoal, #1a1a1a) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .navbar.scrolled { border-bottom-color: rgba(201, 169, 110, 0.2); }
    .navbar-nav, .navbar-actions { display: none; }
    .hamburger { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-wrap { order: -1; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-item:first-child { grid-column: span 2; grid-row: span 1; }
    .portfolio-item:first-child .portfolio-image { min-height: 320px; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .mobile-only { display: block; width: 100%; }
}
@media (max-width: 768px) {
    :root { --hero-title-size: 44px; --hero-subtitle-size: 16px; --section-title-size: 28px; }
    section { padding: 5rem 1.5rem; }
    .navbar { padding: 1rem 1.5rem; }
    .hero {
        height: calc(100vh - 80px);
        min-height: 500px;
        align-items: flex-start;
        padding-top: 80px;
        padding-bottom: 20px;
        overflow-y: auto;
    }
    .hero-content { padding: 1.5rem; padding-top: 1rem; }
    .hero-title { margin-bottom: 1rem; }
    .hero-subtitle { margin-bottom: 2rem; }
    .hero-scroll { display: none; }
    .services-grid, .testimonials-grid, .portfolio-grid, .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
    .portfolio-item:first-child { grid-column: span 1; }
    .portfolio-item:first-child .portfolio-image { min-height: 250px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .about-values { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column !important; width: 100%; max-width: 400px; margin-inline: auto; }
    .btn-cta-whatsapp, .btn-cta-email { width: 100% !important; justify-content: center !important; }
    .service-number { font-size: 3rem; opacity: 0.1; }
    .service-card { padding: 2.5rem 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
    .gallery-item { aspect-ratio: 1/1; }
    .testimonial-card { padding: 1.5rem; }
    .testimonial-card::before { font-size: 3rem; top: 0.5rem; left: 1rem; }
    .testimonial-text { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
    .responsive-embed iframe { height: 300px !important; }
}
@media (max-width: 480px) {
    :root { --hero-title-size: 36px; }
    .stat-number { font-size: 32px; }
    .navbar-logo { font-size: 1.25rem; }
}

/* ===== DROPDOWN MENU ===== */
[x-cloak] { display: none !important; }

.has-dropdown {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.dropdown-toggle.active {
    color: var(--gold);
}
.chevron-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}
.rotate-180 {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 4px;
    padding: 0.75rem 0;
    min-width: 200px;
    list-style: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 1000;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(201, 169, 110, 0.2);
}
.dropdown-menu li {
    width: 100%;
}
.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dropdown-menu li:last-child a {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background: rgba(201, 169, 110, 0.1);
    color: var(--gold);
}

/* Mobile Dropdown (Accordion) */
@media (max-width: 1024px) {
    .has-dropdown { width: 100%; }
    .dropdown-toggle { 
        justify-content: center; 
        padding: 0.75rem; 
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        margin: 0;
        padding: 0;
        box-shadow: none;
        width: 100%;
        backdrop-filter: none;
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu a {
        padding: 1rem 1.5rem;
        background: rgba(0,0,0,0.2);
        font-size: 0.7rem;
        opacity: 0.8;
    }
}

/* ===== BOTTOM NAVIGATION (MOBILE APPS FEEL) ===== */
.bottom-nav-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;            /* Lebarnya pas, menyisakan 12% ruang kosong kiri-kanan layar */
    max-width: 380px;      /* Cukup untuk menampung 5 tombol menu agar tidak terlalu melar */
    z-index: 9999;
    display: none;
    pointer-events: none;
}


@media (max-width: 1024px) {
    .bottom-nav-container.mobile-only {
        display: block;
    }
    
    body {
        padding-bottom: 90px;
    }
}

.bottom-nav {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 9px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
    padding: 4px 0;
}

.bottom-nav .nav-item.active {
    color: var(--gold);
}

.bottom-nav .nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bottom-nav .nav-item.active .nav-icon {
    transform: translateY(-5px) scale(1.15);
}

.bottom-nav .nav-label {
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* Center Button (WhatsApp/Action) */
.bottom-nav .center-btn {
    margin-top: -38px;
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.bottom-nav .center-btn-inner {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--gold), #8e7345);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.45);
    border: 4px solid #1a1a1a;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav .center-btn:active .center-btn-inner {
    transform: scale(0.9) translateY(2px);
}

.bottom-nav .center-btn .nav-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 0;
}

.bottom-nav .center-btn .nav-label {
    color: var(--gold);
    font-weight: 700;
}

/* Ripples & Feedback */
.bottom-nav .ripples {
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav .ripples::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(201, 169, 110, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    border-radius: 50%;
}

.bottom-nav .ripples:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
    transition: 0s;
}

/* Blur support detection */
@supports not (backdrop-filter: blur(20px)) {
    .bottom-nav {
        background: rgba(26, 26, 26, 0.98);
    }
}
