/* ---------- ESTILOS GENERALES ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --gold: #c7a16b;
    --black: #111;
    --dark: #161616;
    --black-deep: #0e0e0e;
    --black-soft: #151515;
    --gold-main: #c7a16b;
    --gold-soft: #b08950;
    --white-soft: #f5f5f5;
    --gray-text: #cfcfcf;
    --transition: all .3s ease;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #0f0f0f;
    color: #fff;
}

/* ANIMACIÓN SCROLL */
.fade-editorial {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-editorial.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(6px);
    z-index: 1000;
    box-sizing: border-box;
}



/* Logo */
.header .logo img {
    display: block;
}

.nav-list {
    align-items: center;
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    white-space: nowrap;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--gold);
}

.btn-comprar a {
  padding: 12px 32px;
  background: linear-gradient(135deg, #c7a16b, #b08950);
  color: #f8f8f8;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.btn-comprar a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(199,161,107,.4);
}





/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: url("img/cafefondo3.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    animation: zoom 10s ease-in-out infinite alternate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(36px, 6vw, 80px);
    color: var(--gold);
}

.hero-text p {
    font-size: 18px;
    margin: 10px 0 30px;
}

/* ---------- ANIMACIONES ---------- */
@keyframes zoom {
    from {
        background-size: 100%;
    }
    to {
        background-size: 108%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-step,
.fade-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-step.show,
.fade-scroll.show {
    opacity: 1;
    transform: translateY(0);
}
/*seccion de enganche*/
.confianza {
  background: #0f0f0f;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.confianza .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.confianza-item {
  font-size: 15px;
  color: #d8c9b5;
  font-weight: 500;
}

/* ===============================
   ¿POR QUÉ ELEGIR SHILOH?
================================ */

.porque-shiloh {
    background:
    linear-gradient(
        rgba(10, 10, 10, 0.75),
        rgba(10, 10, 10, 0.85)
    ),
    url("/img/cafefondo1.jpg") center / cover no-repeat;

}

.porque-shiloh .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.porque-shiloh h2 {
    font-size: clamp(30px, 4vw, 42px);
    color: #c7a16b;
    margin-bottom: 20px;
}

.porque-shiloh .intro {
    max-width: 750px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #d0d0d0;
    line-height: 1.6;
}

/* GRID */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* TARJETAS */
.beneficio {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(199, 161, 107, 0.15);
    padding: 35px 25px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    transition: transform .4s ease, box-shadow .4s ease;
    position: relative;
    overflow: hidden;
}

.beneficio:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(199, 161, 107, 0.4);
}

.beneficio h3 {
    font-size: 22px;
    color: #c7a16b;
    margin-bottom: 15px;
}

.beneficio p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

/* ANIMACIÓN GLOBAL SCROLL (CORRECTA) */
.fade-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* DELAY ESCALONADO PARA TARJETAS */
.beneficios-grid .beneficio:nth-child(1) {
    transition-delay: 0.1s;
}

.beneficios-grid .beneficio:nth-child(2) {
    transition-delay: 0.25s;
}

.beneficios-grid .beneficio:nth-child(3) {
    transition-delay: 0.4s;
}

.beneficios-grid .beneficio:nth-child(4) {
    transition-delay: 0.55s;
}


/* BOTÓN HERO */
.hero .btn {
    display: inline-block;
    padding: 12px 25px;
    background: #c7a16b;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: transform .3s ease, background .3s ease;
}

.hero .btn:hover {
    background: #e7c896;
    transform: scale(1.05);
}



/* ---------- CARRUSEL ---------- */
.productos h2 {
    text-align: center;
    margin-top: clamp(40px, 8vw, 100px);
    color: var(--gold);
}


.carousel {
    width: 90%;
    max-width: 1200PX;
    margin: auto;
    position: relative;
}

.carousel-item {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    inset: 0;
    text-align: center;
    transition: opacity 0.4s ease;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}


.carousel-item img {
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}


.carousel-item.active {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 42px;
    border: none;
    background: rgba(0,0,0,.4);
    padding: 12px 16px;
    border-radius: 50%;
    transition: all .3s ease;
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
    background: var(--gold);
    color: #111;
}


/* ---------- DESCRIPCIÓN ---------- */
.descripcion {
    padding: clamp(40px, 6vw, 80px);
    text-align: center;
    background: #161616;
}

.descripcion h2 {
    color: var(--gold);
    letter-spacing: 1px;
}

.descripcion p {
    color: #d0d0d0;
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px;
}

.comprar-btn {
    margin-top: 30px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #c7a16b, #b08950);
    color: #111;
    border-radius: 30px;
    font-weight: 600;
    transition: transform .3s ease, box-shadow .3s ease;
}

.comprar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(199,161,107,.4);
}


/* ===== BENEFICIOS EDITORIAL ===== */
.beneficios-editorial {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("/img/cafefondo3.jpg");
    background-size: cover;
    background-position: center;
}

.beneficios-grid-editorial {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
}

/* TARJETAS BASE */
.beneficio-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(199,161,107,0.15);
    border-radius: 18px;
    padding: 40px;
    color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* TAG */
.beneficio-tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: #c7a16b;
    display: block;
    margin-bottom: 15px;
}

