/* --- ESTILOS GENERALES --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            color: #333;
            line-height: 1.6;
            background-color: #f9f9f9;
        }

        /* --- MENÚ DE NAVEGACIÓN --- */
        header {
            background-color: #ffffff;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            font-weight: bold;
            font-size: 24px;
            color: #2c7a7b;
        }

        nav a {
            margin-left: 20px;
            text-decoration: none;
            color: #555;
            font-weight: 600;
            transition: color 0.3s;
        }

        nav a:hover {
            color: #2c7a7b;
        }

        /* --- SECCIÓN HERO (PORTADA) --- */
        .hero {
            background: linear-gradient(rgba(44, 122, 123, 0.2), rgba(44, 122, 123, 0.2)), 
                        url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
            height: 60vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: #fff;
            padding: 0 20px;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
        }

        .hero h1 {
            font-size: 42px;
            margin-bottom: 15px;
        }

        .hero p {
            font-size: 20px;
            max-width: 600px;
        }

        /* --- SECCIONES COMUNES --- */
        section {
            padding: 60px 10% 80px 10%;
        }

        .section-title {
            text-align: center;
            font-size: 32px;
            color: #2c7a7b;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background-color: #319795;
            margin: 10px auto 0 auto;
        }

        /* --- SERVICIOS --- */
        .services-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            align-items: start;
        }

        .service-card {
            background: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 15px;
        }

        .service-card h3 {
            margin-bottom: 15px;
            color: #2d3748;
        }

        /* Estilos personalizados para tus nuevas listas de servicios */
        .service-card ul {
            padding-left: 20px;
            margin-top: 10px;
        }

        .service-card li {
            margin-bottom: 10px;
            font-size: 15px;
            color: #4a5568;
        }

        /* --- CONTACTO --- */
        #contacto {
            background-color: #edf2f7;
        }

        .contact-container {
            max-width: 600px;
            margin: 0 auto;
            background: #fff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #cbd5e0;
            border-radius: 4px;
            font-size: 16px;
        }

        .btn-submit {
            display: inline-block;
            width: 100%;
            background-color: #2c7a7b;
            color: white;
            padding: 12px;
            border: none;
            border-radius: 4px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn-submit:hover {
            background-color: #235e60;
        }

        /* --- BOTÓN FLOTANTE DE WHATSAPP --- */
        .whatsapp-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: white;
            border-radius: 50px;
            text-align: center;
            padding: 15px 22px;
            font-size: 16px;
            font-weight: bold;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            text-decoration: none;
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: transform 0.3s, background-color 0.3s;
        }

        .whatsapp-btn:hover {
            transform: scale(1.05);
            background-color: #20ba5a;
        }

        .whatsapp-icon {
            font-size: 20px;
        }

        /* --- FOOTER --- */
        footer {
            background-color: #2d3748;
            color: white;
            text-align: center;
            padding: 20px;
            font-size: 14px;
        }

        /* Definición de la animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicación de la animación en los textos de la portada */
.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s; /* Espera un momento antes de empezar */
    opacity: 0; /* Evita que parpadee antes de la animación */
}

/* Definición de la animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicación de la animación en los textos de la portada */
.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s; /* Espera un momento antes de empezar */
    opacity: 0; /* Evita que parpadee antes de la animación */
}

html {
    scroll-behavior: smooth;
}