:root {
  --bg: #060b18;
  --bg-2: #0a1022;
  --surface: #0d1630;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7ff;
  --muted: #b8c0d8;
  --accent: #2f77ff;
  --accent-2: #63a0ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

a { color: inherit; }

.wrap { width: min(var(--max), 92vw); margin: 0 auto; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(3, 8, 20, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav nav {
  min-width: 0;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 54px;
  max-width: 420px;
  display: block;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  display: inline-block;
  text-decoration: none;
  color: #e6ebf8;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-cta {
  font-weight: 700;
}

.nav a.is-active {
  background: #fff;
  color: #0f162b;
  border-color: #fff;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 92px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 24, 0.48), rgba(2, 6, 18, 0.84)),
    radial-gradient(1000px 540px at 50% 100%, rgba(10, 24, 62, 0.9), transparent 65%);
}

.hero-content { position: relative; z-index: 1; }

.hero-content {
  text-align: center;
  margin-top: 40px;
}

.eyebrow {
  margin: 0;
  color: #c7d0e8;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

h1,h2,h3 {
  margin: 0;
  font-family: "Barlow", sans-serif;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.3rem, 6vw, 5.3rem);
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

h1 span { color: var(--accent); }

.subtitle {
  margin: 14px auto 0;
  max-width: 760px;
  color: #d3dbf0;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 20px;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-main {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(47, 119, 255, 0.34);
}

.btn-ghost {
  color: #f0f5ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.section {
  margin: 22px auto;
}

.section h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.grid { display: grid; gap: 10px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card,
.price {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 23, 49, 0.9);
  padding: 12px;
}

.card h3,
.price h3 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card p,
.note,
.price span,
label,
.contact p { color: var(--muted); }

.trainer-list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.trainer-social {
  margin: 10px 0 0;
  font-weight: 500;
}

.trainer-social a {
  color: #9ec0ff;
  text-underline-offset: 3px;
}

.pricing .price p {
  margin: 6px 0 0;
  font-family: "Barlow", sans-serif;
  font-size: 1.46rem;
  color: #fff;
}

.pricing .price span {
  display: block;
  font-size: 0.84rem;
}

.pricing .featured {
  background: linear-gradient(180deg, rgba(47, 119, 255, 0.22), rgba(20, 27, 56, 0.95));
  border-color: rgba(93, 155, 255, 0.45);
}

.expand-card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.expand-card summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.expand-card summary::-webkit-details-marker {
  display: none;
}

.expand-card:hover,
.expand-card[open],
.expand-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(112, 166, 255, 0.5);
  box-shadow: 0 16px 32px rgba(3, 10, 24, 0.35);
}

.expand-hint {
  display: inline-block;
  margin-top: 8px;
  color: #8ea8db;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.card-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.32s ease, opacity 0.24s ease, margin-top 0.24s ease;
}

.expand-card:hover .card-more,
.expand-card[open] .card-more,
.expand-card:focus-within .card-more {
  max-height: 360px;
  opacity: 1;
  margin-top: 10px;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.more-title {
  margin: 0 0 6px;
  color: #dce7ff;
  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.note { margin-top: 8px; }

.faq-list {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  grid-auto-columns: minmax(280px, calc((100% - 20px) / 3));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  padding-bottom: 6px;
}

.faq-list .card {
  scroll-snap-align: start;
  min-height: 100%;
}

.faq-list::-webkit-scrollbar {
  height: 8px;
}

.faq-list::-webkit-scrollbar-thumb {
  background: rgba(112, 166, 255, 0.35);
  border-radius: 999px;
}

.faq-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form {
  display: grid;
  gap: 8px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0;
  min-height: 1.3em;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.ok {
  color: #9fe7b5;
}

.form-status.error {
  color: #ffb3b3;
}

input,
select,
textarea {
  margin-top: 4px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  padding: 9px 10px;
  color: #f0f6ff;
  background: rgba(6, 13, 31, 0.9);
  font: inherit;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1050px) {
  .grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .faq-list { grid-auto-columns: minmax(280px, calc((100% - 10px) / 2)); }
}

@media (max-width: 760px) {
  .nav {
    min-height: 58px;
    padding: 6px 0;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .nav ul {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav ul::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 7px 10px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .brand img {
    height: 30px;
    max-width: 145px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .contact {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-auto-columns: 85%;
  }
}

@media (min-width: 1340px) {
  .faq-list {
    grid-auto-columns: minmax(250px, calc((100% - 30px) / 4));
  }
}
