:root {
  --bg: #01050a;
  --bg-soft: #03101c;
  --panel: rgba(4, 14, 25, 0.88);
  --line: rgba(93, 168, 255, 0.24);
  --blue: #2594ff;
  --blue-light: #8ac9ff;
  --text: #edf6ff;
  --muted: #9dabb9;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(24, 106, 198, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #01050a 0%, #020811 100%);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 78px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 28px;
  background: rgba(1, 5, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 70px;
}

.brand-symbol {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 0 10px rgba(37, 148, 255, 0.42))
    drop-shadow(0 0 18px rgba(0, 0, 0, 0.75));
}

.brand-name {
  min-width: 0;
  font-family: "Cinzel", serif;
}

.brand-name strong {
  display: block;
  white-space: nowrap;
  font-size: 1.1rem;
  letter-spacing: 0.07em;
}

.brand-name span {
  display: block;
  margin-top: 2px;
  color: var(--blue-light);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.6vw, 42px);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a {
  position: relative;
  padding: 30px 0 26px;
  color: #c5d0db;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 13px var(--blue);
  transition: right 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 12px;
  cursor: pointer;
}

.btn {
  min-height: 46px;
  padding: 0 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  background:
    linear-gradient(
      180deg,
      rgba(25, 100, 177, 0.62),
      rgba(4, 24, 47, 0.94)
    );
  border: 1px solid rgba(91, 177, 255, 0.88);
  box-shadow:
    inset 0 0 20px rgba(55, 146, 255, 0.1),
    0 0 25px rgba(21, 106, 220, 0.2);
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: #b0dcff;
  box-shadow:
    inset 0 0 22px rgba(55, 146, 255, 0.18),
    0 0 35px rgba(21, 106, 220, 0.38);
}

.btn-ghost {
  background: rgba(2, 10, 18, 0.78);
  border-color: rgba(187, 211, 235, 0.34);
}

.btn-small {
  min-height: 42px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 820px;
  padding: 110px 6vw 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #01050a;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 4, 8, 0.82) 0%,
      rgba(0, 5, 11, 0.60) 24%,
      rgba(0, 6, 13, 0.22) 50%,
      rgba(0, 4, 9, 0.04) 100%
    ),
    url("assets/hero-bg.png");
  background-size:
    100% 100%,
    contain;
  background-position:
    center,
    center center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(transparent, var(--bg));
}

.hero-darken {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 74% 34%,
      rgba(33, 135, 255, 0.08),
      transparent 32%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-logo-top {
  display: block;
  width: clamp(120px, 12vw, 170px);
  height: auto;
  margin: 0 0 18px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(37, 148, 255, 0.28))
    drop-shadow(0 12px 20px rgba(0, 0, 0, 0.6));
}

.eyebrow,
.section-kicker {
  color: var(--blue-light);
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 6px 0 0;
  font-family: "Cinzel", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: transparent;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #dbe3ea 38%,
      #7f8c98 76%,
      #46515c 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 10px 8px rgba(0,0,0,.75));
}

.hero h2 {
  margin: 22px 0;
  color: var(--blue-light);
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: #d2dce6;
  line-height: 1.8;
  text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.section {
  width: min(1420px, 92vw);
  margin: 0 auto;
  padding: 90px 0;
  text-align: center;
}

.section h2 {
  margin: 12px 0 19px;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
}

.section-lead {
  max-width: 850px;
  margin: 0 auto 46px;
  color: var(--muted);
  line-height: 1.8;
}

.intro {
  padding-bottom: 45px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 19px;
}

.card {
  min-height: 245px;
  padding: 33px 24px;
  border: 1px solid rgba(116, 174, 235, 0.21);
  background:
    linear-gradient(
      180deg,
      rgba(7, 20, 36, 0.84),
      rgba(2, 9, 17, 0.96)
    );
  box-shadow: var(--shadow);
}

.card-icon {
  margin-bottom: 18px;
  color: var(--blue-light);
  font-size: 2.35rem;
  text-shadow: 0 0 18px rgba(37, 144, 255, 0.4);
}

.card h3,
.cp-card h3 {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
}

.card p,
.cp-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.cp-section {
  width: 100%;
  max-width: none;
  padding-left: 5vw;
  padding-right: 5vw;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(28, 105, 191, 0.12),
      transparent 38%
    ),
    linear-gradient(
      rgba(2, 9, 16, 0.88),
      rgba(1, 5, 10, 0.98)
    );
  border-block: 1px solid var(--line);
}

.cp-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.cp-card {
  min-height: 225px;
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 23px;
  text-align: left;
  border: 1px solid rgba(116, 174, 235, 0.21);
  background:
    linear-gradient(
      180deg,
      rgba(7, 20, 36, 0.84),
      rgba(2, 9, 17, 0.96)
    );
  box-shadow: var(--shadow);
}

.cp-icon {
  flex: 0 0 65px;
  color: var(--blue-light);
  font-size: 3rem;
  text-align: center;
}

.cp-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.contact-panel {
  padding: 50px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  text-align: left;
  border: 1px solid var(--line);
  background:
    linear-gradient(
      135deg,
      rgba(7, 19, 34, 0.94),
      rgba(2, 8, 15, 0.97)
    );
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  text-align: left;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.join-form {
  display: grid;
  gap: 19px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #dbe6f1;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: white;
  background: rgba(1, 7, 13, 0.85);
  border: 1px solid rgba(112, 169, 228, 0.23);
  outline: none;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 148, 255, 0.08);
}

