/* ===== CSS VARIABLES ===== */
:root {
    /* Premium Light Palette */
    --brand-navy: #ffffff;
    /* Main Background - Now White */
    --brand-primary: #939ba3;
    /* Secondary Background - Very Light Gray */
    --brand-accent: #b45309;
    /* Deep Gold/Bronze for contrast on white */
    --brand-accent-glow: rgba(180, 83, 9, 0.2);

    /* Legacy Compatibility Aliases */
    --brand-red: #be123c;
    /* Rose */
    --safety-yellow: var(--brand-accent);

    --text-dark: #bdb6b6;
    /* For buttons/dark backgrounds */
    --text-light: #0f172a;
    /* Main Text - Dark Slate */
    --text-muted: #475569;
    /* Muted Text */

    --glass-surface: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);

    --industrial-gray: #e3ecf5;
    /* Light Gray for sections */
    --concrete: #64748b;
    --steel: #94a3b8;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;

    /* Shadows */
    --shadow-glass: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px var(--brand-accent-glow);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* REFERENCE FIX VARIABLES */
    --spacing-sm: 0.5rem;
    --spacing-lg: 2rem;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --brand-blue: #2563eb;
    /* Default blue, can adjust to theme if needed */
    --surface-light: #f8fafc;
    --text-secondary: var(--text-muted);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-light);
    background-color: var(--brand-navy);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Account for fixed navbar */
}

/* Premium hover effects for cards */
.service-card,
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

/* Premium gradient borders */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--concrete);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-accent), #92400e);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--brand-accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-surface);
    transform: translateY(-2px);
}

.btn-quote {
    background: var(--brand-accent);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-glow);
}

.btn-quote:hover {
    background: #deb86e;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--brand-accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--brand-navy);
}

/* ===== REFERENCE NAVBAR FIX ===== */
.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.glass-navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    /* Keeping the light mode filter if needed, but user didn't strict specify it in reference. 
       Assuming logo.png is the dark one. If it needs inversion, we can add it back. 
       For now, sticking to reference which just has max-height. */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brand-navy);
    line-height: 1;
}

.logo-secondary {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: none;
    gap: var(--spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--surface-light);
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-navy);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--brand-navy);
    transition: var(--transition-smooth);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

padding: 0.5rem 1rem;
border-radius: var(--radius-full);
font-weight: 600;
font-size: 0.875rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.btn-whatsapp-sm {
    background: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-whatsapp-sm:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(-45deg, #ffffff, #f1f5f9, #e2e8f0, #ffffff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(197, 160, 89, 0.1);
    color: var(--brand-accent);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    color: var(--brand-accent);
    position: relative;
    background: linear-gradient(to right, #C5A059, #F3E5AB, #C5A059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-line.accent::after {
    display: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--concrete);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-accent);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--concrete);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--safety-yellow);
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--space-xl) 0;
    background: var(--industrial-gray);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--safety-yellow), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--glass-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red), var(--safety-yellow));
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--safety-yellow);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 214, 10, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.75rem;
    color: var(--safety-yellow);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--concrete);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-top: var(--space-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    color: var(--text-light);
    font-size: 0.875rem;
}

