/* ===========================================================
   Cynergy Training & Nutrition — Wicked Fast Web redesign
   =========================================================== */

:root {
  --bg-dark: #14171c;
  --bg-dark-2: #1b1f26;
  --bg-light: #f5f3ee;
  --bg-light-2: #ebe7de;
  --text-light: #f5f3ee;
  --text-dark: #1b1e23;
  --muted-on-dark: #a2a9b3;
  --muted-on-light: #5c6068;
  --accent: #d7263d;
  --accent-dark: #a91d31;
  --steel: #3a4750;
  --border-dark: rgba(245, 243, 238, 0.1);
  --border-light: rgba(27, 30, 35, 0.08);
  --font-head: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  font-weight: 400;
  text-transform: uppercase;
}

p, li, span, a { font-family: var(--font-body); }

a { text-decoration: none; }

.section-eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.28em;
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted-on-light);
  font-size: 1.05rem;
  max-width: 640px;
}

.bg-charcoal { background: var(--bg-dark); color: var(--text-light); }
.bg-charcoal-2 { background: var(--bg-dark-2); color: var(--text-light); }
.bg-cream { background: var(--bg-light); }
.bg-cream-2 { background: var(--bg-light-2); }
.text-accent { color: var(--accent) !important; }

.section-pad { padding: 5.5rem 0; }

/* ---------------- Navbar ---------------- */
.navbar-wfw {
  background: rgba(20, 23, 28, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
}

.navbar-wfw .navbar-brand img {
  height: 34px;
  width: auto;
}

.navbar-wfw .brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .navbar-wfw .brand-name { white-space: normal; max-width: 190px; font-size: 1.1rem; }
}

@media (max-width: 420px) {
  .navbar-wfw .navbar-brand img { height: 26px; }
  .navbar-wfw .brand-name { font-size: 0.95rem; max-width: 140px; }
}

.navbar-wfw .nav-link {
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: var(--text-light) !important;
  padding: 0.5rem 0.85rem !important;
  opacity: 0.88;
}

.navbar-wfw .nav-link:hover,
.navbar-wfw .nav-link:focus { opacity: 1; color: var(--accent) !important; }

.navbar-wfw .dropdown-menu {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
}

.navbar-wfw .dropdown-item {
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
}

.navbar-wfw .dropdown-item:hover,
.navbar-wfw .dropdown-item:focus {
  background: var(--accent);
  color: #fff;
}

.btn-cta {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff !important;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent) !important;
}

