﻿:root {
  --ink: #0d1222;
  --paper: #f7f5f1;
  --muted: rgba(13, 18, 34, 0.72);

  --heroA: #0b1020;
  --heroB: #152e40;
  --accent: #f7b24f;

  --cardBorder: rgba(13, 18, 34, 0.08);
  --shadow2: 0 12px 28px rgba(13, 18, 34, 0.14);
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      1200px 800px at 10% 10%,
      rgba(57, 208, 185, 0.16),
      transparent 62%
    ),
    radial-gradient(
      900px 700px at 80% 0%,
      rgba(247, 178, 79, 0.14),
      transparent 62%
    ),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.floating-nav-wrap {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .floating-nav .navbar-brand {
    max-width: 75%;
  }
  .floating-nav .navbar-brand .nav-logo {
    max-width: 100%;
  }
}

.floating-nav {
  pointer-events: auto;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 18px;
  padding: 10px 14px;
  background: rgba(13, 18, 34, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.floating-nav.is-fixed {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  animation: navPop 0.24s ease-out;
}

@keyframes navPop {
  from {
    transform: translateX(-50%) translateY(-8px);
    opacity: 0.65;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.navbar-dark .navbar-nav .nav-item {
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}
.nav-cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px !important;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.16);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(57, 208, 185, 0.95),
      transparent 60%
    ),
    radial-gradient(circle at 70% 70%, rgba(247, 178, 79, 1), transparent 55%),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.06)
    );
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.6px;
}

.hero {
  position: relative;
  padding: 140px 0 76px;
  height: 100vh;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--heroA), var(--heroB) 52%, #0b1f2a);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 30, 0.7), rgba(10, 16, 30, 0.4)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 2px,
      rgba(255, 255, 255, 0) 2px,
      rgba(255, 255, 255, 0) 6px
    );
  mix-blend-mode: normal;
  z-index: 1;
}
.hero-bg {
  z-index: 2;
  position: absolute;
  inset: -120px -80px -120px -80px;
  background:
    radial-gradient(
      700px 500px at 15% 25%,
      rgba(57, 208, 185, 0.34),
      transparent 62%
    ),
    radial-gradient(
      720px 520px at 80% 20%,
      rgba(247, 178, 79, 0.33),
      transparent 60%
    ),
    radial-gradient(
      900px 680px at 50% 95%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  opacity: 0.96;
}

.hero-inner {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 14px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
}

.hero-actions .btn {
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
}
.btn {
  border-radius: 999px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffd37a);
  border: none;
  color: #1a1a1a;
  box-shadow: 0 14px 26px rgba(247, 178, 79, 0.22);
}
.btn-outline-light {
  border-width: 2px;
  font-weight: 800;
}

.hero-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.metric {
  min-width: 120px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
}
.metric-num {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.metric-label {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
}

.section {
  padding: 70px 0;
}
.section-head {
  margin-bottom: 18px;
}
.section-title {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.section-subtitle {
  color: var(--muted);
  max-width: 70ch;
}
.section-head.light .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}
.section-head.light .section-title {
  color: #fff;
}

.section-about {
  background: #f5f5f5;
}

.section-calendar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 18, 34, 0.1);
  border-radius: 0;
  padding: 22px;
  box-shadow: var(--shadow2);
}

.card-filters {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--cardBorder);
  border-radius: 20px;
  box-shadow: var(--shadow2);
  overflow: hidden;
  margin-bottom: 18px;
}
.border-left-lg {
  border-left: 1px solid rgba(13, 18, 34, 0.08);
}
@media (max-width: 991.98px) {
  .border-left-lg {
    border-left: 0;
    border-top: 1px solid rgba(13, 18, 34, 0.08);
  }
}
.input-icon {
  position: relative;
}
.input-icon i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: rgba(13, 18, 34, 0.52);
}
.input-icon .form-control {
  padding-left: 38px;
  border-radius: 14px;
  border: 1px solid rgba(13, 18, 34, 0.12);
  font-weight: 600;
}
.results-count {
  font-weight: 800;
}
.results-hint {
  color: rgba(13, 18, 34, 0.66);
  font-weight: 600;
  font-size: 0.86rem;
}

