/* Global */ * { box-sizing: border-box; margin: 0; padding: 0; } 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 --- */ .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(2) a { color: #007bff; /* O el color que desees */ } hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; } .menu-btn { cursor: pointer; position: fixed; top: 20px; right: 30px; z-index: 1001; /* Asegurar que esté sobre el nav */ display: none; color: #333; } /* --- CARRUSEL PRINCIPAL --- */ .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); } /* --- CONTENIDO GENERAL Y TÍTULOS --- */ .content-wrapper { display: flex; flex-direction: column; gap: 40px; margin-top: 30px; } .content-box { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.07); } .titulo { text-align: center; margin-bottom: 30px; font-size: 2.2em; color: #2f3640; } /* --- SECCIÓN ACERCA DE NOSOTROS --- */ .about-us-improved { display: flex; align-items: center; gap: 40px; background-color: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); } .about-us-image { flex: 1; min-width: 250px; text-align: center; } .about-us-image img { max-width: 70%; height: auto; } .about-us-container { flex: 2; 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, border-color 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; } .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; } /* --- SECCIÓN DE PROFESIONALES --- */ .professional-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; } .professional-card-interactive { background-color: #ffffff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); cursor: pointer; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #e9ecef; } .professional-card-interactive:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); } .professional-card-header { display: flex; align-items: center; padding: 15px; gap: 15px; } .professional-card-header img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; } .professional-card-header .card-title { font-weight: bold; font-size: 1.2em; color: #2f3640; } .card-description-interactive { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, padding 0.5s ease-out; background-color: #f8f9fa; padding: 0 20px; font-size: 0.95em; color: #555; } .professional-card-interactive.expanded .card-description-interactive { max-height: 300px; /* Aumentar para más contenido */ padding: 20px; } .card-description-interactive h4 { color: #007bff; margin-bottom: 10px; } .card-description-interactive p { margin-bottom: 10px; line-height: 1.6; } /* --- VIDEO Y CARRUSEL DE LOGOS --- */ .video-section { text-align: center; } .video-container { margin-top: 20px; overflow: hidden; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); position: relative; width: 100%; padding-top: 56.25%; /* 16:9 Aspect Ratio */ } .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; } .logo-carousel { overflow: hidden; position: relative; width: 100%; padding: 20px 0; } .logo-track { display: flex; width: calc(200px * 19); /* Ajustar al número de logos */ animation: scroll 30s linear infinite; } .logo { flex: 0 0 200px; display: flex; align-items: center; justify-content: center; padding: 15px; filter: grayscale(100%); transition: filter 0.3s; } .logo:hover { filter: grayscale(0%); } .logo img { max-width: 150px; max-height: 150px; object-fit: contain; } @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* --- REDES SOCIALES --- */ .social { margin: 50px 0; padding: 50px 50px; background-color: #e9ecef; border-radius: 10px; 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; color: #333; font-size: 1.8rem; transition: transform 0.3s ease, color 0.3s ease; } .links a:hover { color: #007bff; transform: scale(1.2); } /* --- FOOTER --- */ .main-footer { background: #343a40; color: #fff; padding: 40px 0; } .main-footer .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .main-footer h3 { color: #007bff; margin-bottom: 15px; font-size: 1.1em; } .footer-info .footer-logo { max-width: 120px; margin-bottom: 15px; } .footer-info .company-name { font-size: 1.2em; font-weight: bold; margin-bottom: 5px; } .footer-info .company-slogan { color: #ccc; font-size: 0.9em; } .footer-contact ul, .footer-links ul { padding: 0; list-style: none; } .footer-contact li, .footer-links li { margin-bottom: 10px; color: #eee; } .footer-contact i { margin-right: 10px; color: #007bff; } .footer-links a { color: #eee; } .footer-links a:hover { color: #007bff; } .footer-social .social-icons a { color: #fff; font-size: 1.5rem; margin-right: 15px; transition: color 0.3s ease, transform 0.3s ease; } .footer-social .social-icons 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; } /* --- BOTÓN DE WHATSAPP --- */ #whatsapp-button { position: fixed; bottom: 20px; right: 20px; z-index: 1000; } #whatsapp-button img { width: 50px; height: 50px; transition: transform 0.3s; } #whatsapp-button img:hover { transform: scale(1.1); } /* --- ESTILOS RESPONSIVE --- */ /* Mobil */ @media (max-width: 768px) { .menu-btn { display: block; } .nav-main ul.nav-menu { display: block; position: fixed; top: 70px; /* Ajuste para que empiece debajo del nav */ right: 0; /* Empieza desde la derecha */ 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 */ transition: transform 0.3s ease-in-out; z-index: 1001; /* Asegurar que esté sobre otros elementos */ } .nav-main ul.nav-menu.show { transform: translateX(0); /* Mostrar el menú moviéndolo a la posición 0 */ } .nav-main ul.nav-menu li { padding: 15px; border-bottom: #555 1px solid; } .nav-main ul.nav-menu li a { color: #fff; display: block; } .nav-main ul.nav-menu li a::after { content: none; } .about-us-improved { flex-direction: column; text-align: center; } .about-us-image img { margin-bottom: 20px; } .professional-card-interactive { min-width: unset; } .professional-grid { grid-template-columns: 1fr; } } /* --- 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; } }