/* =========================================
   1. VARIABLES Y RESET GENERAL
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@700;800&display=swap');

:root {
  --azul-confianza: #0047b3;
  --verde-limpieza: #00bfa5;
  --blanco: #FFFFFF;
  --gris-oscuro: #0a111f;
  --fuente-titulos: 'Montserrat', sans-serif;
  --fuente-cuerpo: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--fuente-cuerpo); color: #333; overflow-x: hidden; width: 100%; }

/* =========================================
   2. NAVEGACIÓN Y HEADER
   ========================================= */
#header-component { width: 100%; display: block; background: white; position: relative; z-index: 1000; }
.top-bar { background: var(--azul-confianza); color: white; padding: 10px; text-align: center; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.main-header { background: white; width: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
.logo img { height: 75px; display: block; }
.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: #1E1E1E; font-weight: 700; font-family: var(--fuente-titulos); font-size: 14px; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--azul-confianza); }
.btn-nav-contacto { background: var(--azul-confianza); color: white !important; padding: 10px 20px; border-radius: 5px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 30px; height: 3px; background: var(--azul-confianza); display: block; transition: 0.3s; }
.btn-cerrar, .mobile-logo-img { display: none; }

/* =========================================
   3. HERO SECTION (PORTADA INICIO)
   ========================================= */
.hero { position: relative; width: 100%; height: 85vh; display: flex; align-items: center; background-image: linear-gradient(to right, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.1) 80%), url('../img/Hero_Ochoa.SAS.webp'); background-size: cover; background-position: center 20%; color: white; }
.intro-title { width: 100%; padding: 80px 20px 30px; text-align: center; background-color: var(--blanco); }
.title-container { max-width: 1200px; margin: 0 auto; }
.intro-title h2 { font-family: var(--fuente-titulos); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.3; }
.text-blue { color: var(--azul-confianza); }
.text-dark { color: var(--gris-oscuro); }

/* =========================================
   4. SECTORES (GRID INICIO)
   ========================================= */
.sectores-servicio { width: 100%; padding: 0 20px 80px; background-color: var(--blanco); }
.contenedor-sectores { max-width: 1200px; margin: 0 auto; }
.subtitulo-sectores { text-align: center; font-size: 1.15rem; font-weight: 600; color: #555; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.grid-sectores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.item-sector { display: flex; align-items: center; gap: 15px; }
.icono-sector { background-color: var(--verde-limpieza); color: var(--blanco); min-width: 65px; height: 65px; border-radius: 12px; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 6px rgba(0, 191, 165, 0.2); transition: transform 0.3s ease; }
.item-sector:hover .icono-sector { transform: scale(1.05); }
.icono-sector svg { width: 32px; height: 32px; }
.texto-sector { font-size: 0.95rem; line-height: 1.4; color: #444; }
.texto-sector strong { font-family: var(--fuente-titulos); color: var(--azul-confianza); display: block; margin-bottom: 2px; font-size: 1.05rem; }

/* =========================================
   5. CARACTERÍSTICAS (INICIO)
   ========================================= */
.caracteristicas-servicio { width: 100%; padding: 80px 20px; background-color: #f8f9fa; }
.caracteristicas-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.caracteristicas-texto h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 3vw, 2.5rem); color: var(--gris-oscuro); margin-bottom: 35px; }
.lista-caracteristicas { list-style: none; }
.lista-caracteristicas li { margin-bottom: 25px; font-size: 1rem; line-height: 1.6; color: #555; position: relative; padding-left: 20px; border-left: 3px solid var(--verde-limpieza); }
.lista-caracteristicas li strong { display: block; font-family: var(--fuente-titulos); color: var(--azul-confianza); font-size: 1.1rem; margin-bottom: 5px; }
.caracteristicas-imagen img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block; }

/* =========================================
   6. CTA (LLAMADO A LA ACCIÓN)
   ========================================= */
.cta-section { background-color: var(--azul-confianza); color: var(--blanco); padding: 80px 20px; text-align: center; }
.cta-container { max-width: 800px; margin: 0 auto; }
.cta-section h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 20px; font-weight: 800; line-height: 1.2; }
.cta-section p { font-size: 1.15rem; line-height: 1.6; margin-bottom: 35px; opacity: 0.95; }
.btn-cta { background-color: var(--verde-limpieza); color: var(--blanco); padding: 18px 40px; border-radius: 5px; text-decoration: none; font-weight: 800; display: inline-block; text-transform: uppercase; font-family: var(--fuente-titulos); transition: transform 0.3s; box-shadow: 0 4px 15px rgba(0, 191, 165, 0.4); }
.btn-cta:hover { transform: scale(1.05); }

/* =========================================
   7. BLOG Y ARTÍCULOS
   ========================================= */
.blog-preview, .blog-page-section { background-color: var(--blanco); padding: 80px 20px; }
.blog-container { max-width: 1200px; margin: 0 auto; }
.blog-header { text-align: center; margin-bottom: 50px; }
.blog-header h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; }
.blog-header p { color: #555; font-size: 1.1rem; margin-top: 10px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.blog-card { background: var(--blanco); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.blog-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-categoria { display: inline-block; background-color: rgba(0, 71, 179, 0.1); color: var(--azul-confianza); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-bottom: 10px; align-self: flex-start; text-transform: uppercase; }
.blog-content h3 { font-family: var(--fuente-titulos); color: var(--gris-oscuro); font-size: 1.2rem; margin-bottom: 15px; line-height: 1.3; }
.blog-content p { font-size: 0.95rem; color: #666; line-height: 1.5; margin-bottom: 20px; flex-grow: 1; }
.blog-link { color: var(--azul-confianza); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s; margin-top: auto; }
.blog-link:hover { color: var(--verde-limpieza); }
.btn-ver-mas { border: 2px solid var(--azul-confianza); color: var(--azul-confianza); padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: 700; text-transform: uppercase; transition: all 0.3s; display: inline-block; font-family: var(--fuente-titulos); }
.btn-ver-mas:hover { background-color: var(--azul-confianza); color: var(--blanco); }

/* Artículos Individuales */
.articulo-completo { background-color: var(--blanco); padding-bottom: 80px; }
.articulo-header { padding: 80px 20px 40px; text-align: center; max-width: 800px; margin: 0 auto; }
.articulo-header h1 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 4vw, 3rem); color: var(--gris-oscuro); margin: 20px 0; line-height: 1.2; }
.articulo-meta { color: #888; font-size: 0.9rem; margin-top: 15px; }
.articulo-imagen-principal { max-width: 1000px; margin: 0 auto 50px; padding: 0 20px; }
.articulo-imagen-principal img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block; }
.articulo-contenido { max-width: 750px; margin: 0 auto; padding: 0 20px; font-size: 1.1rem; line-height: 1.8; color: #444; }
.articulo-contenido .lead-text { font-size: 1.25rem; color: #333; margin-bottom: 40px; }
.articulo-contenido h2 { font-family: var(--fuente-titulos); color: var(--azul-confianza); font-size: 1.8rem; margin: 40px 0 20px; }
.articulo-contenido p { margin-bottom: 20px; }
.articulo-destacado { background-color: #f0f7ff; border-left: 4px solid var(--azul-confianza); padding: 20px; margin: 40px 0; font-style: italic; border-radius: 0 8px 8px 0; }
.articulo-cta { background-color: var(--gris-oscuro); color: white; padding: 40px; border-radius: 12px; text-align: center; margin-top: 60px; }
.articulo-cta h3 { font-family: var(--fuente-titulos); font-size: 1.5rem; margin-bottom: 15px; }
.articulo-cta p { margin-bottom: 25px; color: #ccc; }

/* =========================================
   8. FOOTER (PIE DE PÁGINA)
   ========================================= */
.footer-ochoa { background-color: var(--gris-oscuro); color: white; padding: 70px 20px 30px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-logo-white { height: 85px; margin-bottom: 20px; }
.footer-title { color: var(--azul-confianza); font-family: var(--fuente-titulos); margin-bottom: 25px; font-size: 16px; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: white; text-decoration: none; font-size: 15px; transition: 0.3s; }
.footer-links a:hover { color: var(--azul-confianza); }
.contact-info p { font-size: 14px; line-height: 2; }
.footer-separator { height: 1px; background: rgba(255,255,255,0.1); margin: 40px auto; max-width: 1200px; }
.footer-bottom { text-align: center; }
.legal-menu a { color: #888; text-decoration: none; margin: 0 10px; font-size: 13px; }
.copyright-text { margin-top: 15px; font-size: 13px; font-weight: bold; }

/* =========================================
   9. PÁGINA NOSOTROS
   ========================================= */
.page-hero { background-color: var(--gris-oscuro); background-image: linear-gradient(rgba(10, 17, 31, 0.9), rgba(10, 17, 31, 0.9)), url('../img/Hero_Ochoa.SAS.webp'); background-size: cover; background-position: center; height: 40vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 0 20px; }
.page-hero-content h1 { font-family: var(--fuente-titulos); font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 10px; font-weight: 800; }
.page-hero-content p { font-size: 1.1rem; color: #ddd; }

.historia-section { padding: 80px 20px; background-color: var(--blanco); }
.historia-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.historia-texto h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 3vw, 2.5rem); color: var(--gris-oscuro); margin-bottom: 25px; }
.historia-texto p { font-size: 1.05rem; line-height: 1.7; color: #555; margin-bottom: 20px; }
.historia-imagen img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.mision-vision-section { padding: 80px 20px; background-color: #f8f9fa; }
.mv-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mv-card { background: var(--blanco); padding: 50px 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid var(--azul-confianza); }
.mv-icon { font-size: 3rem; margin-bottom: 20px; }
.mv-card h3 { font-family: var(--fuente-titulos); font-size: 1.8rem; color: var(--gris-oscuro); margin-bottom: 20px; }
.mv-card p { font-size: 1.05rem; line-height: 1.7; color: #555; }

.valores-section { padding: 80px 20px; background-color: var(--blanco); }
.valores-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.valores-header h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 4vw, 2.5rem); color: var(--gris-oscuro); margin-bottom: 15px; }
.valores-header p { font-size: 1.1rem; color: #666; }
.valores-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.valor-item { text-align: center; padding: 30px 20px; }
.valor-icono { background-color: var(--verde-limpieza); color: white; width: 80px; height: 80px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(0, 191, 165, 0.3); }
.valor-icono svg { width: 40px; height: 40px; }
.valor-item h4 { font-family: var(--fuente-titulos); font-size: 1.3rem; color: var(--gris-oscuro); margin-bottom: 15px; }
.valor-item p { font-size: 0.95rem; line-height: 1.6; color: #666; }

/* =========================================
   10. PÁGINA SERVICIOS
   ========================================= */
.servicios-intro { padding: 60px 20px 20px; background-color: var(--blanco); }
.servicios-intro-container { max-width: 800px; margin: 0 auto; text-align: center; }
.servicios-intro h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 3vw, 2.5rem); color: var(--gris-oscuro); margin-bottom: 20px; }
.servicios-intro p { font-size: 1.1rem; line-height: 1.7; color: #555; }

.servicios-catalogo { padding: 40px 20px 80px; background-color: var(--blanco); }
.catalogo-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.servicio-card-large { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #f8f9fa; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.servicio-card-large.reversa .sc-imagen { order: 2; }
.sc-imagen img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; display: block; }
.sc-contenido { padding: 40px; }
.sc-contenido h3 { font-family: var(--fuente-titulos); font-size: 1.8rem; color: var(--azul-confianza); margin-bottom: 20px; }
.sc-contenido p { font-size: 1.05rem; line-height: 1.6; color: #444; margin-bottom: 20px; }
.sc-contenido ul { list-style: none; padding-left: 0; }
.sc-contenido li { margin-bottom: 10px; position: relative; padding-left: 25px; color: #555; font-size: 0.95rem; }
.sc-contenido li::before { content: '✓'; position: absolute; left: 0; color: var(--verde-limpieza); font-weight: bold; }

.proceso-trabajo { padding: 80px 20px; background-color: var(--gris-oscuro); color: white; }
.proceso-header { text-align: center; margin-bottom: 60px; }
.proceso-header h2 { font-family: var(--fuente-titulos); font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 15px; }
.proceso-header p { font-size: 1.1rem; color: #bbb; }
.proceso-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.proceso-step { background: rgba(255,255,255,0.05); padding: 40px 30px; border-radius: 10px; text-align: center; border-top: 3px solid var(--azul-confianza); transition: transform 0.3s; }
.proceso-step:hover { transform: translateY(-10px); background: rgba(255,255,255,0.08); }
.step-numero { width: 60px; height: 60px; background: var(--verde-limpieza); color: white; font-family: var(--fuente-titulos); font-size: 1.5rem; font-weight: 800; display: flex; justify-content: center; align-items: center; border-radius: 50%; margin: 0 auto 20px; }
.proceso-step h4 { font-family: var(--fuente-titulos); font-size: 1.3rem; margin-bottom: 15px; }
.proceso-step p { font-size: 0.95rem; line-height: 1.6; color: #ccc; }

/* =========================================
   REGLAS GLOBALES ANTI-DESBORDE
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; width: 100%; position: relative; }

/* =========================================
   11. PÁGINA CONTACTO FINAL
   ========================================= */
.contacto-section { 
    padding: 60px 15px; 
    background-color: #f4f7fa; 
    width: 100%;
}

.contacto-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    width: 100%;
}

/* Info Izquierda */
.contacto-info h2 { font-size: 2.2rem; color: #333; margin-bottom: 20px; font-weight: 800; line-height: 1.1; }
.info-lista { list-style: none; margin-bottom: 25px; }
.info-lista li { margin-bottom: 12px; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.mapa-google { width: 100%; overflow: hidden; }

/* Formulario Corporativo */
.formulario-caja {
    background-color: #0047b3; 
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 71, 179, 0.2);
    width: 100%;
}

.formulario-caja h2 { color: white; text-align: center; margin-bottom: 25px; font-size: 1.5rem; }

.form-group { margin-bottom: 12px; width: 100%; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}
.form-group textarea { min-height: 80px; resize: none; }

/* Ajuste reCAPTCHA para móviles */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    width: 100%;
    overflow: hidden;
}
.g-recaptcha {
    transform: scale(0.85); /* Lo hace un poco más pequeño en móviles */
    transform-origin: center;
}

.btn-submit {
    width: 100%;
    background-color: #00e676; 
    color: #0047b3;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}
.btn-submit:hover { background-color: white; }

/* RESPONSIVE MÓVIL (ELIMINA ESPACIO BLANCO) */
@media (max-width: 900px) {
    .contacto-container { 
        grid-template-columns: 1fr; /* Una columna en móvil */
    }
    .contacto-info h2 { font-size: 1.8rem; }
    .contacto-section { padding: 40px 10px; }
}
/* =========================================
   12. PÁGINAS LEGALES
   ========================================= */
.legal-section { padding: 80px 20px; background-color: var(--blanco); min-height: 60vh; }
.legal-container { max-width: 900px; margin: 0 auto; line-height: 1.8; color: #444; }
.legal-container h1 { color: var(--azul-confianza); font-family: var(--fuente-titulos); font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #f0f0f0; }
.legal-container h2 { color: var(--gris-oscuro); font-family: var(--fuente-titulos); font-size: 1.4rem; margin-top: 40px; margin-bottom: 15px; }
.legal-container p, .legal-container ul { margin-bottom: 20px; font-size: 1rem; }
.legal-container ul { padding-left: 20px; }
.legal-container li { margin-bottom: 10px; }

/* =========================================
   13. WHATSAPP Y BANNER COOKIES
   ========================================= */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 100px; right: 25px; background-color: #25d366; color: #FFF; border-radius: 50px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 9999; display: flex; justify-content: center; align-items: center; text-decoration: none; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #20b858; }
.whatsapp-float svg { width: 35px; height: 35px; fill: currentColor; }

.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: rgba(10, 17, 31, 0.95); color: white; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; z-index: 9998; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); transform: translateY(100%); transition: transform 0.5s ease-in-out; }
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 0.9rem; margin-right: 20px; line-height: 1.5; }
.cookie-text a { color: var(--azul-confianza); text-decoration: underline; font-weight: bold; }
.cookie-btn { background-color: var(--verde-limpieza); color: white; border: none; padding: 12px 25px; border-radius: 5px; cursor: pointer; font-family: var(--fuente-titulos); font-weight: 700; white-space: nowrap; transition: background-color 0.3s; }
.cookie-btn:hover { background-color: #00a08a; }

/* =========================================
   14. RESPONSIVO (MÓVILES Y TABLETS)
   ========================================= */
@media (max-width: 992px) {
  /* Header y Menú Móvil */
  .menu-toggle { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: #1a1a1a; flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease; z-index: 2000; }
  .nav-links.active { right: 0; }
  .nav-links a { color: white; font-size: 20px; }
  .btn-cerrar { display: block; position: absolute; top: 20px; right: 30px; color: var(--azul-confianza); font-size: 50px; cursor: pointer; line-height: 1; }
  .mobile-logo-img { display: block; height: 90px; margin-bottom: 40px; }
  
  /* Secciones Generales */
  .hero { background-position: 70% center; text-align: center; }
  .intro-title h2 { font-size: 1.5rem; }
  .grid-sectores { grid-template-columns: repeat(2, 1fr); }
  .caracteristicas-container { grid-template-columns: 1fr; gap: 40px; }
  .caracteristicas-texto { order: 2; }
  .caracteristicas-imagen { order: 1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-column { display: flex; flex-direction: column; align-items: center; }

  /* Ajustes Nosotros y Servicios Tablet/Móvil */
  .historia-container { grid-template-columns: 1fr; text-align: center; }
  .historia-imagen { order: -1; }
  .mv-container { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .servicio-card-large { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .servicio-card-large.reversa .sc-imagen { order: -1; }
  .sc-contenido ul { display: inline-block; text-align: left; }
  .proceso-grid { grid-template-columns: 1fr; gap: 40px; }
  
  /* Ajustes Contacto y Blog */
  .contacto-container { grid-template-columns: 1fr; }
  .contacto-info { margin-bottom: 40px; }
  .articulo-header h1 { font-size: 2rem; }
  .articulo-contenido { padding: 0 20px; }
}

@media (max-width: 768px) {
  .grid-sectores { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; gap: 15px; padding: 20px; }
  .cookie-text { margin-right: 0; }
  .whatsapp-float { bottom: 90px; right: 20px; }
  /* NUEVO ESTILO FORMULARIO OCHOA */
.contacto-section { padding: 60px 20px; background: #f9f9f9; }
.contacto-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.formulario-caja {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.formulario-caja h2 { color: #0047b3; margin-bottom: 25px; font-size: 1.8rem; text-align: center; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: #444; font-size: 0.9rem; }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus { border-color: #0047b3; outline: none; }

.btn-submit {
    width: 100%;
    background: #28a745; /* Verde éxito */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover { background: #218838; transform: translateY(-2px); }

.recaptcha-container { display: flex; justify-content: center; margin: 20px 0; }

@media (max-width: 768px) {
    .contacto-container { grid-template-columns: 1fr; }
}
/* ===================================================
   PARCHE FINAL: AJUSTES MÓVIL Y ESPACIADOS CONTACTO
   =================================================== */

/* 1. SEPARAR LA LISTA (Ubicación, WhatsApp, Email) */
.info-lista li {
    margin-bottom: 25px !important; /* Da un buen espacio entre cada línea */
    line-height: 1.6 !important;
}

/* 2. ARREGLAR EL TEXTO "MENSAJE ADICIONAL" QUE CHOCA EN PC */
.form-group label {
    display: block !important; /* Obliga al texto a estar arriba de la caja, no al lado */
    margin-bottom: 8px !important;
}

/* 3. EVITAR QUE LOS CAMPOS SE SALGAN DE LA PANTALLA */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100% !important;
    box-sizing: border-box !important; /* El secreto para que el 100% no se pase del borde */
}

/* 4. FORZAR LOS MÁRGENES LATERALES EN CELULARES */
@media (max-width: 900px) {
    .contacto-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .formulario-caja {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100%;
        box-sizing: border-box;
    }
}
/* ===================================================
   REPARACIÓN DEFINITIVA: ESPACIOS, MENÚ Y MÓVILES
   =================================================== */

/* 1. DESPEGAR DE LA PARTE DE ARRIBA (Evitar que el menú lo tape) */
.contacto-section {
    padding-top: 140px !important; /* Empujón gigante hacia abajo */
    padding-bottom: 60px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* 2. FORZAR QUE NADA SE SALGA EN EL CELULAR */
.contacto-container {
    width: 100% !important;
    max-width: 100vw !important; 
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.formulario-caja {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 30px 15px !important; /* Márgenes internos más seguros para móvil */
    overflow: hidden !important;
}

/* 3. ARREGLAR LOS TEXTOS DEL FORMULARIO (Uno debajo del otro, siempre) */
.form-group {
    display: flex !important;
    flex-direction: column !important; /* Obliga a que el texto quede ARRIBA de la caja */
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
}

/* Las cajitas blancas del formulario no pueden pasarse del 100% */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 5px !important; /* Separación entre tu texto y la cajita */
}

/* 4. SEPARAR BIEN LA LISTA DE UBICACIÓN Y WHATSAPP */
.info-lista li {
    margin-bottom: 25px !important; /* Más espacio para que no se vean pegados */
    line-height: 1.5 !important;
    word-break: break-word !important; /* Si el correo es muy largo, lo corta para que no rompa el celular */
}
}