*{
    box-sizing: border-box;
padding: 0;
margin: 0;
    }
    :root {
    --color-gris: #b4bbb4;  
    --color-blanco-susio: #ebe5e5;     /* Blanco (fondos y texto sobre verde/rojo) */
    --color-verde: #3DA536;      /* Verde principal (logo y textos grandes) */
    --color-rojo: #E32119;       /* Rojo (títulos y fondo de nombre) */
    --color-blanco: #FFFFFF;     /* Blanco (fondos y texto sobre verde/rojo) */
    --color-negro: #1C1C1C;      /* Negro (texto "Cultivando contigo!") */
    --color-verde-oscuro: #2f6d1cee; /* Verde más oscuro (degradados y fondo inferior) */
    --color-verde-negro: #1a3312ee; 
    }
    
    img, iframe {
    max-width: 100%;


}
    body {
        margin: 0;padding: 0;
        background-color: var(--color-blanco-susio);
    color: var(--negro-solido);
    font-family: Arial, sans-serif;
    line-height: 1.6;
scrollbar-color: var(--color-verde-negro);
    overflow-x: hidden;
}

    img{
        width: 100%;
    }
.logo{
width: 50px;
border-radius: 50%;
position: absolute;
top: 5px;
left: 10px;
}
.navbar {
    background: var(--color-verde-oscuro);
    display: flex;
    justify-content: end;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    gap: 10px;
    box-shadow: inset 0 0 30px var(--color-negro);
    align-items: center;
min-height: 60px;
z-index: 100;
}
a{
    text-decoration: none;
}
/*  mapas */
.dividir-2{
    display: none;
}
.text-1{
    font-size: 25px;
color: var(--color-verde-oscuro);
    font-weight: bold; 
    
}
/*crecer del como contactarnos*/
.content {
    display: none;
}
.content.active {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.fa-bars{
    top: 15px;
    font-size: 30px;
    position: absolute;
    color: var(--color-blanco);
}
    .link-nav{
        padding: 5px;
    }
    .content a {
        text-decoration: none;
        color: #FFFFFF;
        border-bottom: 1px solid transparent; /* This is crucial for a smooth transition */
        transition: border-bottom 0.2s ease-in-out,  width 0.5s;
        }
    .content a:hover {
            text-align: center;
        border-bottom: 1px solid var(--color-blanco, #FFFFFF);
        width: 50%;
        }
    .header{
        height: 100dvh;
        display: flex;
        flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* El resto de tus estilos */
    color: var(--color-blanco);
    padding: 15px;
    text-align: center;
    }
        .header::before {
    content: "";
    position: absolute;
    width: 102%;
    height: 100dvh;
        top: 0;
    left: 0;
    right: 0;
        margin-top:40px;
    background-image: url('img/campo-grande.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1.5px); /* <-- blur solo al fondo */
    z-index: -1;       /* lo manda detrás del contenido */
    }
/* ACERCA DE NOSOTROS */
.about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 20px 20px 30px; /* arriba | derecha | abajo | izquierda */
    max-width: 1000px;
    color: var(--color-gris);
    font-weight: normal; /* mejor dejarlo normal y poner negrita solo donde quieras */
    text-align: justify; /* <-- hace que las líneas se alineen a ambos lados */
    line-height: 1.6;    /* mejora la lectura */
    font-weight: bold; 
}
.about a {
    color: var(--color-blanco);
}
.h2-sobre-nosotros {
    font-size: 30px;
        color: var(--color-verde-oscuro);
        margin-bottom: 10px;
    }
    /*-------------------logo*/
        .logo-link{
            text-decoration: none;
            color: #FFFFFF;
            border-bottom: 1px solid transparent; /* This is crucial for a smooth transition */
            transition: border-bottom 0.2s ease-in-out,  width 0.5s;
            }
        .logo-link:hover {
                text-align: center;
            border-bottom: 1px solid var(--color-blanco, #FFFFFF);
            width: 50%;
            }
/* Hover para escritorio */
.logo:hover {
  transform: scale(1.2) translateY(-10px); /* Brinquito hacia arriba */
}
/* Active para móviles (cuando tocan la imagen) */
.logo:active {
  transform: scale(1.2) translateY(-10px); /* Mismo efecto que hover */
}
/* Alternativa con rebote más natural usando keyframes */
@keyframes bounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-20px); }
    50%  { transform: translateY(5px); }
    70%  { transform: translateY(-10px); }
    }
