@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/fonts/inter-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("./assets/fonts/inter-latin-900-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}

:root {
  --cream: #f7f4ef;
  --petrol: #15363d;
  --petrol-soft: #23484f;
  --gold: #c2a46d;
  --gold-light: #dcc797;
  --gold-ink: #80683d;
  --ink: #17343a;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--petrol);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100%, 90rem);
  margin: 0 auto;
  padding: 1.7rem var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-block;
  color: var(--petrol);
  line-height: 1;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0;
  color: var(--petrol);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-main {
  width: min(100%, 90rem);
  min-height: calc(100vh - 12rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7.5rem) var(--page-padding) 5rem;
}

.home-hero {
  max-width: 56rem;
}

.eyebrow,
.section-label {
  margin: 0 0 1.25rem;
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 0.6rem;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

.home-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(3.3rem, 8.6vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.intro {
  max-width: 37rem;
  margin: clamp(1.8rem, 4vw, 3rem) 0 0;
  color: #496067;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.featured-guide {
  position: relative;
  max-width: 67rem;
  min-height: 23rem;
  margin: clamp(4rem, 9vw, 8rem) 0 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(8rem, 0.55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
  background: var(--petrol);
  color: var(--cream);
}

.guide-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.guide-content {
  position: relative;
  z-index: 1;
}

.guide-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.guide-content .section-label {
  color: var(--gold-light);
}

.guide-content h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.guide-content > p:not(.section-label) {
  max-width: 30rem;
  margin: 1.8rem 0;
  color: #dce4e2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0 0.45rem;
  border-bottom: 1px solid var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 1.4rem;
  color: var(--gold-light);
}

.guide-mark {
  position: relative;
  min-height: 14rem;
  display: grid;
  place-items: center;
}

.guide-mark::before,
.guide-mark::after {
  position: absolute;
  border: 1px solid rgba(194, 164, 109, 0.55);
  border-radius: 50%;
  content: "";
}

.guide-mark::before {
  width: 15rem;
  height: 15rem;
}

.guide-mark::after {
  width: 9rem;
  height: 9rem;
}

.guide-mark span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 7rem;
  font-style: italic;
  line-height: 1;
}

.guide-mark i {
  position: absolute;
  width: 22rem;
  height: 1px;
  rotate: -42deg;
  background: rgba(194, 164, 109, 0.6);
}

.site-footer {
  width: min(100%, 90rem);
  margin: 0 auto;
  padding: 1.6rem var(--page-padding) 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(21, 54, 61, 0.15);
  color: #617277;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-star {
  color: var(--gold);
}

/* Página de la guía */
.guide-page {
  background: var(--petrol);
  color: var(--cream);
}

.guide-header {
  position: relative;
  z-index: 10;
}

.brand-light,
.nav-link-light {
  color: var(--cream);
}

.download-hero {
  width: min(100%, 90rem);
  min-height: calc(100vh - 5.8rem);
  margin: 0 auto;
  padding: clamp(2.8rem, 7vw, 6.8rem) var(--page-padding) clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow-light {
  color: var(--gold-light);
}

.hero-copy h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 7.4vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.87;
}

.hero-copy h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.guide-intro {
  max-width: 38rem;
  margin: clamp(1.8rem, 3vw, 2.7rem) 0 2rem;
  color: #dce4e2;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.button-primary {
  width: fit-content;
  min-height: 3.75rem;
  padding: 0.75rem 0.85rem 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--gold);
  color: #102c32;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.button-primary:focus-visible {
  outline-color: var(--white);
}

.button-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 54, 61, 0.45);
  font-size: 1.15rem;
}

.format-note {
  margin: 0.9rem 0 0;
  color: #b7c4c3;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-art {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 1;
  justify-self: center;
}

.editorial-art::before,
.editorial-art::after {
  position: absolute;
  content: "";
}

.editorial-art::before {
  inset: 9%;
  border: 1px solid rgba(194, 164, 109, 0.55);
  rotate: 45deg;
}

.editorial-art::after {
  top: 50%;
  right: -5%;
  left: -5%;
  height: 1px;
  background: rgba(194, 164, 109, 0.45);
  rotate: -38deg;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(194, 164, 109, 0.55);
  border-radius: 50%;
}

.orbit-large {
  inset: 0;
}

.orbit-small {
  inset: 24%;
}

.art-letter {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 15rem);
  font-style: italic;
  line-height: 1;
}

.art-star {
  position: absolute;
  z-index: 2;
  color: var(--gold-light);
}

.star-one {
  top: 7%;
  right: 11%;
  font-size: 1.5rem;
}

.star-two {
  bottom: 14%;
  left: 4%;
  font-size: 0.85rem;
}

.art-caption {
  position: absolute;
  right: 3%;
  bottom: 12%;
  z-index: 3;
  padding: 0.4rem;
  background: var(--petrol);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-align: center;
}

.art-caption span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.guide-detail {
  padding: clamp(4rem, 9vw, 8rem) var(--page-padding);
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

.guide-detail h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.guide-detail > p:not(.section-label) {
  max-width: 35rem;
  margin: 1.5rem auto 2rem;
  color: #53686d;
}

.guide-footer {
  border-top-color: rgba(247, 244, 239, 0.16);
  color: #c9d2d0;
}

.guide-footer a {
  color: var(--cream);
  text-decoration: none;
}

@media (max-width: 48rem) {
  .site-header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .nav-link {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .home-main {
    padding-top: 3.5rem;
  }

  .featured-guide {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .guide-mark {
    position: absolute;
    right: -4rem;
    bottom: -5rem;
    width: 14rem;
    opacity: 0.38;
  }

  .download-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14.5vw, 5rem);
  }

  .editorial-art {
    width: min(82vw, 25rem);
  }
}

@media (max-width: 30rem) {
  .site-header {
    align-items: flex-start;
  }

  .nav-link {
    display: inline-block;
    max-width: 9rem;
    line-height: 1.35;
    text-align: right;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .featured-guide {
    padding: 2rem 1.4rem 3rem;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .guide-number {
    margin-bottom: 0.5rem;
  }

  .guide-content h2 {
    font-size: 3rem;
  }

  .button-primary {
    width: 100%;
    justify-content: space-between;
    padding-left: 1rem;
    gap: 0.8rem;
    letter-spacing: 0.065em;
  }

  .site-footer {
    gap: 1.2rem;
    line-height: 1.4;
  }

  .guide-footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
