/* ==============================================================================
   ALMA LICORES — Secciones 2 a 5 del Home (Narrativa Editorial)
   Complementa el Hero Cinema respetando 100% su diseño superior
   ============================================================================== */

/* --------------------------------------------------------------------------
   SECCIÓN 2: La Esencia de ALMA (Beyond the Bottle)
   -------------------------------------------------------------------------- */

.section-essence {
  position: relative;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b120f;
  color: #f3efea;
  padding: clamp(5rem, 11vh, 8.5rem) var(--pad-x);
}

.section-essence__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-essence__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.85);
}

.section-essence__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.72) 0%, rgba(10, 14, 12, 0.42) 45%, rgba(10, 14, 12, 0.8) 100%),
    linear-gradient(90deg, rgba(10, 14, 12, 0.82) 0%, rgba(10, 14, 12, 0.45) 60%, transparent 100%);
  pointer-events: none;
}

.section-essence__inner {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: block;
}

.section-essence__content {
  max-width: 44rem;
}

.section-essence__title {
  font-size: clamp(2.75rem, 6.5vw, 4.85rem);
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.section-essence__text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  line-height: 1.5;
  color: rgba(243, 239, 234, 0.92);
  margin: 0 0 2rem;
  font-weight: 300;
  max-width: 36rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.eyebrow--gold {
  color: #d2c4a3;
}

.chip--light {
  color: rgba(243, 239, 234, 0.8);
}

.chip--light .chip__mark {
  color: #d2c4a3;
}

/* --------------------------------------------------------------------------
   SECCIÓN 3: Acceso al Portafolio (Curated Spirits Preview)
   -------------------------------------------------------------------------- */

.section-portfolio-preview {
  background-color: var(--cream-soft);
  padding: clamp(5rem, 10vw, 8.5rem) var(--pad-x);
}

.section-portfolio-preview__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-portfolio-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.section-portfolio-preview__intro {
  max-width: 38rem;
}

.section-portfolio-preview__title {
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  color: #1c1c1e;
  margin-bottom: 1.15rem;
}

.section-portfolio-preview__lede {
  font-size: 1rem;
  line-height: 1.65;
  color: #52525b;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background-color: var(--cream-card);
  border: 1px solid rgba(36, 36, 38, 0.08);
  padding: 2.25rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 53, 41, 0.25);
  box-shadow: 0 12px 32px rgba(44, 53, 41, 0.06);
}

.product-card__stage {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
  flex-shrink: 0;
}

.product-card__bottle {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
  filter: drop-shadow(0 14px 18px rgba(36, 36, 38, 0.12));
}

.product-card:hover .product-card__bottle {
  transform: scale(1.04);
}

.product-card > div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__badge {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-end;
  min-height: 1.25rem;
  line-height: 1.35;
}

.product-card__name {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #1c1c1e;
  min-height: 3.5rem;
  display: flex;
  align-items: flex-start;
}

.product-card__desc {
  font-size: 0.85rem;
  color: #52525b;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  height: calc(1.55em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__link {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-olive);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}

.link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85em;
  height: 0.85em;
  flex-shrink: 0;
  font-variant-emoji: text;
  transition: transform 0.25s ease;
}

.link__arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-card__link:hover .link__arrow,
.journal-card__link:hover .link__arrow {
  transform: translate(2px, -2px);
}

.section-portfolio-preview__footer-cta {
  text-align: center;
  padding-top: 1rem;
}

@media (max-width: 960px) and (min-width: 769px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-portfolio-preview {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .section-portfolio-preview__header {
    margin-bottom: 2.25rem;
  }

  .products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    margin: 0 calc(-1 * var(--pad-x));
    padding: 0.5rem var(--pad-x) 1.25rem;
    scrollbar-width: none;
  }

  .products-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    flex: 0 0 78vw;
    max-width: 290px;
    scroll-snap-align: center;
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .product-card__stage {
    height: 190px;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .product-card__badge {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    min-height: 1.25rem;
    line-height: 1.35;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.35rem;
  }

  .product-card__name {
    font-size: 1.18rem;
    line-height: 1.22;
    min-height: 2.85rem;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.45rem;
  }

  .product-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0 0 0.85rem;
    height: calc(1.45em * 3);
  }

  .product-card__link {
    font-size: 0.6875rem;
  }
}

/* --------------------------------------------------------------------------
   SECCIÓN 4: Journal (Every Pour Has a Story)
   -------------------------------------------------------------------------- */