/* Aplicando animación en hover/active */
.logo:hover,
.logo:active {
animation: bounce 0.5s ease;
}
    .jump-text {
    font-size: 44px;
    font-weight: bold;
    text-align: center;
    margin-top: 70px;
    font-family: Arial, sans-serif;
    color: var(--color-rojo);
    }
    .jump-text span {
    display: inline-block;
    animation: jump 0.6s ease forwards; /* Animación al cargar la página */
    }
    /* Al hacer hover, reiniciamos la animación */
    .jump-text:hover span {
    animation: jump 0.6s ease forwards;
    }
    /* Keyframes de brinquito */
    @keyframes jump {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-20px); }
    50%  { transform: translateY(5px); }
    70%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
    }
    /* Retrasos por letra (inicial y hover) */
    .jump-text span:nth-child(1)  { animation-delay: 0.1s; }
    .jump-text span:nth-child(2)  { animation-delay: 0.2s; }
    .jump-text span:nth-child(3)  { animation-delay: 0.3s; }
    .jump-text span:nth-child(4)  { animation-delay: 0.4s; }
    .jump-text span:nth-child(5)  { animation-delay: 0.5s; }
    .jump-text span:nth-child(6)  { animation-delay: 0.6s; }
    .jump-text span:nth-child(7)  { animation-delay: 0.7s; }
    .jump-text span:nth-child(8)  { animation-delay: 0.8s; }
    .jump-text span:nth-child(9)  { animation-delay: 0.9s; }
    .jump-text span:nth-child(10) { animation-delay: 1.0s; }
    .jump-text span:nth-child(11) { animation-delay: 1.1s; }
    .jump-text span:nth-child(12) { animation-delay: 1.2s; color: #1ebe57; }
    .jump-text span:nth-child(13) { animation-delay: 1.3s; color: #1ebe57;  }
    .jump-text span:nth-child(14) { animation-delay: 1.4s; color: #1ebe57;  }
    .jump-text span:nth-child(15) { animation-delay: 1.5s; color: #1ebe57; }
    .jump-text span:nth-child(16) { animation-delay: 1.6s; color: #1ebe57;  }
h1:hover{
    animation: jump 0.6s ease forwards;
}
/*ANIMACION SCROLL*/
    @keyframes ScrollAnimation {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /*btn todos*/
.btn{
    background-color: var(--color-verde); /* Verde principal */
    color: var(--color-blanco);           /* Texto blanco */
    border: none;                         /* Sin borde */
    border-radius: 8px;                    /* Bordes redondeados */
    font-size: 1em;                        /* Tamaño de texto */
    font-weight: bold;
    cursor: pointer;                       /* Manito al pasar el mouse */
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-Leer{
    width: 100px;
    padding: 7px 5px;
    border: 2px solid var(--color-verde-oscuro);
        border-top: 2px solid var(--color-gris);
    border-left: 2px solid var(--color-gris);
    margin-top: 10px;
}
.btn-Leer:active{
    border: 2px solid #333;
box-shadow: inset 0 0 10px var(--color-verde-negro);
}
.btn:hover {
    background-color: #2e8b2e; /* Verde más oscuro al pasar el mouse */
    transform: translateY(-2px); /* Efecto de elevación */
}
/*btn  WHATSAPP*/
.btn-whatsapp {
    margin: 5px;
    display: inline-block;
    background-color: #25D366; /* verde WhatsApp */
    color: white;
    padding: 12px 20px;
    border-radius: 8px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    position: fixed;  /* siempre fijo */
    bottom: 20px;     /* distancia desde abajo */
    right: 20px;      /* distancia desde la derecha */
    z-index: 1000;    /* para que no quede detrás de nada */
}
    .btn-whatsapp:hover {
    background-color: #1ebe57;
    box-shadow: inset 0 0 5px var(--color-verde-negro);
    }
/* FIN*/
.crecer-conc-y-negoci{
display: flex;
flex-direction: column;
}
/* ENTABLECIMIENTO*/
/* Galería */
.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slider img,
.slider video {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    height: auto;
    max-height: 600px; /* Evita que se estire demasiado */
    object-fit: contain; /* mantiene proporción original sin recortar */
    image-rendering: -webkit-optimize-contrast; /* mejora nitidez en Chrome */
    image-rendering: crisp-edges; /* fuerza bordes nítidos */
    border-radius: 12px;
}
.btn-prev,
.btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.btn-prev { left: 10px; }
.btn-next { right: 10px; }
.galeria p{
    padding: 20px;
    
}

.galeria h2 {
    color: var(--color-verde-negro);
    text-align: center;
    background-color: var(--color-blanco-susio);
}
/*------------------------UBICACION & contacto*/
.Contacto{
    width: 400px;
    margin: auto;
display: flex;
flex-direction: column;
color: var(--color-verde-negro);
animation: ScrollAnimation 1s linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%; 
}

.Contacto h2{
color: var(--color-verde-oscuro);
}

.crecer-contacto{
width: 103%;
background-color: var(--color-blanco);
padding: 20px;
z-index: 2;
}


/*------------------------UBICACION & contacto FIN*/

/*media quieri*/
/* === Estilos para tablet (pantallas medianas) === */
@media (min-width: 768px) {
.text-1{
font-size: 40px;
}
    .jump-text {
    font-size: 60px;
    }
#content {
    display: block;
    flex-direction: row;
    gap: 30px;
}
.fas.fa-bars{
display: none;
}
.dividir{
    display: none;
}
.dividir-2{
    display: block;
}
.Contacto{
    max-width: 600px;
}

.crecer-conc-y-negoci{
display: flex;
flex-direction: inherit;
border: 2px solid var(--color-blanco);
border-right:6px solid var(--color-blanco);
}

.establecimiento{
padding-left: 20px;
}
        .header::before {
            width: 100%;
        }

.crecer-contacto{
width: 100%;
}
}
/* === Estilos para pantallas grandes (laptops y desktops) === */
/*fin*/
footer{
    width: 103%;
    background-color: #6e8867;
    text-align: center;
    padding: 20px;
    color: var(--color-blanco);
}
footer p{
    font-size: 18px;
}

footer .fab:hover{
border-bottom: 1px solid var(--color-blanco);

}