/* BLOQUE GRANDE */
.beneficio-card.grande {
    grid-row: span 2;
}

.beneficio-card.grande h2 {
    font-size: 36px;
    color: #c7a16b;
    margin-bottom: 20px;
}

.beneficio-card.grande p {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 25px;
}

.beneficio-card.grande ul {
    list-style: none;
    padding: 0;
}

.beneficio-card.grande li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* BLOQUE HORIZONTAL */
.beneficio-card.horizontal h3 {
    font-size: 26px;
    color: #c7a16b;
    margin-bottom: 15px;
}

.beneficio-card.horizontal p {
    color: #d0d0d0;
    line-height: 1.6;
}

/* VIDEO */
.beneficio-card.video {
    padding: 0;
}

.beneficio-card.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .beneficios-grid-editorial {
        grid-template-columns: 1fr;
    }

    .beneficio-card.grande {
        grid-row: auto;
    }
}



/* ===============================
   CÓMO PREPARAR TU CAFÉ
================================ */

.preparacion {
    background: radial-gradient(circle at top, #151515, #0e0e0e);
    padding: 130px 20px;
    color: #f5f5f5;
}

.preparacion .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* TÍTULOS */
.preparacion .titulo {
    font-size: 42px;
    color: #c7a16b;
    margin-bottom: 15px;
}

.preparacion .subtitulo {
    max-width: 700px;
    margin: 0 auto 80px;
    font-size: 18px;
    color: #d0d0d0;
}

/* GRID */
.preparacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* PASOS */
.pasos {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.paso {
    position: relative;
    padding-left: 60px;
}

.paso span {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 28px;
    font-weight: bold;
    color: #c7a16b;
    opacity: 0.85;
}

.paso h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #f5f5f5;
}

.paso p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

/* IMAGEN */
.preparacion-media img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* ===============================
   ANIMACIÓN SEGURA 
================================ */

.fade-step {
    opacity: 0;
    transform: translateY(40px);
}

.fade-step.show {
    animation: fadeUp 0.9s ease forwards;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .preparacion-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .pasos {
        text-align: center;
    }

    .paso {
        padding-left: 0;
    }

    .paso span {
        position: static;
        display: block;
        margin-bottom: 5px;
    }
}

/* ---------- REVIEWS ---------- */
.reviews-editorial {
  width: 100%;
  background-color: var(--black-deep);
}

.reviews-editorial .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 90vh;
}

/* BLOQUES */
.reviews-editorial .block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px;
  box-sizing: border-box;
}

/* IMÁGENES */
.reviews-editorial .image {
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
}

.image-1 {
  background-image: url("/img/cafetal1.jpg");
}

.image-2 {
  background-image: url("/img/matadecafe1.jpg");
}

/* BLOQUE TEXTO OSCURO */
.reviews-editorial .text.dark {
  background: radial-gradient(circle at top, #1b1b1b, #0e0e0e);
  color: var(--white-soft);
  text-align: center;
}

.reviews-editorial .review-text {
  font-size: 22px;
  line-height: 1.7;
  max-width: 420px;
  font-weight: 300;
}

.reviews-editorial .review-author {
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--gold-main);
}

