/* Front layout polish. Header and navigation stay unchanged. */
:root {
  --layout-border: rgba(232, 246, 212, 0.14);
  --layout-panel: rgba(255, 255, 255, 0.045);
  --layout-panel-strong: rgba(255, 255, 255, 0.075);
}

.hero-orb,
.hero-orb2 {
  opacity: 0.08 !important;
  filter: blur(8px);
}

.hero-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem) !important;
}

.hero-section .row {
  align-items: center !important;
}

.hero-heading,
.hero-section h1 {
  max-width: 920px;
}

.hero-section p.fs-5,
.hero-section p.mb-4 {
  max-width: 780px;
}

.hero-section .image-frame {
  border-radius: 8px !important;
  overflow: hidden;
  border: 1px solid var(--layout-border);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.hero-section .image-frame img,
.hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-pad {
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
}

.section-pad > .container,
.hero-section > .container {
  max-width: 1180px;
}

.content-narrow,
.compact-narrow {
  max-width: 980px !important;
}

.section-pad h2 {
  line-height: 1.18;
}

.section-pad > .container > h2:first-child,
.section-pad .text-center.mb-5,
.section-pad .text-center.mb-4 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.surface-page,
.surface-dark,
.surface-soft,
.surface-light,
.surface-accent {
  position: relative;
}

.surface-page + .surface-page,
.surface-soft + .surface-soft,
.surface-dark + .surface-dark {
  border-top: 1px solid var(--layout-border);
}

.feature-card,
.note-card,
.stat-card,
.info-card,
.glass-card,
.soft-panel,
.panel,
.tile,
.testimonial,
.review,
.news-card,
.article-body,
.table-responsive {
  border-radius: 8px !important;
}

.feature-card,
.note-card,
.info-card,
.glass-card,
.soft-panel,
.panel,
.tile {
  min-height: 100%;
  background-image: linear-gradient(180deg, var(--layout-panel-strong), transparent) !important;
}

.feature-card p:last-child,
.note-card p:last-child,
.info-card p:last-child {
  margin-bottom: 0;
}

.feature-card .icon-circle,
.note-card .icon-circle,
.info-card .icon-circle {
  flex: 0 0 auto;
}

.row.g-4 {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.stat-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-num {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.table-responsive {
  overflow: hidden;
  border: 1px solid var(--layout-border);
}

.table-highlight table,
.vip-tier-table {
  margin-bottom: 0;
}

.table-highlight tbody tr:nth-child(even),
.vip-tier-table tbody tr:nth-child(even) {
  background: var(--layout-panel);
}

.marquee-section {
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-item {
  border-radius: 999px !important;
}

.section-pad .row.align-items-center .image-frame {
  border-radius: 8px !important;
  overflow: hidden;
  border: 1px solid var(--layout-border);
}

.section-pad .row.align-items-center img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.news-list {
  max-width: 1080px;
}

.news-card {
  align-items: center;
}

.article {
  max-width: 920px;
}

footer {
  border-top: 1px solid var(--layout-border);
}

@media (min-width: 992px) {
  .hero-section .row > [class*="col-lg-5"] {
    width: 44%;
  }

  .hero-section .row > [class*="col-lg-6"]:has(.image-frame),
  .hero-section .row > [class*="col-lg-5"]:has(.image-frame) {
    width: 45%;
  }

  .hero-section .row > [class*="col-lg-7"],
  .hero-section .row > [class*="col-lg-6"]:not(:has(.image-frame)) {
    width: 55%;
  }

  .section-pad .row:has(.feature-card) > .col-lg-3 .feature-card,
  .section-pad .row:has(.note-card) > .col-lg-3 .note-card {
    padding: 1.35rem !important;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 2.5rem !important;
  }

  .hero-section .image-frame img,
  .hero-media img {
    max-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 2.5rem 0 !important;
  }

  .hero-section .d-flex.flex-wrap.gap-2 {
    gap: 0.5rem !important;
  }

  .badge-pill,
  .chip,
  .tag,
  .pill {
    font-size: 0.78rem;
  }

  .feature-card,
  .note-card,
  .stat-card,
  .info-card {
    padding: 1.15rem !important;
  }

  .news-card {
    grid-template-columns: 1fr !important;
  }
}
