@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --brand-ink: #050608;
  --brand-ink-soft: #cfd3d8;
  --brand-sand: #0e1116;
  --brand-line: #232830;
  --brand-accent: #d31920;
  --brand-accent-strong: #9f0f14;
  --brand-highlight: #ffffff;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #090b0f 0%, #050608 100%);
  color: var(--brand-ink-soft);
}

h1,
h2,
h3,
h4,
h5,
.heading h2,
.navbar-brand,
.navbar-nav > li > a {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
}

a {
  color: var(--brand-accent);
}

a:hover,
a:focus {
  color: #ff3a3f;
}

#top {
  background: var(--brand-ink);
  color: #fefefe;
}

#top .social a {
  color: #fefefe;
}

#top .topbar-carousel .item {
  min-height: 24px;
}

#top .topbar-carousel p {
  margin: 0;
  line-height: 1.5;
}

.navbar {
  background: #07090d;
  border-top: 0;
  border-bottom: 2px solid var(--brand-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.navbar-brand.home {
  height: auto;
  padding: 0;
  margin-top: 6px;
  margin-bottom: 6px;
  background: #101216;
  border-radius: 4px;
}

.navbar-brand.home img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 104px;
}

.navbar ul.nav > li > a {
  color: #f6f7f9 !important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  transition: color 0.28s ease;
}

.navbar ul.nav > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.navbar ul.nav > li > a:hover::after,
.navbar ul.nav > li.active > a::after {
  transform: scaleX(1);
}

.home-carousel {
  background: radial-gradient(circle at 20% 20%, #151a23 0%, #050608 70%);
}

.home-carousel .dark-mask {
  opacity: 0.5;
  background: linear-gradient(120deg, rgba(211, 25, 32, 0.35), rgba(5, 6, 8, 0.72));
}

.home-carousel h1 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.03;
}

.home-carousel p,
.home-carousel li {
  color: #d8dbe0;
  font-size: 18px;
}

.home-carousel .item img {
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
  transform: translateY(0);
  transition: transform 0.45s ease;
}

.home-carousel .item:hover img {
  transform: translateY(-6px);
}

.bar {
  padding-top: 64px;
  padding-bottom: 64px;
}

.bar.background-white {
  background: transparent;
}

.box-simple {
  background: #0e1116;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  min-height: 250px;
  padding: 18px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.box-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  border-color: #404853;
}

.box-simple .icon {
  color: var(--brand-accent);
}

.box-simple h3 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 24px;
}

.box-simple p {
  color: #c6cad0;
}

#heading-breadcrumbs {
  background: linear-gradient(90deg, #090b0f 0%, #131922 100%);
}

#heading-breadcrumbs h1,
#heading-breadcrumbs .breadcrumb,
#heading-breadcrumbs .breadcrumb a {
  color: #f8f6f1;
}

.btn-template-main {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn-template-main:hover,
.btn-template-main:focus {
  background: var(--brand-accent-strong);
  border-color: var(--brand-accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(143, 52, 20, 0.35);
}

.home-trust-strip {
  background: #0b0e13;
  border-top: 1px solid rgba(211, 25, 32, 0.5);
  border-bottom: 1px solid rgba(211, 25, 32, 0.5);
}

.trust-list {
  margin: 0;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  color: #eceef2;
  font-weight: 500;
}

.trust-list i {
  margin-right: 8px;
  color: var(--brand-accent);
}

.home-program-path {
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.92), rgba(7, 9, 12, 0.96));
}

.path-card {
  background: #0e1116;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  padding: 22px 18px;
  min-height: 220px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.42);
}

.path-step {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  color: var(--brand-accent);
  letter-spacing: 0.08em;
}

.path-card h3,
.path-card h4,
.path-card p,
.path-card li {
  color: #e8ebef;
}

.home-membership-cards {
  background: transparent;
}

.home-class-calendar {
  background: linear-gradient(180deg, rgba(9, 11, 15, 0.95), rgba(6, 8, 11, 0.98));
}

.calendar-wrap {
  overflow-x: auto;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: #0b0e13;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.class-calendar-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.class-calendar-table thead th {
  background: #090c11;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  border-bottom: 2px solid var(--brand-accent);
}

