@charset "UTF-8";
/* =========================================
   IMPORTACIÓN DE PARCIALES (Requisito: Partials)
   ========================================= */
/* =========================================
   VARIABLES SASS (Requisito: Variables)
   ========================================= */
/* =========================================
   MIXINS, EXTENDS Y ANIMACIONES
   ========================================= */
.mi-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================
   RESET
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   BASE (MÓVIL POR DEFECTO)
   ========================================= */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FFFDE7;
  color: #333333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* CORRECCIÓN: Actualizado H1 para que mantenga el estilo visual de tus antiguos H2 */
h1, h2, h3 {
  margin-bottom: 15px;
  text-align: center;
}

h1 {
  font-size: 2rem;
  color: #D84315;
  margin-top: 20px;
}

h2 {
  font-size: 1.6rem;
  color: #FF9800;
  margin-top: 15px;
}

h3 {
  font-size: 1.3rem;
  color: #333;
}

/* =========================================
   NAVBAR Y COMPONENTES
   ========================================= */
.logo-header {
  transition: transform 0.3s ease;
}
.logo-header:hover {
  transform: scale(1.1);
}

.navbar {
  background-color: #FF9800 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .offcanvas {
    background-color: #FF9800 !important;
  }
}
.navbar-brand strong, .nav-link, .offcanvas-title {
  color: #ffffff !important;
  font-weight: bold;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-close {
  filter: invert(1);
}

/* =========================================
   MAIN Y SECCIONES
   ========================================= */
main {
  width: 96%;
  max-width: 1000px;
  margin: 12px auto;
  padding: 12px;
  background-color: transparent;
}
@media (min-width: 521px) {
  main {
    width: 94%;
    padding: 16px;
  }
}
@media (min-width: 900px) {
  main {
    width: 90%;
    padding: 20px;
  }
}
main section {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 2s ease-out both;
}
main section:nth-child(1) {
  animation-delay: 0.1s;
}
main section:nth-child(2) {
  animation-delay: 0.2s;
}
main section:nth-child(3) {
  animation-delay: 0.5s;
}
main section:nth-child(4) {
  animation-delay: 0.8s;
}
@media (min-width: 521px) {
  main section {
    padding: 18px;
  }
}
@media (min-width: 900px) {
  main section {
    padding: 25px;
  }
}

.imagen-contenido {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.imagen-contenido:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   MENÚ Y LISTAS
   ========================================= */
.menu-list {
  list-style: none;
}
.menu-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px dotted #ccc;
  padding: 10px 0;
}
@media (min-width: 521px) {
  .menu-list li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.menu-list li strong {
  color: #D84315;
}
.menu-list li span {
  font-weight: bold;
  background-color: #FFFDE7;
  padding: 2px 8px;
  border-radius: 4px;
}

/* =========================================
   CLASES UTILITARIAS PROPIAS
   ========================================= */
.mi-espaciado-logo {
  margin-right: 0.5rem;
}

.mi-menu-nav {
  justify-content: flex-end;
  flex-grow: 1;
  padding-right: 1rem;
}

.texto-centrado {
  text-align: center;
}

.mi-carrusel-contenedor {
  max-width: 600px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
}

.imagen-carrusel {
  display: block;
  width: 100%;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background-color: #B3E5FC;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  border-top: 4px solid #FF9800;
}

/* =========================================
   GALERÍA GRID
   ========================================= */
.contenedor-padre {
  display: grid;
  grid-template-areas: "titulo" "imgti" "imgtu" "imgty" "imgtt" "imgto" "imgtp" "imgtl";
  grid-template-columns: 1fr;
  grid-template-rows: auto repeat(6, 220px);
  gap: 10px;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 14px;
  border: #333333 2px solid;
}
@media (min-width: 521px) {
  .contenedor-padre {
    padding: 20px;
    grid-template-areas: "titulo titulo" "imgti imgtu" "imgty imgtt" "imgto imgtp" "imgtl imgtl";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto repeat(4, 220px);
  }
}
@media (min-width: 900px) {
  .contenedor-padre {
    grid-template-areas: "titulo titulo titulo" "imgti imgtu imgty" "imgti imgtu imgtt" "imgto imgtp imgtl";
    grid-template-columns: 34% 33% 33%;
    grid-template-rows: auto repeat(3, 200px);
  }
}
.contenedor-padre img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
}
.contenedor-padre img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.Titulogal {
  grid-area: titulo;
  text-align: center;
  margin-bottom: 10px;
}

.img1 {
  grid-area: imgti;
}

.img2 {
  grid-area: imgtu;
}

.img3 {
  grid-area: imgty;
}

.img4 {
  grid-area: imgto;
}

.img5 {
  grid-area: imgtp;
}

.img6 {
  grid-area: imgtl;
}

.img7 {
  grid-area: imgtt;
}