/* ======= Estilos Base ======= */
html, body {
    width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background-size: cover;
    height: 100%;
}
/* ======= Header ======= */
header {
  text-align: center;
  margin-bottom: 15px;
  background-color: rgba(107, 66, 38, 0.9);
  color: white;
  padding: 15px;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-family: 'Noto Serif JP', serif;
}

header p {
  margin: 10px 0 0 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: white;
}

header .home-link {
  text-decoration: none;
  color: white;
}

header .home-link:hover {
  text-decoration: none;
  color: #d3bfa7;
}

/* ======= Título Principal ======= */
h1 {
    text-align: center;
    margin: 0rem 0 0rem 0;
    font-size: 3.6rem;
    color: #C85D78;
    font-family: 'Noto Serif JP', serif;
}

/* ======= Contenedor Principal ======= */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* ======= Secciones de Nivel ======= */
section {
    background-color: #fafafa;
    border-radius: 1rem;
    padding: 0rem;
    margin-bottom: 1.5rem; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 700px;
    text-align: center;
}

section h2 {
    color: #000000;
    font-family: 'Noto Serif JP', serif;
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
}

section h3 {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
}


ul {
    list-style: none;
    padding-left: 1.5rem;
    text-align: left;
    max-width: 90%;
    margin: 0 auto;
}

ul li {
    position: relative;
    margin-bottom: 0.6rem;
    color: #000000;
    line-height: 1.5;
}

ul li::before {
    content: "•";
    color: #C85D78;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* ======= Botones ======= */
.btn {
    display: inline-block;
    background-color: #8a5e40;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #6B4226;
}

/* ======= Responsive ======= */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    section {
        padding: 1.5rem;
        max-width: 95%;
    }
    section h2 {
        font-size: 1.9rem;
    }
}

/* ======= Footer ======= */
.footer {
  background-color: rgba(107, 66, 38, 0.9);
  color: #fff;
  padding: 50px 8%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  border-bottom: 2px solid #fafafa;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
  font-size: 0.95rem;
  color: #fafafa;
  line-height: 1.6;
}

.footer-column a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ff7acc;
}

.footer-bottom {
  border-top: 1px solid #ffffff;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #fcd6d6;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 6%;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.detalle-nivel {
  background-color: #fff7f8;
  border-left: 5px solid #C85D78;
  border-right: 5px solid #C85D78;
  border-radius: 0.8rem;
  padding: 0rem 6rem;
  margin-top: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.detalle-nivel ul {
  margin-bottom: 1rem;
}

.detalle-nivel li {
  color: #333;
}

.detalle-nivel p {
  color: #555;
  margin: 0.5rem 0 0 0;
  font-weight: 500;
}
/* === Logo del header === */
.logo-img {
  height: 70px;           /* tamaño del logo */
  width: auto;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* efecto al pasar el mouse */
.logo-img:hover {
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .logo-img {
    height: 50px;
  }
}
