/* Reset y base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background-color: #06b6d4;
  color: #020617;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.22);
}

.btn-primary:hover {
  background-color: #0891b2;
}

.btn-secondary {
  background-color: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
}

.btn-secondary:hover {
  background-color: #334155;
}

/* Navbar */
.navbar {
  background-color: #0f172a;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #1e293b;
}

.navbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.logo-img {
  height: 50px;
  width: auto;
  max-height: 54px;
  object-fit: contain;
  border-radius: 9999px;
  border: 1px solid #334155;
  background-color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #22d3ee;
}

/* Hero */
.hero {
  background-color: #0f172a;
  color: #ffffff;
  padding: 88px 0 104px;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: #1e293b;
  color: #22d3ee;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #334155;
  margin-bottom: 20px;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 40px;
  max-width: 680px;
  font-size: 1.125rem;
  color: #94a3b8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Marcas / Partners */
.partners {
  background-color: #ffffff;
  padding: 44px 0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

.partners-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  padding: 20px;
  border-radius: 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}

.partner-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #334155;
}

.partner-desc {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Servicios */
.services {
  padding: 84px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.section-subtitle {
  margin: 12px auto 0;
  max-width: 640px;
  color: #475569;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: #06b6d4;
  transform: translateY(-2px);
}

.service-number {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #ecfeff;
  color: #0891b2;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.service-desc {
  margin: 0 0 18px;
  font-size: 0.925rem;
  color: #475569;
}

.service-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #64748b;
  display: grid;
  gap: 8px;
}

/* Nosotros */
.about {
  background-color: #0f172a;
  color: #ffffff;
  padding: 84px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-title {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-text {
  margin: 0 0 28px;
  color: #cbd5e1;
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #22d3ee;
}

.stat-label {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.protocol-box {
  background-color: #1e293b;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #334155;
}

.protocol-title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #22d3ee;
}

.protocol-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  font-size: 0.925rem;
  color: #cbd5e1;
}

.protocol-list li {
  display: flex;
  gap: 10px;
}

.step-num {
  font-weight: 800;
  color: #ffffff;
}

/* Footer */
.footer {
  background-color: #020617;
  color: #ffffff;
  padding: 48px 0;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-text {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Responsivo */
@media (max-width: 860px) {
  .nav-links,
  .desktop-break {
    display: none;
  }

  .partners-grid,
  .services-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 76px;
  }
}
