/* portada.css — Portada: hero, manifiesto, secciones y contacto. */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background:
    radial-gradient(circle at 28% 40%, #24201a 0, transparent 34%), var(--ink);
}
.hero-art {
  display: grid;
  place-items: center;
  min-height: 70vh;
  background:
    linear-gradient(90deg, rgba(13, 15, 15, 0.15), rgba(13, 15, 15, 0.88)),
    var(--hero, none) center/cover no-repeat;
}
.sigil {
  display: grid;
  place-items: center;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 100 28vw/1 var(--serif);
  color: rgba(170, 133, 39, 0.32);
  box-shadow: 0 0 110px rgba(170, 133, 39, 0.08);
  animation: breathe 7s ease-in-out infinite;
}
.hero-copy {
  align-self: center;
  padding: clamp(2rem, 7vw, 8rem);
}
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 7rem);
  margin: 0.6rem 0 1.5rem;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--muted);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 2rem;
}
.section-heading .eyebrow {
  grid-column: 1/-1;
}
.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  margin: 0;
}
.manifesto {
  padding: clamp(5rem, 12vw, 12rem) max(1rem, calc((100vw - 1050px) / 2));
  text-align: center;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.manifesto blockquote {
  font-size: clamp(2.2rem, 5vw, 5rem);
  margin: 1rem 0 2rem;
}
.manifesto > p:last-child {
  max-width: 54rem;
  margin: auto;
  color: var(--muted);
}
@keyframes breathe {
  50% {
    transform: scale(1.025);
    opacity: 0.75;
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 48vh;
  }
  .hero-copy {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
  .sigil {
    font-size: 45vw;
  }
}
@media (max-width: 520px) {
  .section-heading {
    display: block;
  }
}
.literal-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(166, 146, 125, 0.28);
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 9, 0.12),
      rgba(8, 9, 9, 0.42) 64%,
      rgba(8, 9, 9, 0.82)
    ),
    radial-gradient(
      circle at 50% 36%,
      rgba(8, 9, 9, 0.02),
      rgba(8, 9, 9, 0.34) 58%,
      rgba(8, 9, 9, 0.78)
    ),
    url("../original/fondos/Fondo%20bajo.png") center 34% / min(118vw, 6688px)
      auto no-repeat,
    linear-gradient(180deg, rgba(8, 9, 9, 0.08), rgba(8, 9, 9, 0.82));
}
.literal-hero .hero-grid {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.literal-hero .hero-copy {
  align-self: auto;
  padding: 0;
}
.literal-hero h1 {
  background: url("../original/logos/LOGOTIPO-BLANCO.png") center/100% auto
    no-repeat;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.94))
    drop-shadow(0 0 34px rgba(166, 146, 125, 0.18));
}
.literal-hero .phrase {
  max-width: 780px;
  margin: 22px auto 8px;
  color: var(--gold);
  font: 400 clamp(1.35rem, 2.8vw, 2.3rem)/1.18 var(--serif);
}
.literal-hero .subtitle {
  max-width: 620px;
  margin: 0 auto 34px;
  color: rgba(216, 201, 183, 0.78);
  letter-spacing: 0.04em;
}
.literal-hero .brand-mark {
  order: -1;
  display: grid;
  place-items: center;
  margin-top: 8px;
}
.literal-hero .sigil {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: initial;
}
.sigil-core {
  width: 138px;
  height: 138px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(166, 146, 125, 0.2));
}
@media (max-width: 850px) {
  .literal-hero {
    padding-top: 96px;
  }
  .literal-hero .brand-mark {
    min-height: 240px;
  }
  .literal-hero h1 {
    width: min(92vw, 760px);
  }
}
.literal-hero .sigil {
  position: relative;
}
.literal-hero .sigil:before,
.literal-hero .sigil:after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(216, 201, 183, 0.12);
}
.literal-hero .sigil:before {
  transform: rotate(45deg);
}
.literal-hero .sigil:after {
  border-radius: 50%;
  transform: scaleX(1.46) rotate(-13deg);
  border-color: rgba(166, 146, 125, 0.5);
}
.glyph-ring {
  position: absolute;
  inset: 0;
}
.glyph-ring img {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(166, 146, 125, 0.36);
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.86;
  filter: sepia(0.48) saturate(0.82) contrast(1.05);
}
.glyph-ring img:nth-child(1) {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}
.glyph-ring img:nth-child(2) {
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}
.glyph-ring img:nth-child(3) {
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}
.glyph-ring img:nth-child(4) {
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
}
.sigil-core {
  position: relative;
  z-index: 1;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font: 400 clamp(1.8rem, 4vw, 3.1rem)/1.08 var(--serif);
}
.section-title:before {
  content: "";
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: url("../original/logos-web/ISOTIPO-BLANCO.webp") center/76% auto
    no-repeat;
  box-shadow: 0 0 34px rgba(166, 146, 125, 0.16);
}
.home main {
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 9, 0.86),
      rgba(8, 9, 9, 0.58) 18%,
      rgba(8, 9, 9, 0.74) 72%,
      rgba(8, 9, 9, 0.92)
    ),
    radial-gradient(
      circle at 50% 18%,
      rgba(11, 48, 46, 0.22),
      transparent 34rem
    ),
    url("../original/fondos/fondo%20medio.webp") center top/min(100vw, 3200px)
      repeat-y,
    linear-gradient(180deg, #080909, #071211);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .sound-toggle,
  .sound-pulse,
  .cart-drawer,
  .cart-drawer-panel,
  .reveal-on-scroll {
    animation: none !important;
    transition: none !important;
  }
}
#filosofia {
  padding: 80px 24px;
  max-width: 1080px;
  margin: auto;
  text-align: center;
  font-size: 28px;
  line-height: 1.7;
}
#contacto {
  padding: 56px 24px;
  max-width: 1180px;
  margin: auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-item {
  border-top: 1px solid #a6927d66;
  padding: 20px 0;
}
.literal-hero h1 {
  max-width: 100%;
}
.literal-hero .phrase {
  letter-spacing: 0;
}
.literal-hero .glyph-ring {
  animation: publication-orbit 45s linear infinite;
}
@keyframes publication-orbit {
  to {
    rotate: 360deg;
  }
}
@media (max-width: 700px) {
  .literal-hero .phrase {
    font-size: 23px;
  }
  #filosofia {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .literal-hero .glyph-ring {
    animation: none;
  }
}
.home :is(h2, h3, h4) {
  text-wrap: balance;
}
.literal-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: min(1000px, 96svh);
  padding: 116px 24px 68px;
}
.literal-hero .hero-grid {
  width: min(1180px, 100%);
  min-width: 0;
  gap: 24px;
  margin-inline: auto;
}
.literal-hero .hero-copy {
  width: 100%;
  min-width: 0;
  justify-self: center;
  text-align: center;
}
.literal-hero .brand-mark {
  min-height: 0;
  margin: 0;
  justify-self: center;
}
.literal-hero .sigil {
  width: 260px;
  max-width: 65vw;
  background: rgba(8, 12, 11, 0.38);
  box-shadow: 0 0 45px #b69c7520;
}
.literal-hero h1 {
  width: min(1080px, 100%);
  height: auto;
  aspect-ratio: 6/1;
  margin: 10px auto 24px;
}
.literal-hero .hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
  color: var(--ivory);
}
.literal-hero .phrase {
  font-size: 30px;
  line-height: 1.45;
  text-wrap: balance;
  margin-block: 18px 12px;
}
.literal-hero .subtitle {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.literal-hero .eyebrow {
  font-size: 12px;
  color: var(--gold);
  margin: 0 auto 12px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .button {
  min-width: 172px;
}
.home .manifesto {
  background: rgba(8, 14, 13, 0.6);
}
.home .manifesto blockquote {
  font-size: 40px;
  line-height: 1.4;
  max-width: 900px;
  margin: 20px auto;
}
.home .manifesto h2,
.home .newsletter h2 {
  font-size: 34px;
  line-height: 1.4;
}
@media (max-width: 1000px) {
  .literal-hero {
    min-height: 0;
    padding-top: 120px;
  }
  .literal-hero .sigil {
    width: 230px;
  }
}
@media (max-width: 850px) {
  .literal-hero {
    padding: 130px 20px 52px;
  }
  .literal-hero .phrase {
    font-size: 25px;
  }
}
@media (max-width: 600px) {
  .literal-hero .sigil {
    width: 195px;
  }
  .literal-hero .hero-grid {
    gap: 26px;
  }
  .literal-hero h1 {
    aspect-ratio: 5.5/1;
    margin-block: 18px 22px;
  }
  .literal-hero .phrase {
    font-size: 23px;
  }
  .literal-hero .subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(340px, 100%);
    margin: auto;
    gap: 10px;
  }
  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }
  .section-title {
    font-size: 30px;
    line-height: 1.3;
  }
  .home .manifesto blockquote {
    font-size: 28px;
  }
  .home .manifesto h2,
  .home .newsletter h2 {
    font-size: 28px;
  }
}

/* Héroe con el texto nuevo (propuesta A, 2026-11-11): subtítulo más angosto, una frase por línea.
   Los dos botones mantienen el estilo con borde (el relleno dorado se probó y se descartó). */
.literal-hero .hero-copy > p.subtitle {
  max-width: 34rem;
  text-wrap: balance;
}
.literal-hero .subtitle-linea {
  display: block;
}