.course-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 18, 34, 0.1);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(13, 18, 34, 0.1);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(13, 18, 34, 0.16);
}
.course-media {
  position: relative;
  height: 158px;
  background: linear-gradient(
    135deg,
    rgba(57, 208, 185, 0.3),
    rgba(247, 178, 79, 0.18)
  );
}
.course-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.34),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 15%,
      rgba(255, 255, 255, 0.22),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  opacity: 0.85;
}
.course-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 0.76rem;
  color: rgba(13, 18, 34, 0.92);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.course-icon {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(13, 18, 34, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.course-body {
  padding: 16px 16px 14px;
}
.course-title {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #2672d3;
  font-size: 1.35rem;
}
.course-meta {
  color: rgba(13, 18, 34, 0.74);
  font-weight: 600;
  font-size: 0.94rem;
}
.course-meta .meta-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
}
.course-meta i {
  margin-top: 2px;
  color: rgba(13, 18, 34, 0.42);
  min-width: 16px;
}
.course-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-consult {
  border-radius: 999px;
  font-weight: 800;
}
.btn-ghost {
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(13, 18, 34, 0.14);
  color: rgba(13, 18, 34, 0.82);
  background: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.84);
}

.course-col {
  margin-top: 16px;
}
.course-col.fade-in {
  opacity: 0;
  transform: translateY(10px);
}
.course-col.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.no-results {
  margin-top: 26px;
}
.no-results-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 18, 34, 0.1);
  box-shadow: var(--shadow2);
  text-align: center;
}
.no-results-title {
  font-weight: 900;
  font-size: 1.2rem;
}
.no-results-sub {
  color: rgba(13, 18, 34, 0.72);
  font-weight: 600;
  margin-top: 8px;
}

.section-contact {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #0b1020, #112a38 62%, #0b1f2a);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: -100px -100px -100px -100px;
  background:
    radial-gradient(
      700px 560px at 20% 30%,
      rgba(57, 208, 185, 0.34),
      transparent 62%
    ),
    radial-gradient(
      740px 580px at 80% 30%,
      rgba(247, 178, 79, 0.3),
      transparent 62%
    ),
    radial-gradient(
      900px 680px at 50% 95%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    );
  opacity: 0.9;
}
.section-contact .container {
  position: relative;
  z-index: 2;
}
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}
.contact-card label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}
.contact-card .form-control {
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 14px;
  font-weight: 600;
}
.contact-card .btn-primary {
  box-shadow: 0 16px 34px rgba(247, 178, 79, 0.22);
}
.contact-status {
  min-height: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}
.contact-aside-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}
.contact-aside-card + .contact-aside-card {
  margin-top: 14px;
}
.contact-aside-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.contact-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    transform 0.12s ease,
    background 0.12s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}
.contact-aside-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer {
  padding: 26px 0;
  background: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(13, 18, 34, 0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}
@media (max-width: 991.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(57, 208, 185, 0.95),
      transparent 60%
    ),
    radial-gradient(circle at 70% 70%, rgba(247, 178, 79, 1), transparent 55%),
    linear-gradient(135deg, rgba(13, 18, 34, 0.2), rgba(13, 18, 34, 0.06));
  border: 1px solid rgba(13, 18, 34, 0.12);
}
.footer-name {
  font-weight: 900;
}
.footer-sub {
  color: rgba(13, 18, 34, 0.68);
  font-weight: 600;
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(13, 18, 34, 0.74);
  font-weight: 800;
}
.footer-links a:hover {
  color: rgba(13, 18, 34, 0.92);
  text-decoration: none;
}
.footer-copy {
  color: rgba(13, 18, 34, 0.62);
  font-weight: 600;
}

.calendar-table-wrap {
  margin-top: 12px;
}

.calendar-slider {
  position: relative;
}

.calendar-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.calendar-nav {
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow2);
}

.calendar-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(13, 18, 34, 0.22);
  border: 1px solid rgba(13, 18, 34, 0.22);
}

.calendar-dot.is-active {
  background: var(--accent);
  border-color: rgba(13, 18, 34, 0.32);
}

.calendar-slider-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.calendar-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.calendar-slide {
  min-width: 100%;
}

.calendar-slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(13, 18, 34, 0.05);
  border: 1px solid rgba(13, 18, 34, 0.1);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.calendar-slide-title {
  font-weight: 900;
}

.calendar-slide-dates {
  color: rgba(13, 18, 34, 0.7);
  font-weight: 700;
}

.calendar-table-scroll {
  overflow-x: auto;
}

.calendar-table.table {
  width: 100%;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  overflow: hidden;
}

.calendar-table th {
  background: rgba(13, 18, 34, 0.06);
  border-color: rgba(13, 18, 34, 0.12);
}

.calendar-table td,
.calendar-table th {
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .calendar-slider-controls {
    flex-direction: column;
  }

  .calendar-slide-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-table.table {
    font-size: 0.92rem;
  }
}
