/* RESET BASICO */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
}

/* CONTENEDOR CENTRAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 18px 0; /* más aire */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* CONTENEDOR */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 90px; /* un poco menos para equilibrio */
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #1f6f5f; /* verde esmeralda */
    letter-spacing: 0.5px;
}

/* LINKS */
.nav-links {
    list-style: none;
    display: none;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    color: #1f6f5f;
    transition: all 0.3s ease;
    position: relative;
}

/* HOVER */
.nav-links a:hover {
    color: #ffb703; /* dorado cálido */
}

/* Línea animada */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    left: 0;
    bottom: -8px;
    background: #ffb703;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* MENÚ MOBILE */
.menu-toggle {
    font-size: 26px;
    cursor: pointer;
    color: #1f6f5f;
    transition: 0.3s ease;
}

.menu-toggle:hover {
    color: #ffb703;
}

/* HERO */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* cambiado */
    text-align: left; /* cambiado */
    padding: 120px 20px;
    color: white;

    background: url("../img/fondo.jpg") center center / cover no-repeat;
}

/* Overlay oscuro suave para mejor contraste */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(15, 40, 30, 0.55),
        rgba(15, 40, 30, 0.55)
    );
}

/* Aseguramos que el contenido quede encima */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-weight: 400;   /* quitar negritas */
    font-size: 22px;
    margin-bottom: 35px;
    /*color: #4b5563;*/
    color: white;
    max-width: 600px;
}

/* TÍTULO PRINCIPAL */
.hero ul {
    list-style: none;
    padding: 0;
}

.hero ul li {
    margin: 8px 0;
    font-size: 18px;
    /*color: #374151;*/
    color: white;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
    display: inline-block;
    padding: 16px 32px;       /* más grande */
    background-color: #2e7d32; /* verde marca elegante */
    color: white;
    text-decoration: none;
    border-radius: 50px;       /* botón más moderno */
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(46,125,50,0.25);
    margin-bottom: 30px;
}

/* Hover elegante */
.btn-whatsapp:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
}

/* BENEFICIOS */
.beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    color: #374151;
}

.beneficios li {
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .btn-whatsapp {
        font-size: 16px;
        padding: 14px 26px;
    }
}
/* BENEFICIOS */
.beneficios {
    list-style: none;
    padding: 0;
}

.beneficios li {
    margin-bottom: 8px;
}

/* SECCIONES */
.section {
    padding: 10px 0;

}

.section h2 {
    color: #1b5e20;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section h2::after {
   content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #2e7d32;
    margin-top: 8px;
    border-radius: 10px;
}

/* FOOTER */
.footer {
    background: linear-gradient(to right, #1f2937, #111827);
    color: white;
    padding: 50px 20px 30px;
    text-align: center;
}

/* TÍTULO */
.footer h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0.5px;
}

/* SUBTEXTO OPCIONAL */
.footer-sub {
    color: #9ca3af;
    margin-bottom: 30px;
    font-size: 14px;
}

/* CONTENEDOR */
.footer-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* ITEM */
.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 14px;

    background: #2a2f36;
    padding: 12px 18px;
    border-radius: 30px;

    transition: all 0.3s ease;
}

/* ICONOS */
.footer-item i {
    font-size: 16px;
    color: #2e7d32;
    transition: 0.3s;
}

/* HOVER PRO  */
.footer-item:hover {
    background: #2e7d32;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer-item:hover i {
    color: white;
}

/* COPYRIGHT */
.footer-copy {
    margin-top: 30px;
    font-size: 13px;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-items {
        gap: 15px;
    }

    .footer-item {
        font-size: 13px;
        padding: 10px 14px;
    }
}




/* RESPONSIVE */
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 25px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* En escritorio */
@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }
}

/* SECCIÓN */
.contratar {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #ffffff);
}