footer {
  min-height: 115px;
  padding: 30px 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: #9cabb9;
  background: #01050a;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer strong {
  color: #e9f1f8;
  font-family: "Cinzel", serif;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 260px 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.7rem;
  }

  .requirements-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .main-nav,
  .btn-small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav.open {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: rgba(1, 5, 10, 0.99);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open a {
    padding: 13px;
  }

  .hero {
    min-height: 960px;
    padding: 430px 28px 80px;
    align-items: flex-end;
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 4, 8, 0.04) 0%,
        rgba(0, 4, 8, 0.10) 22%,
        rgba(0, 4, 8, 0.70) 48%,
        rgba(0, 4, 8, 0.96) 72%,
        #01050a 100%
      ),
      url("assets/hero-bg.png");
    background-size:
      100% 100%,
      100% auto;
    background-position:
      center,
      center top;
  }

  .hero-content {
    max-width: 700px;
    text-align: center;
  }

  .hero-logo-top {
    margin: 0 auto 18px;
    width: 140px;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact-copy h2 {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand {
    height: 60px;
    gap: 10px;
  }

  .brand-symbol {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-name strong {
    font-size: 0.88rem;
  }

  .brand-name span {
    font-size: 0.56rem;
    letter-spacing: 0.22em;
  }

  .main-nav.open {
    top: 66px;
  }

  .hero {
    min-height: 880px;
    padding: 330px 20px 65px;
  }

  .hero-logo-top {
    width: 118px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
    line-height: 0.93;
  }

  .hero h2 {
    font-size: 1rem;
    letter-spacing: 0.21em;
  }

  .hero p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cp-actions .btn {
    width: 100%;
  }

  .section {
    width: min(92vw, 620px);
    padding: 65px 0;
  }

  .section h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .requirements-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cp-card {
    min-height: 0;
    padding: 27px 23px;
    align-items: flex-start;
  }

  .cp-icon {
    flex-basis: 48px;
    font-size: 2.3rem;
  }

  .cp-actions {
    flex-direction: column;
  }

  .contact-panel {
    padding: 26px 20px;
  }

  footer {
    padding: 28px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .brand-name strong {
    font-size: 0.78rem;
  }

  .brand-name span {
    font-size: 0.5rem;
  }

  .hero {
    min-height: 840px;
    padding-top: 290px;
  }

  .hero-logo-top {
    width: 105px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }
}


/* =====================================================
   AJUSTE FINAL DE ENCUADRE Y PROPORCIONES
   ===================================================== */

.hero {
  position: relative;

  min-height: 690px;
  max-height: 820px;

  padding:
    78px
    max(5vw, calc((100vw - 1500px) / 2 + 55px))
    64px;

  display: flex;
  align-items: center;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  isolation: isolate;
}

/* Marco interior cinematográfico */
.hero-darken::after {
  content: "";
  position: absolute;
  inset: 20px;

  z-index: 2;
  pointer-events: none;

  border: 1px solid rgba(107, 174, 255, 0.15);

  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(0, 0, 0, 0.18);
}

/* Oscurecimiento equilibrado del lado del texto */
.hero-darken {
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 4, 9, 0.93) 0%,
      rgba(0, 5, 11, 0.82) 24%,
      rgba(0, 6, 13, 0.43) 44%,
      rgba(0, 4, 9, 0.08) 68%,
      rgba(0, 3, 7, 0.02) 100%
    ),
    radial-gradient(
      circle at 73% 34%,
      rgba(34, 137, 255, 0.09),
      transparent 34%
    );
}

.hero-content {
  z-index: 4;

  width: min(560px, 46vw);
  max-width: 560px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  transform: translateY(-12px);
}

/* Logo más presente y más próximo al contenido */
.hero-logo-top {
  width: clamp(142px, 10vw, 175px);

  margin:
    0
    0
    12px
    4px;

  filter:
    drop-shadow(0 0 17px rgba(40, 144, 255, 0.3))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.7));
}

.eyebrow {
  margin-left: 2px;

  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

/* Título más equilibrado */
.hero h1 {
  margin-top: 9px;

  font-size: clamp(4.1rem, 6.2vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

/* Subtítulo más próximo */
.hero h2 {
  margin: 21px 0 17px;

  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  letter-spacing: 0.25em;
}

/* Texto con mejor presencia */
.hero p {
  max-width: 540px;

  font-size: 1.05rem;
  line-height: 1.72;

  color: #d8e2ec;

  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.85);
}

/* Botones más cercanos al contenido */
.hero-actions {
  gap: 14px;
  margin-top: 25px;
}

/* Menos espacio vacío al final */
.hero::after {
  height: 100px;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(1, 5, 10, 0.93)
    );
}

/* Transición más compacta con la siguiente sección */
.intro {
  padding-top: 70px;
}


/* =====================================================
   NOTEBOOK
   ===================================================== */

@media (max-width: 1250px) {

  .hero {
    min-height: 660px;

    padding:
      72px
      5vw
      58px;

    background-position: 56% center;
  }

  .hero-content {
    width: min(520px, 48vw);
  }

  .hero h1 {
    font-size: clamp(3.8rem, 6.4vw, 5.5rem);
  }

  .hero-logo-top {
    width: 145px;
  }

  .hero p {
    font-size: 0.98rem;
  }

}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 920px) {

  .hero {
    min-height: 850px;
    max-height: none;

    padding:
      370px
      32px
      70px;

    align-items: flex-end;

    background-size: auto 100%;
    background-position: 63% top;
  }

  .hero-darken {
    background:
      linear-gradient(
        180deg,
        rgba(0, 4, 8, 0.03) 0%,
        rgba(0, 4, 8, 0.11) 28%,
        rgba(0, 4, 8, 0.76) 50%,
        rgba(0, 4, 8, 0.97) 76%,
        #01050a 100%
      );
  }

  .hero-darken::after {
    inset: 14px;
  }

  .hero-content {
    width: min(680px, 100%);
    max-width: 680px;

    margin: 0 auto;

    align-items: center;
    text-align: center;

    transform: none;
  }

  .hero-logo-top {
    width: 140px;
    margin: 0 auto 12px;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

}


/* =====================================================
   CELULAR
   ===================================================== */

@media (max-width: 620px) {

  .hero {
    min-height: 790px;

    padding:
      300px
      21px
      58px;

    background-size: auto 100%;
    background-position: 64% top;
  }

  .hero-darken::after {
    inset: 9px;
  }

  .hero-logo-top {
    width: 112px;
    margin-bottom: 10px;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.13em;
  }

  .hero h1 {
    margin-top: 10px;

    font-size: clamp(2.8rem, 15vw, 4.2rem);
    line-height: 0.92;
  }

  .hero h2 {
    margin: 16px 0 14px;

    font-size: 0.96rem;
    letter-spacing: 0.19em;
  }

  .hero p {
    max-width: 440px;

    font-size: 0.9rem;
    line-height: 1.63;
  }

  .hero-actions {
    width: 100%;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

}


/* =========================================================
   CENTRO DE ORGANIZACION DEFINITIVO
   ========================================================= */

.shadow-flow-section {
  padding-top: 78px !important;
  padding-bottom: 82px !important;
  border-top: 1px solid rgba(71, 139, 209, 0.24);
  border-bottom: 1px solid rgba(71, 139, 209, 0.24);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(32, 111, 194, 0.1),
      transparent 35%
    ),
    rgba(1, 7, 15, 0.34);
}

.shadow-flow-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.shadow-flow-heading {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.shadow-flow-heading h2 {
  margin: 12px 0 16px;
  color: #eef5ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.shadow-flow-heading p {
  max-width: 730px;
  margin: 0 auto;
  color: #91a5bc;
  font-size: 14px;
  line-height: 1.75;
}

.shadow-flow-grid {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    34px
    minmax(0, 1fr)
    34px
    minmax(0, 1fr)
    34px
    minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.shadow-flow-card {
  position: relative;
  min-width: 0;
  min-height: 285px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start;
  padding: 29px 24px 25px !important;
  border: 1px solid rgba(79, 150, 222, 0.38) !important;
  border-radius: 0 !important;
  text-align: left !important;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(38, 123, 212, 0.13),
      transparent 44%
    ),
    linear-gradient(
      145deg,
      rgba(7, 19, 35, 0.97),
      rgba(2, 9, 19, 0.98)
    ) !important;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.shadow-flow-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(75, 160, 244, 0.09);
  border-radius: 50%;
}

.shadow-flow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 181, 255, 0.7) !important;
  box-shadow:
    0 27px 55px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(27, 111, 202, 0.1);
}

