:root {
  --primary: #004e92;
  --secondary: #000428;
  --accent: #00d2ff;
  --text-light: #f4f4f4;
  --text-dark: #333;
  --gradient: linear-gradient(135deg, #000428 0%, #004e92 100%);
  --gradient-light: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: #fdfdfd;
}

/* Navegación */
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
  background: rgba(0, 4, 40, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: 0.3s;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--gradient-light);
  padding: 8px 20px;
  border-radius: 50px;
}

/* Hero */
.hero {
  height: 100vh;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.text-gradient {
  background: var(--gradient-light);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.hero-btns {
  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: var(--secondary);
}

.btn-secondary {
  border: 2px solid var(--accent);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Secciones Generales */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.4s;
  border-bottom: 5px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Secciones de Detalle */
.split {
  display: flex;
  align-items: center;
  gap: 50px;
}

.detail-text {
  flex: 1;
}
.detail-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-box {
  width: 300px;
  height: 300px;
  background: #eef2f3;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
}

.blue-grad {
  background: var(--gradient);
  color: white;
}

.badge {
  background: #e1f5fe;
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.list-check {
  list-style: none;
  margin-top: 20px;
}

.list-check li {
  margin-bottom: 10px;
}
.list-check i {
  color: #00c853;
  margin-right: 10px;
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  margin-top: 40px;
}

/* Animaciones de Entrada */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
}

.reveal.active {
  transform: translateY(0);
}
.reveal {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-100px);
}
.reveal-left.active {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(100px);
}
.reveal-right.active {
  transform: translateX(0);
}

/* Mobile */
@media (max-width: 768px) {
  .split {
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  }
}
