@font-face {
  font-family: "Intro Black";
  src: url("../fonts/Intro-Black-Alt.otf") format("opentype");
}

@font-face {
  font-family: "Intro Black Alt";
  src: url("../fonts/Intro-Black-Alt.otf") format("opentype");
}

@font-face {
  font-family: "Intro Bold";
  src: url("../fonts/Intro-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Intro Book";
  src: url("../fonts/Intro-Book.otf") format("opentype");
}

@font-face {
  font-family: "Intro Regular";
  src: url("../fonts/Intro-Regular.otf") format("opentype");
}

:root {
  --primary-color: #c10b24;
  --secondary-color: #4d2d1e;
  --background-color: #f4f4f4;
  --text-color: #fff;
}

body {
  margin: 0;
  font-family: "Intro Regular", sans-serif;
  color: #333;
}

/* ***************************************************************************************************************** */
/* ***************************************** HERO SECTION - SECTION ************************************************ */
/* ***************************************************************************************************************** */

/* 1) Top bar */
.top-bar {
  background: #f4a500;
  color: var(--secondary-color);
  text-align: center;
  padding: 0.5rem;
}

.top-bar p {
  font-size: 1rem;
}

/* 2) Navegación */
.main-nav {
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  gap: 2rem;
}

.main-nav ul li a {
  font-family: "Intro Black", sans-serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

/* 3) Hero */
.hero {
  position: relative;
  background: url("/images/fondos/barahona.jpg") center/cover
    no-repeat;
  height: 100vh;
  background-color: var(--primary-color);
}
.hero-red-band {
  position: relative;
  width: 100%;
  height: 33vh;
  background: #c10b24;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-text {
  position: absolute;
  top: 25%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 55%;
  color: #fff;
}

.hero-text .flavor {
  font-family: "Intro Regular", sans-serif;
  font-size: 3.1vw;
}

.hero-text h1 {
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-text strong {
  font-family: "Intro Black", sans-serif;
  font-weight: 900;
  font-size: 5.7vw;
  width: 100%;
}

.hero-text span {
  font-family: "Intro Bold", sans-serif;
  font-size: 4.6vw;
}

.hero-text {
  max-width: 80vw;
}

.hero-floating {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 20px;
  z-index: 2;
}

.hero-coffee {
  max-width: 18vw;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 2.3vw;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-family: "Intro Black", sans-serif;
  width: 700px;
}

.hero-cta .cta-icon {
  width: 32px;
  height: 32px;
  padding-top: 5px;
}

.hide-on-desktop {
  display: none;
}

/* 4) menú hamburguesa (móvil) */
.frame {
  display: none;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-icon {
  width: 80px;
  height: 52px;
  cursor: pointer;
  z-index: 50;
}

.menu-icon .line-1,
.menu-icon .line-2,
.menu-icon .line-3 {
  height: 8px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease-in-out;
}

.menu-icon .line-2 {
  margin: 14px 0;
}

.menu-icon .line-1 {
  animation: animate-line-1-rev 0.7s ease-in-out;
}

.menu-icon .line-2 {
  animation: animate-line-2-rev 0.7s ease-in-out;
}

.menu-icon .line-3 {
  animation: animate-line-3-rev 0.7s ease-in-out;
}

.menu-icon:hover .line-1,
.menu-icon:hover .line-2,
.menu-icon:hover .line-3 {
  background-color: #fff;
}

.menu-icon.active .line-1,
.menu-icon.active .line-2,
.menu-icon.active .line-3 {
  background-color: #fff;
}

.menu-icon.active .line-1 {
  animation: animate-line-1 0.7s cubic-bezier(0.3, 1, 0.7, 1) forwards;
}

.menu-icon.active .line-2 {
  animation: animate-line-2 0.7s cubic-bezier(0.3, 1, 0.7, 1) forwards;
}

.menu-icon.active .line-3 {
  animation: animate-line-3 0.7s cubic-bezier(0.3, 1, 0.7, 1) forwards;
}

.no-animation {
  animation: none !important;
  -webkit-animation: none !important;
}

/* Animaciones */
@keyframes animate-line-1 {
  0% {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  50% {
    transform: translate3d(0, 12px, 0) rotate(0);
  }

  100% {
    transform: translate3d(0, 12px, 0) rotate(45deg);
  }
}

@keyframes animate-line-2 {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes animate-line-3 {
  0% {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(0);
  }

  100% {
    transform: translate3d(0, -12px, 0) rotate(135deg);
  }
}

/* Reverse para cerrar */
@keyframes animate-line-1-rev {
  0% {
    transform: translate3d(0, 12px, 0) rotate(45deg);
  }

  50% {
    transform: translate3d(0, 12px, 0) rotate(0);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes animate-line-2-rev {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes animate-line-3-rev {
  0% {
    transform: translate3d(0, -12px, 0) rotate(135deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(0);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

/* 2) MOBILE OVERRIDE (hasta 768px) */
@media (max-width: 768px) {
  /* ocultar menú desktop */
  .main-nav {
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: rgba(193, 11, 36, 1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    flex-direction: column;
    padding: 0 1rem;
    z-index: 1000;
    margin-top: 2rem;
  }

  /* Cuando está activa, se expande */
  .main-nav.active {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
  }

  .red-top{
    height: 80px;
    background-color: var(--primary-color);
  }

  /* mostrar icono */
  .frame {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
  }

  /* Ajustes generales del icono */
  .frame {
    width: 40px;
    height: 40px;
    top: 3.7rem;
    right: 0.75rem;
  }

  /* El contenedor debe medir: 3*4px + 2*8px = 28px */
  .menu-icon {
    width: 40px;
    height: 28px;
    cursor: pointer;
    z-index: 50;
  }

  /* Líneas de 4px */
  .menu-icon .line-1,
  .menu-icon .line-2,
  .menu-icon .line-3 {
    height: 4px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease-in-out;
  }

  /* Espacio entre líneas */
  .menu-icon .line-2 {
    margin: 8px 0;
  }

  .top-bar p {
    font-size: 0.8rem;
  }

  /* fondo hero móvil */
  .hero {
    background: url("/images/fondos/barahona.jpg");
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    height: 400px;
    background-color: var(--primary-color);
    position: relative;
  }
  .hide-on-desktop {
    display: none;
  }

  /* ajustes hero-text */
  .hero-text {
    position: absolute;
    max-width: 90%;
    top: 20%;
    left: 5%;
    transform: translateY(0);
    margin-top: 0;
    z-index: 3;
  }

  .hero-text h1 {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 0.5rem;
  }

  .hero-text .flavor {
    margin-bottom: 0;
    font-family: "Intro Regular", sans-serif;
    font-size: 0.94rem;
  }

  .hero-text strong {
    font-family: "Intro Black", sans-serif;
    font-weight: 900;
    font-size: 28px;
  }

  .hero-text span {
    font-family: "Intro Bold", sans-serif;
    font-size: 1.42rem;
  }

  .hero-floating {
    position: absolute;
    bottom: 2vh;
    left: 15%;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 3;
    width: auto;
  }

  .hero-floating img {
    max-width: 25vw;
    margin-top: 0;
  }

  .hero-floating .hero-cta {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }
  .hero-cta span {
    max-width: 20%;
  }

  .hero-floating .hero-cta {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    margin-top: 20%;
    gap: 15px;
  }

  .hero-cta span {
    line-height: 1;
    padding-bottom: 2px;
  }
}


/* ********************************************** Animaciones HERO SECTION ****************************************************************** */

.hero-text {
  opacity: 0;
  transform: translateY(-50%);
}

.hero-coffee,
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}

/* ***************************************************************************************************************** */
/* ********************************************** MAP *************************************************************** */
/* ***************************************************************************************************************** */

#store-locator,
.map-container {
  position: relative;
}

/* estilos base */
#map {
  height: 600px;
  width: 100%;
  border: 2px solid #ccc;
}

#pac-input {
  position: relative;
  display: block;
  margin: 10px auto;
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 20px;
  border: 5px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  outline: none;
  z-index: 5;
  transform: none;
  margin-left: 2rem;
}

/* MOBILE OVERRIDE (hasta 600px) */
@media (max-width: 600px) {
  #pac-input {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: none;
    margin: 0.6rem 9.5rem;
    font-size: 14px;
    padding: 8px 12px;
    border-width: 2px;
  }
}

/* ***************************************************************************************************************** */
/* ************************************** OUR CLASSIC BLEND - SECTION ********************************************* */
/* ***************************************************************************************************************** */

/* ========== GSAP inicial states ========== */
.blend-header,
.blend-products,
.blend-features {
  opacity: 0;
  transform: translateY(30px);
}

.classic-blend-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  font-family: "Montserrat", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.blend-bg {
  position: absolute;
  inset: 0;
  background: url("/images/fondos/fondo-planta-de-cafe.jpg") center
    center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
}

.blend-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* HEADER */
.blend-header {
  background: var(--primary-color);
  color: #fff;
  border-radius: 22px;
  padding: 20px 56px 14px;
  text-align: center;
  width: 85%;
  margin: 42px 0 20px;
  box-shadow: 0 6px 32px rgba(80, 25, 25, 0.08);
}

.blend-header h2 {
  font-size: 2.3rem;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-family: "Intro Black", sans-serif;
}

.blend-header p {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 500;
  opacity: 0.98;
  line-height: 1.35;
  font-family: "Intro Book", sans-serif;
}

/* PRODUCTOS */
.blend-products {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 7em;
  margin: 0 auto -140px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product img {
  width: 172px;
  margin-bottom: 8px;
  padding: 0.6em 0.6em 1em 0.6em;
}

.product-label {
  color: #fff;
  font-weight: bold;
  font-size: 1.18rem;
  padding: 6px 34px;
  margin-top: -28px;
  font-family: "Intro Black", sans-serif;
}

.product-type {
  color: #fff;
  font-size: 1.01rem;
  letter-spacing: 0.04em;
  opacity: 0.86;
  margin-bottom: 6px;
  font-family: "Intro Book", sans-serif;
}

/* FEATURES */
.blend-features {
  display: flex;
  justify-content: space-between;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 1rem;
  padding: 10rem 3rem 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin: 0 auto 3rem;
}

.feature-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32%;
  min-width: 250px;
  text-align: center;
  border-right: 2px solid #fff;
  padding: 0 1rem;
}

.last-one {
  border-right: none;
}

.feature-group:last-child {
  border-right: none;
}

.feature-title {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
  font-family: "Intro Black", sans-serif;
}

.feature-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  color: #fff;
  font-family: "Intro Book", sans-serif;
}

.icon-item img {
  height: 50px;
  margin-bottom: 0.4rem;
}

.flavour-rotate {
  display: block;
  width: 50px;
  transition: transform 0.2s ease;
}

.icon-item:hover .flavour-rotate {
  transform: rotate(-18deg);
}

.icon-item:hover .flavour-rotate {
  transform: rotate(-18deg) scale(1.05);
}

.blend-features .description {
  width: 100%;
  text-align: center;
  margin-top: 2.5rem;
  padding: 0 2rem;
}

.blend-features .description p {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.5;
  font-family: "Intro Book", sans-serif;
  max-width: 850px;
  margin: 0 auto;
  opacity: 0.92;
}

.description-mobile {
  display: none;
}

/* Responsividad de Classic Blend */
@media (max-width: 768px) {
  .blend-header {
    width: 100%;
    margin: 1rem 0;
    padding: 1rem;
  }

  .blend-header h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .blend-header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .blend-products {
    gap: 1rem;
    margin: 0 auto -90px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .blend-products .product img {
    width: 130px;
  }

  .hide-on-mobile {
    display: none;
  }

  .blend-features {
    flex-direction: column;
    padding: 5rem 1rem 0;
    margin-top: 1rem;
    padding-bottom: 2rem;
  }

  .feature-group {
    width: 100%;
    padding: 1rem 0;
    border-right: none;
    border-bottom: 2px solid #fff;
  }

  .last-one {
    border-bottom: none;
  }

  .feature-group:last-child {
    border-right: none;
  }

  .feature-icons.separated-icons {
    gap: 1rem;
  }

  .icon-item img {
    height: 32px;
  }

  .flavour-rotate {
    height: 32px;
    width: 32px;
  }

  .icon-item span {
    font-size: 0.8rem;
  }

  .blend-products .product {
    flex: 0 0 45%;
  }

  .blend-products .product-label {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 1rem;
    margin-bottom: -10px;
  }

  .blend-products .product-type {
    font-size: 0.7rem;
  }
  .description-mobile {
    display: block;
    justify-content: stretch;
    font-size: 11px;
  }

  .blend-bg {
    background: url("/images/fondos/fondo-planta-de-cafe.jpg") center
      center no-repeat;
    background-size: cover;
    z-index: 1;
  }
}

/* ***************************************************************************************************************** */
/* ************************************** PRODUCT PORTFOLIO - SECTION ******************************************* */
/* ***************************************************************************************************************** */

/* GSAP inicial states */
.product-portfolio h2,
.product-portfolio .products {
  opacity: 0;
  transform: translateY(30px);
}

.product-portfolio {
  text-align: center;
}

.product-portfolio h2 {
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-family: "Intro Black", sans-serif;
  font-size: 2.5rem;
}

.product-portfolio .products {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8rem;
  margin: 20px auto;
  max-width: 1000px;
}

.product img {
  width: 100%;
  max-width: 225px;
  height: auto;
  margin-bottom: 10px;
}

.product-portfolio p strong {
  font-family: "Intro Black", sans-serif;
  margin: 5px 0;
  font-size: 1.2rem;
}

.product-portfolio p span {
  font-family: "Intro Regular", sans-serif;
  margin: 5px 0;
  font-size: 1.4rem;
}

/* hover */
.product {
  perspective: 1000px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product:hover {
  transform: translateY(-10px) scale(1.03);
}

.product img {
  transition: transform 2s ease;
  transform-style: preserve-3d;
}

/*.product:hover img {
  transform: rotateY(360deg);
}*/

@media (max-width: 768px) {
  .product-portfolio h2 {
    font-size: 1.8rem;
  }

  .product-portfolio .products {
    gap: 4rem;
    margin: 20px auto;
    max-width: 90%;
  }

  .product img {
    max-width: 150px;
  }
}

/* ***************************************************************************************************************** */
/* ***************************************** HOW TO GRIND - SECTION ************************************************ */
/* ***************************************************************************************************************** */

.grind-guide {
  text-align: center;
  margin: 40px 0;
}

.grind-guide h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

/* Contenedor de los íconos */
.grind-items {
  display: flex;
  justify-content: center;
  gap: 8rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.grind-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.grind-item:hover {
  transform: translateY(-10px) scale(1.05);
}

.grind-item img {
  width: 110px;
  max-height: 140px;
  margin-bottom: 10px;
}

.moka img {
  height: 140px;
}
.french img {
  height: 140px;
}
.drip img {
  height: 140px;
}

.grind-item p {
  font-size: 1.3rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.2;
  color: #000;
  transition: color 0.3s ease;
}

.grind-item:hover p {
  color: var(--primary-color);
}
@media (max-width: 768px) {
  .grind-guide h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2.6rem;
    letter-spacing: 1px;
  }

  .grind-items {
    gap: 3rem;
  }
  .grind-item img {
    width: 70px;
    max-height: 140px;
    margin-bottom: 10px;
  }
  .moka img {
    height: 90px;
  }
  .french img {
    height: 90px;
  }
  .drip img {
    height: 90px;
  }
  .grind-item p {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
    color: #000;
  }
}

/* ***************************************************************************************************************** */
/* ***************************************** CARRUSEL *************************************************************** */
/* ***************************************************************************************************************** */

.mobile-carousel {
  display: none;
  position: relative;
  z-index: 1;
}

.swiper-container {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  transition-property: transform;
}

.swiper-slide {
  flex-shrink: 0;
  width: 80%;
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
}

.swiper-slide img {
  width: 100%;
  max-width: 110px;
  height: auto;
  margin: 0 auto 10px;
}

.swiper-slide p {
  margin: 5px 0;
  font-size: 1.2rem;
}

.swiper-button-prev,
.swiper-button-next {
  background: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev img,
.swiper-button-next img {
  display: block;
  width: 100%;
  height: auto;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  display: none;
}

.swiper-button-prev span,
.swiper-button-next span {
  color: white;
  font-size: 24px;
  line-height: 1;
}

/* Solo en pantallas móviles */
@media (max-width: 768px) {
  .product-portfolio .products {
    display: none;
  }

  .mobile-carousel {
    display: block;
  }

  .mobile-carousel .swiper-button-prev {
    left: 30px !important;
  }

  .mobile-carousel .swiper-button-next {
    right: 30px !important;
  }
}

/* ***************************************************************************************************************** */
/* ***************************************** HISTORY sección ******************************************************** */
/* ***************************************************************************************************************** */

.history-section .content h2,
.history-section .content p,
.history-section .logos {
  opacity: 0;
  transform: translateY(30px);
}

.history-section {
  width: 100vw;
  /* height: 165vh; */
  background-image: url("/images/fondos/fondo-historia.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  min-height: 180vh;
  overflow: hidden;
  text-align: justify;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 70vw;
  padding: 90px 20px;
  color: #fff;
  text-align: center;
  margin-top: 550px;
}

.content h2 {
  font-size: 2.5vw;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: "Intro Black", sans-serif;
}

.content p {
  font-size: 1.8vw;
  line-height: 1.6;
  margin-bottom: 1vh;
  text-align: justify;
  font-family: "Intro Book", sans-serif;
}

.content p strong {
  font-family: "Intro Bold", sans-serif;
}

/* logos e icono */

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.origin {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
}

.origin .roasting {
  font-size: 1.5vw;
}

.logo-induban {
  height: 10vh;
}

.icon-rd {
  height: 13vh;
}

.anniversary {
  height: 13vh;
}

@media (max-width: 768px) {
  .history-section {
    flex-direction: column;
    padding: 40px 15px;
    height: auto;
    max-height: none;
    text-align: left;
  }

  .content {
    max-width: 100%;
    padding: 40px 15px;
    text-align: left;
  }

  .content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .content p {
    font-size: 1rem;
    justify-content: justify;
  }

  .logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .logo-induban {
    height: 5rem;
  }

  .icon-rd {
    height: 6rem;
    margin-top: 2rem;
    padding-left: 20px;
  }

  .origin {
    flex-direction: column;
    align-items: flex-start;
  }

  .origin .roasting {
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
  }
}

/* ***************************************************************************************************************** */
/* ***************************************** RECIPES - SECTION ***************************************************** */
/* ***************************************************************************************************************** */

.recipes-section {
  background-image: url("/images/fondos/recetas/fondo-recetas.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 60px 20px 100px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.recipes-content {
  max-width: 600px;
  margin-right: 20vw;
  text-align: center;
}

.recipes-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: bold;
  font-family: "Intro Black", sans-serif;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  gap: 3rem;
  justify-content: center;
}

.recipe-card {
  max-width: 180px;
  margin: 0 auto;
  text-align: center;
}

.recipe-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.recipe-card img:hover {
  transform: scale(1.05);
}

.recipe-card p {
  margin-top: 10px;
  font-size: 1.2rem;
  font-family: "Intro Book", sans-serif;
}

/* SVG WAVE DIVIDER */
.wave-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100px;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.wave-divider-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .recipes-section {
    background-image: url("/images/fondos/recetas/fondo-recetas-mobile.png");
    background-attachment: scroll;
    background-position: center top;
  }

  .recipes-content {
    margin: 0 auto;
    max-width: 95%;
    text-align: center;
  }

  .recipes-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 0;
    border-radius: 6px;
  }

  .recipes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .recipe-card p {
    font-size: 1rem;
    color: #fff;
    margin-top: 10px;
  }

  .recipe-card img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
}

/* ***************************************************************************************************************** */
/* ************************************** SHOW RECIPES - SECTION **************************************************** */
/* ***************************************************************************************************************** */

/* Overlay + centrar */
dialog.recipe-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 32px);
  max-width: 1000px;
  height: 90vh;
  margin: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}

dialog.recipe-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.close-modal {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
}

.modal-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

html,
body {
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .modal-inner {
    flex-direction: row;
  }

  .modal-left,
  .modal-right {
    flex: 1 1 50%;
    min-width: 0;
  }

  dialog.recipe-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 32px);
    padding: 12px;
  }
}

.modal-left {
  padding: 24px;
  background: #fff;
}

.modal-right {
  background: #fff;
  margin-top: 13vh;
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

.video-container {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 16/9;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.recipe-title {
  margin: 0;
  font-size: 2rem;
  color: var(--primary-color);
  font-family: "Intro Black", sans-serif;
}

.serving-size {
  margin: 4px 0 16px;
  font-size: 0.9rem;
  color: #555;
}

.ingredients-list,
.steps-list {
  margin: 8px 0 16px;
  padding-left: 1.2rem;
  color: #555;
}

.steps-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-family: "Intro Regular", sans-serif;
  color: #555;
}

/* ***************************************************************************************************************** */
/* ***************************************** CONTACT - SECTION **************************************************** */
/* ***************************************************************************************************************** */

.contact-section {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-container h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  font-family: "Intro Black", sans-serif;
  font-size: 2.5rem;
}

.contact-form label {
  display: block;
  text-align: left;
  margin: 0 auto 15px;
  font-size: 1.1rem;
  font-family: "Intro Book", sans-serif;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #afacac;
  font-size: 14px;
}

.send-button {
  background-color: white;
  color: var(--primary-color);
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send-button:hover {
  background-color: #f1f1f1;
}

.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  text-align: left;
  margin-bottom: 20px;
}

.checkboxes legend {
  font-weight: bold;
  margin-bottom: 8px;
}

/* RESPONSIVE MEDIA QUERIES para Contact */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 15px;
  }

  .contact-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .contact-container h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-form label {
    margin: 5px auto 15px;
    max-width: 90%;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    max-width: 100%;
    width: 100%;
    display: block;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
  }

  .send-button {
    width: fit-content;
    padding: 12px;
    font-size: 16px;
  }

  .checkboxes {
    font-size: 12px;
    gap: 8px;
  }
}

/* ***************************************************************************************************************** */
/* ***************************************** FOOTER - SECTION ***************************************************** */
/* ***************************************************************************************************************** */

.footer {
  background-color: #4e2b1b;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.goya-logo {
  display: block;
  margin: 0 auto 20px;
  max-width: 220px;
  height: auto;
}

.distributor {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
  font-family: "Intro Book", sans-serif;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    font-size: 13px;
    padding: 40px 15px;
  }

  .footer h2 {
    font-size: 15px;
  }

  .footer .distributor {
    font-size: 14px;
    font-family: "Intro Book", sans-serif;
  }

  .footer .contact-info,
  .footer .copyright {
    font-size: 12px;
  }

  .goya-logo {
    max-width: 150px;
    margin-bottom: 15px;
  }
}

/* *************** FECHA FIJA HACIA ARRIBA ************************* */

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: block;
  width: 48px;
  height: 48px;
  z-index: 1000;
  cursor: pointer;
}

.scroll-to-top:hover {
  opacity: 1;
}

.scroll-to-top img {
  width: 100%;
  height: 100%;
  display: block;
}
