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;
}


.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-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(7, 20, 34, 0.95) 0%,
    rgba(7, 20, 34, 0.85) 30%,
    rgba(7, 20, 34, 0.45) 55%,
    rgba(7, 20, 34, 0.15) 75%,
    rgba(7, 20, 34, 0) 100%
  );
}

.slide.active {
  opacity: 1;
}

.hero-content-barner {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 650px;
  color: white;
  z-index: 2;
  text-align: left;
}

.hero-content-barner h1 {
  font-size: 75px;
  font-weight: 700;
  margin: 20px 0;
  line-height: 1.1;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-content-barner p {
  color: #c7d2da;
  font-size: 20px;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-tag {
  background: rgba(0, 123, 255, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 19px;
  backdrop-filter: blur(5px);
  font-family: Arial, Helvetica, sans-serif;
}

.btn-primary-barner {
  background: linear-gradient(135deg, #1f7ae0, #2aa7ff);
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .hero-content-barner {
    left: 6%;
    max-width: 520px;
  }

  .hero-content-barner h1 {
    font-size: 52px;
  }

  .hero-content-barner p {
    font-size: 18px;
  }

}




/* =========================
   CELULARES
========================= */

@media (max-width: 768px) {

  .hero-banner {
    height: 85vh;
  }

  .hero-content-barner {
    left: 20px;
    right: 20px;
    max-width: 100%;
    text-align: left;
  }

  .hero-content-barner h1 {
    font-size: 38px;
  }

  .hero-content-barner p {
    font-size: 16px;
  }

  .hero-tag {
    font-size: 14px;
  }

  .btn-primary-barner {
    padding: 12px 20px;
    font-size: 14px;
  }

}




/* =========================
   CELULARES PEQUEÑOS
========================= */

@media (max-width: 480px) {

  .hero-banner {
    height: 80vh;
  }

  .hero-content-barner h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero-content-barner p {
    font-size: 14px;
  }

  .hero-tag {
    font-size: 13px;
    padding: 5px 12px;
  }

}






/************************************************************************/
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 15px;
    bottom: 15px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
  }
}

/* SECCION  2*/

.about {
  min-height: 100vh;
  color: #fff;
  padding: 6rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

.badge_q {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.about-container h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.subtitle {
  font-size: 1.1rem;
  max-width: 520px;
  opacity: 0.85;
  margin-bottom: 3rem;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
}

.content p {
  opacity: 0.85;
  line-height: 1.7;
  font-family: Arial, Helvetica, sans-serif;
}

.experience {
  text-align: right;
  opacity: 0.25;
}

.experience .number {
  font-size: 4rem;
  font-weight: 700;
  display: block;
}

.experience .label {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.experience {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.experience.active {
  opacity: 1;
  transform: translateY(0);
}

.experience .number {
  font-size: 4rem;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: #fff;
  color: #0f2e57;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card i {
  font-size: 1.4rem;
  color: #2b5fa4;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-family: Arial, Helvetica, sans-serif;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5b6b7a;

  font-family: Arial, Helvetica, sans-serif;
}

.cards_entendimiento {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  margin-top: 25px;
}

.cards_entendimiento .card-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}

.cards_entendimiento .card-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.card-title i {
  font-size: 1.3rem;
  color: #2b5fa4;
}

.card-text h3 {
  font-size: 1.3rem;
  color: #0f2e57;

  font-family: Arial, Helvetica, sans-serif;
}

.card-text p {
  color: #5b6b7a;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.card-image {
  position: relative;
  max-width: 100%;
  height: auto;
  display: block;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* BADGE */
.card-image .badge_image {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  padding: 0.5rem 0.9rem;
}

@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr;
  }

  .experience {
    text-align: left;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

.purpose {
  margin-top: 25px;
}

.purpose-card {
  background: linear-gradient(135deg, #1a2638, #203a5f);
  border-radius: 22px;
  padding: 3.5rem;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.purpose-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.tag {
  display: inline-block;
  color: #4da3ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.purpose-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.purpose-left p {
  color: #c9d4e3;
  line-height: 1.7;
  max-width: 420px;
}

.purpose-right ul {
  list-style: none;
  padding: 0;
}

.purpose-right li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #e4ebf5;
  font-family: Arial, Helvetica, sans-serif;
}

.purpose-right i {
  color: #4da3ff;
  font-size: 1rem;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 3rem 0 2.5rem;
}

blockquote {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 500;
  color: #eaf1ff;
  font-family: Arial, Helvetica, sans-serif;
}

.purpose-left {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.purpose-line {
  width: 4px;
  background: linear-gradient(to bottom, #4da3ff, rgba(77, 163, 255, 0.25));
  border-radius: 4px;

  align-self: stretch; /* 🔥 CLAVE */
}

.purpose-text {
  display: flex;
  flex-direction: column;
}

.purpose-text .tag {
  font-family: Arial, Helvetica, sans-serif;
}

.purpose-text h2 {
  font-family: Arial, Helvetica, sans-serif;
}

.purpose-text p {
  font-family: Arial, Helvetica, sans-serif;
}

.purpose-line {
  transform: scaleY(0);
  transform-origin: top;
  animation: growLine 1s ease forwards;
}

@keyframes growLine {
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 640px) {
  .about {
    padding: 4rem 1.5rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  /* CONTENIDO */
  .content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  .experience {
    text-align: left;
    opacity: 0.35;
  }

  .experience .number {
    font-size: 3rem;
  }

  /* CARDS */
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1.6rem;
  }

  /* CARD ENTENDIMIENTO */
  .cards_entendimiento {
    padding: 1.6rem;
  }

  .cards_entendimiento .card-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .card-image {
    height: 200px;
  }

  /* PURPOSE */
  .purpose-card {
    padding: 2rem;
  }

  .purpose-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .purpose-left {
    gap: 1rem;
  }

  .purpose-left h2 {
    font-size: 1.6rem;
  }

  .purpose-left p {
    max-width: 100%;
  }

  blockquote {
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .about {
    padding: 5rem 2rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  .subtitle {
    font-size: 1.05rem;
  }

  /* CONTENIDO */
  .content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .experience {
    text-align: left;
    opacity: 0.3;
  }

  .experience .number {
    font-size: 3.5rem;
  }

  /* CARDS */
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  /* CARD ENTENDIMIENTO */
  .cards_entendimiento .card-content {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .card-image {
    height: 260px;
  }

  /* PURPOSE */
  .purpose-card {
    padding: 3rem;
  }

  .purpose-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  blockquote {
    font-size: 1.9rem;
  }
}

/**************************************************************/


.lab-section {
  padding: 80px 40px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.lab-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

/* LEFT */

.lab-tag {
  background: rgba(0, 255, 255, 0.1);
  color: #00d4ff;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 20px;
}

.lab-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
}

.lab-title span {
  color: #00d4ff;
}

.lab-text {
  margin-top: 20px;
  color: #cfd8e3;
  font-size: 19px;
  line-height: 1.6;
}

/* BOTONES */

.lab-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.btn-secondary {
  background: #123c5c;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

/* FEATURES */

.lab-features {
  display: flex;
  gap: 30px;
  margin-top: 25px;
  font-size: 13px;
}

.feature span {
  margin-left: 5px;
}

/* RIGHT CARD */

.lab-card {
  position: relative;
  width: 350px;
  height: 250px;
  background: linear-gradient(135deg, #1bb3c9, #0b4c6f);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* BADGE */

.live-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #00d4ff;
  color: black;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 10px;
}

/* PROGRESS BOX */

.progress-box {
  position: absolute;
  top: 50px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.progress-box span {
  font-size: 18px;
  font-weight: bold;
}

/* PROGRESS BAR */

.progress-bar {
  position: absolute;
  bottom: 50px;
  left: 20px;
  right: 20px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.progress-fill {
  width: 80%;
  height: 100%;
  background: #00d4ff;
  border-radius: 10px;
}

/* FLOATING BOX */

.floating-box {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 13px;
}












/*************************************************************/

.hero-dark {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 1.5rem;
  color: #fff;
}

.hero-content {
  max-width: 1100px;
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: Arial, Helvetica, sans-serif;
}

.gradient-text {
  background: linear-gradient(90deg, #7b6cff, #3ecbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timlab {
  display: block;
  margin-top: 0.2em;
  font-size: 0.9em;
  background: linear-gradient(90deg, #4f7cff, #1fd1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cards-section-admin {
  padding: 0;
  margin-top: 0;
  width: 100%;
}

.cards-section-admin .cards-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.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 .feature-card {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  fill: currentColor;
  color: #1e293b;
  opacity: 0.06;
  pointer-events: none;
}

.cards-section-admin .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6f6fd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-section-admin .feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0.5rem;
}

.cards-section-admin .feature-card p {
  font-size: 18px;
  line-height: 1.5;
  color: #64748b;
}

@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;
  }

  .cards-section-admin .card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .tabs {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    width: 100%;
  }

  .tab {
    width: 100%;
    text-align: center;
  }
}

/**************************************************************/

.demo-section {
  display: flex;
  min-height: 100vh;
}

/* PANEL IZQUIERDO */

.demo-left {
  flex: 1;
  background: linear-gradient(180deg, #0c2a45, #071b33);
  color: white;
  display: flex;
  align-items: center;
  padding: 70px;
  position: relative;
}

/* grid pattern */
.demo-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.left-content {
  position: relative;
  max-width: 520px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-weight: bold;
}

.logo span{
  font-family: Arial, Helvetica, sans-serif;
}

.logo-box {
  background: #2b7fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  display: inline-block;
  background: #123d66;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.left-content h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.left-content p {
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: Arial, Helvetica, sans-serif;
}

/* stats */

.stats {
  display: flex;
  gap: 20px;
}

.stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  width: 120px;
  text-align: center;
}

.stat h3 {
  font-size: 20px;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.stat span {
  font-size: 11px;
  opacity: 0.7;
  font-family: Arial, Helvetica, sans-serif;
}

/* PANEL DERECHO */

.demo-right {
  flex: 1;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.form-container {
  background: white;
  padding: 40px;
  border-radius: 14px;
  width: 580px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

.form-sub {
  font-size: 14px;
  color: #6b7785;
  margin-bottom: 25px;
}

form h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #4b5a6b;
  letter-spacing: 0.5px;
  font-family: Arial, Helvetica, sans-serif;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  background: #f7f9fb;
}

textarea {
  min-height: 90px;
}

.btn-demo {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #2b7fff, #1e63d6);
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-top: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(43, 127, 255, 0.25);
}

.form-footer {
  text-align: center;
  font-size: 11px;
  color: #8a94a3;
  margin-top: 10px;
}

.radio-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  margin: 10px 0 15px;
  font-size: 14px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap
}

.checkbox {
   display: inline-flex;   /* 🔥 cambia esto */
  align-items: center;
  gap: 5px;               /* ajusta el espacio */
  font-size: 14px;
  white-space: nowrap;
}

.checkbox input {
  margin: 0;
}

.label-radio {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
}


/* =======================
   TABLETS
======================= */

@media (max-width: 1100px) {

  .demo-section {
    flex-direction: column;
  }

  .demo-left {
    padding: 60px 40px;
    min-height: auto;
  }

  .left-content {
    max-width: 100%;
  }

  .stats {
    flex-wrap: wrap;
  }

  .demo-right {
    padding: 50px 30px;
  }

  .form-container {
    width: 100%;
    max-width: 650px;
  }

}



/* =======================
   CELULARES
======================= */

@media (max-width: 768px) {

  .demo-left {
    padding: 50px 25px;
    text-align: center;
    justify-content: center;
  }

  .left-content h1 {
    font-size: 34px;
  }

  .left-content p {
    font-size: 15px;
  }

  .stats {
    justify-content: center;
  }

  .stat {
    width: 100px;
    padding: 16px;
  }

  .demo-right {
    padding: 40px 20px;
  }

  .form-container {
    padding: 30px 22px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

}



/* =======================
   CELULARES PEQUEÑOS
======================= */

@media (max-width: 480px) {

  .demo-left {
    padding: 40px 20px;
  }

  .left-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .badge {
    font-size: 11px;
  }

  .stat {
    width: 90px;
  }

  .stat h3 {
    font-size: 18px;
  }

  .form-container {
    padding: 25px 18px;
  }

  input,
  select,
  textarea {
    padding: 11px;
    font-size: 13px;
  }

  .btn-demo {
    padding: 13px;
    font-size: 14px;
  }

}

/******************************************************/

.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;
  }
}
/*********************************************/


.plans-section {
  padding: 4rem 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plans-header {
  max-width: 900px;
  margin-bottom: 3rem;
}

.plans-header .plans-title{
  color: white;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
}

.timlab {
  display: block;         
  text-align: center;     
  margin-top: 0.3rem;
}


.plans-header p {
  color: white;
  margin: 0.5rem 0 1.2rem;
  text-align: center;
}

.platforms {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #0f172a;
  text-align: center;
  justify-content: center;
}

.pill {
  background: #e0f2fe;
  color: #0284c7;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}


.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}


.plan-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.2rem;
  border: 1px solid #e2e8f0;
  overflow: hidden; /* FIX CIRCULO */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.plan-card h3 {
  
  font-size: 2rem;
  font-weight: 700;
  margin: 0.3rem 0 0.6rem;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;

}

.plan-card h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

.plan-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.plan-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 0.6rem;
}

.btn {
  width: 100%;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.btn.light {
  background: #f1f5f9;
  color: #0f172a;
}

.btn.primary {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18); /* FIX */
}

.btn.primary:hover {
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.22);
  transform: translateY(-1px);
}

.btn:focus {
  outline: none;
}


.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.plan-features li::before {
  content: none;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: #e0f2fe;          
  color: #0284c7;               
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}


.plan-card.premium {
  border: 2px solid #0284c7;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

.badge-premium {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}


@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plans-header h2 {
    font-size: 1.6rem;
  }

  .plan-card {
    padding: 1.8rem;
  }
}


/*********************************************/

/* Ocultas por defecto */
.cards-section-admin {
  display: none;
  opacity: 0;
}

.cards-section-admin.active {
  display: block;
  opacity: 1;
}

/* Estado inicial de cada card */
.cards-section-admin .card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Cuando la sección está activa */
.cards-section-admin.active .card {
  opacity: 1;
  transform: translateY(0);
}
/*******************************************/

@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);
}


/******************************************/