
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; min-height: 70px; gap: 1rem; }
.logo { display: flex; align-items: center; }
.logo img { max-width: 200px; display: block; }
.nav-links { display: flex; list-style: none; gap: 1.6rem; align-items: center; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: #667eea; }
.lang-switch { display: flex; gap: .3rem; }
.lang-switch a { font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 20px; border: 1px solid #667eea; color: #667eea !important; }
.lang-switch a.active { background: #667eea; color: #fff !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: #333; }
.hero { text-align: center; padding: 6rem 0; color: white; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); opacity: 0.3; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3.2rem; margin-bottom: 1.5rem; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); animation: fadeInUp 1s ease; }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; animation: fadeInUp 1s ease 0.2s both; }
.cta-button { display: inline-block; background: linear-gradient(45deg, #ff6b6b, #feca57); color: white; padding: 1rem 2.5rem; text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(255,107,107,0.3); animation: fadeInUp 1s ease 0.4s both; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255,107,107,0.4); }
.cta-secondary { display: inline-block; margin-left: .8rem; color: #fff; padding: 1rem 2rem; border: 2px solid rgba(255,255,255,.8); border-radius: 50px; text-decoration: none; font-weight: 600; }
.products-section, .clients-section { background: white; padding: 6rem 0; position: relative; }
.services-section, .expertise-section, .faq-section { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 6rem 0; position: relative; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: #333; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: linear-gradient(45deg, #667eea, #764ba2); border-radius: 2px; }
.section-intro { text-align: center; max-width: 780px; margin: -1rem auto 0; color: #555; font-size: 1.1rem; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.product-card { background: white; padding: 2.5rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 1px solid #f0f0f0; position: relative; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(45deg, #667eea, #764ba2); }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.product-card.featured::after { content: 'NUEVO'; position: absolute; top: 18px; right: -34px; transform: rotate(45deg); background: #ff6b6b; color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem 2.5rem; letter-spacing: 1px; }
.product-icon { width: 60px; height: 60px; background: linear-gradient(45deg, #667eea, #764ba2); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; color: white; }
.product-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #333; }
.product-card p { color: #666; margin-bottom: 1.5rem; }
.product-features { list-style: none; margin-top: 1rem; }
.product-features li { padding: 0.5rem 0; color: #555; position: relative; padding-left: 1.5rem; }
.product-features li::before { content: '✓'; position: absolute; left: 0; color: #4CAF50; font-weight: bold; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; margin-top: 4rem; }
.client-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 18px; overflow: hidden; text-decoration: none; color: #333; box-shadow: 0 8px 24px rgba(0,0,0,.07); transition: all .3s ease; }
.client-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.client-media { aspect-ratio: 16/10; background: #f5f7fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.client-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; }
.client-initials { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(45deg, #667eea, #764ba2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; }
.client-body { padding: 1rem 1.2rem 1.3rem; }
.client-body h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.client-body span { font-size: .85rem; color: #667eea; }
.expertise-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.expertise-text h2 { font-size: 2.5rem; margin-bottom: 2rem; color: #333; }
.expertise-text p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; }
.stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: bold; color: #667eea; display: block; }
.stat-label { color: #666; font-size: 0.9rem; }
.video-wrap { background: linear-gradient(45deg, #667eea, #764ba2); border-radius: 20px; padding: 1rem; }
.video-wrap iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; display: block; }
.faq-list { max-width: 850px; margin: 4rem auto 0; }
.faq-list details { background: #fff; border-radius: 14px; margin-bottom: 1rem; padding: 1.1rem 1.4rem; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.faq-list summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq-list details p { margin-top: .8rem; color: #555; }
.social-section { background: #1f2b38; color: #fff; padding: 4rem 0; text-align: center; }
.social-section h2 { font-size: 2rem; margin-bottom: .5rem; }
.social-section p { color: #bdc3c7; }
.social-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.social-links a { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.4rem; border-radius: 50px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-weight: 600; transition: all .3s ease; }
.social-links a:hover { background: #667eea; transform: translateY(-3px); }
.social-links svg { width: 22px; height: 22px; fill: currentColor; }
.contact-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 6rem 0; text-align: center; color: white; }
.contact-form { max-width: 600px; margin: 3rem auto 0; display: grid; gap: 1.5rem; }
.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-form input, .contact-form textarea { padding: 1rem; border: none; border-radius: 10px; font-size: 1rem; background: rgba(255,255,255,0.9); transition: all 0.3s ease; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; background: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.contact-form textarea { grid-column: 1 / -1; min-height: 120px; resize: vertical; }
.submit-button { background: linear-gradient(45deg, #ff6b6b, #feca57); color: white; padding: 1rem 2rem; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: all 0.3s ease; width: fit-content; margin: 0.5rem auto; }
.submit-button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255,107,107,0.4); }
.whatsapp-button { background: linear-gradient(45deg, #25D366, #128C7E) !important; }
.whatsapp-button:hover { box-shadow: 0 15px 35px rgba(37,211,102,0.4) !important; }
footer { background: #2c3e50; color: white; text-align: center; padding: 3rem 0; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { margin-bottom: 1rem; color: #ecf0f1; font-size: 1.1rem; }
.footer-section p, .footer-section a, .footer-section address { color: #bdc3c7; text-decoration: none; line-height: 1.8; font-style: normal; }
.footer-section a:hover { color: #9fb0ff; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1.2rem; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
}
@media (max-width: 768px) {
  .hero { padding: 4rem 0; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .expertise-content { grid-template-columns: 1fr; text-align: center; }
  .stats { justify-content: center; }
  .form-group { grid-template-columns: 1fr; }
  .cta-secondary { margin: 1rem 0 0; }
}

/* ===== Página de clientes / filtros ===== */
.page-hero { text-align: center; color: #fff; padding: 4.5rem 0 3.5rem; }
.page-hero h1 { font-size: 2.8rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,.25); }
.page-hero p { font-size: 1.15rem; max-width: 760px; margin: 0 auto; opacity: .95; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; opacity: .9; }
.breadcrumb a { color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 0 auto 1rem; }
.filter-btn { font: inherit; font-weight: 600; font-size: .95rem; padding: .55rem 1.1rem; border-radius: 50px; border: 2px solid #667eea; background: #fff; color: #667eea; cursor: pointer; transition: all .2s ease; }
.filter-btn small { display: inline-block; min-width: 1.4rem; padding: 0 .35rem; margin-left: .25rem; border-radius: 10px; background: rgba(102,126,234,.15); font-size: .75rem; }
.filter-btn:hover { background: #eef1ff; }
.filter-btn.active { background: linear-gradient(45deg, #667eea, #764ba2); border-color: transparent; color: #fff; }
.filter-btn.active small { background: rgba(255,255,255,.25); }
.clients-page .clients-grid { margin-top: 2.5rem; }
.client-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .4rem; }
.client-tag { font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #764ba2; background: #f1ebfa; padding: .1rem .5rem; border-radius: 8px; }
.client-desc { font-size: .9rem; color: #666; margin: .2rem 0 .4rem; }
.client-card[hidden] { display: none !important; }
.clients-empty { grid-column: 1 / -1; text-align: center; color: #666; padding: 2rem; }
.see-all { text-align: center; margin-top: 3rem; }
.see-all a { display: inline-block; padding: .9rem 2rem; border-radius: 50px; border: 2px solid #667eea; color: #667eea; font-weight: 700; text-decoration: none; transition: all .2s ease; }
.see-all a:hover { background: #667eea; color: #fff; }
.category-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.category-links a { color: #667eea; font-size: .9rem; }
@media (max-width: 768px) { .page-hero h1 { font-size: 2rem; } }
