:root {
  --white: #ffffff;
  --ink: #111216;
  --red: #b3192a;
  --blue: #153e8f;
  --deep: #071844;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: var(--deep);
}

body.home-reception-pending {
  overflow: hidden;
}

body.home-reception-pending .home-nav,
body.home-reception-pending .hero-brand,
body.home-reception-pending .site-legal-footer,
body.home-reception-pending .privacy-banner {
  visibility: hidden;
}

html.home-reception-skip #homeBusinessGate.home-reception {
  display: none !important;
}

html.home-reception-skip body.home-reception-pending .home-nav,
html.home-reception-skip body.home-reception-pending .hero-brand,
html.home-reception-skip body.home-reception-pending .site-legal-footer,
html.home-reception-skip body.home-reception-pending .privacy-banner {
  visibility: visible;
}

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

.home-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(90deg, rgba(8, 25, 66, 0.82), rgba(15, 52, 126, 0.64)),
    url("https://static.wixstatic.com/media/cf8a14_9cf88d2eb6e24bef901a8912da55dd9f~mv2.jpg/v1/fill/w_1920,h_700,al_c,q_85,enc_avif,quality_auto/cf8a14_9cf88d2eb6e24bef901a8912da55dd9f~mv2.jpg") center top / cover no-repeat,
    radial-gradient(circle at 50% 20%, #245bb7, #071844 62%);
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 74px;
  padding: 18px;
  background: rgba(8, 24, 68, 0.74);
  border-bottom: 3px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-nav a {
  opacity: 0.92;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-nav a:hover {
  color: #ff4b5f;
  opacity: 1;
  transform: translateY(-2px);
}

.hero-brand {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(54px, 8vw, 110px) 18px;
  min-height: calc(100svh - 74px);
}

.logo-stage {
  display: grid;
  justify-items: center;
  gap: 24px;
  animation: fade-up 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-stage img {
  width: min(520px, 78vw);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.32));
  transform-origin: center;
  animation: logo-float 6s ease-in-out infinite;
}

.brand-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brand-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition:
    background 240ms ease,
    color 240ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms ease;
}

.brand-links a:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 20px 38px rgba(179, 25, 42, 0.24);
}

.access-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(8, 25, 66, 0.88), rgba(15, 52, 126, 0.72)),
    url("https://static.wixstatic.com/media/cf8a14_9cf88d2eb6e24bef901a8912da55dd9f~mv2.jpg/v1/fill/w_1920,h_700,al_c,q_85,enc_avif,quality_auto/cf8a14_9cf88d2eb6e24bef901a8912da55dd9f~mv2.jpg") center top / cover no-repeat;
}

.access-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(720px, 100%);
  padding: clamp(22px, 5vw, 42px);
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.access-card img {
  width: min(250px, 66vw);
  object-fit: contain;
}

.access-eyebrow,
.access-status {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 0;
  font-weight: 800;
}

.login-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(7, 24, 68, 0.88);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 24, 68, 0.12);
  font-size: 13px;
  text-decoration: none;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease;
}

.login-switch a:hover {
  color: var(--white);
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(179, 25, 42, 0.18);
}

.access-card h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
}

.access-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.access-options button {
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  text-align: left;
  background: #f7f7f4;
  border: 1px solid #e5e7ec;
  border-radius: 8px;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.access-options button:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: rgba(179, 25, 42, 0.32);
}

.access-options strong {
  font-size: 17px;
}

.access-options span {
  color: #666a73;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.015);
  }
}

#homeBusinessGate.home-reception {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9000 !important;
  display: grid !important;
  place-items: center !important;
  min-height: 100dvh;
  padding: clamp(18px, 4vw, 56px);
  overflow: auto;
  color: #111827;
  background:
    radial-gradient(circle at 12% 12%, rgba(21, 62, 143, 0.22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(179, 25, 42, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf3fb 48%, #ffffff 100%);
  backdrop-filter: none;
}

#homeBusinessGate.home-reception[hidden] {
  display: none !important;
}

#homeBusinessGate.home-reception::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(21, 62, 143, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 62, 143, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.home-reception-orbit {
  position: fixed;
  width: min(820px, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(21, 62, 143, 0.12);
  box-shadow:
    inset 0 0 80px rgba(21, 62, 143, 0.08),
    0 30px 120px rgba(15, 23, 42, 0.08);
  animation: reception-orbit 12s linear infinite;
  pointer-events: none;
}

#homeBusinessGate .home-reception-shell {
  position: relative;
  width: min(1180px, 100%);
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 110px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(28px);
  animation: reception-enter 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-reception-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: clamp(16px, 3vw, 28px);
}

.home-reception-hero img {
  width: clamp(78px, 11vw, 132px);
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.18));
}

.home-reception-hero h2 {
  margin: 4px 0 8px;
  color: #111827;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
}

.home-reception-hero p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #5b6474;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.45;
}

#homeBusinessGate .eyebrow {
  color: #153e8f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#homeBusinessGate .home-reception-actions {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px;
}

