@charset "UTF-8";
/* Página de inicio */
.book-header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  width: fit-content;
}
.book-header__icon {
  width: 28px;
  height: 42px;
  flex-shrink: 0;
}
.book-header__icon svg, .book-header__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.book-header__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.book-header__subtitle {
  font-family: "Cinzel", "EB Garamond", "Baskerville", "Georgia", serif;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reader-header-subtitle, #444);
  margin-bottom: 0.2rem;
  font-weight: 500;
}
.book-header__title {
  font-family: "Cinzel", "EB Garamond", "Baskerville", "Georgia", serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--reader-header-title, #222);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .book-header__title {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .book-header__title {
    font-size: 1.6rem;
  }
}

.prologue-book__ornament {
  position: relative;
  z-index: 3;
  height: 1rem;
  pointer-events: none;
}
.prologue-book__ornament::before {
  position: absolute;
  top: 0.5rem;
  right: 0;
  left: 0;
  height: 0.15rem;
  content: "";
  background: linear-gradient(90deg, transparent 0%, var(--reader-ornament-line, #ccc) 20%, var(--reader-ornament-line, #ccc) 80%, transparent 100%);
}
.prologue-book__ornament::after {
  position: absolute;
  top: 0.1rem;
  left: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border: 0.15rem solid var(--reader-ornament-border);
  background: var(--reader-ornament-paper);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.prologue-book__ornament--bottom {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  margin-top: 5rem;
}
.prologue-book__header {
  position: relative;
  z-index: 3;
  max-width: 82rem;
  margin: 4rem auto 3.5rem;
  text-align: left;
}
.prologue-book__title {
  margin: 0;
  color: var(--reader-prologue-title);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.prologue-book__lead {
  position: relative;
  max-width: 66rem;
  margin: 2rem 0 0;
  padding-bottom: 2.5rem;
  color: var(--reader-prologue-lead);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1.5;
}
.prologue-book__lead::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(100%, 42rem);
  height: 0.1rem;
  content: "";
  background: linear-gradient(90deg, transparent, var(--reader-prologue-line), transparent);
  transform: translateX(-50%);
}

.cover {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.cover__background, .cover__veil, .cover__particles {
  position: absolute;
  inset: 0;
}
.cover__background {
  z-index: -4;
  background-image: url("../assets/images/home/backhome.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}
.cover__veil {
  z-index: -3;
  background: linear-gradient(90deg, rgba(5, 8, 11, 0.18) 0%, rgba(5, 8, 11, 0.72) 39%, rgba(5, 8, 11, 0.82) 61%, rgba(5, 8, 11, 0.2) 100%), linear-gradient(180deg, rgba(5, 8, 11, 0.48), transparent 24%, transparent 72%, rgba(5, 8, 11, 0.78));
}
.cover__particles {
  z-index: -2;
  opacity: 0.26;
  background-image: radial-gradient(circle at 81% 26%, #ead39f 0 0.1rem, transparent 0.2rem), radial-gradient(circle at 88% 39%, #ead39f 0 0.12rem, transparent 0.22rem), radial-gradient(circle at 75% 57%, #ead39f 0 0.08rem, transparent 0.18rem), radial-gradient(circle at 92% 67%, #ead39f 0 0.1rem, transparent 0.2rem);
  background-size: 13rem 13rem, 17rem 17rem, 21rem 21rem, 26rem 26rem;
  animation: cover-drift 18s linear infinite alternate;
}
.cover__content {
  position: relative;
  width: min(100% - 4rem, 88rem);
  margin-top: 4rem;
  padding: 0 0 0 23rem;
  color: #f5ead8;
  text-align: left;
  text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.92);
}
.cover__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2rem;
  width: 27rem;
  aspect-ratio: 1;
  background: url("../assets/images/reloj.png") center/contain no-repeat;
}
.cover__eyebrow {
  color: #e1c58f;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}
.cover h1 {
  margin-top: 0.4rem;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
}
.cover__lead {
  max-width: 65rem;
  margin-top: 4rem;
  color: #f0e5d4;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  line-height: 2;
}
.cover__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 4rem;
  justify-content: center;
}
.cover__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: rgba(245, 234, 216, 0.75);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.cover-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 6.2rem;
  padding: 1rem 2.2rem;
  overflow: hidden;
  color: #f0dfc5;
  background: radial-gradient(circle at 50% 0%, rgba(121, 88, 49, 0.2), transparent 56%), linear-gradient(180deg, rgba(41, 31, 22, 0.98), rgba(20, 16, 13, 0.98));
  border: 0.2rem solid #876a3f;
  border-radius: 0.8rem;
  box-shadow: inset 0 0 0 0.2rem rgba(18, 13, 9, 0.85), inset 0 0.15rem 0.25rem rgba(255, 224, 170, 0.12), 0 0 0 0.1rem rgba(210, 165, 91, 0.12), 0 0.8rem 2.2rem rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  text-shadow: 0 0.15rem 0.2rem rgba(0, 0, 0, 0.95), 0 0 0.6rem rgba(221, 175, 103, 0.12);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.cover-button::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 0.1rem solid rgba(210, 168, 101, 0.28);
  border-radius: 0.45rem;
  pointer-events: none;
}
.cover-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 226, 178, 0.05) 48%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.cover-button:hover {
  color: #fff1d8;
  background: radial-gradient(circle at 50% 0%, rgba(157, 111, 57, 0.28), transparent 58%), linear-gradient(180deg, rgba(54, 39, 27, 0.99), rgba(25, 19, 15, 0.99));
  border-color: #b28b50;
  box-shadow: inset 0 0 0 0.2rem rgba(18, 13, 9, 0.85), inset 0 0.15rem 0.3rem rgba(255, 224, 170, 0.16), 0 0 0 0.1rem rgba(210, 165, 91, 0.18), 0 0.8rem 2.4rem rgba(0, 0, 0, 0.5), 0 0 1.6rem rgba(184, 133, 66, 0.14);
}
.cover-button:hover::after {
  opacity: 1;
}
.cover-button:focus-visible {
  outline: 0.2rem solid #e0bd7d;
  outline-offset: 0.4rem;
}
.cover-button__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 3.6rem;
  height: 3.6rem;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0.2rem 0.2rem rgba(0, 0, 0, 0.75)) drop-shadow(0 0 0.4rem rgba(205, 157, 83, 0.18));
}
.cover-button__text {
  position: relative;
  z-index: 1;
}
.cover-button {
  width: 17rem;
  min-height: 5.8rem;
  padding: 0.9rem 1.4rem;
  font-size: 1.7rem;
  max-width: 17rem;
  text-transform: uppercase;
}
.cover-button__icon {
  width: 3rem;
  height: 3rem;
}

.cover-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e7d4b8;
  font-size: 1.6rem;
  font-weight: 700;
}
.cover-secondary-link:hover {
  color: #fff5e5;
}

