html {
  overflow-y: scroll; /* ← Evitar el movimiento del encabezado */
}

/* Reset y estilo base */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9fafc;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
  background-color: #EAF2FB; /* fondo suave como en el banner */
  border-bottom: 2px solid #0077B6;
}

header img {
  height: 120px;
  width: auto;
}

header h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
}

header h1 span.orange { color: #FF7F32; }
header h1 span.blue { color: #0077B6; }

/* Menú principal */
nav {
  background-color: #0077B6;
  padding: 12px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  color: #fff;
  padding: 6px 10px;
  transition: 0.3s;
  border-radius: 4px;
}

nav a:hover { background: rgba(255,255,255,0.1); color: #FF7F32; }
nav a.active { border-bottom: 3px solid #FF7F32; }

/* Main */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

h2 {
  font-size: 38px;
  color: #0077B6;
  margin-bottom: 24px;
  font-weight: 700;
  border-left: 6px solid #FF7F32;
  padding-left: 12px;
}

p {
  margin-bottom: 20px;
  text-align: justify;
}

p strong { color: #0077B6; }

/* Caja de exención */
.exencion {
  border: 1px solid #cc0000;
  padding: 16px 24px;
  margin: 30px auto 40px auto;
  color: #cc0000;
  font-weight: 600;
  background-color: #fff3f3;
  font-size: 0.8em;
  text-align: center;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  max-width: 750px;
}

/* YouTube card */
.yt-card {
  margin: 40px 0;
  text-align: center;
}

.yt-card a img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.yt-card a img:hover { transform: scale(1.02); }

/* Lista personalizada */
.puntos-gordos {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.puntos-gordos li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
  text-align: justify;
  font-size: 1.05em;
}

.puntos-gordos li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #FF7F32;
  font-size: 1.2em;
  font-weight: bold;
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 20px;
  background: #f0f4f9;
  text-align: center;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
}

/* Contenedor del iframe (RADAR) */
.iframe-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
}

.iframe-container iframe {
  width: 100%;
  height: 90vh;   /* ocupa casi toda la altura de la pantalla */
  min-height: 400px;
  border: none;
}