/* TÍTULO */
.contratar h2 {
    color: #1b5e20;
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contratar h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: #2e7d32;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* CONTENEDOR */
.pasos {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative;
}

/* DESKTOP */
@media (min-width: 768px) {
    .pasos {
        flex-direction: row;
        justify-content: space-between;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Línea */
    .pasos::before {
        content: "";
        position: absolute;
        top: 25px;
        left: 10%;
        width: 80%;
        height: 3px;
        background: #c8e6c9;
        z-index: 0;
    }
}

/* PASO */
.paso {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* CÍRCULO */
.numero {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #2e7d32;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    font-size: 18px;

    box-shadow: 0 6px 15px rgba(46,125,50,0.3);
    transition: 0.3s ease;
}

/* TEXTO */
.paso p {
    margin-top: 15px;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

/* HOVER SUAVE */
.paso:hover .numero {
    transform: scale(1.2);
    background: #1b5e20;
}

/* SECCION QUIENES SOMOS */
.informacion {
    padding: 60px 0; /* más aire visual */
    background: linear-gradient(to bottom, #ffffff, #f4f6f8);
}

/* TÍTULO */
.informacion h2 {
    color: #1b5e20;
    text-align: left;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

/* Línea decorativa */
.informacion h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: #2e7d32;
    margin-top: 10px;
    border-radius: 10px;
}

/* GRID */
.info-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 30px auto 0;
}

/* TEXTO */
.info-texto {
    flex: 1;
    min-width: 300px;
    max-width: 520px;
}

.info-texto p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 15.5px;
}

/* EFECTO SUTIL AL PASAR */
.info-texto p:hover {
    color: #1f2937;
    transition: 0.3s;
}

/* IMAGEN */
.info-imagen {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Imagen con efecto pro */
.info-imagen img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

/* Hover elegante */
.info-imagen img:hover {
    transform: scale(1.03);
}

/* DETALLE DECORATIVO (fondo detrás de imagen) */
.info-imagen::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: #2e7d32;
    border-radius: 50%;
    opacity: 0.08;
    top: -30px;
    right: 20px;
    z-index: -1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .info-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .informacion h2 {
        text-align: center;
    }

    .informacion h2::after {
        margin: 10px auto 0;
    }

    .info-texto p {
        text-align: center;
    }
}

.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

/*LOGO*/
.logo img {
    height: 80px;
}

/* SECCIÓN PERSONAJES */
#personajes {
    background: #ffffff; /* fondo más limpio */
}

/* GRID */
.personajes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

/* TARJETA */
.personaje-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #ffffff;
    padding: 18px;
    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;

    text-align: center;

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* HOVER PRO */
.personaje-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* IMAGEN */
.personaje-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;

    border-radius: 12px;
    margin-bottom: 10px;

    cursor: pointer;
    transition: transform 0.4s ease;
}

/* ZOOM SUAVE */
.personaje-card:hover img {
    transform: scale(1.05);
}

/* NOMBRE */
.personaje-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 8px 0;
}

/* BOTÓN PRO */
.btn-personaje {
    margin-top: auto;
    padding: 12px;

    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;

    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;

    transition: all 0.3s ease;
    display: inline-block;
}

/* HOVER BOTÓN */
.btn-personaje:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(46,125,50,0.3);
}

/* BADGE (opcional pero pro) */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;

    background: #2e7d32;
    color: white;
    font-size: 12px;

    padding: 5px 10px;
    border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .personajes-grid {
        grid-template-columns: 1fr;
    }
}

/*testimonios*/
.testimonios {
    background: #ffffff;
    text-align: center;
}

.testimonios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.testimonio-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;
}

.cliente-img {
    width: 60px;
    height: 60px;
    background: #3c7c2e;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.mensaje {
    font-style: italic;
    margin-bottom: 15px;
}

.estrellas {
    color: #f4c542;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonio-card h4 {
    font-weight: normal;
    color: #555;
}

/*  REDES SOCIALES */
#redes {
    background: #f4f6f8;
    padding: 60px 0;
    text-align: center;
}

/* TÍTULO */
#redes h2 {
    color: #1b5e20;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
}

/* Línea decorativa */
#redes h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: #2e7d32;
    margin: 10px auto 0;
    border-radius: 10px;
}

/*  SECCIONES (TikTok / Instagram) */
.redes-seccion {
    margin-top: 60px;
    text-align: left;
}


/* TÍTULOS BONITOS */
.titulo-red {
    display: flex;
    align-items: center;
    gap: 10px;
    
    font-size: 20px;
    font-weight: 600;
    
    padding: 8px 16px;
    border-radius: 50px;

    border-left: 4px solid #2e7d32;
    padding-left: 10px;
    
    margin-bottom: 25px;
    
    background: #e8f5e9;
    color: #2e7d32;
}

/* ICONOS */
.titulo-red i {
    font-size: 18px;
}

/* TIKTOK */
.titulo-red.tiktok {
    background: #000;
    color: #fff;
}

/* INSTAGRAM */
.titulo-red.instagram {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    color: white;
}

