:root {
  --paper: #f7f3ea;
  --paper-2: #fffaf1;
  --ink: #17211d;
  --muted: #5d6861;
  --line: #d8d0c1;
  --green: #19664d;
  --mint: #d6eee4;
  --coral: #e95f4c;
  --yellow: #f3c847;
  --blue: #2d5f88;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(23, 33, 29, 0.13);
  --radius: 8px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 200, 71, 0.22), transparent 28rem),
    linear-gradient(135deg, rgba(214, 238, 228, 0.35), transparent 32rem),
    var(--paper);
  line-height: 1.6;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 29, 0.1);
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-2);
  background:
    linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.brand-text span:last-child {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #25312c;
  font-weight: 750;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--mint);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}

.button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button {
  padding: 12px 18px;
  color: var(--paper-2);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 14px 28px rgba(23, 33, 29, 0.18);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(23, 33, 29, 0.23);
}

.ghost-button {
  padding: 12px 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 250, 241, 0.78);
}

.ghost-button:hover {
  background: var(--mint);
  transform: translateY(-1px);
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: 38px;
  padding-bottom: 58px;
}

.hero-copy {
  position: relative;
  padding-left: 30px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 18px;
  width: 3px;
  background: repeating-linear-gradient(to bottom, var(--green) 0 18px, transparent 18px 30px);
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 11px;
  border: 1px solid rgba(25, 102, 77, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(214, 238, 228, 0.74);
  font-size: 0.83rem;
  font-weight: 850;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1,
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  max-width: 920px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-ticket {
  position: absolute;
  right: -12px;
  bottom: 24px;
  width: min(310px, 78%);
  padding: 18px;
  border: 1px solid rgba(23, 33, 29, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 18px 42px rgba(23, 33, 29, 0.16);
}

.hero-ticket strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.08;
}

.hero-ticket span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.ticker {
  border-block: 1px solid rgba(23, 33, 29, 0.1);
  background: var(--ink);
  color: var(--paper-2);
  overflow: hidden;
}

.ticker-track {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 14px 0;
  font-weight: 850;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ticker-track i {
  color: var(--yellow);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section.tight {
  padding-top: 44px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card,
.plain-card,
.step-card,
.contact-panel {
  border: 1px solid rgba(23, 33, 29, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 16px 38px rgba(23, 33, 29, 0.08);
}

.course-card {
  overflow: hidden;
}

.course-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-card-body {
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: #174d3d;
  font-size: 0.78rem;
  font-weight: 850;
}

.course-card p,
.plain-card p,
.step-card p {
  color: var(--muted);
}

.course-card p {
  min-height: 78px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.course-card .button,
.course-card .ghost-button {
  width: 100%;
}

.plain-card,
.step-card {
  padding: 24px;
}

.plain-card i,
.step-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--paper-2);
  background: var(--green);
}

.trail-band {
  background: linear-gradient(135deg, #17211d, #23372f);
  color: var(--paper-2);
}

.trail-band .section {
  padding-block: 76px;
}

.trail-band p {
  color: rgba(255, 250, 241, 0.74);
}

.steps {
  counter-reset: steps;
}

.step-card {
  position: relative;
  background: rgba(255, 250, 241, 0.09);
  border-color: rgba(255, 250, 241, 0.14);
  box-shadow: none;
}

.step-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
}

.quote-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.quote-box {
  padding: 28px;
  border-left: 5px solid var(--coral);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-box p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.14;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 40px;
}

.page-hero .lead {
  max-width: 790px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper-2);
  font-weight: 850;
  cursor: pointer;
}

.filter-button.active {
  border-color: var(--green);
  color: var(--paper-2);
  background: var(--green);
}

.course-block {
  display: none;
}

.course-block.active {
  display: block;
}

.course-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

.detail-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(23, 33, 29, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.62);
}

.detail-list i {
  color: var(--green);
  margin-top: 4px;
}

.article-body {
  max-width: 860px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body a {
  color: var(--green);
  font-weight: 850;
}

.article-body ul {
  padding-left: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: start;
}

.contact-panel {
  padding: 24px;
}

.contact-panel form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  padding: 12px 13px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 70px;
  color: var(--paper-2);
  background: var(--ink);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr;
  gap: 28px;
  padding: 48px 0;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 250, 241, 0.76);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-info p {
  margin: 0 0 5px;
}

.disclaimer {
  border-top: 1px solid rgba(255, 250, 241, 0.13);
  padding: 18px 0;
}

.disclaimer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: rgba(255, 250, 241, 0.68);
  font-size: 0.88rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 33, 29, 0.58);
}

.modal-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.modal-media {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.modal-content {
  padding: 24px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--paper-2);
  background: rgba(23, 33, 29, 0.84);
  cursor: pointer;
}

.modal-content p {
  color: var(--muted);
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.modal-facts span {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--mint);
  color: #174d3d;
  font-weight: 850;
}

@media (max-width: 940px) {
  .hero,
  .quote-strip,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    height: 520px;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-bottom: 1px solid rgba(23, 33, 29, 0.1);
    background: rgba(247, 243, 234, 0.98);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.72);
  }

  .hero-copy {
    padding-left: 20px;
  }

  .hero-copy::before {
    left: 0;
  }

  .hero-media img {
    height: 390px;
  }

  .hero-ticket {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .section {
    padding: 58px 0;
  }

  .grid.three,
  .grid.two,
  .modal-facts {
    grid-template-columns: 1fr;
  }

  .course-card p {
    min-height: auto;
  }
}

@media (max-width: 460px) {
  .nav-wrap,
  .hero,
  .section,
  .page-hero,
  .ticker-track,
  .footer-grid,
  .disclaimer-inner {
    width: min(100% - 22px, 1180px);
  }

  h1,
  .page-title {
    font-size: 2.55rem;
  }

  .brand-text span:last-child {
    display: none;
  }

  .hero-actions,
  .filters {
    flex-direction: column;
  }

  .button,
  .ghost-button,
  .filter-button {
    width: 100%;
  }

  .modal-content {
    padding: 18px;
  }
}
