/* Portada PepDidos: foto de viales a la derecha, texto a la izquierda.
   Se carga después de styles.css y reemplaza el diseño anterior del banner. */
.hero.hero-photo{
  position:relative;display:flex;align-items:center;
  min-height:clamp(320px,21vw,420px);height:auto;
  padding:0;overflow:hidden;grid-template-columns:none;
  background:#e6e7f2 url("/assets/pepdidos-hero.jpg") right center / auto 100% no-repeat;
  border-bottom:1px solid #ececec;
}
/* Velo claro a la izquierda para fundir la foto y dar lectura al texto */
.hero.hero-photo::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#f1f2f7 0%,rgba(241,242,247,.92) 28%,rgba(241,242,247,0) 46%);
}
.hero.hero-photo .hero-art{display:none}
.hero.hero-photo .hero-copy{
  position:relative;z-index:1;width:min(52%,900px);height:auto;background:transparent;
  padding:44px 0 44px max(4.1vw,28px);
}
.hero.hero-photo .kicker{font-size:13px;letter-spacing:2.2px;font-weight:600;color:#1a1a1a;margin:0}
.hero.hero-photo .short-rule{width:78px;height:1.5px;background:#111;margin:14px 0 22px}
.hero.hero-photo h1{
  font-family:Manrope,"DM Sans",sans-serif;font-weight:700;
  font-size:clamp(30px,2.7vw,46px);line-height:1.12;letter-spacing:-1.5px;white-space:nowrap;
  margin:0 0 16px;color:#141414;
}
.hero.hero-photo .hero-description{font-size:clamp(14px,1.02vw,16px);line-height:1.6;color:#333;max-width:min(560px,36vw);margin:0 0 26px}
.hero.hero-photo .primary-link{
  display:inline-flex;width:auto;align-self:flex-start;align-items:center;gap:14px;
  background:#050505;color:#fff;border:1px solid #050505;
  padding:0 26px;height:50px;min-height:0;
  font-size:13px;font-weight:600;letter-spacing:1.2px;text-decoration:none;
}
.hero.hero-photo .primary-link:hover{background:#2a2a2a}

/* Tablet: texto arriba y los siete viales debajo */
@media (max-width:1279px){
  .hero.hero-photo{
    display:block;min-height:0;
    background:#eceef5 url("/assets/pepdidos-hero.jpg") right bottom / 110vw auto no-repeat;
    padding-bottom:35vw;
  }
  .hero.hero-photo::before{background:linear-gradient(180deg,#eceef5 0%,#eceef5 40%,rgba(236,238,245,0) 54%)}
  .hero.hero-photo .hero-copy{width:auto;max-width:640px;padding:44px max(4.1vw,22px) 10px}
  .hero.hero-photo .hero-description{max-width:560px}
  .hero.hero-photo h1{white-space:normal}
}
/* Celular */
@media (max-width:760px){
  .hero.hero-photo{background-image:url("/assets/pepdidos-hero-1086.jpg");background-position:-45vw bottom;background-size:148vw auto;padding-bottom:47vw}
  .hero.hero-photo .hero-copy{padding:36px 22px 6px}
  .hero.hero-photo h1{font-size:30px;letter-spacing:-1.1px}
}
