/* ═══════════════════════════════
   WORKOUT ZONE — style.css
═══════════════════════════════ */

/* ── Variables & Reset ── */
:root {
  --orange:     #FF5722;
  --orange-lt:  #FF7043;
  --orange-glow:rgba(255,87,34,0.18);
  --black:      #141414;
  --grey-dark:  #2A2A2A;
  --grey-mid:   #6B7280;
  --grey-light: #F3F4F6;
  --white:      #FFFFFF;
  --surface:    #FFFFFF;
  --bg:         #F8F8F6;
  --text:       #141414;
  --text-sub:   #5B6370;
  --orange-text:#C93409;
  --border:     #E5E7EB;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.14);
  --shadow-ora: 0 8px 30px rgba(255,87,34,0.30);
  --nav-h:      64px;
  --safe-b:     env(safe-area-inset-bottom, 0px);
  --bot-nav-h:  68px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --orange-text:#FF7043;
  --bg:         #0F0F0F;
  --surface:    #1A1A1A;
  --text:       #F5F5F5;
  --text-sub:   #9CA3AF;
  --border:     #2A2A2A;
  --grey-light: #1F1F1F;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.4);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-tap-highlight-color:transparent; -webkit-text-size-adjust:100%; text-size-adjust:100%; }

body {
  font-family:'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  padding-top:var(--nav-h);
  padding-bottom:calc(var(--bot-nav-h) + var(--safe-b));
  transition:background var(--transition), color var(--transition);
}

img { max-width:100%; display:block; }
a  { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.skip-link {
  position:fixed; top:-100px; left:1rem; z-index:10000;
  background:var(--black); color:var(--white);
  padding:0.7rem 1rem; border-radius:var(--radius-sm); font-weight:600; font-size:0.9rem;
}
.skip-link:focus { top:0.6rem; }
section { scroll-margin-top:var(--nav-h); }

/* ── Loader ── */
#loader {
  position:fixed; inset:0;
  background:var(--black);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  z-index:9999;
  transition:opacity 0.6s ease, visibility 0.6s ease;
  animation:loaderFailsafe 0.6s ease 4s forwards;
}
@keyframes loaderFailsafe { to { opacity:0; visibility:hidden; } }
#loader.hide { opacity:0; visibility:hidden; }
.loader-logo {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:3rem; color:var(--white);
  letter-spacing:0.1em; margin-bottom:1.5rem;
  animation:pulseText 1s ease infinite alternate;
}
.loader-logo span { color:var(--orange); }
.loader-bar { width:180px; height:3px; background:var(--grey-dark); border-radius:99px; overflow:hidden; }
.loader-fill {
  height:100%; width:0%;
  background:linear-gradient(90deg, var(--orange), var(--orange-lt));
  border-radius:99px;
  animation:loadFill 1.6s ease forwards;
}
@keyframes loadFill { to { width:100%; } }
@keyframes pulseText { from{opacity:.6} to{opacity:1} }

/* ── Top Navbar ── */
#navbar {
  position:fixed; top:0; left:0; right:0;
  height:var(--nav-h);
  background:var(--surface);
  border-bottom:1px solid var(--border);
  z-index:100;
  transition:background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled { box-shadow:var(--shadow-md); }
.nav-inner {
  max-width:480px; margin:0 auto; height:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 1.2rem;
}
.nav-logo {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:1.6rem; letter-spacing:0.06em; color:var(--text); white-space:nowrap;
}
.nav-links { display:none; align-items:center; gap:1.6rem; font-size:0.88rem; font-weight:600; }
.nav-links a { color:var(--text); transition:color var(--transition); }
.nav-links a:hover { color:var(--orange-text); }
.nav-logo span { color:var(--orange); }
.nav-actions { display:flex; align-items:center; gap:0.5rem; }
.btn-theme {
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; transition:all var(--transition); color:var(--text);
}
.btn-theme:hover { border-color:var(--orange); }
.btn-call {
  height:38px; padding:0 1rem;
  background:var(--orange); color:var(--white);
  border-radius:99px; font-size:0.82rem; font-weight:600;
  letter-spacing:0.02em; white-space:nowrap;
  display:flex; align-items:center; gap:0.35rem;
  transition:all var(--transition);
}
.btn-call:hover { background:var(--orange-lt); transform:scale(1.03); }

/* ── Bottom Nav ── */
#bot-nav {
  position:fixed; bottom:0; left:0; right:0;
  height:calc(var(--bot-nav-h) + var(--safe-b));
  background:var(--surface);
  border-top:1px solid var(--border);
  z-index:100;
  display:flex; align-items:flex-start; padding-top:8px;
}
.bot-nav-items {
  width:100%; max-width:480px; margin:0 auto;
  display:flex; justify-content:space-around;
}
.bot-nav-item {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  padding:6px 14px; border-radius:var(--radius-sm);
  transition:all var(--transition); color:var(--text-sub); cursor:pointer;
}
.bot-nav-item.active { color:var(--orange-text); }
.bot-nav-item svg { width:22px; height:22px; stroke-width:2; }
.bot-nav-item span { font-size:0.68rem; font-weight:600; letter-spacing:0.03em; }

