/* Tema "corporate": portada de empresa de servicios (no un blog). Se apoya en las
   variables de default.css (--primary, --text, --muted, --bg, --surface, --border)
   y solo añade lo propio de esta portada: héroe, tarjetas de servicio, franja de
   confianza y llamada a la acción de contacto. */

.home-corporate #main { padding-top: 0; }

.home-corporate .header-tools .btn { white-space: nowrap; }

/* Héroe */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  max-width: 900px;
  margin: 0 auto;
  background: radial-gradient(60% 90% at 50% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 72%);
  border-radius: 0 0 28px 28px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary);
  margin: 0 0 .75rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1.1rem;
  letter-spacing: -.01em;
}
.gradient-text {
  background: linear-gradient(100deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #7c3aed));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
}
.btn { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary { box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-lg { padding: .75rem 1.6rem; font-size: 1rem; }

/* Servicios */
.services { padding: 3rem 0 3.5rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary);
  margin: 0 0 .5rem;
}
.section-head h2 { margin: 0; font-size: 1.7rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: 0 14px 28px -18px color-mix(in srgb, var(--primary) 60%, transparent);
}
.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  margin-bottom: 1rem;
}
.service-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.service-card a { font-weight: 600; }

/* Confianza */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  margin: 1rem 0 3rem;
}
.trust-item h3 { margin: 0 0 .4rem; font-size: 1rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* Contacto */
.contact-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 65%, #000));
  color: #fff;
  border-radius: 20px;
  padding: 3.5rem 1.5rem;
  margin-bottom: 3.5rem;
}
.contact-cta h2 { margin: 0 0 .6rem; font-size: 1.7rem; }
.contact-cta p { margin: 0 0 1.5rem; opacity: .9; }
.contact-cta .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
  font-weight: 700;
}
.contact-cta .btn-primary:hover { opacity: .92; }

@media (max-width: 640px) {
  .hero { padding: 3rem 1rem 2.5rem; }
}