.service-features li i {
    color: var(--safety-yellow);
    font-size: 0.75rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: var(--space-xl) 0;
    background: var(--brand-navy);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.project-card {
    background: var(--industrial-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 51, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: var(--space-lg);
}

.project-tags {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.project-tag {
    background: rgba(255, 214, 10, 0.1);
    color: var(--safety-yellow);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.project-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.project-description {
    color: var(--concrete);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: var(--space-md);
    color: var(--safety-yellow);
    font-size: 0.875rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--space-xl) 0;
    background: var(--industrial-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: var(--concrete);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: var(--space-md);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.feature i {
    font-size: 1.5rem;
    color: var(--safety-yellow);
    margin-top: 0.25rem;
}

.feature h4 {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.feature p {
    color: var(--concrete);
    font-size: 0.875rem;
}

.certificate-card {
    background: var(--glass-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.certificate-card i {
    font-size: 3rem;
    color: var(--safety-yellow);
    margin-bottom: var(--space-md);
}

.certificate-card h3 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.certificate-list {
    list-style: none;
    text-align: left;
}

.certificate-list li {
    padding: 0.75rem 0;
    color: var(--concrete);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    padding-left: 1.5rem;
}

.certificate-list li:last-child {
    border-bottom: none;
}

.certificate-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--safety-yellow);
    font-weight: bold;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--space-xl) 0;
    background: var(--brand-navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--safety-yellow);
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item address,
.contact-item p {
    color: var(--concrete);
    font-style: normal;
    line-height: 1.6;
}

.contact-form-container {
    background: var(--industrial-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.contact-form h3 {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--safety-yellow);
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--concrete);
}

/* ===== SIDE DRAWER ===== */
.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none;
}

.side-drawer.active {
    pointer-events: all;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.side-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--brand-navy);
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.side-drawer.active .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--concrete);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.drawer-close:hover {
    color: var(--text-light);
}

.drawer-body {
    flex: 1;
    padding: var(--space-lg);
    overflow-y: auto;
}

.drawer-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--glass-border);
}

/* Add to your CSS file */
.map-section {
    padding: var(--space-xl) 0;
    background: var(--industrial-gray);
}

.map-container {
    margin-top: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    max-width: 300px;
    box-shadow: var(--shadow-elevated);
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.map-info-header i {
    color: var(--brand-red);
    font-size: 1.5rem;
}

.map-info-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.map-info-body {
    color: var(--text-dark);
}

.map-info-body p {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.map-actions {
    margin-top: var(--space-md);
}

.btn-map {
    background: linear-gradient(135deg, var(--brand-blue), #1e40af);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Mobile responsive for map */
@media (max-width: 768px) {
    .map-info-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-top: -1px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

/* ===== POWERBOT CHAT WIDGET ===== */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    /* Swapped back to RIGHT */
    z-index: 999;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    /* Swapped back to RIGHT */
    width: 380px;
    height: 500px;
    background: var(--brand-navy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
}

.chatbot-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    padding: var(--space-md);
    background: var(--industrial-gray);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-red), var(--safety-yellow));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.chatbot-header h4 {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.chatbot-header p {
    color: var(--concrete);
    font-size: 0.75rem;
    margin: 0;
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--concrete);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.chatbot-close:hover {
    color: var(--text-light);
}

.chatbot-body {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    line-height: 1.5;
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--industrial-gray);
    color: var(--text-light);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--brand-red), #B91C1C);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-options {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.chat-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    text-align: left;
}

.chat-option:hover {
    background: rgba(255, 214, 10, 0.1);
    border-color: var(--safety-yellow);
    transform: translateX(4px);
}

.chatbot-footer {
    padding: var(--space-md);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: var(--space-sm);
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--industrial-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-family: inherit;
}

#chatInput:focus {
    outline: none;
    border-color: var(--safety-yellow);
}

#chatSend {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-red), #B91C1C);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatSend:hover {
    transform: scale(1.1);
}

.chatbot-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-red), #B91C1C);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-smooth);
    z-index: 1000;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* ===== EMERGENCY FAB ===== */
.emergency-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Swapped back to LEFT */
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-red), #B91C1C);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(217, 45, 32, 0.4);
    transition: all var(--transition-smooth);
    z-index: 999;
    overflow: hidden;
}

.emergency-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(217, 45, 32, 0.6);
}

.emergency-fab i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.fab-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--industrial-gray);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--concrete);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--safety-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--concrete);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--safety-yellow);
}

.business-hours p {
    color: var(--concrete);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.business-hours strong {
    color: var(--text-light);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--concrete);
    font-size: 0.875rem;
}

.footer-address {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--steel);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .drawer-content {
        width: 60%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--brand-navy);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--space-xl);
        gap: var(--space-lg);
        transition: left var(--transition-smooth);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(12px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .nav-cta {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .drawer-content {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .chatbot-window {
        width: calc(100vw - 60px);
        right: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .emergency-fab {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .chatbot-container {
        right: 20px;
        /* Swapped back to RIGHT */
        bottom: 90px;
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}