/* VALTRIS V1.23 — heros editoriales reales. Vogun + Albert Sans. */
/* 1. Restore the left-anchored composition. Previous versions centered the text block. */
body.v118-product .v17-hero--product {
  overflow: hidden;
  min-height: clamp(570px, 68svh, 725px);
  isolation: isolate;
}
body.v118-product .v17-hero--product .v17-hero__inner {
  width: min(1380px, calc(100% - 96px));
  min-height: clamp(570px, 68svh, 725px) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: 54px 0 !important;
  margin-left: auto;
  margin-right: auto;
}
body.v118-product .v17-hero--product .v17-hero__content {
  width: min(100%, 615px) !important;
  max-width: 615px !important;
  margin: 0 auto 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
  position: relative;
  isolation: isolate;
}
/* No rectangular panel, glow, card, blur, or card-shaped vignette. */
body.v118-product .v17-hero--product .v17-hero__content::before,
body.v118-product .v17-hero--product .v17-hero__content::after {
  content: none !important;
  display: none !important;
  background: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
/* Lateral shade is part of the full photograph, not a box. */
body.v118-product .v17-hero--product .v17-hero__shade {
  background: linear-gradient(90deg,
    rgba(3, 24, 46, .90) 0%,
    rgba(3, 24, 46, .79) 17%,
    rgba(3, 24, 46, .61) 30%,
    rgba(3, 24, 46, .31) 43%,
    rgba(3, 24, 46, .09) 59%,
    rgba(3, 24, 46, 0) 75%) !important;
}
body.v118-product .v17-hero--product .v17-hero__picture img { transform: none !important; }
body.v118-product .v17-hero--product .v17-hero__picture::after {
  content: none !important;
  display:none !important;
}
/* 2. VALTRIS typography. Text needs to be compact but never tiny. */
body.v118-product .v17-hero--product h1 {
  display:block;
  font: 400 clamp(43px, 4.05vw, 60px)/1.045 Vogun, Georgia, serif !important;
  color:#fff !important;
  letter-spacing:-.044em !important;
  max-width: 615px !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance;
  text-shadow: 0 2px 11px rgba(1, 15, 29, .18);
  margin: 0 !important;
}
body.v118-product .v17-hero--product .v17-hero__eyebrow {
  font: 700 11px/1.4 Albert, Arial, sans-serif !important;
  letter-spacing: .16em;
  color: #b9e9f8 !important;
  margin-bottom: 23px !important;
}
body.v118-product .v17-hero--product .v17-hero__content > p {
  font: 400 clamp(16px, 1.27vw, 18px)/1.68 Albert, Arial, sans-serif !important;
  color: #e8f3f7 !important;
  max-width: 525px !important;
  margin: 19px 0 0 !important;
  text-shadow: 0 1px 10px rgba(1, 15, 29, .22);
}
body.v118-product .v17-hero--product .v118-hero-signature {
  max-width: 585px;
  margin-top: 24px !important;
}
body.v118-product .v17-hero--product .v17-hero__actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px !important;
}
body.v118-product .v17-hero--product .v17-hero__actions > a,
body.v118-product .v17-hero--product .v17-hero__actions > button {
  font-family: Albert, Arial, sans-serif !important;
  font-weight: 700 !important;
}
body.v118-product .v17-hero--product .v17-hero__primary:hover,
body.v118-product .v17-hero--product .v17-hero__primary:focus-visible {
  color: #062241 !important;
  background:#e8f8fd !important;
  border-color:#e8f8fd !important;
}
body.v118-product .v17-hero--product .v17-hero__secondary:hover,
body.v118-product .v17-hero--product .v17-hero__secondary:focus-visible {
  background: #50afd1 !important;
  color:#062241 !important;
  border-color:#50afd1 !important;
}
/* Each photograph's focal point stays separate from the left copy. */
body.v118-product--gastos-medicos .v17-hero--product .v17-hero__picture img { object-position: 64% 50%; }
body.v118-product--vida .v17-hero--product .v17-hero__picture img { object-position: 65% 47%; }
body.v118-product--retiro .v17-hero--product .v17-hero__picture img { object-position: 62% 47%; }
body.v118-product--persona-clave .v17-hero--product .v17-hero__picture img { object-position: 64% 45%; }
body.v118-product--estudios .v17-hero--product .v17-hero__picture img { object-position: 62% 45%; }
body.v118-product--ahorro .v17-hero--product .v17-hero__picture img { object-position: 66% 48%; }
body.v118-product--hogar .v17-hero--product .v17-hero__picture img { object-position: 64% 48%; }
body.v118-product--autos .v17-hero--product .v17-hero__picture img { object-position: 65% 46%; }
body.v118-product--mascotas .v17-hero--product .v17-hero__picture img { object-position: 64% 45%; }
/* A smaller left margin on middle screens, but no centering. */
@media (max-width: 1050px) and (min-width: 781px) {
  body.v118-product .v17-hero--product .v17-hero__inner {width:calc(100% - 64px);min-height:610px !important}
  body.v118-product .v17-hero--product .v17-hero__content {width:min(100%,560px) !important;max-width:560px !important}
  body.v118-product .v17-hero--product h1 {font-size:clamp(43px,5.4vw,58px) !important}
}
/* Mobile hero has a clear visible photo above copy, then a smooth dark lower zone. */
@media (max-width: 780px) {
  body.v118-product .v17-hero--product {min-height:0 !important}
  body.v118-product .v17-hero--product .v17-hero__inner {
    width:calc(100% - 40px);
    min-height:clamp(690px,96svh,840px) !important;
    justify-content:flex-end !important;
    align-items:flex-start !important;
    padding:90px 0 38px !important;
  }
  body.v118-product .v17-hero--product .v17-hero__shade {
    background: linear-gradient(180deg,
      rgba(3, 24, 46, .12) 0%,
      rgba(3, 24, 46, .18) 25%,
      rgba(3, 24, 46, .48) 43%,
      rgba(3, 24, 46, .86) 66%,
      rgba(3, 24, 46, .97) 100%) !important;
  }
  body.v118-product .v17-hero--product .v17-hero__picture {
    inset:0 0 auto 0;
    height:54%;
  }
  body.v118-product .v17-hero--product .v17-hero__picture img {object-position:var(--focal,65% 50%) !important}
  body.v118-product .v17-hero--product .v17-hero__content {
    width:100% !important;
    max-width:600px !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
  }
  body.v118-product .v17-hero--product h1 {
    font-size:clamp(39px,8.7vw,50px) !important;
    line-height:1.05 !important;
    max-width: 100% !important;
  }
  body.v118-product .v17-hero--product .v17-hero__content > p {
    font-size:15px !important;
    line-height:1.55 !important;
    margin-top:17px !important;
    max-width:100% !important;
  }
  body.v118-product .v17-hero--product .v17-hero__eyebrow {margin-bottom:12px !important;font-size:10px !important}
  body.v118-product .v17-hero--product .v118-hero-signature {margin-top:17px !important}
  body.v118-product .v17-hero--product .v17-hero__actions {margin-top:18px !important;gap:10px}
}
@media (max-width: 540px) {
  body.v118-product .v17-hero--product .v17-hero__inner {width:calc(100% - 32px);padding-bottom:29px !important}
  body.v118-product .v17-hero--product h1 {font-size:clamp(38px,9.1vw,44px) !important}
  body.v118-product .v17-hero--product .v17-hero__actions > a,
  body.v118-product .v17-hero--product .v17-hero__actions > button {width:100%;min-height:50px;justify-content:space-between}
}
@media (max-width: 360px) {
  body.v118-product .v17-hero--product .v17-hero__inner {min-height:760px !important}
  body.v118-product .v17-hero--product h1 {font-size:36px !important}
  body.v118-product .v17-hero--product .v17-hero__content > p {font-size:14px !important}
}