/* ── Page & Sections ── */
.page { max-width:480px; margin:0 auto; }
section { padding:2.4rem 1.2rem; }
.sec-label {
  font-size:0.72rem; font-weight:700; letter-spacing:0.14em;
  color:var(--orange-text); text-transform:uppercase; margin-bottom:0.5rem;
}
.sec-title {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:2.4rem; letter-spacing:0.04em; line-height:1.05;
  color:var(--text); margin-bottom:0.8rem;
}
.sec-sub { color:var(--text-sub); font-size:0.95rem; line-height:1.65; }

/* ── Hero ── */
#home {
  min-height:calc(100vh - var(--nav-h) - var(--bot-nav-h));
  min-height:calc(100svh - var(--nav-h) - var(--bot-nav-h));
  padding:0; position:relative; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end;
}
.hero-bg { position:absolute; inset:0; background:var(--black); }
.hero-bg-img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:0.35;
}
.hero-bg::before {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,87,34,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,87,34,0.08) 1px, transparent 1px);
  background-size:40px 40px;
  animation:gridMove 20s linear infinite;
}
.hero-content { position:relative; z-index:2; padding:2.5rem 1.4rem 2.8rem; }
.hero-badge {
  display:inline-flex; align-items:center; gap:0.4rem;
  background:rgba(255,87,34,0.15); border:1px solid rgba(255,87,34,0.35);
  color:var(--orange); font-size:0.75rem; font-weight:700;
  letter-spacing:0.08em; padding:0.35rem 0.9rem;
  border-radius:99px; margin-bottom:1.2rem;
}
.hero-badge::before {
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--orange); animation:blink 1.4s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-h1 {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:4.2rem; letter-spacing:0.03em; line-height:0.95;
  color:var(--white); margin-bottom:0.6rem;
}
.hero-h1 span { color:var(--orange); display:block; }
.hero-tagline { font-size:1rem; color:rgba(255,255,255,0.65); margin-bottom:2rem; line-height:1.5; }
.hero-ctas { display:flex; gap:0.8rem; flex-wrap:wrap; }
.cta-wa {
  flex:1; min-width:150px; height:52px;
  background:linear-gradient(135deg, #25D366, #1DB954);
  color:var(--white); border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center; gap:0.5rem;
  font-weight:700; font-size:0.92rem;
  box-shadow:0 8px 24px rgba(37,211,102,0.35);
  transition:all var(--transition);
}
.cta-wa:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(37,211,102,0.45); }
.cta-wa svg { width:20px; height:20px; fill:white; }
.cta-plans {
  flex:1; min-width:130px; height:52px;
  background:rgba(255,255,255,0.1); border:1.5px solid rgba(255,255,255,0.25);
  color:var(--white); border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center; gap:0.4rem;
  font-weight:600; font-size:0.9rem;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:all var(--transition);
}
.cta-plans:hover { border-color:var(--orange); color:var(--orange); }

