/* ================= RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Inter, Roboto, sans-serif;
  color: #0f172a;
  background: linear-gradient(180deg, #f7faff 0%, #fdfefe 100%);
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER ================= */
.header-clean {
  background: transparent;
  padding: 20px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ===== FIX DEFINITIVO TAMAÑO LOGO ===== */
.header-clean img {
  height: 48px;          /* tamaño corporativo */
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

/* NAV */
.nav a {
  margin-left: 20px;
  font-size: 14px;
  color: #1e293b;
  text-decoration: none;
}

.nav a:hover {
  color: #2563eb;
}

/* ================= BOTONES ================= */
.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}

/* ================= HERO ================= */
.hero-premium {
  padding: 64px 0 56px; /* ⬅️ MENOS AIRE */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-copy p {
  max-width: 520px;
  color: #475569;
  font-size: 16px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* ================= SECCIONES ================= */
.section {
  padding: 56px 0; /* ⬅️ REDUCIDO */
}

.section-soft {
  background: #f8fafc;
}

.section-title {
  font-size: 26px;
  margin-bottom: 28px;
  font-weight: 600;
}

/* ================= CARDS ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: #475569;
  line-height: 1.45;
}

.link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

/* ================= CTA ================= */
.cta-final {
  background: #1e3a8a;
  color: #fff;
  padding: 56px 0; /* ⬅️ MÁS COMPACTO */
  text-align: center;
}

.cta-final h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.cta-final p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* ================= FOOTER ================= */
.footer-clean {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  padding: 20px 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 34px;
  }
}
