/* Core Styling & Variables */
:root {
    --primary-color: #1c1c1c; 
    --secondary-color: #c5a059; 
    --bg-light: #faf9f6; 
    --text-main: #333333;
    --text-muted: #666666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text-main); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }

/* Navigation & Glass Header */
.glass-header { 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    background-color: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: saturate(200%) blur(40px) !important; 
    -webkit-backdrop-filter: saturate(200%) blur(40px) !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
    padding: 1rem 0; 
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

/* Desktop Nav Elements */
.hamburger { display: none; }
#nav-toggle { display: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--secondary-color); }

/* Hero Section */
.hero { background-color: var(--primary-color); color: white; padding: 5rem 0; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero h2 { font-size: 1.25rem; font-weight: 400; color: #e2e8f0; max-width: 800px; margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn { padding: 0.875rem 1.5rem; border-radius: 6px; font-weight: 600; text-decoration: none; transition: all 0.2s; text-align: center; display: inline-block; }
.btn-primary { background-color: var(--secondary-color); color: white; border: 2px solid var(--secondary-color); }
.btn-primary:hover { background-color: #b08d4a; border-color: #b08d4a; }
.btn-secondary { background-color: transparent; border: 2px solid white; color: white; }
.btn-secondary:hover { background-color: white; color: var(--primary-color); }

/* Grids & Layouts */
section { padding: 4.5rem 0; }
.section-title { font-size: 2.25rem; text-align: center; margin-bottom: 3rem; color: var(--primary-color); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }

/* Service Cards & Images */
.card { background: white; padding: 2rem; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); border-color: var(--secondary-color); }
.card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary-color); }
.card p { color: var(--text-muted); }
.product-image { width: 100% !important; height: 300px !important; object-fit: cover !important; border-radius: 8px !important; margin-bottom: 1.5rem !important; border: 1px solid #e2e8f0 !important; }

/* Metrics, Logos, Tags */
.metrics-banner { background-color: var(--primary-color); color: white; padding: 5rem 0; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.metric-number { font-size: 3.5rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 0.5rem; }
.logo-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; align-items: center; opacity: 0.6; transition: opacity 0.3s; }
.logo-grid:hover { opacity: 1; }
.logo-placeholder { font-weight: 700; font-size: 1.25rem; color: var(--text-muted); letter-spacing: 1px; }

.catalog-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.catalog-tag { display: inline-block; background: var(--bg-light); color: var(--text-main); padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.85rem; border: 1px solid #e2e8f0; transition: all 0.2s; text-decoration: none; }
.catalog-tag:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Testimonials & CTA */
.testimonial-block { background: white; padding: 4rem 2rem; border-radius: 8px; border-left: 6px solid var(--secondary-color); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); margin: 3rem auto; max-width: 900px; }
.cta-banner { background-color: var(--bg-light); padding: 6rem 0; text-align: center; border-top: 1px solid #e2e8f0; }

/* Contact Form UI */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control { width: 100%; padding: 0.85rem; border: 1px solid #cbd5e0; border-radius: 6px; font-family: inherit; font-size: 1rem; color: var(--text-main); transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Footer */
footer { background: var(--primary-color); color: #a0aec0; padding: 2rem 0; font-size: 0.875rem; text-align: center; border-top: 1px solid #333; }

/* --- Premium Dark Glassmorphism Section --- */
.express-section {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}
.express-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 100%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
    z-index: 0;
}
.express-section .container { position: relative; z-index: 1; }
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.glass-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}
.glass-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.pulse-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    color: var(--secondary-color);
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}
.glass-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}
.glass-btn:hover {
    background: #b08d4a;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

/* ----------------------------------------- */
/* MOBILE OPTIMIZATION OVERRIDES             */
/* ----------------------------------------- */
@media (max-width: 768px) {
    /* Mobile Menu Logic */
    .hamburger { display: block; user-select: none; }
    .nav-links { 
        display: none; 
        width: 100%; 
        flex-direction: column; 
        gap: 1rem; 
        padding-top: 1.5rem; 
        padding-bottom: 0.5rem;
        border-top: 1px solid rgba(226, 232, 240, 0.7);
        margin-top: 1rem;
    }
    #nav-toggle:checked ~ .nav-links { display: flex; }
    
    /* Hero Button Uniformity for Mobile */
    .hero-dual-cta { 
        flex-direction: column !important; 
        align-items: center !important; 
        width: 100% !important;
    }
    .hero-dual-cta .btn { 
        width: 100% !important; 
        max-width: 300px !important; 
    }

    /* Spacing & Typography Reductions */
    section { padding: 2.5rem 0 !important; }
    .hero { padding: 3.5rem 0 !important; }
    .hero h1 { font-size: 2.25rem !important; }
    .hero h2 { font-size: 1.05rem !important; margin-bottom: 2rem !important; }
    .section-title { font-size: 1.75rem !important; margin-bottom: 2rem !important; }
    
    /* Grid Tightening */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.25rem !important; }
    .card { padding: 1.5rem !important; }
    .product-image { height: 220px !important; }
    
    /* Metrics & Testimonials */
    .metrics-banner, .cta-banner { padding: 3rem 0 !important; }
    .metric-number { font-size: 2.5rem !important; }
    .testimonial-block { padding: 2rem 1.5rem !important; margin: 1.5rem auto !important; }

    /* Mobile fix for Dark Glass Panel */
    .glass-panel { padding: 2rem 1.5rem !important; }
    .glass-card { padding: 1.5rem !important; }
}
/* ----------------------------------------- */
/* QUOTE FORM                                */
/* ----------------------------------------- */
.quote-section { background-color: var(--bg-light); border-top: 1px solid #e2e8f0; scroll-margin-top: 90px; }
.quote-card { max-width: 860px; margin: 0 auto; border-top: 4px solid var(--secondary-color); }
.quote-card:hover { transform: none; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.quote-grid .full { grid-column: 1 / -1; }
.quote-form select.form-control { appearance: auto; background-color: white; }
.quote-form .btn { width: 100%; border: none; cursor: pointer; font-size: 1.05rem; }
.quote-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.85rem; text-align: center; }
.quote-note a { color: var(--secondary-color); font-weight: 600; text-decoration: none; }
#quote { scroll-margin-top: 90px; }

/* Footer contact links */
.footer-contact { margin-top: 1rem; line-height: 1.9; font-size: 0.95rem; }
.footer-contact a { color: #cbd5e0; text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--secondary-color); }

/* ----------------------------------------- */
/* FLOATING WHATSAPP + MOBILE CTA BAR         */
/* ----------------------------------------- */
.wa-float {
    position: fixed; right: 28px; bottom: 28px; z-index: 1001;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
/* Catalog page: sit above the "View Inquiry" button */
.floating-cart ~ .wa-float { bottom: 100px; }

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

@media (max-width: 768px) {
    .quote-grid { grid-template-columns: 1fr; }
    .wa-float { display: none; }
    body { padding-bottom: 64px; }
    .mobile-cta-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
        background: var(--primary-color); border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-cta-bar a {
        flex: 1; text-align: center; padding: 0.95rem 0.5rem; color: white; text-decoration: none;
        font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.3px;
    }
    .mobile-cta-bar a + a { border-left: 1px solid rgba(255, 255, 255, 0.1); }
    .mobile-cta-bar .cta-wa { background: #1f9e4f; }
    .mobile-cta-bar .cta-quote { background: var(--secondary-color); }
    /* Catalog page: lift the "View Inquiry" button above the bar */
    .floating-cart { bottom: 80px !important; }
}
