/* User-supplied reference: orange light ribbons and a quiet glass form.
   The projecting logo tile and tilted panels are intentionally omitted. */
.home-page {
  --hero-ground: #070707;
  --hero-ink: #f5f5f4;
  --hero-muted: #bebbb8;
  --hero-orange: #ff7900;
  background-color: var(--hero-ground) !important;
}
:root[data-theme="light"] .home-page {
  --hero-ground: #eceae3;
  --hero-ink: #191919;
  --hero-muted: #62574d;
  --hero-orange: #c84b00;
}
/* Loading clears at 3.2s; the home entrance then plays in visible sequence. */
html[data-intro] .home-page #inicio { animation: none; }
html[data-intro] .home-page .hero-line:nth-child(1) > span { --hero-roll-delay: 3.25s; }
html[data-intro] .home-page .hero-line:nth-child(2) > span { --hero-roll-delay: 3.35s; }
html[data-intro] .home-page .hero-line:nth-child(3) > span { --hero-roll-delay: 3.45s; }
html[data-intro] .home-page #inicio > div:first-of-type > :not(h1) { animation: intro-fade-up .45s ease 3.65s both; }
html[data-intro] .home-page #inicio .lead-column { transform-origin: center; animation: hero-form-pop .55s cubic-bezier(.16,1,.3,1) 3.4s both; }
html[data-intro] .home-page #inicio .lead-card > * { animation: none; }
html[data-intro][data-intro-settled] .home-page #inicio > div:first-of-type > :not(h1),
html[data-intro][data-intro-settled] .home-page .hero-line > span,
html[data-intro][data-intro-settled] .home-page .hero-roll-word > span,
html[data-intro][data-intro-settled] .home-page #inicio .lead-column { animation: none; }
@keyframes hero-form-pop { 0% { opacity: 0; transform: translateY(20px) scale(.86); } 75% { opacity: 1; transform: translateY(-2px) scale(1.025); } 100% { opacity: 1; transform: none; } }
@media (min-width: 1024px) {
  .home-page .hdr {
    --home-logo-height: 42px;
    --home-logo-scale: 1.607142857;
    transition: background-color 320ms ease;
  }
  /* Let navigation reclaim the logo's space in sync with its visual scale. */
  .home-page .hdr-in > a:first-child {
    width: calc(var(--home-logo-height) * 3.6363636);
    transition: width 320ms ease;
  }
  :root:not([data-page-scrolled]) .home-page .hdr:not([data-scrolled]) .hdr-in > a:first-child {
    width: calc(var(--home-logo-height) * var(--home-logo-scale) * 3.6363636);
  }
  .home-page .hdr .hdr-logo {
    height: var(--home-logo-height) !important;
    scale: 1 !important;
    transition: transform 220ms cubic-bezier(.16, 1, .3, 1), scale 320ms ease;
  }
  :root:not([data-page-scrolled]) .home-page .hdr:not([data-scrolled]) .hdr-logo {
    scale: var(--home-logo-scale) !important;
  }
  .home-page .hdr .hdr-nav { translate: none !important; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .home-page .hdr .hdr-in {
    padding-block: 14px !important;
    row-gap: 14px !important;
  }
}
@media (min-width: 1280px) {
  .home-page .hdr { --home-logo-height: 56px; }
  .home-page .hdr .hdr-logo { height: 56px !important; }
  .home-page .hdr-in { flex-wrap: nowrap !important; }
  .home-page .hdr .hdr-nav {
    column-gap: 24px !important;
    flex: 1 1 0 !important;
    min-width: 0;
    flex-wrap: nowrap !important;
  }
  .home-page .hdr .hdr-nav > * { flex-shrink: 0; white-space: nowrap; }
  /* Equal free margins centre the links; overflow keeps the first link reachable. */
  .home-page .hdr .hdr-nav > :first-child { margin-inline-start: auto; }
  .home-page .hdr .hdr-nav > :last-child { margin-inline-end: auto; }
  .home-page .hdr-in:has(.hdr-language[open]) { flex-wrap: nowrap !important; }
  .home-page .hdr-in:has(.hdr-language[open]) .hdr-nav {
    flex: 1 1 0 !important;
    min-width: 0;
    margin-right: 144px;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent);
  }
  .home-page .hdr-in:has(.hdr-language[open]) .hdr-nav > * { flex-shrink: 0; }
  .home-page .hdr-in:has(.hdr-language[open]) .hdr-nav::-webkit-scrollbar { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .home-page .hdr .hdr-in { padding-inline: 24px !important; column-gap: 14px !important; }
  .home-page .hdr .hdr-nav { column-gap: 12px !important; font-size: 13px !important; }
}
@media (min-width: 1440px) {
  .home-page .hdr { --home-logo-scale: 1.714285714; }
  .home-page .hdr .hdr-in { column-gap: 24px !important; }
  .home-page .hdr .hdr-nav { column-gap: 16px !important; }
}
.home-page #inicio {
  max-width: 1440px !important;
  padding: clamp(112px, 13vh, 148px) clamp(32px, 4vw, 60px) 72px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(36px, 4.2vw, 64px) !important;
  color: var(--hero-ink);
}
.home-page #inicio h1 {
  font-size: clamp(38px, 4.5vw, 70px) !important;
}
.home-page #inicio .hero-sale-word {
  color: #ff5000;
  font-style: italic;
}
.home-page #inicio > div:first-of-type > p:last-of-type {
  color: var(--hero-muted) !important;
}
.home-page #inicio .lead-column {
  max-width: 580px;
}
.home-page #inicio .lead-card {
  --hero-ink: #f5f5f4;
  --hero-muted: #bebbb8;
  --hero-orange: #ff7900;
  width: 100%;
  max-width: none;
  padding: 26px 28px 24px;
  border: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: none;
  color: var(--hero-ink);
}
.home-page #inicio .lead-card::before,
.home-page #inicio .lead-card::after,
.home-page #inicio .lead-card-beam {
  display: none;
}
.home-page #inicio .lead-title {
  max-width: none;
  margin: 0 0 8px;
  font-size: clamp(23px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.home-page #inicio .lead-intro {
  margin: 0 0 16px;
  color: var(--hero-muted);
  font-size: 15px;
  line-height: 1.45;
}
.home-page #inicio .lead-field-group {
  margin-bottom: 0;
}
.home-page #inicio .lead-field {
  margin-bottom: 0;
}
.home-page #inicio .lead-label {
  display: block;
  position: static;
  margin-bottom: 5px;
  color: var(--hero-ink);
  font-size: 14px;
  line-height: 18px;
  white-space: normal;
}
.home-page #inicio .lead-field:has(input[required]) .lead-label::after {
  content: " *";
}
.home-page #inicio .lead-field input {
  height: 48px;
  padding: 0 18px 0 68px;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: linear-gradient(115deg, #ffffff06, transparent), #171717;
  color: var(--hero-ink);
  font-size: 16px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.home-page #inicio .lead-field input::placeholder {
  color: #aaa7a5;
}
.home-page #inicio .lead-field input:focus {
  border-color: var(--hero-orange);
  outline: none;
  box-shadow:
    0 0 0 1px #ff8c0055,
    0 0 14px #ff6a0030;
}
.home-page #inicio .lead-field input[aria-invalid="true"] {
  border-color: #ff9475;
}
.home-page #inicio .lead-field svg {
  top: 35px;
  right: auto;
  left: 24px;
  width: 24px;
  height: 24px;
  stroke: var(--hero-ink);
}
.home-page #inicio .lead-field:focus-within svg {
  stroke: #ffbd7f;
}
.home-page #inicio .lead-field-error {
  min-height: calc(1.45em + 7px);
}
.home-page #inicio .lead-submit {
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 22px;
  border: 1px solid #ffb45c;
  border-radius: 999px;
  background: linear-gradient(115deg, #ffb21a -25%, #ff6200 12%, #d63c00);
  box-shadow:
    inset 0 1px 3px #fff6,
    0 4px 22px #ff5e0026;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0;
}
.home-page #inicio .lead-submit:hover {
  filter: brightness(1.08);
}
.home-page #inicio .lead-submit:focus-visible {
  outline: 2px solid var(--hero-ink);
  outline-offset: 5px;
}
.home-page #inicio .lead-submit:disabled {
  filter: saturate(0.25);
  cursor: wait;
}
.home-page #inicio .lead-submit-text {
  flex: 0 1 auto;
  padding: 0;
}
.home-page #inicio .lead-submit-arrow {
  width: 24px;
  height: 28px;
  background: none;
}
.home-page #inicio .lead-note {
  position: relative;
  margin: 14px 0 0;
  padding-left: 0;
  color: var(--hero-muted);
  font-size: 13px;
  line-height: 1.6;
}
.home-page #inicio .lead-note a {
  color: var(--hero-ink);
}
.home-page #inicio .lead-next {
  margin-top: 20px;
}
.home-page #inicio .lead-next-title {
  gap: 20px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-ink);
}
.home-page #inicio .lead-next-title::before,
.home-page #inicio .lead-next-title::after {
  display: block;
  background: linear-gradient(90deg, transparent, #ff790066);
}
.home-page #inicio .lead-next-title::after {
  transform: rotate(180deg);
}
.home-page #inicio .lead-next li {
  gap: 8px;
  color: var(--hero-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}
