
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background: #f5f6fa; 
    color: #333; 
    line-height: 1.6; 
}


/* Encabezado */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; background: #222; color: #fff; position: sticky; top: 0; z-index: 100; }
header .logo { font-size: 1.5rem; font-weight: bold; }
header ul { list-style: none; display: flex; }
header ul li { margin-left: 20px; }
header ul li a { color: #fff; text-decoration: none; font-weight: 500; transition: 0.3s; }
header ul li a:hover { color: #ff9800; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a1a1a, #333); color: #fff; text-align: center; padding: 120px 20px; position: relative; }
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.3rem; margin-bottom: 30px; }
.btn { padding: 12px 25px; background: #ff9800; color: #fff; border: none; border-radius: 30px; font-weight: bold; text-decoration: none; transition: background 0.3s; }
.btn:hover { background: #e68900; }

/* Servicios */
section { padding: 60px 20px; }
h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }
.cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); width: 300px; text-align: center; opacity: 0; transform: translateY(50px); transition: all 0.6s ease-out; }
.card i { color: #ff9800; margin-bottom: 15px; }
.card:hover { transform: translateY(-10px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* Beneficios */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; text-align: center; }
.benefit { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); font-weight: 500; }
.benefit i { color: #ff9800; margin-right: 10px; }

/* Contacto */
form { max-width: 500px; margin: auto; display: flex; flex-direction: column; }
form input, form textarea { margin-bottom: 15px; padding: 12px; border: 1px solid #ccc; border-radius: 8px; }
form button { background: #ff9800; color: #fff; padding: 12px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; }
form button:hover { background: #e68900; }

.text-center {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.facebook-float {
    position: fixed;
    bottom: 90px; /* para que no choque con el de WhatsApp */
    right: 20px;
    background: #1877f2;
    color: #fff;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: background 0.3s;
}
.facebook-float:hover {
    background: #0e5bd1;
}


/* WhatsApp flotante */
.whatsapp-float { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background: #25d366; 
    color: #fff; 
    font-size: 2rem; 
    width: 60px; 
    height: 60px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    z-index: 1000; 
    text-decoration: none;
    transition: background 0.3s;
}
.whatsapp-float:hover { background: #20b954; }



/* Footer */
footer { text-align: center; padding: 20px; background: #222; color: #fff; margin-top: 40px; }

/* CARRUSEL */
.carousel {
    position: relative;
    max-height: 600px;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carousel-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: brightness(0.5);
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}
.carousel-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.carousel-text p {
    font-size: 1.3rem;
}


/* Maps */
#ubicacion { padding: 50px 20px; text-align: center; }
#map { width: 100%; height: 400px; border-radius: 10px; margin-top: 20px; }

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
