html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0f2e57, #2b5fa4);
}
/************************************************************/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.navbar-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
}

.logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.navbar.scrolled .logo img {
  filter: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: white;
  transition: color 0.2s ease;
}

.nav-item {
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: white;
  letter-spacing: 2px;
}

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.dropdown-menu a {
  padding: 10px 15px;
  text-decoration: none;
  color: black;
}

.dropdown-menu a:hover {
  background: #f2f2f2;
}

.nav-item.open .dropdown-menu {
  display: flex;
}

.nav-links a:hover {
  color: #111827;
}

.nav-btn {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled a,
.navbar.scrolled .logo {
  color: #111827;
}

.nav-links a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: white;
  letter-spacing: 1px;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled a,
.navbar.scrolled .dropdown-toggle,
.navbar.scrolled .logo {
  color: #111827;
}

.hero-text {
  animation: fadeSlideLeft 2s ease forwards;
}

.card-img-system {
  animation: fadeSlideRight 1.2s ease forwards;
}

.info-img {
  animation: fadeSlideRight 1.2s ease forwards;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #111827;
}

.navbar.scrolled .nav-toggle span {
  background: #111827;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .dropdown {
    margin-left: 55px;
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: max-height 0.35s ease;
    width: 100%;
    align-items: center;
  }

  .dropdown.open .dropdown-menu {
    max-height: 200px;
  }

  .dropdown-menu a {
    font-size: 18px;
    color: #cbd5f5;
    padding: 6px 0;
  }

  .arrow {
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .dropdown.open .arrow {
    transform: rotate(180deg);
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 22px;
    font-weight: 600;
    color: white;
  }

  .dropdown.open .dropdown-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 10px;
    padding-top: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-btn {
    display: none;
  }

  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f2e57, #2b5fa4);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.35s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .dropdown-toggle {
    color: white;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    transition:
      color 0.25s ease,
      transform 0.25s ease;
  }

  .nav-links a:hover,
  .dropdown-toggle:hover {
    color: #60a5fa;
    transform: translateY(-2px);
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    align-items: center;
    gap: 10px;
  }

  .dropdown-menu a {
    color: #cbd5f5;
    font-size: 16px;
  }

  .navbar.scrolled .nav-toggle span {
    background: #111827;
  }

  .navbar.scrolled .nav-links.active a,
  .navbar.scrolled .nav-links.active .dropdown-toggle {
    color: white;
  }

  .navbar.scrolled .nav-links.active .dropdown-menu a {
    color: #cbd5f5;
  }
}

@media (max-width: 480px) {
  .nav-toggle {
    right: 60px;
  }
}



/************************************************************/

.hero-title::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
}

.hero-title.finished::after {
  content: "";
  animation: none;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 65px;
  font-weight: 700;
  line-height: 1.1;
  color: white;
  max-width: 560px;
  margin-bottom: 24px;
}

/* IZQUIERDA */
.hero .hero-content {
  padding-top: 80px;
  padding-left: 100px;
}

.badge-prinic {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  margin-bottom: 24px;
  color: white;
}

.hero-title {
  margin-top: 0px;
}

