/* RESET Y VARIABLES GENERALES */

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v51-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v51-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v51-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

h1, h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* CORRECCIÓN 1: LOGOTIPO AL 70% */
.logo img {
    max-width: 120px;
    height: auto;
}

/* HERO SECTION (Centrado) */
.hero-section {
    text-align: center;
    background-color: #F8F9FA;
}

.hero-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-section h1 {
    text-align: center;
    margin-bottom: 20px;
}

.hero-section p {
    text-align: center;
    margin-bottom: 30px;
}

/* SECCIÓN CARACTERÍSTICAS CENTRADAS (3 Puntos clave) */
.features-highlight-section {
    background-color: #FFFFFF;
}
.features-centered-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}
.features-centered-list li {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-icon {
    color: #5FA052;
    font-weight: bold;
    font-size: 1.4rem;
}

/* BOTONES GLOBALES */
.btn-primary, 
.article-content .btn-primary,
.cobertura-text .btn-primary,
.hero-section .btn-primary {
    display: inline-block;
    background-color: #1a1a1a;
    color: #FFFFFF;
    padding: 6px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s;
    margin-top: 15px;
    width: auto;
}

.btn-primary:hover {
    background-color: #333333;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #5FA052;
    color: #FFFFFF;
    padding: 6px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

/* HEADER Y NAVEGACIÓN */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: #FFFFFF;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
.desktop-nav a {
    text-decoration: none;
    color: #555555;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: #111111;
}
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.hamburger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #222222;
}

/* MENÚ MÓVIL PANTALLA COMPLETA */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background-color: #F8F9FA;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav ul {
    list-style: none;
    text-align: center;
}
.mobile-nav li {
    margin: 20px 0;
}
.mobile-link {
    text-decoration: none;
    font-size: 1.5rem;
    color: #222222;
    font-weight: 600;
}
.close-menu-btn {
    position: absolute;
    bottom: 50px;
    background: none;
    border: 2px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTROL DE ESPACIADOS Y FONDOS (Alternados) */
section.hero-section,
section.features-highlight-section,
article.generator-article,
section.asesoria-section,
section.cobertura-section,
section.casos-section,
section.marcas-section,
section.privacy-section {
    padding: 80px 0 !important;
}

.hero-section,
.generator-article:nth-child(even),
.asesoria-section,
.casos-section {
    background-color: #F8F9FA !important;
}

.generator-article:nth-child(odd),
.cobertura-section,
.features-highlight-section,
.marcas-section,
.privacy-section {
    background-color: #FFFFFF !important;
}

.asesoria-section {
    text-align: center;
}

.casos-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* ESTILOS AVISO DE PRIVACIDAD (Con el ancho y separación original que te gustaba) */
.privacy-section {
    background-color: #FFFFFF;
}
.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}
.privacy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #222222;
    text-align: left;
}
.privacy-container h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #222222;
}
.privacy-container p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333333;
}
.privacy-container ul, .privacy-container ol {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 20px;
    color: #333333;
}
.privacy-container li {
    margin-bottom: 12px;
}
.privacy-container a {
    color: #222222;
    text-decoration: underline;
}
/* ==========================================
   ESTILOS SECCIÓN CARACTERÍSTICAS CLAVE
   ================================---------- */
section.features-highlight-section {
    padding: 80px 0 !important;
    background-color: #FFFFFF !important;
}

.features-centered-list {
    list-style: none !important; /* Elimina los puntos o viñetas por defecto */
    margin: 0 auto;
    padding: 0;
    max-width: 750px; /* Ancho perfecto para lectura centrada */
    text-align: left;
}

.features-centered-list li {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-centered-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    color: #5FA052 !important; /* Color verde exacto del botón de WhatsApp */
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ESTILOS SECCIÓN DE MARCAS (Con etiqueta superior azulada/elegante) */
.section-tag {
    display: inline-block;
    color: #5FA052!important; /* Color naranja solicitado */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.marcas-section h2 {
    font-size: 2.2rem;
    color: #222222;
    margin-bottom: 30px;
}
.marcas-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.marca-item img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8) !important;
    opacity: 0.7;
    transition: filter 0.3s;
}
.marca-item img:hover {
    filter: grayscale(0%) brightness(1) !important;
    opacity: 1;
}