.class-calendar-table th,
.class-calendar-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #202631;
  border-right: 1px solid #1a2029;
  vertical-align: middle;
}

.class-calendar-table tbody th {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 21px;
  color: #ffffff;
  background: #0d1118;
}

.class-calendar-table td {
  color: #dbe0e7;
}

.class-calendar-table tbody tr:hover td,
.class-calendar-table tbody tr:hover th {
  background: #151b25;
}

.class-calendar-table th:last-child,
.class-calendar-table td:last-child {
  border-right: 0;
}

.calendar-note {
  margin-top: 14px;
  color: #aeb7c3;
  font-size: 15px;
}

.gym-page-content {
  text-align: center;
}

.gym-page-content img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
}

.gym-page-content ul {
  display: inline-block;
  text-align: left;
  margin: 12px auto 18px;
  padding-left: 20px;
}

.cobra-champs-gallery {
  padding: 8px 0 24px;
}

.champ-card {
  margin-bottom: 26px;
  background: #0d1118;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.champ-card:hover {
  transform: translateY(-5px);
  border-color: #39414d;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.48);
}

.champ-card-media {
  display: block;
  background: #171b22;
}

.champ-card-media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.champ-card-body {
  padding: 18px 18px 20px;
}

.champ-card-body h3 {
  margin-top: 0;
  margin-bottom: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.gallery-empty {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px dashed #3a4250;
  border-radius: 14px;
  background: #0f141c;
  color: #c2cad5;
}

.membership-card {
  position: relative;
  background: #0d1118;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  padding: 22px 20px;
  min-height: 380px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.membership-card:hover {
  transform: translateY(-6px);
  border-color: #3b4350;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.45);
}

.membership-card.featured {
  border-color: var(--brand-accent);
  background: linear-gradient(180deg, #111721 0%, #0c1119 100%);
}

.membership-card .label {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--brand-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.membership-card .price {
  font-size: 36px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  color: #ffffff;
  margin-bottom: 14px;
}

.membership-card .price span {
  font-size: 17px;
  color: #b2bac6;
}

.membership-card ul {
  padding-left: 20px;
  min-height: 120px;
  margin-bottom: 20px;
}

.home-final-cta {
  padding: 74px 0;
  background: linear-gradient(115deg, #090b0f 0%, #111722 62%, #2a0f13 100%);
  color: #eceff3;
}

.home-news-posts .news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
}

@media (min-width: 768px) {
  .home-news-posts .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home-news-posts .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-news-posts .news-grid > [class*="col-"] {
  float: none;
  display: flex;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.home-news-posts .news-post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  height: 100%;
}

.home-news-posts .news-post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.home-news-posts .news-post-card h4,
.home-news-posts .news-post-card h4 a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.home-news-posts .news-post-card h4 {
  min-height: 2.5em;
}

.home-news-posts .news-post-card p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

.home-final-cta h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.home-final-cta p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #c8d0db;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-template-transparent-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.btn-template-transparent-primary:hover,
.btn-template-transparent-primary:focus {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-trust-strip,
.home-program-path,
.home-class-calendar,
.home-membership-cards,
.home-final-cta {
  animation: lift-in 0.55s ease both;
}

.home-program-path {
  animation-delay: 0.08s;
}

.home-membership-cards {
  animation-delay: 0.14s;
}

.home-class-calendar {
  animation-delay: 0.12s;
}

.home-final-cta {
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

#footer {
  background: var(--brand-ink);
}

#copyright {
  background: #101216;
}

@media (max-width: 767px) {
  .bar {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .home-carousel h1 {
    margin-top: 8px;
    font-size: 34px;
  }

  .home-carousel p,
  .home-carousel li {
    font-size: 16px;
  }

  .navbar-brand.home {
    padding: 0;
  }

  .navbar-brand.home img {
    max-height: 64px;
  }

  .trust-list {
    display: block;
    padding: 14px 0;
  }

  .trust-list li {
    margin-bottom: 8px;
  }

  .membership-card {
    min-height: auto;
    margin-bottom: 18px;
  }

  .class-calendar-table tbody th {
    font-size: 18px;
  }

  .home-final-cta {
    padding: 52px 0;
  }
}