.shadow-flow-number {
  position: absolute;
  top: 19px;
  right: 20px;
  color: rgba(110, 180, 248, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.shadow-flow-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 0 22px;
  border: 1px solid rgba(94, 177, 255, 0.5);
  color: #73bbff;
  background:
    linear-gradient(
      145deg,
      rgba(28, 99, 170, 0.22),
      rgba(12, 45, 83, 0.14)
    );
  box-shadow:
    0 0 24px rgba(36, 126, 211, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 23px;
}

.shadow-flow-label {
  margin-bottom: 10px;
  color: #67b5fb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2.1px;
}

.shadow-flow-card h3 {
  margin: 0 0 13px !important;
  color: #eef5ff !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.shadow-flow-card p {
  margin: 0 !important;
  color: #8fa3ba !important;
  font-size: 12px !important;
  line-height: 1.72 !important;
  text-align: left !important;
}

.shadow-flow-arrow {
  display: grid !important;
  place-items: center;
  align-self: center;
  color: rgba(91, 177, 255, 0.7);
  font-size: 25px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(50, 142, 227, 0.25);
}

.shadow-flow-actions {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.shadow-flow-actions .btn {
  min-width: 260px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shadow-flow-panel-button {
  min-width: 260px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(78, 140, 201, 0.38);
  color: #a7b6c7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  background: rgba(4, 12, 22, 0.78);
  text-transform: uppercase;
  cursor: default;
}

.shadow-flow-panel-button small {
  padding: 3px 6px;
  border: 1px solid rgba(88, 159, 228, 0.32);
  color: #6caee8;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

@media (max-width: 1100px) {
  .shadow-flow-grid {
    grid-template-columns:
      minmax(0, 1fr)
      28px
      minmax(0, 1fr);
    gap: 14px;
  }

  .shadow-flow-arrow:nth-of-type(4) {
    display: none !important;
  }

  .shadow-flow-arrow {
    font-size: 22px;
  }

  .shadow-flow-card {
    min-height: 250px;
  }
}

@media (max-width: 720px) {
  .shadow-flow-section {
    padding-top: 54px !important;
    padding-bottom: 57px !important;
  }

  .shadow-flow-container {
    width: min(100% - 24px, 1180px);
  }

  .shadow-flow-heading {
    margin-bottom: 29px;
  }

  .shadow-flow-heading h2 {
    font-size: 32px;
  }

  .shadow-flow-grid {
    grid-template-columns: 1fr !important;
    gap: 11px;
  }

  .shadow-flow-arrow {
    height: 26px;
    transform: rotate(90deg);
  }

  .shadow-flow-card {
    min-height: auto;
    padding: 25px 22px !important;
  }

  .shadow-flow-actions {
    display: grid !important;
  }

  .shadow-flow-actions .btn,
  .shadow-flow-panel-button {
    width: 100%;
    min-width: 0;
  }
}


/* =========================================================
   CP ARTEMISA - VISTA PUBLICA
   ========================================================= */

.public-cp-section {
  padding-top: 78px;
  padding-bottom: 82px;
  border-top: 1px solid rgba(73, 143, 213, 0.25);
  border-bottom: 1px solid rgba(73, 143, 213, 0.25);
  background:
    radial-gradient(
      circle at 70% 0%,
      rgba(31, 111, 197, 0.1),
      transparent 36%
    ),
    rgba(2, 8, 16, 0.3);
}

.public-cp-heading {
  max-width: 800px;
  margin: 0 auto 38px;
  text-align: center;
}

.public-cp-heading h2 {
  margin: 12px 0 14px;
  color: #eef5ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
}

.public-cp-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #8fa4bc;
  font-size: 14px;
  line-height: 1.75;
}

.public-cp-card {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(82, 154, 225, 0.38);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 126, 213, 0.13),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(7, 18, 33, 0.98),
      rgba(3, 10, 19, 0.98)
    );
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.public-cp-main {
  min-width: 0;
  padding: 31px;
}

.public-cp-title {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
}

.public-cp-label,
.public-cp-subtitle {
  color: #68b8ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2.1px;
}

.public-cp-title h3 {
  margin: 8px 0 11px;
  color: #f1f7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.public-cp-description {
  max-width: 720px;
  margin: 0;
  color: #8fa4bc;
  font-size: 13px;
  line-height: 1.7;
}

.public-cp-badges {
  min-width: 130px;
  display: grid;
  gap: 8px;
}

.public-cp-status,
.public-cp-rank {
  padding: 8px 10px;
  border: 1px solid;
  text-align: center;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.public-cp-status {
  border-color: rgba(88, 173, 255, 0.43);
  color: #75bdff;
  background: rgba(24, 91, 155, 0.15);
}

.public-cp-rank {
  border-color: rgba(205, 126, 69, 0.52);
  color: #e2a176;
  background: rgba(123, 63, 28, 0.2);
}

.public-cp-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
}

.public-cp-meta > div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(78, 145, 211, 0.2);
  background: rgba(3, 11, 20, 0.58);
}

.public-cp-meta span {
  display: block;
  margin-bottom: 5px;
  color: #637b94;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.public-cp-meta strong {
  color: #bccddd;
  font-size: 10px;
}

.public-cp-composition {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 16px;
  margin-top: 17px;
}

.public-cp-requirements,
.public-cp-flex {
  padding: 20px;
  border: 1px solid rgba(78, 145, 211, 0.2);
  background: rgba(3, 11, 20, 0.56);
}

.public-cp-requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.public-cp-requirement-grid > div {
  min-height: 70px;
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid;
}

.public-cp-requirement-grid > div > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.public-cp-requirement-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #dfeafa;
  font-size: 11px;
}

.public-cp-requirement-grid small {
  color: #788da4;
  font-size: 8px;
  line-height: 1.4;
}

.public-cp-requirement-grid .is-missing {
  border-color: rgba(255, 119, 91, 0.27);
  background: rgba(113, 39, 25, 0.11);
}

.public-cp-requirement-grid .is-missing > span {
  border: 1px solid rgba(255, 138, 97, 0.42);
  color: #f2a073;
}

.public-cp-requirement-grid .is-complete {
  border-color: rgba(72, 216, 153, 0.3);
  background: rgba(25, 105, 72, 0.12);
}

.public-cp-requirement-grid .is-complete > span {
  border: 1px solid rgba(81, 222, 164, 0.42);
  color: #77dfad;
}

.public-cp-flex h4 {
  margin: 13px 0 10px;
  color: #edf5ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.public-cp-flex p {
  margin: 0;
  color: #879bb2;
  font-size: 11px;
  line-height: 1.65;
}

.public-cp-flex-slots {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.public-cp-flex-slots span {
  padding: 9px 11px;
  border: 1px solid rgba(82, 153, 222, 0.23);
  color: #8fb7da;
  font-size: 9px;
  font-weight: 800;
  background: rgba(13, 43, 72, 0.18);
}

.public-cp-alert {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 153, 75, 0.4);
  background:
    linear-gradient(
      90deg,
      rgba(143, 64, 18, 0.2),
      rgba(72, 25, 12, 0.08)
    );
}

.public-cp-alert > div {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 170, 87, 0.51);
  color: #ffb271;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 900;
}

