/* Fit Nation Hội An – site styles.
   Most layout lives inline in the HTML (it came from the design mock);
   shared rules and the interactive widgets are styled here. */

body{margin:0;background:#0B0B0B}
a{color:#FFD21F}a:hover{color:#FFE36B}
.fn-hero{background-image:linear-gradient(rgba(11,11,11,.62),rgba(11,11,11,.88)),url(/assets/img/gym-floor.webp);background-size:cover;background-position:center}
.fn-btn{transition:transform .15s ease}
.fn-btn:hover{transform:translateY(-2px)}
.fn-burger{display:none!important}
@media (max-width:760px){
.fn-links{display:none!important}
.fn-burger{display:flex!important}
.fn-sec{padding:64px 20px!important}
.fn-hero{padding:80px 20px 72px!important}
.fn-h2{font-size:40px!important}
.fn-photo{height:260px!important}
.fn-brand{font-size:20px!important}
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid #E2602F; outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fn-btn { transition: none; }
}

/* ---------- language toggle (EN | VI) ---------- */
.fn-lang-group { display: flex; gap: 2px; padding: 2px; border: 2px solid #444444; border-radius: 6px; }
.fn-lang {
  font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 600;
  min-width: 44px; min-height: 40px; border: none; border-radius: 4px;
  background: transparent; color: #F5F5F5; cursor: pointer;
}
.fn-lang[aria-pressed="true"] { background: #FFD21F; color: #0B0B0B; font-weight: 700; }

/* ---------- membership length picker ---------- */
.fn-plan-btn {
  font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 600;
  min-height: 44px; border: none; border-radius: 6px;
  background: transparent; color: #0B0B0B; cursor: pointer;
}
.fn-plan-btn[aria-pressed="true"] { background: #0B0B0B; color: #FFD21F; font-weight: 700; }

/* ---------- equipment body-part tabs ---------- */
.fn-tab {
  font-family: Inter, system-ui, sans-serif; font-size: 15px; font-weight: 600;
  padding: 12px 18px; min-height: 46px; border-radius: 999px;
  border: 2px solid #444444; background: transparent; color: #F5F5F5; cursor: pointer;
}
.fn-tab[aria-pressed="true"] { border-color: #FFD21F; background: #FFD21F; color: #0B0B0B; font-weight: 700; }

/* ---------- equipment cards ---------- */
.fn-machine { background: #1B1B1B; border: 1px solid #2E2E2E; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.fn-machine-photo { position: relative; aspect-ratio: 3 / 4; background: #111111; }
.fn-machine-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.fn-machine-soon {
  position: absolute; top: 10px; right: 10px; background: #FFD21F; color: #0B0B0B;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px; box-shadow: 0 0 0 2px #0B0B0B;
}
.fn-machine-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.fn-machine-name { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 24px; text-transform: uppercase; color: #FFFFFF; }
.fn-machine-targets { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #E2602F; }
.fn-machine-desc { margin: 0; font-size: 15px; line-height: 1.6; color: #C9C9C9; }

/* ---------- small phones ---------- */
@media (max-width: 400px) {
  .fn-brand { display: none; }
  .fn-plan-btn { font-size: 13px; white-space: nowrap; }
}