.section-journal-preview {
  background-color: #17231e;
  color: #f2efe0;
  padding: clamp(5.5rem, 11vw, 9rem) var(--pad-x);
  position: relative;
}

.section-journal-preview__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-journal-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.75rem;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 2.25rem;
}

.section-journal-preview__title {
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.85rem;
}

.section-journal-preview__lede {
  font-size: 1rem;
  color: rgba(242, 239, 224, 0.75);
  max-width: 32rem;
  margin: 0;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.journal-card {
  background-color: #121d18;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.journal-card:hover {
  border-color: rgba(210, 196, 163, 0.22);
  background-color: #16241e;
}

.journal-card > div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.journal-card__media {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.35rem;
  background-color: #0e1713;
  aspect-ratio: 1121 / 1403;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal-card__still {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-card:hover .journal-card__still {
  transform: scale(1.03);
}

/* Aspect Ratio Presets for Spirits Photography */
.aspect-article-1 {
  aspect-ratio: 1121 / 1403;
}

.aspect-article-2 {
  aspect-ratio: 1121 / 1403;
}

.aspect-article-3 {
  aspect-ratio: 1121 / 1403;
}

.aspect-article-4 {
  aspect-ratio: 1121 / 1403;
}

.journal-card__tag {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cinema-cream);
  margin-bottom: 0.5rem;
  display: block;
  min-height: 1.15rem;
}

.journal-card__title {
  font-size: 1.35rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.75rem;
  min-height: 3.4rem;
  display: flex;
  align-items: flex-start;
}

.journal-card__excerpt {
  font-size: 0.825rem;
  line-height: 1.6;
  color: rgba(242, 239, 224, 0.7);
  margin: 0 0 1.25rem;
  min-height: 3.96rem;
  flex-grow: 1;
}

.journal-card__link {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinema-cream);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-journal-preview__action {
  text-align: center;
}

@media (max-width: 980px) and (min-width: 769px) {
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .section-journal-preview {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .section-journal-preview__header {
    margin-bottom: 2.25rem;
  }

  .journal-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    margin: 0 calc(-1 * var(--pad-x));
    padding: 0.5rem var(--pad-x) 1.25rem;
    scrollbar-width: none;
    margin-bottom: 2.25rem;
  }

  .journal-grid::-webkit-scrollbar {
    display: none;
  }

  .journal-card {
    flex: 0 0 82vw;
    max-width: 310px;
    scroll-snap-align: center;
    padding: 1.25rem 1.15rem 1.15rem;
  }

  .journal-card__media {
    aspect-ratio: 1121 / 1403;
    width: 100%;
    margin-bottom: 0.85rem;
  }

  .journal-card__video,
  .journal-card__still {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .journal-card__title {
    font-size: 1.15rem;
    line-height: 1.25;
    min-height: 2.85rem;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.4rem;
  }

  .journal-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0 0 0.85rem;
    min-height: 2.35rem;
    flex-grow: 1;
  }

  .journal-card__link {
    font-size: 0.6875rem;
  }
}

/* --------------------------------------------------------------------------
   SECCIÓN 5: Cierre Comercial (Let's Start a Conversation)
   -------------------------------------------------------------------------- */

.section-commercial-close {
  position: relative;
  min-height: 80vh;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0b110e;
  color: #f3efea;
  padding: clamp(5rem, 12vh, 8.5rem) var(--pad-x);
}

.section-commercial-close__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-commercial-close__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.78);
}

.section-commercial-close__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14, 22, 18, 0.55) 0%, rgba(10, 14, 12, 0.88) 85%),
    linear-gradient(180deg, rgba(10, 14, 12, 0.65) 0%, transparent 40%, rgba(10, 14, 12, 0.88) 100%);
  pointer-events: none;
}

.section-commercial-close__inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.section-commercial-close__title {
  font-size: clamp(2.75rem, 6.2vw, 4.75rem);
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.35rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.6);
}

.section-commercial-close__text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.55;
  color: rgba(243, 239, 234, 0.92);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.section-commercial-close__cta {
  background-color: var(--green, #1a2b25);
  color: #d2c4a3;
  border: 1px solid rgba(210, 196, 163, 0.32);
  padding: 1.15rem 2.85rem;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.28s ease;
}

.section-commercial-close__cta:hover {
  background-color: #243d34;
  border-color: rgba(210, 196, 163, 0.65);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
