* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    color: #0F253F;
}

/* NAVBAR Y LOGO UNIFICADO DEFINITIVO */
.navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 8% !important;
    background-color: #FFFFFF !important;
    border-bottom: 2px solid #0F253F !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
}

.logo a {
    text-decoration: none !important;
    display: block !important;
}

.logo-texto {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: 3px solid #0F253F !important;
    padding-bottom: 2px !important;
    width: fit-content !important;
}

.logo-titulo {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0F253F !important;
    line-height: 1.1 !important;
    display: block !important;
    margin: 0 !important;
}

.logo-subtexto {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #0F253F !important;
    border-bottom: none !important;
    display: block !important;
    margin-top: 1px !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #0F253F;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #D49E35;
}

/* HERO LANDINGS & EXTENSIÓN DE PÁRRAFO */
.hero-landing {
    padding: 160px 20px 60px;
    background-color: #F8F9FA;
    text-align: center;
}

.hero-landing h1 {
    font-size: 2.8rem;
    color: #0F253F;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-landing p,
.hero-texto-descripcion {
    max-width: 1100px !important;
    width: 90% !important;
    margin: 0 auto 35px auto !important;
    font-size: 1.15rem;
    color: #4A5568;
    line-height: 1.6;
    text-align: justify;
}

/* CONTENEDORES Y SECCIONES */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 40px;
}

.titulo-seccion h2 {
    font-size: 2.2rem;
    color: #0F253F;
    margin-bottom: 10px;
}

.titulo-seccion p {
    color: #D49E35;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ÁREAS DE TRABAJO Y TARJETAS DE SERVICIOS */
.bloque-subdivision {
    margin-bottom: 50px;
    text-align: center;
}

.subtitulo-categoria {
    font-size: 1.8rem;
    color: #0F253F;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D49E35;
    display: inline-block;
}

/* GRILLA DE 2 COLUMNAS PARA TARJETAS DE SERVICIOS */
.grid-tarjetas {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important; /* Fuerza 2 recuadros por línea */
    gap: 25px;
    text-align: left;
}

/* Adaptación automática para pantallas de celular */
@media (max-width: 768px) {
    .grid-tarjetas {
        grid-template-columns: 1fr !important; /* Pasa a 1 columna en móviles */
    }
}

.tarjeta-servicio {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(15, 37, 63, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 37, 63, 0.08);
}

.tarjeta-servicio h4 {
    color: #0F253F;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.linea-decorativa {
    border: 0;
    height: 2px;
    background-color: #D49E35;
    margin-bottom: 12px;
    width: 40px;
}

.tarjeta-servicio p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* PREGUNTAS FRECUENTES (FAQ) */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    margin-bottom: 15px;
    border-radius: 6px;
    padding: 20px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: #0F253F;
    margin-bottom: 10px;
}

.faq-item p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SECCIÓN BLOG */
.blog-section {
    background-color: #F8F9FA;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card .fecha {
    font-size: 0.8rem;
    color: #D49E35;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.blog-card h3 {
    font-size: 1.15rem;
    color: #0F253F;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.5;
    margin-bottom: 15px;
}

.blog-card a {
    color: #0F253F;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.blog-card a:hover {
    color: #D49E35;
}

/* CONTACTO */
.contacto-section {
    background-color: #0F253F;
    color: #FFFFFF;
    padding: 70px 0;
}

.contacto-header-destacado {
    text-align: center;
    margin-bottom: 45px;
}

.contacto-header-destacado h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 12px;
}

.linea-decorativa-contacto {
    width: 80px;
    height: 4px;
    background-color: #D49E35;
    margin: 0 auto 18px auto;
    border-radius: 2px;
}

.contacto-subtitulo-principal {
    font-size: 1.1rem;
    color: #D49E35;
    font-weight: 600;
    font-style: italic;
}

.container-contacto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contacto-info-box {
    flex: 1;
    min-width: 300px;
}

.texto-introductorio-contacto {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #E2E8F0;
    margin-bottom: 20px;
}

.datos-contacto p {
    font-size: 1rem;
    line-height: 1.6;
    color: #F7FAFC;
    margin-bottom: 10px;
}

.zonas-destacadas {
    font-size: 1.2rem;
    color: #D49E35;
    margin: 15px 0 25px 0;
}

.btn-whatsapp-directo, .btn-whatsapp {
    display: inline-block;
    padding: 14px 30px;
    background-color: #D49E35;
    color: #0F253F;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-whatsapp-directo:hover, .btn-whatsapp:hover {
    background-color: #FFFFFF;
    color: #0F253F;
}

/* ESTILOS MAPAS MULTI-SEDE CON PESTAÑAS */
.contacto-mapa-box {
    flex: 1;
    min-width: 300px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(212, 158, 53, 0.4);
    display: flex;
    flex-direction: column;
}

.mapa-tabs {
    display: flex;
    background-color: #0A192F;
    border-bottom: 2px solid #D49E35;
}

.tab-btn {
    flex: 1;
    padding: 10px 15px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tab-btn:hover {
    background-color: rgba(212, 158, 53, 0.2);
    color: #D49E35;
}

.tab-btn.active {
    background-color: #D49E35;
    color: #0F253F;
    font-weight: 700;
}

.mapa-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.iframe-mapa {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.iframe-mapa.active {
    display: block;
}

.btn-como-llegar {
    display: block;
    text-align: center;
    background-color: #0A192F;
    color: #D49E35;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-top: 1px solid rgba(212, 158, 53, 0.3);
    transition: background 0.3s;
}

.btn-como-llegar:hover {
    background-color: #0F253F;
    color: #FFFFFF;
}

.contacto-canales-directos {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid rgba(212, 158, 53, 0.3);
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.canal-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.canal-label {
    font-size: 0.85rem;
    color: #D49E35;
    text-decoration: none;
    font-weight: 600;
}

.canal-valor {
    font-size: 1.15rem;
    color: #FFFFFF;
    font-weight: 700;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .hero-landing h1 {
        font-size: 2rem;
    }

    .container-contacto {
        flex-direction: column;
    }
    
    .contacto-canales-directos {
        gap: 25px;
    }
}
