/* ==========================================================================
   ESTILOS AJUSTADOS SEGÚN IMAGEN DE REFERENCIA
   ========================================================================== */

/* 1. RESET Y BÁSICOS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 80% 20%, #1542a6 0%, #061f5c 50%, #031238 100%);
  background-attachment: fixed;
  color: #ffffff;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  padding: 2.5rem 1rem;
  display: flex;
  justify-content: center;
}

/* 2. CONTENEDOR */
.container {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

/* 3. TIPOGRAFÍA (Montserrat Bold 700 / Regular 400) */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 5px solid #28c76f; /* Verde acento de la imagen */
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fca311; /* Ámbar acento de la imagen */
}

p, ul {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

li strong, p strong {
  color: #ffffff;
  font-weight: 700;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  margin: 2.5rem 0;
}

/* 4. RECUADROS / TARJETAS EN COLOR BLANCO */
.card {
  background-color: #ffffff;
  color: #061f5c;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  margin: 1.75rem 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-left: 6px solid #28c76f;
}

.card p {
  color: #061f5c;
  margin-bottom: 0;
}

.card strong {
  color: #031238;
}

/* 5. CONTENEDOR DE VIDEOS RESPONSIVO */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1.75rem 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: #031238;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 6. TABLA CON ESTILO ELEGANTE */
.table-wrapper {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  color: #061f5c;
  text-align: left;
}

caption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

th, td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #f0f4f9;
  color: #061f5c;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #cbd5e1;
}

td {
  font-size: 0.95rem;
}

td strong {
  color: #031238;
}

tr:last-child td {
  border-bottom: none;
}

/* 7. ACCESIBILIDAD TECLADO */
:focus-visible {
  outline: 3px solid #fca311;
  outline-offset: 3px;
}