/* ── Stats ── */
#stats { padding:1.2rem 1.2rem; }
.stats-grid {
  display:grid; grid-template-columns:repeat(4, 1fr);
  background:var(--surface); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md); overflow:hidden; border:1px solid var(--border);
}
.stat-item {
  display:flex; flex-direction:column; align-items:center;
  padding:1.1rem 0.5rem; border-right:1px solid var(--border);
  transition:background var(--transition);
}
.stat-item:last-child { border-right:none; }
.stat-item:hover { background:var(--grey-light); }
.stat-num {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:1.8rem; color:var(--orange); letter-spacing:0.04em; line-height:1;
}
.stat-lbl {
  font-size:0.64rem; font-weight:600; color:var(--text-sub);
  text-align:center; margin-top:3px; letter-spacing:0.04em; text-transform:uppercase;
}

/* ── About ── */
#about { padding-top:1.5rem; }
.about-card {
  background:var(--surface); border-radius:var(--radius-lg);
  padding:1.6rem; border:1px solid var(--border);
  box-shadow:var(--shadow-sm); margin-top:1.4rem;
}
.about-highlights { display:grid; grid-template-columns:1fr 1fr; gap:0.8rem; margin-top:1.4rem; }
.highlight-chip {
  background:var(--grey-light); border-radius:var(--radius-sm);
  padding:0.8rem 0.9rem;
  display:flex; align-items:center; gap:0.5rem;
  font-size:0.82rem; font-weight:600; color:var(--text);
  transition:all var(--transition);
}
.highlight-chip:hover { background:var(--orange-glow); color:var(--orange-text); }
.highlight-chip .chip-icon { font-size:1.1rem; }

