:root {
  --primary-dark: #0a192f;
  --accent: #ffc107;
  --bg-light: #8cc2f8;
  --text-light: #000000;
  --text-muted: #cccccc;
}

.text-dark {
  color: #111 !important;
}


body {
  margin: 0;
  background-color: var(--primary-dark);
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  color: var(--text-light);
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--primary-dark);
  padding: 40px 20px;
  overflow: hidden;
}

.hero-text {
  z-index: 2;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInUp 1.8s ease-out forwards;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
}

.hero-text .text-accent {
  color: var(--accent);
}

#ocupacion {
  font-size: 1.8rem;
  margin-top: 10px;
  color: #ddd;
  opacity: 0;
  animation: fadeInUp 2s ease-out 1s forwards;
}

.hero-image {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInImage 2s ease-out 1.6s forwards;
  z-index: 1;
  text-align: center;
}

.hero-image img {
  max-height: 80vh;
  object-fit: contain;
}

/* === SECTION ESTILO GENERAL === */
.info-section {
  padding: 60px 20px;
}

.bg-light {
  background-color: var(--bg-light) !important;
  color: #111;
}

.bg-secondary {
  background-color: #1c2e4a !important;
  color: var(--text-light);
}

/* === TIPOGRAFÍA Y CENTRADO === */
h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 8px;
}

/* === TABLA === */
table {
  margin: auto;
  width: 100%;
  max-width: 600px;
  font-size: 1.1rem;
}

th, td {
  padding: 12px 15px;
  border: 1px solid #ccc;
}

thead {
  background-color: var(--primary-dark);
  color: white;
}

/* === FORMULARIO === */
.form-section {
  background-color: #121e35;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 1rem;
}

.btn-accent {
  background-color: var(--accent);
  color: #000;
  border: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.btn-disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}


.btn-accent:hover {
  background-color: #e6b800;
  transform: scale(1.03);
}

.bg-dark-subtle {
  background-color: rgba(255, 255, 255, 0.05);
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInImage {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popScale {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.form-label {
  font-weight: 600;
  font-size: 1.05rem;
}

/* === ÉXITO FORMULARIO === */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 25, 47, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.animate-check {
  animation: popScale 1.2s ease-out forwards;
}

/* === CONTACTO Y FOOTER === */
.contact {
  padding: 60px 20px;
}

footer {
  background-color: #111;
  padding: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  #ocupacion {
    font-size: 1.3rem;
  }

  .hero-image img {
    max-width: 90%;
    height: auto;
  }

  table {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
  }
}
