.st-course {
  --st-navy: #06283d;
  --st-deep: #0a3a52;
  --st-turquoise: #28c7c7;
  --st-orange: #f58220;
  --st-ink: #173244;
  --st-muted: #5d7280;
  --st-soft: #eef8f8;
  color: var(--st-ink);
  background: #fff;
  font-size: 1rem;
  line-height: 1.65;
}

.st-course *, .st-course *::before, .st-course *::after { box-sizing: border-box; }
.st-course__container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.st-course__hero { position: relative; min-height: min(760px, 88vh); display: grid; align-items: center; color: #fff; background: var(--st-navy) var(--st-course-hero) center/cover no-repeat; }
.st-course__hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 28, 45, .94) 0%, rgba(3, 28, 45, .76) 48%, rgba(3, 28, 45, .22) 100%); }
.st-course__hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 380px); gap: clamp(30px, 5vw, 72px); align-items: center; padding-block: 110px 80px; }
.st-course__hero h1 { max-width: 880px; margin: 12px 0 22px; color: #fff; font-size: clamp(2.4rem, 6vw, 5.1rem); line-height: 1.04; letter-spacing: -.035em; }
.st-course__hero-subtitle { max-width: 760px; margin: 0 0 30px; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.st-course__eyebrow { margin: 0 0 10px; color: var(--st-turquoise); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.st-course__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.st-course__button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid var(--st-orange); border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.st-course__button:hover, .st-course__button:focus-visible { transform: translateY(-2px); }
.st-course__button--primary { color: #fff; background: var(--st-orange); }
.st-course__button--secondary { color: inherit; background: transparent; }
.st-course__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.st-course__badges li { padding: 8px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(4,32,49,.45); font-size: .9rem; }
.st-course__booking-card { padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(255,255,255,.28); border-radius: 22px; background: rgba(4,32,49,.88); box-shadow: 0 24px 60px rgba(0,0,0,.28); backdrop-filter: blur(10px); }
.st-course__agency-logo { display: block; width: min(150px, 55%); max-height: 72px; margin: 0 0 24px; object-fit: contain; object-position: left center; }
.st-course__price { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 900; line-height: 1; letter-spacing: -.025em; }
.st-course__price-unit { margin: 8px 0 0; color: #d2e7ed; font-size: 1rem; font-weight: 700; }
.st-course__booking-badge { display: inline-flex; margin: 20px 0 0; padding: 7px 12px; border-radius: 999px; color: var(--st-navy); background: var(--st-turquoise); font-size: .85rem; font-weight: 850; }
.st-course__booking-actions { display: grid; gap: 12px; margin-top: 24px; }
.st-course__booking-actions .st-course__button { width: 100%; }
.st-course__facts, .st-course__section { padding-block: clamp(58px, 8vw, 96px); }
.st-course__section-title { max-width: 850px; margin: 0 0 18px; color: var(--st-navy); font-size: clamp(1.85rem, 4vw, 3.15rem); line-height: 1.12; }
.st-course__intro { max-width: 850px; margin: 0 0 38px; color: var(--st-muted); font-size: 1.1rem; }
.st-course__fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st-course__fact, .st-course__card, .st-course__timeline article { padding: 26px; border: 1px solid #dbe8ea; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(5,43,61,.07); }
.st-course__fact-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 14px; border-radius: 50%; color: var(--st-navy); background: var(--st-turquoise); }
.st-course h3 { margin: 0 0 10px; color: var(--st-navy); font-size: 1.25rem; line-height: 1.25; }
.st-course p { margin-top: 0; }
.st-course__value { margin: 6px 0 12px; color: var(--st-deep); font-size: 1.25rem; font-weight: 850; }
.st-course__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.st-course__cards--included { grid-template-columns: 1fr; }
.st-course__cards--packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-course__cards--packs .st-course__card { border-top: 5px solid var(--st-orange); }
.st-course__cards--packs .st-course__value { color: var(--st-orange); font-size: clamp(1.45rem, 3vw, 2rem); }
.st-course__card ul, .st-course__conditions ul { margin: 18px 0 0; padding-left: 20px; }
.st-course__card-label { margin-bottom: 8px; color: var(--st-turquoise); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.st-course__section--intro, .st-course__section--junior, .st-course__section--training-sites, .st-course__section--other-agencies { background: var(--st-soft); }
.st-course__section--pool { color: #eaf7fa; background: linear-gradient(135deg, var(--st-navy), var(--st-deep)); }
.st-course__section--pool .st-course__section-title, .st-course__section--pool h3 { color: #fff; }
.st-course__section--pool .st-course__intro { color: #d2e7ed; }
.st-course__section--pool .st-course__card { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); box-shadow: none; }
.st-course__timeline { position: relative; display: grid; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.st-course__timeline li { position: relative; padding-left: 68px; counter-increment: steps; }
.st-course__timeline li::before { content: counter(steps); position: absolute; left: 0; top: 18px; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: var(--st-orange); font-weight: 900; }
.st-course__note, .st-course__conditions { margin-top: 28px; padding: 20px 24px; border-left: 5px solid var(--st-turquoise); background: #f7fbfc; color: var(--st-ink); }
.st-course__note-inline { font-weight: 700; }
.st-course__stay-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 38px; align-items: center; margin-bottom: 36px; }
.st-course__stay-heading img { width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(5,43,61,.18); }
.st-course__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.st-course__gallery figure { margin: 0; }
.st-course__gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; }
.st-course__gallery figcaption { margin-top: 8px; color: var(--st-muted); }
.st-course__faq { display: grid; gap: 12px; }
.st-course__faq details { border: 1px solid #dbe8ea; border-radius: 14px; background: #fff; }
.st-course__faq summary { padding: 20px 22px; color: var(--st-navy); font-weight: 800; cursor: pointer; }
.st-course__faq details div { padding: 0 22px 20px; }
.st-course__cta { padding-block: clamp(70px, 10vw, 120px); color: #fff; text-align: center; background: var(--st-navy); }
.st-course__cta .st-course__section-title { margin-inline: auto; color: #fff; }
.st-course__cta .st-course__intro { margin-inline: auto; color: #d2e7ed; }
.st-course__cta .st-course__actions, .st-course__badges--cta { justify-content: center; }

@media (max-width: 800px) {
  .st-course__container { width: min(100% - 28px, 680px); }
  .st-course__hero { min-height: 700px; background-position: 58% center; }
  .st-course__hero-overlay { background: rgba(3,28,45,.72); }
  .st-course__hero-content { grid-template-columns: 1fr; padding-block: 96px 56px; }
  .st-course__booking-card { width: min(100%, 480px); }
  .st-course__fact-grid, .st-course__cards, .st-course__cards--packs, .st-course__stay-heading, .st-course__gallery { grid-template-columns: 1fr; }
  .st-course__timeline li { padding-left: 52px; }
  .st-course__timeline li::before { width: 38px; height: 38px; }
  .st-course__stay-heading img { max-width: 480px; }
}

@media (max-width: 420px) {
  .st-course__actions { display: grid; }
  .st-course__button { width: 100%; }
  .st-course__fact, .st-course__card, .st-course__timeline article { padding: 20px; }
  .st-course__booking-card { padding: 22px 18px; }
}

/* Compact hero experiment. */
.st-course__hero { min-height: min(540px, 62vh); }
.st-course__hero-content { padding-block: 76px 54px; }
@media (max-width: 800px) {
  .st-course__hero { min-height: 540px; }
  .st-course__hero-content { padding-block: 72px 42px; }
}
