@charset "UTF-8";
/* Página La Historia */
/* ==================================================
LA HISTORIA
================================================== */
.page-history {
  --history-paper: #f5eee4;
  --history-ink: #2d241e;
  --history-muted: #6e6053;
  --history-gold: #9a6f3d;
  min-height: 100svh;
  color: var(--history-ink);
  background: var(--history-paper) url("../assets/images/historia/backhistory.jpg") top left/100% auto no-repeat;
}
.page-history .site-header:nth-of-type(2) {
  background-color: #f8f2e9;
}

/* ==================================================
HERO
================================================== */
.history-page {
  min-height: 100svh;
}

.history-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(38rem, 55vw, 40rem);
  padding: clamp(2.5rem, 8vw, 4rem) 2rem clamp(2.5rem, 7vw, 4rem);
}
.history-hero__content {
  width: min(100%, 100rem);
  margin: 0 auto;
  text-align: center;
}
.history-hero__eyebrow {
  margin: 0 0 1.6rem;
  color: var(--history-gold);
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.history-hero h1 {
  margin: 0;
  color: #271f19;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.history-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100%, 26rem);
  margin: 2.6rem auto;
}
.history-hero__ornament > span {
  width: 100%;
  height: 0.1rem;
  background: linear-gradient(90deg, transparent, rgba(142, 100, 49, 0.6));
}
.history-hero__ornament > span:last-child {
  background: linear-gradient(90deg, rgba(142, 100, 49, 0.6), transparent);
}
.history-hero__box {
  width: max(100%, 100rem);
  padding: 1.6rem 1.8rem;
  border-radius: 0.9rem;
  box-shadow: 0 0.8rem 2.2rem rgba(74, 49, 26, 0.055), inset 0 0 1.8rem rgba(125, 91, 51, 0.025);
  background: rgba(255, 253, 247, 0.48);
}
.history-hero__box__lead {
  margin: 0 auto 1.5rem;
  color: #463b31;
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  line-height: 1.7;
}
.history-hero__box p.nota {
  color: #4a3c31;
  font-family: var(--font-reader);
  font-size: 1.5rem;
  font-optical-sizing: auto;
  line-height: 1.6;
  text-align: justify;
}

/* ==================================================
LÍNEA TEMPORAL
================================================== */
.history-timeline {
  padding: clamp(5rem, 7vw, 7rem) 0 clamp(4rem, 6vw, 6rem);
  background-color: rgba(250, 246, 239, 0.94);
}
.history-timeline__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.history-timeline__viewport::-webkit-scrollbar {
  display: none;
}
.history-timeline__track {
  position: relative;
  display: flex;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0 clamp(3rem, 6vw, 8rem);
  list-style: none;
}
.history-timeline__track::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: clamp(3rem, 6vw, 8rem);
  right: clamp(3rem, 6vw, 8rem);
  height: 0.1rem;
  background: linear-gradient(90deg, transparent, rgba(112, 79, 45, 0.55) 5%, rgba(112, 79, 45, 0.55) 95%, transparent);
}
.history-timeline__hint {
  display: none;
  margin: 3rem 0 0;
  color: #8a6b49;
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.history-timeline__hint span {
  display: inline-block;
  margin-left: 0.5rem;
}

/* ==================================================
PERIODO
================================================== */
.history-period {
  position: relative;
  flex: 0 0 clamp(17rem, 16vw, 22rem);
  padding: 3.4rem 1.4rem 0;
  text-align: center;
  scroll-snap-align: center;
}
.history-period__dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  background: #86633c;
  border: 0.25rem solid #f8f2e9;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1rem rgba(91, 62, 32, 0.75);
  transform: translateX(-50%);
}
.history-period__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.history-period h3 {
  margin: 0 0 0.8rem;
  color: #30251d;
  font-family: var(--font-titulo);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.history-period__date {
  margin: 0;
  color: #8a6b49;
  font-size: 1.3rem;
  line-height: 1.4;
}
.history-period.is-available h3 a {
  position: relative;
  color: #30251d;
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease;
}
.history-period.is-available h3 a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  width: 0;
  height: 0.1rem;
  background: #9a6f3d;
  transform: translateX(-50%);
  transition: width 180ms ease;
}
.history-period.is-available h3 a:hover, .history-period.is-available h3 a:focus-visible {
  color: #8b6538;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.35);
}
.history-period.is-available h3 a:hover::after, .history-period.is-available h3 a:focus-visible::after {
  width: 100%;
}
.history-period.is-disabled h3 {
  color: rgba(48, 37, 29, 0.35);
}
.history-period.is-disabled .history-period__date {
  color: rgba(138, 107, 73, 0.38);
}
.history-period.is-disabled .history-period__dot {
  background: rgba(134, 99, 60, 0.35);
  box-shadow: 0 0 0 0.1rem rgba(91, 62, 32, 0.22);
}

/* ==================================================
CIERRE
================================================== */
.history-closing {
  padding: clamp(2rem, 4vw, 4rem) 2rem clamp(6rem, 9vw, 9rem);
  text-align: center;
  background-color: rgba(250, 246, 239, 0.94);
}
.history-closing__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100%, 24rem);
  margin: 0 auto 1.8rem;
}
.history-closing__ornament > span {
  width: 100%;
  height: 0.1rem;
  background: linear-gradient(90deg, transparent, rgba(142, 100, 49, 0.48));
}
.history-closing__ornament > span:last-child {
  background: linear-gradient(90deg, rgba(142, 100, 49, 0.48), transparent);
}
.history-closing p {
  margin: 0;
  color: #9a7953;
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ==================================================
RESPONSIVE
================================================== */
@media (max-width: 760px) {
  .history-hero {
    min-height: auto;
    padding: 2rem 2rem 5.5rem;
  }
  .history-timeline {
    padding-top: 4.5rem;
  }
  .history-timeline__track {
    padding-inline: 2rem;
  }
  .history-timeline__track::before {
    left: 2rem;
    right: 2rem;
  }
  .history-timeline__hint {
    display: block;
  }
  .history-period {
    flex-basis: 18rem;
  }
}
@media (max-width: 480px) {
  .page-history {
    background-size: cover;
  }
  .history-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .history-hero__lead {
    font-size: 1.65rem;
  }
  .history-period {
    flex-basis: 16.5rem;
    padding-inline: 1rem;
  }
}

/*# sourceMappingURL=historia.css.map */