.public-cp-alert p {
  margin: 0;
  color: #d7ad8a;
  font-size: 11px;
  line-height: 1.6;
}

.public-cp-alert p > span {
  display: block;
  margin-bottom: 3px;
  color: #d8874b;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.public-cp-alert strong {
  color: #ffd0aa;
}

.public-cp-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-left: 1px solid rgba(77, 144, 210, 0.22);
  background:
    linear-gradient(
      160deg,
      rgba(14, 49, 83, 0.5),
      rgba(4, 16, 29, 0.8)
    );
}

.public-cp-action > span {
  color: #69b7fc;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.public-cp-action h4 {
  margin: 10px 0;
  color: #f0f6ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.public-cp-action p {
  margin: 0 0 22px;
  color: #8ca1b8;
  font-size: 11px;
  line-height: 1.7;
}

.public-cp-action .btn {
  width: 100%;
  justify-content: center;
}

.public-cp-panel-link {
  margin-top: 13px;
  color: #7e9fbd;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
}

.public-cp-panel-link:hover {
  color: #75bdff;
}

@media (max-width: 1000px) {
  .public-cp-card {
    grid-template-columns: 1fr;
  }

  .public-cp-action {
    border-top: 1px solid rgba(77, 144, 210, 0.22);
    border-left: 0;
  }

  .public-cp-composition {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .public-cp-card {
    width: min(100% - 24px, 1180px);
  }

  .public-cp-main {
    padding: 22px 17px;
  }

  .public-cp-title {
    flex-direction: column;
  }

  .public-cp-badges {
    width: 100%;
  }

  .public-cp-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-cp-requirement-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .public-cp-meta {
    grid-template-columns: 1fr;
  }

  .public-cp-alert {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   CP COMPACTA + MODAL
   ========================================================= */

.compact-cp-section {
  padding-top: 70px;
  padding-bottom: 74px;
}

.compact-cp-heading {
  margin-bottom: 30px;
}

.cp-preview-card {
  width: min(860px, calc(100% - 40px));
  display: block;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(82, 154, 225, 0.38);
  color: inherit;
  text-align: left;
  cursor: pointer;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 126, 213, 0.14),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(7, 18, 33, 0.98),
      rgba(3, 10, 19, 0.98)
    );
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.cp-preview-card:hover {
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(95, 180, 255, 0.68);
  box-shadow:
    0 32px 75px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(28, 114, 202, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  filter: brightness(1.04);
}

.cp-preview-card:active {
  transform: translateY(-2px) scale(0.998);
}

.cp-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 25px 18px;
}

.cp-preview-kicker {
  color: #68b8ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.cp-preview-top h3 {
  margin: 8px 0 0;
  color: #f0f6ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.cp-preview-badges {
  display: grid;
  gap: 7px;
  min-width: 115px;
}

.cp-preview-badges span,
.cp-preview-badges strong {
  padding: 6px 8px;
  border: 1px solid;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-align: center;
  text-transform: uppercase;
}

.cp-preview-badges span {
  border-color: rgba(89, 173, 255, 0.42);
  color: #75bdff;
  background: rgba(25, 91, 155, 0.15);
}

.cp-preview-badges strong {
  border-color: rgba(205, 126, 69, 0.5);
  color: #e3a176;
  background: rgba(123, 63, 28, 0.2);
}

.cp-preview-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(78, 145, 211, 0.18);
  border-bottom: 1px solid rgba(78, 145, 211, 0.18);
  background: rgba(78, 145, 211, 0.13);
}

.cp-preview-meta > div {
  min-width: 0;
  padding: 12px 14px;
  background: rgba(3, 11, 20, 0.88);
}

.cp-preview-meta span {
  display: block;
  margin-bottom: 5px;
  color: #607991;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.cp-preview-meta strong {
  display: block;
  overflow: hidden;
  color: #b8c9da;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-preview-alert {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
  margin: 15px 18px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 153, 75, 0.34);
  background: rgba(129, 53, 14, 0.13);
}

.cp-preview-alert > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 169, 87, 0.45);
  color: #ffb16e;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 900;
}

.cp-preview-alert p {
  margin: 0;
  color: #d2a987;
  font-size: 9px;
  line-height: 1.5;
}

.cp-preview-alert strong {
  color: #ffd0a8;
}

.cp-preview-footer {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-top: 1px solid rgba(79, 145, 211, 0.18);
  color: #93bce0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background:
    linear-gradient(
      90deg,
      rgba(15, 52, 88, 0.34),
      rgba(5, 19, 34, 0.7)
    );
}

.cp-preview-footer b {
  color: #68b8ff;
  font-size: 17px;
  transition: transform 220ms ease;
}

.cp-preview-card:hover .cp-preview-footer b {
  transform: translate(3px, -3px);
}

.cp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.cp-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.cp-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 31px;
  border: 1px solid rgba(90, 169, 246, 0.45);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(39, 127, 216, 0.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #071321,
      #030a13 75%
    );
  box-shadow:
    0 35px 110px rgba(0, 0, 0, 0.68),
    0 0 45px rgba(29, 111, 201, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    opacity 220ms ease;
}

.cp-modal.is-open .cp-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(89, 164, 238, 0.33);
  color: #b8cee3;
  font-size: 25px;
  cursor: pointer;
  background: rgba(3, 12, 22, 0.78);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.cp-modal-close:hover {
  border-color: rgba(101, 184, 255, 0.68);
  color: #ffffff;
  background: rgba(18, 68, 113, 0.5);
}

.cp-modal-title {
  padding-right: 54px;
}

.cp-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.cp-modal-actions .btn {
  min-width: 220px;
  justify-content: center;
}

