html,
body {
    font-family: "Fira Sans", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
    max-width: 100%;
}



/* ===================================== */
/* =========== HEADER GLOBAL =========== */
/* ===================================== */

.header {
    width: 100%;
    position: relative;
    z-index: 20; /* para que esté por encima de la bienvenida */
}

/* DESKTOP NAV */
.nav-desktop ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding-top: 20px;
}

.nav-desktop a {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.nav-desktop a:hover {
    color: #d8c8a4;
    transition: color 0.2s ease-in-out;
}

.logo-desktop img {
    height: 140px;
}


/* ===================================== */
/* =========== MOBILE HEADER =========== */
/* ===================================== */

.nav-mobile-top {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px 20px;
}

.logo-mobile {
    height: 120px;
    margin: 0 auto;
}

/* === HAMBURGUESA === */
.hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 35px;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #000;
    transition: 0.3s;
}

/* animación X */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* === MOBILE MENU LINKS === */
.nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background: white;

    position: absolute;
    top: 180px;
    width: 100%;

    padding: 25px 0;

    transform: translateY(-250%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.nav-mobile-links a {
    font-family: "Fira Sans", sans-serif;
    color: #000;
    text-decoration: none;
    font-size: 20px;
}

.nav-mobile-links a:hover {
    color: #d8c8a4;
}

.nav-mobile-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}


