/* Estilos generales y fondo */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fcf9f5;
  background-image: radial-gradient(#e6d5c3 0.75px, transparent 0.75px), radial-gradient(#e6d5c3 0.75px, #fcf9f5 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  margin: 0;
  padding: 0;
}

section{
          max-width: 1200px;
        margin: 0 auto;
        padding: 20px 10px;
}

h1,h2,h3,h4{
  margin:10px auto ;
}

h1{
  font-size:48px;
}
 h3{
  font-size: 16px;
 }

 .lisservi h3{
  margin: 10px 0px 0px 0px;
 }

 p {
  margin: 5px auto;
 }

.contenflex{
  display: flex;
   padding: 5rem 1.5rem;

}
.imgpres {
      flex: 1;
      align-content: center;
}
.colparra {
  flex: 1.2;
          align-content: center;
}
.contpre > div > img{
    width: 70%;
        height: auto;
        border: 8px solid white;
        border-radius: 20px;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.imgpres {
        display: flex;
        justify-content: center;
}



/* Contenedor principal de la foto con la rotación de 20 grados */
.imgpres {
  position: relative;
  
}

/* El pseudo-elemento ::before que actúa como fondo/marco blanco */
.imgpres::before {
          content: "";
        position: absolute;
        margin: auto 0px;
        width: 61%;
        height: 100%;
        background: #fff;
        z-index: -1;
        border-radius: 4px;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
        transform: rotate(12deg);
}


.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 1.5rem;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 3rem;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.hero-text p {
         font-size: 1.15rem;
        color: #666;
        line-height: 1.6;
        margin: 0px;
}

.btn-pedir {
  margin: 20px 0;
  display: inline-block;
  background-color: #25d366;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-pedir:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

/* Contenedor de la vitrina */
.decor-wrapper-vitrina {
  position: relative;
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  /*overflow: hidden;*/
  width: 100%;
}

.glow-blob {
  position: absolute;
  width: 380px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.35) 0%, rgba(233, 30, 99, 0.15) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
}


.tortaVitrina {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width:600px;
  height: 420px;
  margin: 0 auto;
  padding-top: 10px;

  /* --- AÑADE ESTO PARA EL DIFUMINADO LATERAL --- */
  -webkit-mask-image: linear-gradient(
    to right, 
    transparent 0%, 
    black 20%, 
    black 50%, 
    transparent 100%
  );
  mask-image: linear-gradient(
    to right, 
    transparent 0%, 
    black 20%, 
    black 50%, 
    transparent 100%
  );
}

.tortaVitrina .swiper-slide {
  width: 320px; /* Ancho individual de cada tarjeta de torta */
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  /*box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);*/
  background: #fff;
  opacity: 1 !important; /* Totalmente nítidas desde los costados hasta el centro */
  transition: transform 0.4s ease;
   border: 8px solid #ffff
}

/* La tarjeta del centro destaca sutilmente al frente */
.tortaVitrina .swiper-slide-active {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  z-index: 10;
}

.tortaVitrina .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
 
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .tortaVitrina {
    height: 360px;
  }

  .tortaVitrina .swiper-slide {
    width: 200px;
    height: 290px;
  }

  .contenflex {
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
        padding: 4rem 1.5rem;
}

}


/* Sección general */
.pilares-section {
  padding:20px;
  background-color: #faf8f5;
 
  background-image: radial-gradient(#e6ded6 1px, transparent 1px);
  background-size: 24px 24px; 
 
}
/* Tarjeta contenedora principal */
.tarjeta-con-goteo {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.tarjeta-con-goteo::before {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 43px;
        top: -5px;
        background-image: url(svg/goteo.svg);
        background-repeat: no-repeat;
        background-size: auto 60px;
        background-position: top left;
        pointer-events: none;
}

/* Estructura interna adaptada para dar espacio arriba al goteo */
.pilares-grid {
  padding: 65px 30px 45px 30px; /* El padding superior (65px) deja respirar al goteo */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Columnas individuales */
.pilar-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding: 0 15px;
  border-right: 1px solid #f2eae1;
}

.pilar-item:last-child {
  border-right: none;
}

/* Iconos */
.pilar-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background-color: #fdf6f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b85d38;
}

.pilar-icon svg {
  width: 24px;
  height: 24px;
}

/* Textos */
.pilar-texto h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c221e;
  margin: 0 0 5px 0;
}