.hero-text {
  max-width: 520px;
  opacity: 0.85;
  margin-bottom: 30px;
  line-height: 1.6;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.features-clinica {
  list-style: none;
  padding: 0;
  margin-bottom: 36px;
}

.features-clinica li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.features-clinica li::before {
  content: "✔";
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background-color: #3b82f6;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.features-clinica li {
  flex-direction: row;
}

.features-clinica li strong {
  display: block;
  font-weight: bold;
  color: white;
  margin-top: 4px;
}

.features-clinica li p {
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: #fff;
  color: #111;
  padding: 18px 22px;
  border-radius: 14px;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.testimonial p {
  font-size: 13px;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

.testimonial strong {
  font-size: 12px;

  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero .hero-content {
    padding: 120px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(32px, 6vw, 48px);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero .hero-content {
    padding: 110px 18px 50px;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.15;
  }
}

/************************************************************/
.beneficios {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.beneficios h1 {
  font-size: 70px;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

.beneficios .subtitle {
  max-width: 820px;
  margin: auto;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.beneficios_grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* CARD */
.beneficios_card {
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.beneficios_card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

/* ICONS */
.icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 18px;
}

/* TEXT */
.beneficios_card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.beneficios_card p {
  font-weight: 500;
  color: black;
  font-size: 17px;
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
}

/* CTA CARD */
.cta {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
}

.cta p {
  color: #dbeafe;
}

.cta button {
  margin-top: 15px;
  background: white;
  color: #1d4ed8;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .beneficios h1 {
    font-size: 48px;
  }

  .beneficios .subtitle {
    font-size: 17px;
    padding: 0 10px;
  }

  .beneficios_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .beneficios {
    padding: 60px 16px;
  }

  .beneficios h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .beneficios .subtitle {
    font-size: 15px;
  }

  .beneficios_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .beneficios_card {
    padding: 20px;
  }

  .beneficios_card h3 {
    font-size: 18px;
  }

  .beneficios_card p {
    font-size: 13px;
  }
}

/***************************************/

.servicios {
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.servicios h1 {
  font-size: 70px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.servicios .subtitle {
  max-width: 850px;
  margin: 0 auto 60px auto;
  color: white;
  line-height: 1.6;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.servicios .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

/* TARJETA */
.servicios .card {
  width: 240px;
  background: white;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    border 0.3s ease;
  border: 1px solid transparent;
}

.servicios .card:hover {
  transform: translateY(-8px);
  border: 1px solid #2b5fa4;
}

/* ICONO */
.icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
}

/* COLORES DE ICONOS */
.blue {
  background: #1e3a8a;
}
.purple {
  background: #5b21b6;
}
.red {
  background: #b91c1c;
}
.green {
  background: #047857;
}
.cyan {
  background: #0e7490;
}

.servicios .card h3 {
  color: black;
  font-size: 22px;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.servicios .card p {
  font-size: 17px;
  color: black;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
}

.servicios .card a {
  font-size: 13px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.servicios .card a:hover {
  color: #7dd3fc;
}
@media (max-width: 768px) {
  .servicios h1 {
    font-size: 30px;
  }

  .servicios .cards {
    gap: 20px;
  }

  .servicios .card {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 1024px) {
  .servicios h1 {
    font-size: 48px;
  }

  .servicios .subtitle {
    font-size: 18px;
    padding: 0 10px;
  }

  .servicios .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .servicios {
    padding: 60px 16px;
  }

  .servicios h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .servicios .subtitle {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .servicios .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .servicios .card {
    padding: 20px;
  }

  .servicios .card h3 {
    font-size: 15px;
  }

  .servicios .card p {
    font-size: 14px;
  }
}

/**************************************************/

.multi {
  padding: 90px 6%;
  margin-top: -60px;
}

.multi-container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.multi-content h1 {
  color: white;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: Arial, Helvetica, sans-serif;
}

.multi-content .subtitle {
  max-width: 620px;
  margin-bottom: 42px;
  font-size: 20px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.gradient-text {
  background: linear-gradient(90deg, #6fb7ff, #b4dcff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.feature-card .icon {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
}

.feature-card p {
  font-size: 17px;
  opacity: 0.8;
  font-family: Arial, Helvetica, sans-serif;
}

.btn-primary {
  padding: 14px 28px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.multi-preview {
  display: flex;
  justify-content: center;
}

.dashboard {
  width: 520px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.browser-bar {
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.map {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 18px 18px;
}

.pin {
  width: 16px;
  height: 16px;
  background: #0ea5e9;
  border-radius: 50%;
  position: absolute;
}

.pin-1 {
  top: 40%;
  left: 45%;
}
.pin-2 {
  top: 55%;
  left: 60%;
}

.stats {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 18px;
  background: rgba(0, 0, 0, 0.45);
  padding: 14px 18px;
  border-radius: 12px;
}

.stats small {
  color: white;
  font-size: 10px;
  opacity: 0.7;
}

.stats strong {
  color: white;
  display: block;
  font-size: 18px;
}

.green {
  color: #22c55e;
}

@media (max-width: 1024px) {
  .multi-container {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 44px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .dashboard {
    width: 100%;
  }
}
/****************************************************/

.experiencia {
  font-family: Arial, sans-serif;
  padding: 90px 14%;
  margin-top: -60px;
}

.experiencia .tag {
  display: inline-block;
  background: #e6f0ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.experiencia h1 {
  font-size: 70px;
  color: white;
  margin-bottom: 15px;
}

.experiencia h1 span {
  color: #2563eb;
}

.experiencia .descripcion {
  max-width: 700px;
  color: white;
  margin-bottom: 50px;
  line-height: 1.6;
  font-size: 19px;
}

/* CARDS */
.experiencia .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.blue {
  background: #e0edff;
  color: #2563eb;
}
.green {
  background: #e6f9f2;
  color: #059669;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

.card p {
  font-size: 17px;
  color: black;
  margin-bottom: 15px;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
}

.link {
  font-size: 12px;
  font-weight: 700;
}

.blue-text {
  color: #2563eb;
}
.green-text {
  color: #059669;
}

/* BANNER INFERIOR */

.banner_expe {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 28px 40px;
  border-radius: 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(135deg, #0b1f3a, #0b1f3a);
  position: relative;
  overflow: hidden;
}

.banner_expe::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(135deg, transparent, #1d4ed8);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

/* STATS */
.stats_expe {
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 1;
}

.stat_expe {
  display: flex;
  flex-direction: column;
}

.stat_expe h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat_expe span {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: white;
  margin-top: 10px;
}

/* COLORES NÚMEROS */
.stat_expe .blue_expe {
  color: #3b82f6;
}

.stat_expe .green_expe {
  color: #22c55e;
}

/* DIVIDERS */
.stats_expe .divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* BOTÓN */
.btn-banner {
  z-index: 1;
  background: #2563eb;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  white-space: nowrap;
}

.btn-banner:hover {
  background: #1d4ed8;
}

@media (max-width: 1024px) {
  .experiencia {
    padding: 80px 8%;
  }

  .experiencia h1 {
    font-size: 48px;
  }

  .experiencia .descripcion {
    font-size: 17px;
  }

  .experiencia .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .experiencia {
    padding: 70px 20px;
    margin-top: 0;
  }

  .experiencia h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .experiencia .descripcion {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .experiencia .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 14px;
  }
}

/*********************************************************/

.hero-dark {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.5rem;
  color: #fff;
}

.modulo_content {
  max-width: 1100px;
  text-align: center;
  margin-bottom: 3rem;
}

.modulo_content .modulo_title {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: 70px;
  font-family: Arial, Helvetica, sans-serif;
}

.modulos_gradient_text {
  background: linear-gradient(90deg, #7b6cff, #3ecbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tabs {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.tab {
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  color: #cbd5f5;
  transition: all 0.25s ease;
}

.tab.active {
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  color: white;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.cards-section-admin {
  padding: 0;
  margin-top: 0;
  width: 100%;
}

.cards-section-admin .cards-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.card_modulos {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  border: 1px solid #f1f1f1;
}

.card_modulos:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.icon-box-cli {
  width: 42px;
  height: 42px;
  background: #e8f1ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-box-cli i {
  color: #2f6fed;
  font-size: 18px;
}

.card_modulos h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #1f2a37;
  font-family: Arial, Helvetica, sans-serif;
}

.card_modulos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card_modulos ul li {
  font-size: 17px;
  color: black;
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
  font-family: Arial, Helvetica, sans-serif;
}

.card_modulos ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2f6fed;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .cards-section-admin .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-section-admin .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tabs {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    width: 100%;
  }

  .tab {
    width: 100%;
    text-align: center;
  }
}

.cards-section-admin {
  display: none;
  opacity: 0;
}

.cards-section-admin.active {
  display: block;
  opacity: 1;
}

.cards-section-admin .card_modulos {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.cards-section-admin.active .card_modulos {
  opacity: 1;
  transform: translateY(0);
}
/*******************************************************/

.section {
  padding: 70px 40px;
  background-size: 28px 28px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  text-align: center;
  margin-bottom: 70px;
}

.header h1 {
  font-size: 70px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
}

.header p {
  margin-top: 15px;
  color: white;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
  align-items: stretch;
}
.large {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.tall {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}
.small {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.wide {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.card_tim {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card_tim:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.12);
}

/* TEXT STYLES */
.tag_tim {
  font-size: 12px;
  letter-spacing: 2px;
  color: #2563eb;
  font-weight: 700;
}

.card_tim h2 {
  font-size: 28px;
  margin: 15px 0;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

.card_tim h3 {
  font-size: 28px;
  margin: 15px 0;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

.card_tim p {
  color: black;
  line-height: 1.6;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ICONOS */
.icon-circle_tim {
  width: 60px;
  height: 60px;
  background: #eef2f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  color: #0f172a;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #0f172a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: white;
}

.center {
  text-align: center;
}

/* Divider */
.divider {
  width: 50px;
  height: 3px;
  background: #2563eb;
  margin: 25px auto;
  border-radius: 10px;
}

/* Latency */
.latency .number {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

.latency .ms {
  color: #2563eb;
  font-size: 18px;
  margin-left: 4px;
}

.latency p {
  font-size: 11px;
  margin-top: 6px;
  color: #94a3b8;
  letter-spacing: 1px;
}

/* Badges */
.badges {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.badges span {
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}

/* Decorative grid */
.grid-boxes {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: grid;
  grid-template-columns: repeat(3, 22px);
  gap: 10px;
}

.grid-boxes div {
  width: 22px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 6px;
}

/* Shield decoration */
.shield {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  opacity: 0.08;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .header h1 {
    font-size: 48px;
  }

  .header p {
    font-size: 18px;
    padding: 0 10px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .large {
    grid-column: 1 / 3;
  }

  .tall {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .small {
    grid-column: 1 / 2;
  }

  .wide {
    grid-column: 1 / 3;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 70px 20px;
  }

  .header {
    margin-bottom: 40px;
  }

  .header h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .header p {
    font-size: 15px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .large,
  .tall,
  .small,
  .wide {
    grid-column: auto;
    grid-row: auto;
  }

  .card_tim {
    padding: 24px;
  }

  .card_tim h2,
  .card_tim h3 {
    font-size: 22px;
  }

  .card_tim p {
    font-size: 14px;
  }

  .latency .number {
    font-size: 36px;
  }

  .shield {
    width: 120px;
    height: 120px;
    right: -10px;
    bottom: -10px;
  }
}

/************************************************/

.container_formu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  padding-bottom: 20px;
}

.left_formu {
  flex: 1;
}

.badge_formu {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 25px;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

.left_formu h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.left_formu h1 span {
  color: #2d8cff;
}

.description_formu {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 550px;
  color: white;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
}

.features_formu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.feature_formu {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature_formu h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: -10px;
}

.icon_formu {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature_formu p {
  font-size: 15px;
  opacity: 0.8;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.logos_formu {
  margin-top: 20px;
  opacity: 0.7;
  font-size: 12px;
}

.logos_formu span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  margin-right: 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 10px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.right_formu {
  width: 460px;
}

.form-card_formu {
  background: #f1f4f8;
  border-radius: 16px;
  padding: 30px;
  max-width: 520px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  position: relative;
}

.top-bar {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #2d8cff, #5aa9ff);
  border-radius: 12px 12px 0 0;
  position: absolute;
  top: 0;
  left: 0;
}

.form-card_formu h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.form-card_formu p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

/* labels */
.form-card_formu label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  margin-top: 14px;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
}

.form-card_formu input,
.form-card_formu select {
  width: 90%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d9dee7;
  background: #eef2f7;
  font-size: 14px;
  margin-top: 5px;
  outline: none;
  transition: all 0.2s ease;
}

.form-card_formu input::placeholder {
  color: #9aa3af;
}

.form-card_formu input:focus,
.form-card_formu select:focus {
  border-color: #2d8cff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.15);
}

/* fila doble */
.row_formu {
  display: flex;
  gap: 15px;
}

.row_formu > div {
  flex: 1;
}

@media (max-width: 480px) {
  .left_formu h1 {
    font-size: 64px;
    padding-left: 10px;
  }
}

/****************************************/

.multi-select {
  position: relative;
  width: 100%;
  max-width: 520px;
  font-family: Arial, Helvetica, sans-serif;
}

/* LABEL */
.multi-select + label,
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0f172a;
}

/* HEADER */
.multi-select-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 22px;
}

.multi-select-header:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.multi-select.active .multi-select-header {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* TEXTO SELECCIONADO */
.selectedText {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #334155;
}

/* CHIP SELECCIONADO */
.selectedText .chip {
  background: #e0edff;
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* FLECHA */
.arrow {
  font-size: 14px;
  color: #64748b;
  transition: transform 0.3s ease;
}

.multi-select.active .arrow {
  transform: rotate(180deg);
}

/* OPCIONES */
.multi-select-options {
  position: absolute;
  width: 100%;
  bottom: calc(100% + 8px);
  top: auto;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.08);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 50;
}

.multi-select.active .multi-select-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ITEM */
.multi-select-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
  color: #0f172a;
}

.multi-select-options label:hover {
  background: #f1f5f9;
}

/* CHECKBOX CUSTOM */
.multi-select-options input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.multi-select-options input[type="checkbox"]:checked {
  border-color: #2563eb;
  background: #2563eb;
}

.multi-select-options input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  font-size: 11px;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* INPUT OTRO */
.input-otro {
  display: none;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  margin-top: 6px;
  font-size: 13px;
}

.input-otro:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.multi-select-options {
  max-height: 260px;
  overflow-y: auto;
}

.multi-select-options::-webkit-scrollbar {
  width: 6px;
}
.multi-select-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.otro-input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d9dee7;
  background: #f8fafc;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.otro-input:focus {
  border-color: #2d8cff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.15);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

.select-wrapper select {
  appearance: none;
}

.form-card_formu button {
  width: 100%;
  margin-top: 20px;
  background: #2d8cff;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.form-card_formu button:hover {
  background: #1f6fd1;
}

.footer-text_formu {
  font-size: 11px;
  color: #9aa3af;
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 1100px) {
  .container_formu {
    flex-direction: column;
    width: 100%;
  }
  .right_formu {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .container_formu {
    flex-direction: column;
    gap: 40px;
  }

  .right_formu {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .left_formu h1 {
    font-size: 36px;
  }

  .features_formu {
    grid-template-columns: 1fr;
  }

  .row_formu {
    flex-direction: column;
  }

  .checkbox-group_formu {
    grid-template-columns: 1fr;
  }
}

/****************************************************************/
.footer {
   background: linear-gradient(135deg, #1a2638, #203a5f);
  color: #fff;
  padding-top: 80px;
  font-family: system-ui, sans-serif;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1;
}

.newsletter {
  display: flex;
  margin-top: 24px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px;
  color: #fff;
  outline: none;
}

.newsletter button {
  background: #4f46e5;
  border: none;
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-size: 18px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item strong {
  font-size: 13px;
}

.contact-item p {
  margin: 4px 0 0;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom nav a {
  margin-left: 16px;
  color: #cbd5e1;
  text-decoration: none;
}

.footer-bottom nav a:hover {
  color: #fff;
}





@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom nav a {
    margin: 0 8px;
  }
}

/*******************************************/

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}


.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


.grow-in {
  opacity: 0;
  transform: scale(0.3);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.grow-in.active {
  opacity: 1;
  transform: scale(1);
}


/******************************************/