:root {
  --ailectus-primary: #0E1424;
  --ailectus-primary-2: #111c34;
  --ailectus-accent: #CC9933;
  --ailectus-accent2: #F57C1F;
  --ailectus-light: #f6f7fb;
  --ailectus-soft: #eef4fb;
  --ailectus-text: #172033;
  --ailectus-muted: #6b7280;
  --ailectus-border: rgba(15, 23, 42, .10);
  --ailectus-shadow: 0 18px 50px rgba(14, 20, 36, .12);
  --ailectus-radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--ailectus-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-wrapper {
  padding-top: 76px;
  overflow: hidden;
}

.bg-primary {
  background-color: var(--ailectus-primary) !important;
}

.text-primary {
  color: var(--ailectus-primary) !important;
}

.brand-accent {
  color: var(--ailectus-accent2);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: .75rem 1.25rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ailectus-accent2), var(--ailectus-accent));
  border: none;
  box-shadow: 0 12px 28px rgba(245, 124, 31, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(245, 124, 31, .36);
}

.btn-outline-primary {
  color: var(--ailectus-primary);
  border-color: rgba(14, 20, 36, .25);
  background: #fff;
}

.btn-outline-primary:hover {
  background: var(--ailectus-primary);
  border-color: var(--ailectus-primary);
  color: #fff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--ailectus-primary);
}

.ailectus-navbar {
  background: rgba(14, 20, 36, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: .85rem 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, .76);
  font-weight: 600;
  font-size: .95rem;
  padding-left: .85rem;
  padding-right: .85rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.btn-campus {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  font-weight: 700;
}

.btn-campus:hover {
  background: #fff;
  color: var(--ailectus-primary);
}

.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 124, 31, .20), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(204, 153, 51, .22), transparent 26%),
    linear-gradient(135deg, #0E1424 0%, #111c34 48%, #172845 100%);
  color: #fff;
  padding: 6rem 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .04));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: .32;
}

.hero-glow-one {
  background: var(--ailectus-accent2);
  left: -80px;
  top: 120px;
}

.hero-glow-two {
  background: var(--ailectus-accent);
  right: -80px;
  bottom: 80px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 720px;
  color: rgba(255, 255, 255, .76);
  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-visual {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .2));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
}

.hero-logo-main {
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, .35));
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ailectus-primary);
  font-weight: 800;
  font-size: .86rem;
  box-shadow: var(--ailectus-shadow);
}

.floating-card i {
  color: var(--ailectus-accent2);
}

.floating-card-one {
  top: 20px;
  left: -12px;
}

.floating-card-two {
  bottom: 24px;
  right: -14px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-metrics div {
  min-width: 150px;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.hero-metrics span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: .86rem;
}

.section-space {
  padding: 6rem 0;
}

.section-soft {
  background:
    radial-gradient(circle at top left, rgba(245, 124, 31, .08), transparent 24%),
    var(--ailectus-light);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-weight: 850;
  letter-spacing: -0.035em;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ailectus-primary);
  margin: .75rem 0;
}

.section-heading p {
  color: var(--ailectus-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(245, 124, 31, .10);
  border: 1px solid rgba(245, 124, 31, .18);
  color: var(--ailectus-accent2);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
}

.service-card,
.portfolio-card,
.client-card,
.course-card,
.resource-card,
.contact-form {
  border: 1px solid var(--ailectus-border);
  border-radius: var(--ailectus-radius);
  box-shadow: 0 10px 30px rgba(14, 20, 36, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card,
.portfolio-card,
.client-card {
  overflow: hidden;
  background: #fff;
}

.service-card:hover,
.portfolio-card:hover,
.client-card:hover,
.course-card:hover,
.resource-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--ailectus-shadow);
  border-color: rgba(245, 124, 31, .24);
}

.service-card .card-body {
  padding: 1.35rem;
}

.service-icon {
  width: 100%;
  height: 150px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .75rem;
}

.service-card h5,
.portfolio-card h5,
.course-card h5,
.client-card h5 {
  color: var(--ailectus-primary);
  font-weight: 800;
}

.service-card p,
.portfolio-card p,
.course-card p,
.resource-card p,
.client-card p {
  color: var(--ailectus-muted);
  line-height: 1.65;
  font-size: .94rem;
}

.campus-section {
  padding: 1rem 0 6rem;
  background: #fff;
}

.campus-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 3rem;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 124, 31, .30), transparent 25%),
    linear-gradient(135deg, #0E1424, #172845);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 24px 70px rgba(14, 20, 36, .22);
}

.campus-card h2,
.cta-card h3 {
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: .75rem;
}

.campus-card p,
.cta-card p {
  color: rgba(255, 255, 255, .72);
  max-width: 680px;
  margin-bottom: 0;
}

.portfolio-card img {
  height: 230px;
  object-fit: cover;
}

.portfolio-card .card-body {
  padding: 1.5rem;
}

.recursos-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 124, 31, .08), transparent 26%),
    linear-gradient(180deg, #eef4fb, #f8fafc);
}

.resource-card {
  background: #fff;
  padding: 2rem;
}

.resource-card i,
.course-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 124, 31, .15), rgba(204, 153, 51, .15));
  color: var(--ailectus-accent2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.resource-card h6 {
  font-weight: 850;
  color: var(--ailectus-primary);
  font-size: 1.05rem;
}

.course-card {
  padding: 2rem;
  background: #fff;
}

.course-card .badge {
  background: rgba(245, 124, 31, .10);
  color: var(--ailectus-accent2);
  padding: .55rem .85rem;
}

.client-logo-sm {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  border: 1px solid var(--ailectus-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(14, 20, 36, .08);
}

.client-logo-sm img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-card small {
  color: var(--ailectus-muted);
}

.cta-section {
  padding: 2rem 0;
  background: var(--ailectus-light);
}

.contact-form {
  max-width: 760px;
  background: #fff;
  padding: 2rem;
}

.form-label {
  font-weight: 700;
  color: var(--ailectus-primary);
}

.form-control {
  border-radius: 16px;
  border: 1px solid var(--ailectus-border);
  padding: .85rem 1rem;
}

.form-control:focus {
  border-color: rgba(245, 124, 31, .55);
  box-shadow: 0 0 0 .25rem rgba(245, 124, 31, .12);
}

.ailectus-footer {
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 124, 31, .16), transparent 24%),
    #0E1424;
  color: #fff;
  padding: 2.5rem 0;
}

.footer-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, .70);
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
}

.footer-link:hover {
  color: #fff;
}

.ova-frame {
  background: #0E1424;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
}

.ova-header {
  background: linear-gradient(90deg, #0E1424, #1b2a4a);
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ova-body {
  background: #ffffff;
}

.ova-body iframe {
  width: 100%;
  height: 80vh;
  border: none;
}

.genially-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.genially-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 991.98px) {
  .page-wrapper {
    padding-top: 72px;
  }

  .hero-section {
    min-height: auto;
    padding: 5rem 0 4rem;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-metrics {
    justify-content: center;
  }

  .campus-card,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .footer-link {
    margin-left: 0;
    margin-right: 1rem;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-visual {
    padding: 1rem;
  }

  .floating-card {
    display: none;
  }

  .campus-card,
  .cta-card,
  .contact-form {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .portfolio-card img {
    height: 190px;
  }
}