/* Golden Group — Landing V1
   Mobile-first. Negro carbón + dorado sutil, mucho aire. */

:root {
  --bg: #0D0D0D;
  --bg-alt: #121211;
  --surface: #161614;
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.28);
  --gold-faint: rgba(212, 175, 55, 0.14);
  --text: #F4F0E6;
  --muted: #B9B5AB;
  --dim: #8F8B82;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 1.5rem;
  --section: clamp(4.5rem, 12vw, 9rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 8.6vw, 4.5rem); line-height: 1.06; }
h2 { font-size: clamp(1.95rem, 6.2vw, 3.25rem); line-height: 1.12; }

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

.container {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow { max-width: 44rem; }
.container.narrow { max-width: calc(44rem + 2 * var(--gutter)); }

/* ---------- Piezas compartidas ---------- */

.logo {
  width: auto;
  height: 3rem;
  align-self: flex-start;
  flex: none;
}
.site-footer .logo { height: 2.5rem; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.rule {
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin: 1.75rem 0;
}

.micro {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.micro span { color: var(--gold); margin: 0 0.2em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-wrap: balance;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-gold { background: var(--gold); color: #0D0D0D; }
.btn-gold:hover { background: #E2C25A; border-color: #E2C25A; transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--gold); border-color: var(--gold-soft); }
.btn-line:hover { border-color: var(--gold); background: var(--gold-faint); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- 1 · Hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
  filter: saturate(0.6);
}

/* Degradado negro: la foto se ve arriba, el texto se lee abajo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(13, 13, 13, 0.72) 0%,
      rgba(13, 13, 13, 0.48) 22%,
      rgba(13, 13, 13, 0.72) 48%,
      rgba(13, 13, 13, 0.94) 72%,
      #0D0D0D 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 1.75rem;
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
}

.hero-copy { max-width: 46rem; }

.hero .lead {
  margin: 1.5rem 0 2.25rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  color: var(--text);
  opacity: 0.88;
}

.hero .btn { width: 100%; }
.hero .micro { margin-top: 1.5rem; }

/* ---------- Secciones ---------- */

.section { padding: var(--section) 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
}

.section p + p { margin-top: 1.15rem; }

.photo {
  position: relative;
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
  border: 1px solid var(--gold-soft);
  background: var(--surface);
}
.photo img { width: 100%; filter: saturate(0.85); }

/* ---------- 3 · Desayunos: cuatro elementos ---------- */

.pillars {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
}
.pillars li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--gold-soft);
}
.pillars .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.pillars h3, .card h3 {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--text);
}
.pillars h3 {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pillars p { font-size: 1rem; }

/* ---------- 4 · Especialidad ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(1.5rem, 5vw, 3rem);
}
.card {
  position: relative;
  padding: 2.25rem 1.75rem 2.5rem;
  background: linear-gradient(160deg, #191917 0%, #111110 100%);
  border: 1px solid var(--gold-soft);
  border-radius: 2px;
}
.card::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: -1px;
  width: 3rem;
  height: 2px;
  background: var(--gold);
}
.card-tag {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.card h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.card p + p { margin-top: 0; }

.statement {
  margin-top: clamp(3.5rem, 10vw, 6.5rem);
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--gold);
}
.statement p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 5.6vw, 2.75rem);
  line-height: 1.2;
  color: var(--text);
  text-wrap: balance;
}

/* ---------- 5 · Comunidad ---------- */

.split { display: grid; gap: clamp(2.5rem, 7vw, 4rem); }
.split .photo { margin-top: 0; }

/* ---------- 6 · CTA final ---------- */

.final { text-align: left; }
.actions {
  display: grid;
  gap: 0.9rem;
  margin: 2.75rem 0 1.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--gold-faint);
}
.site-footer .legal {
  max-width: 46rem;
  margin: 1.5rem 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--dim);
}
.site-footer .copy { font-size: 0.8125rem; color: var(--dim); }

/* ---------- Animaciones suaves al hacer scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .pillars li:nth-child(2), .js .cards .card:nth-child(2) { transition-delay: 0.08s; }
.js .pillars li:nth-child(3) { transition-delay: 0.16s; }
.js .pillars li:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- Teléfonos angostos ---------- */

@media (max-width: 22.4rem) {
  .micro { font-size: 0.6875rem; letter-spacing: 0.08em; }
}

/* ---------- Tablet ---------- */

@media (min-width: 40rem) {
  :root { --gutter: 2rem; }
  .hero .btn { width: auto; }
  .btn { padding: 0.9rem 2rem; letter-spacing: 0.16em; }
  .micro { letter-spacing: 0.24em; }
  .micro span { margin: 0 0.35em; }
  .pillars { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .cards { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .card { padding: 2.75rem 2.25rem 3rem; }
  .card::before { left: 2.25rem; }
}

/* ---------- Escritorio ---------- */

@media (min-width: 48rem) {
  .hero-media img { object-position: center 35%; }
  .hero::after {
    background:
      linear-gradient(to right, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.62) 45%, rgba(13, 13, 13, 0.3) 100%),
      linear-gradient(to bottom, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0) 30%, rgba(13, 13, 13, 0.6) 75%, #0D0D0D 100%);
  }
  .hero-inner { padding-top: 2.5rem; }
  .hero .logo { height: 3.75rem; }
}

@media (min-width: 60rem) {
  :root { --gutter: 3rem; }
  body { font-size: 1.125rem; }
  .pillars { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .final { text-align: center; }
  .final .actions { grid-template-columns: repeat(2, auto); justify-content: center; }
  .final .container { max-width: 58rem; }
}
