:root {
  --rojo: #DB0011;
  --pleca: #ed1c24;
  --tinta: #212121;
  --papel: #FFFFFF;
  --gris: #EEF0F2;
  --gris-medio: #8C9199;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Instrument Sans', Arial, sans-serif;
  --alto-pleca: 56px;
  --w: 1140px;
}

[ng-cloak] {
  display: none;
}

html {
  overflow-anchor: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--serif);
}

.container {
  max-width: var(--w);
}

.hs-pleca {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--alto-pleca);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pleca);
}

.hs-pleca img {
  height: 26px;
  width: auto;
}

.hs-prog {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--papel);
  transform: scaleX(0);
  transform-origin: left;
}

.hs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 190px;
  overflow: hidden;
  color: var(--papel);
  background: var(--tinta);
}

.hs-hero-bg {
  position: absolute;
  top: -10%;
  right: 0;
  bottom: -10%;
  left: 0;
  background-image: url('assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hs-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(33, 33, 33, 0.25) 0%, rgba(33, 33, 33, 0.85) 100%);
}

.hs-hero .container {
  position: relative;
  z-index: 2;
}

.hs-hero h1 {
  max-width: 13em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  font-weight: 600;
  line-height: 1.04;
}

.hs-line {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 150px;
}

.hs-intro {
  padding: 80px 0 64px;
}

.hs-intro p {
  margin: 0 0 24px;
  font-size: 1.3rem;
  line-height: 1.65;
}

.hs-intro p.hs-baj {
  font-size: 1.6rem;
  line-height: 1.45;
  font-weight: 600;
}

.hs-pres {
  padding: 24px 0;
  background: var(--gris);
  color: var(--tinta);
}

.hs-pres .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hs-pres span {
  font-family: var(--sans);
  font-size: 1.1rem;
}

.hs-pres img {
  height: 40px;
  width: auto;
}

.hs-menu-s {
  padding: 0;
}

.hs-menu-wrap {
  display: flow-root;
}

.hs-menu {
  --p: 46px;
  --c: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 56px 0 8px;
  position: relative;
  z-index: 2;
}

.hs-pill {
  display: flex;
  flex: none;
  max-width: 100%;
  align-items: center;
  min-height: var(--p);
  padding: 0 22px 0 calc((var(--p) - var(--c)) / 2 - 1px);
  border: 1px solid #C3C7CD;
  border-radius: 999px;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.hs-pill b {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--c);
  height: var(--c);
  margin-right: 12px;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--papel);
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
}

.hs-pill span {
  padding: 8px 0;
  line-height: 1.2;
  text-align: left;
}

.hs-pill:hover,
.hs-pill.on {
  border-color: var(--rojo);
  background: var(--rojo);
  color: var(--papel);
}

.hs-pill:hover b,
.hs-pill.on b {
  background: var(--papel);
  color: var(--rojo);
}

.hs-pill:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 2px;
}

.hs-menu.dock {
  position: fixed;
  top: 50%;
  left: 16px;
  z-index: 95;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  transform: translateY(-50%);
}

.hs-menu.dock .hs-pill {
  width: var(--p);
  max-width: none;
  padding-right: calc((var(--p) - var(--c)) / 2 - 1px);
  box-shadow: 0 2px 10px rgba(33, 33, 33, 0.14);
}

.hs-menu.dock .hs-pill span {
  padding: 0;
  white-space: nowrap;
}

.hs-menu.dock .hs-pill.open {
  width: auto;
  padding-right: 20px;
}

.hs-b {
  padding: 80px 0 64px;
  scroll-margin-top: 80px;
}

.hs-b h2 {
  margin: 0 0 36px;
  padding-left: 18px;
  border-left: 6px solid var(--rojo);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.hs-txt p {
  margin: 0 0 24px;
  font-size: 1.3rem;
  line-height: 1.7;
}

.hs-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #D9DCE0;
}

.hs-img img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.hs-wide {
  margin-top: 48px;
}

.hs-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hs-row.rev {
  flex-direction: row-reverse;
}

.hs-row .hs-main {
  flex: 1 1 50%;
}

.hs-row .hs-img {
  flex: 1 1 42%;
  min-width: 0;
}

main > .hs-b:nth-child(even) {
  background: var(--gris);
}

main > .hs-b:nth-child(even) .hs-pilar,
main > .hs-b:nth-child(even) .hs-tbl {
  background: var(--papel);
}

.hs-quote {
  display: flex;
  margin: 56px 0;
  background: var(--rojo);
  color: var(--papel);
}

.hs-quote > * {
  flex: 1 1 50%;
  min-width: 0;
}

.hs-quote blockquote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 48px;
}

.hs-quote p {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-style: italic;
  line-height: 1.25;
}

.hs-quote cite {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-style: normal;
}