/* ── Timetable ── */
#timetable { padding-top:0.5rem; }
.batch-grid { display:flex; flex-direction:column; gap:1rem; margin-top:1.4rem; }
.batch-card { border-radius:var(--radius-lg); overflow:hidden; position:relative; }
.batch-card.morning { background:linear-gradient(135deg, #FF5722 0%, #FF8A65 100%); }
.batch-card.evening { background:linear-gradient(135deg, #1C1C2E 0%, #2D2D4E 100%); }
.batch-inner { padding:1.5rem 1.6rem; display:flex; align-items:center; justify-content:space-between; }
.batch-label { font-size:0.7rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--white); margin-bottom:4px; }
.batch-time {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:2.4rem; color:var(--white); letter-spacing:0.04em; line-height:1;
}
.batch-days { font-size:0.78rem; color:var(--white); margin-top:4px; font-weight:500; }
.batch-icon { font-size:3rem; opacity:0.4; }
.batch-tag {
  position:absolute; top:1rem; right:1rem;
  background:rgba(255,255,255,0.2); color:var(--white);
  font-size:0.68rem; font-weight:700; letter-spacing:0.06em;
  padding:0.3rem 0.7rem; border-radius:99px; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}

/* ── Membership ── */
#membership { padding-top:0.5rem; }
.plans-grid { display:flex; flex-direction:column; gap:1rem; margin-top:1.4rem; }
.plan-card {
  background:var(--surface); border-radius:var(--radius-lg);
  border:2px solid var(--border); padding:1.6rem;
  transition:all var(--transition); position:relative; overflow:hidden;
}
.plan-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:var(--border); transition:background var(--transition);
}
.plan-card.featured { border-color:var(--orange); box-shadow:var(--shadow-ora); }
.plan-card.featured::before { background:linear-gradient(90deg, var(--orange), var(--orange-lt)); }
.plan-badge {
  position:absolute; top:1rem; right:1rem;
  background:var(--orange); color:var(--white);
  font-size:0.66rem; font-weight:800; letter-spacing:0.08em;
  text-transform:uppercase; padding:0.28rem 0.7rem; border-radius:99px;
}
.plan-name { font-size:0.72rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-sub); margin-bottom:0.4rem; }
.plan-price { display:flex; align-items:flex-end; gap:4px; margin-bottom:0.2rem; }
.plan-price .currency { font-size:1.1rem; font-weight:700; color:var(--orange-text); margin-bottom:6px; }
.plan-price .amount { font-family:'Bebas Neue','Arial Black',Impact,sans-serif; font-size:3rem; letter-spacing:0.02em; color:var(--text); line-height:1; }
.plan-price .period { font-size:0.82rem; color:var(--text-sub); margin-bottom:6px; font-weight:500; }
.plan-saving { font-size:0.78rem; color:#15803D; font-weight:600; margin-bottom:1rem; }
.plan-features { margin-bottom:1.4rem; display:flex; flex-direction:column; gap:0.55rem; }
.plan-feat { display:flex; align-items:center; gap:0.5rem; font-size:0.86rem; color:var(--text); }
.plan-feat svg { width:16px; height:16px; stroke:var(--orange); flex-shrink:0; }
.btn-plan {
  width:100%; height:50px; border-radius:var(--radius-md);
  font-weight:700; font-size:0.9rem;
  display:flex; align-items:center; justify-content:center; gap:0.5rem;
  transition:all var(--transition);
}
.btn-plan.primary {
  background:linear-gradient(135deg, var(--orange), var(--orange-lt));
  color:var(--white); box-shadow:var(--shadow-ora);
}
.btn-plan.primary:hover { transform:translateY(-2px); box-shadow:0 12px 35px rgba(255,87,34,0.4); }
.btn-plan.outline { border:2px solid var(--border); color:var(--text); }
.btn-plan.outline:hover { border-color:var(--orange); color:var(--orange-text); }
[data-theme="dark"] .plan-saving { color:#4ADE80; }
.demo-banner {
  margin-top:1.2rem;
  background:linear-gradient(135deg, #0F4C1F, #1A6B2E);
  border-radius:var(--radius-md); padding:1.2rem 1.4rem;
  display:flex; align-items:center; gap:1rem;
}
.demo-icon { font-size:2rem; flex-shrink:0; }
.demo-text strong { display:block; color:var(--white); font-size:1rem; font-weight:700; margin-bottom:2px; }
.demo-text span { color:rgba(255,255,255,0.7); font-size:0.82rem; }

/* ── Gallery ── */
#gallery { padding-top:0.5rem; }
.gallery-grid {
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:0.6rem; margin-top:1.4rem;
}
.g-item {
  display:block; width:100%; padding:0;
  aspect-ratio:1; border-radius:var(--radius-sm);
  overflow:hidden; cursor:pointer; position:relative;
  transition:transform var(--transition);
}
.g-item:hover { transform:scale(0.97); }
.g-item:hover .g-overlay, .g-item:focus-visible .g-overlay { opacity:1; }
/* Items 1, 4 and 5 are wide: 2+1 / 1+2 / 2+1 columns = no empty grid cells */
.g-item:first-child, .g-item:nth-child(4), .g-item:nth-child(5) { grid-column:span 2; aspect-ratio:2/1; }
.g-item img { width:100%; height:100%; object-fit:cover; transition:transform var(--transition); }
.g-item:hover img { transform:scale(1.05); }
.g-overlay {
  position:absolute; inset:0;
  background:rgba(255,87,34,0.7);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity var(--transition);
}
.g-overlay svg { width:28px; height:28px; stroke:white; stroke-width:2; }

/* ── Lightbox ── */
#lightbox {
  position:fixed; inset:0; background:rgba(0,0,0,0.95);
  z-index:9000; display:none;
  flex-direction:column; align-items:center; justify-content:center;
}
#lightbox.open { display:flex; }
.lb-content { width:90vw; max-width:400px; border-radius:var(--radius-md); overflow:hidden; }
.lb-img { width:100%; border-radius:16px; display:block; max-height:80vh; object-fit:contain; }
.lb-close {
  position:absolute; top:1.5rem; right:1.5rem;
  width:44px; height:44px; background:rgba(255,255,255,0.1);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--white); font-size:1.4rem; cursor:pointer;
}

/* ── Testimonials ── */
#testimonials { padding-top:0.5rem; }
.testi-slider { margin-top:1.4rem; }
.testi-track {
  display:flex; overflow-x:scroll;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none; gap:0;
}
.testi-track::-webkit-scrollbar { display:none; }
.testi-track:focus-visible { outline-offset:-2px; border-radius:var(--radius-lg); }
.testi-card {
  min-width:100%; width:100%;
  background:var(--surface); border-radius:var(--radius-lg);
  padding:1.5rem; border:1px solid var(--border);
  box-shadow:var(--shadow-sm); flex-shrink:0;
  scroll-snap-align:start; box-sizing:border-box;
}
.testi-stars { display:flex; gap:3px; margin-bottom:0.9rem; align-items:center; }
.testi-stars svg { width:17px; height:17px; flex-shrink:0; }
.star-filled { fill:var(--orange); stroke:var(--orange); }
.testi-text { font-size:0.9rem; line-height:1.65; color:var(--text); margin-bottom:1.1rem; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:0.7rem; }
.testi-avatar {
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; font-weight:700; color:var(--white); flex-shrink:0;
}
.testi-name { font-weight:700; font-size:0.88rem; }
.testi-role { font-size:0.76rem; color:var(--text-sub); }
.testi-dots { display:flex; justify-content:center; gap:6px; margin-top:1.2rem; }
.testi-dot {
  width:7px; height:7px; border-radius:99px;
  background:var(--border); transition:all var(--transition); cursor:pointer; position:relative;
}
.testi-dot::after { content:''; position:absolute; inset:-9px -4px; } /* bigger tap target */
.testi-dot.active { width:22px; background:var(--orange); }

/* ── FAQ ── */
#faq { padding-top:0.5rem; }
.faq-list { margin-top:1.4rem; display:flex; flex-direction:column; gap:0.7rem; }
.faq-item {
  background:var(--surface); border-radius:var(--radius-md);
  border:1px solid var(--border); overflow:hidden;
  transition:border-color var(--transition);
}
.faq-item.open { border-color:var(--orange); }
.faq-q {
  width:100%; padding:1.1rem 1.2rem;
  display:flex; align-items:center; justify-content:space-between;
  text-align:left; font-weight:600; font-size:0.9rem;
  color:var(--text); background:transparent; cursor:pointer; gap:0.8rem;
}
.faq-q svg { width:18px; height:18px; stroke:var(--text-sub); flex-shrink:0; transition:transform var(--transition); }
.faq-item.open .faq-q svg { transform:rotate(45deg); stroke:var(--orange); }
.faq-item.open .faq-q { color:var(--orange-text); }
.faq-a {
  max-height:0; overflow:hidden;
  transition:max-height 0.4s ease, padding 0.3s ease;
  font-size:0.86rem; line-height:1.65; color:var(--text-sub); padding:0 1.2rem;
  visibility:hidden; transition:max-height 0.4s ease, padding 0.3s ease, visibility 0s 0.4s;
}
.faq-item.open .faq-a { max-height:600px; padding:0 1.2rem 1.1rem; visibility:visible; transition-delay:0s; }

/* ── Contact ── */
#contact { padding-top:0.5rem; }
.contact-cards { display:grid; grid-template-columns:1fr 1fr; gap:0.8rem; margin-top:1.4rem; }
.contact-chip {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:1rem;
  display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:0.4rem;
  transition:all var(--transition); text-decoration:none;
}
.contact-chip:hover { border-color:var(--orange); box-shadow:var(--shadow-ora); transform:translateY(-2px); }
.contact-chip .cc-icon { font-size:1.5rem; }
.contact-chip .cc-label { font-size:0.68rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-sub); }
.contact-chip .cc-val { font-size:0.82rem; font-weight:600; color:var(--text); overflow-wrap:anywhere; }
.contact-chip:nth-child(odd):last-child { grid-column:1 / -1; }
.map-wrapper {
  margin-top:1.2rem; border-radius:var(--radius-lg);
  overflow:hidden; border:1px solid var(--border); height:220px;
}
.map-wrapper iframe { width:100%; height:100%; border:none; display:block; }
#mapPlaceholder {
  width:100%; height:100%; background:var(--grey-light);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:0.5rem;
  color:var(--text-sub); text-align:center; padding:1rem;
}
#mapPlaceholder:disabled { cursor:default; }
.map-ph-icon { font-size:2rem; }
.map-ph-title { font-size:0.82rem; font-weight:600; }
.map-ph-sub { font-size:0.74rem; }
.map-link-row { margin-top:0.6rem; text-align:right; }
.map-link { font-size:0.82rem; font-weight:600; color:var(--orange-text); text-decoration:underline; text-underline-offset:3px; }
.contact-form { margin-top:1.4rem; display:flex; flex-direction:column; gap:0.9rem; }
.form-row label {
  display:block; font-size:0.78rem; font-weight:600;
  letter-spacing:0.04em; text-transform:uppercase;
  color:var(--text-sub); margin-bottom:0.4rem;
}
.form-row input, .form-row textarea, .form-row select {
  width:100%; height:50px;
  background:var(--surface); border:1.5px solid var(--border);
  border-radius:var(--radius-md); padding:0 1rem;
  font-size:16px; font-family:inherit; color:var(--text);
  transition:border-color var(--transition); -webkit-appearance:none; appearance:none;
}
.form-row textarea { height:100px; padding:0.8rem 1rem; resize:none; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline:none; border-color:var(--orange);
  box-shadow:0 0 0 3px var(--orange-glow);
}
.form-row input:user-invalid, .form-row textarea:user-invalid, .form-row select:user-invalid { border-color:#DC2626; }
.form-row select {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236B7280' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.5rem;
}
.btn-submit {
  height:54px; width:100%;
  background:linear-gradient(135deg, var(--orange), var(--orange-lt));
  color:var(--white); border-radius:var(--radius-md);
  font-weight:700; font-size:0.98rem; letter-spacing:0.02em;
  display:flex; align-items:center; justify-content:center; gap:0.5rem;
  box-shadow:var(--shadow-ora); transition:all var(--transition);
}
.btn-submit:hover { transform:translateY(-2px); box-shadow:0 14px 35px rgba(255,87,34,0.4); }
.btn-submit:disabled { opacity:0.6; cursor:not-allowed; transform:none; box-shadow:none; }
.btn-submit svg { width:20px; height:20px; stroke:white; stroke-width:2.5; }

/* ── Footer ── */
footer {
  background:var(--black); color:rgba(255,255,255,0.7);
  padding:2rem 1.4rem 1.5rem; margin-top:1rem;
}
.footer-inner { max-width:480px; margin:0 auto; }
.footer-logo {
  font-family:'Bebas Neue','Arial Black',Impact,sans-serif;
  font-size:2rem; letter-spacing:0.06em; color:var(--white); margin-bottom:0.4rem;
}
.footer-logo span { color:var(--orange); }
.footer-tagline { font-size:0.82rem; margin-bottom:1.5rem; color:rgba(255,255,255,0.65); }
.footer-links { display:flex; flex-wrap:wrap; gap:0.5rem 1.4rem; margin-bottom:1.4rem; }
.footer-links a { font-size:0.84rem; color:rgba(255,255,255,0.6); transition:color var(--transition); }
.footer-links a:hover { color:var(--orange); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08); padding-top:1rem;
  font-size:0.76rem; color:rgba(255,255,255,0.6);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.4rem;
}

