:root
{
    --primary: #240046; 
    --secondary: #240046; 
    --text: #222; 
    --bg-light: #f6f8fa; 
    --bg-white: #fff;
}
* {margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif;}
body {
    background-color: var(--bg-white);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.feature-card h3,
.contact-info h3,
.footer-col h4 {
    color: var(--primary);
}


nav {
    width: 100%;
    background: var(--primary);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    width: 85%;
    margin: 0 auto;
    max-width: 1200px;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-links {
    list-style: none;
    display: flex;
    font-size: 1.08rem;
}
.nav-links li {
    margin-left: 28px;
}
.nav-links li:first-child {
    margin-left: 0;
}
.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
}
.nav-links a:hover {color: #fff;}
.nav-links a:hover:after {width: 100%;}
.burger {display: none; cursor: pointer;}
.burger div {width: 25px; height: 3px; background-color: #fff; margin: 5px; transition: all 0.3s ease;}


.nav-links li.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary);
    min-width: 200px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    z-index: 999;
}
.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.dropdown-menu a:hover {
    background-color: var(--primary);
    color: #fff;
    font-weight: normal;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown .fas.fa-caret-down {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.dropdown:hover .fas.fa-caret-down {
    transform: rotate(180deg);
}

.dropdown-menu li:first-child a {
    text-align: center;
    display: block;

}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    gap: 10px;
}
.logo img {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .nav-container {
        width: 96%;
        padding: 10px 0;
    }
    .nav-links {
        font-size: 1rem;
    }
    .logo {
        font-size: 1.3rem;
    }
}
@media (max-width: 700px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        background: var(--primary);
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 18px 0 0 0;
    }
    .burger {
        display: block;
    }
}


.ofrecemos-block {
    background: #f8f8ff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(80,0,120,0.07);
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1200px;
}
.ofrecemos-flex {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.ofrecemos-col {
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 500px;
}
.ofrecemos-col h3 {
    color: #6c3fc5;
    margin-bottom: 18px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.paquete-card {
    background: #fff;
    border: 2px solid #e0d7f7;
    border-radius: 10px;
    padding: 22px 18px 18px 18px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(80,0,120,0.05);
    transition: box-shadow 0.2s;
}
.paquete-card:hover {
    box-shadow: 0 4px 16px rgba(80,0,120,0.13);
    border-color: #6c3fc5;
}
.paquete-card h4 {
    color: #240046;
    margin-bottom: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 7px;
}
.paquete-card .precio {
    color: #6c3fc5;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.paquete-card ul {
    padding-left: 18px;
    margin: 0;
    color: #240046;
    font-size: 1em;
}
.paquete-card ul li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}
@media (max-width: 900px) {
    .ofrecemos-flex {
        flex-direction: column;
        gap: 0;
    }
    .ofrecemos-col {
        max-width: 100%;
    }
}


.hero {
    min-height: 70vh;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    color: var(--text);
    text-align: center;
    padding-top: 120px;
}
.hero-content {max-width: 800px; margin: 0 auto; padding: 0 20px;}
.hero h1 {font-size: 3.2rem; margin-bottom: 20px;}
.hero p {font-size: 1.2rem; margin-bottom: 30px;}
.features {display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;}
.feature-card {
    flex: 1; min-width: 300px; max-width: 350px; background-color: var(--bg-light);
    border-radius: 10px; padding: 30px; text-align: center;
    box-shadow: 0 5px 15px rgba(162,89,234,0.06); transition: all 0.3s ease;
    color: var(--text);
}
.feature-card:hover {transform: translateY(-10px); box-shadow: 0 15px 30px rgba(162,89,234,0.12);}
.feature-icon {font-size: 3rem; color: var(--primary); margin-bottom: 20px;}
.why-us, .services, .advantaje, .contact {padding: 80px 0;}
.why-us, .services, .advantaje, .contact {background-color: var(--bg-white);}
.why-us.section-purple, .services.section-purple, .advantaje.section-purple, .contact.section-purple {background: linear-gradient(120deg, var(--primary) 80%, var(--secondary) 100%); color: #fff;}

.advantaje-carousel {overflow: hidden; padding: 20px 0; position: relative;}
.carousel-container {display: flex; animation: scroll 30s linear infinite; width: calc(200px * 10);}
.client-logo {
    width: 180px; height: 100px; margin: 0 10px; display: flex;
    justify-content: center; align-items: center; background-color: var(--bg-light); border-radius: 5px;
    font-weight: bold; color: var(--primary); box-shadow: 0 1px 4px rgba(162,89,234,0.09);
}
.advantaje-logo img {
    max-width: 80%; max-height: 80%; filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.advantaje-logo:hover img {filter: grayscale(0%);}
@keyframes scroll {
    0% {transform: translateX(0);}
    100% {transform: translateX(calc(-200px * 5));}
}


.servicios-btn {
    background: #240046 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 16px 36px;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(80,0,120,0.07);
    cursor: pointer;
    transition: background 0.2s;
    margin: 0 auto;
    display: block;
}
.servicios-btn:hover {
    background: #3c096c !important;
}
.btn {
    display: inline-block; padding: 12px 30px; background-color: var(--primary);
    color: white; border: none; border-radius: 5px; text-decoration: none; 
    font-weight: bold; transition: all 0.3s ease; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(162,89,234,0.10);
}
.btn:hover {background-color: var(--secondary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(162,89,234,0.15);}
.section-title {
    text-align: center; margin-bottom: 50px; font-size: 2.5rem; position: relative;
}
.section-title:after {
    content: ''; display: block; width: 80px; height: 4px;
    background-color: var(--primary); margin: 15px auto 0;
    border-radius: 2px;
}


.contact-form-container {
    background: #9a5ceba6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(80,0,120,0.10);
    padding: 32px 24px;
    max-width: 600px;
    margin: 40px auto;
}
.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form-container label {
    font-weight: bold;
    color: #240046;
}
.contact-form-container input,
.contact-form-container textarea {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    font-size: 1em;
    background: #fff;
    color: #240046;
    width: 100%;
    box-sizing: border-box;
}
.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: 2px solid #6c3fc5;
    border-color: #6c3fc5;
}
.form-group {margin-bottom: 20px;}
.form-group label {display: block; margin-bottom: 8px; font-weight: 500;}
.form-control {
    width: 100%; padding: 12px; border: 1px solid var(--gray); border-radius: 5px;
    font-size: 1rem; transition: border-color 0.3s; background-color: #fff; color: var(--text);
}
.form-control:focus {outline: none; border-color: var(--primary);}
textarea.form-control {resize: vertical; min-height: 120px;}


footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-container {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;}
.footer-col {flex: 1; min-width: 250px;}
.footer-col h4 {
    color: #fff; margin-bottom: 20px; font-size: 1.2rem;
    position: relative; padding-bottom: 10px;
}
.footer-col h4:after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 50px; height: 2px; background-color: #fff;
}
.footer-links {list-style: none;}
.footer-links li {margin-bottom: 15px;}
.footer-links a {color: #fff; text-decoration: none; transition: color 0.3s;}
.footer-links a:hover {color: #fff; padding-left: 15px; font-weight: bold;}
.social-links {display: flex; gap: 15px; margin-top: 20px;}
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background-color: #fff; border-radius: 50%;
    color: var(--primary); transition: all 0.3s ease; border: 1px solid var(--primary);
}
.social-links a:hover {background-color: var(--secondary); color: #fff; transform: translateY(-3px);}
.copyright {
    text-align: center; padding-top: 30px; margin-top: 30px;
    border-top: 1px solid #fff; font-size: 0.9rem; color: #fff;
}
#boton-secreto {
    position: fixed;
    top: 55%;
    right: 0;
    transform: translateY(-50%);
    background: #6c3fc5;
    color: #fff;
    border-radius: 18px 0 0 18px;
    box-shadow: 0 2px 8px rgba(80,0,120,0.13);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
    font-size: 1.2em;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0.5;
}
#boton-secreto:hover {
    background: #a259ea;
    opacity: 1;}


.paquete-detalle {
    display: none;
    margin: 0 0 16px 24px;
    background: #f6f2ff;
    border-radius: 8px;
    padding: 10px 16px;
}
.paquete-btn {
    background: none;
    border: none;
    color: #240046;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin: 12px 0 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.paquete-btn:focus {
    outline: 2px solid #a259ea;
}
.paquete.open .paquete-detalle {
    display: block;
}
