:root {
    --primary: #0056b3;
    --dark: #121212;
    --light: #fdfdfd;
    --gray: #6c757d;
}

* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; margin: 0; background: var(--light); color: #333; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #fff; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 55px; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--dark); font-weight: 600; transition: 0.3s; }
nav a:hover, nav a.active { color: var(--primary); }

/* Carrusel Automático */
.carrusel-container { width: 100%; overflow: hidden; border-radius: 12px; margin-top: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
/* Carrusel tipo Apple */
.carrusel-container {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Slides superpuestos */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

/* Slide activo */
.slide.active {
    opacity: 1;
}

/* Imagen */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Puntitos */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    display: inline-block;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Grilla de Servicios */
.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 40px; }
.card { background: #fff; padding: 30px; border-radius: 12px; transition: 0.4s; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid var(--primary); }
.card:hover { transform: translateY(-10px); box-shadow: 0 12px 25px rgba(0,0,0,0.1); }
.icon { font-size: 2.5rem; margin-bottom: 15px; }

/* Formulario */
.form-contacto { display: flex; flex-direction: column; gap: 15px; max-width: 500px; }
.form-contacto input, .form-contacto select, .form-contacto textarea { padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }
.btn-submit { background: var(--primary); color: white; border: none; padding: 15px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: #003d82; }

/* Footer */
footer { background: var(--dark); color: white; padding: 50px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.copyright { text-align: center; margin-top: 40px; font-size: 0.8rem; opacity: 0.5; }

/* Animaciones */
.fade-in { animation: fadeIn 0.8s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 15px; }
    .carrusel-container {
    height: 250px;
}
}

.valores-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.valores-lista li {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}

.valores-lista li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.subtitulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: -5px;
    margin-bottom: 25px;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
}

.social-link:visited {
    color: white;
}

.social-link:hover {
    color: var(--primary);
}
.logo a {
    display: inline-block;
}
.carrusel-container {
    touch-action: pan-y;
}
/* BOTÓN HERO DEBAJO DEL TEXTO */

.hero-btn-wrapper {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 10px;
}

.btn-hero {
    display: inline-block;
    background: #121212;
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #000;
}
