/* Web Corporativa - Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #2c3e50; color: white; padding: 1rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
header h1 { font-size: 1.8rem; }
nav ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
nav ul li a { color: white; text-decoration: none; padding: 8px 15px; border-radius: 5px; transition: background 0.3s; }
nav ul li a:hover, nav ul li a.active { background: #34495e; }

/* Hero */
.hero { position: relative; height: 550px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.hero-content { position: absolute; background: rgba(0,0,0,0.6); padding: 2.5rem 4rem; border-radius: 15px; color: white; text-align: center; backdrop-filter: blur(5px); }
.hero-content h2 { font-size: 3rem; margin-bottom: 0.5rem; }
.hero-content p { font-size: 1.3rem; opacity: 0.9; }
.hero img, .hero video { width: 100%; height: 100%; object-fit: cover; }

/* Sectors */
.sectores { padding: 4rem 0; background: #f8f9fa; }
.sectores h2 { text-align: center; margin-bottom: 2.5rem; font-size: 2.2rem; color: #2c3e50; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.sector-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 3px 20px rgba(0,0,0,0.08); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.sector-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.sector-card a { text-decoration: none; color: inherit; display: block; }
.sector-card .sector-media { width: 100%; height: 220px; overflow: hidden; background: #e9ecef; }
.sector-card .sector-media img, .sector-card .sector-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.sector-card:hover .sector-media img, .sector-card:hover .sector-media video { transform: scale(1.05); }
.sector-card .sector-info { padding: 1.5rem; }
.sector-card .sector-info h3 { font-size: 1.3rem; color: #2c3e50; margin-bottom: 0.5rem; }
.sector-card .sector-info p { color: #666; font-size: 0.95rem; line-height: 1.5; }
.sector-card .sector-info .btn-ver { display: inline-block; margin-top: 1rem; padding: 8px 20px; background: #667eea; color: white; border-radius: 25px; font-size: 0.9rem; transition: background 0.3s; }
.sector-card .sector-info .btn-ver:hover { background: #5a67d8; }

/* CTA */
.cta-section { padding: 3rem 0; text-align: center; background: #2c3e50; color: white; }
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section .btn-cta { display: inline-block; padding: 12px 35px; background: #667eea; color: white; border-radius: 30px; text-decoration: none; font-size: 1.1rem; transition: background 0.3s; }
.cta-section .btn-cta:hover { background: #5a67d8; }

/* Footer */
footer { background: #1a252f; color: white; padding: 2rem 0; }
footer .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
footer .footer-content h4 { margin-bottom: 1rem; color: #667eea; }
footer .footer-content ul { list-style: none; }
footer .footer-content ul li { margin-bottom: 0.5rem; }
footer .footer-content ul li a { color: #ccc; text-decoration: none; transition: color 0.3s; }
footer .footer-content ul li a:hover { color: white; }
footer .footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid #333; font-size: 0.9rem; opacity: 0.8; }
footer .social-links { display: flex; gap: 15px; justify-content: center; margin-top: 1rem; }
footer .social-links a { font-size: 1.5rem; text-decoration: none; transition: transform 0.3s; }
footer .social-links a:hover { transform: scale(1.2); }

/* Responsive */
@media (max-width: 768px) { 
    .hero { height: 350px; }
    .hero-content { padding: 1.5rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .sector-grid { grid-template-columns: 1fr; }
    header .container { flex-direction: column; gap: 10px; }
    nav ul { justify-content: center; }
    footer .footer-content { grid-template-columns: 1fr; text-align: center; }
}