body.cp-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .cp-preview-card {
    width: min(100% - 24px, 860px);
  }

  .cp-preview-top {
    flex-direction: column;
  }

  .cp-preview-badges {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-preview-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-modal {
    padding: 12px;
  }

  .cp-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 24px 17px;
  }

  .cp-modal-actions {
    flex-direction: column;
  }

  .cp-modal-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 460px) {
  .cp-preview-meta {
    grid-template-columns: 1fr;
  }

  .cp-preview-alert {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}


/* =========================================================
   AJUSTE COMPACTO TARJETA CP PREVIEW
   ========================================================= */

.cp-preview-card {
  width: min(620px, calc(100% - 32px));
}

.cp-preview-top {
  padding: 20px 20px 14px;
}

.cp-preview-top h3 {
  font-size: 24px;
}

.cp-preview-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-preview-meta > div {
  padding: 11px 12px;
}

.cp-preview-alert {
  margin: 12px 14px;
  padding: 10px 12px;
}

.cp-preview-footer {
  min-height: 40px;
  padding: 0 18px;
}

.cp-preview-footer b {
  font-size: 15px;
}

@media (min-width: 761px) {
  .cp-preview-card {
    width: min(580px, calc(100% - 32px));
  }
}

@media (max-width: 520px) {
  .cp-preview-card {
    width: min(100% - 20px, 580px);
  }

  .cp-preview-top {
    padding: 18px 16px 12px;
  }

  .cp-preview-meta {
    grid-template-columns: 1fr;
  }

  .cp-preview-alert {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   GRILLA 3x3 DE CONSTANT PARTIES
   ========================================================= */

.cp-grid-section {
  padding-top: 68px;
  padding-bottom: 74px;
}

.cp-preview-grid {
  width: min(1080px, calc(100% - 30px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.cp-preview-card-square {
  width: 100%;
  min-height: 318px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cp-preview-card.cp-preview-card-square {
  margin: 0;
}

.cp-card-static {
  cursor: default;
}

.cp-card-static:hover {
  transform: translateY(-4px);
}

.cp-preview-top {
  padding: 20px 20px 14px;
}

.cp-preview-kicker {
  font-size: 9px;
  letter-spacing: 1.9px;
}

.cp-preview-top h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.cp-preview-badges span,
.cp-preview-badges strong {
  font-size: 8px;
}

.cp-preview-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-preview-meta > div {
  padding: 11px 12px;
}

.cp-preview-meta span {
  font-size: 7px;
}

.cp-preview-meta strong {
  font-size: 11px;
  white-space: normal;
}

.compact-alert {
  margin: 12px 14px;
  padding: 10px 11px;
}

.compact-alert p {
  font-size: 10px;
  line-height: 1.5;
}

.cp-preview-roles {
  margin: 0 14px 12px;
  padding: 10px 11px;
  border: 1px solid rgba(78, 145, 211, 0.18);
  color: #9cb7cf;
  font-size: 10px;
  line-height: 1.55;
  background: rgba(4, 16, 29, 0.58);
}

.cp-preview-roles strong {
  color: #dcecff;
}

.cp-preview-footer {
  min-height: 42px;
  padding: 0 16px;
  font-size: 10px;
}

.cp-preview-footer b {
  font-size: 15px;
}

@media (max-width: 1100px) {
  .cp-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(760px, calc(100% - 24px));
  }
}

@media (max-width: 640px) {
  .cp-preview-grid {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 520px);
  }

  .cp-preview-card-square {
    min-height: 300px;
  }
}


/* =========================================================
   GRILLA 3x3 DE CONSTANT PARTIES
   ========================================================= */

.cp-grid-section {
  padding-top: 68px;
  padding-bottom: 74px;
}

.cp-preview-grid {
  width: min(1080px, calc(100% - 30px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.cp-preview-card-square {
  width: 100%;
  min-height: 318px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cp-preview-card.cp-preview-card-square {
  margin: 0;
}

.cp-card-static {
  cursor: default;
}

.cp-card-static:hover {
  transform: translateY(-4px);
}

.cp-preview-top {
  padding: 20px 20px 14px;
}

.cp-preview-kicker {
  font-size: 9px;
  letter-spacing: 1.9px;
}

.cp-preview-top h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.cp-preview-badges span,
.cp-preview-badges strong {
  font-size: 8px;
}

.cp-preview-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-preview-meta > div {
  padding: 11px 12px;
}

.cp-preview-meta span {
  font-size: 7px;
}

.cp-preview-meta strong {
  font-size: 11px;
  white-space: normal;
}

.compact-alert {
  margin: 12px 14px;
  padding: 10px 11px;
}

.compact-alert p {
  font-size: 10px;
  line-height: 1.5;
}

.cp-preview-roles {
  margin: 0 14px 12px;
  padding: 10px 11px;
  border: 1px solid rgba(78, 145, 211, 0.18);
  color: #9cb7cf;
  font-size: 10px;
  line-height: 1.55;
  background: rgba(4, 16, 29, 0.58);
}

.cp-preview-roles strong {
  color: #dcecff;
}

.cp-preview-footer {
  min-height: 42px;
  padding: 0 16px;
  font-size: 10px;
}

.cp-preview-footer b {
  font-size: 15px;
}

@media (max-width: 1100px) {
  .cp-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(760px, calc(100% - 24px));
  }
}

@media (max-width: 640px) {
  .cp-preview-grid {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 520px);
  }

  .cp-preview-card-square {
    min-height: 300px;
  }
}


/* =========================================================
   AJUSTE FINAL GRILLA DE 9 CP
   ========================================================= */

.cp-preview-grid {
  width: min(1180px, calc(100% - 40px));
  gap: 20px;
}

.cp-preview-card-square {
  min-height: 330px;
}

@media (max-width: 1100px) {
  .cp-preview-grid {
    width: min(820px, calc(100% - 28px));
  }
}

@media (max-width: 640px) {
  .cp-preview-grid {
    width: min(100% - 20px, 540px);
  }
}


/* =========================================================
   CP PUBLICAS DINAMICAS
   ========================================================= */

.public-cp-loading,
.public-cp-error,
.public-cp-empty {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 20px;
  border: 1px solid rgba(78, 145, 211, 0.25);
  color: #8fa5bc;
  font-size: 12px;
  text-align: center;
  background: rgba(4, 14, 26, 0.65);
}

.public-cp-empty strong {
  display: block;
  margin-bottom: 8px;
  color: #dceafa;
  font-family: Georgia, serif;
  font-size: 20px;
}

.public-cp-empty p {
  margin: 0;
  line-height: 1.6;
}

.cp-preview-card-square {
  aspect-ratio: 1.06 / 1;
  min-height: 0;
}

.cp-preview-badges .rank-gold,
.public-cp-rank.rank-gold {
  border-color: rgba(255, 207, 82, 0.55);
  color: #ffd86c;
  background: rgba(145, 99, 13, 0.2);
}

.cp-preview-badges .rank-silver,
.public-cp-rank.rank-silver {
  border-color: rgba(195, 215, 235, 0.48);
  color: #d7e4ef;
  background: rgba(106, 128, 148, 0.18);
}

.cp-preview-badges .rank-bronze,
.public-cp-rank.rank-bronze {
  border-color: rgba(205, 127, 69, 0.5);
  color: #e3a073;
  background: rgba(125, 65, 29, 0.2);
}

.public-cp-members {
  display: grid;
  gap: 7px;
  margin: 14px 0 18px;
}

.public-cp-members > div {
  padding: 10px 11px;
  border: 1px solid rgba(78, 145, 211, 0.2);
  background: rgba(3, 11, 20, 0.6);
}

.public-cp-members strong {
  display: block;
  margin-bottom: 4px;
  color: #e0edfa;
  font-size: 10px;
}

.public-cp-members span {
  color: #8096ad;
  font-size: 8px;
}

.public-cp-alert.is-complete {
  border-color: rgba(255, 207, 82, 0.42);
  background: rgba(112, 81, 12, 0.15);
}

.public-cp-alert.is-complete > div {
  border-color: rgba(255, 213, 92, 0.5);
  color: #ffda6c;
}

/* =====================================================
   HEADER: REGISTRAR + ACCEDER AL PANEL
   ===================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(94, 198, 255, 0.32);
  border-radius: 8px;
  color: #bfe9ff;
  background: rgba(20, 105, 170, 0.08);
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.header-register-button:hover {
  border-color: rgba(112, 221, 255, 0.7);
  background: rgba(25, 135, 210, 0.16);
  box-shadow:
    0 0 16px rgba(39, 170, 255, 0.22),
    inset 0 0 14px rgba(70, 192, 255, 0.05);
  transform: translateY(-1px);
}

.header-panel-button {
  white-space: nowrap;
}

/* =====================================================
   HERO: ESCUDO MÁS GRANDE
   ===================================================== */

.hero-logo-top {
  width: clamp(180px, 17vw, 250px);
  margin-bottom: 20px;
  filter:
    drop-shadow(0 0 20px rgba(35, 162, 255, 0.42))
    drop-shadow(0 0 42px rgba(22, 103, 255, 0.18))
    drop-shadow(0 16px 24px rgba(0, 0, 0, 0.72));
}

/* =====================================================
   CTA PRINCIPAL UNITE
   ===================================================== */

.hero-join-neon {
  position: relative;
  overflow: hidden;
  border-color: rgba(82, 220, 255, 0.82);
  color: #f4fdff;
  background:
    linear-gradient(
      135deg,
      rgba(0, 171, 255, 0.95),
      rgba(29, 101, 255, 0.9)
    );
  box-shadow:
    0 0 12px rgba(0, 193, 255, 0.72),
    0 0 28px rgba(0, 143, 255, 0.58),
    0 0 52px rgba(0, 100, 255, 0.34),
    inset 0 0 18px rgba(210, 250, 255, 0.18);
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.85),
    0 0 14px rgba(85, 221, 255, 0.85);
  animation: heroJoinNeonPulse 2.3s ease-in-out infinite;
}

.hero-join-neon::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.55) 48%,
      transparent 76%
    );
  transform: translateX(-140%);
  animation: heroJoinSweep 3.4s ease-in-out infinite;
}

.hero-join-neon:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow:
    0 0 16px rgba(0, 215, 255, 0.92),
    0 0 36px rgba(0, 160, 255, 0.75),
    0 0 70px rgba(0, 98, 255, 0.52),
    inset 0 0 22px rgba(220, 252, 255, 0.24);
}

@keyframes heroJoinNeonPulse {
  0%,
  100% {
    box-shadow:
      0 0 12px rgba(0, 193, 255, 0.68),
      0 0 28px rgba(0, 143, 255, 0.52),
      0 0 52px rgba(0, 100, 255, 0.3);
  }

  50% {
    box-shadow:
      0 0 18px rgba(0, 220, 255, 0.92),
      0 0 42px rgba(0, 154, 255, 0.72),
      0 0 78px rgba(0, 103, 255, 0.5);
  }
}

@keyframes heroJoinSweep {
  0%,
  58% {
    transform: translateX(-140%);
  }

  78%,
  100% {
    transform: translateX(140%);
  }
}

@media (max-width: 980px) {
  .header-actions {
    margin-left: auto;
  }

  .hero-logo-top {
    width: 190px;
  }
}

@media (max-width: 760px) {
  .header-actions {
    gap: 6px;
  }

  .header-register-button,
  .header-panel-button {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 0.58rem;
  }

  .hero-logo-top {
    width: 165px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    display: none;
  }

  .hero-logo-top {
    width: 150px;
  }
}

/* =====================================================
   LINTERNA NEÓN DEL PUNTERO
   ===================================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--mouse-light-opacity, 0);
  background:
    radial-gradient(
      circle 260px at
      var(--mouse-x, 50%)
      var(--mouse-y, 50%),
      rgba(45, 185, 255, 0.16) 0%,
      rgba(25, 115, 255, 0.09) 28%,
      rgba(0, 70, 180, 0.035) 52%,
      transparent 74%
    );
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 2;
}

@media (hover: none), (pointer: coarse) {
  body::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }
}

/* =====================================================
   AJUSTES VISUALES HOME - PULSO + LINTERNA GLOBAL
   ===================================================== */

/* Logo / escudo más grande visualmente y con pulso */
.hero-logo-top {
  width: clamp(150px, 16vw, 220px);
  max-width: 220px;
  filter:
    drop-shadow(0 0 14px rgba(62, 160, 255, 0.30))
    drop-shadow(0 0 26px rgba(32, 120, 255, 0.16));
  animation: shadowLogoPulse 2.6s ease-in-out infinite;
}

@keyframes shadowLogoPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 0 12px rgba(62, 160, 255, 0.24))
      drop-shadow(0 0 20px rgba(32, 120, 255, 0.12));
  }

  50% {
    transform: translateY(-1px) scale(1.025);
    filter:
      drop-shadow(0 0 18px rgba(88, 195, 255, 0.40))
      drop-shadow(0 0 34px rgba(36, 126, 255, 0.22));
  }
}

