/* ============================================
   BODYGRAPH FITNESS CENTER — SAMPLE MARKETING WEBSITE
   ============================================ */

:root {
  --red: #e03e27;
  --red-dark: #c23520;
  --dark: #1e3b55;
  --dark-2: #274968;
  --card: #1e232c;
  --gray: #9aa3af;
  --light: #f4f6f8;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 22px rgba(224,62,39,.35); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-login { background: var(--red); color: var(--white); padding: 9px 16px; border-radius: 8px; font-size: 0.85rem; }
.btn-login:hover { background: var(--red-dark); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; box-shadow: 0 10px 22px rgba(37,211,102,.35); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: var(--dark);
  transition: box-shadow .2s ease;
}
.navbar.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; line-height: 1.2; }
.brand-icon { font-size: 1.6rem; color: var(--red); flex-shrink: 0; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { font-family: 'Luckiest Guy', 'Montserrat', sans-serif; font-weight: 400; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .03em; }
.b-body { color: #ffa07a; }
.b-graph { color: #ff5722; }
.brand-sub { font-size: .72rem; font-weight: 700; color: #dbe4ea; font-family: 'Cinzel', 'Palatino Linotype', serif; text-transform: uppercase; letter-spacing: .18em; margin-top: 2px; }
.brand-accent { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: #fde047; font-weight: 600; font-size: 1.02rem; transition: color .15s ease; }
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; }
.nav-burger { display: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.nav-drop { position: relative; }
.nav-drop-btn {
  background: none; border: none; cursor: pointer;
  color: #fde047; font-weight: 600; font-size: 1.02rem;
  font-family: inherit;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav-drop-btn:hover { color: var(--white); }
.nav-drop-caret { font-size: 0.75rem; transition: transform .2s ease; }
.nav-drop.open .nav-drop-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 264px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.nav-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.92rem; font-weight: 600;
  color: var(--white) !important;
}
.nav-drop-item i { width: 18px; color: var(--red); }
.nav-drop-item:hover { background: rgba(255,255,255,.07); }
.nav-drop-sep { height: 1px; background: rgba(255,255,255,.1); margin: 6px 8px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: heroFade 24s ease-in-out infinite;
  z-index: 0;
}
.hero-bg.slide-1 {
  background-image: url('https://images.unsplash.com/photo-1541534741688-6078c6bfb5c5?q=80&w=1800&auto=format&fit=crop');
  animation-delay: 0s;
}
.hero-bg.slide-2 {
  background-image: url('https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?q=80&w=1800&auto=format&fit=crop');
  animation-delay: -8s;
}
.hero-bg.slide-3 {
  background-image: url('https://images.unsplash.com/photo-1526406915894-7bcd65f60845?q=80&w=1800&auto=format&fit=crop');
  animation-delay: -16s;
}
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1); }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(220,38,38,.28), transparent 45%),
    linear-gradient(105deg, rgba(11,13,17,.9) 0%, rgba(11,13,17,.62) 45%, rgba(11,13,17,.42) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-tag {
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--red); }
.hero-sub {
  margin: 20px 0 30px;
  max-width: 520px;
  color: #c6ccd6;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { background: var(--red); color: var(--white); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 34px 0; gap: 20px; }
.stat-num { display: block; font-size: 2.1rem; font-weight: 900; }
.stat-label { font-size: 0.85rem; font-weight: 600; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 1.9rem; font-weight: 800; }
.section-head h2 .brand-accent { color: #ff5722; }
.section-head p { color: #5a6472; margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid #e5e8ee;
  border-radius: 14px;
  padding: 28px 22px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,17,21,.1); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(220,38,38,.1);
  color: var(--red);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: #5a6472; font-size: 0.9rem; }

/* ---------- About ---------- */
.about { background: var(--dark); }
.about .section-head h2 { color: var(--white); }
.about .section-head p { color: #d5dbe3; }
.about .card {
  background: var(--card);
  border-color: #2a303b;
}
.about .card:hover { box-shadow: 0 16px 32px rgba(0,0,0,.35); }
.about .card h3 { color: var(--white); }
.about .card p { color: #c9d0da; }
.about .card-icon { background: rgba(220,38,38,.14); }

/* ---------- Plans ---------- */
.plans { background: var(--dark); }
.plans .section-head h2, .plans .section-head p { color: var(--white); }
.plans .section-head p { color: var(--gray); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  position: relative;
}
.plan-card h3 { font-size: 1.2rem; margin: 0; }
.plan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.plan-head i { font-size: 1.5rem; color: var(--red); }
.plan-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.plan-card li { padding: 7px 0; font-size: 0.9rem; color: #c9d0da; }
.plan-card li i { color: #22c55e; margin-right: 8px; }
.plan-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-row b { color: var(--white); font-size: 1rem; white-space: nowrap; }
.plan-featured {
  background: linear-gradient(180deg, rgba(220,38,38,.16), transparent 60%), var(--card);
  border-color: var(--red);
  transform: scale(1.03);
}
.plan-info {
  background: linear-gradient(180deg, rgba(34,197,94,.12), transparent 60%), var(--card);
  border-color: #22c55e;
}
.plan-info .plan-head i { color: #22c55e; }
.plan-badge {
  margin-left: auto;
  background: rgba(220,38,38,.16);
  color: #fff44f;
  font-size: 0.66rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .3px;
  white-space: normal;
  text-align: center;
  max-width: 65%;
}

/* ---------- Calculator ---------- */
.calculator { background: var(--dark); }
.calculator .section-head h2 {
  font-size: 2.6rem;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #f87171 0%, #fb923c 50%, #fde047 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.calculator .section-head h2 .brand-accent {
  -webkit-text-fill-color: inherit;
  color: #ffa34f;
}
#calculator:target .section-head h2 { animation: headingPop .6s ease; }
.calculator .section-head p { color: var(--gray); }
.hidden { display: none !important; }
.calc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.calc-tab {
  padding: 12px 26px;
  border: 1px solid #2a303b;
  background: var(--card);
  color: var(--gray);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.calc-tab:hover { color: var(--white); border-color: #3a4252; }
.calc-tab.active {
  background: linear-gradient(135deg, var(--red), #ef7a1a);
  color: var(--white);
  border-color: transparent;
}
.calculator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.calc-card {
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 28px 26px;
}
.calc-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.calc-card-title i { color: var(--red); font-size: 1.15rem; }
.calc-form { display: flex; flex-direction: column; gap: 16px; }
.calc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.calc-field label {
  display: block;
  color: #c9d0da;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.calc-field input,
.calc-field select {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid #343a47;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .18s ease;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--red);
}
.calc-actions { display: flex; gap: 12px; padding-top: 6px; }
.calc-actions .btn { flex: 1; justify-content: center; }
.time-split { display: flex; gap: 8px; }
.time-split input { flex: 1; min-width: 0; }
.time-split select { width: 86px; flex-shrink: 0; }
.btn-ghost-dark {
  background: transparent;
  color: var(--gray);
  border: 2px solid #343a47;
}
.btn-ghost-dark:hover { color: var(--white); border-color: #5a6472; }
.calc-result { display: flex; flex-direction: column; }
.result-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--gray);
  min-height: 240px;
}
.result-empty i { font-size: 2.4rem; color: #343a47; }
.result-empty p { font-size: 0.95rem; max-width: 300px; }
.result-empty .result-empty-sub { font-size: 0.85rem; opacity: .85; }
.result-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; text-align: left; min-height: 240px; }

.bmi-box {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34,197,94,.12);
}
.bmi-box-title { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.bmi-value { font-size: 2.6rem; font-weight: 900; color: var(--white); line-height: 1; }
.bmi-category { font-size: 1.05rem; font-weight: 700; margin-top: 6px; }
.bmi-icon { font-size: 1.6rem; opacity: .9; }

.calc-stats { display: grid; gap: 10px; }
.calc-stat {
  padding: 14px 16px;
  background: var(--dark-2);
  border: 1px solid #2a303b;
  border-radius: 12px;
}
.calc-stat span { display: block; color: var(--gray); font-size: 0.88rem; margin-bottom: 4px; }
.calc-stat b { color: var(--white); font-size: 2.6rem; line-height: 1.1; }
.calc-stat-high {
  background: linear-gradient(135deg, rgba(220,38,38,.18), rgba(239,122,26,.18));
  border-color: rgba(239,122,26,.35);
}
.calc-stat-high span { color: #fdba74; }

.calc-recs { border-top: 1px solid #2a303b; padding-top: 16px; }
.calc-recs-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}
.calc-recs-title i { color: var(--red); }
.calc-recs-list { list-style: none; display: grid; gap: 8px; }
.calc-recs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c9d0da;
  font-size: 0.92rem;
}
.calc-recs-list li i { font-size: 0.42rem; margin-top: 7px; color: var(--red); flex-shrink: 0; }

/* ---------- Events ---------- */
.events { background: var(--dark-2); }
.events .section-head p { color: var(--gray); }
.events .section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: 2.6rem;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #f87171 0%, #fb923c 50%, #fde047 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.events .section-head h2 .brand-accent {
  -webkit-text-fill-color: inherit;
  color: #ffa34f;
}
.events .section-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red), #ef7a1a, #fde047);
}
#events:target .section-head h2 { animation: headingPop .6s ease; }
@keyframes headingPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.event-card {
  display: flex;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 45%), var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 24px 22px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: eventUp .45s ease both;
}
.event-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ef7a1a);
  opacity: .85;
}
.event-card::after {
  content: '\2192';
  position: absolute;
  bottom: 14px;
  right: 18px;
  color: var(--red);
  font-size: 1.25rem;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.event-card:hover { transform: translateY(-6px); border-color: rgba(239,122,26,.45); box-shadow: 0 18px 34px rgba(0,0,0,.42); }
.event-card:hover::after { opacity: 1; transform: translateX(0); }
.event-date {
  flex-shrink: 0;
  width: 62px;
  align-self: flex-start;
  text-align: center;
  background: linear-gradient(135deg, rgba(220,38,38,.3), rgba(239,122,26,.24));
  border: 1px solid rgba(239,122,26,.45);
  border-radius: 14px;
  padding: 12px 0;
}
.event-date b { display: block; color: #ffffff; font-size: 1.5rem; line-height: 1; }
.event-date span { display: block; color: #fde68a; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; margin-top: 4px; }
.event-body h3 { color: var(--white); font-size: 1.15rem; margin: 6px 0 8px; padding-right: 18px; }
.event-body p { color: var(--gray); font-size: 0.92rem; }
.event-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #fde047;
  font-size: 0.85rem;
  font-weight: 700;
}
.event-time i { font-size: 0.9rem; }
.event-tag {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.tag-workshop { background: #dbeafe; color: #1d4ed8; }
.tag-seminar { background: #ede9fe; color: #6d28d9; }
.tag-challenge { background: #ea580c; color: #ffffff; }
.tag-yoga { background: #dcfce7; color: #15803d; }
.tag-other { background: #fce7f3; color: #be185d; }
@keyframes eventUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.event-card:nth-child(2) { animation-delay: .06s; }
.event-card:nth-child(3) { animation-delay: .12s; }
.event-card:nth-child(4) { animation-delay: .18s; }
.event-card:nth-child(5) { animation-delay: .24s; }
.event-card:nth-child(6) { animation-delay: .30s; }
.event-card:nth-child(7) { animation-delay: .36s; }
.event-card:nth-child(8) { animation-delay: .42s; }

.events-empty { text-align: center; color: var(--gray); padding: 40px 0; }
.events-empty i { font-size: 2.8rem; color: #343a47; margin-bottom: 12px; }
.events-empty p { font-size: 1.05rem; }
.events-empty .events-empty-sub { font-size: 0.85rem; opacity: .85; margin-top: 6px; }
.events-add-head { text-align: center; margin-top: 28px; }
.events-add {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 26px 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.events-add h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.events-add h3 i { color: var(--red); }
.event-form { display: flex; flex-direction: column; gap: 16px; }
.event-form textarea {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid #343a47;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}
.event-form textarea:focus { outline: none; border-color: var(--red); }
.events-save-note { font-size: 0.8rem; color: var(--gray); opacity: .8; margin-top: 14px; text-align: center; }
.event-card { position: relative; }
.event-del {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
  display: none;
}
.event-edit {
  position: absolute;
  top: 12px;
  right: 44px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
  display: none;
}
#events.events-admin .event-del,
#events.events-admin .event-edit { display: block; }
.event-del:hover { color: var(--red); background: rgba(224,62,39,.15); }
.event-edit:hover { color: #fde047; background: rgba(253,224,71,.12); }

/* ---------- Gallery ---------- */
.gallery { background: var(--dark); }
.gallery .section-head h2 { color: var(--white); }
.gallery .section-head p { color: var(--gray); }

/* ---------- Training ---------- */
.training { background: var(--dark-2); }
.training .section-head h2 { color: var(--white); }
.training .section-head p { color: var(--gray); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
}
.g-photo { height: 170px; background-size: cover; background-position: center; }
.g-1 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/3757957/pexels-photo-3757957.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-2 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/685530/pexels-photo-685530.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-3 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/38641906/pexels-photo-38641906.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-4 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/7289370/pexels-photo-7289370.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.g-title { color: var(--white); font-size: 1.35rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.g-title i { color: #fde047; }
.g-desc { color: #c8d0da; font-size: 0.95rem; line-height: 1.6; margin: 0; text-align: left; }
.g-source { color: #fde047; font-size: 0.8rem; font-style: italic; margin: 0; }
@keyframes cardFlash { 0% { box-shadow: 0 0 0 3px #fde047; } 100% { box-shadow: 0 0 0 3px rgba(253,224,71,0); } }
.g-item.flash { animation: cardFlash 1s ease 3; }

.gallery-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-tile { aspect-ratio: 4 / 3; border-radius: 14px; background-size: cover; background-position: center; }
.gal-1 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/3757957/pexels-photo-3757957.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.gal-2 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/685530/pexels-photo-685530.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.gal-3 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/38641906/pexels-photo-38641906.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.gal-4 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/7289370/pexels-photo-7289370.jpeg?auto=compress&cs=tinysrgb&w=1400'); }

/* ---------- Contact ---------- */
.contact { background: var(--dark-2); }
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: var(--gray); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
}
.contact-card i { font-size: 1.6rem; color: var(--red); margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--white); }
.contact-card p { color: #d5dbe3; font-size: 0.9rem; }
.cta-strip {
  margin-top: 40px;
  background: var(--dark);
  color: var(--white);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 36px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-strip h3 { font-size: 1.3rem; }

/* ---------- Member Reviews (Grid) ---------- */
.reviews { background: var(--dark-2); }
.reviews .section-head h2 { color: var(--white); }
.reviews .section-head p { color: var(--gray); }

.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.review-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  min-height: 250px;
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
}
.review-avatar {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #2a303b;
  border: 2px solid rgba(220,38,38,.35);
}
.review-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  flex: 1;
}
.review-stars {
  display: flex;
  gap: 3px;
  color: #fbbf24;
  font-size: 0.85rem;
}
.review-text {
  color: #d7dbe2;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-author strong { color: var(--white); font-size: 0.95rem; }
.review-author span { color: var(--gray); font-size: 0.78rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--gray); padding: 40px 0 24px; border-top: 1px solid #3a5a7a; }
.footer-inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer .brand { color: var(--white); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-note { font-size: 0.82rem; opacity: .75; }

/* ---------- Event Popup ---------- */
.event-popup { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.event-popup-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.72); backdrop-filter: blur(2px); }
.event-popup-card {
  position: relative;
  width: min(420px, 92%);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 50%), var(--card);
  border: 1px solid #343a47;
  border-radius: 18px;
  padding: 30px 26px 26px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 26px 60px rgba(0,0,0,.6);
  overflow: hidden;
  animation: popupIn .35s ease both;
}
.event-popup-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), #ef7a1a); }
.event-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.event-popup-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.event-popup-date b { display: block; font-size: 2.8rem; font-weight: 900; color: var(--red); margin-top: 14px; }
.event-popup-date span { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; color: var(--gray); }
.event-popup-card h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.event-popup-card p { color: var(--gray); font-size: .92rem; margin-bottom: 18px; }
.event-popup-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fde047;
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.popup-timer-label { font-size: .78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 12px; }
.popup-timer { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; }
.popup-timer-box {
  flex: 1;
  max-width: 78px;
  background: var(--dark-2);
  border: 1px solid #343a47;
  border-radius: 12px;
  padding: 12px 0 10px;
}
.popup-timer-box b { display: block; font-size: 1.7rem; font-weight: 900; color: #fde047; line-height: 1; }
.popup-timer-box span { display: block; font-size: .68rem; color: var(--gray); text-transform: uppercase; margin-top: 6px; font-weight: 700; }
@keyframes popupIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .cards, .plans-grid, .gallery-grid, .gallery-photos, .contact-grid, .reviews-grid, .calculator-grid, .events-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    transform: translateX(105%);
    transition: transform .25s ease;
  }
  .nav-toggle:checked ~ .nav-links { transform: translateX(0); }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .16em; }
  .brand-icon { font-size: 1.3rem; }
  .nav-drop-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    min-width: 0; width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  .nav-drop.open .nav-drop-menu { transform: none; }
  .cards, .plans-grid, .gallery-grid, .gallery-photos, .reviews-grid, .contact-grid, .calculator-grid, .events-grid { grid-template-columns: 1fr; }
  .calc-tabs { flex-wrap: wrap; }
  .calc-tab { flex: 1 1 100%; text-align: center; }
  .plan-featured { transform: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}