/* ==========================================================================
   NAVARROS MULTISERVICES LLC - RESPONSIVE & ELEGANT DESIGN (DARK BLUE THEME)
   ========================================================================== */
:root {
    --bg-primary: #0B132B;       /* Azul oscuro principal */
    --bg-secondary: #1C2541;     /* Azul secundario para secciones/tarjetas */
    --text-color: #F4F5F7;       /* Texto claro */
    --text-muted: #A0AAB8;       /* Texto secundario atenuado */
    --primary-blue: #0B132B;     
    --accent-gold: #D4AF37;      /* Dorado elegante */
    --border-color: rgba(212, 175, 55, 0.35); /* Borde dorado fino */
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --card-hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* Prevenir desbordamiento horizontal global */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-color);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVEGACIÓN --- */
.navbar {
    background: #0B132B;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-brand i {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #E2E8F0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent-gold);
    cursor: pointer;
}

.btn-lang-switch {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-lang-switch:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* --- SECCIONES GENERALES --- */
.section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.1rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 8px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* --- SECCIÓN NOSOTROS (3 COLUMNAS: CEO | TEXTO | ESTATUA) --- */
.about-grid-3cols {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 30px;
    align-items: stretch;
}

/* Columna Izquierda: CEO */
.about-ceo-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ceo-card-box {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 20px 15px;
    box-shadow: var(--card-shadow);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ceo-card-box img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.ceo-name {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
}

.ceo-title {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

.about-text-column p {
    color: #CBD5E1;
    margin-bottom: 15px;
    font-size: 1rem;
    text-align: justify;
}

/* Columna Derecha: Estatua */
.about-statue-column {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 20px 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.statue-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* --- TARJETAS Y GRILLAS UNIFORMES (Globales) --- */
.about-grid, 
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.card-box, 
.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--accent-gold);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-primary);
    color: var(--accent-gold);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.card-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-quote {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.btn-quote:hover {
    color: #f3e5ab;
}

/* --- CONTACTO Y FORMULARIO --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card p,
.contact-card span,
.contact-card li {
    color: #CBD5E1 !important;
}

.contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--card-shadow);
    color: var(--text-color);
}

.contact-card h3,
.contact-card h4,
.contact-info-title {
    color: var(--accent-gold) !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 8px;
}

.contact-card strong {
    color: #ffffff !important;
}
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--accent-gold);
}

.form-control {
    width: 100%;
    padding: 11px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.92rem;
    color: #ffffff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #f3e5ab;
}

/* --- MODAL DE IDIOMA INICIAL --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 35px 30px;
    border-radius: 16px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
    border: 2px solid var(--accent-gold);
    color: #ffffff;
}

.modal-statue-logo {
    height: 180px !important; /* Ajusta aquí la altura deseada */
    width: auto;
    display: block;
    margin: 0 auto;
}


.modal-logo {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-lang-choice {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--accent-gold);
    background: var(--bg-primary);
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-lang-choice:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* --- BOTÓN FLOTANTE DE CONTACTO --- */
.floating-contact-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
}

.floating-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.floating-main-btn:hover {
    transform: scale(1.08);
    background-color: #f3e5ab;
}

.floating-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.floating-contact-container:hover .floating-options,
.floating-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.floating-btn-item:hover {
    transform: translateX(-4px);
}

.btn-wa-float {
    background-color: #25d366;
}

.btn-phone-float {
    background-color: var(--bg-secondary);
    border: 1px solid var(--accent-gold);
}

/* ==========================================================================
   FOOTER Y REDES SOCIALES (GLOBAL)
   ========================================================================== */
.footer {
    background-color: #070D1E;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #A0AAB8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.6rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-gold);
}

/* Botones de Redes Sociales dentro de la tarjeta de contacto */
.social-card-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn i {
    font-size: 1.3rem;
}

.social-btn.facebook {
    background-color: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   MEDIA QUERIES (ADAPTACIÓN RESPONSIVA)
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid-3cols {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text-column .section-title {
        text-align: center !important;
    }

    .about-statue-column {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0B132B;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 18px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .contact-grid,
    .services-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .logo-brand {
        font-size: 0.95rem;
    }

    p {
        text-align: justify;
    }
    .modal-statue-logo {
    max-height: 180px; /* Ajusta la altura a tu preferencia */
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    mix-blend-mode: screen; /* Quita el fondo negro de la imagen */
}
}