/* CORRECCIÓN ESTRICTA DE IMÁGENES (344x232px) */
.article-image,
.cobertura-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-image img,
.cobertura-img img {
    width: 344px !important;
    height: 232px !important;
    min-width: 344px !important;
    min-height: 232px !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 8px;
    display: block;
}

/* ZIGZAG GRID */
.zigzag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.zigzag-reverse .article-image {
    order: 2;
}
.zigzag-reverse .article-content {
    order: 1;
}
.article-content ul {
    list-style: none;
    margin: 20px 0;
}
.article-content li {
    margin-bottom: 10px;
}

/* COBERTURA GRID (2 Columnas) */
.cobertura-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

/* CASOS DE ÉXITO (3 Columnas) */
.casos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.caso-card {
    background: #FFFFFF;
    font-size: 1.3rem;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.caso-autor {
    font-weight: bold;
    font-size: 1rem;
}
.caso-giro {
    font-size: 1rem;
}

/* CORRECCIÓN DEL LOGO EN EL FOOTER */
.footer-col .footer-logo,
.footer-col img {
    max-width: 70px;
    height: auto;
    margin-bottom: 15px;
}

/* FOOTER */
.site-footer {
    background-color: #1a1a1a;
    color: #CCCCCC;
    padding: 60px 0 20px 0;
    font-size: 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.footer-col ul {
    list-style: none;
}
.footer-col a {
    color: #CCCCCC;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}
.cookie-bar {
    border-top: 1px solid #333;
    padding-top: 20px;
}
.cookie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
}
.cookie-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* MEDIA QUERIES MOBILE */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
    .zigzag-grid, .cobertura-grid, .casos-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .zigzag-reverse .article-image {
        order: 0;
    }
    .zigzag-reverse .article-content {
        order: 0;
    }
    .cobertura-img {
        text-align: center;
    }
    .cookie-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .article-image img,
    .cobertura-img img {
        width: 100% !important;
        height: auto !important;
        min-width: auto !important;
        min-height: auto !important;
        max-width: 344px !important;
    }
}

@media (max-width: 768px) {
    .marcas-grid {
        gap: 15px;
    }
    .marca-item img {
        max-height: 35px !important;
        width: auto !important;
    }
    .btn-whatsapp, 
    .asesoria-section .btn-whatsapp {
        background-color: #5FA052 !important;
        padding: 10px 24px !important;
        font-size: 1rem !important;
        width: 100%;
        max-width: 280px;
        margin: 15px auto 0 auto;
        display: block;
    }
    h1, h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    .logo img {
        max-width: 105px !important;
    }
    .footer-col .footer-logo,
    .footer-col img {
        max-width: 70px !important;
    }
}

@media (max-width: 900px) {
    .cobertura-grid {
        display: flex;
        flex-direction: column;
    }
    .cobertura-img {
        order: 1;
        margin-bottom: 20px;
    }
    .cobertura-text {
        order: 2;
        text-align: center;
    }
}


/* ==========================================
   ESTILOS SECCIÓN DE PREGUNTAS FRECUENTES (FAQ)
   ================================---------- */
section.faq-section {
    padding: 80px 0 !important;
    background-color: #F8F9FA !important; /* Fondo alternado limpio */
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #222222;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-left: 4px solid #5FA052; /* Toque elegante con el verde corporativo */
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #222222;
    margin-bottom: 12px;
    font-weight: 700;
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 0;
}

/* RESPONSIVE PARA MÓVIL EN FAQ */
@media (max-width: 768px) {
    .faq-item {
        padding: 20px;
    }
    .faq-item h3 {
        font-size: 1.1rem;
    }
    .faq-item p {
        font-size: 1rem;
    }
}

/* ==========================================
   ESTILOS SECCIÓN TABLA DE CAPACIDADES (Centrada y con Scroll Móvil Limpio)
   ================================---------- */
section.tabla-capacidades-section {
    padding: 80px 0 !important;
    background-color: #FFFFFF !important;
    text-align: center; /* Centra todo el contenido de la sección */
}

.tabla-capacidades-section h2 {
    text-align: center !important; /* Forzamos el centrado del H2 */
    font-size: 2.2rem;
    color: #222222;
    margin-bottom: 15px;
}

.tabla-nota {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #555555;
}

/* Contenedor responsivo centrado con scroll horizontal nativo */
.table-responsive-wrapper {
    max-width: 1000px; /* Limita el ancho en escritorio para que luzca estético y centrado */
    margin: 0 auto;    /* Centra la tabla en la pantalla */
    overflow-x: auto;  /* Habilita el desplazamiento horizontal fluido en móvil */
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.capacities-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    text-align: center; /* Centra los datos dentro de las celdas para mayor orden visual */
    min-width: 650px;   /* Evita que se aplaste en pantallas chicas y activa el scroll horizontal */
}

.capacities-table th, 
.capacities-table td {
    padding: 16px 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid #EAEAEA;
}

.capacities-table th {
    background-color: #1a1a1a;
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
}

.capacities-table tr:hover {
    background-color: #F8F9FA;
}

.capacities-table tr:last-child td {
    border-bottom: none;
}

/* ==========================================
   ESPACIADO IDEAL PARA PÁGINA DE PROCESOS
   ================================---------- */
.process-content-section {
    padding: 80px 0 !important;
    background-color: #FFFFFF !important;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

/* Espaciado generoso entre cada punto del proceso */
.process-container h2 {
    font-size: 1.8rem;
    margin-top: 50px;    /* Amplía el espacio superior respecto al texto anterior */
    margin-bottom: 15px; /* Separa cómodamente el título de su párrafo */
    color: #222222;
}

.process-container h2:first-of-type {
    margin-top: 0;       /* El primer título no lleva margen superior extra */
}

.process-container p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333333;
}

.process-container ul {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 25px; /* Espacio limpio antes de que empiece el siguiente número */
    padding-left: 20px;
    color: #333333;
}

.process-container li {
    margin-bottom: 10px;
}

/* ==========================================
   ESTILOS PÁGINA DE CONTACTO
   ================================---------- */
section.contact-info-section {
    padding: 80px 0 !important;
    background-color: #FFFFFF !important;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.2rem;
    color: #222222;
    margin-bottom: 15px;
}

.contact-intro {
    font-size: 1.2rem;
    color: #555555;
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.contact-card {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: left;
    border-top: 4px solid #1a1a1a;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #222222;
    margin-bottom: 20px;
    text-align: center;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333333;
}

.contact-list li strong {
    color: #111111;
}

.contact-list a {
    color: #5FA052;
    text-decoration: underline;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 25px;
    }
    .contact-list li {
        font-size: 1.05rem;
    }
}

/* ==========================================
   ESTILOS SECCIÓN DE PASOS DE PROCESO
   ================================---------- */
section.process-steps-section {
    padding: 80px 0 !important;
    background-color: #FFFFFF !important;
}

.process-steps-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #222222;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #F8F9FA;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: center;
    border-top: 4px solid #5FA052;
}

.step-card span {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #5FA052;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.5rem;
    color: #222222;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 1.3rem;
    color: #555555;
    margin-bottom: 0;
    line-height: 1.6;
}
/* ==========================================
   ESTILOS PARA ICONOS DE SERVICIO TÉCNICO
   ================================---------- */
.service-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.service-svg-icon {
    width: 120px;
    height: 120px;
    color: #5FA052; /* Color elegante acorde a la línea gráfica */
    stroke-width: 1.2px;
    transition: transform 0.3s ease;
}

.service-icon-container:hover .service-svg-icon {
    transform: scale(1.05); /* Sutil efecto de aumento al pasar el cursor */
    color: #5FA052;     /* Tinte verde corporativo sutil al pasar el mouse */
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}