﻿:root {
  --fuente-serif: "DM Serif Display", serif;
  --fuente-monstserrat: "Montserrat", sans-serif;
  --azul-principal: #002f55;
  --azul-oscuro: #011a49;
  --azul-acento: #018abd;
  --azul-claro: #5ec5ee;
  --blanco-principal: #ffffff;
  --gris-borde: #dae5f2;
  --texto-secundario: #6b7794;

  --x1: 20%;
  --y1: 30%;

  --x2: 80%;
  --y2: 60%;

  --x3: 50%;
  --y3: 20%;
}

* {
  box-sizing: border-box;
}

.navbar {
  /* background: radial-gradient(circle, rgba(0, 47, 85, 0.8) 0%, rgba(1, 26, 73, 0.871) 100%); */
  background: radial-gradient(circle, rgb(2, 54, 99) 3%, rgba(1, 26, 73, 1) 72%) !important;
  min-height: 10vh;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 999;

  /* Opcional: para un efecto más profesional */
  backdrop-filter: blur(8px);
}

.nav-link {
  border-radius: 8px;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out,
    transform 0.2s ease-in;
}

.nav-link:hover {
  border-radius: 8px;
  color: #002F55 !important;
  font-weight: 400 !important;
  background-color: white;
  transform: scale(1.1);
  /* pequeño efecto flotante */
}

body {
  margin: 0;
  font-family: var(--fuente-monstserrat);
  /* background: radial-gradient(circle at 12% 12%, #014480 0%, #212d44 52%, #001227 100%); */
  color: var(--blanco-principal);
}

.boton_contacto {
  background-color: #f2f2f246 !important;
  border: 1px solid #f2f2f210 !important;
  font-weight: 200 !important;
}

.boton_contacto:hover {
  background-color: #002F55 !important;
  border: 1px solid #ffffff !important;
}

.boton_contacto_1 {
  background-color: #f2f2f246 !important;
  border: 1px solid #f2070710 !important;
  font-weight: 200 !important;
}

.boton_contacto_1:hover {
  background-color: #002F55 !important;
  border: 1px solid #ffffff !important;
}

@media (min-width:992px) {
  .nav-arbipro-hover .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    pointer-events: none;
    margin-top: 0;
  }

  .nav-arbipro-hover:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

.join-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
}

/* .orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(94, 197, 238, 0.34), transparent 65%);
}

.orb-2 {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(2, 138, 188, 0.24), transparent 68%);
} */

/* .hero-card {
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(1, 26, 73, 0.93), rgba(1, 68, 128, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 8, 26, 0.36);
} */

.chip {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--fuente-monstserrat);
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0.2px;
}

.hero-text {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.66;
}

.stats-grid {
  display: grid;
  gap: 0.65rem;
}

