* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafc;
  color: #1e293b;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1e3a5f;
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  background-color: #0f2c46;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #1e3a5f;
  color: #1e3a5f;
  box-shadow: none;
}

.btn-outline:hover {
  background-color: #1e3a5f;
  color: white;
  transform: translateY(-2px);
}

/* header */
.header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #e9edf2;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(0px);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  flex-wrap: wrap;
}

.logo h1 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1e3a5f, #2c5a7a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.logo span {
  font-weight: 500;
  font-size: 0.85rem;
  display: block;
  color: #4b6b8f;
}

/* Menú desktop */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #1e2f3e;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1e3a5f;
}

/* Botón hamburguesa (oculto en desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1e3a5f;
  padding: 6px;
  transition: 0.2s;
}

/* Hero */
.hero {
  padding: 70px 0 60px;
  background: linear-gradient(120deg, #ffffff 0%, #f2f5f9 100%);
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1.2;
}

.hero-badge {
  background: #e1ecf4;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0a2540;
}

.hero-content p {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 28px;
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  font-weight: 700;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e3a5f;
}

.hero-image {
  flex: 1;
  background: #dce5ed;
  border-radius: 32px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.1);
}

.hero-image i {
  font-size: 8rem;
  color: #1e3a5f;
  opacity: 0.8;
}

/* Servicios */
.services {
  padding: 80px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center;
  color: #4b5565;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 24px;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f8;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #cddfec;
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 2.6rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: #475569;
}

/* Certificados */
.certified {
  background: #f0f4f9;
  padding: 80px 0;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.cert-text {
  flex: 1;
}

.cert-text h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.cert-list {
  list-style: none;
  margin-top: 20px;
}

.cert-list li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.cert-list i {
  color: #1e3a5f;
  font-size: 1.4rem;
  width: 28px;
}

.cert-badge {
  flex: 0.8;
  background: white;
  border-radius: 28px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.05);
}

.cert-badge i {
  font-size: 4rem;
  color: #1e3a5f;
  margin-bottom: 16px;
}

/* Gestión integral */
.management {
  padding: 80px 0;
  background: white;
}

.management-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: #f9fafc;
  border-radius: 40px;
  padding: 50px 40px;
  border: 1px solid #eef2f8;
}

.management-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.management-item i {
  font-size: 2.5rem;
  background: #e2eaf1;
  padding: 18px;
  border-radius: 60px;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.management-item h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  background: linear-gradient(115deg, #102b3f, #1d3e5c);
  color: white;
  padding: 70px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta .btn {
  background: white;
  color: #1e3a5f;
  margin-top: 20px;
}

.cta .btn:hover {
  background: #f0f4fa;
}

/* Footer */
.footer {
  background: #0f1722;
  color: #abb7c9;
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col p {
  max-width: 260px;
  margin-top: 10px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 16px;
}

.social i {
  font-size: 1.4rem;
  margin-right: 18px;
  color: #abb7c9;
  transition: color 0.2s;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1e2a3a;
  font-size: 0.85rem;
}

/* Responsive: menú hamburguesa */
@media (max-width: 800px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-grid {
    flex-direction: column;
  }
  .cert-grid {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #eef2f8;
    padding: 20px 0;
    z-index: 99;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid #f0f2f5;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .btn-outline {
    margin: 8px 20px;
    display: inline-block;
    text-align: center;
    background: transparent;
    border: 1.5px solid #1e3a5f;
    color: #1e3a5f;
    padding: 10px 0;
    width: calc(100% - 40px);
  }

  .nav-links .btn-outline:hover {
    background-color: #1e3a5f;
    color: white;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  .management-wrap {
    padding: 30px 20px;
  }
}
