:root {
  --navy: #1b3358;
  --orange: #f0841f;
  --ink: #243044;
  --mute: #5c6774;
  --paper: #fffaf3;
  --sand: #efe6d8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: 88px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.btn {
  display: inline-block;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 46px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}
.btn:hover { background: #dc7210; }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px #d8cfc2;
}

.bar { background: var(--navy); }
.bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.bar a:hover { color: var(--orange); }
.bar svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid #eadfce;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 72px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.18s ease;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }
.acts { display: flex; align-items: center; gap: 14px; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: var(--sand);
  border-radius: 10px;
}
.burger i,
.burger i::before,
.burger i::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--navy);
  position: relative;
}
.burger i::before,
.burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -5px; }
.burger i::after { top: 5px; }

.hero {
  width: min(1120px, calc(100% - 40px));
  height: 520px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 16px;
}
.hero-card {
  height: 100%;
  padding: 32px 28px;
  background: var(--sand);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-card h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.hero-card .lead { margin: 14px 0 20px; color: var(--mute); }
.dots { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--navy); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tiny { margin-top: 12px; font-size: 13px; color: var(--mute); }
.hero-visual {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
}
.hero-visual > img,
.hero-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
}
.hero-side img { min-height: 0; }

.block { padding: 64px 0; }
h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--navy);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.flow article {
  background: #fff;
  padding: 24px 22px;
  border-radius: 14px;
}
.flow em {
  display: block;
  margin-bottom: 16px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 24px;
  font-style: normal;
  color: var(--orange);
}
.flow h3 { font-size: 1.15rem; color: var(--navy); }
.flow p { margin-top: 8px; color: var(--mute); }

.why { background: #fff; }
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stack article + article { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--sand); }
.stack h3 { color: var(--navy); font-size: 1.1rem; }
.stack p { margin-top: 6px; color: var(--mute); }
.pair img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.tiles {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 12px;
  margin-top: 24px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  min-height: 0;
}
.tile.wide { grid-row: span 2; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile > div {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(16, 24, 38, 0) 25%, rgba(16, 24, 38, 0.8) 78%, rgba(16, 24, 38, 0.94) 100%);
}
.tile h3 { font-size: 1.15rem; color: #fff; }
.swap {
  position: relative;
  height: 34px;
  margin-top: 8px;
}
.swap span,
.swap .go {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  transition: opacity 0.2s ease;
}
.swap span {
  font-size: 13px;
  line-height: 34px;
  color: #f3ece3;
  font-weight: 400;
}
.swap .go {
  display: inline-block;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 34px;
  opacity: 0;
}
.tile:hover .swap span,
.tile:focus-visible .swap span { opacity: 0; }
.tile:hover .swap .go,
.tile:focus-visible .swap .go { opacity: 1; }

.tabs { display: flex; gap: 8px; margin: 24px 0 16px; }
.tabs button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--sand);
  color: var(--navy);
  line-height: 40px;
  cursor: pointer;
}
.tabs button.is-active { background: var(--navy); color: #fff; }
.panel { display: none; }
.panel.is-active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.price {
  background: #fff;
  padding: 22px 18px;
  border-radius: 14px;
}
.price b {
  display: block;
  margin: 8px 0 4px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 500;
}
.price span, .price p { font-size: 14px; color: var(--mute); }
.price.is-hot { background: var(--navy); }
.price.is-hot b,
.price.is-hot span { color: #fff; }
.price.is-hot p { color: #c9d3e2; }
.note { margin-top: 16px; font-size: 14px; color: var(--mute); }

.locs { display: grid; gap: 12px; margin-top: 24px; }
.loc {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.loc img { width: 100%; height: 160px; object-fit: cover; }
.loc-body { padding: 22px 24px; }
.loc h3 { color: var(--navy); }
.loc p { color: var(--mute); }
.loc ul { margin: 12px 0 0; padding: 0; list-style: none; }
.loc li {
  position: relative;
  padding-left: 14px;
  margin-top: 5px;
  color: var(--navy);
  font-size: 14px;
}
.loc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.quotes-band {
  background: var(--navy);
  padding: 64px 0;
}
.quotes-band h2 { color: #fff; }
.voices { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 24px; }
.voices blockquote {
  margin: 0;
  background: #2f5080;
  padding: 24px;
  border-radius: 14px;
  color: #fff;
}
.voices p { color: #f4f7fb; }
.voices footer { margin-top: 16px; font-size: 14px; color: #f39a2e; }
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.stars i {
  width: 14px;
  height: 14px;
  background: var(--orange);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.people {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.coach {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.coach img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.coach h3 {
  padding: 12px;
  font-size: 14px;
  color: var(--navy);
}

.contact { background: var(--navy); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  padding: 64px 0;
  color: #d7deea;
}
.contact h2 { color: #fff; }
.contact p { margin-top: 10px; max-width: 36ch; }
.contact .tiny { color: #c9d3e2; }
.contact .tiny a { font-weight: 600; color: #fff; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form[hidden] { display: none; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 13px; color: #d7deea; }
input, select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 0;
  background: #fff;
  color: var(--ink);
  line-height: 48px;
  border-radius: 10px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #b7c0cf;
  font-weight: 400;
}
.consent input { width: 16px; height: 16px; }
.ok { display: none; color: #c8e6c4; }

.bot { padding: 36px 0; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; color: var(--mute); font-size: 14px; }
.bot h3 { margin-bottom: 8px; color: var(--navy); font-size: 14px; }

.switch {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  display: flex;
  transform: translateX(-50%);
  padding: 5px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(27, 51, 88, 0.12);
}
.switch a {
  display: inline-block;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  color: var(--navy);
}
.switch a.is-active { background: var(--navy); color: #fff; }

body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  body.nav-open .nav {
    display: flex;
    position: fixed;
    inset: 112px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid #eadfce;
  }
  body.nav-open .nav a { line-height: 44px; }
  .hero {
    height: auto;
    grid-template-columns: 1fr;
  }
  .hero-card { height: auto; padding: 24px 20px; }
  .hero-visual {
    height: 280px;
    grid-template-columns: 1.2fr 1fr;
  }
  .pair, .tiles, .panel.is-active, .loc, .voices, .foot, form, .flow, .people, .contact-inner {
    grid-template-columns: 1fr;
  }
  .tiles {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .tile { min-height: 220px; }
  .tile.wide { grid-row: auto; }
  .swap span { opacity: 0; }
  .swap .go { opacity: 1; }
  .pair img { height: 240px; }
  .cta-row .btn { width: 100%; }
  .people { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .block, .quotes-band, .contact-inner { padding: 48px 0; }
  .tiles, .panel.is-active { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: 1fr; height: 220px; }
  .hero-side { display: none; }
  .bar a { font-size: 12px; }
}
