/* Landing institucional — tipografía y capas sobre Bootstrap */
:root {
  --inst-bg-deep: #0c1222;
  --inst-bg-mid: #151b2e;
  --inst-accent: #2dd4bf;
  --inst-accent-dim: #14b8a6;
  --inst-text: #e8edf5;
  --inst-muted: #94a3b8;
  --inst-card: #ffffff;
  --inst-radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body.inst-landing {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #f8fafc;
}

.inst-nav {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.inst-nav .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--inst-bg-deep) !important;
}

.inst-nav .nav-link {
  font-weight: 500;
  color: #475569 !important;
}

.inst-nav .nav-link:hover {
  color: var(--inst-accent-dim) !important;
}

.inst-hero {
  background: linear-gradient(145deg, var(--inst-bg-deep) 0%, var(--inst-bg-mid) 45%, #0f172a 100%);
  color: var(--inst-text);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.inst-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 212, 191, 0.12), transparent 55%);
  pointer-events: none;
}

.inst-hero .container {
  position: relative;
  z-index: 1;
}

.inst-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.inst-hero .lead {
  color: var(--inst-muted);
  max-width: 36rem;
}

.inst-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--inst-accent);
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.btn-inst-primary {
  background: linear-gradient(135deg, var(--inst-accent) 0%, var(--inst-accent-dim) 100%);
  border: none;
  color: #0c1222 !important;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25);
}

.btn-inst-primary:hover {
  filter: brightness(1.05);
  color: #0c1222 !important;
}

.btn-inst-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--inst-text) !important;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
}

.btn-inst-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.inst-section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--inst-bg-deep);
}

.inst-section-sub {
  color: #64748b;
  max-width: 38rem;
}

.inst-card {
  border: none;
  border-radius: var(--inst-radius);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.inst-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.inst-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(20, 184, 166, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--inst-accent-dim);
}

.inst-benefits {
  background: #fff;
}

.inst-benefits li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #475569;
}

.inst-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--inst-accent-dim);
  font-weight: 700;
}

.inst-contact {
  background: linear-gradient(180deg, var(--inst-bg-mid) 0%, var(--inst-bg-deep) 100%);
  color: var(--inst-text);
}

.inst-contact .form-control,
.inst-contact .form-select {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.inst-contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.inst-contact .form-control:focus,
.inst-contact .form-select:focus {
  border-color: var(--inst-accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.inst-contact label {
  color: var(--inst-muted);
  font-size: 0.9rem;
}

.inst-footer {
  background: #070b14;
  color: var(--inst-muted);
  font-size: 0.875rem;
}

.inst-footer a {
  color: var(--inst-accent);
  text-decoration: none;
}

.inst-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .inst-hero {
    padding: 4rem 0 3rem;
  }
}