.home-page #inicio .lead-next li > span {
  max-width: 13ch;
}
.home-page #inicio .lead-next li svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #ff7b0038;
  border-radius: 15px;
  background: linear-gradient(145deg, #ff7b003d, #ff7b0008);
  stroke: var(--hero-orange);
  box-shadow: inset 0 1px 2px #ffc89224;
}
.home-page #inicio .lead-next li:not(:last-child)::after {
  top: 22px;
  left: calc(50% + 35px);
  width: calc(100% - 58px);
  background: linear-gradient(
    90deg,
    transparent,
    #ff7900 25%,
    #ff7900 75%,
    transparent
  );
  box-shadow: 0 0 7px #ff790080;
}
@media (min-width: 1024px) and (max-height: 850px) {
  .home-page #inicio {
    padding-top: 108px !important;
    padding-bottom: 48px !important;
  }
  .home-page #inicio .lead-card {
    padding: 22px 24px;
    border-radius: 26px;
  }
  .home-page #inicio .lead-title {
    font-size: 22px;
  }
  .home-page #inicio .lead-intro {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.4;
  }
  .home-page #inicio .lead-label {
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 16px;
  }
  .home-page #inicio .lead-field input {
    height: 44px;
    padding-left: 58px;
  }
  .home-page #inicio .lead-field svg {
    top: 31px;
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .home-page #inicio .lead-field-error {
    min-height: 19px;
  }
  .home-page #inicio .lead-field-error p {
    font-size: 12px;
    line-height: 1.3;
  }
  .home-page #inicio .lead-field-error p span {
    padding-top: 3px;
  }
  .home-page #inicio .lead-submit {
    min-height: 48px;
    font-size: 14px;
  }
  .home-page #inicio .lead-note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
  }
  .home-page #inicio .lead-next {
    margin-top: 16px;
  }
  .home-page #inicio .lead-next-title {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .home-page #inicio .lead-next li {
    gap: 6px;
    font-size: 12px;
  }
  .home-page #inicio .lead-next li svg {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 12px;
  }
  .home-page #inicio .lead-next li:not(:last-child)::after {
    top: 20px;
  }
}
@media (max-width: 1199px) and (min-width: 1024px) {
  .home-page #inicio {
    padding-inline: 32px !important;
    column-gap: 36px !important;
  }
  .home-page #inicio .lead-card {
    padding-inline: 28px;
  }
  .home-page #inicio .lead-next-title {
    font-size: 12px;
    letter-spacing: 0.1em;
    gap: 12px;
  }
  .home-page #inicio .lead-next li {
    font-size: 13px;
  }
}
@media (max-width: 1023px) {
  .home-page #inicio {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 148px !important;
    row-gap: 48px !important;
  }
  .home-page #inicio > div:first-of-type {
    max-width: 650px;
  }
  .home-page #inicio h1 {
    font-size: clamp(38px, 7.2vw, 64px) !important;
  }
  .home-page #inicio .lead-column {
    max-width: 560px;
    justify-self: start;
  }
}
@media (max-width: 719px) {
  .home-page #inicio {
    padding: 112px 24px 56px !important;
    row-gap: 32px !important;
  }
  .home-page #inicio h1 {
    font-size: clamp(31px, 8vw, 48px) !important;
  }
    .home-page #inicio .lead-title {
    font-size: 23px;
  }
        .home-page #inicio .lead-submit {
    min-height: 48px;
    font-size: 15px;
  }
            }
@media (max-width: 359px) {
  .home-page #inicio {
    padding-inline: 18px !important;
  }
    .home-page #inicio .lead-title {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hdr,
  .home-page .hdr-in > a:first-child,
  .home-page .hdr .hdr-logo { transition: none; }
    .home-page #inicio .lead-field input {
    transition: none;
  }
}
