/* Composición común para las portadas de celular. El escritorio conserva su diseño. */
@media (max-width: 760px) {
  .rn-site p {
    text-align: left !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal;
  }

  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    width: 100%;
    height: auto;
    min-height: clamp(620px, 94svh, 740px);
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #071525;
  }

  .rn-site.rn-cover-page :is(.rn-home-hero__media, .rn-rental-hero__media, .rn-portfolio-hero__media) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    z-index: 0;
  }

  .rn-site.rn-cover-page :is(.rn-home-hero__media, .rn-rental-hero__media, .rn-portfolio-hero__media) picture,
  .rn-site.rn-cover-page :is(.rn-home-hero__media, .rn-rental-hero__media, .rn-portfolio-hero__media) :is(.rn-photo, img) {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .rn-site.rn-cover-page .rn-home-hero__media .rn-photo--panorama { object-position: 58% center; }
  .rn-site.rn-cover-page .rn-photo-hero--equipment .rn-photo--18 { object-position: 41% center; }
  .rn-site.rn-cover-page .rn-photo-hero--services .rn-photo--13 { object-position: 58% center; }
  .rn-site.rn-cover-page .rn-portfolio-hero__media img { object-position: 50% center; }

  .rn-site.rn-cover-page .rn-home-hero__shade,
  .rn-site.rn-cover-page .rn-rental-hero__media::after,
  .rn-site.rn-cover-page .rn-portfolio-hero::before {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 12, 24, .64), rgba(3, 12, 24, .55) 46%, rgba(3, 12, 24, .48));
  }

  .rn-site.rn-cover-page .rn-portfolio-hero::before {
    background: linear-gradient(180deg, rgba(3, 12, 24, .42), rgba(3, 12, 24, .43) 46%, rgba(3, 12, 24, .32));
  }

  .rn-site.rn-cover-page .rn-home-hero__shade {
    background: linear-gradient(180deg, rgba(3, 12, 24, .35), rgba(3, 12, 24, .48) 38%, rgba(3, 12, 24, .68));
  }

  .rn-site.rn-cover-page .rn-photo-hero--equipment .rn-rental-hero__media::after {
    background: linear-gradient(180deg, rgba(3, 12, 24, .76), rgba(3, 12, 24, .67) 52%, rgba(3, 12, 24, .23));
  }

  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) > .container {
    position: relative;
    z-index: 2;
    display: block;
    width: calc(100% - 40px);
    max-width: 640px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 148px 0 64px;
    transform: none;
  }

  .rn-site.rn-cover-page .rn-home-hero__copy,
  .rn-site.rn-cover-page .rn-rental-hero__copy {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) h1 {
    width: 100%;
    max-width: 20ch;
    margin: 0;
    font-size: clamp(2.15rem, 9.2vw, 3.4rem);
    line-height: 1.14;
    letter-spacing: .005em;
    text-align: left;
    text-wrap: balance;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
    hyphens: none;
  }

  .rn-site.rn-cover-page .rn-photo-hero--equipment h1 > span { white-space: normal; }
  .rn-site.rn-cover-page .rn-home-hero h1 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
  .rn-site.rn-cover-page .rn-home-hero__accent { color: #98bfea; }

  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) :is(.eyebrow, .rn-kicker) {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    max-width: 100%;
    font-size: .69rem;
    line-height: 1.6;
    letter-spacing: .16em;
    color: #b8d5f9;
  }

  .rn-site.rn-cover-page :is(.eyebrow, .rn-kicker)::before { flex: 0 0 28px; width: 28px; }

  .rn-site.rn-cover-page .rn-rental-hero__intro,
  .rn-site.rn-cover-page .rn-portfolio-hero__bottom p {
    max-width: 36ch;
    margin: 24px 0 0;
    color: #ecf2fa;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
    text-wrap: pretty;
  }

  .rn-site.rn-cover-page .rn-rental-hero__actions,
  .rn-site.rn-cover-page .rn-portfolio-hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 28px;
  }

  .rn-site.rn-cover-page .rn-portfolio-hero__bottom { margin-top: 0; }

  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) :is(.btn, .rn-link, .rn-home-hero__project) {
    max-width: 100%;
    min-height: 50px;
    height: auto;
    gap: 18px;
    padding: 14px 18px;
    font-size: .9rem;
    line-height: 1.4;
    white-space: normal;
  }

  .rn-site.rn-cover-page .rn-home-hero__project,
  .rn-site.rn-cover-page .rn-portfolio-hero__bottom .rn-link { width: fit-content; padding-inline: 0; }
  .rn-site.rn-cover-page .rn-home-hero__project { margin-top: 26px; }
  .rn-site.rn-cover-page .rn-rental-phone { display: grid; gap: 3px; font-size: .8rem; line-height: 1.5; }
  .rn-site.rn-cover-page .rn-rental-phone strong { font-size: 1rem; }
}

@media (max-width: 360px) {
  .rn-site.rn-cover-page .rn-photo-hero--equipment h1 { font-size: 2rem; }
}

/* En horizontal el contenido determina la altura, sin quedar cortado. */
@media (max-width: 760px) and (max-height: 540px) {
  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) { min-height: 540px; }
  .rn-site.rn-cover-page :is(.rn-home-hero, .rn-unified-hero) > .container { padding-block: 124px 48px; }
}
