:root {
  --black: #000000;
  --white: #ffffff;
  --green: #00D100;
  --blue: #193DE3;
  --blue-light: #244cff;
  --grid-margin: 144px;
  --grid-gap: 36px;
  --grid-width: 1632px;
  --font-sans: "Albert Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: var(--font-sans);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.grid {
  width: min(calc(100% - (var(--grid-margin) * 2)), var(--grid-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

/* HEADER */
.site-header {
  position: relative;
  z-index: 50;
  height: 85px;
  background: #000000;
  border-bottom: 1px solid rgba(25, 61, 227, 0.36);
}

.nav-grid {
  height: 85px;
  align-items: center;
}

.brand {
  grid-column: 1 / 4;
  width: max-content;
}

.brand img {
  width: auto;
  height: 40px;
}

.main-nav {
  grid-column: 5 / 13;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--green);
}

.nav-pill {
  min-width: 126px;
  padding: 9px 18px 8px;
  color: var(--green);
  text-align: center;
  border: 1px solid var(--green);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  height: 775px;
  padding-top: 0;
  overflow: hidden;
  background: #000000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    url("images/banner.JPEG"),
    url("images/banner.jpeg"),
    url("images/banner.jpg"),
    url("images/banner.JPG");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero-grid {
  position: relative;
  z-index: 2;
  height: 775px;
  padding-top: 96px;
  align-items: start;
}

.hero-arrow {
  grid-column: 1 / 2;
  width: 32px;
  margin-top: 8px;
}

.hero-copy {
  grid-column: 4 / 8;
  width: 100%;
}

.hero-mobile-compass {
  display: none;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.018em;
}

.hero-copy h1 strong {
  font-weight: 700;
}

.lead {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.copy-rule {
  width: 100%;
  height: 1px;
  margin: 32px 0 24px;
  background: rgba(255, 255, 255, 0.66);
}

.note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.55;
}

.hero-rate {
  grid-column: 8 / 13;
  position: relative;
  width: 100%;
  padding-top: 4px;
}

.month-pill {
  width: max-content;
  min-width: 120px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 8px;
  margin-bottom: 28px;
  padding: 0 16px;
  color: #021751;
  background: var(--green);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.month-pill img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.month-pill strong {
  font-weight: 700;
}

.rate-label {
  position: absolute;
  top: 8px;
  right: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.rate-value {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0 36px;
  letter-spacing: -0.065em;
}

.rate-value span {
  display: block;
  font-size: 180px;
  line-height: 0.78;
  font-weight: 800;
}

.rate-value small {
  display: block;
  font-size: 102px;
  line-height: 0.8;
  font-weight: 300;
}

.rate-lines {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.84);
}

.rate-lines p {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.rate-lines i {
  color: var(--green);
  font-style: normal;
  font-size: 19px;
}

.rate-lines strong {
  color: var(--green);
  font-weight: 700;
}

.made-by {
  margin: 32px 0 0;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

/* VIDEO */
.section-video {
  padding: 108px 0;
  background: #000000;
}

.video-block {
  grid-column: 4 / 13;
}

.video-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 64px;
}

.video-head p,
.video-head h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.video-head p {
  font-weight: 400;
}

.video-head h2 {
  font-weight: 700;
}

.green-dot {
  color: var(--green);
  font-weight: 700;
}

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.report-link strong {
  font-weight: 700;
}

.report-link img {
  width: 40px;
  height: 40px;
}

.video-card {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.video-card img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: initial;
  border: 0;
}

/* Por si el botón de play se vuelve a sumar manualmente, queda oculto para no duplicar lo que ya trae la imagen */
.play-button {
  display: none;
}

.video-caption {
  margin: 32px 0 0;
  padding-top: 0;
  border-top: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.45;
}

/* INDICADORES */
.section-indicators {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  background: #000000;
}

.indicators-glow {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 1056px;
  height: 900px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(25, 61, 227, 0.72) 0%, rgba(25, 61, 227, 0.34) 25%, rgba(0, 0, 0, 0) 66%);
  filter: blur(32px);
}

.indicators-block {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 1076px;
  max-width: 100%;
  margin: 0 auto;
}

.center-title {
  text-align: center;
}

.center-title h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.018em;
}

.center-title h2 strong {
  font-weight: 800;
}

.center-title h2 span {
  font-weight: 400;
}

.black-dot {
  color: var(--green);
  font-weight: 900;
}

.kpi-row {
  width: 800px;
  max-width: 100%;
  margin: 72px auto 64px;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  align-items: center;
  gap: 0;
}

.kpi-row .kpi:first-child {
  justify-self: start;
  text-align: left;
}

.kpi-row .kpi:last-child {
  justify-self: end;
  text-align: left;
}

.kpi strong {
  display: flex;
  align-items: baseline;
  margin: 0 0 16px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 90px;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.kpi strong .num {
  font-weight: 800;
}

.kpi strong .sign {
  font-weight: 100;
}

.kpi > span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}

.kpi-divider {
  width: 2px;
  height: 128px;
  justify-self: center;
  background: #ffffff;
}

.section-separator {
  height: 1px;
  margin: 0 0 72px;
  background: rgba(255, 255, 255, 0.62);
}

.composition-title {
  margin-bottom: 56px;
}

.cards-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 242px);
  justify-content: center;
  gap: 36px;
}

.mini-card {
  width: 242px;
  height: 242px;
  display: flex;
  flex-direction: column;
  padding: 54px 24px 24px;
  border: 2px solid #000000;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(11, 18, 47, 0.94) 0%, rgba(0, 0, 0, 0.98) 78%),
    #000000;
  box-shadow:
    0 0 0 1px rgba(25, 61, 227, 0.14),
    0 0 28px rgba(25, 61, 227, 0.36);
}

.mini-card strong {
  display: flex;
  align-items: baseline;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #232323;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.mini-card .num {
  font-weight: 800;
}

.mini-card .sign {
  font-weight: 100;
}

.mini-card > span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}