#homeBusinessGate .home-reception-option {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 22px;
  text-align: left;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

#homeBusinessGate .home-reception-icon {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.16));
}

#homeBusinessGate .home-reception-icon-text {
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #1249b5, #cf102d);
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

#homeBusinessGate .home-reception-option::after {
  content: "";
  position: absolute;
  inset: auto -18% -35% auto;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

#homeBusinessGate .home-reception-option:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

#homeBusinessGate .home-reception-option.is-selected {
  border-color: rgba(21, 62, 143, 0.72);
  outline: 4px solid rgba(21, 62, 143, 0.14);
  transform: translateY(-6px);
}

#homeBusinessGate .home-reception-option span:not(.home-reception-icon) {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.12);
}

#homeBusinessGate .home-reception-option strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 28px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 0.96;
  letter-spacing: 0;
  color: inherit;
}

#homeBusinessGate .home-reception-option small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  opacity: 0.94;
}

#homeBusinessGate .option-sport {
  background: linear-gradient(145deg, #153e8f, #071844) !important;
  color: #fff !important;
}

#homeBusinessGate .option-import {
  background: linear-gradient(145deg, #c40d2e, #ef6b31) !important;
  color: #fff !important;
}

#homeBusinessGate .option-catalogos {
  background: linear-gradient(145deg, #7c3aed, #ec4899) !important;
  color: #fff !important;
  border-color: rgba(236, 72, 153, 0.42) !important;
}

#homeBusinessGate .option-all {
  background: linear-gradient(145deg, #111827, #2563eb) !important;
  color: #fff !important;
  border-color: rgba(37, 99, 235, 0.42) !important;
}

#homeBusinessGate .option-all .home-reception-icon {
  border-radius: 999px;
}

#homeBusinessGate .option-all::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 999px;
  box-shadow: 10px 10px 0 -6px currentColor, 18px 10px 0 -6px currentColor;
  transform: rotate(-35deg);
  opacity: 0.9;
}

#homeBusinessGate .option-intranet {
  background: linear-gradient(145deg, #111827, #334155) !important;
  color: #fff !important;
}

#homeBusinessGate .business-pin-box {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 260px) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: #111827;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#homeBusinessGate .business-pin-box[hidden] {
  display: none !important;
}

#homeBusinessGate .business-pin-box span {
  font-size: 14px;
  font-weight: 950;
  color: #153e8f;
}

#homeBusinessGate .business-pin-box input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.54);
  border-radius: 18px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
}

#homeBusinessGate .business-pin-box button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

#homeBusinessPinMessage {
  grid-column: 1 / -1;
  color: #b3192a;
  font-size: 13px;
  font-weight: 950;
}

@keyframes reception-enter {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reception-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  #homeBusinessGate .home-reception-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  #homeBusinessGate.home-reception {
    align-items: start !important;
    padding: 16px;
  }

  #homeBusinessGate .home-reception-shell {
    border-radius: 30px;
  }

  .home-reception-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .home-reception-hero h2 {
    font-size: clamp(42px, 15vw, 68px);
  }

  #homeBusinessGate .home-reception-actions {
    grid-template-columns: 1fr !important;
  }

  #homeBusinessGate .home-reception-option {
    min-height: 148px;
  }

  #homeBusinessGate .business-pin-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: auto;
    padding: 12px;
    font-size: 11px;
    line-height: 1;
  }

  .home-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
  }

  .hero-brand {
    min-height: auto;
    padding: 36px 14px 54px;
  }

  .logo-stage {
    gap: 18px;
  }

  .logo-stage img {
    width: min(78vw, 340px);
    max-height: 240px;
  }

  .brand-links {
    width: min(360px, 100%);
  }

  .brand-links a {
    flex: 1 1 150px;
    min-height: 42px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .access-options {
    grid-template-columns: 1fr;
  }

  .access-card {
    padding: 18px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .hero-brand {
    padding: 58px 24px 72px;
  }

  .logo-stage img {
    width: min(58vw, 470px);
    max-height: 320px;
  }

  .access-card {
    width: min(680px, calc(100% - 36px));
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .home-page {
    grid-template-rows: auto auto;
  }

  .hero-brand {
    min-height: auto;
    padding-block: 24px 34px;
  }

  .logo-stage img {
    max-height: 180px;
  }
}

/* 2026-07-18: legibilidad y limpieza visual de la recepcion digital. */
#homeBusinessGate .home-reception-option small {
  color: rgba(255, 255, 255, 0.96) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.28);
}

#homeBusinessGate .home-reception-option span:not(.home-reception-icon),
#homeBusinessGate .home-reception-option strong {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
}

#homeBusinessGate .option-all .home-reception-icon {
  display: inline-block !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px;
}

#homeBusinessGate .option-all::before,
#homeBusinessGate .option-all::after {
  display: none !important;
}

#homeBusinessGate .option-catalogos strong {
  letter-spacing: 0;
}

@media (max-width: 680px) {
  #homeBusinessGate .home-reception-option small {
    font-size: 14px;
  }
}