/* ── Toast ── */
#toast {
  position:fixed; bottom:calc(var(--bot-nav-h) + var(--safe-b) + 1.5rem);
  left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--black); color:var(--white);
  padding:0.8rem 1.4rem; border-radius:99px;
  font-size:0.85rem; font-weight:600;
  opacity:0; pointer-events:none;
  transition:all 0.4s ease; z-index:999;
  width:max-content; max-width:calc(100vw - 2rem); text-align:center; box-shadow:var(--shadow-lg);
}
#toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── Scroll Animations ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── Very small phones (≤360px) ── */
@media (max-width:360px) {
  .nav-inner { padding:0 0.9rem; }
  .nav-logo { font-size:1.4rem; }
  .btn-call { padding:0 0.8rem; }
  section { padding-left:1rem; padding-right:1rem; }
  .hero-content { padding-left:1.1rem; padding-right:1.1rem; }
}

/* ── Tablet & desktop (≥768px): wide layout, top-nav links instead of bottom bar ── */
@media (min-width:768px) {
  #bot-nav { display:none; }
  body { padding-bottom:0; }
    #toast { bottom:2rem; }
  .nav-inner, .footer-inner { max-width:1040px; padding-left:1.5rem; padding-right:1.5rem; }
  .nav-links { display:flex; }
  .page { max-width:1040px; padding:0 1.5rem; }
  #home { min-height:560px; margin-top:1rem; border-radius:var(--radius-lg); }
  .hero-content { max-width:680px; padding:4rem 2.5rem 3.5rem; }
  .hero-h1 { font-size:6rem; }
  .hero-tagline { font-size:1.1rem; }
  .hero-ctas .cta-wa, .hero-ctas .cta-plans { flex:0 1 auto; padding:0 1.8rem; }
  section { padding-left:0; padding-right:0; padding-top:3rem; padding-bottom:3rem; }
  #stats { padding-top:2rem; padding-bottom:1rem; }
  #about, #timetable, #membership, #gallery, #testimonials, #faq, #contact { padding-top:2rem; }
  .sec-title { font-size:3.2rem; }
  .sec-sub { max-width:62ch; }
  .stats-grid { max-width:760px; }
  .stat-num { font-size:2.4rem; }
  .stat-lbl { font-size:0.74rem; }
  .about-card { max-width:760px; }
  .about-highlights { grid-template-columns:repeat(3, 1fr); max-width:760px; }
  .batch-grid { flex-direction:row; }
  .batch-card { flex:1; }
  .plans-grid { flex-direction:row; max-width:820px; }
  .plan-card { flex:1; }
  .demo-banner { max-width:820px; }
  .testi-slider, .testi-dots { max-width:720px; }
  .testi-dots { justify-content:flex-start; }
  .faq-list { max-width:760px; }
  .contact-cards { grid-template-columns:repeat(3, 1fr); }
  .contact-chip:nth-child(odd):last-child { grid-column:auto; }
  .map-wrapper { height:340px; }
  .contact-form { max-width:620px; }
  .lb-content { max-width:760px; }
}