.pilar-texto p {
  font-size: 0.85rem;
  color: #6c635b;
  line-height: 1.5;
  margin: 0;
}

/* Adaptabilidad para móviles */
@media (max-width: 900px) {
  .pilares-grid {
    flex-direction: column;
    align-items: stretch;
    padding: 65px 20px 30px 20px;
    gap: 25px;
  }
  
  .pilar-item {
    border-right: none;
    border-bottom: 1px solid #f2eae1;
    padding-bottom: 20px;
  }

  .pilar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}


  .galeria-reposteria {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
  }
  .grid-reposteria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
  }
  .item-reposteria {
    background: #ffffff;
    overflow: hidden;
  }
  .img-contenedor-min {
    width: 100%;
    height: 300px; 
    overflow: hidden;
    background-color: #f7f5f0;
  }
  .img-contenedor-min img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .item-reposteria:hover .img-contenedor-min img {
    transform: scale(1.04);
  }

  .galparra{
    text-align: center;  
    margin-bottom: 30px;
  }

 section.secgale {
        background: antiquewhite;
        border-radius: 50px;
        padding: 50px 20px;
}

  /* Adaptabilidad responsiva para celulares y tablets */
  @media (max-width: 900px) {
    .grid-reposteria { 
      grid-template-columns: repeat(2, 1fr); 
      gap: 15px;
    }
    .img-contenedor-min {
      height: 220px;
    }
  }
  @media (max-width: 500px) {
    .grid-reposteria { 
      grid-template-columns: repeat(2, 1fr);
    }
  }


  .process-flow-section {
    padding: 60px 20px;
    background-color: #fcf9f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.flow-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.flow-title {
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    flex-wrap: wrap;
}

/* Línea conectora de fondo para computadoras */
.flow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    border-top: 2px dashed #d1c7bd; /* Efecto trazo de línea punteada */
    z-index: 1;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.flow-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.flow-icon-circle:hover {
    transform: scale(1.08);
}

.step-num {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #333;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.flow-content h3 {
    font-size: 1.15rem;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-weight: 600;
}

.flow-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    padding: 0 10px;
}

/* Responsividad para móviles: cambia a diseño vertical con línea lateral */
@media (max-width: 768px) {

  h1 {
        font-size: 32px;
}

    .flow-steps {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    .flow-steps::before {
        top: 40px;
        bottom: 40px;
        left: 60px;
        right: auto;
        width: 3px;
        height: auto;
        border-top: none;
        border-left: 2px dashed #d1c7bd;
    }
    .flow-step {
        flex-direction: row;
        text-align: left;
        margin-bottom: 30px;
        min-width: 100%;
    }
    .flow-icon-circle {
        margin-right: 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .flow-content {
        padding-top: 5px;
    }
    .flow-content p {
        padding: 0;
    }

    .decor-wrapper-vitrina {
           padding: 0rem 0;

}
}


/*SECCIÓN LLAMADA DE ACCIÓN*/
.cta-whatsapp-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #fffaf0 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-top: 2px dashed #f0e6dc;
    border-bottom: 2px dashed #f0e6dc;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.whatsapp-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25d366;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn-large i {
    font-size: 1.5rem;
}

.whatsapp-btn-large:hover {
    background-color: #22bf5b;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.6rem;
    }
    .cta-content p {
        font-size: 0.95rem;
    }
    .whatsapp-btn-large {
      padding: 14px 0px;
                position: fixed;
                bottom: 10px;
                left: 2%;
                width: 95%;
                z-index: 2;
    }

    .imgpres {
        position: relative;
        margin-bottom: 60px;
}
}

.act {
        display: flex;
        gap: 15px;
        align-items: center;
}
.textac {
        text-align: start;
        line-height: 18px;
}
.textac span {
        font-size: 14px;
        font-weight: 300;
}