/* Feed.Website ? overrides on Bootswatch Darkly + Roboto */
.feed-website {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
}

.feed-main {
  flex: 1 0 auto;
}

.fw300 {
  font-weight: 300 !important;
}

.feed-footer {
  flex-shrink: 0;
  background-color: var(--bs-body-bg);
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Headings: heavy weight per brand */
.feed-website h1,
.feed-website h2,
.feed-website h3,
.feed-website h4,
.feed-website .display-5,
.feed-website .display-6 {
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.fn-navbar .navbar-brand {
  font-weight: 700;
}

.fn-navbar-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

.fn-brand-text {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fn-navbar .nav-link {
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fn-navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.fn-navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  font-weight: 600;
}

.fn-footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Home hero ? full-viewport video cover + floating copy */
.fn-hero-lead {
  max-width: 42rem;
  font-weight: 400;
}

.fn-hero-video {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 9rem);
  display: flex;
  flex-direction: column;
}

.fn-hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fn-hero-video__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      180deg,
      rgba(15, 17, 21, 0.6) 0%,
      rgba(15, 17, 21, 0.1) 45%,
      rgba(15, 17, 21, 0.4) 100%
    ),
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(55, 90, 127, 0.35), transparent 60%);
  pointer-events: none;
}

.fn-hero-video__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
}

/* Horizontal inset: Bootstrap .row/.col gutter was eating edits to panel padding */
.fn-hero-video__shell {
  --fn-hero-shell-x: clamp(0.5rem, 2vw, 1rem);
  padding-left: var(--fn-hero-shell-x);
  padding-right: var(--fn-hero-shell-x);
}

.fn-hero-video__panel {
  /* Ancho al contenido: evita que el fondo ocupe todo un col-lg-6 (50% pantalla) */
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(0.65rem, 2vw, 1rem);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fn-hero-video__panel .text-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}

.fn-hero-video__panel h1 {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .fn-hero-video__media {
    display: none;
  }

  .fn-hero-video {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(55, 90, 127, 0.5), #1a1d20 65%);
  }
}

/* Feature cards (aligned with Backoffice home) */
.fn-feature-card {
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 0.65rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fn-feature-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.fn-feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.65rem;
  background: linear-gradient(100deg, rgba(52, 152, 219, 0.1) 0%, rgba(55, 90, 127, 0) 80%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.fn-feature-icon-sm {
  width: 5rem;
  height: 5rem;
  font-size: 3rem;
  opacity: 0.5;
}

.fn-page .fn-narrow {
  max-width: 48rem;
}

.fn-product-highlights li {
  line-height: 1.45;
}

.fn-plan-explainer {
  border: 1px solid rgba(13, 202, 240, 0.25) !important;
  color: var(--bs-body-color);
}

/* Plans */
.fn-plans-university-banner {
  background: linear-gradient(
    90deg,
    rgba(13, 110, 253, 0.18) 0%,
    rgba(25, 135, 84, 0.15) 50%,
    rgba(13, 202, 240, 0.12) 100%
  );
  border: 1px solid rgba(13, 202, 240, 0.0);
  color: var(--bs-body-color);
  font-size: 1.05rem;
  line-height: 1.1;
}

.fn-plans-page .fn-plans-row {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 2.25rem;
}

.fn-plan-card-body {
  padding: 1.75rem 1.5rem !important;
}

@media (min-width: 1200px) {
  .fn-plan-card-body {
    padding: 2rem 1.75rem !important;
  }
}

.fn-plan-scope {
  line-height: 1.45;
}

.fn-plan-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
}

.fn-plan-highlight {
  background: linear-gradient(180deg, rgba(55, 90, 127, 0.35) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.fn-price .display-6 {
  font-size: 2rem;
}

/* Target */
.fn-target-row {
  background-color: rgba(255, 255, 255, 0.03);
}

.fn-reason-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.65rem;
}

/* Team */
.fn-team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #2b3035;
}

.fn-team-card {
  border-radius: 0.75rem;
}

/* Contact */
.fn-contact-form-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
}

.fn-input {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--bs-body-color) !important;
}

.fn-input:focus {
  border-color: rgba(52, 152, 219, 0.6) !important;
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.2);
}

.fn-contact-list a {
  text-decoration: none;
}

.fn-contact-list a:hover {
  text-decoration: underline;
}

/* Product / Plans ? solver engine logos */
.feed-website .fn-engine-logos {
  background: linear-gradient(
    180deg,
    rgba(55, 90, 127, 0.00) 0%,
    rgba(0, 0, 0, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.00);
}

.feed-website .fn-engine-logos .letter-spacing {
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.feed-website .fn-engine-logo {
  max-height: 5.5rem;
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.feed-website .fn-engine-logo--wide {
  max-width: min(320px, 48vw);
  max-height: 5rem;
}

@media (min-width: 768px) {
  .feed-website .fn-engine-logo {
    max-height: 6.25rem;
    max-width: 260px;
  }

  .feed-website .fn-engine-logo--wide {
    max-width: 340px;
    max-height: 5.5rem;
  }
}


.rb1 {
    border-radius: 16px;
}
.rb2 {
    border-radius: 12px;
}
.rb3 {
    border-radius: 8px;
}
.mt75 {
    margin-top: 75px;
}
.mt100 {
    margin-top: 100px;
}
.mt150 {
    margin-top: 150px;
}