
html {
  scroll-behavior: smooth;
}



body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0f2e57, #2b5fa4);
}

h3 {
  color: #202942;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* ===== NAVBAR ===== */

.timsa-icon {
  color: #1f4fd8; /* azul médico */
  font-size: 1.8rem;
}

.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: #111827;
}

.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: "Roboto", sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: #6b7280;
  transition: color 0.2s ease;
}

.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: "Roboto", sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: #1f2937;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled a,
.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);
}
/**********************************************************/

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #ffffff, transparent);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.95) 45%,
      rgba(255, 255, 255, 0.75)
    ),
    url(https://lh3.googleusercontent.com/aida-public/AB6AXuClCmGmzEwydwdsP5q0VM86Evck4ZoAPCF-FrnmkX9X42Kq1NaoueSrjB-6p6BtbHa13aDuZZYWG38mofFDidD5JLY1YaJ8KthdFphydcwGKmsNSKVwV3My3NjK9x4vzDstnAGPCn8s4w61EQV-tprO4u6KLXo2y2As7EdoAFSsbvo658XoGWS_55NuUFmY-MStne4lcmOfObT62WdeskUy_Y68BVFuWappZmx-bF0ecN_i_e8SacUb49msYs3yvox-G2Q9iqcOzoM);
  background-size: cover;
  background-position: center center;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.4rem;
  line-height: 1.2;
  font-weight: 600;
  color: #0b1020;
  letter-spacing: -0.02em;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-text h1 span {
  color: #5b5efc;
  font-weight: 600;
}

.hero-text p {
  margin-top: 1.5rem;
  max-width: 540px;
  color: black;
  font-size: 1.05rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;

  font-family: Arial, Helvetica, sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #5b5efc, #6a7cff);
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(91, 94, 252, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(6px);
}

/* VISUAL*/
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.device {
  width: 400px;
  height: 300px;
  background: #1f4d4f;
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

/* HEADER SUPERIOR */
.screen-header {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-pill {
  width: 400px;
  height: 16px;
  background: #e5e7eb;
  border-radius: 6px;
}

.header-dot {
  width: 6px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 50%;
}

/* CUERPO */
.screen-body {
  flex: 1;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
}

/* SIDEBAR */
.sidebar span {
  display: block;
  width: 14px;
  height: 14px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* CONTENIDO */
.content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* GRÁFICA */
.chart {
  display: flex;
  gap: 50px;
  align-items: flex-end;
  height: 120px;
}

.chart span {
  width: 8px;
  background: #c7d2fe;
  border-radius: 6px;
}

.chart span:nth-child(1) {
  height: 40%;
}
.chart span:nth-child(2) {
  height: 65%;
}
.chart span:nth-child(3) {
  height: 55%;
}
.chart span:nth-child(4) {
  height: 85%;
  background: #4f46e5;
}
.chart span:nth-child(5) {
  height: 60%;
}
.chart span:nth-child(6) {
  height: 45%;
}

/* BADGE */
.badge {
  position: absolute;
  bottom: 0px;
  left: 2px;
  background: #ffffff;
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 1.1rem;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.badge .check {
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.badge small {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  font-family: Arial, Helvetica, sans-serif;
}

.badge strong {
  font-size: 1.8rem;
  font-family: Arial, Helvetica, sans-serif;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .badge {
    left: 50%;
    transform: translateX(-50%);
  }
}


@media (max-width: 640px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin: 1.2rem auto 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* DEVICE */
  .device {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .chart {
    gap: 28px;
    height: 90px;
  }

  .badge {
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.9rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  /* DEVICE */
  .device {
    width: 360px;
    height: 270px;
  }

  .chart {
    gap: 40px;
  }

  .badge {
    left: 50%;
    transform: translateX(-50%);
  }
}


/*******************************/
.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;
}

h1 {
  font-size: 3rem;
  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;
  }
}


/*******************************************/



.benefits {
  padding: 5rem 2rem;
}

.benefits-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: white;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.benefits-header h2 {
  font-size: 2.3rem;
  font-weight: 8  00;
  color: white;
  margin-bottom: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.benefits-header p {
  font-size: 1rem;
  color: white;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

.benefits-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef4ff;
  color: #2b7cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  font-family: Arial, Helvetica, sans-serif;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

/* 📱 TABLET */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 MOBILE */
@media (max-width: 640px) {
  .benefits {
    padding: 3rem 1.5rem;
  }

  .benefits-header h2 {
    font-size: 1.8rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}



/***************************************************/

.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;
}

.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: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0.5rem;
}

.cards-section-admin .feature-card p {
  font-size: 0.9rem;
  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;
  }
}

/***************************************************/

.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;
  }
}

/***************************************************/


.channels-section {
  padding: 1rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channels-header {
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.channels-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
}

.channels-header p {
  color: white;
  margin-top: -35px;
  text-align: center;
}

/* Grid */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
}

/* Cards */
.channel-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.channel-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 1rem;
  color: #0f172a;
}

.channel-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Mockups generales */
.mockup {
  background: #f1f5f9;
  border-radius: 10px;
  height: 120px;
  position: relative;
  overflow: hidden;
}

/* Portal Web */
.mockup.web .bar {
  height: 10px;
  width: 60%;
  background: #cbd5e1;
  margin: 15px;
  border-radius: 6px;
}

.mockup.web .line {
  height: 8px;
  width: 80%;
  background: #e2e8f0;
  margin: 10px 15px;
  border-radius: 6px;
}

.mockup.web .line.short {
  width: 50%;
}

/* Envío automático */
.mockup.mail {
  background: #e8dfd6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.mail-box {
  background: white;
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.7rem;
  color: #0f172a;
}

.mail-box span {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
}

.mail-line {
  height: 10px;
  background: white;
  margin-top: 12px;
  border-radius: 999px;
}

/* App móvil */
.mockup.mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.phone {
  width: 50px;
  height: 90px;
  background: white;
  border-radius: 12px;
}

.notif {
  width: 50px;
  height: 12px;
  background: #0ea5e9;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 900px) {
  .channels-grid {
    grid-template-columns: 1fr;
  }
}


























/**************************************************/
.info-section {
  display: flex;
  align-items: center;
  gap: 100px;
  padding: 60px;
}

.info-img img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  
  border-radius: 12px;
}

.info-text {
  max-width: 650px;
}

.title {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: white;
}

.highlight {
  color: #5b5cff;
}

.about .subtitle {
  margin: 20px 0 40px;
  font-size: 15px;
  color: white;
  max-width: 520px;
  font-family: Arial, Helvetica, sans-serif;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
}

.feature {
  display: flex;
  gap: 12px;
}

.check {
  width: 26px;
  height: 26px;
  background: transparent;
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.feature strong {
  display: block;
  font-size: 15px;
  color: white;
  margin: 0;
  font-weight: 900;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.feature small {
  font-size: 13px;
  font-weight: 100;
  color: #e5e7eb;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
    text-align: center;
  }
}

/******************************************************/

.cta-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.cta-card {
  width: 100%;
  max-width: 1100px;
  padding: 64px 40px;
  border-radius: 20px;
  text-align: center;
  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);
}

.cta-card h2 {
  font-size: 30px;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-weight: 900;
}

.cta-card p,
span {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.cta-btn {
  background: #fff;
  color: #5b4ee8;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;

  transition: all 0.35s ease;
}

.cta-form.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.cta-form input {
  padding: 14px 16px;
  border-radius: 999px;
  border: none;
  outline: none;
  width: 280px;
}

.cta-form button {
  padding: 14px 26px;
  border-radius: 999px;
  background: #312e81;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  opacity: 0.8;
}
@media (max-width: 1024px) {
  .cta-section {
    padding: 64px 20px;
  }

  .cta-card {
    padding: 48px 32px;
  }

  .cta-card h2 {
    font-size: 26px;
  }

  .cta-form {
    gap: 10px;
  }

  .cta-form input {
    width: 240px;
  }

  .cta-btn {
    padding: 12px 28px;
  }
}

@media (max-width: 767px) {
  .cta-section {
    padding: 48px 16px;
  }

  .cta-card {
    padding: 40px 20px;
    border-radius: 18px;
  }

  .cta-card h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .cta-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .cta-form {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .cta-form input {
    width: 100%;
    max-width: 320px;
  }

  .cta-form button {
    width: 100%;
    max-width: 320px;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
  }

  .cta-note {
    font-size: 11px;
  }
}







/*************************************************************/

.start-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  min-height: 80vh;
  padding: 0 80px;
}

.start-left {
  flex: 0 0 auto;
}

.image-card {
  width: 100%;
  background: transparent;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.lines span {
  display: block;
  width: 120px;
  height: 8px;
  background: #e5e7eb;
  border-radius: 6px;
  margin-bottom: 6px;
}

.start-right {
  flex: 1;
  max-width: 520px;
}

.start-right h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.start-right h2 span {
  color: white;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  gap: 18px;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.step strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: white;
}

.step p {
  font-size: 14px;
  color: white;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 26px;
  background: white;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .start-section {
    gap: 60px;
    padding: 60px 40px;
  }

  .image-card img {
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .start-section {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    padding: 40px 20px;
    min-height: auto;
  }

  .start-left,
  .start-right {
    max-width: 100%;
  }

  .image-card img {
    max-width: 100%;
  }

  .start-right h2 {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .steps {
    gap: 22px;
  }

  .step {
    align-items: flex-start;
  }

  .step-icon {
    width: 38px;
    height: 38px;
  }

  .btn-primary {
    margin: 32px auto 0;
  }
}
/*********************************************************************/


.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;
  }
}


/*****************************************************************************/



.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* IZQUIERDA */
.contact-image {
  background: url(../img/form.jpg) center/cover no-repeat;
  position: relative;
  min-height: 400px;   /* o la altura que uses */
  width: 100%;
}

.contact-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.1)
  );
}

.overlay-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: white;
  max-width: 420px;
  z-index: 1;
}

.quote {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cert {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* DERECHA */
.contact-content {
  background: white;
  padding: 60px 56px;
}

.pill {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-content .subtitle {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
  font-family: Arial, Helvetica, sans-serif;
}

/* INFO */
.info-row {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.info-item strong {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 4px;
}

.info-item span {
  font-size: 0.85rem;
  color: #0f172a;
}

/* FORM */
.contact-form {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
  color: #334155;
}

.field input,
.field select,
.field textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.85rem;
  font-family: Arial, Helvetica, sans-serif;
}

.field textarea {
  resize: none;
  min-height: 90px;
}

/* BOTÓN */
.submit-btn {
  width: 100%;
  background: #5b5efc;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 12px 30px rgba(91,94,252,0.35);
}


/* TABLET */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-image {
    height: 320px;
  }

  .contact-content {
    padding: 40px;
  }
}

/* MÓVIL */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    padding: 32px 20px;
  }

  .overlay-text {
    left: 20px;
    right: 20px;
  }
}



/***************************************************************************/

@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);
}

/****************************************************************************/


/* 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);
}





