/* Botón UNITE más vistoso */
.hero-join-neon {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(90, 196, 255, 0.78) !important;
  color: #f4fbff !important;
  background:
    linear-gradient(
      180deg,
      rgba(44, 152, 255, 0.92) 0%,
      rgba(20, 98, 218, 0.96) 100%
    ) !important;
  box-shadow:
    0 0 18px rgba(56, 169, 255, 0.42),
    0 0 34px rgba(38, 136, 255, 0.26),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  animation: unitePulseStrong 1.45s ease-in-out infinite;
}

.hero-join-neon::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.20) 0%,
      rgba(255, 255, 255, 0.04) 34%,
      transparent 62%
    );
  opacity: 0.85;
  pointer-events: none;
  animation: uniteGlowSweep 2.4s linear infinite;
}

.hero-join-neon:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 24px rgba(72, 188, 255, 0.62),
    0 0 48px rgba(34, 136, 255, 0.36),
    inset 0 0 18px rgba(255, 255, 255, 0.14);
}

@keyframes unitePulseStrong {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 16px rgba(56, 169, 255, 0.34),
      0 0 26px rgba(38, 136, 255, 0.20),
      inset 0 0 14px rgba(255, 255, 255, 0.07);
  }

  50% {
    transform: scale(1.045);
    box-shadow:
      0 0 26px rgba(82, 198, 255, 0.72),
      0 0 56px rgba(36, 142, 255, 0.42),
      inset 0 0 22px rgba(255, 255, 255, 0.12);
  }
}

