/* =============================================
   VARIABLES Y RESET
   ============================================= */
:root {
    --primary-color: #9cbc1b;    /* Tu nuevo verde corporativo */
    --primary-dark: #7a9415;     /* Una versión más oscura para hovers */
    --secondary-color: #f7fbea;  /* Un verde muy clarito que combina con el nuevo oliva */
    --dark-color: #1a2b3c;       
    --text-color: #475569;
    --gray-color: #94a3b8;
    --light-gray: #e2e8f0;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--dark-color); line-height: 1.6; background: #fff; -webkit-font-smoothing: antialiased; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }
section { padding: 40px 0; }

/* Tipografía */
h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; color: var(--dark-color); }
h2 { font-size: 2.2rem; margin-bottom: 30px; text-align: center; line-height: 1.3; color: var(--dark-color); }
h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--dark-color); }
p { margin-bottom: 1.5rem; color: var(--text-color); }
strong { color: var(--dark-color); font-weight: 600; }

/* =============================================
   2. HEADER (Navegación)
   ============================================= */
.header { 
    position: fixed; width: 100%; top: 0; background: #fff; 
    z-index: 1000; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-weight: 800; font-size: 1.5rem; text-decoration: none; color: var(--dark-color); }
.logo span { color: var(--primary-color); }
.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-link { text-decoration: none; color: var(--dark-color); font-weight: 600; font-size: 0.95rem; }
.btn-contacto { background: var(--primary-color); color: #fff !important; padding: 10px 20px; border-radius: 8px; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero { padding-top: 140px; padding-bottom: 60px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); overflow: hidden; }
.hero .container { display: flex; align-items: center; gap: 40px; }
.hero-content { flex: 1.2; text-align: left; }
.hero-bullets { list-style: none; margin-bottom: 30px; }
.hero-bullets li { margin-bottom: 12px; font-weight: 500; display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.hero-bullets i { color: var(--primary-color); margin-top: 5px; font-size: 1.1rem; }
.hero-cta-group { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.hero-encaje { margin-top: 25px; font-size: 0.95rem; border-top: 1px solid var(--light-gray); padding-top: 15px; color: var(--gray-color); }
.microcopy { font-size: 0.85rem; color: var(--gray-color); margin-top: 8px; font-style: italic; }
.hero-image { flex: 0.8; }
.hero-image img { width: 100%; border-radius: var(--border-radius); box-shadow: 20px 20px 60px rgba(0,0,0,0.1); max-width: 450px; }

/* Botones */
.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: 0.3s; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--dark-color); border: 1px solid var(--light-gray); }

/* =============================================
   PROBLEMA Y TEXTOS ENFOCADOS
   ============================================= */
.texto-enfasis { max-width: 850px; margin: 0 auto; text-align: center; font-size: 1.1rem; }
.section-header p { max-width: 800px; margin: 0 auto 20px; }

/* =============================================
   GRIDS Y TARJETAS
   ============================================= */
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.servicio-card { background: #fff; padding: 35px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); text-align: center; border: 1px solid var(--light-gray); transition: 0.3s; }
.servicio-card:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.servicio-card.simple { text-align: left; border-left: 4px solid var(--primary-color); padding: 30px; }
.servicio-card.simple p { margin-bottom: 0; }

/* =============================================
   SECCIÓN SÍ / NO
   ============================================= */
.growth-engine-container { display: flex; gap: 0; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); margin-top: 30px; border: 1px solid var(--light-gray); }
.growth-column { flex: 1; display: flex; flex-direction: column; }
.growth-header { padding: 20px; font-weight: 700; text-align: center; color: #fff; }
.si .growth-header { background-color: var(--primary-color); }
.no .growth-header { background-color: var(--dark-color); }
.growth-cell { background: #fff; padding: 25px; border-bottom: 1px solid var(--light-gray); flex-grow: 1; text-align: left; }
.growth-cell:last-child { border-bottom: none; }
.growth-cell strong { display: block; margin-bottom: 5px; color: var(--primary-color); }
.no .growth-cell strong { color: #e11d48; }

/* =============================================
   TIMELINE PROCESO
   ============================================= */
.proceso-timeline { max-width: 850px; margin: 0 auto; }
.proceso-item { display: flex; gap: 25px; margin-bottom: 35px; text-align: left; }
.proceso-numero { background: var(--primary-color); color: #fff; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.proceso-content { background: var(--secondary-color); padding: 25px; border-radius: var(--border-radius); flex: 1; }

/* =============================================
   DIAGNÓSTICO PREMIUM (FICHA DE SERVICIO)
   ============================================= */
.diagnostico-premium { background: #fff; border: 2px solid var(--primary-color); border-radius: 20px; padding: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.badge { background: var(--primary-color); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 15px; display: inline-block; }

.diagnostico-tabla-container { display: flex; flex-direction: column; margin: 30px 0; border: 1px solid var(--light-gray); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.03); }

/* Fila de cabecera (Escritorio) */
.diag-header-row { display: flex; background: var(--dark-color); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.diag-body-row { display: flex; background: #fff; }

.diag-col { flex: 1; padding: 40px; text-align: left; }

/* Diferenciación visual del resultado */
.bg-resultado {
    background-color: #f7fbea !important; /* Tu nuevo verde secundario */
    border-left: 2px solid var(--primary-color) !important;
}
.mobile-only-label { display: none; } /* Oculto en escritorio */

/* Listado con iconos */
.servicio-features { list-style: none; padding: 0; }
.servicio-features li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px; font-size: 0.95rem; line-height: 1.5; }
.servicio-features i { color: var(--primary-color); font-size: 1.1rem; margin-top: 3px; width: 25px; text-align: center; flex-shrink: 0; }
.servicio-features strong { display: block; color: var(--dark-color); margin-bottom: 2px; }

/* Rejilla de encaje (Grid inferior) */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 40px 0; }
.detalle-card { background: #f8fafc; padding: 25px; border-radius: 10px; text-align: left; }
.detalle-card h4 { margin-bottom: 15px; color: var(--primary-color); border-bottom: 1px solid var(--light-gray); padding-bottom: 10px; font-size: 1.1rem; }
.mini-list { list-style: none; font-size: 0.9rem; }
.mini-list li { margin-bottom: 8px; padding-left: 15px; position: relative; }
.mini-list li::before { content: '•'; position: absolute; left: 0; color: var(--gray-color); }

.diagnostico-cta { text-align: center; }

/* =============================================
   CLIENTES Y LOGOS
   ============================================= */
.clientes { background-color: var(--secondary-color); text-align: center; }
.mini-bullets { display: flex; justify-content: center; gap: 30px; list-style: none; font-weight: 600; font-size: 0.9rem; margin: 20px 0; color: var(--primary-dark); }
.mini-bullets li::before { content: '✓ '; }
.clientes-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; margin-top: 40px; }
.cliente-logo img { height: 45px; width: auto; filter: grayscale(100%); opacity: 0.5; transition: 0.3s; }
.cliente-logo:hover img { filter: grayscale(0); opacity: 1; }

/* =============================================
   FAQ Y ACORDEÓN
   ============================================= */
.accordion-container { max-width: 800px; margin: 0 auto; text-align: left; }
.accordion-item { border-bottom: 1px solid var(--light-gray); }
.accordion-header { width: 100%; padding: 20px; background: none; border: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 600; cursor: pointer; text-align: left; font-family: inherit; }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.3s ease-out; }
.accordion-item.active .accordion-content { max-height: 500px; padding-bottom: 20px; }
.accordion-item.active .accordion-header { color: var(--primary-color); }

/* =============================================
   CONTACTO Y FOOTER
   ============================================= */
.contact-container { max-width: 650px; margin: 0 auto; background: #fff; padding: 40px; border-radius: var(--border-radius); border: 1px solid var(--light-gray); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid var(--light-gray); border-radius: 8px; font-family: inherit; font-size: 1rem; }
.footer { padding: 40px 0; text-align: center; background: #f8fafc; border-top: 1px solid var(--light-gray); color: var(--gray-color); font-size: 0.85rem; }

/* =============================================
   RESPONSIVE (MÓVIL)
   ============================================= */
@media (max-width: 768px) {
    /* Hacer visible el botón hamburguesa */
    .menu-toggle {
        display: flex !important; /* Forzamos que se vea */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1100; /* Por encima de todo */
        position: relative;
    }

    /* Dibujar las 3 barritas */
    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--primary-color); /* Color verde */
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Menú lateral que aparece */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 30px;
    }

    .nav-menu.active {
        right: 0; /* Se muestra */
    }

    /* Animación de la hamburguesa a X cuando se abre */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* --- Sección Quién está detrás --- */
.quien-detras {
    padding: 30px 0; /* Menos aire vertical */
    background-color: #fff;
    border-bottom: 1px solid var(--light-gray);
}

.quien-card {
    display: flex;
    align-items: center; /* Centrado vertical con la foto */
    max-width: 800px;
    margin: 0 auto;
    gap: 25px;
}

.quien-foto img {
    width: 90px;  /* Tamaño medio/pequeño */
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Que no se deforme */
    filter: grayscale(20%); /* Un toque sobrio */
}

.quien-info {
    text-align: left;
}

.quien-pre {
    display: block;
    font-size: 0.65rem; /* Muy pequeño y discreto */
    letter-spacing: 1.2px;
    color: var(--gray-color);
    margin-bottom: 2px;
    font-weight: 500;
}

.quien-nombre {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
    line-height: 1;
}

.quien-texto {
    font-size: 0.95rem; /* Tamaño normal */
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 8px;
    font-style: normal; /* Sin cursivas */
}

.quien-tags {
    font-size: 0.75rem;
    font-weight: 600; /* Semibold */
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .quien-detras {
        padding: 25px 0;
    }
    .quien-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .quien-info {
        text-align: center;
    }
    .quien-foto img {
        width: 80px;
        height: 80px;
    }
}

/* Estilos para el nuevo Hero centrado */
.hero-new {
    padding: 100px 0 80px 0;
	padding-top: 140px; /* Espacio arriba para el menú fijo */
    padding-bottom: 40px !important; /* Reducimos mucho el espacio de abajo (antes era 80px o 100px) */
    background-color: #f9fbfd; /* Un fondo muy ligero para dar limpieza */
    text-align: center;
}

.hero-central-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-new h1 {
    font-size: 3.8rem; /* Tamaño grande impacto */
    line-height: 1.1;
    color: #1a2b3c;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-new h1 span {
    color: var(--primary-color); /* El verde de tu marca para resaltar */
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Contenedor de las dos cajas */
.rutas-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.ruta-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    text-align: left;
    border-top: 6px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.ruta-card:hover {
    transform: translateY(-5px);
}

.ruta-badge {
    display: inline-block;
    background: #e8f5f0;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.ruta-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a2b3c;
}

.ruta-card p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: #666;
    line-height: 1.5;
}

.ruta-card .btn {
    width: 100%;
    display: block;
    text-align: center;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .hero-new h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .ruta-card {
        padding: 25px;
    }
}

/* ================================================= */
/* ARREGLOS PARA LA SECCIÓN "NUESTRA FILOSOFÍA"       */
/* ================================================= */

/* Hace que el título y subtítulo del encabezado sean blancos */
.estadisticas .section-header h2,
.estadisticas .section-header p {
    color: #ffffff;
}

/* Hace que los títulos de cada pilar (Enfoque, Transparencia...) sean blancos */
.estadisticas .estadistica-item h3 {
    color: #ffffff;
    margin-top: 1rem; /* Añade un poco de espacio sobre el texto */
}

/* Hace que el texto descriptivo de cada pilar sea un blanco un poco más suave */
.estadisticas .estadistica-item p {
    color: #f0f0f0; 
}

/* Estilo opcional para los iconos, para asegurar que sean blancos y grandes */
.estadisticas .estadistica-icono i {
    color: #ffffff;
    font-size: 2.5rem; /* Aumenta el tamaño del icono si quieres */
    margin-bottom: 1rem;
}

/* Estadísticas */
.estadisticas {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.estadistica-numero {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.estadistica-texto {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =============================================
   ESTILOS HERO CENTRADO (HOME STYLE)
   ============================================= */
.hero-new {
    padding: 160px 0 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}
.hero-central-content { max-width: 950px; margin: 0 auto; }
.hero-new h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero-new h1 span { color: var(--primary-color); }

.hero-subtitle {
    font-size: 1.3rem; color: var(--text-color);
    max-width: 800px; margin: 0 auto 50px auto;
}

.rutas-container {
    display: flex; gap: 30px; justify-content: center;
    margin-top: 20px; flex-wrap: wrap;
}

.ruta-card {
    background: #fff; padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    text-align: left; border-top: 8px solid var(--primary-color);
    transition: all 0.3s ease;
}

.ruta-badge {
    display: inline-block; background: var(--secondary-color);
    color: var(--primary-color); padding: 6px 14px; border-radius: 6px;
    font-weight: 800; font-size: 0.8rem; text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-bullets li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-new { padding-top: 120px; }
    .hero-new h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .ruta-card { padding: 25px; }
}


/* =============================================
   UNIFICACIÓN DE HEADER (Logo e Icono)
   ============================================= */
.logo a {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 45px !important; /* Mismo tamaño que en la Home */
    width: auto;
    display: block;
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark-color);
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text span {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Altura cómoda para el header */
}

/* Ajuste para que el botón de contacto no pierda el estilo */
.btn-contacto {
    background: var(--primary-color) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo img {
        height: 35px !important;
    }
    .logo-text {
        font-size: 1.1rem;
    }
}

/* =============================================
   FOOTER UNIFICADO (PROFESIONAL)
   ============================================= */
.footer {
    background-color: #1e293b; /* El azul oscuro de tu marca */
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer h3 {
    color: white !important;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a:hover {
    color: white !important;
    padding-left: 5px;
    transition: 0.3s;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    .footer-logo a {
        justify-content: center;
    }
}

/* =============================================
   FOOTER PROFESIONAL (FIX TOTAL)
   ============================================= */
.footer {
    background-color: #1a2b3c; /* Azul oscuro corporativo */
    color: #ffffff;
    padding: 80px 0 40px;
}

/* Grid de 4 columnas */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Estilo del Logo en el Footer */
.footer-logo-wrapper a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-wrapper img {
    height: 35px;
    width: auto;
}

.footer-logo-wrapper .logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.3rem;
}

.footer-logo-wrapper .logo-text span {
    color: var(--primary-color);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Títulos de las columnas */
.footer h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Listas sin puntos y enlaces blancos */
.footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer ul li {
    margin-bottom: 12px;
    padding-left: 0 !important; /* Elimina cualquier padding heredado */
}

.footer ul li::before {
    content: none !important; /* Elimina puntos o iconos heredados */
}

.footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer a:hover {
    color: #ffffff !important;
}

/* Iconos de contacto */
.contact-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--primary-color);
}

/* Barra inferior legal */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Ajustes móvil */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logo-wrapper a, .contact-item {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   REGLAS MÓVIL RUTA A (campanas_activas_styles.css)
   ============================================= */
@media (max-width: 768px) {
    /* La tabla de diagnóstico: convertimos filas en bloques uno bajo otro */
    .diag-header-row { display: none !important; } /* Escondemos la cabecera oscura */
    .diag-body-row { flex-direction: column !important; }
    
    .diag-col { 
        padding: 25px !important; 
        border-left: none !important; 
    }
    
    .bg-resultado { 
        border-top: 4px solid var(--primary-color) !important; 
        background-color: #f7fbea !important;
    }

    /* Mostrar etiquetas que solo se ven en móvil */
    .mobile-only-label { 
        display: block !important; 
        font-weight: 800 !important; 
        color: var(--primary-color) !important; 
        margin-bottom: 20px !important;
        text-transform: uppercase;
        font-size: 0.8rem;
    }

    /* Caja del problema */
    .problema-container div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

.servicio-card.simple p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px !important;
}

.servicio-card.simple strong {
    font-weight: 700;
    color: var(--dark-color);
}