/* ===========================================================
   BEAT IT — EMS Training
   Luxury wellness aesthetic (SHA-inspired):
   airy sand & off-white · light serif headlines · bronze accent
   full-screen imagery · generous whitespace
   =========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --bg:        #f6f3ed;
  --bg-2:      #ffffff;
  --bg-3:      #ece6dc;
  --tint:      #efe9df;
  --ink:       #2c2a26;
  --ink-soft:  #5f594f;
  --muted:     #9d968b;
  --accent:    #9a7b4f;
  --accent-2:  #856a42;
  --gold:      #c2912f;
  --cream:     #e7d3ac;
  --blush:     #e6d4ce;
  --border:    rgba(44, 42, 38, 0.13);
  --border-2:  rgba(44, 42, 38, 0.07);
  --maxw: 1280px;
  --shadow-sm: 0 10px 36px rgba(44, 42, 38, 0.07);
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.12;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.005em;
}
p { font-weight: 300; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 26px;
}
section { padding: 132px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 40px; border-radius: 2px;
  font-family: var(--font); font-weight: 500;
  font-size: 0.73rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Arrow link ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px; width: fit-content;
  font-size: 0.73rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 7px;
  transition: gap .3s, color .3s;
}
.link-arrow::after { content: "\2192"; color: var(--accent); }
.link-arrow:hover { gap: 20px; color: var(--accent); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo {
  font-family: var(--font); font-weight: 300; font-size: clamp(1.55rem, 2vw, 1.9rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; gap: 11px; color: var(--ink);
}
.logo .bolt { color: var(--gold); width: 0.6em; height: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 38px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.74rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -8px;
  width: 100%; height: 1px; background: var(--accent);
}
.nav-cta { color: #fff !important; padding: 12px 28px; }
.nav-cta.active::after { display: none; }
.nav-cta:hover { color: var(--bg) !important; }
/* nav over a dark hero (transparent state) */
.nav:not(.solid) .logo,
.nav:not(.solid) .nav-links a { color: #fff; }
.nav:not(.solid) .nav-links a:hover { color: var(--cream); }
.nav:not(.solid) .nav-toggle span { background: #fff; }
.nav:not(.solid) .nav-cta { color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 1px; background: var(--ink); transition: .3s; }

/* ---------- Hero (full-screen image) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0;
  overflow: hidden; color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(140deg, #2c2a26 0%, #58503f 65%, #6e5d3f 100%); }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(18,16,13,.74) 0%, rgba(18,16,13,.22) 48%, rgba(18,16,13,.40) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero .eyebrow { color: var(--cream); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.8rem); font-weight: 300; margin-bottom: 26px; text-transform: uppercase; letter-spacing: 0.01em; }
.hero h1 .accent { color: var(--cream); font-style: italic; font-weight: 400; }
.hero p.lead { font-size: clamp(1.02rem, 1.8vw, 1.28rem); font-weight: 300; color: rgba(255,255,255,.9); max-width: 580px; margin: 0 0 42px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.8); font-size: 1.3rem; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,9px);} }

/* ---------- Page header (inner image hero) ---------- */
.page-header { position: relative; min-height: 62vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; padding: 140px 0 110px; }
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow { color: var(--cream); }
.page-header h1 { color: #fff; font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 300; margin-bottom: 20px; }
.page-header p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- Statement ---------- */
.statement { text-align: center; padding: clamp(96px,16vh,170px) 0; }
.statement .eyebrow { display: block; }
.statement p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem,3.4vw,2.9rem); line-height: 1.42; color: var(--ink); max-width: 980px; margin: 0 auto; }
.statement p + p { margin-top: 0.9em; }
.statement p .accent { font-style: italic; }
#statement p { font-size: clamp(0.75rem,1.55vw,1.35rem); }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: 76px; }
.section-head.center { margin: 0 auto 76px; text-align: center; }
.section-head h2 { font-size: clamp(2.3rem,5vw,3.6rem); font-weight: 300; margin-bottom: 22px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Full-bleed bands ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; }
.band-media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bg-3), var(--tint)); display: grid; place-items: center; }
.band-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.band-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px,8vw,128px); }
.band-text h2 { font-size: clamp(2.1rem,4vw,3.4rem); font-weight: 300; margin-bottom: 24px; }
.band-text p { color: var(--ink-soft); margin-bottom: 18px; }
.band.reverse .band-media { order: 2; }
.band.alt .band-text { background: var(--bg-3); }
.band.dark .band-text { background: var(--ink); }
.band.dark h2 { color: #fff; }
.band.dark p { color: rgba(255,255,255,.82); }
.band.dark .eyebrow { color: var(--cream); }
.band.dark .link-arrow { color: #fff; border-color: var(--gold); }

/* ---------- Media placeholder ---------- */
.media-placeholder { text-align: center; color: var(--muted); padding: 30px; font-size: .82rem; letter-spacing: .05em; }
.media-placeholder .ph-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.media-placeholder code { background: rgba(44,42,38,.06); padding: 2px 8px; border-radius: 3px; }

/* ---------- Check list ---------- */
.check-list { list-style: none; display: grid; gap: 16px; margin: 10px 0; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex-shrink: 0; margin-top: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(0.85rem,1.4vw,1.02rem); font-weight: 400; color: var(--ink); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item:hover summary { color: var(--accent); }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; transition: transform .25s ease; }
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-item[open] summary { color: var(--ink); }
.faq-item p { color: var(--ink-soft); font-size: .8rem; line-height: 1.6; max-width: 640px; padding: 0 4px 28px; margin: 0; }

/* ---------- Text cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border-2); border: 1px solid var(--border-2); }
.card { background: var(--bg-2); padding: 52px 44px; transition: background .3s; }
.card:hover { background: var(--tint); }
.card h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 14px; }
.card p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Stat band ---------- */
.stats { background: var(--blush); padding: clamp(80px,12vh,132px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(42px,5vw,72px) clamp(32px,5vw,80px); }
.stat .num { font-family: var(--font); font-weight: 200; font-size: clamp(3rem,5.5vw,4.6rem); line-height: 1; color: var(--ink); letter-spacing: -.01em; display: flex; align-items: baseline; }
.stat .num .unit { font-size: .4em; font-weight: 300; margin-left: .1em; }
.stat .stat-text { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; margin-top: 20px; max-width: 320px; }

/* ---------- Why Choose BEAT IT ---------- */
.why-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.why-title { font-family: var(--font); font-weight: 200; font-size: clamp(2rem,4.4vw,3.4rem); letter-spacing: .03em; line-height: 1; color: var(--ink); }
.why-title em { font-style: italic; font-weight: 300; }
.why-sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 20px; max-width: 520px; }

/* ---------- Service rows ---------- */
.service-row { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 44px 0; border-bottom: 1px solid var(--border-2); align-items: start; }
.service-row:last-child { border-bottom: none; }
.service-row .num-badge { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--accent); }
.service-row h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 10px; }
.service-row p { color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-item { aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg,var(--bg-3),var(--tint)); border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--muted); font-size: .78rem; position: relative; transition: opacity .3s; padding: 0; cursor: pointer; font-family: inherit; }
.gallery-item:hover { opacity: .85; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(20,18,16,.94); }
.lightbox.open { display: flex; }
.lightbox-stage { position: relative; max-width: min(88vw, 1100px); max-height: 84vh; display: flex; align-items: center; justify-content: center; }
.lightbox-stage img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 4px; }
.lightbox-count { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .08em; }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.lightbox-close:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s; z-index: 1; }
.lightbox-arrow:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.lightbox-arrow svg { width: 22px; height: 22px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-arrow { width: 42px; height: 42px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(circle at 50% 0%, rgba(154,123,79,.10), transparent 58%), var(--bg-3); text-align: center; border-top: 1px solid var(--border-2); }
.cta-band h2 { font-size: clamp(2.3rem,5vw,3.8rem); font-weight: 300; margin-bottom: 22px; }
.cta-band p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 40px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 84px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 60px; }
.footer h4 { font-family: var(--font); font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 14px; }
.footer ul li a { color: var(--ink-soft); font-size: .95rem; }
.footer ul li a:hover { color: var(--accent); }
.footer .logo { margin-bottom: 20px; }
.footer .blurb { color: var(--muted); font-size: .95rem; max-width: 340px; line-height: 1.9; }
.footer .footer-location { color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border-2); color: var(--muted); font-size: .78rem; letter-spacing: .08em; flex-wrap: wrap; gap: 14px; }
.footer-bottom .socials { display: flex; gap: 22px; text-transform: uppercase; letter-spacing: .14em; }
.footer-bottom .socials a:hover { color: var(--accent); }