.hs-stat {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 40px 0;
  padding: 28px 0;
  border-top: 3px solid var(--rojo);
  border-bottom: 1px solid #C3C7CD;
}

.hs-stat strong {
  flex: none;
  color: var(--rojo);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 600;
  line-height: 1;
}

.hs-stat p {
  max-width: 18em;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.4;
}

.hs-tbl {
  margin: 40px 0;
  padding: 36px;
  background: var(--gris);
  font-family: var(--sans);
}

.hs-tbl h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.hs-tbl-h {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #5F646B;
  font-size: 0.85rem;
}

.hs-bar {
  display: grid;
  grid-template-columns: 170px 1fr 70px;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hs-bar div {
  height: 30px;
  background: var(--papel);
}

.hs-bar i {
  display: block;
  height: 100%;
  background: var(--rojo);
  transform-origin: left;
}

.hs-bar.alt i {
  background: var(--gris-medio);
}

.hs-bar b {
  font-size: 1.6rem;
  text-align: right;
}

.hs-tbl small {
  color: #5F646B;
}

.hs-pilares {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.hs-pilar {
  padding: 28px;
  border-top: 4px solid var(--rojo);
  background: var(--gris);
}

.hs-pilar h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
}

.hs-pilar p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hs-cuadro {
  margin: 56px 0 0;
  padding: 64px 40px;
  background: var(--tinta);
  color: var(--papel);
  text-align: center;
}

.hs-cuadro p {
  max-width: 20em;
  margin: 0 auto;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-style: italic;
  line-height: 1.25;
}

.hs-cuadro cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-style: normal;
}

.hs-end {
  padding-bottom: 20px;
}

.hs-main {
  min-width: 0;
}

.hs-hero h1 .word,
.hs-b h2 .word,
.cta-txt .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  vertical-align: top;
}

.hs-hero h1 .char,
.hs-b h2 .char,
.cta-txt .char {
  display: inline-block;
}

.hs-js .hs-hero h1,
.hs-js .hs-b h2,
.hs-js .cta-txt {
  visibility: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* ===== CTA ===== */
.cta {
  padding: 60px 0 96px;
  background-color: var(--rojo);
  text-align: center;
  overflow: hidden;
}

.cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px 10px;
  color: var(--papel);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.cta-link:hover,
.cta-link:focus {
  color: var(--papel);
  text-decoration: none;
}

.cta-link:focus-visible {
  outline: 3px solid var(--papel);
  outline-offset: 8px;
}

.cta-txt {
  display: inline-block;
}

.cta-arrow {
  flex: none;
  width: 1.1em;
  height: 1.1em;
}

.cta-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--papel);
  transform-origin: left center;
}

@media (max-width: 991px) {
  .hs-row,
  .hs-row.rev {
    flex-direction: column;
    gap: 32px;
  }

  .hs-row .hs-main,
  .hs-row .hs-img {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hs-hero {
    padding-bottom: 150px;
  }

  .hs-quote {
    flex-direction: column;
  }

  .hs-quote blockquote {
    padding: 32px 24px;
  }

  .hs-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hs-tbl {
    padding: 24px 18px;
  }

  .hs-bar {
    grid-template-columns: 1fr 56px;
  }

  .hs-bar span {
    grid-column: 1 / 3;
  }

  .hs-pilares {
    grid-template-columns: 1fr;
  }

  .hs-txt p {
    font-size: 1.15rem;
  }
}

@media (min-width: 768px) and (max-width: 1299px) {
  .hs-b .container {
    padding-left: 80px;
  }
}

@media (min-width: 768px) and (max-height: 520px) {
  .hs-menu {
    --p: 36px;
    --c: 26px;
  }

  .hs-menu.dock {
    gap: 4px;
  }
}

@media (min-width: 1600px) {
  .hs-menu.dock {
    left: 40px;
  }
}

@media (max-width: 767px) {
  .hs-menu {
    --p: 38px;
    --c: 28px;
    gap: 10px;
  }

  .hs-menu.dock {
    left: 8px;
    gap: 8px;
  }

  .hs-pill {
    font-size: 0.8rem;
  }

  .hs-pill b {
    margin-right: 10px;
    font-size: 0.8rem;
  }

  .hs-menu.dock .hs-pill.open span {
    width: 190px;
    padding: 6px 0;
    white-space: normal;
  }

  .hs-b .container {
    padding-left: 52px;
  }
}

@media (max-width: 479px) {
  .hs-pres .container {
    flex-direction: column;
    gap: 8px;
  }

  .hs-intro p {
    font-size: 1.15rem;
  }

  .hs-intro p.hs-baj {
    font-size: 1.35rem;
  }

  .hs-b {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hs-pill,
  .hs-pill b {
    transition: none;
  }
}