/* by osmy — Hero / Semana con Propósito. Requiere tokens.css. */

body.os-site .os-hero {
  padding-block: clamp(3rem, 5vw, 5.5rem);
  overflow: hidden;
  background: var(--os-paper);
}

body.os-site .os-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(var(--os-space-6), 4vw, var(--os-space-8));
}

body.os-site .os-hero__copy { min-width: 0; }

body.os-site .os-hero__product-name {
  margin: 0 0 var(--os-space-2);
  padding: 0;
  color: var(--os-ink);
  font-size: var(--os-type-small);
  font-weight: var(--os-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.os-site .os-hero h1 {
  max-width: 17ch;
  margin-bottom: var(--os-space-5);
}

body.os-site .os-hero h1 em {
  font-weight: var(--os-weight-regular);
  font-style: italic;
}

body.os-site .os-hero .os-lead {
  max-width: 48ch;
  margin: 0;
  padding: 0;
}

body.os-site .os-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--os-space-3);
  margin-top: var(--os-space-6);
}

body.os-site .os-hero__note {
  margin: var(--os-space-5) 0 0;
  padding: 0;
  color: var(--os-color-text-muted);
  font-size: var(--os-type-small);
  line-height: 1.5;
}

/* Maqueta editorial del workbook; se sustituye por imágenes definitivas. */
body.os-site .os-hero__visual {
  position: relative;
  width: min(100%, 35rem);
  min-height: 34rem;
  margin-inline: auto;
  isolation: isolate;
}

body.os-site .os-hero__sheet {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 64%;
  aspect-ratio: 148 / 210;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--os-color-border);
  border-radius: var(--os-radius-sm);
  background: var(--os-paper);
  box-shadow: 0 1.6rem 3.6rem -1.5rem rgb(29 26 24 / 24%);
  transform-origin: center;
}

body.os-site .os-hero__sheet--back {
  top: 4%;
  right: 0;
  z-index: 1;
  background: var(--os-cream);
  transform: rotate(7deg);
}

body.os-site .os-hero__sheet--middle {
  bottom: 0;
  left: 21%;
  z-index: 2;
  background: var(--os-paper-2);
  transform: rotate(-4deg);
}

body.os-site .os-hero__sheet--cover {
  top: 6%;
  left: 0;
  z-index: 3;
  justify-content: space-between;
  background: var(--os-paper);
  transform: rotate(-7deg);
}

body.os-site .os-hero__sheet-label {
  display: block;
  padding-bottom: var(--os-space-3);
  border-bottom: 1px solid var(--os-color-border);
  color: var(--os-wine);
  font-size: var(--os-type-eyebrow);
  font-weight: var(--os-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.os-site .os-hero__sheet-lines {
  display: block;
  width: 100%;
  height: 3.25rem;
  margin-top: var(--os-space-7);
  border-top: 1px solid var(--os-color-border);
  border-bottom: 1px solid var(--os-color-border);
}

body.os-site .os-hero__sheet-lines--short {
  width: 70%;
  margin-top: var(--os-space-6);
}

body.os-site .os-hero__sheet-rule {
  display: block;
  width: 38%;
  height: 1px;
  margin-top: var(--os-space-8);
  background: var(--os-wine);
}

body.os-site .os-hero__cover-brand {
  color: var(--os-wine);
  font-family: var(--os-font-display);
  font-size: clamp(1rem, 1vw + 0.5rem, 1.3rem);
  line-height: 1;
}

body.os-site .os-hero__cover-brand span {
  font-family: var(--os-font-body);
  font-size: 0.55em;
  font-weight: var(--os-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.os-site .os-hero__cover-title {
  color: var(--os-wine);
  font-family: var(--os-font-display);
  font-size: clamp(2rem, 2.2vw + 0.6rem, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

body.os-site .os-hero__cover-title i { font-weight: var(--os-weight-regular); }

body.os-site .os-hero__cover-footer {
  max-width: 25ch;
  color: var(--os-color-text-secondary);
  font-size: var(--os-type-small);
  line-height: 1.4;
}

body.os-site .os-hero__cover-edition {
  color: var(--os-wine);
  font-size: 0.65rem;
  font-weight: var(--os-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  body.os-site .os-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--os-space-7);
  }

  body.os-site .os-hero h1 { max-width: 19ch; }
  body.os-site .os-hero__visual { width: min(100%, 30rem); min-height: 32rem; }
}

@media (max-width: 640px) {
  body.os-site .os-hero { padding-block: var(--os-space-7) var(--os-space-8); }
  body.os-site .os-hero__inner { gap: var(--os-space-6); }
  body.os-site .os-hero h1 { max-width: 16ch; }
  body.os-site .os-hero__actions { gap: var(--os-space-2); }
  body.os-site .os-hero__visual { min-height: 23rem; }
  body.os-site .os-hero__sheet { padding: var(--os-space-4); }
  body.os-site .os-hero__cover-title { font-size: clamp(1.65rem, 6vw, 2.4rem); }
  body.os-site .os-hero__cover-footer { font-size: 0.75rem; }
}
