:root {
    /* Construction Tech Palette 0f172a*/
    --tech-blue: #0f172a;
    /* Deep Navy/Slate - Base */
    --tech-blue-light: #1e293b;
    --safety-orange: #ff6b00;
    /* Vibrant Orange - Action */
    --safety-yellow: #ffd500;
    /* High Vis Yellow - Highlight */
    --concrete-grey: #f8fafc;
    /* Light Grey - Background */
    --steel-grey: #64748b;
    /* Text */
    --white: #ffffff;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--tech-blue) 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(45deg, var(--safety-orange), #ff8800);

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius: 4px;
    /* Sharper corners for tech feel */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--concrete-grey);
    color: var(--tech-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--tech-blue);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Tech Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--safety-orange);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--tech-blue);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--tech-blue);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Top Bar - Sunbelt Style */
.top-bar {
    background-color: var(--safety-orange);
    /* Corporate Color Bar */
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1001;
    /* Above header */
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    /* Align to right */
    gap: 20px;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar a:hover {
    opacity: 0.9;
}


/* Tech Header - Dark Mode */
header {
    background-color: var(--tech-blue);
    /* Dark Header */
    height: var(--header-height);
    position: sticky;
    top: 0;
    /* Remains sticky */
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--safety-yellow);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 60px;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

header .container {
    height: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    /* White text on dark header */
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--safety-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--safety-yellow);
    opacity: 1;
}

/* Hero Section - Gradient Tech look */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), url('assets/fondo mannlift.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    /* Diagonal cut for modern feel */
}

.hero-content {
    color: var(--white);
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
    color: var(--safety-yellow);
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Catalog Grid & Services */
.services-preview {
    padding: 100px 0;
    background-color: var(--white);
    /* Clean white background for section */
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
}

.section-header p {
    color: var(--steel-grey);
    font-size: 1.1rem;
}

/* Grid Layouts */
.grid-4,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Card Styling - Reference Scheme 2 (Light grey cards) */
.card,
.catalog-item {
    background: #f1f5f9;
    /* Light greyish-blue background like reference */
    border: none;
    /* Removed border for cleaner look */
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.card:hover,
.catalog-item:hover {
    background: #e2e8f0;
    /* Slightly darker on hover */
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card::after,
.catalog-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--safety-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::after,
.catalog-item:hover::after {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--safety-yellow);
    /* Yellow icons like reference */
    margin-bottom: 25px;
    background: transparent;
    /* No circle background, just the icon */
    width: auto;
    height: auto;
    display: inline-block;
    border-radius: 0;
}

.card:hover .card-icon {
    background: transparent;
    color: var(--safety-orange);
    transform: scale(1.1);
}

.catalog-img {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    background: transparent;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-img img {
    transform: scale(1.05);
}

.catalog-overlay {
    display: none;
    /* Removed for cleaner look in this design */
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--safety-orange);
    width: 25px;
    /* Ensures consistent alignment */
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

.contact-form .btn {
    cursor: pointer;
    border: none;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: #0b1120;
    /* Darker than tech-blue */
    color: var(--steel-grey);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content .logo {
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0.8;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    padding-top: 20px;
}

/* Page Headers (Reference to Catalog) */
.page-header {
    background: var(--tech-blue);
    padding: 20px 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 30px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {

    .grid-4,
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .grid-4,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 20px;
    }
}

/* Header Left Section (Logo + Phone) */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    /* White text as requested */
    font-weight: 600;
    font-size: 0.95rem;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    /* Divider */
    height: 30px;
    /* Limit height of divider */
    text-decoration: none;
}

.header-contact i {
    color: var(--safety-orange);
}

.header-contact:hover {
    color: var(--safety-yellow);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Adjust Top Bar for Mobile */
    .top-bar .container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.8rem;
    }

    .top-bar a {
        display: inline-flex;
    }

    /* Adjust Header for Mobile */
    .nav-left {
        width: 100%;
        justify-content: center;
        /* Center logo when contacts are moved */
    }

    /* Fix Hero Background on Mobile */
    .hero {
        background-attachment: scroll;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Dynamic Model Details Section */
.model-details-container {
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--safety-orange);
    animation: fadeIn 0.5s ease-in-out;
}

.model-details-container.hidden {
    display: none;
}

.model-category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--tech-blue);
    text-align: center;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.model-card {
    background: #f0f5f9;
    /* El tono azulado de la imagen 2 */
    border: none;
    /* Quitamos el borde gris delgado */
    border-radius: 20px;
    /* Aquí está la magia de las esquinas redondas */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    /* Espacio interno para que respire el diseño */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Un toque de sombra suave */
}

.model-info {
    padding: 20px;
}

.model-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--tech-blue);
}

