/* ==========================================================================
   HurdaBursa.com - Modern Eco-Tech & Corporate Metal Trading Design System
   High-Trust, Clean European Circular Economy Aesthetics
   Core Web Vitals 100/100 Optimized - Pure Vanilla CSS
   ========================================================================== */

:root {
    /* Color Palette - Clean Tech & Trust */
    --bg-main: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-accent: rgba(5, 150, 105, 0.3);
    --border-glow: rgba(30, 58, 138, 0.15);

    /* Eco-Tech Emerald & Deep Sapphire Accents */
    --emerald-primary: #059669;
    --emerald-hover: #047857;
    --emerald-light: #10b981;
    --emerald-tint: #ecfdf5;
    --emerald-glow: rgba(5, 150, 105, 0.2);

    --sapphire-primary: #1e3a8a;
    --sapphire-hover: #1e40af;
    --sapphire-light: #3b82f6;
    --sapphire-tint: #eff6ff;

    /* Functional Colors */
    --whatsapp-green: #16a34a;
    --whatsapp-hover: #15803d;
    --whatsapp-glow: rgba(22, 163, 74, 0.25);
    --cyan-accent: #0284c7;

    /* Typography */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing, Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --container-max: 1200px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.09), 0 10px 15px -8px rgba(15, 23, 42, 0.04);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 75px; /* Space for mobile sticky bar */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* Background Atmosphere Gradients */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 10% 10%, rgba(5, 150, 105, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 90% 40%, rgba(30, 58, 138, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(2, 132, 199, 0.03) 0%, transparent 55%);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

/* Header & Navigation (Ultra-Premium Desktop Glassmorphism & Floating Capsule Nav) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
    box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.04);
    transition: var(--transition-fast);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
    transform: scale(1.025);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Floating Capsule Navigation Bar on Desktop */
.nav-links {
    display: none;
    align-items: center;
    gap: 3px;
    list-style: none;
    padding: 5px 6px;
    margin: 0;
    background: rgba(241, 245, 249, 0.75);
    border: 1px solid rgba(203, 213, 225, 0.6);
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 650;
    white-space: nowrap;
    padding: 7px 13px;
    border-radius: var(--radius-full);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: var(--emerald-primary) !important;
    background: #ffffff !important;
    font-weight: 750 !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.14), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* High-Tech Status Badge */
.status-pill {
    display: none;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
    font-size: 0.78rem;
    font-weight: 750;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
    transition: all 0.25s ease;
}

.status-pill:hover {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.12);
    transform: translateY(-1px);
}

@media (min-width: 1240px) {
    .status-pill {
        display: inline-flex;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: radarPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes radarPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Luxury Pill Call CTA Button */
#header-call-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.2px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--sapphire-primary) 0%, var(--emerald-primary) 100%);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28), 0 2px 4px rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#header-call-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(25deg);
    transition: 0.75s;
}

#header-call-btn:hover::after {
    left: 120%;
}

#header-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4), 0 3px 8px rgba(30, 58, 138, 0.25);
}

#header-call-btn:hover svg {
    animation: phoneJiggle 0.4s ease infinite alternate;
}