.stat-item {
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-label {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-shell {
  /* background: #f8fbff,
    url(../assets/img/back-relieve.png); */
  background-image: url(../assets/img/51.png),
    radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(254, 254, 255) 100%);
  background-repeat: no-repeat;
  background-size: 13em, contain;
  background-position: -3% -4%;
  color: #102949;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: 0 18px 48px rgba(0, 18, 46, 0.28);
  padding: clamp(1.15rem, 2vw, 2rem);
}



.form-title {
  margin: 0;
  color: var(--azul-oscuro);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

.form-subtitle {
  color: var(--texto-secundario);
  font-size: 0.93rem;
}

.progress-pill {
  min-width: 200px;
  display: grid;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--azul-principal);
  font-weight: 600;
}

.progress-pill .progress {
  height: 0.45rem;
  border-radius: 999px;
  background-color: #d5e5f7;
}

.progress-pill .progress-bar {
  background: linear-gradient(90deg, #018abd, #58c0ec);
}

.section-block {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--gris-borde);
  padding: 1rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-principal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.form-floating>.form-control,
.form-floating>.form-select,
.form-control {
  border-radius: 12px;
  border: 1px solid #cfdeee;
  background-color: #fcfeff;
}

.form-floating>label {
  color: #6c7a95;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--azul-acento);
  box-shadow: 0 0 0 0.25rem rgba(1, 138, 189, 0.16);
}

.modern-input-group {
  border-radius: 12px;
  overflow: hidden;
}

.modern-input-group .input-group-text {
  border: 1px solid #abd2fc;
  border-right: 0;
  background: #011A49;
  color: var(--azul-principal);
}

.modern-input-group .form-floating {
  flex: 1 1 auto;
}

.modern-input-group .form-control {
  border-left: 0;
}

.textarea-field {
  min-height: 130px;
}

.cuentanos {
  min-height: 100px !important;
}

.form-check-input {
  border-color: #9fb5cf;
}

.form-check-input:checked {
  background-color: var(--azul-acento);
  border-color: var(--azul-acento);
}

.btn-arbitrium {
  border-radius: 14px;
  background: linear-gradient(135deg, #013f77, #0174ad);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-arbitrium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(1, 63, 119, 0.35);
  color: #fff;
}

.seccion-principal {
  /* overflow: hidden; */
  border-bottom-right-radius: 45px;
  border-bottom-left-radius: 45px;
  /* background: radial-gradient(circle at 12% 12%, #014480 0%, #212d44 52%, #012856 100%); */
  background:
    radial-gradient(circle at var(--x1) var(--y1), rgba(1, 68, 128, 0.9) 0%, transparent 45%),
    radial-gradient(circle at var(--x2) var(--y2), rgba(45, 85, 160, 0.8) 0%, transparent 45%),
    radial-gradient(circle at var(--x3) var(--y3), rgba(2, 60, 125, 0.8) 0%, transparent 45%),
    #002f50;
  background-blend-mode: screen
}

.dropdown-anim {
  background-color: #eff5fa;
}

.side-panel {
  border-radius: 24px;
  background: linear-gradient(152deg, rgba(1, 26, 73, 0.9), rgba(1, 68, 128, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 8, 28, 0.3);
  position: sticky;
  top: 1.5rem;
}

.side-panel h3 {
  font-family: var(--fuente-monstserrat);
  font-size: 1.35rem;
}

.icono-blanco {
  /* Convierte negro a blanco */
  filter: brightness(0) invert(1);
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.timeline li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.38rem;
  background: var(--azul-claro);
  box-shadow: 0 0 0 4px rgba(94, 197, 238, 0.2);
}

.timeline span {
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.alert-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.9rem 1rem;
}

.indicador-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .92);
  z-index: 4;
  pointer-events: none;
}

.indicador-scroll .flecha {
  animation: bounce 2s infinite;
  font-size: 1rem;
}

.pie-pagina_2 {
  background-image: url(../assets/img/51.png),
    /* radial-gradient(circle, rgba(3, 65, 103, 1) 0%, rgba(0, 47, 85, 1) 100%); */
    linear-gradient(90deg,rgba(0, 47, 85, 1) 0%, rgba(3, 65, 103, 0.945) 100%);
  background-repeat: no-repeat;
  background-size: 15em, contain;
  background-position: center;
  background-position: 105% 105%;
  border-top-left-radius: 50px !important;
  border-top-right-radius: 50px !important;

}

.link_pie_pagina {
  animation: transform 0.3s ease-in-out;
  font-size: 0.9rem !important;
}

.link_pie_pagina:hover {
  color: #0081BC !important;
}

.contenedor-portafolio {
  padding: 0.2em;
  background: conic-gradient(from var(--angulo), #0081BC, #FF5757, #A2C037, #DC911B, #0081BC);
  position: relative;
  z-index: 10;
  animation: girar 2s linear infinite;
  /* background-color: #018ABD; */
}

@keyframes girar {
  0% {
    --angulo: 0deg;
  }

  100% {
    --angulo: 360deg;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}


@media (max-width: 1199.98px) {
  .side-panel {
    position: static;
  }
}

@media (max-width: 767.98px) {

  .hero-card,
  .form-shell,
  .side-panel {
    border-radius: 20px;
  }

  .section-block {
    padding: 0.85rem;
  }

  .progress-pill {
    width: 100%;
  }

  .boton_contacto {
    display: block !important;
  }

  .boton_contacto_1 {
    display: none !important;
  }
}

@media (max-width: 977px) {

  .navbar {
    background: transparent !important;
    height: auto;
    filter: none !important;
    backdrop-filter: blur(8px);
  }

  .titulo-unete {
    font-size: 1.5rem !important;
  }

  .titulo2-unete {
    font-size: 0.7rem !important;
  }

  .img-formulario-unete {
    width: 40px !important;
  }

  .text-formulario-unete {
    font-size: 0.5rem !important;

  }

  .boton-azul {
    height: 100px !important;
  }

  .navbar-nav {
    text-align: center;
    align-self: center;
  }

  .navbar .container-fluid {
    background-color: #011A49;
    border-bottom: 0 !important;
  }

  .navbar-collapse {
    width: 100%;
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  .navbar-nav {
    gap: .5rem !important;
  }

  .boton_contacto {
    display: block !important;
  }

  .boton_contacto_1 {
    display: none !important;
  }

  .cont_bienve h3 {
    font-size: 1.1em;
  }

  .cont_bienve h2 {
    font-size: 1.2em;
  }

  .cont_bienve h5 {
    font-size: 0.9em;
  }

}

@media (max-width: 992px) {
  .pie-pagina_2 {
    background-position: 115% 101% !important;
    background-size: 12em, contain;
  }

  .iso_9001,
  .norsok {
    width: 200px !important;

  }
}
