/* =========================================================
  ECISA - INGENIERÍA AMBIENTAL MOBILE
  Agregar después de mobile.css y ambiental-desktop.css.
========================================================= */

@media (max-width: 960px) {
  .inner-hero,
  .inner-hero.ambiental-hero,
  .inner-hero.civil-hero,
  .inner-hero.sanitaria-hero,
  .inner-hero.seguridad-hero,
  .inner-hero.sistemas-hero,
  .inner-hero.radicacion-hero {
    min-height: 430px;
  }

  .inner-hero.ambiental-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.55) 76%, rgba(255,255,255,.22) 100%),
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 100%),
      url(../img/hero/ingenieria-ambiental-hero.webp) right top / auto 100% no-repeat,
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .inner-hero.civil-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.55) 76%, rgba(255,255,255,.22) 100%),
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 100%),
      url(../img/hero/hero-ingenieria-civil.webp) right top / auto 100% no-repeat,
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .inner-hero.sanitaria-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.55) 76%, rgba(255,255,255,.22) 100%),
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 100%),
      url(../img/hero/hero-ingenieria-sanitaria.webp) right top / auto 100% no-repeat,
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .inner-hero.seguridad-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.55) 76%, rgba(255,255,255,.22) 100%),
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 100%),
      url(../img/hero/hero-seguridad-higiene.webp) 72% top / auto 100% no-repeat,
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .inner-hero.sistemas-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.55) 76%, rgba(255,255,255,.22) 100%),
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 100%),
      url(../img/hero/hero-sistema-gestion.webp) right top / auto 100% no-repeat,
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .inner-hero.radicacion-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.55) 76%, rgba(255,255,255,.22) 100%),
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 100%),
      url(../img/hero/hero-radicacion.webp) 72% top / auto 100% no-repeat,
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .inner-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .inner-hero-copy {
    padding: 34px 0 54px;
    background: transparent;
  }

  .breadcrumb {
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .inner-hero-copy h1 {
    font-size: clamp(38px, 8vw, 52px);
    max-width: 720px;
    text-shadow: none;
  }

  .inner-hero-copy p {
    max-width: 760px;
    font-size: 18px;
    color: #233956;
    text-shadow: none;
  }

  .inner-hero-media {
    display: none;
  }

  .inner-hero-image {
    display: none;
  }

  .inner-hero-media::before {
    display: none;
  }

  .hero-side-shape {
    left: 5px;
  }

  .ambiental-intro-grid,
  .ambiental-content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ambiental-text-block p {
    max-width: none;
  }

  .ambiental-sidebar-card {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .when-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .benefit-item {
    border-right: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
}

@media (max-width: 700px) {
  .inner-hero-copy h1 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }

  .inner-hero-copy p {
    font-size: 16px;
  }

  .inner-hero-media {
    min-height: 270px;
  }

  .ambiental-intro {
    padding-top: 30px;
  }

  .ambiental-feature-box,
  .included-grid,
  .when-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .ambiental-feature,
  .ambiental-feature:nth-child(1),
  .ambiental-feature:nth-child(2),
  .ambiental-feature:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ambiental-feature:last-child {
    border-bottom: 0;
  }

  .included-card,
  .when-card,
  .benefit-item {
    min-height: auto;
  }

  .ambiental-section-title.with-line::after {
    display: none;
  }

  .ambiental-sidebar-card {
    max-width: none;
  }
}

@media (max-width: 430px) {
  .breadcrumb {
    font-size: 11px;
    gap: 8px;
  }

  .inner-hero-copy {
    padding-top: 26px;
  }

  .inner-hero-copy h1 {
    font-size: 32px;
  }

  .inner-hero-media {
    min-height: 235px;
  }

  .ambiental-text-block h2,
  .ambiental-section-title {
    font-size: 23px;
  }
}
