.home-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background: var(--zero);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgb(182 154 97 / 18%) 50%, transparent 50.1%),
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 100% 100%, 100% 6rem;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.home-hero__grid {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.home-hero__copy h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 580;
  letter-spacing: -0.03em;
}

.hero-word {
  white-space: nowrap;
}

.brand-comma {
  position: relative;
  color: var(--gold);
  font-weight: 800;
}

.brand-comma::after {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.1em;
  top: 52%;
  height: 0.085em;
  background: var(--foil-hi);
  rotate: -22deg;
  transform-origin: left center;
  scale: 1 1;
}

.hero-foil {
  background-image: linear-gradient(
    118deg,
    var(--foil-lo) 0%,
    var(--foil-hi) 32%,
    var(--gold) 50%,
    var(--gold-ink) 72%,
    var(--foil-hi) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-foil {
    color: var(--gold);
    background-image: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-comma::after {
    scale: 0 1;
    animation: zero-the-comma 0.7s 0.45s var(--ease-out) forwards;
  }
}

@keyframes zero-the-comma {
  from { scale: 0 1; }
  to { scale: 1 1; }
}

.home-hero .lead {
  max-width: 48ch;
  color: var(--dark-muted);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.button--quiet {
  color: var(--white);
  background: transparent;
  border-color: var(--dark-border);
}

.button--quiet:hover {
  color: var(--zero);
  background: var(--gold);
  border-color: var(--gold);
}

.hero-ody {
  position: relative;
  width: min(100%, 32rem);
  margin: 0;
  justify-self: end;
}

.hero-ody__frame {
  position: relative;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--dark-border);
  border-radius: 50% 50% var(--radius-md) var(--radius-md);
}

.hero-ody__frame::after {
  position: absolute;
  inset: auto 12% 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-ody img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
}

.hero-ody figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
  color: var(--dark-muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.hero-ody figcaption span {
  color: var(--gold);
  font-weight: 760;
  letter-spacing: 0.14em;
}

.work-section {
  padding-block: clamp(5rem, 11vw, 10rem);
  background: var(--ivory);
}

.work-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr) minmax(18rem, 0.5fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.work-section__intro .eyebrow,
.work-section__intro h2,
.work-section__intro .lead {
  margin-bottom: 0;
}

.work-section__intro h2 {
  max-width: 15ch;
}

.work-story {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.ody-stage {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  margin: 0;
}

.ody-stage__window {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--zero);
  border-radius: var(--radius-md);
}

.ody-stage__window::after {
  position: absolute;
  inset: 3.25rem 1.5rem 1.5rem;
  content: "";
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: calc(var(--radius-md) - 0.2rem);
}

.ody-stage__signal {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  right: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgb(182 154 97 / 14%);
}

.ody-stage__label {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1.25rem;
  color: var(--dark-muted);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ody-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #000;
  transition: opacity var(--motion-short) ease, transform var(--motion-short) var(--ease-out);
}

.ody-stage img.is-changing {
  opacity: 0.25;
  transform: scale(0.98);
}

.ody-stage figcaption {
  margin-top: var(--space-4);
  color: var(--gold-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.ody-stage__route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.ody-stage__route span {
  height: 2px;
  background: var(--light-border);
  transition: background-color var(--motion-short) ease;
}

.ody-stage__route span.is-active {
  background: var(--gold-ink);
}

.work-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--light-border);
}

.work-step {
  min-height: min(62vh, 34rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--light-border);
  opacity: 1;
  transition: border-color var(--motion-short) var(--ease-out);
}

.work-step.is-active {
  border-bottom-color: var(--gold-ink);
}

.work-step > span {
  display: block;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  color: var(--gold-ink);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-step h3 {
  max-width: 17ch;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 590;
}

.work-step p {
  max-width: 48ch;
  margin: 0;
  color: var(--light-muted);
  font-size: 1.04rem;
}

.faena-section {
  padding-block: clamp(5rem, 11vw, 10rem);
  background: var(--white);
}

.faena-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.faena-section__head h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.faena-section__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--light-border);
}

.faena-section__summary p {
  color: var(--light-muted);
}

.faena-section .demo-frame {
  min-height: 34rem;
  padding: clamp(1rem, 4vw, 2.75rem);
  background: var(--ivory);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2rem 5rem rgb(13 14 15 / 9%);
}

.contact-section {
  padding-block: clamp(5rem, 11vw, 10rem);
  overflow: hidden;
  color: var(--white);
  background: var(--zero);
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.62fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.contact-section h2 {
  max-width: 11ch;
}

.contact-section .lead,
.contact-section [data-contact-state] {
  color: var(--dark-muted);
}

.contact-ody {
  margin: 0;
}

.contact-ody img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #000;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
}

.contact-ody figcaption {
  margin-top: var(--space-4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 62rem) {
  .work-section__intro {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.55fr);
  }

  .work-section__intro .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48rem) {
  .home-hero__grid,
  .work-story,
  .faena-section__head,
  .contact-section__grid,
  .work-section__intro {
    grid-template-columns: 1fr;
  }

  .home-hero__grid {
    padding-block: 3.5rem 5rem;
  }

  .home-hero__copy h1 {
    font-size: clamp(2.2rem, 9.5vw, 3.4rem);
  }

  .hero-ody {
    width: min(100%, 25rem);
    justify-self: center;
  }

  .work-section__intro .eyebrow {
    grid-column: auto;
  }

  .ody-stage {
    position: relative;
    z-index: 2;
    top: auto;
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-3);
    background: var(--ivory);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
  }

  .ody-stage__window {
    grid-row: 1 / 3;
    height: auto;
    aspect-ratio: 1;
    align-self: center;
  }

  .ody-stage__window::after,
  .ody-stage__label,
  .ody-stage__signal {
    display: none;
  }

  .ody-stage figcaption,
  .ody-stage__route {
    margin: 0;
  }

  .work-step {
    min-height: 0;
  }
}

@media (max-width: 35rem) {
  .home-hero__actions,
  .contact-links {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__actions .button,
  .contact-links .button {
    width: 100%;
  }

  .ody-stage {
    grid-template-columns: 5.5rem 1fr;
  }

  .work-step > span {
    margin-bottom: var(--space-12);
  }
}

@media (prefers-contrast: more), (forced-colors: active) {
  .work-step {
    opacity: 1;
  }
}

@media print {
  .home-hero,
  .contact-section {
    color: var(--zero);
    background: var(--white);
  }

  .ody-stage {
    position: static;
  }
}

/* Empresa: panel hero sin ODY + productos */
.home-hero__panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--dark-border);
  border-radius: 1.25rem;
  background: var(--dark-raised);
}

