/* Componente hero reutilizable. Sin estilos globales ni dependencias de frameworks. */
.asm-hero {
  --hero-accent: #ff500a;
  --hero-text: #fff;
  --hero-max-width: 1320px;
  --hero-min-height: 560px;
  --hero-gap-after: 32px;
  margin-block-end: var(--hero-gap-after);
  --hero-image-position: center 62%;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: var(--hero-min-height);
  background: #111719;
  color: var(--hero-text);
  font-family: Arial, Helvetica, sans-serif;
}
.asm-hero, .asm-hero *, .asm-hero::before { box-sizing: border-box; }
.asm-hero .asm-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.asm-hero .asm-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-image-position);
}
.asm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0b1115f5 0%, #0b1115d9 32%, #0b11156b 65%, #0b111526 100%);
}
.asm-hero .asm-hero__container { width: min(var(--hero-max-width), calc(100% - 64px)); margin-inline: auto; padding-block: 64px; }
.asm-hero .asm-hero__content { max-width: 750px; }
.asm-hero .asm-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px; color: #ff9d63;
  font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase;
}
.asm-hero .asm-hero__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--hero-accent); }
.asm-hero .asm-hero__title {
  margin: 0; padding: 0; background: none; border: 0;
  color: var(--hero-text); font: 700 clamp(32px, 3.8vw, 54px)/1.12 Arial, Helvetica, sans-serif;
  letter-spacing: -1.5px; text-transform: none; text-align: left;
}
.asm-hero .asm-hero__description { max-width: 480px; margin: 24px 0 30px; font-size: 16px; line-height: 1.8; color: #e0e3e4; }
.asm-hero .asm-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 28px; }
.asm-hero .asm-hero__button {
  display: inline-flex; justify-content: center; align-items: center; gap: 24px;
  min-height: 52px; padding: 16px 22px; border: 1px solid transparent; border-radius: 3px;
  background: var(--hero-accent); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 700; text-decoration: none;
}
.asm-hero .asm-hero__button:hover { background: #d83b00; color: #fff; text-decoration: none; }
.asm-hero .asm-hero__visit { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #fff; font-size: 13px; text-decoration: none; }
.asm-hero .asm-hero__visit svg { color: #ff9d63; }
.asm-hero .asm-hero__visit:hover { text-decoration: underline; }
.asm-hero a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.asm-hero svg { flex-shrink: 0; }
@media (max-width: 700px) {
  .asm-hero { --hero-min-height: 540px; --hero-image-position: 58% center; }
  .asm-hero::before { background: linear-gradient(90deg, #0b1115e8, #0b11159e 70%, #0b11156b); }
  .asm-hero .asm-hero__container { width: calc(100% - 40px); padding-block: 46px; }
  .asm-hero .asm-hero__title { font-size: clamp(30px, 7.8vw, 43px); letter-spacing: -.8px; }
  .asm-hero .asm-hero__eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 18px; }
  .asm-hero .asm-hero__description { font-size: 14px; margin: 22px 0 26px; }
  .asm-hero .asm-hero__actions { gap: 16px; }
  .asm-hero .asm-hero__button { font-size: 13px; gap: 18px; padding-inline: 18px; }
}

@media (min-width: 1101px) {
  .asm-hero { --hero-min-height: clamp(500px, 46vw, 680px); }
  /* Foto completa: evita cortar el rótulo y las ruedas en pantallas anchas. */
  .asm-hero .asm-hero__media {
    left: auto;
    width: min(70%, calc(var(--hero-min-height) * var(--hero-image-aspect, 1.5)));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  }
  .asm-hero .asm-hero__media img { object-fit: cover; object-position: right center; }
  .asm-hero::before {
    background:
      linear-gradient(90deg, #111719 0%, #111719f5 24%, #11171980 44%, transparent 65%),
      linear-gradient(#07101566, #07101566);
  }
  .asm-hero .asm-hero__content { max-width: min(480px, 38vw); }
}

/* Menos altura y aire interior en escritorio estrecho: imagen sin bandas. */
@media (min-width: 1101px) and (max-width: 1450px) {
  .asm-hero .asm-hero__container { padding-block: 32px; }
  .asm-hero .asm-hero__title { font-size: clamp(34px, 3.2vw, 46px); }
  .asm-hero .asm-hero__description { font-size: 14px; margin: 20px 0 24px; }
  .asm-hero .asm-hero__actions { gap: 16px; }
  .asm-hero .asm-hero__button { font-size: 13px; padding: 14px 18px; min-height: 48px; }
}
