/* Global */ * { box-sizing: border-box; margin: 0; padding: 0; } /* Nuevo color de fondo inspirado en el logo */ body { font-family: "Oswald", sans-serif; background-color: #f4f6f8; color: #333; font-size: 16px; line-height: 1.6; overflow-x: hidden; } a { color: #007bff; text-decoration: none; transition: color 0.3s ease; } a:hover { color: #0056b3; } ul { list-style: none; } .container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; } /* --- ESTILOS DE LA BARRA DE NAVEGACI脫N MEJORADA --- */ .nav-main { position: sticky; top: 0; width: 100%; z-index: 1000; display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 15px 40px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, padding 0.3s ease; } .nav-scrolled { background-color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); height: 60px; padding: 10px 40px; } .nav-brand { width: 50px; transition: transform 0.3s ease; } .nav-brand:hover { transform: scale(1.05); } .nav-main ul { display: flex; } .nav-main ul li { padding: 10px 15px; } .nav-main ul li a { color: #333; font-weight: 500; position: relative; padding: 5px 0; transition: color 0.3s ease; } .nav-main ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; background-color: #007bff; transition: all 0.3s ease-out; transform: translateX(-50%); } .nav-main ul li a:hover { color: #007bff; } .nav-main ul li a:hover::after { width: 100%; } .nav-main ul.nav-menu { flex: 1; margin-left: 20px; justify-content: flex-end; } .nav-main ul.nav-menu li:nth-child(1) a { color: #007bff; } hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; } /* Responsive Button */ .menu-btn { cursor: pointer; position: fixed; top: 20px; right: 30px; z-index: 2; display: none; color: #333; } .menu-btn:hover { opacity: 0.7; } /* Follow */ .social { margin: 50px 0; padding: 30px 20px; background-color: #e9ecef; border-radius: 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); text-align: center; } .social p { font-size: 1.5em; margin-bottom: 20px; color: #555; } .links { display: flex; align-items: center; justify-content: center; } .links a { margin: 0 20px; background-color: #fff; border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; color: #333; font-size: 1.5rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease; } .links a:hover, .links a.hovered { background-color: #007bff; color: #fff; transform: scale(1.1); box-shadow: 0 5px 10px rgba(0, 123, 255, 0.3); } /* Links del Footer */ .main-footer { background: #343a40; color: #fff; padding: 40px 0; } .main-footer .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .main-footer h3 { color: #007bff; margin-bottom: 15px; font-size: 1.1em; border-bottom: 2px solid #007bff; padding-bottom: 5px; } .main-footer ul { padding: 0; list-style: none; } .main-footer ul li { margin-bottom: 10px; } .main-footer ul li a { color: #eee; text-decoration: none; transition: color 0.3s ease; } .main-footer ul li a:hover { color: #007bff; } .main-footer .footer-info { text-align: center; } .main-footer .footer-info img { max-width: 150px; height: auto; margin-bottom: 15px; } .main-footer .footer-info p { color: #ccc; line-height: 1.8; } .main-footer .footer-social a { color: #fff; font-size: 1.3rem; margin-right: 15px; transition: color 0.3s ease, transform 0.3s ease; } .main-footer .footer-social a:hover { color: #007bff; transform: translateY(-3px); } .footer-bottom { background: #212529; color: #999; padding: 15px 0; text-align: center; font-size: 0.9em; border-top: 1px solid #444; margin-top: 30px; } /* Mobil */ @media (max-width: 768px) { .menu-btn { display: block; } .menu-btn:hover { opacity: 0.7; } .nav-main ul.nav-menu { display: block; position: fixed; top: 0; left: -100%; background: #343a40; width: 60%; height: 100%; opacity: 0.95; padding: 40px; transition: transform 0.3s ease-in-out; } .nav-main ul.nav-menu.show { transform: translateX(100%); } .nav-main ul.nav-menu li { padding: 15px; border-bottom: #555 1px solid; } .nav-main ul.nav-menu li:last-child { border-bottom: none; } .nav-main ul.nav-menu-right { margin-right: 30px; } .news-cards { grid-template-columns: repeat(2, 1fr); } .cards-banner-one .content, .cards-banner-two .content { width: 80%; padding: 30px; } .main-footer .footer-container { grid-template-columns: 1fr; text-align: center; } .main-footer .footer-info, .main-footer .footer-contact, .main-footer .footer-links, .main-footer .footer-social { align-items: center; } .about-us-improved { flex-direction: column; text-align: center; } .about-us-image img { margin-bottom: 20px; } } @media (max-width: 500px) { .news-cards { grid-template-columns: 1fr; } .cards-banner-one .content, .cards-banner-two .content { width: 95%; padding: 20px; } } #whatsapp-button { position: fixed; bottom: 20px; right: 20px; z-index: 1000; } #whatsapp-button img { width: 50px; height: 50px; } /* carrusel de imagenes*/ .carousel { position: relative; width: 100%; max-width: 900px; height: 450px; margin: 20px auto 30px; overflow: hidden; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); } .slides { display: flex; height: 100%; transition: transform 0.5s ease-in-out; } .slides img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; } .nav-button { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.4); color: white; border: none; padding: 12px; cursor: pointer; font-size: 22px; z-index: 1; border-radius: 50%; transition: background-color 0.3s ease; } .prev { left: 15px; } .next { right: 15px; } .nav-button:hover { background-color: rgba(0, 0, 0, 0.7); } /* 馃實 Responsive */ @media (max-width: 768px) { .nav-button { padding: 10px; font-size: 18px; } } /* empresas que confien en nosotros*/ h2 { margin-bottom: 20px; color: #333; text-align: center; /* Centrado */ } .logo-carousel { overflow: hidden; position: relative; width: 100%; max-width: 2000px; margin: auto; } .logo-track { display: flex; width: calc(200px * 10); animation: scroll 20s linear infinite; } .logo { flex: 0 0 200px; display: flex; align-items: center; justify-content: center; padding: 10px; filter: grayscale(100%); transition: filter 0.3s; } .logo:hover { filter: grayscale(0%); } .logo img { max-width: 100%; max-height: 150px; } @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* Empresas del grupo */ .titulo { text-align: center; margin: 30px 0; } /* Ajustes a secciones internas */ .grid-container { display: flex; justify-content: center; gap: 25px; padding: 10px; flex-wrap: wrap; } .grid-item { background-color: #fff; border-radius: 10px; width: 250px; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); padding: 20px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; border: 1px solid #e9ecef; display: flex; flex-direction: column; align-items: center; position: relative; } .grid-item:hover { transform: translateY(-8px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); border-color: #007bff; } .logo-img { width: 100px; height: 100px; object-fit: contain; margin-bottom: 15px; } .grid-item p { font-weight: bold; font-size: 1.1em; color: #2f3640; margin-bottom: 10px; } .description { display: none; max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, padding 0.5s ease-out; margin-top: 10px; font-size: 0.9em; color: #555; background-color: #eef3ff; padding: 0 8px; border-radius: 6px; } .grid-item.active .description { display: block; max-height: 150px; padding: 8px; } .video-section { text-align: center; padding: 0; background: none; } .video-container { margin-top: 20px; overflow: hidden; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .video-container iframe { max-width: 100%; border: none; } /* ---------------------------------- */ /* NUEVOS ESTILOS PARA "ACERCA DE NOSOTROS" */ /* ---------------------------------- */ .about-us-improved { display: flex; align-items: center; gap: 40px; margin-top: 30px; background-color: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); margin-bottom: 30px; /* A脩ADIDO: Espacio inferior para separaci贸n */ } .about-us-image { flex: 1; min-width: 300px; } .about-us-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .about-us-container { flex: 1; display: flex; flex-direction: column; gap: 20px; } .about-us-item { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s ease; } .about-us-item.active { box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1); border-color: #007bff; } .about-us-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background-color: #f8f9fa; cursor: pointer; transition: background-color 0.3s ease; } .about-us-item.active .about-us-header { background-color: #007bff; color: #fff; } .about-us-header h3 { margin: 0; font-size: 1.2em; } .about-us-header i { transition: transform 0.3s ease; font-size: 1.1em; } .about-us-item.active .about-us-header i { transform: rotate(180deg); } .about-us-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; padding: 0 20px; } .about-us-item.active .about-us-content { max-height: 200px; padding: 20px; } .about-us-content p { margin: 0; color: #555; } /* Mobil */ @media (max-width: 768px) { .menu-btn { display: block; z-index: 1001; /* Asegurar que est茅 sobre el men煤 */ } .menu-btn:hover { opacity: 0.7; } .nav-main ul.nav-menu { display: block; position: fixed; top: 70px; /* Ajuste para que empiece debajo del nav */ /* Aqu铆 es donde se realiza la correcci贸n crucial */ left: auto; /* Desactivar la posici贸n left */ right: 0; /* Posicionar el men煤 en el lado derecho */ background: #343a40; width: 60%; height: auto; max-height: calc(100vh - 70px); overflow-y: auto; opacity: 0.95; padding: 20px; transform: translateX(100%); /* Ocultar el men煤 por defecto, movi茅ndolo fuera de la pantalla a la derecha */ transition: transform 0.3s ease-in-out; } .nav-main ul.nav-menu.show { transform: translateX(0); /* Mostrar el men煤, movi茅ndolo a la posici贸n visible (0) */ } .nav-main ul.nav-menu li { padding: 15px; border-bottom: #555 1px solid; } .nav-main ul.nav-menu li:last-child { border-bottom: none; } .nav-main ul.nav-menu li a { color: #fff; display: block; } .nav-main ul.nav-menu-right { margin-right: 0; } .news-cards { grid-template-columns: repeat(2, 1fr); } .cards-banner-one .content, .cards-banner-two .content { width: 80%; padding: 30px; } .main-footer .footer-container { grid-template-columns: 1fr; text-align: center; } .main-footer .footer-info, .main-footer .footer-contact, .main-footer .footer-links, .main-footer .footer-social { align-items: center; } .about-us-improved { flex-direction: column; text-align: center; } .about-us-image img { margin-bottom: 20px; } } @media (max-width: 500px) { .news-cards { grid-template-columns: 1fr; } .cards-banner-one .content, .cards-banner-two .content { width: 95%; padding: 20px; } } /* --- Bot贸n de WhatsApp Fixed --- */ #whatsapp-button { position: fixed; bottom: 20px; right: 20px; z-index: 1000; } #whatsapp-button img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); } #whatsapp-button:hover img { transform: scale(1.1); transition: transform 0.2s ease-in-out; } /* Ajuste para m贸viles */ @media (max-width: 768px) { #whatsapp-button img { width: 50px; height: 50px; } }