@font-face {
  font-family: Figtree;
  src: url("/assets/fonts/figtree-n5.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("/assets/fonts/figtree-n7.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Oswald;
  src: url("/assets/fonts/oswald-n5.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #e6d8c7;
  --ink: #3b2417;
  --accent: #c65a12;
  --brown: #482817;
  --white: #ffffff;
  --dark: #1f1f21;
  --lime: #e3fc02;
  --cyan: #00fced;
  --muted: #f4efe8;
  --border: #c6aa8c;
  --max: 1220px;
  --wide: 1536px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: Figtree, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: Oswald, Figtree, sans-serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: 0;
}

h1 {
  font-size: 48px;
  text-transform: uppercase;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 23px;
}

p {
  margin: 0 0 18px;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--white);
  padding: 10px;
}

.site-header {
  background: var(--base);
  position: sticky;
  top: 0;
  z-index: 10;
}

.announcement-bar {
  min-height: 50px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-bottom: 1px solid rgba(59, 36, 23, 0.1);
  text-align: center;
}

.announcement-bar p {
  margin: 0;
  color: var(--accent);
  font-family: Oswald, Figtree, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  min-height: 142px;
  padding: 26px 28px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 36px;
}

.logo-link {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  width: 128px;
}

.site-nav {
  grid-column: 2;
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  font-size: 15px;
}

.site-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.is-active {
  border-bottom-color: currentColor;
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.chevron {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.icon-link {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

.page-width {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.page-width.narrow,
.narrow {
  max-width: 920px;
}

.section {
  padding: 42px 0;
}

.compact {
  padding: 34px 0;
}

.scheme-base {
  background: var(--base);
}

.scheme-dark {
  background: var(--base);
}

.scheme-light {
  background: var(--white);
}

.scheme-accent,
.scheme-accent.section {
  background: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.split-reverse .media-frame {
  order: 2;
}

.media-frame {
  min-height: 420px;
  background: transparent;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero {
  padding: 42px 0 56px;
}

.page-home .home-hero .page-width {
  max-width: var(--wide);
  padding: 0 28px;
}

.page-home .home-hero .split {
  grid-template-columns: minmax(420px, 0.92fr) minmax(680px, 1.08fr);
  gap: 72px;
  align-items: center;
}

.page-home .home-hero .split-copy {
  max-width: 650px;
  padding: 0 0 0 68px;
}

.page-home .home-hero h1 {
  max-width: 620px;
  font-size: 58px;
}

.page-home .home-hero .split-copy > p {
  max-width: 620px;
  font-size: 17px;
}

.page-home .home-hero .caption {
  margin-top: 4px;
  font-size: 14px;
}

.page-home .home-hero .media-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: 750 / 461;
  align-self: center;
}

.split-copy {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.caption {
  font-size: 14px;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 14px 24px;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
}

.button:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.rich-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.question-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.question-list li {
  margin: 12px 0;
}

.card-grid,
.program-grid,
.pricing-grid,
.gallery-grid {
  display: grid;
  gap: 24px;
}

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

.feature-card,
.blog-card,
.program-card,
.pricing-card,
.conditions,
.contact-form,
.empty-state {
  background: var(--white);
  border: 1px solid rgba(59, 36, 23, 0.22);
  border-radius: 8px;
}

.feature-card {
  padding: 30px;
}

.center {
  text-align: center;
  margin-top: 30px;
}

.image-banner,
.hero-media {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 28px;
}

.page-home .image-banner {
  min-height: min(1080px, 62vw);
  background-position: center 50%;
}

.hero-media.tall {
  min-height: 640px;
  background-position: 48% 14%;
}

.banner-box,
.hero-copy {
  background: var(--base);
  padding: 34px;
  max-width: 560px;
  text-align: center;
}

.hero-copy {
  margin-right: auto;
  margin-left: max(28px, calc((100vw - var(--max)) / 2));
  text-align: left;
}

.blog-card {
  overflow: hidden;
}

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

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

.blog-card a {
  text-decoration: none;
}

.program-card {
  flex: 0 1 calc((100% - 72px) / 4);
  padding: 24px;
  text-decoration: none;
  display: flex;
  gap: 18px;
  min-height: 220px;
}

.program-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.program-card:hover,
.pricing-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease;
}

.program-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 26px;
}

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

.certificate-thumb,
.gallery-card {
  appearance: none;
  border: 0;
  padding: 0;
  background: var(--white);
  text-align: left;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  color: var(--ink);
}

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

.programs-section .page-width,
.certificates-section .page-width {
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, 2vw, 38px);
  padding-right: clamp(24px, 2vw, 38px);
}

.programs-section .program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.programs-section .program-card {
  flex: none;
  min-height: 226px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(59, 36, 23, 0.22);
}

.certificates-section {
  overflow: hidden;
  padding-top: 42px;
  padding-bottom: 38px;
}

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

.certificate-slider {
  position: relative;
}

.certificate-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.certificate-track::-webkit-scrollbar {
  display: none;
}

.certificate-track .certificate-thumb {
  flex: 0 0 clamp(260px, 16.4vw, 330px);
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(59, 36, 23, 0.18);
}

.certificate-track .certificate-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.certificate-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(198, 90, 18, 0.88);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(59, 36, 23, 0.24);
}

.certificate-nav:hover {
  background: var(--brown);
}

.certificate-prev {
  left: 12px;
}

.certificate-next {
  right: 12px;
}

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

.pricing-card {
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card .button {
  width: 100%;
  background: var(--brown);
  border-color: var(--brown);
  margin-top: auto;
}

.pricing-card .button:hover,
.pricing-card .button:focus-visible,
.pricing-card.featured .button {
  background: var(--accent);
  border-color: var(--accent);
}

.pricing-card.featured .button:hover,
.pricing-card.featured .button:focus-visible {
  background: var(--brown);
  border-color: var(--brown);
}

.pricing-card.featured {
  border: 3px solid var(--accent);
  background: var(--muted);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.price {
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin: 10px 0 24px;
  padding-bottom: 24px;
  color: var(--accent);
}

.price strong {
  font-size: 54px;
  line-height: 1;
}

.price small {
  display: block;
  color: var(--ink);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.pricing-card li {
  padding: 9px 0 9px 28px;
  position: relative;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
}

.conditions {
  padding: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--base);
}

th {
  background: var(--base);
}

.article-hero {
  background: var(--base);
  text-align: center;
  padding: 46px 0 0;
}

.article-hero img {
  width: min(1100px, calc(100% - 56px));
  max-height: 560px;
  object-fit: cover;
  margin: 30px auto 0;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
}

.article-content .lead {
  font-size: 19px;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
}

.article-content li {
  margin: 7px 0;
}

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

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

.gallery-card span {
  display: block;
  padding: 16px;
}

.gallery-card small {
  display: block;
  color: #666;
  margin-top: 5px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.88);
  display: grid;
  grid-template-columns: minmax(56px, 1fr) minmax(0, 1200px) minmax(56px, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
  padding: 42px 28px;
  color: var(--white);
}

.gallery-modal[hidden] {
  display: none;
}

.has-open-modal {
  overflow: hidden;
}

.gallery-close {
  position: absolute;
  top: 28px;
  right: max(28px, calc((100vw - 1200px) / 2));
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.gallery-stage {
  grid-column: 2;
  margin: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.gallery-stage img {
  width: 100%;
  max-height: min(72vh, 740px);
  object-fit: contain;
  background: #000;
  border-radius: 6px;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.gallery-prev {
  grid-column: 1;
}

.gallery-next {
  grid-column: 3;
}

.gallery-dots {
  min-height: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: var(--white);
}

.gallery-counter {
  margin: -4px 0 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.gallery-modal-caption {
  text-align: center;
}

.gallery-modal-caption h2 {
  margin-bottom: 10px;
  color: var(--accent);
}

.gallery-modal-caption p {
  margin: 0;
  font-weight: 700;
}

.testimonials-section {
  background: var(--white);
  padding: 46px 0 40px;
}

.testimonial-viewport {
  min-height: 220px;
}

.testimonial-card {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(59, 36, 23, 0.08);
  box-shadow: 0 12px 34px rgba(59, 36, 23, 0.08);
  border-radius: 6px;
  padding: 34px;
}

.testimonial-stars {
  color: #f7a900;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.testimonial-card blockquote {
  margin: 0 0 24px;
  color: #3f3b37;
  font-size: 17px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-person img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong,
.testimonial-person small {
  display: block;
}

.testimonial-person small {
  margin-top: 4px;
  color: #5f5650;
}

.testimonial-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.testimonial-controls > button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfcfcf;
  cursor: pointer;
}

.testimonial-dots button.is-active {
  background: var(--dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.order-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.order-copy {
  position: sticky;
  top: 210px;
}

.package-summary {
  background: var(--base);
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: 24px;
}

.package-summary strong,
.package-summary span {
  display: block;
}

.package-summary strong {
  font-family: Oswald, Figtree, sans-serif;
  font-size: 28px;
  line-height: 1.1;
}

.package-summary span {
  margin: 12px 0;
  color: var(--accent);
  font-size: 34px;
  font-weight: 700;
}

.order-form {
  width: 100%;
}

.contact-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 13px 12px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.order-extra-options {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  background: var(--muted);
}

.order-extra-options legend {
  padding: 0 8px;
  font-weight: 700;
}

.field-help {
  margin: -6px 0 0;
  color: #735844;
  font-size: 14px;
}

.extra-summary {
  border-top: 1px solid rgba(59, 36, 23, 0.14);
  padding-top: 12px;
}

.extra-summary strong,
.extra-summary p {
  display: block;
  margin: 0;
}

.extra-summary p {
  color: #735844;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
}

.form-status[data-state="success"],
.form-status[data-state="error"] {
  border-radius: 4px;
  padding: 14px 16px;
  font-weight: 700;
}

.form-status[data-state="success"] {
  border: 1px solid #78a96d;
  border-left: 5px solid #2f7d32;
  background: #edf8eb;
  color: #1f5f24;
}

.form-status[data-state="error"] {
  border: 1px solid rgba(143, 31, 21, 0.35);
  border-left: 5px solid #8f1f15;
  background: #fff3ef;
  color: #7b1f16;
}

.form-success {
  border: 1px solid rgba(198, 90, 18, 0.35);
  border-left: 5px solid var(--accent);
  background: var(--muted);
  padding: 18px;
}

.form-success strong,
.form-success span,
.form-success small {
  display: block;
}

.form-success strong {
  font-family: Oswald, Figtree, sans-serif;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
}

.form-success span {
  margin-top: 8px;
}

.form-success small {
  margin-top: 10px;
  color: #735844;
  font-weight: 700;
}

.empty-state {
  padding: 46px;
  text-align: center;
}

.search-page {
  max-width: 860px;
  margin: 0 auto;
}

.search-box {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  font-weight: 700;
}

.search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-item {
  background: var(--white);
  border-bottom: 1px solid var(--base);
  padding: 18px 0;
}

.search-item a {
  font-family: Oswald, Figtree, sans-serif;
  font-size: 22px;
  text-decoration: none;
}

.site-footer {
  background: var(--base);
  border-top: 1px solid var(--base);
  padding: 30px 0 14px;
}

.footer-inner,
.footer-bottom {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 28px;
}

.footer-inner {
  display: block;
  text-align: center;
}

.footer-links-section h2 {
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-links a {
  text-decoration: none;
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 24px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .program-card {
    flex-basis: calc((100% - 48px) / 3);
  }

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

@media (max-width: 980px) {
  h1 {
    font-size: 38px;
  }

  .announcement-bar {
    min-height: 42px;
  }

  .announcement-bar p {
    font-size: 16px;
  }

  .header-inner {
    min-height: 96px;
    grid-template-columns: auto 1fr auto;
    column-gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo-link img {
    width: 86px;
  }

  .header-actions {
    grid-column: 2;
    gap: 14px;
    justify-self: end;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--base);
    border-top: 1px solid rgba(59, 36, 23, 0.22);
    padding: 10px 28px 22px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .split,
  .contact-layout,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .page-home .image-banner {
    min-height: clamp(620px, 86vw, 860px);
  }

  .order-copy {
    position: static;
  }

  .page-home .home-hero .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-home .home-hero .split-copy {
    max-width: none;
    padding: 0;
  }

  .page-home .home-hero h1 {
    font-size: 42px;
  }

  .split-reverse .media-frame {
    order: 0;
  }

  .card-grid.three,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    flex-basis: 100%;
  }

  .programs-section .program-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .header-inner,
  .page-width,
  .footer-inner,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .announcement-bar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-link {
    font-size: 14px;
  }

  .icon-link {
    width: 22px;
    height: 22px;
  }

  .icon-link svg {
    width: 20px;
    height: 20px;
  }

  .split-copy,
  .banner-box,
  .hero-copy,
  .empty-state,
  .conditions,
  .contact-form {
    padding: 24px;
  }

  .media-frame {
    min-height: 310px;
  }

  .programs-section .page-width,
  .certificates-section .page-width {
    padding-left: 18px;
    padding-right: 18px;
  }

  .programs-section .program-card {
    padding: 24px;
  }

  .certificate-track .certificate-thumb {
    flex-basis: min(78vw, 300px);
  }

  .certificate-nav {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .hero-media,
  .image-banner {
    min-height: 430px;
    justify-content: stretch;
  }

  .page-home .image-banner {
    min-height: min(720px, 125vw);
    background-position: center center;
  }

  .hero-copy {
    margin: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    gap: 10px 18px;
  }

  .gallery-modal {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 58px 12px 26px;
  }

  .gallery-close {
    top: 16px;
    right: 18px;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .gallery-stage img {
    max-height: 58vh;
  }

  .gallery-modal-caption h2 {
    font-size: 24px;
  }

  .testimonials-section {
    padding: 34px 0;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-controls > button {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}
