/* HERO HEADER */

  :root{
    --font-body: "Satoshi", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
    --font-display: "Syne", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  }
  body{ font-family: var(--font-body); }
  h1,h2,h3{
    font-family: var(--font-display);
    font-weight: 700;               
    letter-spacing: -0.01em;        
    line-height: 1.1;  }
    
body {
  background-color: black;
  margin: 0px !important;
}
/* Oculta el scrollbar a tots els navegadors principals */
html, body{
  /* Firefox */
  scrollbar-width: none;
  /* IE/Edge legacy */
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 0 !important;
  height: 0 !important;
}
/* ==== MENÚ PRINCIPAL ==== */
.menu {
  background-color: black;
  color: white;
  width: 100%;
  z-index: 999;
  margin-bottom: 20px;
}
.menu-contenido {
     margin: 0 10px;
    padding: 0 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
  height: 24px; 
  width: auto;
  display: block;
}

.menu-link {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
}

.menu li {
  display: inline;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 200;
  font-size: 14px;
  transition: color 0.3s;
}

.menu a:hover {
  color: #E0FE08;
}

/* ==== SUBMENÚ ==== */
.submenu {
  background: #ffffff;
  border-radius: 10px;
  color: black;
  padding: 10px 15px;
  position: absolute;
  z-index: 2;
  display: none;
}

.submenu li {
  display: block;
}

.submenu a {
  color: black;
}

.has-submenu:hover .submenu {
  display: block;
}

/* ==== BOTÓN HAMBURGUESA ==== */
.menu-toggle {
  display: none; /* oculto en escritorio */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: white;
  border-radius: 2px;
}

/* ==== MENÚ MÓVIL (DRAWER) ==== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 99;
  box-shadow: -12px 0 30px rgba(0,0,0,0.12);
  transition: right 0.28s ease;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
}

.backdrop.show {
  display: block;
}

body.noscroll {
  overflow: hidden;
}

/* ==== CONTENIDO DEL DRAWER ==== */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.drawer-logo {
  height: 28px;
}

.drawer-close {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 16px 24px;
  gap: 10px;
  overflow-y: auto;
}

.drawer-nav a {
  padding: 10px 8px;
  border-radius: 8px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.drawer-nav a:hover {
  background: #000;
  color: #E0FE08;
}

.drawer-nav details {
  border-radius: 10px;
  padding: 6px 8px;
}

.drawer-nav details > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 8px 4px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  /* Oculta el menú horizontal */
  .menu-link {
    display: none !important;
  }

  /* Muestra hamburguesa */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Activa menú móvil */
  .mobile-drawer {
    display: flex;}
  .drawer-nav details{padding: 0;}}

.copy{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 120px;
  align-items: start;
  margin-top: 40px;
}

.copy > :nth-child(1){
  grid-column: 2;
  justify-self: center;  
  text-align: center;  
}

.copy > :nth-child(2){
  grid-column: 3;
  justify-self: end;     
  text-align: right;}