/* ---------- Header v2 (centered logo · dropdowns · full-screen menu) ---------- */
.nav { color: #fff; }
.nav.solid { color: var(--ink); }
.nav .container { max-width: 100%; padding: 0 30px; }
.nav-inner { position: relative; }
.nav-left { display: flex; align-items: center; gap: 24px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav .logo { position: absolute; left: 50%; transform: translateX(-50%); color: inherit; }
.menu-btn { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; color: inherit; }
.menu-btn span { width: 26px; height: 1.5px; background: currentColor; display: block; transition: .3s; }
.lang { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: inherit; }
.chev-sm { width: 13px; height: 13px; }
.dd { position: relative; }
.dd-toggle { display: flex; align-items: center; gap: 3px; background: none; border: none; cursor: pointer; color: inherit; padding: 6px 2px; }
.dd-toggle > svg:first-child { width: 20px; height: 20px; }
.dd-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px; width: max-content; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.15); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-5px); transition: all .3s ease; z-index: 130; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-group { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #8e8e8e; padding: 8px 8px 4px; }
.dd-group:first-child { padding-top: 4px; }
.dd-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 4px; color: #8e8e8e; font-size: 15px; white-space: nowrap; transition: background-color .2s ease; }
.dd-row .flag { font-size: 1.2rem; line-height: 1; }
.dd-row .wa-ic { display: inline-flex; flex-shrink: 0; }
.dd-row .wa-ic svg { display: block; }
.dd-row:hover { background-color: #f5f6f9; color: #333; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border: 1px solid currentColor; border-radius: 2px; font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: inherit; transition: background .3s, color .3s, border-color .3s; }
.nav:not(.solid) .btn-outline:hover { background: #fff; color: var(--ink); }
.nav.solid .btn-outline:hover { background: var(--ink); color: var(--bg); }

.menu-overlay { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.menu-overlay.open { visibility: visible; }
.menu-scrim { position: absolute; top: 86px; left: 0; right: 0; bottom: 0; background: rgba(20,18,15,.28); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); opacity: 0; transition: opacity .45s ease; }
.menu-overlay.open .menu-scrim { opacity: 1; }
.menu-panel { position: absolute; top: 86px; left: 0; bottom: 0; width: 42%; min-width: 340px; background: var(--bg-2); border-right: 1px solid var(--border-2); display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(48px, 10vh, 110px) clamp(36px, 5vw, 72px) 40px; overflow-y: auto; transform: translateX(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1); }
.menu-overlay.open .menu-panel { transform: none; }
body.menu-open, body.lightbox-open { overflow: hidden; }
/* hamburger → X while open */
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; color: #2c2c2c; padding: 15px 0; transition: color .25s, padding-left .25s; }
.menu-links a:hover, .menu-links a.active { color: var(--accent); padding-left: 10px; }
.menu-links a .chev { color: #b9b3a8; font-size: 1.2rem; font-weight: 300; transition: color .25s; }
.menu-links a:hover .chev { color: var(--accent); }
.menu-contact { margin-top: 44px; align-self: flex-start; color: var(--ink); }
.menu-contact:hover { background: var(--ink); color: var(--bg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-right .dd { display: none; }
  .nav-right .btn-outline { display: none; }
  .nav-right { gap: 10px; }
  .menu-panel { width: 100%; min-width: 0; border-right: none; padding: clamp(40px,8vh,80px) 32px 40px; }
  .menu-scrim { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 44px 36px; }
  .why-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  section { padding: 90px 0; }
  .band { grid-template-columns: 1fr; min-height: 0; }
  .band-media { min-height: 58vh; }
  .band.reverse .band-media { order: 0; }
  .statement { padding: 90px 0; }
  .hero { align-items: center; }
}
@media (max-width: 520px) {
  .gallery-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
