body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0a0f1e, #1c2331);
  color: #e0e0e0;
  animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

header {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  animation: slideDown 1.2s ease-in-out;
}
@keyframes slideDown { from {transform: translateY(-50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }

header h1 { margin: 10px 0 0; font-size: 2.8em; letter-spacing: 2px; text-shadow: 0 0 15px #00e5ff; }
header p { margin: 10px 0 0; font-size: 1.3em; color: #bbdefb; }

.logo {
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle at center, #00e5ff, #0d47a1);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 1.8em; color: #fff;
  box-shadow: 0 0 25px #00e5ff, 0 0 50px #00e5ff; margin: 0 auto 15px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {box-shadow: 0 0 20px #00e5ff, 0 0 40px #00e5ff;}
  50% {box-shadow: 0 0 50px #00e5ff, 0 0 90px #00e5ff;}
  100% {box-shadow: 0 0 20px #00e5ff, 0 0 40px #00e5ff;}
}

nav {
  background: #1a237e; display: flex; justify-content: center; align-items: center;
  padding: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.6); animation: fadeIn 2s ease-in-out;
}
nav a { color: #00e5ff; text-decoration: none; margin: 0 18px; font-weight: bold; transition: 0.3s; position: relative; }
nav a::after { content: ""; position: absolute; width: 0; height: 2px; background: #00e5ff; left: 0; bottom: -4px; transition: 0.4s; }
nav a:hover::after { width: 100%; }
nav a:hover { color: #fff; text-shadow: 0 0 10px #00e5ff; }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; position: absolute; right: 20px; top: 15px; }
.menu-toggle div { width: 28px; height: 3px; background: #00e5ff; margin: 4px 0; transition: 0.4s; }
.nav-links { display: flex; }
.nav-links.active { display: block; text-align: center; }
@media (max-width: 768px) {
  nav { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; flex-direction: column; width: 100%; background: #1a237e; }
  .nav-links a { margin: 12px 0; padding: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
  .menu-toggle { display: flex; }
}

section { padding: 50px 20px; max-width: 1100px; margin: auto; animation: fadeIn 1.5s ease-in-out; }
section h2 { text-align: center; font-size: 2.2em; margin-bottom: 30px; color: #00e5ff; text-shadow: 0 0 10px #00e5ff; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.card { background: #121a33; border-radius: 12px; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); padding: 25px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; opacity: 0; animation: fadeUp 1s forwards; }
.card:nth-child(1) {animation-delay: 0.3s;} .card:nth-child(2) {animation-delay: 0.6s;} .card:nth-child(3) {animation-delay: 0.9s;} .card:nth-child(4) {animation-delay: 1.2s;}
@keyframes fadeUp { from {opacity: 0; transform: translateY(40px);} to {opacity: 1; transform: translateY(0);} }
.card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 0 30px rgba(0, 229, 255, 0.9); }
.card h3 { color: #00e5ff; margin-bottom: 10px; }

.testimonial-container { position: relative; max-width: 700px; margin: auto; overflow: hidden; }
.testimonial-slide { display: none; background: #121a33; border-radius: 10px; padding: 25px; box-shadow: 0 0 12px rgba(0,229,255,0.2); font-style: italic; text-align: center; animation: fadeIn 1s ease-in-out; }
.testimonial-slide.active { display: block; }
.testimonial-slide p { margin: 0; color: #e0e0e0; }
.testimonial-slide h4 { margin-top: 15px; color: #00e5ff; }

footer { background: #0d47a1; color: white; text-align: center; padding: 20px; font-size: 0.9em; letter-spacing: 1px; animation: fadeIn 2s ease-in-out; }
footer a { color: #00e5ff; text-decoration: none; font-weight: bold; transition: 0.3s; }
footer a:hover { color: #fff; text-shadow: 0 0 8px #00e5ff; }

.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background: #25d366; color: #fff; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 0 0 15px rgba(0,0,0,0.4); z-index: 100; display: flex; align-items: center; justify-content: center; transition: transform 0.3s, box-shadow 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 0 25px rgba(37,211,102,0.9); }

.contador-visitas {
    text-align: center;
    color: #00e5ff;
    font-size: 18px;
    margin-top: 20px;
    text-shadow: 0 0 8px #00e5ff;
}