.copy > :nth-child(2) a{ text-decoration: none; color: white; font-weight: 600;}
.copy > :nth-child(2) a:hover{ color: #E0FE08;}
.copy p{
  font-size: 14px;}

@media (max-width: 900px){
  .copy{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .copy > :nth-child(1),
  .copy > :nth-child(2){
    grid-column: 1;       
    justify-self: center;  
    text-align: center;
  }
.copy p{font-size: 12px;}}


.boton-cta {
  background-color: #E0FE08;
  color: black;
  padding: 1em 2em;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s;
}



.faq-seccion {
  padding: 4em 2em;
  background-color:black;
}

.faq-contenedor {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.faq-titulo {
  flex: 1 1 30%;
}

.faq-titulo h2 {
  font-size: 2rem;
  color: white;
  margin: 0;
}

.faq-preguntas {
  flex: 1 1 65%;
}

.faq-preguntas details {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  transition: all 0.3s ease;
}

.faq-preguntas details summary {
  font-weight: bold;
  cursor: pointer;
  color: black;
}

.faq-preguntas details[open] {
  border-color: blakc;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.faq-preguntas details p {
  margin-top: 0.8em;
  color: #333;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .faq-contenedor {
    flex-direction: column;
  }

  .faq-titulo, .faq-preguntas {
    flex: 1 1 100%;
  }
}




.nosotros-hero {
  background-image: url('img/karsten-wurth-0w-uTa0Xz7w-unsplash.jpg');
  background-size: cover;
  background-position: center;
  padding: 6em 2em;
  text-align: center;
  color: white;
  position: relative;
}

.nosotros-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 1;
}

.nosotros-hero .contenedor {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.nosotros-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.nosotros-hero p {
  font-size: 1.2rem;
}

.nosotros-texto {
  background-color: #fff;
  padding: 4em 2em;
  color: #333;
}

.nosotros-texto .contenedor {
  max-width: 900px;
  margin: 0 auto;
}

.nosotros-texto h2 {
  font-size: 1.8rem;
  margin-top: 2em;
  color: black;
}

.nosotros-texto p {
  font-size: 1.05rem;
  margin-top: 1em;
  line-height: 1.7;
}

.nosotros-texto ul {
  list-style: none;
  padding: 0;
  margin-top: 1em;
}

.nosotros-texto li {
  margin-bottom: 0.8em;
  font-size: 1rem;
}




.footer {
  background-color: black;
  color: white;
  padding: 3em 2em;
  text-align: center;
}

.footer-contenido {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 1em;
}

.footer-links a {
  color: #E0FE08;
  margin: 0 1em;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
}

.footer-links a:hover {
  text-decoration: underline;
}


.footer-contenido {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-menus {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
}

.footer-nav li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.footer-nav li a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer{
    padding: 2em 1em;
  }
  .footer-nav{
    gap: 1em;
  }
 .footer-nav li a {
  font-size: 10px;
}
  .footer-menus{
    flex-direction: column; align-items: center; gap: 1rem;}}

.footer-redes a {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-redes a:hover {
  color: #E0FE08;
}

.footer-links {
  margin-top: 1em;
  font-size: 0.9rem;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}


/*BLOG*/
/* HERO */
.blog-hero {
  background-image: url('img/american-public-power-association-XGAZzyLzn18-unsplash.jpg');
  background-size: cover;
  background-position: center;
  padding: 6em 2em;
  color: white;
  text-align: center;
  position: relative;
}

.blog-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.blog-hero-contenido {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.blog-hero p {
  font-size: 1.2rem;
}

/* BLOG LISTA */


.blog-fecha {
  width: 60px;
  text-align: center;
  font-weight: bold;
  color: #003366;
  margin-right: 1em;
}

.blog-fecha .mes {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.2em;
}

.blog-fecha .dia {
  font-size: 1.6rem;
}

.blog-img {
  flex: 1 1 300px;
}

.blog-img img {
  width: 100%;
  border-radius: 6px;
}

.blog-detalles {
  flex: 2 1 400px;
  padding-left: 1.5em;
}

.blog-detalles h3 {
  margin-top: 0;
  color:black;
  font-size: 24px;
}

.blog-detalles p {
  margin: 0.5em 0;
}

.blog-detalles a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-item {
    flex-direction: column;
  }

  .blog-detalles {
    padding-left: 0;
    margin-top: 1em;
  }

  .blog-fecha {
    width: auto;
    text-align: left;
    margin-bottom: 0.5em;
  }
}


.sobre-intro {
  padding: 4em 2em;
  background-color: #f4f8fc;
  text-align: center;
}

.sobre-intro h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1em;
}

.sobre-intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 1em auto;
  color: #444;
}

.sobre-equipo {
  padding: 4em 2em;
  background-color: #fff;
  text-align: center;
}

.sobre-equipo h2 {
  font-size: 2rem;
  margin-bottom: 2em;
  color: #003366;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto;
}

.equipo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.equipo-card:hover {
  transform: translateY(-5px);
}

.equipo-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1em;
}

.equipo-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3em;
  color: #003366;
}

.equipo-card p {
  font-size: 0.95rem;
  color: #555;
}

.contacto-seccion {
  padding: 4em 2em;
  background-color: black;
}

.contacto-contenedor {
  display: flex;
  gap: 3em;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contacto-info {
  flex: 1 1 40%;
  color: black;
}

.contacto-info h1 {
  font-size: 2rem;
  margin-bottom: 1em;
  color: white;
}
.contacto-info h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  color: white;
}

.contacto-info p {
  font-size: 1rem;
  margin-bottom: 0.8em;
  color: white;
}

.contacto-formulario {
  flex: 1 1 55%;
}

.contacto-formulario form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contacto-formulario input,
.contacto-formulario textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
}

.contacto-formulario button {
  background-color: #E0FE08;
  color: black;
  padding: 1em;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contacto-formulario button:hover {
  background-color: black;
  color:#E0FE08;
}


.redes-sociales {
  margin-top: 1.5em;
}

.redes-sociales a {
  margin-right: 1em;
  color: #003366;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.redes-sociales a:hover {
  color: #0077cc;
}

@media (max-width: 768px) {
  .contacto-contenedor {
    flex-direction: column;
  }
}
.contacto-hero {
  background-image: url('img/american-public-power-association-XGAZzyLzn18-unsplash.jpg');
  background-size: cover;
  background-position: center;
  padding: 6em 2em;
  color: white;
  text-align: center;
  position: relative;
}

.contacto-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.contacto-hero .hero-contenido {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contacto-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.contacto-hero p {
  font-size: 1.2rem;
}

.redes-sociales-formulario {
  text-align: center;
  margin-top: 2em;
}

.redes-sociales-formulario p {
  font-weight: 600;
  color: #003366;
  margin-bottom: 0.8em;
}

.redes-iconos a {
  margin: 0 0.6em;
  color: #003366;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.redes-iconos a:hover {
  color: #0077cc;
}
