/* Fitcom Fitness — single stylesheet. Replaces ~41 Elementor stylesheets. */

/* ====== TOKENS ====== */
:root {
  --orange: #F6921E;
  --orange-dark: #D97B0A;
  --orange-soft: #FEF7ED;
  --ink: #1A1A1A;
  --ink-2: #2A2A2A;
  --muted: #6B7280;
  --line: #E5E7EB;
  --paper: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 4px 14px rgba(15,23,42,.07), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 12px 36px rgba(15,23,42,.10);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;
  --container: 1200px;
  --pad: clamp(1rem, 2.5vw, 1.75rem);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p  { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--orange-dark); font-weight: 600; }

/* ====== LAYOUT ====== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--orange-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2 { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.split { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .split--2 { grid-template-columns: 1fr 1fr; align-items: center; } }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ====== HEADER + NAV ====== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.nav-links { display: none; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 500; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--orange-dark); text-decoration: none; }
.nav-links a.is-active { color: var(--orange-dark); border-bottom-color: var(--orange); }
@media (min-width: 960px) { .nav-links { display: inline-flex; } }

.btn.nav-cta { display: none; }
@media (min-width: 960px) { .btn.nav-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .menu-toggle { display: none; } }

.mobile-drawer {
  position: fixed; inset: 0; background: rgba(15,23,42,.45); display: none; z-index: 60;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 360px);
  background: #fff; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.mobile-drawer__nav { display: flex; flex-direction: column; gap: .25rem; margin-top: .75rem; }
.mobile-drawer__nav a { padding: .85rem .25rem; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-drawer__nav a.is-active { color: var(--orange-dark); }
.mobile-drawer__cta { margin-top: 1rem; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(246,146,30,.32); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }

/* ====== HERO ====== */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(246,146,30,.18), transparent 60%),
    linear-gradient(180deg, var(--orange-soft) 0%, #fff 80%);
  z-index: -1;
}
.hero__inner { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.hero h1 strong { color: var(--orange-dark); font-weight: 800; }
.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: #111; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .badge { position: absolute; left: 1rem; bottom: 1rem; background: #fff; padding: .55rem .9rem; border-radius: 999px; font-weight: 600; font-size: .85rem; box-shadow: var(--shadow-md); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.75rem; color: var(--muted); font-size: .95rem; }
.hero__meta strong { color: var(--ink); }

/* ====== CARDS ====== */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #f1d8b5; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card__icon img { width: 36px; height: 36px; object-fit: contain; }
.card__meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-dark); font-weight: 600; margin-bottom: .35rem; }

/* Article cards (Knowledge Hub, Stories) */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card a.title-link { color: var(--ink); }
.article-card a.title-link:hover { color: var(--orange-dark); text-decoration: none; }
.article-card .excerpt { color: var(--muted); flex-grow: 1; }
.article-card .read-more { margin-top: 1rem; font-weight: 600; color: var(--orange-dark); }

/* ====== SERVICES BLOCKS ====== */
.service-row { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .service-row { grid-template-columns: 1fr 1fr; gap: 3rem; } .service-row.reverse > div:first-child { order: 2; } }
.service-row .badge { display: inline-block; background: var(--orange-soft); color: var(--orange-dark); padding: .25rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.service-row ul { padding-left: 1.2rem; color: var(--muted); }
.service-row ul li { margin-bottom: .35rem; }
.service-row .visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.5rem; box-shadow: var(--shadow-md); }

/* ====== STORIES ====== */
.story-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.story-card .quote { font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.story-card .who { display: flex; align-items: center; gap: .85rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.story-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--orange-dark); }
.story-card .who-meta { line-height: 1.3; }
.story-card .who-meta strong { display: block; color: var(--ink); }
.story-card .who-meta span { color: var(--muted); font-size: .9rem; }

/* ====== ARTICLE LAYOUT ====== */
.article-shell { display: grid; gap: 2.5rem; grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--pad); }
@media (min-width: 1024px) { .article-shell { grid-template-columns: minmax(0, 1fr) 240px; } }
.article-body { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.article-body h2 { margin-top: 2.5rem; padding-top: .5rem; border-top: 2px solid var(--orange); display: inline-block; padding-right: .5rem; }
.article-body h3 { margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body p, .article-body li { color: #2A2A2A; }
.article-body blockquote { border-left: 3px solid var(--orange); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.2rem; color: var(--muted); font-style: italic; }
.article-toc { position: sticky; top: 96px; align-self: start; padding: 1.25rem; background: var(--orange-soft); border-radius: var(--radius); font-size: .9rem; }
.article-toc h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-dark); margin: 0 0 .75rem; }
.article-toc a { display: block; padding: .35rem 0; color: var(--ink-2); border-bottom: 1px dashed transparent; }
.article-toc a:hover { color: var(--orange-dark); text-decoration: none; }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.article-meta span + span::before { content: ' · '; }

/* ====== FAQ ACCORDION ====== */
.faq-item { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: .5rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--orange-dark); font-weight: 700; font-size: 1.4rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--orange-dark); }
.faq-item .answer { color: var(--muted); padding: .5rem 0 .25rem; }

/* ====== FOOTER ====== */
.site-footer { background: var(--ink); color: #cbd5e1; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: #94a3b8; max-width: 36ch; font-size: .95rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #2a2a2a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: #6B7280; font-size: .85rem; }

/* ====== UTILITIES ====== */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); margin: 2rem 0; }

/* Staging banner */
.staging-banner { background: #b45309; color: #fff; text-align: center; padding: .4rem 1rem; font-size: .85rem; }
.staging-banner strong { font-weight: 700; }