/* BLOQUE TEXTO DORADO */
.reviews-editorial .text.light {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-soft));
  color: #111;
  flex-direction: column;
  text-align: center;
}

.reviews-editorial .text.light h3 {
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-weight: 600;
}

.reviews-editorial .text.light p {
  max-width: 420px;
  line-height: 1.7;
  font-size: 16px;
}


/* ================= CTA FINAL ================= */
.cta-final-pro {
    position: relative;
    padding: 160px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* VIDEO DE FONDO */
.cta-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* OVERLAY CINEMATOGRÁFICO */
.cta-final-pro .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 8, 4, 0.7),
        rgba(10, 5, 3, 0.95)
    );
    z-index: 1;
}

/* CONTENIDO */
.cta-pro-contenido {
    position: relative;
    max-width: 950px;
    margin: auto;
    z-index: 2;
    animation: fadeUp 1.3s ease forwards;
    opacity: 0;
}

/* BADGE */
.cta-badge {
    display: inline-block;
    padding: 6px 22px;
    border: 1px solid #c7a16b;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #c7a16b;
    margin-bottom: 25px;
}

/* TÍTULO */
.cta-pro-contenido h2 {
    font-size: 3.2rem;
    margin-bottom: 30px;
    line-height: 1.15;
}

/* TEXTO */
.cta-pro-contenido p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #f4e9dc;
    margin-bottom: 50px;
}

/* BOTONES */
.cta-pro-botones {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* BOTÓN BASE */
.cta-btn {
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
}

/* BOTÓN PRINCIPAL */
.cta-btn.principal {
    background: #c7a16b;
    color: #2a1b10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.cta-btn.principal:hover {
    transform: translateY(-6px) scale(1.03);
    background: #e2b883;
}

/* BOTÓN SECUNDARIO */
.cta-btn.secundario {
    border: 1px solid #c7a16b;
    color: #c7a16b;
}

.cta-btn.secundario:hover {
    background: rgba(199,161,107,0.15);
}

/* INFO EXTRA */
.cta-extra {
    margin-top: 50px;
    font-size: 0.95rem;
    color: #e7d8c5;
}

/* REDES */
.cta-redes {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.cta-redes a {
    color: #c7a16b;
    text-decoration: none;
    position: relative;
}

.cta-redes a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #c7a16b;
    transition: width 0.3s ease;
}

.cta-redes a:hover::after {
    width: 100%;
}

/* ANIMACIÓN */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-final-pro {
        padding: 120px 20px;
    }

    .cta-pro-contenido h2 {
        font-size: 2.3rem;
    }

    .cta-btn {
        padding: 14px 36px;
    }
}
/* ================= MODALES (BASE) ================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 9999;
  padding: 20px;
}

/* Contenedor del modal */
.modal-content {
  background: #f7f3ef; /* crema café */
  color: #3b2a1a;
  max-width: 820px;
  margin: auto;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalFade 0.35s ease;
}

/* Animación */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Botón cerrar */
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #7a5a3a;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: #2a1b10;
  transform: scale(1.1);
}

/* Tipografía */
.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-family: "Georgia", serif;
  color: #2a1b10;
}

.modal-content h3 {
  font-size: 1.2rem;
  margin-top: 22px;
  margin-bottom: 8px;
  color: #5a3b1e;
}

.modal-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 10px;
  color: #3b2a1a;
}

/* Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #c2a37c;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #eee;
}

/* ===== MODAL CONTACTO ===== */

.modal-content.contacto {
  max-width: 420px;
  text-align: center;
}

.contacto-texto {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: block;
  background: #25d366;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 15px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.03);
}

.correo-link {
  display: block;
  color: #5a3b1e;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 18px;
}

.correo-link:hover {
  text-decoration: underline;
}

.horario {
  font-size: 0.85rem;
  color: #555;
}


/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 25px 20px;
  background: #0a0a0a;
  color: #bfa98c;
  font-size: 0.9rem;
}