.model-info h5 {
    font-size: 0.95rem;
    color: var(--steel-grey);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-features {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--tech-blue-light);
    font-size: 0.95rem;
}

.model-features li {
    margin-bottom: 5px;
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 250px;
    /* Fixed height for consistency */
    border-radius: 20px;
    /* Aquí está la magia de las esquinas redondas */
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Maintain aspect ratio */
    padding: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--safety-orange);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Quote Cart Drawer & Floating Action Button
   ========================================================================== */

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--nature-green);
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    color: var(--nature-green);
}

/* Floating Action Button (FAB) */
.cart-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--safety-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    cursor: pointer;
    z-index: 998;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cart-fab:hover {
    transform: scale(1.1);
    background: #f59e0b;
    /* Lighter orange */
}

.cart-fab.hidden {
    display: none;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    /* Red */
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    /* Higher than header (1000) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: white;
    z-index: 2001;
    /* Higher than header (1000) and overlay (2000) */
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.side-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header h2 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--tech-blue);
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.2s;
}

.btn-icon:hover {
    color: #ef4444;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    position: relative;
}

/* Cart Items Step */
.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    position: relative;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 2px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--tech-blue);
}

.cart-item-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1.1rem;
}

.btn-remove-item:hover {
    color: #ef4444;
}

.empty-cart-msg {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    font-size: 1.1rem;
}

/* Drawer Footer */
.drawer-footer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-full {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    text-align: center;
}

/* Form Step Layout Enhancements */
.btn-text {
    background: none;
    border: none;
    color: var(--tech-blue);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 25px;
}

.btn-text:hover {
    text-decoration: underline;
}

.drawer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-form .form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.drawer-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tech-blue);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drawer-form input,
.drawer-form textarea,
.drawer-form select.custom-select {
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    font-family: inherit;
    width: 100%;
}

.drawer-form input:focus,
.drawer-form textarea:focus,
.drawer-form select.custom-select:focus {
    outline: none;
    border-color: var(--safety-yellow);
    box-shadow: 0 0 0 3px rgba(254, 215, 0, 0.2);
    background-color: white;
}

.drawer-form select.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.drawer-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Floating WhatsApp Button */
.wa-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 998;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.wa-fab:hover {
    transform: scale(1.1);
    background: #128c7e;
    color: white;
}

/* Custom form wrapper for main page contact form to match drawer style */
.custom-contact-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.custom-contact-form .btn {
    margin-top: 15px;
    width: 100%;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--safety-yellow);
    text-decoration: none;
    cursor: pointer;
}

/* Success Step */
.success-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.success-icon {
    font-size: 4rem;
    color: var(--nature-green);
    margin-bottom: 20px;
}

.success-container h3 {
    color: var(--tech-blue);
    margin-bottom: 10px;
}

.success-container p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Fix for btn-outline in Drawer with white background */
.success-container .btn-outline {
    border-color: var(--tech-blue);
    color: var(--tech-blue);
}

.success-container .btn-outline:hover {
    color: var(--white);
}

.success-container .btn-outline::before {
    background-color: var(--tech-blue);
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Map Modal
   ========================================================================== */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.map-modal.active {
    opacity: 1;
    visibility: visible;
}

.map-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.map-modal.active .map-modal-content {
    transform: translateY(0);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.map-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--tech-blue);
}

.map-modal-header .btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--steel-grey);
    cursor: pointer;
    transition: color 0.3s;
}

.map-modal-header .btn-icon:hover {
    color: var(--safety-orange);
}