/* === BREAKPOINT === */
@media (max-width: 850px) {
    .nav-desktop {
        display: none;
    }

    .nav-mobile-top {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* ===================================== */
/* ========== SECCIÓN BIENVENIDA ======= */
/* ===================================== */

.bienvenida {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 57rem;
    position: relative;
}


.texto {
    width: 50%;
    text-align: center;
    position: absolute;
    top: 220px; /* para dar espacio al header */
}

.texto h1 {
    font-family: "Corinthia", serif;
    font-size: 80px;
    margin-top: 20px;
    margin-bottom: -50px;
    color: #655a40;
}

.texto p {
    font-size: 32px;
    font-weight: 100;
    margin-bottom: 30px;
}



.cta-link {
    font-family: "Fira Sans", sans-serif;
    font-size: 1.2rem;
    color: #655a40;
    text-decoration: none;
    border-bottom: 2px solid #d8c8a4;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.cta-link:hover {
    color: #d8c8a4;
    border-bottom-color: #655a40;
}








.bienvenida::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('assets/background-bienvenida.png') no-repeat center bottom;
    background-size: cover;
    z-index: -1;
}

.imagencafe {
    width: 100vw;
    max-width: none;
    display: block;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -90px;
    z-index: 1;
}


.imagencafe-separador {
    display: block;
    width: 100%;
    height: auto;
    margin: -290px 0 -40px 0;
    position: relative;
    z-index: 5;

    transform-origin: center center;

}



/* ===================================== */
/* ===== AJUSTES RESPONSIVE (MÓVIL) ==== */
/* ===================================== */
@media (max-width: 768px) {
    .bienvenida {
        padding-bottom: 40px;
        height: 36rem;
    }

    .texto {
        width: 90%;
        top: 160px;
    }

    .texto h1 {
        font-size: 48px; /* más pequeño para móvil */
        margin-bottom: -20px;
    }

    .texto p {
        font-size: 20px; /* más pequeño para móvil */
    }

  .imagencafe {
    width: 100vw;
    max-width: none;
    margin-top: -40px;
  }


  @media (max-width: 768px) {
    .imagencafe-separador {
        width: 100%;
        height: 400px;
        object-fit: cover;
        object-position: center center;
        margin: -110px 0 -10px 0;
        display: block;
    }
}



    .bienvenida::after {
      margin-top: 15%;
    }

}

@media (max-width: 480px) {
    .texto h1 {
        font-size: 38px;
    }

    .texto p {
        font-size: 18px;
    }

    .bienvenida::after {
      margin-top: 15%;
    }

  }





/* ================================
ESPACIOS SECTION
================================ */
.espacios {
background-color: #f8f4ea;
padding: 4rem 2rem;
display: flex;
flex-direction: column;
align-items: center;

}


.nuestrosespacios h1 {
font-family: "Corinthia", serif;
font-size: 6rem;
color: #655a40;
text-align: center;
margin-bottom: 3rem;
padding-bottom: 6rem;

}
@media (max-width: 768px)
{
    .nuestrosespacios h1 {
        font-size: 50px;
        margin-bottom: 0rem;
        margin-top: 25%;
        margin-bottom: -30%;
    }    
}


.chycoria, .garden {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 2rem;
max-width: 1200px;
width: 90%;
margin-top: -3%;

}


.chycoria .imagen, .garden .imagen {
flex: 1 1 400px;
}


.chycoria .imagen img, .garden .imagen img {
width: 100%;
height: auto;
}


.descripcion {
flex: 1 1 400px;
padding: 1rem;
}


.descripcion h3 {
font-family: "Corinthia", serif;
font-size: 4rem;
margin-bottom: -20px;
margin-top: 10px;
}


.descripcion p {
font-size: 1rem;
line-height: 1.5;
margin-bottom: 1rem;
}


@media (max-width: 768px) {
    .chycoria, .garden {
        flex-direction: column; /* apila los elementos */
        align-items: flex-start;
        margin-top: 3%;

    }

    /* En mobile, que la descripción siempre vaya primero */
    .chycoria .imagen, .garden .imagen {
        order: 2; /* la imagen va después */
    }

    .chycoria .descripcion, .garden .descripcion {
        order: 1; /* la descripción va antes */
    }

    /* Ajustes de padding/márgenes si quieres */
    .descripcion {
        padding: 0.5rem 0;
    }

    .descripcion h3 {
        font-size: 3rem; /* más pequeño para mobile */
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .descripcion p {
        text-align: center;
    }
}


/*ANIMACION FASE IMAGENES*/
.entrar-izquierda {
  animation: fade-izquierda cubic-bezier(0, 0, 0.01, 0.46); /* animación con curva personalizada */
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

@keyframes fade-izquierda {
  0% {
    opacity: 0; /* invisible al principio */
    transform: translateX(-100%); /* comienza fuera del viewport, hacia la izquierda */
  }
  50% {
    opacity: 0; /* sigue invisible hasta la mitad de la animación */
  }
  100% {
    opacity: 1; /* completamente visible */
    transform: translateX(0%); /* regresa a su posición original horizontal */
  }
}



.entrar-derecha {
  animation: fade-derecha cubic-bezier(0, 0, 0.01, 0.46);
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

@keyframes fade-derecha {
  0% {
    opacity: 0;
    transform: translateX(100%); /* empieza fuera del viewport por la derecha */
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@media (max-width: 768px) {

  .entrar-izquierda,
  .entrar-derecha {
    animation-name: fade-mobile;
  }

  @keyframes fade-mobile {
    0% {
      opacity: 0;
      transform: translateX(0); /* sin movimiento */
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

}












/* SECCIÓN MENUS */
.menus {
    background: url('assets/backgorund-divider-bottom.png') no-repeat center top;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding-top: 20%;
}

.descripcionmenu {
    margin-bottom: 40px;
    margin-top: 40px;
}

.descripcionmenu h2 {
    font-family: "Corinthia", serif;
    font-size: 100px;
    margin-top: -100px;
    margin-bottom: 10px;
    color: #655a40;
}

.descripcionmenu p {
    color: #555;
    width: 75vw;
    line-height: 1.5;
    text-align: center;
}

/* Imágenes */
.contenedor-imagenes {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 8%;
    margin-bottom: 10%;
}

.item-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    border-bottom: 6px solid #8a7b59;
    padding-bottom: 15px;
}

.item-menu h2 {
  font-family: "Corinthia", serif;
  font-size: 35px;
  color: #d8c8a4;
  margin-bottom: -25px;

}

.item-menu img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Enlace descargar */
.descargar {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 35px;

    background-color: #655a40;
    color: #ffffff;

    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;

    border-radius: 30px;

    transition: all 0.3s ease;
}

.descargar:hover {
    background-color: #d8c8a4;
    color: #655a40;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


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

    .descripcionmenu {
        margin-top: 150px;
    }
    
    .menus{
      margin-top: -10%;
    }

    .item-menu {
      width:60%;
      margin: 0 auto;
      border-top: none;
      border-bottom: 1px solid #8a7b59
    }

    .descripcionmenu h2 {
    
        font-size: 50px; /* más pequeño en mobile */
        margin-top: 0;
    }
    
    .descripcionmenu p {
        width: 90vw;
        line-height: 1.5;

    }

    .contenedor-imagenes {
        flex-direction: column; /* Las imágenes una debajo de la otra */
        gap: 40px;
    }

    .descargar {
      font-size: 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }


    @media (max-width: 480px) {
      .menus{
      margin-top: -50%;
    }
    }
}









/*GALERIA DE IMAGENES*/
:root {
  --carousel-speed: 60s;
  --carousel-gap: 0rem;
  --carousel-padding: 3.75rem;
  --logo-width: 40rem;
  /*--gradient-width: 15%;*/

  @media (max-width: 768px) {
    --carousel-padding: 2rem;
    --carousel-gap: 2rem;
    --logo-width: 30rem;
  }
}

* {
  box-sizing: border-box;
}


.carousel {
  position: relative;
  background-color: transparent;
  padding-block: var(--carousel-padding);
  display: flex;
  column-gap: 2rem;
  overflow: hidden;
  width: 100%;
}

.carousel .logos {
  display: flex;
  column-gap: 2rem;
  animation: scroll var(--carousel-speed) linear infinite;
  will-change: transform;
}

.carousel .logos img {
  width: var(--logo-width);
  object-fit: contain;
  transition: transform 0.3s;
  user-select: none;
}

.carousel .logos img:hover {
  transform: scale(1.10);
}



@keyframes scroll-left {
  0% {
    transform: translateX(calc(-10%)); 
  }
  100% {
    transform: translateX(0);
  }
}


@keyframes scroll-right {
  0% {
    transform: translateX(0); /* se ve desde el primer frame */
  }
  100% {
    transform: translateX(calc(-100% - var(--carousel-gap)));
  }
}




.carousel2 {
  position: relative;
  background-color: transparent;
  padding-block: var(--carousel-padding);
  display: flex;
  column-gap: 2rem;
  overflow: hidden;
  width: 100%;
  margin-top: -5%;
  --logo-width: 20rem;
}

@media (max-width: 768px) {
  .carousel2 {
      --logo-width: 15rem;
  }
}

.carousel2 .logos2 {
  display: flex;
  column-gap: 2rem;
  animation: scroll-left 30s linear infinite;
  will-change: transform;
}

.carousel2 .logos2 img {
  width: var(--logo-width);
  object-fit: contain;
  transition: transform 0.3s;
  user-select: none;
}

.carousel2 .logos2 img:hover {
  transform: scale(1.10);
}








/*FOOTER*/
.footer {
  background: #d8c8a4;
  color: #655a40;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer h3{color: #655a40;    font-family: "Fira Sans", sans-serif;}

.footer p{color: white;    font-family: "Fira Sans", sans-serif;}

.footer a {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    color: white;
    text-decoration: none;
    color: inherit; /* Mantiene el color original del texto */
    font-weight:lighter;
}
.footer a:hover,
.footer a:focus {
    text-decoration: none !important;
    color: #8a7b59;
    transition: color 0.2s ease-in-out;
}




.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h3 {
  margin: 0 0 10px;
}



.footer-right {
  min-width: 300px;
  max-width: 500px;
  width: 100%;
}

.footer-right iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-left {
    gap: 30px;
  }

  .footer-right iframe {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    flex-direction: column;
    text-align: left;
  }

  .footer-right iframe {
    height: 160px;
  }
}





.footer-bottom {
    width:100%;}

.footer-bottom hr {
    border:0;
    border-top:1px solid #8a7b59;
    margin:20px 0;
}

.footer-bottom p{
    margin:0;
    font-family: "Fira Sans", sans-serif;
    font-size:14px;
    color:#655a40;
}







/* ================================
   BOTÓN FLOTANTE LLAMADA
================================ */

.call-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;

    display: flex;
    align-items: center;
    gap: 10px;

    background-color: #d8c8a4;
    color: #655a40;

    padding: 14px 22px;
    border-radius: 40px;

    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;

    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);

    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Icono */
.call-float .icon {
    font-size: 20px;
    line-height: 1;
}

/* Hover desktop */
.call-float:hover {
    background-color: #655a40;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ================================
   RESPONSIVE — MOBILE
================================ */

@media (max-width: 768px) {

    /* Oculta el texto y deja solo el icono */
    .call-float .text {
        display: none;
    }

    .call-float {
        width: 56px;
        height: 56px;
        padding: 0;

        border-radius: 50%;

        justify-content: center;
        align-items: center;
    }

    .call-float .icon {
        font-size: 22px;
    }
}





@keyframes scroll {
  from {
      transform: translateX(0);
  }

  to {
      transform: translateX(-50%);
  }
}

@keyframes scroll-left {
  from {
      transform: translateX(-50%);
  }

  to {
      transform: translateX(0);
  }
}