* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    scroll-behavior: smooth;
} 

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* <-- AUMENTAR ALTURA DEL HEADER AQUÍ */
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px; /* Más espacio horizontal */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo img {
    height: 100px; /* Logo más grande */
}
nav {
    border: 1.5px solid #9be42e;
    border-radius: 10px;
    padding: 10px 30px;
    background-color: transparent;
}


nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.btn-servicio {
    background: #9be42e;
    padding: 12px 22px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* HERO */
.hero {
    height: 100vh;
    background: url('imag/menu.png') center/cover no-repeat; /* Cambia la imagen aquí */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3.2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.hero-text p {
    font-size: 1.4rem;
}

/* SECCION NOSOTROS */
#nosotros .container {
    display: flex;
    flex-wrap: wrap;
    padding: 90px 80px; /* <-- AMPLIAR ANCHURA AQUÍ */
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: auto;
}

.img-box img {
    width: 100%;
    max-width: 550px; /* Imagen más grande */
    border-radius: 10px;
}

.text-box {
    max-width: 550px; /* Texto más ancho */
    text-align: justify;
    padding: 20px 40px;
}

.text-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 80px; /* Espacio entre íconos */
    margin-top: 50px;
}

.icons div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icons img {
    width: 110px;
    margin-bottom: 10px; /* Espacio entre imagen y texto */
}

.icons p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000; /* opcional */
    margin: 0;
}


/* SERVICIOS */
#servicios {
    text-align: center;
    padding: 60px 20px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servicio-card {
    border: 2px solid #9be42e;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s;
    text-decoration: none; /* <-- Quita el subrayado del enlace */
    color: inherit;        /* <-- Hereda el color del texto original */
    display: flex;         /* <-- Hace que la tarjeta siga alineada */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.servicio-card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.servicio-card img {
    width: 80px; /* <-- CAMBIA EL TAMAÑO DE LOS ICONOS DE SERVICIOS AQUÍ */
    margin-bottom: 10px;
}

/* FOOTER CON IMAGEN */
footer {
    background: url('imag/footer.png') center/cover no-repeat; /* <-- CAMBIA AQUÍ LA IMAGEN DEL FOOTER */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.footer-top {
    margin-bottom: 30px;
}

.footer-logo {
    height: 120px; /* Logo footer más grande */
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-container img {
    width: 50px; /* <-- CAMBIA EL TAMAÑO DE LOS ICONOS DEL FOOTER AQUÍ */
    margin-bottom: 10px;
}

/* ANIMACIONES DE SCROLL */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.appear {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    #nosotros .container {
        flex-direction: column;
        padding: 60px 20px;
    }
}
