body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Header */
header {
    background-color: #33bd37;
    color: #ffffff;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.logo img {
    height: 125px;
}

header h1 {
    margin: 0 0 15px 0;
    font-size: 1.8em;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    display: none;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Sección de inicio */
#inicio {
    padding: 4em 2em;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

#inicio h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #000000;
    position: relative;
    display: inline-block;
}

#inicio h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #33bd37;
}


.contenedor-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}


/* Sección de servicios */
.servicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    padding: 4em 2em;
    background-color: #ffffff;
}
/* Botón de WhatsApp flotante */
.float-whatsapp {
    position: fixed;
    bottom: 2em;
    right: 2em;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 99;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1) translateY(-5px);
}

/* Footer */
footer {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 2em;
    margin-top: 2em;
}

/* Media Queries */
@media (max-width: 768px) {
    /* Header */
    header {
        flex-direction: row;
        text-align: left;
        padding: 0.5em 1em;
    }

    .logo img {
        height: 80px;
    }

    header h1 {
        font-size: 1.3em;
        margin: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
    }

    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 0.5em 0;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
    }

    /* Pie de página */
    footer {
        font-size: 14px;
    }
    
    #inicio h1 {
        font-size: 2em;
    }
    
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.1em;
    }
    
    .logo img {
        height: 60px;
    }
}
/*IMAGENES*/
/* Sección de Servicios Principal */
#servicios {
    padding: 50px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

#servicios h1 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #000000;
    position: relative;
    padding-bottom: 10px;
}

#servicios h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #33bd37;
}

.contenedor-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.servicio {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.servicio img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.servicio h3 {
    margin: 20px 0 15px;
    color: #33bd37;
    font-size: 1.4em;
    padding: 0 15px;
}

.servicio p {
    padding: 0 20px 20px;
    text-align: left;
    margin: 0;
    flex-grow: 1;
}

.contenedor-servicios a.ref {
    text-decoration: none;
    color: inherit;
}

/* Secciones de servicios individuales */
section[id^="casa_rous"]

{
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contenedor-rous {
    text-align: center;
    margin-bottom: 40px;
}

.contenedor-rous h1{
    font-size: 2em;
    color: #33bd37;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #33bd37;
    display: inline-block;
}

.contenedor-rous h3{
    font-size: 1.4em;
    color: #555;
    margin-bottom: 20px;
}

.contenedor-rous p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.7;
}
/* Highlight sections */
.highlight {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 900px;
    text-align: left;
}

.highlight h3 {
    color: #33bd37;
    margin-top: 0;
    text-align: center;
    font-size: 1.5em;
}

.highlight ul {
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}

.highlight li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    list-style: none;
}

.highlight li::before {
    content: "•";
    color: #33bd37;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -3px;
}

.highlight li strong {
    color: #33bd37;
}

.imagen {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.imagen img {
    width: 100%;
    height: auto;
    display: block;
}
