/* ============================= */
/* RESET */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

/* ============================= */
/* VARIABLES */
/* ============================= */
:root {
  --azul-principal: #0b1f3a;
  --verde-acento: #3fa796;
  --gris-claro: #f4f6f9;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
.logo-img {
  height: 70px;
  
}

.logo-img:hover {
  transform: scale(1.05);
}

.navbar {
  padding: 10px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-nav {
  align-items: center;
}

.navbar.scrolled {
  background: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
  background: linear-gradient(135deg, #198754, #157347);
  color: #fff;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-empresarial,
.hero-quienes,
.hero-clinica {
  background: linear-gradient(135deg, #0b1f3a, #3fa796);
  height: 220px;
  display:flex;
  align-items:center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* ============================= */
/* IMÁGENES */
/* ============================= */
.img-fluid {
  border-radius: 10px;
}

/* ============================= */
/* SERVICES */
/* ============================= */
.service-card {
  background: #fff;
  max-width: 350px;
  margin: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.3s;
  padding: 25px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-card p {
  text-align: justify;
}

.service-card h5 {
  min-height: 60px;
}

.service-card i {
  display: inline-block;
  padding: 15px;
  border-radius: 50%;
  background-color: rgba(25, 135, 84, 0.1);
}

.service-icon {
  font-size: 60px;
}

/* ============================= */
/* CLIENT LOGOS */
/* ============================= */
.client-logo {
  max-width: 130px;
  margin: auto;
  display: block;
  transition: 0.3s;
}

.client-logo:hover {
  transform: scale(1.08);
}

/* ============================= */
/* BENEFITS */
/* ============================= */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.benefit-icon {
  min-width: 50px;
  height: 50px;
  background: #198754;
  color: white;
  display:flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ============================= */
/* STATS */
/* ============================= */
.stats {
  background: #198754;
  color: white;
  padding: 80px 0;
}

.stats h2 {
  font-size: 40px;
  font-weight: bold;
}

/* ============================= */
/* TESTIMONIOS */
/* ============================= */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-style: italic;
  color: #555;
}

.testimonial-stars {
  color: #ffc107;
}

.testimonial-author {
  font-weight: 600;
}

/* ============================= */
/* PROBLEMAS */
/* ============================= */
.problema-card {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  font-weight: 500;
  transition: 0.3s;
}

.problema-card:hover,
.problema-card:active {
  transform: translateY(-5px);
  background-color:#157347;
  color: white;
}

/* ============================= */
/* METODOLOGÍA */
/* ============================= */
.metodologia-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  max-height: 350px;
  object-fit: cover;
}

/* ============================= */
/* TEXTO */
/* ============================= */
.texto-justificado {
  text-align: justify;
}

/* ============================= */
/* CTA */
/* ============================= */
.cta {
  background: var(--verde-acento);
  color: white;
  padding: 80px 0;
}

/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
  background: var(--azul-principal);
  color: white;
  padding: 50px 0;
}

.footer a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--verde-acento);
}

/* ============================= */
/* ANIMACIONES */
/* ============================= */
.reveal {
  opacity: 1;
  transform: translateY(40px);
  transition: 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {

  .logo-img {
    height: 55px;
  }

  .hero {
    padding: 60px 20px;
    text-align: center;
  }

  .hero-img {
    margin-top: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-clinica {
    height: 180px;
    padding:20px;
  }

  .hero-clinica h1 {
    font-size: 26px;
  }

  .stats h2 {
    font-size: 30px;
  }

  .reveal {
    transform: none;
  }

  .problema-card {
    margin-bottom: 15px;
    font-size: 15px;
  }
}