/* TEXTO */
.red-texto {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* TARJETA */
.red-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    
    width: 100%;
    max-width: 350px;

    display: flex;
    justify-content: center;
}

/*  TIKTOK PERFECTO */
.tiktok-container {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16; /*  vertical real */
    overflow: hidden;
    border-radius: 15px;
}

.tiktok-container iframe {
    width: 100% !important;
    height: 100% !important;
}

/*  INSTAGRAM (SIN RECORTE) */
.instagram-container {
    width: 100%;
    max-width: 320px;

    display: flex;
    justify-content: center;
}

/*  ESTE ES EL FIX REAL */
.instagram-media {
    width: 100% !important;
    max-width: 320px !important;
    min-width: unset !important;
    margin: 0 auto !important;
}

/*  RESPONSIVE */
@media (max-width: 768px) {
    .redes-grid {
        grid-template-columns: 1fr;
    }

    .red-box {
        max-width: 100%;
    }
}

/* GALERIA CARRUSEL */

#galeria {
    background: #ffffff;
}

/* CONTENEDOR */
.carousel-container {
    position: relative;
    margin-top: 50px;
    padding: 10px 0;
     z-index: 1;
}

/* CARRUSEL */
.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px; /*  aire lateral */
}

.carousel::-webkit-scrollbar {
    display: none;
}

/* ITEMS */
.carousel img,
.carousel video {
    min-width: 280px;
    max-width: 320px;
    height: 400px;

    object-fit: cover;
    border-radius: 20px;

    flex-shrink: 0;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

/*  HOVER PRO */
.carousel img:hover,
.carousel video:hover {
    transform: scale(1.05);
}

/* FLECHAS */
/* FLECHAS MINIMALISTAS */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 44px;
    height: 44px;
    
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px); /*  efecto glass */

    color: #2e7d32;
    
    border: none;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 18px;
    cursor: pointer;
    
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: all 0.3s ease;

    z-index: 50;
}

/* Hover */
.arrow:hover {
    background: #2e7d32;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Posición */
.arrow.left {
    left: -25px;
}

.arrow.right {
    right: -25px;
}

@media (max-width: 768px) {
    .arrow {
        display: none !important;
    }
}

/* BOTÓN */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    
    width: 65px;
    height: 65px;
    
    background-color: #25D366;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    
    z-index: 999;
    
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

/* ICONO */
.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* TEXTO BURBUJA */
.whatsapp-texto {
    position: absolute;
    right: 75px; /* sale a la izquierda */
    
    background: white;
    color: #2e7d32;
    
    padding: 8px 14px;
    border-radius: 20px;
    
    font-size: 14px;
    font-weight: 500;
    
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    
    white-space: nowrap;

    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s ease;
}

/* HOVER TEXTO (PC) */
.whatsapp-float:hover .whatsapp-texto {
    opacity: 1;
    transform: translateX(0);
}

/* HOVER BOTÓN */
.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/*  CELULAR: SIEMPRE VISIBLE */
@media (max-width: 768px) {
    .whatsapp-texto {
        opacity: 1;
        transform: translateX(0);
        font-size: 13px;
        padding: 6px 12px;
        right: 70px;
        bottom: 5px;
    }
}

/* ANIMACIÓN */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/*  reseñas */

.ver-resenas {
    text-align: center;
    margin-top: 30px;
}

.ver-resenas a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.ver-resenas a:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
}

/*  modal  */
.modal {
    display: none; /* oculto al inicio */
    position: fixed;
    z-index: 9999; /* súper importante */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.9); /* fondo oscuro */
    
    justify-content: center;
    align-items: center;
}

/*  esto centra la imagen */
.modal.activo {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 15px;
}

/*  botón cerrar */
.cerrar {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/*  imagen cliente */
.cliente-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px;
    border: 3px solid #2e7d32;
}

.cliente-img {
    transition: 0.3s ease;
}

.cliente-img:hover {
    transform: scale(1.1);
}

.cliente1 {
    background-image: url("../img/cliente1.jpeg");
}

.cliente2 {
    background-image: url("../img/cliente2.jpeg");
}

.cliente3 {
    background-image: url("../img/cliente3.jpeg");
}

.cliente4 {
    background-image: url("../img/cliente4.jpeg");
}


/* LATIDOS QUIENES SOMOS*/
.latido {
    display: inline-block;
    animation: latir 1.5s infinite ease-in-out;
}

@keyframes latir {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}
