:root {
  --entry-black: #050505;
  --entry-white: #f2f0eb;
  --entry-muted: rgba(242, 240, 235, 0.62);
  --entry-warm: rgba(180, 137, 83, 0.46);
  --entry-cool: rgba(74, 94, 104, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body.entry-page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--entry-black);
  color: var(--entry-white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.entry-selector {
  position: relative;
  display: flex;
  width: 100vw;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}

.entry-selector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 76%, rgba(172, 130, 74, 0.11), transparent 34%),
    radial-gradient(circle at 79% 36%, rgba(85, 100, 108, 0.1), transparent 38%),
    radial-gradient(circle at 50% 55%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.54) 76%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12));
}

.entry-selector::after {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: 50%;
  width: 26vw;
  z-index: 5;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(46px);
  transform: translateX(-50%);
}

.entry-selector__brand {
  position: absolute;
  top: clamp(1.4rem, 3.2vh, 2.4rem);
  left: 50%;
  z-index: 8;
  display: block;
  width: 5vw;
  height: auto;
  margin: 0;
  transform: translateX(-50%);
  opacity: 0.84;
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
}

.entry-selector__choice {
  position: relative;
  display: flex;
  flex: 1 1 50%;
  min-width: 0;
  align-items: flex-end;
  overflow: hidden;
  color: var(--entry-white);
  text-decoration: none;
  outline: none;
  transition:
    flex-basis 950ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 950ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.entry-selector__choice::before,
.entry-selector__choice::after {
  content: "";
  position: absolute;
  inset: -2%;
  pointer-events: none;
}

.entry-selector__choice::before {
  z-index: 1;
  background-position: center;
  background-size: cover;
  filter: saturate(0.62) contrast(1.04) brightness(0.82);
  transform: scale(1.025);
  transition:
    transform 1100ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 950ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.entry-selector__choice::after {
  z-index: 2;
  transition: opacity 950ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.entry-selector__choice--sociales::before {
  background-image: url("/shared/assets/images/casamiento/carrete(632).webp");
  background-position: 46% center;
}

.entry-selector__choice--sociales::after {
  background:
    radial-gradient(circle at 20% 80%, rgba(178, 133, 74, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(20, 13, 8, 0.12), rgba(10, 8, 6, 0.28) 78%, rgba(5, 5, 5, 0.4)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.48), rgba(3, 3, 3, 0.08) 44%, rgba(3, 3, 3, 0.56));
}

.entry-selector__choice--corporativo::before {
  background-image: url("/features/corporativo/assets/images/corporativo/cards/card-asesoria.webp");
  background-position: center;
}

.entry-selector__choice--corporativo::after {
  background:
    radial-gradient(circle at 72% 34%, rgba(82, 96, 104, 0.14), transparent 36%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.38), rgba(8, 12, 14, 0.16)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.5), rgba(3, 3, 3, 0.1) 42%, rgba(3, 3, 3, 0.58));
}

.entry-selector__copy {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-width: 92%;
  margin-bottom: clamp(4.5rem, 12vh, 8rem);
  transform: translateY(0);
  transition:
    opacity 950ms ease,
    transform 950ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.entry-selector__label {
  display: block;
  color: rgba(242, 240, 235, 0.8);
  font-family: "Bebas Neue", "Inter", system-ui, sans-serif;
  font-size: clamp(3.6rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  transform: scaleX(0.86);
  transition:
    color 950ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 950ms ease,
    transform 950ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.entry-selector__support {
  display: block;
  color: rgba(232, 228, 219, 0.54);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.78rem, 1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  max-width: 26rem;
  text-align: center;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
}

.entry-selector__choice--sociales .entry-selector__copy {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  transform-origin: center;
}

.entry-selector__choice--sociales .entry-selector__label {
  color: rgba(218, 190, 145, 0.82);
  transform-origin: center;
}

.entry-selector__choice--sociales .entry-selector__support {
  color: rgba(218, 190, 145, 0.58);
}

.entry-selector__choice--corporativo .entry-selector__copy {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  transform-origin: center;
}

.entry-selector__choice--corporativo .entry-selector__label {
  color: rgba(220, 225, 226, 0.78);
  transform-origin: center;
}

.entry-selector__choice--corporativo .entry-selector__support {
  color: rgba(220, 225, 226, 0.5);
}

.entry-selector__choice:focus-visible .entry-selector__copy {
  outline: 1px solid rgba(242, 240, 235, 0.66);
  outline-offset: 0.24em;
}

.entry-selector:has(.entry-selector__choice--sociales:is(:hover, :focus-visible)) .entry-selector__choice--sociales,
.entry-selector:has(.entry-selector__choice--corporativo:is(:hover, :focus-visible)) .entry-selector__choice--corporativo {
  flex-basis: 56%;
}

.entry-selector:has(.entry-selector__choice--sociales:is(:hover, :focus-visible)) .entry-selector__choice--corporativo,
.entry-selector:has(.entry-selector__choice--corporativo:is(:hover, :focus-visible)) .entry-selector__choice--sociales {
  flex-basis: 44%;
}

.entry-selector__choice:is(:hover, :focus-visible)::before {
  filter: saturate(0.68) contrast(1.06) brightness(0.9);
  transform: scale(1.03);
}

.entry-selector__choice:is(:hover, :focus-visible)::after {
  opacity: 0.74;
}

.entry-selector__choice:is(:hover, :focus-visible) .entry-selector__copy {
  transform: translateY(-0.4rem);
}

.entry-selector__choice:is(:hover, :focus-visible) .entry-selector__label {
  color: rgba(248, 246, 240, 0.92);
  transform: scaleX(0.86) scale(1.025);
}

.entry-selector:has(.entry-selector__choice--sociales:is(:hover, :focus-visible)) .entry-selector__choice--corporativo::before,
.entry-selector:has(.entry-selector__choice--corporativo:is(:hover, :focus-visible)) .entry-selector__choice--sociales::before {
  filter: saturate(0.48) contrast(0.96) brightness(0.56) blur(0.7px);
  transform: scale(1.025);
}

.entry-selector:has(.entry-selector__choice--sociales:is(:hover, :focus-visible)) .entry-selector__choice--corporativo .entry-selector__copy,
.entry-selector:has(.entry-selector__choice--corporativo:is(:hover, :focus-visible)) .entry-selector__choice--sociales .entry-selector__copy {
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .entry-selector__choice,
  .entry-selector__choice::before,
  .entry-selector__choice::after,
  .entry-selector__copy,
  .entry-selector__label {
    transition: none;
  }
}

@media (max-width: 780px) {
  body.entry-page {
    overflow: auto;
  }

  .entry-selector {
    display: block;
    min-height: 100svh;
    height: auto;
  }

  .entry-selector::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.72)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.46));
  }

  .entry-selector__brand {
    top: 1.25rem;
    width: 16vw;
  }

  .entry-selector__choice {
    display: grid;
    width: 100%;
    height: 50svh;
    min-height: 320px;
  }

  .entry-selector__choice--sociales::before {
    background-position: center 58%;
  }

  .entry-selector__choice--corporativo::before {
    background-position: center 48%;
  }

  .entry-selector__label {
    font-size: clamp(3.4rem, 15vw, 5.8rem);
  }

  .entry-selector__support {
    font-size: clamp(0.72rem, 3vw, 0.9rem);
    letter-spacing: 0.08em;
  }

  .entry-selector__choice--sociales .entry-selector__copy,
  .entry-selector__choice--corporativo .entry-selector__copy {
    margin-right: auto;
    margin-bottom: clamp(2.6rem, 8vh, 4.5rem);
    margin-left: clamp(1.5rem, 8vw, 3rem);
    text-align: left;
    transform-origin: center;
  }

  .entry-selector:has(.entry-selector__choice--sociales:is(:hover, :focus-visible)) .entry-selector__choice--sociales,
  .entry-selector:has(.entry-selector__choice--corporativo:is(:hover, :focus-visible)) .entry-selector__choice--corporativo,
  .entry-selector:has(.entry-selector__choice--sociales:is(:hover, :focus-visible)) .entry-selector__choice--corporativo,
  .entry-selector:has(.entry-selector__choice--corporativo:is(:hover, :focus-visible)) .entry-selector__choice--sociales {
    flex-basis: auto;
  }
}
