* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fbeffd;
    color: #333;
    /*overflow-x: hidden;*/
}

header {
    background: #e58dd8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.content-header{
    background-color: white!important;
    box-shadow: none;
    z-index: unset !important;
}
.navbar {
    max-width: 1300px;
    margin: auto;
    /*padding: 1rem 2rem;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #3a2a34;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    background: #7b0c6e;
    bottom: 0; left: 0;
    transition: 0.3s;
}

.nav-link:hover::after { width: 100%; }

.dropdown { position: relative; }

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: #ffffff;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 10px;
    padding: 10px 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: #fbeffd;
    color: #7b0c6e;
}

.carousel {
    width: 100%;
    height: 60vh;
    background: #1a1a1a;
    overflow: hidden;
}

.slide-group {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide-group img {
    width: 33.333%;
    height: 100%;
    object-fit: cover;
}
.slide-cartel img{
    object-fit: scale-down!important;
}

.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.5;
}
.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: 1.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;
}
.download-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 5px 20px;
    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 {
    padding-top: 40px;
    margin: 0;
  /*  box-sizing: border-box;
    display: block;
    text-align: center;*/
  
}
.logo_footer img{
    width: 200px;
    height: 200px;
    object-fit: contain;
}
.menu-footer ul, .menu-footer li, .menu-footer ul li a{
    list-style: none;
    margin: 0;
    padding: 0;
    color: #520257;
}
.menu-footer{
   /* padding: 1em;
    display: inline-block;*/
    color: #520257;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
   padding-bottom: 30px;
  padding-left: 30px;
  padding-right: 30px;
}
.menu-footer-list{
    border-right: 2px solid #520257;
    /*float: left;
    padding: 1em;
    text-align: left;*/

     display: flex;
    flex-direction: column;
    margin-left: 40px;
     padding-right: 40px;
}
.menu-footer-list h2 {
    margin-bottom: 10px;
}
/*.social-media{
    padding: 1em;
    float: left;

}*/
.copyright{
    background: #520257;
    color: white;
    text-align: center!important;
    padding: 1em;
}
.copyright p{
    text-align: center!important;
}
/* REDES SOCIALES */
.social-media {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-left: 40px;
}

/* ICONOS */
.media-ico wa-icon {
    font-size: 30px; /* ajusta entre 30–50px según gusto */
    color: #520257;
}
@media (max-width: 768px) {
    .main-grid { flex-direction: column; }
    
    .image-column {
        order: -1;
        width: 100%;
    }

    .intro-header h2 { font-size: 2rem; }
    
    .menu { display: none; } 
      .menu-footer {
        flex-direction: column; /* cambia de fila a columna */
        align-items: center;    /* centra todo */
        text-align: center;
        gap: 30px;
    }

    /* LOGO */
    .logo_footer img {
        width: 150px;
        height: 150px;
    }

    /* MENÚ */
    .menu-footer-list {
        border-right: none;   /* quita la línea vertical */
        padding-right: 0;
        margin-left: 0;
    }

    .menu-footer-list ul li {
        margin-bottom: 10px;
    }

    /* SOCIAL MEDIA */
    .social-media {
        justify-content: center;
        margin-left: 0;
        gap: 20px;
    }

    .media-ico wa-icon {
        font-size: 40px; /* un poco más visibles en móvil */
    }
}
.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.5;
}

.description-container p {
    margin-bottom: 1rem;
}

.main-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
}
.nav-link:hover::after { width: 100%; }

.dropdown {
    position: relative;
}
.dropdown-content {
    display: block; 
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: #ffffff; 
    min-width: 150px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 10px;
    padding: 10px 0;
    transition: all 0.3s ease; 
    transform: translateY(10px); 
    z-index: 1001;
    border: 1px solid rgba(123, 12, 110, 0.1);
}
.dropdown::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 15px;
    bottom: -15px;
    left: 0;
}
.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
    font-weight:600;
    text-align: right;
}
.dropdown-content li a:hover {
    background: #fbeffd; 
    color: #7b0c6e;
    padding-left: 25px;
}
.carousel {
    width: 100%;
    height: 60vh;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}
.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; 
    z-index: 1;
}

.slide-group.active {
    opacity: 1; 
    z-index: 2;
}
.slide-group img {
    width: 33.333%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #1a1a1a;
}
.intro-section {
    max-width: 1200px;
    margin: 4rem auto;
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
}
.intro-content-left { flex: 1.2; }

.intro-text h2 {
    color: #7b0c6e;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.contact-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(123, 12, 110, 0.1);
    margin-top: 2rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #e58dd8;
    border-radius: 8px;
    outline: none;
}

.btn-send {
    background: #7b0c6e;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover { background: #5a2050; transform: translateY(-2px); }

.intro-image { flex: 0.8; text-align: center; }
.intro-image img { width: 100%; max-width: 380px; }

@media (max-width: 900px) {
    .intro-section { flex-direction: column; }
    .carousel-track img { width: 100%; } 
}
/*----------------------------------------------------*/
/*footer {
    background: #e58dd8; 
    color: white;
    padding: 40px;
    text-align: center;
}*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #5a2050;
    cursor: pointer;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .navbar {
        padding: 1rem 1.5rem;
        flex-wrap: wrap; 
    }
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: #e58dd8;
        padding: 1rem 0;
    }
    .menu.active {
        display: flex;
    }
    .menu li {
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .carousel { height: 40vh; }
    .slide-group img { width: 100%; }
    .slide-group img:nth-child(n+2) { display: none; }
    .intro-section {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    .intro-content-left, .intro-image {
        width: 100%;
        flex: none;
    }
    .intro-text h2 { font-size: 1.8rem; text-align: center; }
    .intro-image {
        order: -1; 
    }

    .intro-image img {
        max-width: 200px;
    }
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none; 
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

p {
    letter-spacing: normal;
    word-spacing: normal;
    text-align: justify;
    hyphens: auto;
}