@keyframes phoneJiggle {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
}

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--sapphire-primary), var(--emerald-primary));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--sapphire-hover), var(--emerald-hover));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green), #15803d);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #18b553, var(--whatsapp-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--emerald-tint);
    border-color: var(--emerald-primary);
    color: var(--emerald-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.95rem 1.8rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3.5rem;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-tint);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: var(--emerald-primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-title .gradient-text {
    background: linear-gradient(120deg, var(--sapphire-primary) 0%, var(--emerald-primary) 70%, var(--cyan-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantee-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--emerald-tint);
    color: var(--emerald-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-text h4 {
    font-size: 0.85rem;
    font-weight: 750;
    color: var(--text-primary);
}

.guarantee-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Local SEO Dispatch & Near-Me Bar */
.local-dispatch-bar {
    margin-top: 1.75rem;
    padding: 1.1rem 1.3rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dispatch-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.dispatch-pulse {
    width: 9px;
    height: 9px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseDot 1.5s infinite;
    flex-shrink: 0;
}

.dispatch-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.dispatch-pill {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-alt);
    border: 1px solid var(--border-medium);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.dispatch-pill:hover,
.dispatch-pill.active {
    background: var(--emerald-primary);
    color: #ffffff;
    border-color: var(--emerald-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

/* Quick Hero Photo Card */
.hero-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.card-header-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--emerald-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.hero-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.quick-steps {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.quick-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--emerald-primary);
    border: 1px solid rgba(5, 150, 105, 0.3);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.step-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.step-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats Bar */
.stats-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: #ffffff;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-box {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 850;
    color: var(--emerald-primary);
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Section Common Styling */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.25rem;
}

.section-badge {
    display: inline-block;
    color: var(--emerald-primary);
    background: var(--emerald-tint);
    border: 1px solid rgba(5, 150, 105, 0.2);
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 850;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Calculator & Price Hub */
.calc-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .calc-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

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

.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
}

.metal-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 600px) {
    .metal-categories {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metal-cat-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    padding: 0.8rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.85rem;
    font-weight: 650;
}

.metal-cat-btn:hover {
    border-color: var(--emerald-primary);
    color: var(--emerald-primary);
    background: #ffffff;
}

.metal-cat-btn.active {
    background: var(--emerald-primary);
    border-color: var(--emerald-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.select-control, .input-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    font-family: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.select-control:focus, .input-control:focus {
    border-color: var(--emerald-primary);
    box-shadow: 0 0 0 3px var(--emerald-glow);
}

.quick-weight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.weight-tag {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.weight-tag:hover {
    background: var(--emerald-tint);
    border-color: var(--emerald-primary);
    color: var(--emerald-primary);
}

.weight-tag.active {
    background: var(--emerald-primary);
    color: #ffffff;
    border-color: var(--emerald-primary);
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

/* Result Box - Corporate Navy Focal Contrast */
.calc-result-box {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.result-header {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.result-metal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.price-range-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 650;
    margin-bottom: 1.5rem;
}

.payout-total {
    margin-bottom: 1.5rem;
}

.payout-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.payout-amount {
    font-size: 2.7rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
}

.payout-currency {
    color: #34d399;
    font-size: 1.6rem;
    margin-left: 4px;
}

.result-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Live Price Table */
.price-table-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 3.5rem;
    box-shadow: var(--shadow-md);
}

.table-header-bar {
    padding: 1.25rem 1.75rem;
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.table-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.table-badge {
    font-size: 0.8rem;
    color: var(--emerald-primary);
    background: var(--emerald-tint);
    border: 1px solid rgba(5, 150, 105, 0.2);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table th {
    padding: 1rem 1.5rem;
    background: var(--bg-alt);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-subtle);
}

.price-table td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.price-table tr:hover td {
    background: var(--emerald-tint);
}

.price-val {
    font-weight: 750;
    color: var(--emerald-primary);
    font-size: 1.05rem;
}

.price-btn-action {
    padding: 5px 12px;
    font-size: 0.82rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-primary), var(--sapphire-primary));
    opacity: 0;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald-light);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--emerald-tint);
    color: var(--emerald-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* District & OSB Grid (Silo Engine) */
.district-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dist-tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 650;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.dist-tab-btn:hover {
    color: var(--emerald-primary);
    border-color: var(--emerald-primary);
}

.dist-tab-btn.active {
    background: var(--emerald-primary);
    color: #ffffff;
    border-color: var(--emerald-primary);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.district-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .district-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .district-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.district-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.district-card:hover {
    border-color: var(--emerald-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.district-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.district-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.district-time {
    background: var(--emerald-tint);
    color: var(--emerald-primary);
    border: 1px solid rgba(5, 150, 105, 0.25);
    font-size: 0.78rem;
    font-weight: 750;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.district-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.district-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.85rem;
}

.district-action span {
    font-size: 0.8rem;
    color: var(--emerald-primary);
    font-weight: 700;
}

/* Why Us / Trust Matrix */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.trust-item-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--emerald-tint);
    border-radius: 50%;
    color: var(--emerald-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.trust-item h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--emerald-primary);
    box-shadow: var(--shadow-md);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 750;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 1rem;
    font-family: inherit;
}

.faq-icon {
    font-size: 1.35rem;
    color: var(--emerald-primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    font-weight: 400;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: var(--bg-alt);
}

.faq-item.active .faq-body {
    max-height: 500px;
    transition: max-height 0.4s ease-in-out;
}

.faq-content {
    padding: 1rem 1.5rem 1.25rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #064e3b 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 850;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: #cbd5e1;
    max-width: 620px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer */
.site-footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 4.5rem 0 2rem;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #94a3b8;
    max-width: 320px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 750;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #34d399;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.75rem;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
    .mobile-sticky-bar {
        display: none;
    }
}

.mobile-sticky-bar .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* SVG Icon Helper Styles */
.svg-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.svg-icon-lg {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   Google Algorithm Integrations: VideoObject & Real Media Showcase
   ========================================================================== */
.video-showcase-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 992px) {
    .video-showcase-card {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.video-media-wrapper {
    position: relative;
    background: #090d16;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-showcase-card:hover .video-poster-img {
    transform: scale(1.02);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--emerald-primary), #047857);
    border-radius: 50%;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(5, 150, 105, 0.6);
    transition: var(--transition-fast);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(5, 150, 105, 0.85);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    margin-left: 4px;
}

.video-badge-pill {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 750;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-live-indicator {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 750;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseDot 1.2s infinite;
}

.video-info-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}

.v-tag {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.video-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.video-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.video-timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-left: 2px solid var(--border-subtle);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.v-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.v-step-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--emerald-primary);
    background: var(--emerald-tint);
    padding: 2px 6px;
    border-radius: 4px;
}

.v-step div strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.v-step div span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Metal Quality Gallery Banner */
.metal-gallery-banner {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .metal-gallery-banner {
        grid-template-columns: 1fr 1.15fr;
        align-items: center;
    }
}

.gallery-image-box {
    position: relative;
    height: 100%;
    min-height: 320px;
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-tag-float {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.gallery-content-box {
    padding: 2.5rem 2rem;
}

.gallery-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.g-pill {
    background: var(--emerald-tint);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: var(--emerald-primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

/* E-E-A-T Trust & Official License Banner */
.eeat-license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.eeat-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.eeat-icon {
    width: 44px;
    height: 44px;
    background: var(--sapphire-tint);
    color: var(--sapphire-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.eeat-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.eeat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   100% Mobile Responsive & Google Mobile-Friendly Master Architecture
   ========================================================================== */

/* Prevent horizontal page wobble */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure mobile sticky bar doesn't cover footer or bottom buttons */
@media (max-width: 991px) {
    body {
        padding-bottom: 76px !important;
    }
}

/* Mobile Hamburger Button in Header */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    padding: 9px 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 101;
    transition: var(--transition-fast);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s ease-in-out;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Backdrop & Drawer */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.mobile-drawer-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    border-left: 4px solid transparent;
    transition: var(--transition-fast);
}

.mobile-nav-list li a:hover, .mobile-nav-list li a.active {
    color: var(--emerald-primary);
    background: var(--emerald-tint);
    border-left-color: var(--emerald-primary);
}

.mobile-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ==========================================================================
   Breakpoints: Max Width 991px (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none !important;
    }

    .status-pill {
        display: none !important;
    }

    .header-content {
        height: 64px;
    }

    .hero-content-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .video-showcase-card {
        grid-template-columns: 1fr !important;
    }

    .video-player-container {
        min-height: 300px !important;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr !important;
    }

    .metal-gallery-banner {
        grid-template-columns: 1fr !important;
    }

    .gallery-img-box {
        min-height: 260px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 2rem !important;
    }
}

/* ==========================================================================
   Breakpoints: Max Width 768px (Smartphones)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .hero-desc {
        font-size: 0.98rem;
    }

    .hero-guarantees {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dispatch-pills {
        gap: 0.4rem;
    }

    .dispatch-pill {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .price-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .price-table th, .price-table td {
        padding: 0.65rem 0.5rem;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .article-container {
        padding: 2rem 1rem 4rem !important;
    }

    .article-header h1 {
        font-size: 1.65rem !important;
    }

    .article-content {
        font-size: 0.98rem !important;
        line-height: 1.75 !important;
    }

    .article-content h2 {
        font-size: 1.35rem !important;
    }

    .eeat-license-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Breakpoints: Max Width 480px (Compact Mobile - iPhone SE / 360-400px)
   ========================================================================== */
@media (max-width: 480px) {
    .header-content {
        gap: 0.5rem;
        height: 58px;
    }

    .logo img {
        height: 30px !important;
    }

    #header-call-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        gap: 4px;
    }

    #header-call-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    /* iOS auto-zoom prevention: inputs must have min 16px font-size */
    input, select, textarea {
        font-size: 16px !important;
    }

    .mobile-sticky-bar {
        padding: 0.6rem 0.75rem;
        padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
        gap: 0.5rem;
    }

    .mobile-sticky-bar .btn {
        font-size: 0.82rem;
        padding: 0.7rem 0.4rem;
    }
}