@keyframes uniteGlowSweep {
  0% {
    transform: translateX(-18%) scale(0.96);
  }

  50% {
    transform: translateX(10%) scale(1.03);
  }

  100% {
    transform: translateX(-18%) scale(0.96);
  }
}

/* LINTERNA NEÓN MÁS INTENSA Y GLOBAL */
body::before {
  z-index: 9999 !important;
  opacity: var(--mouse-light-opacity, 0);
  background:
    radial-gradient(
      circle 340px at
      var(--mouse-x, 50%)
      var(--mouse-y, 50%),
      rgba(58, 188, 255, 0.30) 0%,
      rgba(34, 142, 255, 0.18) 24%,
      rgba(12, 86, 255, 0.09) 48%,
      rgba(0, 54, 170, 0.035) 66%,
      transparent 80%
    ) !important;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Bajamos el z-index de capas para que la linterna quede visible arriba */
.site-header,
main,
footer,
section,
.hero,
.hero-content,
.about,
.requirements,
.constant-parties,
.contact-section {
  position: relative;
  z-index: 2;
}

/* =====================================================
   EFECTOS HERO - OJOS Y RAYOS
   ===================================================== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* OJOS */
.hero-eye-glow {
  position: absolute;
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(
      circle,
      rgba(150, 230, 255, 0.98) 0%,
      rgba(72, 174, 255, 0.95) 42%,
      rgba(0, 110, 255, 0.58) 68%,
      rgba(0, 110, 255, 0.0) 100%
    );
  box-shadow:
    0 0 10px rgba(102, 210, 255, 0.95),
    0 0 20px rgba(45, 156, 255, 0.75),
    0 0 34px rgba(18, 112, 255, 0.52);
  filter: blur(0.2px);
  opacity: 0.95;
  animation: shadowEyePulse 1.8s ease-in-out infinite;
}

/*
  Ajuste inicial aproximado para el personaje central.
  Si hiciera falta, después afinamos left/top 1 o 2 puntos.
*/
.hero-eye-left {
  left: 65.4%;
  top: 19.2%;
  transform: rotate(-8deg);
}

.hero-eye-right {
  left: 67.2%;
  top: 19.2%;
  transform: rotate(8deg);
}

@keyframes shadowEyePulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(102, 210, 255, 0.82),
      0 0 18px rgba(45, 156, 255, 0.58),
      0 0 28px rgba(18, 112, 255, 0.38);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
    box-shadow:
      0 0 14px rgba(140, 228, 255, 1),
      0 0 28px rgba(72, 174, 255, 0.90),
      0 0 44px rgba(18, 112, 255, 0.62);
  }
}

/* RAYOS */
.hero-lightning {
  position: absolute;
  width: 3px;
  height: 240px;
  opacity: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0) 0%,
      rgba(180,235,255,0.95) 12%,
      rgba(91,180,255,1) 44%,
      rgba(30,110,255,0.78) 76%,
      rgba(255,255,255,0) 100%
    );
  box-shadow:
    0 0 10px rgba(120, 218, 255, 0.9),
    0 0 22px rgba(58, 170, 255, 0.75),
    0 0 40px rgba(18, 112, 255, 0.45);
  clip-path: polygon(
    44% 0%,
    68% 10%,
    50% 18%,
    74% 28%,
    46% 40%,
    62% 52%,
    36% 64%,
    58% 75%,
    34% 88%,
    52% 100%,
    18% 100%,
    32% 88%,
    14% 75%,
    36% 64%,
    20% 52%,
    42% 40%,
    24% 28%,
    48% 18%,
    30% 10%
  );
  filter: blur(0.25px);
}

.lightning-1 {
  left: 59%;
  top: 3%;
  transform: rotate(10deg);
  animation: lightningStrikeA 4.6s infinite;
}

.lightning-2 {
  left: 76%;
  top: 5%;
  transform: rotate(-8deg);
  animation: lightningStrikeB 5.3s infinite;
}

.lightning-3 {
  left: 87%;
  top: 8%;
  transform: rotate(6deg);
  animation: lightningStrikeC 6.1s infinite;
}

@keyframes lightningStrikeA {
  0%, 84%, 100% { opacity: 0; }
  85% { opacity: 0.18; }
  86% { opacity: 1; }
  87% { opacity: 0.2; }
  88% { opacity: 0.95; }
  89% { opacity: 0.05; }
}

@keyframes lightningStrikeB {
  0%, 72%, 100% { opacity: 0; }
  73% { opacity: 0.15; }
  74% { opacity: 0.9; }
  75% { opacity: 0.08; }
  76% { opacity: 1; }
  77% { opacity: 0.1; }
}

@keyframes lightningStrikeC {
  0%, 64%, 100% { opacity: 0; }
  65% { opacity: 0.1; }
  66% { opacity: 0.82; }
  67% { opacity: 0.04; }
  68% { opacity: 0.9; }
  69% { opacity: 0.06; }
}

/* Un pequeño flash general del cielo durante el rayo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle at 68% 18%,
      rgba(110, 210, 255, 0.15) 0%,
      rgba(60, 145, 255, 0.08) 24%,
      transparent 52%
    );
  animation: heroSkyFlash 6s infinite;
}

@keyframes heroSkyFlash {
  0%, 65%, 100% { opacity: 0; }
  66% { opacity: 0.12; }
  67% { opacity: 0.22; }
  68% { opacity: 0.08; }
  69% { opacity: 0.16; }
  70% { opacity: 0; }
}

@media (max-width: 1100px) {
  .hero-eye-left {
    left: 66.1%;
    top: 20.2%;
  }

  .hero-eye-right {
    left: 68.1%;
    top: 20.2%;
  }
}

@media (max-width: 768px) {
  .hero-eye-glow {
    width: 16px;
    height: 7px;
  }

  .hero-eye-left {
    left: 68%;
    top: 19%;
  }

  .hero-eye-right {
    left: 70.2%;
    top: 19%;
  }

  .hero-lightning {
    height: 180px;
  }
}

/* =====================================================
   AJUSTE FINO: OJOS Y RAYOS DEL HERO
   ===================================================== */

/* Ojos más claros, finos y achinados */
.hero-eye-glow {
  width: 28px;
  height: 7px;
  border-radius: 70% 30% 70% 30%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 1) 0%,
      rgba(215, 248, 255, 1) 20%,
      rgba(92, 205, 255, 0.98) 48%,
      rgba(24, 126, 255, 0.72) 70%,
      transparent 100%
    );
  box-shadow:
    0 0 7px rgba(255, 255, 255, 0.95),
    0 0 15px rgba(135, 225, 255, 0.95),
    0 0 28px rgba(53, 164, 255, 0.82),
    0 0 46px rgba(15, 95, 255, 0.52);
  filter: blur(0.1px);
}

