/* Fuente panadería*/
@font-face {
  font-family: "Crimson-Text";
  font-style: normal;
  font-weight: 1000;
  font-display: swap;
  src: url("/assets/fonts/CrimsonText-Regular.ttf") format("opentype");
}

/* Globales */
:root {
  --fuenteSeccion: Crimson-Text;
}

h2 {
  font-size: clamp(4rem, 6vw, 6.8rem);
  color: var(--beige);
  font-family: var(--fuenteSeccion);
}

h3 {
  font-size: clamp(3rem, 4.5vw, 5.2rem);
  font-family: var(--fuenteSeccion);
}

h4 {
  font-size: clamp(1.8rem, 2.5vw, 3rem);
}

.title-decoration2 h3 {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.title-decoration2 h3::before,
.title-decoration2 h3::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid var(--logo);
}

.hero {
  height: 85vh;
}

.hero__bg {
  height: 100%;
  background-position: bottom;
  background-image: url(/assets/images/catering-sm.webp);
}

@media (min-width: 768px) {
  .hero__bg {
    background-image: url(/assets/images/catering-sm.webp);
  }
}

.hero__bg::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, #101213 100%);
}

/* ABOUT */
.about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about__texto {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.about__titulo {
  margin-bottom: 3rem;
}

.about__texto__destacado {
  font-family: var(--fuenteHeading);
  color: var(--beige);
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.about__img {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4px;
  padding: 1.2rem;
  position: relative;
}

.about__img img:hover {
  transform: scale(1.05);
}

.about__img--img {
  overflow: hidden;
  display: flex;
}

.about__img--img video,
.about__img--img img {
  display: flex;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease-in-out;
}

.about__img--img:first-child {
  background-color: black;
  display: flex;
  justify-content: center;
  aspect-ratio: 2/1;
}

@media (min-width: 576px) {
  .about__img::after,
  .about__img::before {
    content: "";
    position: absolute;
    height: 20rem;
    width: 10rem;
  }

  .about__img::before {
    top: 0;
    left: 0;
    border-top: 3px solid var(--principal);
    border-left: 3px solid var(--logo);
  }

  .about__img::after {
    bottom: 0rem;
    right: 0rem;
    border-bottom: 3px solid var(--principal);
    border-right: 3px solid var(--logo);
  }
  .about__img {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__img--img:first-child {
    grid-column: 1/3;
  }
}

@media (min-width: 1200px) {
  .about {
    flex-direction: row;
  }

  .about__img {
    width: 55%;
  }
  .about__texto {
    width: 45%;
  }
}

/* SERVICIOS */
.servicios__titulo {
  text-align: center;
  margin-bottom: 3rem;
}

.servicios__contenido {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.elemento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: centers;
}

.elemento:nth-child(even) .elemento__texto {
  order: 2;
}

.elemento:nth-child(even) .elemento__img {
  order: 1;
}

.elemento__texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.elemento__texto h4 {
  font-family: var(--fuenteSeccion);
  margin-bottom: 1.5rem;
  color: var(--logo);
}

.elemento__texto p {
  font-style: italic;
  color: var(--beige);
}

.elemento__img {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
  max-height: 350px;
  position: relative;
  padding: 2rem;
}

@media (max-width: 768px) {
  .elemento {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .elemento__img {
    order: -1;
  }
}

/* ELEGIR */

.elegir {
  margin-top: clamp(6rem, 8vw, 10rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  align-items: stretch;
  min-height: 600px;
}

.elegir__cotiza {
  background: url(/assets/images/cotiza-sm.webp) center/cover no-repeat;
  position: relative;
  z-index: 0;
}
.elegir__razones,
.elegir__cotiza {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.elegir__cotiza::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #101213 0%,
    rgba(16, 18, 19, 0.8) 100%
  );
  z-index: -1;
}
.razones {
  border-left: 3px solid var(--logo);
  padding: 2rem 0 2rem 4rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  max-width: 600px;
  height: 100%;
}
.cotiza {
  padding: 4rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  min-height: 50rem;
  height: 100%;
  gap: 4rem;
}
.cotiza__enlace {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}
.cotiza__enlace a {
  text-transform: uppercase;
}
.cotiza__experiencia {
  font-family: var(--fuenteHeading);
  font-size: 2.2rem;
  text-align: center;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--logo);
}
.cotiza__contacto {
  text-align: center;
  font-size: 1.6rem;
  color: var(--beige);
}

.razones__titulo {
  text-transform: capitalize;
  margin-bottom: 3rem;
  color: var(--blanco);
}

.razones__texto dl {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.razones__texto dt {
  color: var(--blanco);
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  font-family: var(--fuenteParrafo);
  position: relative;
}

.razones__texto dt::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 50px;
  background-color: var(--principal);
}

.razones__texto dd {
  font-family: var(--fuenteParrafo);
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  color: var(--beige);
  font-style: italic;
  margin-left: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .elegir {
    flex-direction: row;
  }
  .razones {
    margin: 0 0 0 auto;
  }
  .cotiza {
    max-width: 600px;
    margin: 0 auto 0 0;
  }
  .elegir__cotiza::after {
    background: linear-gradient(
      to right,
      #101213 0%,
      rgba(16, 18, 19, 0.8) 100%
    );
  }
  .elegir__razones {
    width: 50%;
  }
  .elegir__cotiza {
    width: 50%;
  }
  .elegir__cotiza {
    background: url(/assets/images/cotiza.webp) center/cover no-repeat;
  }
}

/* TESTIMONIOS */
.testimonios {
  margin-top: 6rem;
}

.testimonios__titulo h3 {
  text-transform: capitalize;
  color: var(--blanco);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonios__contenido {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonios__textos {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonios__textos blockquote {
  padding: 2rem;
  font-style: italic;
}

.opinion {
  color: var(--blanco);
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nombre {
  font-weight: bold;
  color: var(--beige);
  opacity: 0.8;
  font-size: 1.5rem;
}

.testimonios__imagen {
  position: relative;
  border: 1px solid var(--logo);
  padding: 1rem;
}

.testimonios__imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 992px) {
  .testimonios__contenido {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .testimonios__textos {
    width: 65%;
  }

  .testimonios__imagen {
    width: 35%;
  }
}
