*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#f4f6f9;
    color:#333;
    padding-top:80px;
}

/* HEADER */
header{
    position:fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    background:white;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.logo{
    height:50px;
}

/* NAV */
nav a{
    color:#7a5a8b;
    text-decoration:none;
    margin-left:20px;
    font-weight:bold;
    cursor:pointer;
}

nav a.active{
    color:#31203a;
    border-bottom:2px solid #31203a;
    padding-bottom:5px;
}

/* HERO */
.hero{
    height:90vh;
    background:
    linear-gradient(rgba(122,90,139,0.7), rgba(49,32,58,0.7)),
    url("imagenes/banner/banner1.jpg") no-repeat;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:20px;
}

/* BOTON */
.btn{
    background:#6eb2ab;
    padding:12px 30px;
    color:white;
    text-decoration:none;
    border-radius:5px;
    transition:.3s;
}

.btn:hover{
    background:#589891;
}

/* SERVICIOS */
.services{
    padding:60px 10%;
    text-align:center;
}

.cards{
    display:flex;
    flex-direction:column;
    gap:50px;
    margin-top:40px;
}

/* CARD HORIZONTAL */
.card-horizontal{
    display:flex;
    align-items:center;
    gap:40px;
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card-horizontal:hover{
    transform:translateY(-5px);
}

.card-horizontal img{
    width:300px;
    height:300px;
    object-fit:cover;
    border-radius:30%;
    border:3px solid #7a5a8b;
}

.card-text{
    text-align:left;
}

.card-text h3{
    font-size:28px;
    margin-bottom:15px;
}

.card-text p{
    font-size:16px;
    line-height:1.6;
}

/* BOTON INFO SERVICIOS */
.info-btn{
    margin-top:20px;
    background:#7a5a8b;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.info-btn:hover{
    background:#31203a;
    transform:translateY(-2px);
}

/* ABOUT */
.about{
    background:white;
    padding:80px 10%;
}

.about-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

.about-text{
    max-width:500px;
}

.about-text h2{
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:25px;
    line-height:1.7;
}

.about-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-about{
    display:inline-block;
    background:#7a5a8b;
    color:white;
    padding:12px 28px;
    border-radius:25px;
    text-decoration:none;
    transition:.3s;
}

.btn-about:hover{
    background:#31203a;
}

/* Imagen About */
.about-img img{
    width:320px;
    height:320px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid white;
    box-shadow:0 5px 20px rgba(0,0,0,0.25);
}

/* CONTACTO */
.contact{
    width:100%;
    padding:80px 10%;
    background:#f4f4f4;
}

.contact-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:50px;
}

.contact-logo{
    width:200px;
}

.contact-about p{
    margin-top:20px;
    line-height:1.6;
}

.contact-schedule{
    background:#2d408a;
    color:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.contact-item{
    display:flex;
    gap:12px;
    margin-bottom:15px;
    align-items:center;
}

.contact-item a{
    color:#333;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.contact-item a:hover{
    color:#7a5a8b;
    text-decoration:underline;
}

.icon{
    font-size:20px;
}

.contact-map iframe{
    width:100%;
    height:250px;
    border:none;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.map-btn{
    display:inline-block;
    margin-top:15px;
    background:#2d408a;
    color:white;
    padding:12px 20px;
    border-radius:10px;
    text-decoration:none;
}

/* FOOTER */
.footer{
    background:#31203a;
    color:white;
    padding-top:50px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:50px;
    padding:0 10%;
}

.footer-col{
    max-width:250px;
    display:flex;
    flex-direction:column;
}

.footer-logo{
    width:160px;
    margin-bottom:15px;
}

.social-icons a{
    display:inline-block;
    color:white;
    font-size:24px;
    margin-right:15px;
    transition:0.3s;
}

.social-icons a:hover{
    color:#7a5a8b;
    transform:scale(1.2);
}

.footer-bottom{
    margin-top:40px;
    text-align:center;
    padding:20px;
    background:#24182b;
}

/* MODALES */
.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    justify-content:center;
    align-items:center;
    z-index:2000;
    padding:20px;
}

.modal-content{
    background:white;
    max-width:850px;
    width:100%;
    padding:35px;
    border-radius:20px;
    position:relative;
    animation:modalFade .3s ease;
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
}

.modal-top{
    display:flex;
    gap:30px;
    align-items:center;
    margin-bottom:25px;
}

.modal-top img{
    width:280px;
    height:220px;
    object-fit:cover;
    border-radius:15px;
    flex-shrink:0;
    border:3px solid #7a5a8b;
}

.modal-side-text{
    flex:1;
}

.modal-side-text h2{
    color:#31203a;
    margin-bottom:12px;
    font-size:30px;
}

.modal-side-text h4{
    color:#7a5a8b;
    font-size:18px;
    font-weight:600;
}

.modal-description{
    border-top:1px solid #ddd;
    padding-top:25px;
}

.modal-description p{
    line-height:1.9;
    font-size:16px;
    color:#444;
}

.close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    cursor:pointer;
    color:#31203a;
    transition:.3s;
}

.close:hover{
    transform:scale(1.2);
    color:#7a5a8b;
}

@keyframes modalFade{
    from{
        opacity:0;
        transform:scale(.85);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* WHATSAPP */
.whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
    z-index:1000;
    transition:0.3s;
    animation:whatsappPulse 2s infinite;
}

.whatsapp:hover{
    transform:scale(1.1);
    background:#1ebe5d;
}

@keyframes whatsappPulse{
    0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.7); }
    70%{ box-shadow:0 0 0 15px rgba(37,211,102,0); }
    100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

/* BOTON HAMBURGUESA */
.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#31203a;
}

/* RESPONSIVE */
@media (max-width:768px){

    header{
        padding:15px 20px;
    }

    .logo{
        height:40px;
    }

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:16px;
    }

    .btn,
    .btn-about,
    .info-btn{
        padding:10px 20px;
        font-size:14px;
    }

    .card-horizontal{
        flex-direction:column;
        text-align:center;
    }

    .card-horizontal img{
        width:200px;
        height:200px;
        margin-bottom:20px;
    }

    .card-text{
        text-align:center;
    }

    .card-text h3{
        font-size:22px;
    }

    .card-text p{
        font-size:15px;
    }

    .about-container{
        flex-direction:column;
        text-align:center;
    }

    .about-img img{
        width:250px;
        height:250px;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .menu-toggle{
        display:block;
    }

    nav{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:white;
        display:none;
        flex-direction:column;
        text-align:center;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
    }

    nav a{
        margin:15px 0;
        display:block;
        font-size:16px;
    }

    nav.active{
        display:flex;
    }

    .modal-content{
        padding:25px;
    }

    .modal-content img{
        max-height:220px;
    }
}