/* CHART */
.section-chart {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  padding: 152px 0 144px;
  background: #000000;
}

.section-chart::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(1632px, calc(100% - (var(--grid-margin) * 2)));
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #193DE3 0%, #000000 50%, #193DE3 100%);
}

.chart-bg {
  position: absolute;
  inset: 0;
  background-image:
    url("images/fondo-grafico.jpg"),
    url("images/fondo-grafico.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.chart-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.chart-copy {
  grid-column: 1 / 5;
  width: 520px;
  max-width: 100%;
}

.chart-copy h2 {
  margin: 0 0 16px;
  font-size: 33px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.chart-copy > p {
  margin: 0 0 64px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.4;
}

.chart-stat {
  width: 520px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}

.chart-stat > div {
  justify-self: end;
  width: 320px;
}

.green-marker {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid var(--green);
}

.chart-stat strong {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 58px;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.chart-stat strong .num {
  font-weight: 800;
}

.chart-stat strong .sign {
  font-weight: 100;
}

.chart-stat strong.blue {
  color: var(--blue-light);
}

.chart-stat i {
  display: block;
  width: 320px;
  height: 3px;
  background: var(--blue-light);
}

.chart-stat i.white {
  background: #ffffff;
}

.chart-copy small {
  display: block;
  width: 320px;
  margin-left: 200px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.chart-scroll {
  grid-column: 6 / 13;
  width: 100%;
}

.chart-panel {
  width: 100%;
  padding-bottom: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(90deg, #01154D 0%, #000000 50%, #01154D 100%);
  box-shadow: 0 0 32px rgba(25, 61, 227, 0.24);
}

.chart-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

/* DISCLAIMER */
.section-disclaimer {
  padding: 108px 0;
  background: #000000;
}

.disclaimer-copy {
  grid-column: 1 / 8;
}

.disclaimer-copy > img {
  width: 366px;
  max-width: 100%;
  margin-bottom: 56px;
}

.disclaimer-copy p {
  width: 100%;
  margin: 0;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 36px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.028em;
}

.subscribe-form {
  grid-column: 9 / 13;
  padding-top: 24px;
}

.form-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 64px;
}

.form-head img {
  width: 40px;
  height: 40px;
}

.form-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.form-head h2 strong {
  font-weight: 700;
}

.subscribe-form label {
  display: block;
  margin-bottom: 32px;
}

.subscribe-form label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.subscribe-form input {
  width: 100%;
  height: 40px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  outline: none;
}

.subscribe-form input:focus {
  border-bottom-color: var(--blue-light);
}

.subscribe-form button {
  height: 32px;
  padding: 0 18px;
  color: var(--blue-light);
  background: transparent;
  border: 1px solid var(--blue-light);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

/* LOGOS + FOOTER */
.logos-strip {
  height: 400px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.logos-strip img {
  width: 486px;
  max-width: 100%;
  height: auto;
}

.site-footer {
  min-height: 64px;
  display: grid;
  place-items: center;
  background: var(--blue);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* RESPONSIVE */
@media (max-width: 1440px) {
  :root {
    --grid-margin: 72px;
    --grid-gap: 28px;
  }

  .main-nav {
    gap: 28px;
  }

  .rate-value span {
    font-size: clamp(126px, 9.4vw, 180px);
  }

  .rate-value small {
    font-size: clamp(72px, 5.4vw, 102px);
  }

  .cards-grid {
    gap: 28px;
  }
}

@media (max-width: 1100px) {
  :root {
    --grid-margin: 40px;
    --grid-gap: 24px;
  }

  .brand {
    grid-column: 1 / 4;
  }

  .main-nav {
    grid-column: 4 / 13;
    font-size: 12px;
    gap: 20px;
  }

  .hero {
    height: auto;
    min-height: 775px;
  }

  .hero-copy {
    grid-column: 3 / 8;
  }

  .hero-rate {
    grid-column: 8 / 13;
  }

  .video-block {
    grid-column: 3 / 13;
  }

  .indicators-block {
    grid-column: 2 / 12;
  }

  .chart-copy {
    grid-column: 1 / 5;
  }

  .chart-panel {
    grid-column: 5 / 13;
  }

  .disclaimer-copy {
    grid-column: 1 / 8;
  }

  .subscribe-form {
    grid-column: 8 / 13;
  }

  .disclaimer-copy p {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --grid-margin: 24px;
    --grid-gap: 16px;
  }

  .site-header {
    height: 72px;
  }

  .nav-grid {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand img {
    height: 36px;
  }

  .nav-toggle {
    position: relative;
    z-index: 70;
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #ffffff;
    transition: transform 180ms ease;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 60;
    height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    padding: 40px 24px;
    background: rgba(0, 0, 0, 0.98);
    transform: translateX(100%);
    transition: transform 220ms ease;
    font-size: 14px;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .hero {
    padding-top: 0;
    background: linear-gradient(180deg, #272727 0%, #193DE3 48%, #000000 100%);
  }

  .hero-bg,
  .hero::before {
    display: none;
  }

  .hero-grid {
    height: auto;
    display: block;
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .hero-mobile-compass {
    display: flex;
    justify-content: center;
    margin: 32px 0;
  }

  .hero-mobile-compass img {
    width: min(280px, 72vw);
    height: auto;
  }

  .hero-arrow {
    display: none;
  }

  .hero-copy {
    margin-bottom: 56px;
  }

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

  .lead {
    font-size: 18px;
  }

  .rate-label {
    position: static;
    margin: 0 0 24px;
  }

  .month-pill {
    margin: 0 0 24px;
  }

  .rate-value {
    margin-top: 0;
  }

  .rate-value span {
    font-size: clamp(106px, 32vw, 148px);
  }

  .rate-value small {
    font-size: clamp(58px, 18vw, 84px);
  }

  .rate-lines p {
    height: auto;
    min-height: 64px;
    padding: 16px 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .section-video,
  .section-indicators,
  .section-chart,
  .section-disclaimer {
    padding: 80px 0;
  }

  .video-block,
  .indicators-block,
  .chart-copy,
  .chart-scroll,
  .disclaimer-copy,
  .subscribe-form {
    grid-column: 1 / -1;
  }

  .video-head {
    display: block;
    margin-bottom: 40px;
  }

  .video-head p,
  .video-head h2,
  .center-title h2,
  .chart-copy h2 {
    font-size: 28px;
  }

  .report-link {
    margin-top: 24px;
  }

  .kpi-row {
    width: 100%;
    margin: 56px 0;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    justify-items: center;
  }

  .kpi-row .kpi:first-child,
  .kpi-row .kpi:last-child {
    width: 100%;
    justify-self: center;
    text-align: center;
  }

  .kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .kpi strong {
    justify-content: center;
    font-size: 90px;
  }

  .kpi > span {
    font-size: 18px;
    text-align: center;
  }

  .kpi-divider {
    width: 100%;
    height: 2px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 242px));
    gap: 16px;
  }

  .mini-card {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 54px 24px 36px;
  }

  .mini-card > span {
    margin-top: 0;
  }

  .chart-grid {
    row-gap: 56px;
  }

  .chart-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .chart-panel {
    width: 860px;
    max-width: none;
  }


  .chart-copy > p {
    margin-bottom: 48px;
  }

  .chart-copy small {
    width: auto;
    margin-left: 48px;
  }

  .chart-stat {
    width: 100%;
    gap: 24px;
  }

  .chart-stat > div {
    justify-self: stretch;
    width: 100%;
  }

  .chart-stat strong {
    font-size: 44px;
  }

  .chart-stat i {
    width: min(100%, 280px);
  }

  .disclaimer-copy > img {
    width: 220px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .disclaimer-copy p {
    font-size: 26px;
    line-height: 1.3;
  }

  .subscribe-form {
    padding-top: 0;
  }

  .form-head {
    margin-top: 24px;
  }

  .logos-strip {
    height: 240px;
  }

  .logos-strip img {
    width: 320px;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --grid-margin: 16px;
  }

  .brand img {
    height: 34px;
  }

  .hero-grid {
    padding-top: 48px;
  }

  .hero-mobile-compass img {
    width: min(240px, 74vw);
  }

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

  .lead {
    font-size: 16px;
  }

  .note {
    font-size: 15px;
  }

  .rate-lines p {
    font-size: 16px;
  }

  .chart-panel {
    width: 820px;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 242px);
  }

  .mini-card {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 54px 24px 36px;
  }

  .mini-card > span {
    margin-top: 0;
  }

  .disclaimer-copy p {
    font-size: 24px;
  }

  .form-head h2 {
    font-size: 22px;
    line-height: 1.2;
  }
}
