/* Sección de estilos para el sitio */
:root {
  --coffee-dark: #5f2919;
  --footer-carbon: #2a2a2a;
  --coffee-accent: #c7582d;
  --coffee-amarillo: #f5d0b5;
  --coffee-light: #e09632;
  --whatsapp: #25D366;
  --radius: 24px;
  --shadow: 0 30px 50px #2a2a2a(0,0,0,0.12);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

.heading-font {
  font-family: 'Playfair Display', serif;
}

/* Nosotros */
.nosotros-image img { width:100%; border-radius:var(--radius); box-shadow:var(--shadow); }

.texto-general {
  text-align: justify; 
  font-size: 1.2em;
  color: var(--coffee-carbon);
}

.box-general {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 30px;
}

.nosotros-img {
  width: 30%;
  height: 50px;
  object-fit: cover;
  margin-bottom: 15px;
}

.img-general {
  border-radius: 12px;
  /*box-shadow: 0 6px 20px rgba(0,0,0,0.1); */
  margin-bottom: 15px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

/* VIDEO MP4 LOCAL: autoplay, muted, loop */
.video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Navbar buttons */
.nav-btn {
  position: relative;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #4b5563;
  border-radius: 9999px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--coffee-accent), var(--coffee-light));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nav-btn:hover::before {
  opacity: 0.15;
}

.nav-btn:hover {
  color: var(--coffee-dark);
  transform: translateY(-2px);
}

.nav-btn.active {
  background: linear-gradient(90deg, var(--coffee-accent), var(--coffee-light));
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}

/* Hero CTA button */
.hero-cta {
  padding: 1rem 2rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, var(--coffee-accent), var(--coffee-light));
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.25);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(217, 119, 87, 0.35);
}

/* Franjas */
.three-diagonal-stripes {
  position: absolute;
  right: -20%;
  top: 0;
  bottom: 0;
  width: 60%;
  pointer-events: none;
  z-index: 0;
}

.stripe {
  position: absolute;
  width: 300%;
  height: 3%; /* reducido significativamente (antes 25%) */
  background: var(--coffee-accent); /* color naranja */
  opacity: 1.05;
  transform: rotate(20deg);
  transform-origin: right center;
  border-radius: 10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.stripe:nth-child(1) {
  top: 9%;
  right: -15%;
}

.stripe:nth-child(2) {
  top: 17%;
  right: -25%;
}

.stripe:nth-child(3) {
  top: 20%;
  right: -10%;
}

/* Sección Prodcutos */
.productos {
  background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-accent));
  color: var(--coffee-amarillo);
  /*color: white;*/
  padding: 6rem 5%;
}

/* Mexicano badge */
.mex-badge {
  background: linear-gradient(135deg, #ffffff, #f8f8f8);
  border: 2px solid var(--coffee-accent);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: var(--coffee-dark);
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

/* WhatsApp bubble */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp);
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .three-diagonal-stripes {
      width: 90%;
      right: -50%;
  }
  .stripe {
      height: 10%;
      width: 220%;
  }
  .whatsapp-float {
      width: 55px;
      height: 55px;
      font-size: 26px;
      bottom: 20px;
      right: 20px;
  }
}