.home-hero__panel-label {
  margin: 0 0 var(--space-3);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero__panel-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--dark-muted);
  display: grid;
  gap: var(--space-2);
}

.products-section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  background: var(--ivory);
  color: var(--zero);
}

.products-section__head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.products-section .lead {
  color: var(--light-muted);
}

.products-stack {
  display: grid;
  gap: var(--space-6);
}

.product-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--light-border);
  border-radius: 1.5rem;
  background: var(--white);
}

.product-card__copy h3 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.product-card__copy p {
  color: var(--light-muted);
  margin-bottom: 1.25rem;
}

.product-card__visual {
  display: flex;
  justify-content: center;
}

.product-card__phone {
  width: min(100%, 14.5rem);
  overflow: hidden;
  border-radius: 1.55rem;
  background: #0d0e0f;
  border: 1px solid rgba(13, 14, 15, 0.35);
  box-shadow: 0 18px 40px rgba(13, 14, 15, 0.18);
}

.product-card__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  width: min(100%, 22rem);
}

.product-card__strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.4rem;
}

.product-card__phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  background: #f5f2eb;
}

.contact-aside {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--dark-border);
  border-radius: 1.25rem;
  background: var(--dark-raised);
  color: var(--dark-muted);
}

@media (max-width: 800px) {
  .product-card {
    grid-template-columns: 1fr;
  }
}

/* Portada — sección principal: composición editorial y línea de prueba */
.home-hero__proof {
  margin-top: var(--space-6);
  color: var(--dark-muted);
  font-size: 0.95rem;
}

.home-hero__proof a {
  color: var(--foil-hi);
  text-underline-offset: 0.25em;
}

.home-hero__stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
}

.home-hero__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

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

.home-hero__shot--main {
  grid-area: 1 / 1 / 2 / 7;
  max-height: 32rem;
  border: 1px solid rgb(240 217 160 / 22%);
}


.home-hero__credit {
  grid-area: 2 / 1 / 3 / 5;
  margin: var(--space-6) 0 0;
  color: var(--dark-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.home-hero__credit span {
  margin-right: var(--space-2);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 48rem) {
  .home-hero__grid {
    padding-block: 1.5rem 3rem;
    gap: var(--space-6);
  }

  .home-hero__stack {
    order: -1;
  }

  .home-hero__shot--main {
    grid-column: 1 / 7;
    max-height: 27svh;
  }


  .home-hero__credit {
    grid-column: 1 / 7;
    margin-top: var(--space-4);
  }

  .home-hero__proof {
    margin-top: var(--space-4);
  }
}

/* FAENA presentada como marca aparte dentro de la portada */
.product-card--marca {
  color: var(--white);
  background: var(--zero);
  border-color: rgb(240 217 160 / 20%);
}

.product-card--marca .eyebrow {
  color: var(--foil-hi);
}

.product-card--marca .product-card__copy p {
  color: var(--dark-muted);
}

.product-card__wordmark {
  font-weight: 620;
  letter-spacing: 0.14em;
}

@media (max-width: 48rem) {
  .home-hero__shot--main img {
    height: 100%;
    object-position: 50% 42%;
  }
}