.home-periods {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 155, 83, 0.12), transparent 34%), #11100e;
}

/* ==================================================
   ANIMACIONES
================================================== */
@keyframes cover-drift {
  from {
    transform: translate3d(-0.5%, -0.5%, 0);
  }
  to {
    transform: translate3d(0.6%, 0.8%, 0);
  }
}
/* ==================================================
   TABLET APAISADA
================================================== */
@media (max-width: 1024px) {
  .cover__content {
    width: min(100% - 4rem, 68%);
    padding: 0 0 0 18rem;
  }
  .cover__content::before {
    width: 20rem;
  }
  .cover h1 {
    font-size: clamp(3rem, 4vw, 4rem);
  }
  .cover__lead {
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    line-height: 1.5;
  }
}
/* ==================================================
   TABLET
================================================== */
@media (max-width: 768px) {
  .cover-header__inner {
    width: min(100% - 3rem, 118rem);
  }
  .cover__content {
    margin-top: 2rem;
    padding: 1.3rem;
    width: min(100% - 4rem, 50rem);
  }
  .cover__content::before {
    content: none;
  }
  .cover__background {
    background-position: 40% center;
  }
  .cover__veil {
    background: linear-gradient(90deg, rgba(5, 8, 11, 0.44), rgba(5, 8, 11, 0.78)), linear-gradient(180deg, rgba(5, 8, 11, 0.68), transparent 34%, rgba(5, 8, 11, 0.72));
  }
}
/* ==================================================
   MÓVIL
================================================== */
@media (max-width: 560px) {
  .cover-header__inner {
    width: calc(100% - 2rem);
  }
  .cover {
    align-items: end;
  }
  .cover__content {
    margin-top: 0;
    margin-bottom: 4.6rem;
    padding-bottom: 1rem;
  }
  .cover__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .cover__scroll {
    display: none;
  }
  .cover-button {
    width: 100%;
  }
}
/* ==================================================
   MÓVIL
================================================== */
@media (max-width: 390px) {
  .cover-header__inner {
    min-height: 6rem;
  }
  .cover h1 {
    font-size: clamp(2rem, 3vw, 2rem);
  }
}
/* ==================================================
   MOVIMIENTO REDUCIDO
================================================== */
@media (prefers-reduced-motion: reduce) {
  .cover__particles {
    animation: none;
  }
  .cover-menu-toggle,
  .cover-menu-toggle__icon span,
  .cover-navigation__link,
  .cover-button {
    transition: none;
  }
}

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