.btn-outline-cream {
  border: 1px solid rgba(245,243,238,0.55);
  color: var(--text-light) !important;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-outline-cream:hover {
  border-color: #fff;
  background: rgba(245,243,238,0.1);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(10,12,15,0.55) 0%, rgba(10,12,15,0.25) 45%, rgba(10,12,15,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 6px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.35em;
  color: var(--accent);
  font-size: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: #fff;
  line-height: 1;
  margin: 0.6rem 0;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: var(--font-head);
  color: var(--text-light);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: 0.08em;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  color: #fff;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- About ---------------- */
.about-img-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}
.about-img-wrap img { width: 100%; display: block; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-box { border-left: 3px solid var(--accent); padding-left: 0.9rem; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--text-dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted-on-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- Program Cards ---------------- */
.program-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.program-price {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  display: block;
}
.program-price small {
  font-family: var(--font-body);
  color: var(--muted-on-light);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}
.program-card p { color: var(--muted-on-light); font-size: 0.95rem; margin-bottom: 0.5rem; }
.program-meta {
  font-size: 0.82rem;
  color: var(--steel);
  font-weight: 600;
  border-top: 1px dashed var(--border-light);
  padding-top: 0.6rem;
  margin-top: 0.9rem;
}

.program-card.has-photo { padding: 0; overflow: hidden; }
.program-card.has-photo img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.program-card.has-photo .card-body-inner { padding: 1.6rem 1.5rem; }

/* ---------------- Nutrition ---------------- */
.nutrition-card {
  background: var(--bg-dark-2);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid var(--border-dark);
}
.nutrition-card .program-icon { background: var(--accent); }
.nutrition-card h3 { color: #fff; font-size: 1.3rem; }
.nutrition-card p { color: var(--muted-on-dark); font-size: 0.94rem; }
.nutrition-card .program-price { color: var(--accent); }

/* ---------------- Schedule table ---------------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.schedule-table th {
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-weight: 400;
}
.schedule-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-note {
  background: var(--bg-light-2);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted-on-light);
  margin-top: 1.5rem;
  border-radius: 0 6px 6px 0;
}

/* ---------------- Events ---------------- */
.event-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.75rem;
  height: 100%;
}
.event-date {
  font-family: var(--font-head);
  color: var(--accent);
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.event-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.event-card p { color: var(--muted-on-light); font-size: 0.92rem; margin: 0; }
.event-card.is-past { background: var(--bg-light-2); }
.event-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--steel);
  border-radius: 20px;
  padding: 0.15rem 0.65rem;
  margin-bottom: 0.6rem;
}

/* ---------------- Testimonials ---------------- */
.testimonial-card {
  background: var(--bg-dark-2);
  border-radius: 8px;
  padding: 1.9rem;
  height: 100%;
  border: 1px solid var(--border-dark);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: -0.5rem;
}
.testimonial-card p { color: #e7e5e0; font-size: 0.95rem; font-style: italic; }
.testimonial-name {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  color: #fff;
  font-size: 1rem;
  margin-top: 1rem;
}

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 991px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-cell {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-dark-2);
}
.team-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-cell .team-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 0.8rem 0.7rem;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 20%, rgba(0,0,0,0));
  color: #fff;
}
.team-cell .team-name {
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  line-height: 1;
}
.team-cell .team-role {
  font-size: 0.72rem;
  color: #d7d4cc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-cell.filler {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  background: var(--accent);
  color: #fff;
}
.team-cell.filler img { width: auto; height: 34px; object-fit: contain; margin-bottom: 0.7rem; }
.team-cell.filler.steel { background: var(--steel); }
.team-cell.filler p { font-size: 0.85rem; margin: 0; color: rgba(255,255,255,0.92); }
.team-cell.filler .filler-title {
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-cell {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.gallery-cell:hover img { transform: scale(1.06); }
.gallery-cell.filler {
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}
.gallery-cell.filler img.logo-fill { width: 130px; height: auto; object-fit: contain; margin-bottom: 0.75rem; }
.gallery-cell.filler .fill-sub { color: var(--muted-on-dark); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------------- Community / Blog ---------------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.75rem;
  height: 100%;
}
.blog-date {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card p { color: var(--muted-on-light); font-size: 0.92rem; margin: 0; }

/* ---------------- Contact ---------------- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}
.contact-info-item .ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
  color: #fff;
}
.contact-info-item p, .contact-info-item a { color: var(--muted-on-dark); margin: 0; font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--accent); }

.map-wrap { border-radius: 8px; overflow: hidden; box-shadow: 0 20px 45px rgba(0,0,0,0.3); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: #0d0f13;
  color: var(--muted-on-dark);
  padding: 3.5rem 0 1.5rem;
}
.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
}
.footer-logo-chip img { height: 26px; width: auto; }
.footer-logo-chip span {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.footer-col h5 {
  font-family: var(--font-head);
  color: #fff;
  letter-spacing: 0.06em;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--muted-on-dark); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245,243,238,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.2s ease;
}
.social-icons a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.powered-by {
  border-top: 1px solid rgba(245,243,238,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.powered-by a {
  color: var(--text-light);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}
.powered-by a:hover { color: var(--accent); }

.copyright { text-align: center; font-size: 0.8rem; margin-top: 1rem; color: #6b7078; }

/* ---------------- Misc ---------------- */
.divider-accent {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.25rem;
}
.text-center .divider-accent { margin-left: auto; margin-right: auto; }
