:root {
  --primary: #475569;
  --bg: #f8fafc;
  --ink: #0f172a;
  --accent: #ea580c;
  --paper: #ffffff;
  --line: #e2e8f0;
  --mute: #64748b;
  --deep: #1e293b;
  --display: 'Tinos', Georgia, serif;
  --body: 'Open Sans', system-ui, sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1160px, 92vw); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; }
h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { color: var(--mute); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow--inv { color: rgba(255,255,255,.7); }
.lead { font-size: clamp(15px, 1.4vw, 18px); color: var(--mute); max-width: 50ch; }
.lead--inv { color: rgba(255,255,255,.8); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(248, 250, 252, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.brand__icon { color: var(--primary); font-size: 22px; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--mute); font-size: 14px; font-weight: 600; transition: color .15s; }
.nav__links a:hover { color: var(--primary); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .12s;
}
.btn:hover { background: #c2410c; transform: translateY(-1px); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--full { width: 100%; justify-content: center; }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0; }
.hero__split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__left { display: flex; flex-direction: column; gap: 0; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero__stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.stat__num {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.stat__label { font-size: 13px; color: var(--mute); }
.hero__photo { position: relative; }
.hero__photo img {
  width: 100%;
  height: clamp(320px, 44vw, 540px);
  object-fit: cover;
  border-radius: calc(var(--r) + 6px);
  box-shadow: 0 24px 60px -24px rgba(71,85,105,.4);
}
.hero__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(234,88,12,.5);
}

/* sections */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--light { background: var(--paper); border-block: 1px solid var(--line); }
.section__header { max-width: 56ch; margin-bottom: 40px; }
.section__header p { margin-top: 10px; }
.section__sub { color: var(--mute); margin-top: 10px; margin-bottom: 40px; max-width: 54ch; }

/* courses grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.course-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: box-shadow .2s;
}
.course-card:hover { box-shadow: 0 8px 24px -8px rgba(71,85,105,.18); }
.course-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(234,88,12,.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.course-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.course-card p { font-size: 14px; flex: 1; }
.course-card__detail {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* feature section */
.feature-section {
  background: var(--deep);
  padding: clamp(52px, 7vw, 88px) 0;
}
.feature-section__in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.feature-section__text h2 { color: #fff; }
.feature-section__steps { display: grid; gap: 16px; }
.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 22px 24px;
}
.step__num {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.step h4 { color: #fff; margin-bottom: 6px; }
.step p { font-size: 14px; color: rgba(255,255,255,.65); }

/* coaches */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.coach {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 200px;
}
.coach__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.coach h4 { color: var(--ink); }
.coach p { font-size: 14px; }

/* contact */
.contact-section { padding: clamp(52px, 7vw, 88px) 0; }
.contact-section__in {
  background: linear-gradient(140deg, var(--primary) 0%, var(--deep) 100%);
  border-radius: calc(var(--r) + 8px);
  padding: clamp(32px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.contact-section__info h2 { color: #fff; }
.contact-section__info > p { color: rgba(255,255,255,.8); margin-top: 12px; max-width: 44ch; }
.contact-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.contact-list li { color: rgba(255,255,255,.85); font-size: 14.5px; }
.contact-list__label {
  display: inline-block;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  width: 72px;
  margin-right: 8px;
}
.form-title { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form__input {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--body);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color .15s;
}
.form__input::placeholder { color: rgba(255,255,255,.45); }
.form__input option { background: var(--deep); }
.form__input:focus { border-color: rgba(255,255,255,.5); }

/* footer */
.footer { background: var(--ink); padding: 28px 0; }
.footer__in {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.55);
}

@media (max-width: 900px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero__right { order: -1; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section__in { grid-template-columns: 1fr; }
  .coaches-grid { grid-template-columns: 1fr 1fr; }
  .contact-section__in { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .courses-grid { grid-template-columns: 1fr; }
  .coaches-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
}
