/* === Estilos principales (restaurados) === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6; color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky; top: 0; z-index: 100; padding: 1rem 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: #667eea; text-decoration: none; }
.header-buttons { display: flex; gap: 15px; align-items: center; }
.contact-btn, .header-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white; padding: 12px 24px; border: none; border-radius: 25px;
  font-weight: 600; cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-block; font-size: 0.9rem;
}
.contact-btn:hover, .header-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102,126,234,.3); }

/* Hero */
.hero { padding: 80px 0; text-align: center; color: white; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,.3); animation: fadeInUp 1s ease; }
.hero .subtitle { font-size: 1.5rem; margin-bottom: 40px; opacity: .9; font-weight: 300; animation: fadeInUp 1s ease .2s both; }
.hero-description { font-size: 1.2rem; max-width: 800px; margin: 0 auto 50px; opacity: .9; animation: fadeInUp 1s ease .4s both; }

/* Services */
.services { background: white; padding: 80px 0; }
.services h2 { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: #333; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.service-card {
  background: white; border-radius: 20px; padding: 40px 30px; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.1); transition: all .3s ease; border: 1px solid #f0f0f0;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.service-icon { width: 80px; height: 80px; margin: 0 auto 20px; background: linear-gradient(45deg, #667eea, #764ba2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #333; }
.service-card p { color: #666; line-height: 1.6; }

/* Features */
.features { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 80px 0; }
.features h2 { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: #333; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-item { display: flex; align-items: center; background: white; padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,.1); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(45deg, #667eea, #764ba2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 20px; font-size: 1.5rem; flex-shrink: 0; }
.feature-text h4 { font-size: 1.2rem; margin-bottom: 5px; color: #333; }
.feature-text p { color: #666; font-size: .9rem; }

/* CTA */
.cta { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 80px 0; text-align: center; color: white; }
.cta h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta p { font-size: 1.2rem; margin-bottom: 40px; opacity: .9; }
.cta-btn { background: white; color: #667eea; padding: 18px 40px; border: none; border-radius: 30px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all .3s ease; text-decoration: none; display: inline-block; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,.3); }

/* Footer */
footer { background: #333; color: white; padding: 40px 0; text-align: center; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; }
.footer-contact { font-size: 1.1rem; }
.footer-contact a { color: #667eea; text-decoration: none; }
.footer-links { display: flex; gap: 30px; align-items: center; }
.footer-links a { color: #667eea; text-decoration: none; font-size: 1rem; transition: color .3s ease; }
.footer-links a:hover { color: #8a9bf7; }

/* Cookies: banner + modal + botón flotante */
.cookie-fab{position:fixed;right:16px;bottom:16px;background:#111827;color:#fff;border:none;border-radius:999px;padding:10px 14px;box-shadow:0 8px 20px rgba(0,0,0,.15);cursor:pointer;font-size:14px;z-index:9997}
#cookie-banner{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -10px 30px rgba(0,0,0,.08);z-index:9998;display:none}
.cb-wrap{max-width:960px;margin:auto;padding:16px}
.cb-grid{display:grid;gap:12px}
.cb-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.btn{border:1px solid #e5e7eb;background:#fff;color:#111827;padding:10px 14px;border-radius:8px;font-weight:600;cursor:pointer}
.btn-primary{background:#111827;color:#fff;border-color:#111827}
.btn:focus{outline:2px solid #111827;outline-offset:2px}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;z-index:9999;padding:20px;overflow:auto}
.modal-card{background:#fff;border-radius:12px;max-width:860px;margin:auto;padding:20px;position:relative}
.close-x{position:absolute;top:10px;right:12px;font-size:24px;cursor:pointer;color:#6b7280}
.row{display:flex;justify-content:space-between;align-items:center;border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin-top:10px}
.switch{display:flex;align-items:center;gap:10px}
.switch input{width:18px;height:18px}
small{color:#6b7280}

/* Animaciones + responsive */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@media (max-width:768px){
  .hero h1{font-size:2.5rem} .hero .subtitle{font-size:1.2rem} .hero-description{font-size:1rem}
  .services-grid{grid-template-columns:1fr} .features-grid{grid-template-columns:1fr}
  .feature-item{flex-direction:column;text-align:center} .feature-icon{margin-right:0;margin-bottom:15px}
  .footer-content{flex-direction:column;text-align:center} .footer-links{flex-direction:column;gap:15px}
  .header-content{flex-direction:column;gap:15px} .header-buttons{flex-wrap:wrap;justify-content:center}
  .logo{font-size:1.5rem}
}
@media (max-width:480px){
  .container{padding:0 15px} .hero{padding:50px 0} .hero h1{font-size:2rem}
  .services,.features,.cta{padding:50px 0} .service-card{padding:30px 20px}
  .header-buttons{gap:10px} .contact-btn,.header-btn{padding:10px 18px;font-size:.85rem}
}
