*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins', sans-serif;
}

body{
background:#f7f7fb;
color:#000;
}

/* HEADER */

.hero{
height:469px;
display:flex;
align-items:center;
justify-content:center;
/* IMAGEN DE FONDO */
background-image: url("../images/header-bg.jpg"); /* cambia el nombre */
background-size: cover;
background-position: center;
background-repeat: no-repeat;

/* Capa oscura premium para que el texto se lea */
position: relative;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to right,
rgba(255,255,255,0.85),
rgba(255,255,255,0.65)
);
}

.hero-container{
position:relative;
z-index:2;
width:1100px;
display:flex;
align-items:center;
justify-content:center;
gap:60px;
}

.hero-image img{
height:469px;
width:auto;
object-fit:cover;
}

.hero-text{
max-width:450px;
text-align:center;
}

.hero-text h1{
font-size:48px;
color:#93278F;
font-weight:700;
margin-bottom:10px;
}

.hero-text h2{
font-weight:400;
font-size:20px;
letter-spacing:1px;
color:#5a2a7a;
margin-bottom:20px;
}

.tagline{
font-size:16px;
margin-bottom:30px;
color:#333;
}

.hero-buttons{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
}

/* BOTONES */

.btn{
padding:12px 28px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:0.3s ease;
}

.primary{
background:#93278F;
color:white;
box-shadow:0 5px 15px rgba(147,39,143,0.3);
}

.primary:hover{
transform:translateY(-2px);
}

.outline{
border:2px solid #93278F;
color:#93278F;
}

.outline:hover{
background:#93278F;
color:white;
}

/* SECCIONES */

.container{
width:90%;
max-width:1100px;
margin:auto;
padding:80px 0;
text-align:center;
}

h3{
font-size:32px;
color:#93278F;
margin-bottom:30px;
}


/* SERVICIOS */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.card{
background:white;
padding:30px;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:0.3s;
}

.card:hover{
transform:translateY(-6px);
}

.card h4{
color:#93278F;
margin-bottom:15px;
}

/* FOOTER */

footer{
background:#1f1630;
color:white;
text-align:center;
padding:25px;
font-size:14px;
}

/* RESPONSIVE */

@media(max-width:900px){

.hero{
height:auto;
padding:60px 20px;
}

.hero-container{
flex-direction:column;
}

.hero-image img{
height:300px;
}

.hero-text h1{
font-size:36px;
}

}


.testimonials{
background:#f4f1f7;
}

.testimonial-slider{
max-width:700px;
margin:auto;
position:relative;
}

.testimonial{
display:none;
font-size:18px;
line-height:1.7;
color:#333;
}

.testimonial span{
display:block;
margin-top:15px;
font-weight:600;
color:#93278F;
}

.testimonial.active{
display:block;
}

.about{
background:#ffffff;
}

.about-wrapper{
display:flex;
gap:80px;
align-items:flex-start;
text-align:left;
}

.about-text{
flex:1.2;
}

.about-text h3{
font-size:36px;
color:#93278F;
margin-bottom:15px;
line-height:1.2;
}

.divider{
width:80px;
height:4px;
background:linear-gradient(90deg,#93278F,#93288d);
margin:20px 0 30px 0;
border-radius:4px;
}

.about-text p{
margin-bottom:18px;
color:#333;
font-size:16px;
line-height:1.7;
}

.about-text .highlight{
font-weight:600;
color:#5a2a7a;
}

.about-stats{
flex:1;
display:grid;
grid-template-columns:1fr 1fr;
gap:25px;
}

.stat{
background:#f6f2fa;
padding:25px;
border-radius:18px;
text-align:center;
box-shadow:0 10px 25px rgba(147,39,143,0.08);
transition:0.3s ease;
}

.stat:hover{
transform:translateY(-5px);
}

.stat h4{
font-size:28px;
color:#93278F;
margin-bottom:8px;
}

.stat span{
font-size:14px;
color:#444;
}

/* RESPONSIVE */

@media(max-width:900px){

.about-wrapper{
flex-direction:column;
gap:50px;
text-align:center;
}

.about-text{
text-align:center;
}

.about-stats{
grid-template-columns:1fr 1fr;
}

}
.hero-keywords{
margin-top:30px;
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;
font-size:13px;
letter-spacing:1px;
text-transform:uppercase;
}

.hero-keywords span{
padding:6px 14px;
border-radius:20px;
background:linear-gradient(90deg, rgba(147,39,143,0.1), rgba(74,144,226,0.1));
color:#5a2a7a;
font-weight:500;
transition:0.3s ease;
}

.hero-keywords span:hover{
background:linear-gradient(90deg,#93278F,#93288d);
color:white;
}

.testimonial-slider{
display:flex;
align-items:center;
justify-content:center;
gap:30px;
max-width:800px;
margin:auto;
position:relative;
}

.testimonial-wrapper{
max-width:600px;
position:relative;
}

.testimonial{
opacity:0;
position:absolute;
left:0;
top:0;
width:100%;
transition:opacity 0.5s ease;
text-align:center;
}

.testimonial.active{
opacity:1;
position:relative;
}

.testimonial p{
font-size:18px;
line-height:1.7;
color:#333;
}

.testimonial span{
display:block;
margin-top:15px;
font-weight:600;
color:#93278F;
}

/* BOTONES */

.nav{
background:#93278F;
color:white;
border:none;
width:40px;
height:40px;
border-radius:50%;
cursor:pointer;
font-size:18px;
display:flex;
align-items:center;
justify-content:center;
transition:0.3s ease;
}

.nav:hover{
background:#5a2a7a;
transform:scale(1.1);
}

/* Responsive */

@media(max-width:768px){
.testimonial-slider{
flex-direction:column;
gap:20px;
}
.nav{
width:35px;
height:35px;
}
}

/* ===== CONTACTO PROFESIONAL ===== */

.contact {
    background: #f9fafc;
    padding: 90px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #1f2d3d;
}

.divider.center {
    margin: 15px auto 60px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.contact-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #93288d;
}

.contact-column h4 i {
    margin-right: 10px;
    color: #93288d;
}

.location p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.map-link {
    display: inline-block;
    text-decoration: none;
    color: #93288d;
    font-weight: 500;
    transition: 0.3s;
}

.map-link:hover {
    opacity: 0.7;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 16px;
}

.contact-list i {
    width: 25px;
    color: #93288d;
}

.contact-list a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.contact-list a:hover {
    color: #93288d;
}

.contact-buttons {
    text-align: center;
    margin-top: 30px;
}

.contact-buttons .btn {
    margin: 10px;
    padding: 14px 28px;
    font-size: 16px;
}

/* Responsive */

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Fade suave */

.testimonial {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

/* Necesario para que funcione correctamente */
.testimonial-wrapper {
    position: relative;
    min-height: 180px;
}