
  .hero {
    position: relative;
    text-align: center;
  }
  .hero img {
    width: 100%;
    height: auto;
  }
  main {
    margin: 0;
padding: 0;
  }
  section {
    margin: 0;
    padding: 0;
  }
  .hero-text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
  }

.hero-text h1{
    font-family: "Norican", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
}
  .cta {
    display: inline-block;
    margin-top: 8.5vw;
    padding: 0.75rem 1.5rem;
    background: #897234;
    color: #fff;
    text-decoration: none;
    border-radius: 7px;
      font-family: "Red Hat Display", sans-serif;
      font-size: 1.2rem;
      font-optical-sizing: auto;
      font-weight: 500;
      font-style: normal;
    }

    main{

      margin-top: 2rem;
      margin-bottom: 2rem;
    }

      .branding-section {
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
      }
      .branding-section h2 {
          font-family: "Battambang", cursive;
          font-weight: 400;
          font-style: normal;        
          margin: 0.5rem 0rem;
          font-size: 2.2rem;
          padding-bottom: 1rem;
      }
      .branding-section p {
        font-family: 'Gotu';
        font-size: medium;
        line-height: 1.5;
        font-size: 1rem;
        margin-bottom: 0.1rem;
        padding: 0 ;
      }


      /* Sección Tartas */
.tartas-section {
  background: #fff;
  padding: 4rem 1rem 0rem;
  text-align: center;
}
.tartas-section__subtitle {
  font-family: 'Lexend', sans-serif;
  font-size: 1.75rem; /* 28px */
  margin-bottom: 2.5rem;
}

/* Grid de tarjetas */
.tartas-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0rem 1.5rem;
  text-decoration: none;
}
.glovo-btn{
  margin: 5.25rem 0rem 0rem;

}
.location-intro__glovo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #FDC150;/* amarillo Glovo */
  color: #000;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
    margin: 0 !important;
    color: #23A283;
    margin-top: 2rem !important;
}
@media (min-width: 768px) {
  .tartas-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-content: space-around;
    margin: 0rem 10rem;
    text-decoration: none;
  }
 
}

/* Cada tarjeta */
.tartas-card {
  background: #fff;
  border-radius: 0.75rem; /* 12px */
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1); /* 2px 8px */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.tartas-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.15);
}

/* Imagen */
.tartas-card__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Título de la tarjeta */
.tartas-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; /* 20px */
  margin: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Texto descriptivo */
.tartas-card__text {
  flex-grow: 1;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem; /* 16px */
  color: #555;
  margin: 0 1rem 1rem;
  line-height: 1.4;
}

/* Botón Elegir */
.tartas-card__btn {
  display: inline-block;
  margin: 0 auto 1.5rem;      /* check, centrar horizontalmente */
  padding: 0.6rem 1.2rem;
  background: #000;
  color: #fff;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background 0.2s ease;

}
.tartas-card__btn:hover {
  background: #333;
}

/* Botón “Ver todos los sabores” */
.tartas-section__cta-alls {
  display: inline-block;
  background: #b69856;            /* dorado oscuro */
  color: #fff;                    /* texto blanco */
  padding: 0.6rem 1.2rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;          /* 8px */
  text-decoration: none;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 500;
  margin: 4rem auto 0;            /* 32px encima, centrado */
  transition: background 0.2s ease;
}
.tartas-section__cta-alls:hover {
  background: #a3874a;
}



/* Sección “¿Cómo hacer tu pedido?” */
.how-to {
  background: #fdfcfa;
  padding: 4rem 1.25rem; /* 32px 20px */
  margin-bottom: 0rem;
}

.how-to__container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.how-to__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;     /* 22px */
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 4.5rem;   /* 24px */
}

/* Pasos */
.how-to__steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;             /* 24px */
}
.how-to__step {
  background: #fcfcfc;
  border-radius: 1rem;     /* 16px */
  box-shadow: 
  0 4px 8px rgba(0, 0, 0, 0.05),
  0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 1.5rem;         /* 24px */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.how-to__step:hover {
  background: #f5f5f5;
}
/* Número de paso */
 .how-to__number {
  width: 2rem;             /* 32px */
  height: 2rem;
  background: #b69856;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;         /* 16px */
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;  /* 12px */
}

/* Icono */
.how-to__icon {
  color: #888;
  width: 3rem;             /* 48px */
  height: 3rem;
  margin-bottom: 0.75rem;  /* 12px */
}

/* Título del paso */
.how-to__step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;     /* 18px */
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 0.5rem;   /* 8px */
}

/* Descripción del paso */
.how-to__step-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;     /* 14px */
  color: #555;
  line-height: 1.4;
  max-width: 18rem;        /* control de longitud */
}
 
/* Desktop */
@media (min-width: 768px) {
  .how-to__title {
    font-size: 1.625rem;   /* 26px */
  }
}
/* Desktop: 3 pasos en fila */
@media (min-width: 1024px) {  

  .branding-section {
    margin-bottom: 3rem;
  }
  .branding-section p {
    font-size: large;
  }


  .h2 {

    font-size: 2.5rem;     /* 22px */
    font-weight: 600;
  }
  .how-to__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;     /* 22px */
    font-weight: 600;
  }

  .how-to__steps {
    flex-direction: row;
    gap: 2rem;
    justify-content: space-evenly;
  }
  .how-to__step {
    flex: 1;                  /* todas igual ancho */
    max-width: none;           /* opcional para mantener separación */
  }
  .how-to__container {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
  }
}
.contact-preview {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 99vw;
  margin: 4rem auto 0rem;
  background: #fcf9f3; /* un crema suave, parecido a un tono papel */
  padding: 4.5rem 1.5rem;
}

.contact-preview__card {
  background: #fcfcfa;

  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
.contact-preview__card:hover {
  box-shadow: 0 0 12 px rgba(0,0,0,0.06);
  transform: translateY(-3px);
  transition: 1s;
  
  }
.contact-preview__title {
  font-size: 1.75rem;    /* 28px */
  color: #2e2e2e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-preview__subtitle {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;       /* 16px */
  color: #555;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.btn--contact {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  border: 2px solid #b69856;
  background: #b69856;

  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn--contact:hover {
  background: #fff;
  color: #b69856;
}

/* Desktop: dos tarjetas lado a lado */
@media (min-width: 768px) {
  .contact-preview {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-top: 5rem;
  }
  .contact-preview__card {
    margin: 0;
  }
  .how-to {
    margin-bottom: 0rem;
  }
  .tartas-section__cta-alls {
   font-size: 1.45rem;
  }
}

