:root {
  color-scheme: dark;
  --bg: #03050a;
  --bg-soft: #07111e;
  --panel: rgba(7, 17, 30, 0.78);
  --line: rgba(198, 224, 243, 0.18);
  --text: #f5f7fb;
  --muted: #a8b7c9;
  --silver: #d8e6f4;
  --blue: #bb79ff;
  --blue-deep: #2d143c;
  --gold: #d09a58;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(32, 95, 145, 0.28), transparent 32rem),
    linear-gradient(180deg, #03050a 0%, #07111e 54%, #020409 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(127, 199, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 199, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(208, 154, 88, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(208, 154, 88, 0.18);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 7.5rem clamp(1rem, 5vw, 5rem) 4rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.88), rgba(3, 5, 10, 0.54)),
    url("./assets/ciudad-visible.jpg") center / cover no-repeat;
  opacity: 0.74;
  transform: scale(1.02);
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}

.hero-content {
  display: grid;
  max-width: 1180px;
  min-height: calc(100vh - 11rem);
  align-items: center;
  margin: 0 auto;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 410px);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow,
.section-kicker,
.availability,
.part {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.02;
}

h1 {
  max-width: 800px;
  margin-bottom: 0.65rem;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  margin-bottom: 0.75rem;
  color: var(--silver);
  font-size: 1.1rem;
}

.part {
  margin-bottom: 1.5rem;
  color: var(--silver);
}

.lead {
  max-width: 660px;
  color: #dce7f3;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(216, 230, 244, 0.34);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.primary {
  border-color: rgba(208, 154, 88, 0.9);
  background: linear-gradient(135deg, #f3d7a4, #c4773f);
  color: #120805;
}

.secondary {
  background: rgba(216, 230, 244, 0.06);
  color: var(--text);
}

.availability {
  margin-top: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.book-figure {
  margin: 0;
}

.book-figure img {
  display: block;
  width: min(100%, 390px);
  height: auto;
  margin-left: auto;
  border: 1px solid rgba(216, 230, 244, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
}

.copy-block {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.copy-block p + p {
  margin-top: 1.25rem;
}

.intro-media {
  margin: 2rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(216, 230, 244, 0.18);
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.intro-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.universe h2 {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-media {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: #020409;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-grid article:nth-child(2) .feature-media img {
  object-position: center 28%;
}

.feature-grid article:nth-child(3) .feature-media img {
  object-position: center 34%;
}

.feature-body {
  padding: 1.25rem;
}

.feature-grid span {
  display: block;
  margin-bottom: 1.5rem;
  color: #c4773f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.feature-grid p,
.callout p {
  color: var(--muted);
  line-height: 1.75;
}

.callout {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(208, 154, 88, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 30, 0.9), rgba(8, 28, 48, 0.72)),
    radial-gradient(circle at 80% 10%, rgba(208, 154, 88, 0.2), transparent 28rem);
}

.callout h2 {
  margin-bottom: 1rem;
}

.muted {
  margin-bottom: 0;
  color: #8da1b6;
}

.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.contact h2 {
  max-width: 760px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0;
}

footer a {
  color: var(--silver);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    max-width: 250px;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero-content,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .book-figure img {
    width: min(78vw, 340px);
    margin: 0;
  }

  .intro-media {
    max-width: 520px;
  }

  .contact {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: block;
  }

  .brand {
    margin-bottom: 0.85rem;
  }

  .nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .feature-media {
    aspect-ratio: 4 / 3;
  }

  .actions .button,
  .contact-actions .button {
    width: 100%;
  }
}