/* Formas individuales de cada ojo */
.hero-eye-left {
  left: 65.25%;
  top: 18.65%;
  transform:
    rotate(-13deg)
    skewX(-18deg);
  border-radius: 80% 25% 72% 35%;
}

.hero-eye-right {
  left: 67.15%;
  top: 18.65%;
  transform:
    rotate(13deg)
    skewX(18deg);
  border-radius: 25% 80% 35% 72%;
}

@keyframes shadowEyePulse {
  0%,
  100% {
    opacity: 0.78;
    filter: brightness(1);
    box-shadow:
      0 0 6px rgba(255, 255, 255, 0.90),
      0 0 13px rgba(135, 225, 255, 0.82),
      0 0 26px rgba(53, 164, 255, 0.62);
  }

  50% {
    opacity: 1;
    filter: brightness(1.35);
    box-shadow:
      0 0 10px rgba(255, 255, 255, 1),
      0 0 22px rgba(160, 236, 255, 1),
      0 0 40px rgba(70, 179, 255, 0.95),
      0 0 62px rgba(20, 105, 255, 0.62);
  }
}

/* Rayos más grandes y dirigidos hacia el personaje */
.hero-lightning {
  width: 6px;
  height: 370px;
  transform-origin: top center;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(230, 250, 255, 0.92) 8%,
      rgba(100, 205, 255, 1) 32%,
      rgba(38, 135, 255, 0.95) 64%,
      rgba(20, 70, 220, 0.38) 86%,
      transparent 100%
    );
  box-shadow:
    0 0 12px rgba(185, 240, 255, 1),
    0 0 26px rgba(75, 185, 255, 0.92),
    0 0 48px rgba(35, 115, 255, 0.72);
  filter: blur(0.15px);
}

/* Desde arriba a la izquierda, apuntando al personaje */
.lightning-1 {
  left: 51%;
  top: -12%;
  transform: rotate(-34deg);
  animation: lightningStrikeA 5.2s infinite;
}

/* Desde arriba a la derecha, inclinación contraria */
.lightning-2 {
  left: 82%;
  top: -15%;
  transform: rotate(31deg);
  animation: lightningStrikeB 6.1s infinite;
}

/* Rayo secundario más corto, detrás del hombro */
.lightning-3 {
  left: 73%;
  top: -4%;
  width: 4px;
  height: 280px;
  transform: rotate(19deg);
  animation: lightningStrikeC 7.2s infinite;
}

/* Flash más concentrado alrededor del personaje */
.hero::after {
  background:
    radial-gradient(
      ellipse at 68% 20%,
      rgba(170, 235, 255, 0.22) 0%,
      rgba(70, 170, 255, 0.12) 24%,
      rgba(20, 90, 220, 0.05) 48%,
      transparent 68%
    );
}

@media (max-width: 1100px) {
  .hero-eye-glow {
    width: 23px;
    height: 6px;
  }

  .hero-eye-left {
    left: 65.7%;
    top: 19%;
  }

  .hero-eye-right {
    left: 67.75%;
    top: 19%;
  }

  .hero-lightning {
    height: 310px;
  }
}

@media (max-width: 768px) {
  .hero-eye-glow {
    width: 18px;
    height: 5px;
  }

  .hero-lightning {
    height: 240px;
    opacity: 0.72;
  }
}

/* =====================================================
   AJUSTES VISUALES HOME - PULSO + LINTERNA GLOBAL
   ===================================================== */

/* Logo / escudo más grande visualmente y con pulso */
.hero-logo-top {
  width: clamp(150px, 16vw, 220px);
  max-width: 220px;
  filter:
    drop-shadow(0 0 14px rgba(62, 160, 255, 0.30))
    drop-shadow(0 0 26px rgba(32, 120, 255, 0.16));
  animation: shadowLogoPulse 2.6s ease-in-out infinite;
}

@keyframes shadowLogoPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 0 12px rgba(62, 160, 255, 0.24))
      drop-shadow(0 0 20px rgba(32, 120, 255, 0.12));
  }

  50% {
    transform: translateY(-1px) scale(1.025);
    filter:
      drop-shadow(0 0 18px rgba(88, 195, 255, 0.40))
      drop-shadow(0 0 34px rgba(36, 126, 255, 0.22));
  }
}

/* Botón UNITE más vistoso */
.hero-join-neon {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(90, 196, 255, 0.78) !important;
  color: #f4fbff !important;
  background:
    linear-gradient(
      180deg,
      rgba(44, 152, 255, 0.92) 0%,
      rgba(20, 98, 218, 0.96) 100%
    ) !important;
  box-shadow:
    0 0 18px rgba(56, 169, 255, 0.42),
    0 0 34px rgba(38, 136, 255, 0.26),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  animation: unitePulseStrong 1.45s ease-in-out infinite;
}

.hero-join-neon::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.20) 0%,
      rgba(255, 255, 255, 0.04) 34%,
      transparent 62%
    );
  opacity: 0.85;
  pointer-events: none;
  animation: uniteGlowSweep 2.4s linear infinite;
}

.hero-join-neon:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 24px rgba(72, 188, 255, 0.62),
    0 0 48px rgba(34, 136, 255, 0.36),
    inset 0 0 18px rgba(255, 255, 255, 0.14);
}

@keyframes unitePulseStrong {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 16px rgba(56, 169, 255, 0.34),
      0 0 26px rgba(38, 136, 255, 0.20),
      inset 0 0 14px rgba(255, 255, 255, 0.07);
  }

  50% {
    transform: scale(1.045);
    box-shadow:
      0 0 26px rgba(82, 198, 255, 0.72),
      0 0 56px rgba(36, 142, 255, 0.42),
      inset 0 0 22px rgba(255, 255, 255, 0.12);
  }
}

@keyframes uniteGlowSweep {
  0% {
    transform: translateX(-18%) scale(0.96);
  }

  50% {
    transform: translateX(10%) scale(1.03);
  }

  100% {
    transform: translateX(-18%) scale(0.96);
  }
}

/* LINTERNA NEÓN MÁS INTENSA Y GLOBAL */
body::before {
  z-index: 9999 !important;
  opacity: var(--mouse-light-opacity, 0);
  background:
    radial-gradient(
      circle 340px at
      var(--mouse-x, 50%)
      var(--mouse-y, 50%),
      rgba(58, 188, 255, 0.30) 0%,
      rgba(34, 142, 255, 0.18) 24%,
      rgba(12, 86, 255, 0.09) 48%,
      rgba(0, 54, 170, 0.035) 66%,
      transparent 80%
    ) !important;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Bajamos el z-index de capas para que la linterna quede visible arriba */
.site-header,
main,
footer,
section,
.hero,
.hero-content,
.about,
.requirements,
.constant-parties,
.contact-section {
  position: relative;
  z-index: 2;
}
