html, body {
  height: auto;
  overflow-y: auto;
}
header {
    background: #e58dd8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar {
    max-width: 1300px;
    margin: auto;
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #fbeffd;
    color: #333;
   /*overflow-x: hidden;*/
    overflow-y: auto;
}

.intro-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.intro-header {
    text-align: center;
    margin-bottom: 4rem;
}
.intro-header h2 {
    color: #7b0c6e;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.description-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}
.main-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}
.text-column { flex: 1.2; }
.image-column { flex: 0.8; }
.mision-block, .vision-block {
    margin-bottom: 2.5rem;
    text-align: justify;
}
h3 {
    color: #7b0c6e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}
li {
    margin-bottom: 0.5rem;
    color: #5a2050;
}
.sticky-container {
    position: sticky;
    top: 120px;
    text-align: center;
}
.sticky-container img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(123, 12, 110, 0.15);
}
.download-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 30px;
    background: #7b0c6e;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}
.download-btn:hover {
    background: #5a2050;
    transform: scale(1.05);
}
.contact-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #e58dd8;
    border-radius: 8px;
    font-family: inherit;
}
.btn-send {
    background: #7b0c6e;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
/*footer {
    background: #e58dd8;
    color: white;
    text-align: center;
    margin-top: 4rem;
}*/
@media (max-width: 768px) {
    .main-grid { flex-direction: column; }
    
    .image-column {
        order: -1; 
        width: 100%;
    }
    .intro-header h2 { font-size: 2rem; }
    
    .menu { display: none; }
}
.intro-header {
    width: 100%;
    margin-bottom: 3rem;
    text-align: left;
}
.intro-header h2 {
    color: #7b0c6e;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center; 
}
.description-container {
    max-width: 100%; 
    margin: 0;       
    text-align: justify; 
    line-height: 1.8;
}
.description-container p {
    margin-bottom: 1rem;
}
.main-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
}
        .referente-item { 
            display: flex; 
            align-items: flex-start; 
            gap: 2rem; 
            background: white; 
            margin-bottom: 2rem; 
            padding: 1.5rem; 
            border-radius: 20px; 
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        .referente-item img { 
            width: 150px; 
            height: 150px; 
            border-radius: 10%; 
            object-fit: cover; 
            border: 3px solid #1a1319; 
        }
        .referente-item h3 {
            margin-bottom: 15px; 
            color: #5a2050;
        }
        .referente-item p {
            text-align: justify;
            line-height: 1.6;
        }
        details summary {
            cursor: pointer;
            color: #7b0c6e;
            font-weight: bold;
            margin-top: 10px;
            outline: none;
            list-style: none; 
        }
        details summary:hover {
            text-decoration: underline;
        }
        .contenido-extra {
            margin-top: 10px;
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @media (max-width: 600px) {
            .referente-item { flex-direction: column; align-items: center; text-align: center; }
            .referente-item p { text-align: justify; }
        }
   p {
    letter-spacing: normal;
    word-spacing: normal;
    text-align: justify;
    hyphens: auto;
}
.recursos-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

#btnMas {
  margin: 3% 50%;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: #7b0c6e;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

#btnMas:hover {
  background: #7b0c6e;
}

/* Imagen consistente */
.recurso-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Texto recortado por defecto */
