:root {
  --ink: #10231f;
  --muted: #58706b;
  --paper: #f7f8f3;
  --line: #dce2d8;
  --green: #0f5d3d;
  --green-2: #18a36b;
  --gold: #f3c64f;
  --red: #cb3d2f;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(247, 248, 243, 0.94);
  box-shadow: 0 10px 30px rgba(16, 35, 31, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 52px;
  place-items: center;
  border-radius: 6px;
  font-weight: 800;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.76;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 72px) 34px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./images/hero-youth-football.jpg");
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 23, 19, 0.88), rgba(8, 23, 19, 0.52) 46%, rgba(8, 23, 19, 0.14)),
    linear-gradient(0deg, rgba(8, 23, 19, 0.68), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-bottom: 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  font-size: 22px;
  line-height: 1.24;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #0c221c;
  background: var(--gold);
  box-shadow: 0 12px 26px rgba(243, 198, 79, 0.26);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  left: clamp(20px, 5vw, 72px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 34, 28, 0.72);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 22px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.hero-panel span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.section,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-band {
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker),
.intro-grid p,
.split-content p,
.contact-content > div p {
  color: var(--muted);
  font-size: 18px;
}

.intro {
  padding: 58px 0;
}

.intro-grid,
.result-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: 44px;
  align-items: start;
}

.program-grid,
.coach-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card,
.coach-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 35, 31, 0.06);
}

.program-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.program-card div {
  padding: 22px;
}

.program-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.program-card p,
.coach-card span,
.news-card p {
  color: var(--muted);
}

.teams {
  padding: 86px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.92fr);
  gap: 54px;
  align-items: center;
}

.split-media img {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-2);
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 8px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.coach-card {
  padding: 18px;
}

.coach-card img {
  width: 100%;
  aspect-ratio: 1.05;
  border-radius: 6px;
  object-fit: cover;
}

.coach-card h3 {
  margin: 18px 0 4px;
}

.coach-card p {
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 800;
}

.results {
  padding: 72px 0;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.result-list div {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 18px;
}

.result-list strong,
.result-list span {
  display: block;
}

.result-list strong {
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.result-list span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.news-card {
  padding: 24px;
}

.news-card time {
  color: var(--red);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  min-height: 720px;
  background: #0c221c;
  color: var(--white);
}

.contact-image {
  min-height: 420px;
  background-image:
    linear-gradient(0deg, rgba(12, 34, 28, 0.2), rgba(12, 34, 28, 0.2)),
    url("./images/trial-session-field.jpg");
  background-position: center;
  background-size: cover;
}

.contact-content {
  display: grid;
  align-content: center;
  gap: 32px;
  padding: clamp(42px, 7vw, 86px);
}

.trial-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trial-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.trial-form label:nth-child(4),
.trial-form .button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 14px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(243, 198, 79, 0.18);
}

.trial-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.wechat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 440px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.wechat-card img {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--white);
}

.wechat-card strong,
.wechat-card span {
  display: block;
}

.wechat-card strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 18px;
}

.wechat-card span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #081713;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p,
.site-footer address {
  margin: 0;
}

.site-footer address {
  font-style: normal;
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    color: var(--ink);
    background: rgba(247, 248, 243, 0.94);
    box-shadow: 0 10px 30px rgba(16, 35, 31, 0.1);
    backdrop-filter: blur(16px);
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: max-height 0.25s ease;
  }

  .site-header.is-open .main-nav {
    max-height: 360px;
  }

  .main-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 122px;
    padding-bottom: 30px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-panel,
  .intro-grid,
  .split,
  .result-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 30px;
  }

  .program-grid,
  .coach-grid,
  .news-grid,
  .result-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 40px;
    font-size: 14px;
  }

  .brand strong {
    max-width: 9em;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    right: 12px;
    left: 12px;
  }

  .main-nav a {
    padding: 15px 16px;
  }

  .hero {
    min-height: auto;
    padding: 104px 18px 24px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 23, 19, 0.9), rgba(8, 23, 19, 0.64)),
      linear-gradient(0deg, rgba(8, 23, 19, 0.78), rgba(8, 23, 19, 0.18) 58%);
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 9px;
    font-size: 12px;
  }

  h1 {
    max-width: 9em;
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1.06;
  }

  h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  h3 {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
  }

  .button.ghost {
    background: rgba(255, 255, 255, 0.08);
  }

  .section,
  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  .intro {
    padding: 42px 0;
  }

  .intro-grid,
  .result-grid,
  .split {
    gap: 24px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p:not(.section-kicker),
  .intro-grid p,
  .split-content p,
  .contact-content > div p {
    font-size: 16px;
  }

  .program-grid,
  .coach-grid,
  .news-grid {
    gap: 16px;
  }

  .hero-panel {
    width: 100%;
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
  }

  .hero-panel strong {
    font-size: 38px;
  }

  .hero-panel span {
    margin-top: 0;
  }

  .program-grid,
  .coach-grid,
  .news-grid,
  .result-list,
  .trial-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .program-card img {
    aspect-ratio: 1.45;
  }

  .program-card div,
  .news-card {
    padding: 18px;
  }

  .coach-card {
    padding: 14px;
  }

  .coach-card img {
    aspect-ratio: 1.25;
  }

  .split-media img {
    min-height: 0;
    aspect-ratio: 1.15;
  }

  .teams,
  .results {
    padding: 58px 0;
  }

  .result-list {
    gap: 14px;
  }

  .result-list div {
    border-left-width: 3px;
    padding-left: 14px;
  }

  .result-list strong {
    font-size: 36px;
  }

  .contact {
    min-height: 0;
  }

  .contact-image {
    min-height: 260px;
    background-position: center top;
  }

  .contact-content {
    gap: 24px;
    padding: 42px 16px;
  }

  .wechat-card {
    display: grid;
    justify-items: center;
    max-width: none;
    text-align: center;
  }

  .wechat-card img {
    width: 132px;
    height: 132px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    padding: 12px 13px;
    font-size: 16px;
  }

  textarea {
    min-height: 116px;
  }

  .site-footer {
    display: grid;
    gap: 18px;
    padding: 28px 16px;
    font-size: 14px;
  }

  .site-footer address {
    text-align: left;
  }
}
