html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0f2e57, #2b5fa4);
}

.red {
  background: #b91c1c;
}

/*************************************************************/

.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;
}


.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;
}


.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;
  }
}
@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.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-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(4, 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;
}
 .icon i{
    font-size: 30px;
 }


/* TEXT */
.beneficios_card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.beneficios_card p {
  font-weight: 500;
  color: black;
  font-size: 14px;
  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;
  }
}

/************************************************************/
.cumplimiento{
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.section-title-cumplimiento{
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: Arial, Helvetica, sans-serif;
}

.section-subtitle-cumplimiento{
  color: white;
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.cumplimiento-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.cumplimiento-card{
  background: #f4f6f8;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: all .3s ease;
}

.cumplimiento-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Icono NOM */
.nom-icon{
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Colores */
.nom-icon.red{
  background: linear-gradient(135deg, #e53935, #c62828);
}

.nom-icon.blue{
  background: linear-gradient(135deg, #0f2a44, #0a1f33);
}

.nom-content h3{
  margin: 0;
  font-size: 18px;
  color: #0f2a44;
  font-family: Arial, Helvetica, sans-serif;
}

.nom-content p{
    font-family: Arial, Helvetica, sans-serif;
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #6b7c93;
  line-height: 1.5;
}
/********************************************************************/

.ciclo{
  padding: 80px 20px;
}

.ciclo-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* IZQUIERDA */
.badge{
  background: #fdecec;
  color: #d32f2f;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.ciclo-left h2{
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: white;
  margin: 0 0 10px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.ciclo-desc{
  color: white;
  margin-bottom: 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.ciclo-list{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ciclo-item{
  background: #f4f6f8;
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  color: #0f2a44;
}

.ciclo-item .icon{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ciclo-item span{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.icon.red{
  background: #fdecec;
  color: #d32f2f;
}

/* DERECHA CARD */
.flujo-card{
  background: #f4f6f8;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.flujo-header{
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #0f2a44;
  margin-bottom: 20px;
}

.flujo-header small{
  color: #9aa8bd;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

.flujo-header span{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

/* STEPS */
.flujo-steps{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step{
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-circle{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0e6ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6b7c93;
}

.step-line{
  flex: 1;
  height: 6px;
  background: #e0e6ed;
  border-radius: 10px;
}

/* STEP ACTIVO */
.step.active{
  background: white;
  border: 2px solid #d32f2f;
  border-radius: 14px;
  padding: 15px;
}

.step-content{
  width: 100%;
}

.step-title{
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.step-bar{
  height: 6px;
  background: #e0e6ed;
  border-radius: 10px;
  width: 70%;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .ciclo-container{
    grid-template-columns: 1fr;
  }
}

/****************************************************/


.seguridad {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.seguridad h1 {
  font-size: 70px;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

.seguridad .subtitle {
  max-width: 820px;
  margin: auto;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.seguridad_grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* CARD */
.seguridad_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;
}

.seguridad_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;
}
 .icon i{
    font-size: 30px;
 }


/* TEXT */
.seguridad_card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.seguridad_card p {
  font-weight: 500;
  color: black;
  font-size: 14px;
  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) {
  .seguridad h1 {
    font-size: 48px;
  }

  .seguridad .subtitle {
    font-size: 17px;
    padding: 0 10px;
  }

  .seguridad_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .seguridad {
    padding: 60px 16px;
  }

  .seguridad h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .seguridad .subtitle {
    font-size: 15px;
  }

  .seguridad_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .seguridad_card {
    padding: 20px;
  }

  .seguridad_card h3 {
    font-size: 18px;
  }

  .seguridad_card p {
    font-size: 13px;
  }
}

/****************************************************/

.inventario{
  padding: 80px 20px;
}

.inventario-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* CARD OSCURA */
.stock-card{
  color: white;
  padding: 25px;
  border-radius: 22px;
  
  background: linear-gradient(135deg, #1a2638, #203a5f);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.stock-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stock-header span{
    font-family: Arial, Helvetica, sans-serif;
}

.alert-badge{
  background: #c62828;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

/* ITEMS */
.stock-item{
  background: rgba(255,255,255,0.05);
  padding: 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.stock-icon{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.stock-icon.red{ background: #c62828; }
.stock-icon.blue{ background: #1e88e5; }

.stock-info{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stock-info strong{
    font-family: Arial, Helvetica, sans-serif;
}

.stock-info small{
  opacity: .7;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.stock-status{
  font-weight: 700;
  font-size: 13px;
}

.stock-status.danger{ color: #ff5252; }
.stock-status.success{ color: #00e676; }

/* BOTÓN */
.stock-btn{
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.stock-btn:hover{
  background: rgba(255,255,255,0.2);
}

/* TEXTO DERECHA */
.badge-blue{
  background: #e3f2fd;
  color: #1e88e5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.inventario-text h2{
  color: white;
  margin: 0 0 10px 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: Arial, Helvetica, sans-serif;
}

.inventario-text p{
  color: white;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.inventario-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.inventario-list li{
  margin-bottom: 12px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.inventario-list i{
  color: #00c853;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .inventario-container{
    grid-template-columns: 1fr;
  }
}
/*********************************************************************/

.admin{
  padding: 80px 20px;
}

.admin-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* TITULO */
.admin-left h2{
  font-size: 34px;
  color: white;
  margin-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

/* GRID CARDS */
.admin-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.admin-card{
  background: #f4f6f8;
  padding: 22px;
  border-radius: 16px;
  transition: all .3s ease;
}

.admin-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.admin-card i{
  font-size: 35px;
  color: red;
  margin-bottom: 10px;
}

.admin-card h3{
  margin: 0 0 8px 0;
  font-size: 20px;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-card p{
  font-size: 16px;
  color: #6b7c93;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* IMAGEN CARD */
.admin-image-card{
  text-align: center;
}

.admin-image-card img{
  max-width: 100%;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .admin-container{
    grid-template-columns: 1fr;
  }

  .admin-grid{
    grid-template-columns: 1fr;
  }
}

/******************************************************************/

.integracion{
  background: #071f2e;
  padding: 100px 20px;
  color: white;
  position: relative;
}

/* PUNTOS DE FONDO */
.integracion::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.integracion-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* IZQUIERDA */
.badge-dark{
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 20px;
}

.integracion-left h1{
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 15px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.integracion-left h1 span{
  color: #ff5252;
  font-family: Arial, Helvetica, sans-serif;
}

.integracion-left p{
  font-size: 19px;
  color: white;
  max-width: 500px;
  font-family: Arial, Helvetica, sans-serif;
}

/* STATS */
.stats{
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.stats h3{
  margin: 0;
  font-size: 28px;
  font-family: Arial, Helvetica, sans-serif;
}

.stats small{
  color: #9fb3c8;
  font-family: Arial, Helvetica, sans-serif;
}

.hl7{
  color: #00e5a8;
  font-family: Arial, Helvetica, sans-serif;
}

.divider{
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* CARD DERECHA */
.equipo-card{
  background: #0c2a3c;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.equipo-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #9fb3c8;
  margin-bottom: 20px;
}

.status-dot{
  width: 10px;
  height: 10px;
  background: #00e676;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

/* METRICS */
.equipo-metrics{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.metric{
  background: rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 14px;
}

.metric small{
  color: #9fb3c8;
  font-family: Arial, Helvetica, sans-serif;
}

.metric h2{
  margin: 5px 0 0 0;
  font-family: Arial, Helvetica, sans-serif;
}

.metric span{
  font-size: 14px;
  color: #9fb3c8;
  
  font-family: Arial, Helvetica, sans-serif;
}

/* FOOTER */
.equipo-footer{
  margin-top: 20px;
  background: rgba(0,255,170,0.08);
  border: 1px solid rgba(0,255,170,0.3);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #00e5a8;
  font-size: 14px;
  
  font-family: Arial, Helvetica, sans-serif;
}

.equipo-footer i{
  margin-right: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .integracion-container{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats{
    justify-content: center;
  }
}

/****************************************************************************/

.demo{
  padding: 80px 20px;
}

.demo-container{
  max-width: 800px;
  margin: auto;
  background: #f7f9fb;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.demo h2{
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  color: #0f2a44;
  margin-bottom: 5px;
  font-size: 35px;
  font-weight: 800;

}

.demo-subtitle{
  text-align: center;
  color: #d32f2f;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

/* GRID */
.form-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group{
  display: flex;
  flex-direction: column;
}

.form-group.full{
  grid-column: 1 / -1;
}

label{
  font-size: 13px;
  font-weight: 600;
  color: #0f2a44;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
}

input, select, textarea{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e0e6ed;
  background: #eef2f6;
  font-size: 14px;
}

textarea{
  min-height: 120px;
  resize: none;
}

/* SECCIONES */
.form-section{
  margin-top: 25px;
}

.section-title{
  font-size: 12px;
  font-weight: 700;
  color: #0f2a44;
  display: block;
  margin-bottom: 10px;
}

.checkbox-grid{
  display: grid;
  gap: 10px;
}

.checkbox-grid.areas{
  grid-template-columns: repeat(3, 1fr);
}

.two-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* CHECKBOX */
input[type="checkbox"]{
  margin-right: 8px;
}

/* BOTÓN */
.btn-demo{
  width: 100%;
  margin-top: 25px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #d32f2f;
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: .3s;
}

.btn-demo:hover{
  background: #b71c1c;
}

.form-note{
  display: block;
  margin-top: 15px;
  font-size: 11px;
  color: #9aa8bd;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .form-grid{
    grid-template-columns: 1fr;
  }

  .checkbox-grid.areas{
    grid-template-columns: 1fr 1fr;
  }

  .two-cols{
    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;
  }
}
