/* ===========================
   VISIÓN EL PAISA - CSS
   =========================== */
:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1e2a45;

    /* Brand Colors from Logo */
    --brand-blue: #004aad;
    /* Main circle blue */
    --brand-yellow: #f1e000;
    /* "El Paisa" yellow */
    --brand-orange: #ff7f27;
    /* "E P" orange */

    --accent: var(--brand-blue);
    --accent-light: #3a86ff;
    --accent-glow: rgba(0, 74, 173, 0.3);
    --accent-glow-strong: rgba(0, 74, 173, 0.6);

    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --text-muted: #6c757d;
    --border-color: rgba(0, 74, 173, 0.2);
    --grad-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    --grad-accent: linear-gradient(135deg, var(--brand-blue), #003380);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: all var(--transition);
}

a:hover {
    text-decoration: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   UTILITIES
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.highlight {
    color: var(--brand-yellow);
    /* Branding highlight */
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 74, 173, 0.12);
    border: 1px solid rgba(0, 74, 173, 0.3);
    color: var(--brand-yellow);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   MODAL - LOCATION SELECTOR
   =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow);
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.modal-content h3 span {
    color: var(--brand-yellow);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.location-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 24px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.location-btn i {
    font-size: 1.8rem;
    color: var(--brand-yellow);
}

.location-btn span {
    font-weight: 700;
    font-size: 1.1rem;
}

.location-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.location-btn:hover i {
    color: #fff;
}

/* ===========================
   MODAL - BOOKING
   =========================== */
.modal-content.booking {
    max-width: 760px;
    text-align: left;
    padding: 34px 28px;
}

.booking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.booking-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.booking-sub {
    margin-bottom: 18px !important;
}

.booking-form .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    outline: none;
    color-scheme: dark;
}

/* Fix: native select dropdown options (some browsers show white bg + white text) */
.booking-form select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.booking-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.booking-status {
    margin-top: 12px;
    font-size: 0.95rem;
}
.booking-status.ok {
    color: #34d399;
}
.booking-status.err {
    color: #f87171;
}

@media (max-width: 680px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .booking-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand-yellow);
}

.nav-cta {
    padding: 10px 22px;
    background: var(--brand-yellow);
    color: #000;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(241, 224, 0, 0.3);
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(241, 224, 0, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

@media (max-width: 1050px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 100px 30px 30px;
        transform: translateX(100%);
        transition: transform var(--transition);
        border-left: 1px solid var(--border-color);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        will-change: transform;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link,
    .nav-cta {
        width: 100%;
    }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 74, 173, 0.1);
    border: 1px solid rgba(0, 74, 173, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--brand-yellow);
    font-weight: 500;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 60px;
    /* Increased for wrapping on mobile */
}

.typed-accent {
    color: var(--brand-yellow);
    font-weight: 700;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-yellow);
    color: #000;
    box-shadow: 0 4px 24px rgba(241, 224, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(241, 224, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--brand-yellow);
    border: 2px solid var(--brand-yellow);
}

.btn-outline:hover {
    background: var(--brand-yellow);
    color: #000;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-yellow);
}

.stat-item p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-wrapper {
    position: relative;
    width: 340px;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.hero-img-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 4s infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.floating-card {
    position: absolute;
    padding: 10px 18px;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-1 {
    top: 30px;
    left: -40px;
}

.card-2 {
    bottom: 60px;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===========================
   SERVICES
   =========================== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    height: 100%;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-yellow);
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.2);
    background: var(--bg-card-hover);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 74, 173, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-yellow);
    margin-bottom: 24px;
}

.service-card:hover .service-icon-wrap {
    background: var(--brand-yellow);
    color: #000;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    color: var(--brand-yellow);
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===========================
   BENTO GRID (PORTFOLIO/PRODUCTS)
   =========================== */
.portfolio-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #000;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.bento-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.bento-tall {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 20, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-category {
    background: var(--brand-yellow);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 8px;
}

.bento-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

/* ===========================
   PROMOS (TESTIMONIALS SLIDER REPURPOSED)
   =========================== */
.promo-card {
    text-align: center;
}

.promo-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--brand-yellow);
}

