/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #004e92, #000428);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 3rem;
}
.hero p {
  margin: 10px 0 20px;
  font-size: 1.2rem;
}
.cta-buttons .btn {
  background: #ffb400;
  color: #000;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-buttons .btn:hover {
  background: #ffc933;
}

/* About */
.about {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}
.about h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.about p {
  max-width: 700px;
  margin: 0 auto 20px;
}
.about .decor-img {
  max-width: 200px;
  margin-top: 20px;
}

/* Services */
.services {
  padding: 60px 20px;
  background: #eef2f7;
}
.services h2 {
  text-align: center;
  margin-bottom: 40px;
}
.grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 280px;
}
.card img {
  max-width: 120px;
  margin-bottom: 15px;
}
.card h3 {
  margin-bottom: 10px;
}
.card a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #004e92;
  font-weight: bold;
}

/* Contact */
.contact {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}
.contact input, .contact textarea {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.contact button {
  background: #004e92;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.contact button:hover {
  background: #006fdd;
}

/* Legal */
.legal {
  padding: 40px 20px;
  background: #eef2f7;
  text-align: center;
}
.legal h2 {
  margin-bottom: 10px;
}
.legal ul {
  list-style: none;
}
.legal li {
  margin: 5px 0;
}
.legal a {
  color: #004e92;
  text-decoration: none;
}
.legal a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #000428;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
/* === EFECTO DE GRADIENTE ANIMADO EN EL BANNER === */
.hero {
  background: linear-gradient(270deg, #004e92, #000428, #002d62);
  background-size: 600% 600%;
  animation: gradientShift 12s ease infinite;
  transition: all 0.5s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* === BOTONES ESTILIZADOS Y MODERNOS === */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background: linear-gradient(135deg, #ffb400, #ff6f00);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(255, 180, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-buttons .btn:hover {
  background: linear-gradient(135deg, #ff9100, #ffd740);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 180, 0, 0.6);
}
/* === EFECTO DE GRADIENTE ANIMADO EN BOTONES === */
.cta-buttons .btn {
  background: linear-gradient(270deg, #ffb400, #ff6f00, #ff9100, #ffd740);
  background-size: 400% 400%;
  animation: btnGradient 8s ease infinite;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(255, 180, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

@keyframes btnGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* === EFECTO DE GRADIENTE ANIMADO EN EL BANNER === */
.hero {
  background: linear-gradient(270deg, #004e92, #000428, #002d62);
  background-size: 600% 600%;
  animation: gradientShift 12s ease infinite;
  transition: all 0.5s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* === BOTONES ESTILIZADOS Y MODERNOS CON ANIMACIÓN === */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background: linear-gradient(270deg, #ffb400, #ff6f00, #ff9100, #ffd740);
  background-size: 400% 400%;
  animation: btnGradient 8s ease infinite;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(255, 180, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

@keyframes btnGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* === EFECTO HOVER PREMIUM EN BOTONES === */
.cta-buttons .btn:hover {
  transform: translateY(-3px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(255, 200, 0, 0.6);
}
/* === SECCIONES DE PRIVACIDAD Y FORMATOS === */
.privacy-content {
  padding: 60px 20px;
  background: #fff;
  color: #333;
}

.privacy-content .container {
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.privacy-content h2 {
  color: #004e92;
  margin-bottom: 20px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 20px 0;
}

.privacy-content a {
  color: #004e92;
  text-decoration: none;
  font-weight: 600;
}

.privacy-content a:hover {
  text-decoration: underline;
}
/* === SECCIÓN CONTACTO - ESTILO MODERNO === */
#contacto {
  background: linear-gradient(135deg, #004e92, #000428);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

#contacto h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

#contacto p {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  outline: none;
  font-size: 1em;
  color: #000;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #555;
}

.contact-form input,
.contact-form textarea {
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: #fff;
  box-shadow: 0 0 0 2px #004e92;
}

.btn-enviar {
  background-color: #004e92;
  color: #fff;
  font-size: 1.1em;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-enviar:hover {
  background-color: #006bde;
}
/* === MODAL DE ÉXITO === */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: linear-gradient(135deg, #004e92, #000428);
  color: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
}

.modal-content h2 {
  margin-bottom: 15px;
  font-size: 1.8em;
}

.modal-content p {
  font-size: 1em;
  line-height: 1.5;
}

.modal-content .nota {
  font-size: 0.85em;
  color: #ccc;
  margin-top: 10px;
}

.modal-content button {
  margin-top: 25px;
  background: #fff;
  color: #004e92;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-content button:hover {
  background: #004e92;
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}