/* COLORES */
:root {
    --verde-pastel: #a5e9a8;
    --verde-medio: #46b56b;
    --verde-oscuro: #1f5c32;
    --blanco: #ffffff;
    --gris: #ffffff;
}

/* FORMATO GENERAL */
body {
    margin: 0;
    font-family: cursive;
    background: var(--gris);
}

/* ENCABEZADO */
.header {
    background: var(--verde-oscuro);
    padding: 30px;
    color: var(--blanco);
    text-align: center;
}
.titulo {
    margin: 0;
    font-size: 40px;
}
.subtitulo {
    margin: 5px 0 0;
}

/* MENÚ */
.menu {
    display: flex;
    justify-content: center;
    background: var(--verde-medio);
    padding: 10px;
    flex-wrap: wrap;
}
.menu a {
    color: #fff;
    text-decoration: none;
    margin: 5px 15px;
    font-size: 18px;
    font-weight: bold;
}
.menu a:hover {
    text-decoration: underline;
}

/* CONTENIDO PRINCIPAL */
.principal {
    padding: 30px;
    text-align: center;
}
.img-principal {
    width: 90%;
    max-width: 700px;
    border-radius: 10px;
    margin-top: 20px;
}

/* BOTONES */
.botones {
    margin-top: 30px;
}
.btn {
    display: inline-block;
    background: var(--verde-oscuro);
    color: #fff;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
}
.btn:hover {
    background: var(--verde-medio);
}

/* FOOTER */
.footer {
    background: var(--verde-oscuro);
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
/* BOTONES */
.botones {
    margin-top: 30px;
}
.btn {
    display: inline-block;
    background: var(--verde-oscuro);
    color: #fff;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
}
.btn:hover {
    background: var(--verde-medio);
}

/* FOOTER */
.footer {
    background: var(--verde-oscuro);
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
/* Contenedor y título */
.tabla-energias-contenedor {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: Arial, sans-serif;
}
.tabla-energias-contenedor h2 {
  text-align: left;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  color: #0b3550;
}

/* Wrapper para permitir scroll en pantallas pequeñas */
.tabla-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(11,53,80,0.06);
}

/* Estilos de la tabla */
.tabla-energias {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 720px; /* para mantener el diseño en pantallas grandes */
}
.tabla-energias thead th {
  text-align: left;
  padding: 12px 16px;
  background: linear-gradient(90deg, #76d18c, #59b661);
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}
.tabla-energias tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e6eef5;
  vertical-align: top;
  font-size: 0.95rem;
  color: #10304a;
}
.tabla-energias tbody tr:nth-child(even) {
  background: #fbfdff;
}
.tabla-energias tbody tr:hover {
  background: #f0f8ff;
}

/* Responsive: ajustar texto en celdas para pantallas pequeñas */
@media (max-width: 640px) {
  .tabla-energias thead th, .tabla-energias tbody td {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
}

/* Clase accesible para ocultar texto visualmente (caption) */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.marco {
    position: relative;
    width: 100%;
    height: 100px;
}

.fondo-marco {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#mainframe {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: transparent;
}
body {
    font-family: Arial, sans-serif;
    background: #e8f6ff;
    margin: 0;
    padding: 20px;
}

.titulo {
    text-align: center;
    color: #fdfeff;
    font-size: 2rem;
    margin-bottom: 30px;
}

.contenedor-vinetas {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.vineta {
    background: #a5d8a3;
    padding: 15px 20px;
    border-left: 6px solid #90f0b5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.vineta h3 {
    margin-top: 0;
    color: #eaf1f7;
}

.vineta p {
    color: #333;
    margin-bottom: 0;
}
.tabla-eolica {
    width: 90%;
    margin: 25px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 12px;
    overflow: hidden;
}
.tabla-eolica th {
    background: rgba(108, 238, 125, 0.7);
    color: white;
    padding: 15px;
    font-size: 18px;
    text-align: left;
}

.tabla-eolica td {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.tabla-eolica tr:last-child td {
    border-bottom: none;
}
/* DISEÑO ESPECIAL SOLO PARA LA ZONA DE ABAJO */
.zona-abajo {
    margin-top: 30px;
    padding: 20px;
    background: #f5f8ff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
}

/* CONTENEDOR */
.zona-abajo .contenedor {
    display: flex;
    height: 500px;
    gap: 20px;
}

/* MENÚ BONITO */
.zona-abajo .menu {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zona-abajo .menu h2 {
    margin: 0;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* LINKS */
.zona-abajo .menu a {
    text-decoration: none;
    background: #eef4ff;
    padding: 10px;
    border-radius: 10px;
    color: #334;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    transition: 0.25s;
    border: 1px solid #ccd9ff;
}

.zona-abajo .menu a:hover {
    background: #c9dbff;
    transform: translateX(6px);
}

/* IFRAME BONITO */
.zona-abajo .frame {
    flex: 1;
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
/* DISEÑO ESPECIAL SOLO PARA LA ZONA DE ABAJO */
.zona-abajo {
    margin-top: 30px;
    padding: 20px;
    background: #f5f8ff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
}

/* CONTENEDOR */
.zona-abajo .contenedor {
    display: flex;
    height: 500px;
    gap: 20px;
}

/* MENÚ BONITO */
.zona-abajo .menu {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zona-abajo .menu h2 {
    margin: 0;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* LINKS */
.zona-abajo .menu a {
    text-decoration: none;
    background: #eef4ff;
    padding: 10px;
    border-radius: 10px;
    color: #334;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    transition: 0.25s;
    border: 1px solid #ccd9ff;
}

.zona-abajo .menu a:hover {
    background: #c9dbff;
    transform: translateX(6px);
}

/* IFRAME BONITO */
.zona-abajo .frame {
    flex: 1;
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.boton-gmail {
    display: inline-block;
    background: 04581;
    color: rgb(0, 0, 0);
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.boton-gmail:hover {
    background: #045819; 
    transform: scale(1.07);
}