/* ===========================
   FAQ (RESUME REPURPOSED)
   =========================== */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.timeline-item {
    padding-left: 50px;
    position: relative;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand-yellow);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius);
}

.timeline-content h4 {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--brand-yellow);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 860px) {
    .resume-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   BRANDS
   =========================== */
.brands-section {
    padding: 60px 0;
    overflow: hidden;
    background: #0a0a14;
}

.brands-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.brand-item {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-muted);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===========================
   CONTACT & DYNAMIC MAP
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 74, 173, 0.1);
    color: var(--brand-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-card p {
    font-weight: 600;
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   FOOTER & WHATSAPP
   =========================== */
.footer {
    background: #0a0a14;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

.footer-col h4 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-yellow);
}

.footer-col ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--brand-yellow);
}

.btn-change-location {
    background: rgba(0, 74, 173, 0.1);
    border: 1px solid var(--brand-blue);
    color: var(--brand-yellow);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-change-location:hover {
    background: var(--brand-blue);
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 4px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 40px 20px;
    }

    .location-options {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 100px;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-image {
        display: none;
    }

    .nav-logo span {
        display: none;
    }
}

@media (max-width: 500px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        min-height: 80px;
    }

    .btn {
        width: 100%;
    }

    .logo-img {
        height: 35px;
    }

    .nav-logo span {
        display: inline;
        font-size: 1.1rem;
    }
}

/* Final Responsive Polish */
@media (max-width: 500px) {
    .hero-buttons {
        gap: 12px;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-stats .stat-item {
        flex: 1 1 40%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-icon {
        margin-bottom: 10px;
    }
}

/* Ultimate Responsive Fixes */
h1, h2, h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

.hero-content {
    max-width: 100%;
}

.hero-title span {
    display: inline-block; /* Helps with wrapping */
}

/* Mobile Menu Fixes */
.navbar {
    z-index: 2000 !important;
}

.hamburger {
    z-index: 2100 !important;
    position: relative;
    padding: 10px; /* Bigger touch target */
}

.hamburger span {
    width: 28px !important;
    height: 3px !important;
    background-color: #fff !important;
}

.nav-links {
    z-index: 1000 !important;
}

@media (max-width: 1050px) {
    .nav-links {
        width: 100% !important;
        max-width: 300px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 25px !important;
        background: var(--bg-card) !important;
        transition: transform 0.4s ease-in-out !important;
    }
    
    .nav-links.open {
        transform: translateX(0) !important;
    }
    
    .nav-link {
        font-size: 1.2rem !important;
    }
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Final UX Polish */
#particles-js {
    pointer-events: none !important;
}

.hero-container {
    pointer-events: auto !important;
}

.navbar {
    pointer-events: auto !important;
}

/* Immediate Visibility on Mobile */
@media (max-width: 1050px) {
    .navbar {
        background: rgba(15, 15, 26, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
        position: fixed !important;
        top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .hamburger {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .whatsapp-float {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        bottom: 24px !important;
        right: 24px !important;
        animation: none !important; /* Stop any AOS or initial entry animations */
    }
}

/* Stop any unintentional AOS hiding core UI */
.navbar, .hamburger, .whatsapp-float {
    transition: none !important; /* Remove initial delay */
}

.navbar.scrolled {
    /* Maintain the look if already scrolled */
}

/* ============================================================ */
/* THE FINAL FIX: FORCED VISIBILITY FOR CORE UI ELEMENTS        */
/* ============================================================ */

/* These rules override EVERYTHING (AOS, JS delays, other CSS) */
#navbar, #hamburger, #whatsapp-main {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

#navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important; /* Above everything else */
    display: block !important;
    background: rgba(15, 15, 26, 0.98) !important;
    backdrop-filter: blur(10px) !important;
}

#whatsapp-main {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 10001 !important;
    display: flex !important; /* Forces it to show */
    animation: none !important;
}

@media (max-width: 1050px) {
    #hamburger {
        display: flex !important;
        position: relative !important;
        z-index: 10002 !important;
    }
    
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
}

/* Ensure FontAwesome icons inside these buttons are also forced */
#hamburger span, #whatsapp-main i {
    opacity: 1 !important;
    visibility: visible !important;
}