/* ── Large desktop ── */
@media (min-width:1280px) {
  .gallery-grid { gap:0.9rem; }
}

/* ── Respect reduced-motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:0.01ms !important; animation-iteration-count:1 !important;
    transition-duration:0.01ms !important; scroll-behavior:auto !important;
  }
  .reveal { opacity:1; transform:none; }
}

/* ── Refinement layer: calmer, more professional look ── */
:root { --orange-btn:#D84315; --green-btn:#0F8A47; --shadow-ora:0 6px 18px rgba(0,0,0,.14); --radius-lg:18px; --radius-md:12px; }
.ic { width:20px; height:20px; flex-shrink:0; }
.reveal { opacity:1; transform:none; transition:none; }
.hero-bg::before { background-image:linear-gradient(180deg, rgba(20,20,20,.25) 0%, rgba(20,20,20,.9) 100%); background-size:auto; animation:none; }
.hero-bg-img { opacity:.6; }
.hero-badge { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); color:var(--white); font-weight:600; letter-spacing:.02em; }
.hero-badge::before { animation:none; }
.hero-tagline { color:rgba(255,255,255,.85); }
.btn-call, .btn-plan.primary, .btn-submit, .plan-badge { background:var(--orange-btn); }
.btn-call:hover, .btn-plan.primary:hover, .btn-submit:hover { background:#BF360C; transform:none; }
.btn-plan.primary, .btn-submit { box-shadow:none; }
.btn-plan.primary:hover, .btn-submit:hover, .cta-wa:hover { box-shadow:var(--shadow-md); transform:none; }
.cta-wa { background:var(--green-btn); box-shadow:none; }
.contact-chip:hover { transform:none; box-shadow:var(--shadow-sm); }
.sec-title { margin-bottom:.9rem; }
.plan-name, .cc-label, .form-row label, .batch-label, .stat-lbl { text-transform:none; letter-spacing:0; }
.plan-name, .cc-label, .batch-label { font-size:.88rem; }
.stat-lbl { font-size:.74rem; }
.form-row label { font-size:.85rem; }
.plan-card.featured { box-shadow:none; }
.batch-card.morning { background:var(--orange-btn); }
.batch-card.evening { background:#1C1C1C; }
.batch-icon { color:var(--white); opacity:.4; display:flex; }
.batch-icon .ic { width:48px; height:48px; stroke-width:1.5; }
.demo-banner { background:var(--black); border-left:4px solid var(--orange); }
[data-theme="dark"] .demo-banner { background:var(--surface); border:1px solid var(--border); border-left:4px solid var(--orange); }
.demo-icon { color:var(--orange); display:flex; }
.demo-icon .ic { width:30px; height:30px; }
.chip-icon, .cc-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:var(--orange-glow); color:var(--orange-text); font-size:inherit; }
.chip-icon .ic, .cc-icon .ic { width:18px; height:18px; }
.highlight-chip:hover { background:var(--grey-light); color:var(--text); }
.g-overlay { background:rgba(20,20,20,.5); }
.btn-theme .ic { width:18px; height:18px; }
.btn-theme .ic-sun, [data-theme="dark"] .btn-theme .ic-moon { display:none; }
[data-theme="dark"] .btn-theme .ic-sun { display:block; }
.map-ph-icon { display:block; }
.map-ph-icon .ic { width:28px; height:28px; }
.lb-close .ic { width:20px; height:20px; }
@media (min-width:768px) { .contact-cards { grid-template-columns:repeat(3, 1fr); } }

/* ── Logo ── */
.nav-logo { display:flex; align-items:center; gap:.55rem; }
.logo-mark { height:35px; width:auto; }
.footer-logo-img { width:160px; height:auto; margin-bottom:1rem; }
.loader-mark { width:134px; height:auto; margin-bottom:1rem; }
.contact-cards { align-items:stretch; }
@media (max-width:360px) { .nav-logo { font-size:1.25rem; gap:.4rem; } .logo-mark { height:28px; } }

/* ── Dark header: keeps the white/orange logo readable in both themes ── */
#navbar { background:var(--black); border-bottom-color:var(--black); }
.nav-logo, .nav-links a { color:var(--white); }
.nav-links a:hover { color:var(--orange); }
.btn-theme { border-color:rgba(255,255,255,.3); color:var(--white); }
.btn-theme:hover { border-color:var(--orange); }