@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("/landing7/fonts/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("/landing7/fonts/Inter-Bold.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #242424;
  color: #4b4b51;
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
}

.split-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
}

.split-screen {
  position: relative;
  container-type: inline-size;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-shadow: none;
}

.split-screen::before,
.split-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.split-screen::before {
  background-image: url("img/split/fondo/mobile_x2.png");
  opacity: 1;
}

.split-screen::after {
  background-image: url("img/split/fondo/desktop_x2.png");
  opacity: 0;
}

.choice {
  position: absolute;
  z-index: 1;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.4vh, 38px);
  width: 50%;
  height: 100%;
  padding-top: clamp(30px, 4.2vh, 46px);
}

.choice-dental {
  left: 0;
  align-items: flex-start;
  padding-right: 2vw;
  padding-left: 7.5vw;
}

.choice-alignia {
  right: 0;
  align-items: flex-end;
  padding-right: 7.5vw;
  padding-left: 2vw;
  text-align: center;
}

.dental-logo {
  width: clamp(132px, 37.5vw, 160px);
  height: auto;
}

.alignia-logo {
  width: clamp(132px, 37.5vw, 160px);
  height: auto;
}

.choice h1,
.choice h2 {
  margin: 0;
  letter-spacing: 0;
  font-size: clamp(23px, 6.35vw, 30px);
  font-weight: 700;
  line-height: 1.08;
}

.choice h1 {
  max-width: min(38vw, 160px);
  color: #00a5a8;
}

.choice h2 {
  max-width: min(38vw, 160px);
  min-height: 2.16em;
  color: #8236d5;
  text-align: right;
}

.enter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(86px, 21.5vw, 112px);
  height: clamp(28px, 7.2vw, 36px);
  padding: 0 clamp(18px, 4.4vw, 24px);
  border-radius: 999px;
  color: #fff;
  font-size: clamp(14px, 3.7vw, 18px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.enter-button:hover,
.enter-button:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.enter-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.enter-button-dental {
  background: #00a5a8;
}

.enter-button-alignia {
  background: #9144dd;
  margin-top: clamp(24.84px, 6.858vw, 32.4px);
}

@media (max-aspect-ratio: 9 / 16) {
  .split-screen {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    min-width: 0;
    min-height: 0;
  }
}

@media (min-aspect-ratio: 9 / 16) {
  .split-screen {
    width: 100vw;
    height: 100vh;
    height: 100svh;
  }
}

@media (min-width: 600px) and (orientation: portrait) {
  .choice {
    gap: clamp(34px, 3.8vh, 48px);
    padding-top: clamp(48px, 5vh, 70px);
  }

  .choice-dental {
    padding-left: 7vw;
  }

  .choice-alignia {
    padding-right: 7vw;
  }

  .dental-logo,
  .alignia-logo {
    width: clamp(190px, 33vw, 265px);
  }

  .choice h1,
  .choice h2 {
    max-width: min(36vw, 260px);
    font-size: clamp(34px, 5.7vw, 46px);
  }

  .enter-button {
    min-width: clamp(132px, 19vw, 165px);
    height: clamp(42px, 5.7vw, 50px);
    padding: 0 clamp(24px, 4vw, 34px);
    font-size: clamp(19px, 3vw, 23px);
  }

  .enter-button-alignia {
    margin-top: clamp(36.72px, 6.156vw, 49.68px);
  }
}

@media (orientation: landscape) and (max-height: 649px) {
  .split-screen::before {
    opacity: 0;
  }

  .split-screen::after {
    opacity: 1;
  }

  .choice {
    gap: clamp(10px, 3.2vh, 18px);
    padding-top: clamp(14px, 4vh, 24px);
  }

  .choice-dental {
    padding-left: 4.85vw;
  }

  .choice-alignia {
    padding-right: 4.85vw;
  }

  .dental-logo,
  .alignia-logo {
    width: clamp(140px, 19vw, 205px);
  }

  .choice h1,
  .choice h2 {
    max-width: min(30vw, 280px);
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.08;
  }

  .choice h2 {
    min-height: 3.24em;
  }

  .enter-button {
    min-width: clamp(120px, 12.5vw, 150px);
    height: clamp(34px, 7.5vh, 42px);
    padding: 0 clamp(22px, 2.8vw, 32px);
    font-size: clamp(16px, 2.6vw, 20px);
  }

  .enter-button-alignia {
    margin-top: 0;
  }
}

@media (min-width: 900px) and (min-height: 650px) and (orientation: landscape) {
  .split-screen {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    min-width: 0;
    min-height: 0;
  }

  .split-screen::before {
    opacity: 0;
  }

  .split-screen::after {
    opacity: 1;
  }

  .choice {
    gap: clamp(20px, 5.2vh, 60px);
    padding-top: clamp(42px, 8.5vh, 76px);
  }

  .choice-dental {
    padding-left: 4.85vw;
  }

  .choice-alignia {
    padding-right: 4.85vw;
  }

  .dental-logo {
    width: clamp(250px, 21vw, 315px);
  }

  .alignia-logo {
    width: clamp(250px, 21vw, 315px);
  }

  .choice h1,
  .choice h2 {
    font-size: clamp(44px, 3.55vw, 52px);
    line-height: 1.08;
  }

  .choice h1 {
    max-width: min(24vw, 460px);
  }

  .choice h2 {
    max-width: min(24vw, 460px);
    min-height: 3.24em;
  }

  .enter-button {
    min-width: clamp(166px, 11.45vw, 190px);
    height: clamp(49px, 3.4vw, 56px);
    padding: 0 clamp(28px, 2.35vw, 36px);
    font-size: clamp(22px, 1.74vw, 24px);
  }

  .enter-button-alignia {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-screen,
  .split-screen::before,
  .split-screen::after,
  .dental-logo,
  .alignia-logo,
  .choice h1,
  .choice h2,
  .enter-button {
    transition: none;
  }
}
