/* ══════════════════════════════════════════
   CICCHITTI — WINE LINE PAGE CSS
   Página de línea (linea.html)
══════════════════════════════════════════ */

/* ── HERO DE LÍNEA ── */
.line-hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Variante con imagen de fondo */
.line-hero--has-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.line-hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,10,8,0.72) 0%,
    rgba(14,10,8,0.52) 50%,
    rgba(14,10,8,0.82) 100%
  );
  z-index: 1;
}

/* Elementos del hero sobre el overlay */
.line-hero--has-img .line-hero__ornament,
.line-hero--has-img .line-hero__bg-word,
.line-hero--has-img .line-hero__inner,
.line-hero--has-img .line-hero__scroll {
  z-index: 2;
}

.line-hero__bg-word {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 300;
  color: rgba(200,169,110,0.04);
  white-space: nowrap;
  letter-spacing: 0.08em;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.line-hero__ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 0.5px solid rgba(200,169,110,0.04);
  pointer-events: none;
}
.line-hero__ornament::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 0.5px solid rgba(200,169,110,0.03);
}
.line-hero__ornament::after {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 0.5px solid rgba(200,169,110,0.025);
}

.line-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 32px;
}

.line-hero__eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: lineIn 0.9s ease 0.15s forwards;
}
.line-hero__eyebrow::before,
.line-hero__eyebrow::after {
  content: '';
  width: 24px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.5;
}

.line-hero__badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--wine);
  padding: 5px 14px;
  margin-bottom: 20px;
  opacity: 0;
  animation: lineIn 0.9s ease 0.05s forwards;
}

.line-hero__name {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 32px;
  opacity: 0;
  animation: lineIn 0.9s ease 0.3s forwards;
}
.line-hero__name em {
  font-style: italic;
  color: var(--gold);
}

.line-hero__divider {
  width: 40px;
  height: 0.5px;
  background: rgba(200,169,110,0.3);
  margin: 0 auto 32px;
  opacity: 0;
  animation: lineIn 0.9s ease 0.45s forwards;
}

.line-hero__desc {
  font-family: var(--sans);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 300;
  color: rgba(244,236,216,0.55);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: lineIn 0.9s ease 0.6s forwards;
}

.line-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,236,216,0.2);
  opacity: 0;
  animation: lineIn 0.9s ease 1s forwards;
}
.line-hero__scroll-line {
  width: 0.5px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200,169,110,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

@keyframes lineIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SEPARADOR FADE (oscuro → crema) ── */
.line-torn {
  display: none;
}

/* ── SECCIÓN VINOS ── */
.line-wines {
  background: var(--cream-deep);
  padding: 80px 72px 96px;
}

.line-wines__header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid rgba(75,15,26,0.1);
}

.line-wines__title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--wine);
}

.line-wines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── WINE CARD ── */
.line-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.3s;
  cursor: pointer;
}
.line-card:hover { background: var(--cream-bg); }
.line-card:hover .line-card__img { transform: scale(1.04); }
.line-card:hover .line-card__cta svg { transform: translateX(4px); }

.line-card__img-wrap {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}

.line-card__img {
  max-height: 400px;
  max-width: 85%;
  object-fit: contain;
  padding: 24px 12px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.12));
}

/* Placeholder cuando no hay imagen */
.line-card__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  width: 100%;
  color: rgba(75,15,26,0.2);
}
.line-card__img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}
.line-card__img-placeholder span {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(75,15,26,0.25);
  letter-spacing: 0.06em;
}

.line-card__body {
  padding: 28px 28px 32px;
  border-top: 0.5px solid rgba(75,15,26,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  flex: 1;
}

.line-card__varietal {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--wine);
  line-height: 1.15;
}

.line-card__cta {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 0.5px solid rgba(75,15,26,0.2);
  padding-bottom: 2px;
}
.line-card__cta svg { transition: transform 0.3s; }

/* ── OTRAS LÍNEAS ── */
.other-lines {
  background: var(--dark);
  padding: 88px 72px;
}

.other-lines__eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.other-lines__eyebrow::before {
  content: '';
  width: 22px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.6;
}

.other-lines__title {
  font-size: clamp(28px, 3.2vw, 44px);
  color: var(--cream);
  margin-bottom: 48px;
}

.other-lines__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(200,169,110,0.06);
}

.other-lines__card {
  background: var(--charcoal);
  padding: 36px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s;
  cursor: pointer;
}
.other-lines__card:hover { background: #221E1B; }
.other-lines__card:hover .other-lines__card-link { color: var(--gold); }
.other-lines__card:hover .other-lines__card-link svg { transform: translateX(4px); }

.other-lines__card-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: rgba(200,169,110,0.08);
  line-height: 1;
  letter-spacing: -0.02em;
}

.other-lines__card-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
}

.other-lines__card-count {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,236,216,0.3);
  margin-bottom: 12px;
}

.other-lines__card-link {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s;
}
.other-lines__card-link svg { transition: transform 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .line-wines {
    padding: 60px 32px 72px;
  }
  .line-wines__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .line-card__img-wrap {
    height: 340px;
  }
  .line-card__img {
    max-height: 300px;
  }
  .other-lines {
    padding: 60px 32px;
  }
  .other-lines__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .line-wines__grid {
    grid-template-columns: 1fr;
  }
  .other-lines__grid {
    grid-template-columns: 1fr;
  }
  .line-card__img-wrap {
    height: 360px;
  }
  .line-card__img {
    max-height: 320px;
  }
}
