:root {
  color-scheme: light;
  --bg: #f4f3e9;
  --surface: #ffffff;
  --primary: #8d9770;
  --primary-dark: #252824;
  --accent: #f9ad19;
  --text: #151817;
  --muted: #686b61;
  --border: #d5d7c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 243, 233, 0.94);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
  position: relative;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.language-button {
  display: grid;
  width: 40px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.language-button:hover,
.language-button:focus-visible {
  background: rgba(249, 173, 25, 0.14);
  outline: none;
  transform: scale(1.04);
}

.language-button.is-active {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(37, 40, 36, 0.12);
}

.language-code {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% - 0.25rem);
  right: 0;
  width: min(280px, calc(100vw - 2rem));
  flex-direction: column;
  gap: 0;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0.8rem;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:active {
  color: var(--accent);
  background: rgba(249, 173, 25, 0.14);
  text-shadow: 0 0 10px rgba(249, 173, 25, 0.45);
}

.menu-toggle {
  display: block;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse at 86% 20%, rgba(249, 173, 25, 0.16), transparent 34rem),
    linear-gradient(120deg, #eeefe4, #f8f6ec 58%, #e6e8dc);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-copy-block {
  max-width: 820px;
  margin: 0;
  text-align: center;
}

.hero-flyer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
}

.hero-flyer-button {
  width: min(calc(50% - 0.5rem), 180px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  box-shadow: 0 24px 55px rgba(37, 40, 36, 0.2);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-flyer-button:hover,
.hero-flyer-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  transform: scale(1.02);
}

.hero-flyer-button img {
  width: 100%;
  max-height: min(70vh, 680px);
  object-fit: contain;
  border-radius: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(141, 151, 112, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero h1 {
  max-width: 12ch;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 5.2vw, 4.65rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-copy,
.hero-supporting-copy {
  max-width: 58ch;
  margin-right: auto;
  margin-left: auto;
  color: #555b50;
  font-size: 1rem;
}

.hero-copy {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.hero-supporting-copy {
  margin-top: 0;
  font-size: 0.94rem;
  line-height: 1.75;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-points li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.hero .button.primary {
  margin-top: 1.6rem;
  padding: 0.95rem 1.45rem;
  box-shadow: 0 12px 26px rgba(37, 40, 36, 0.2);
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.hero-copy {
  font-size: 1rem;
  max-width: 55ch;
  color: var(--muted);
}

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.button.primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 173, 25, 0.22);
  margin-top: 1rem;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent);
  color: var(--primary-dark);
}

.hero-card,
.info-card,
.card,
.training-form,
.site-footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.hero-card {
  padding: 1.3rem;
}

.section {
  padding: 4rem 0;
}

.section > .container {
  text-align: center;
}

.alt-bg {
  background: rgba(141, 151, 112, 0.10);
}

.section-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.section-grid > .gallery-grid {
  grid-column: auto;
}

.about-copy {
  max-width: 68ch;
}

.about-copy h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -0.04em;
}

.about-copy p:not(.eyebrow) {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.about-copy .about-intro {
  color: var(--primary-dark) !important;
  font-size: 1.08rem !important;
  font-weight: 600;
  line-height: 1.7 !important;
}

.about-quote {
  position: relative;
  margin: 1.6rem 0 0;
  padding: 1rem 1.2rem 1rem 1.4rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(141, 151, 112, 0.12);
  color: var(--primary-dark);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.6;
}

.about-gallery {
  min-height: 390px;
  border-radius: 1.5rem;
}

.about-gallery .gallery-item-main {
  width: calc(100% - 3.5rem);
  height: 390px;
  border-radius: 1.5rem;
}

.about-gallery .gallery-arrow-prev {
  left: 0.25rem;
}

.about-gallery .gallery-arrow-next {
  right: 0.25rem;
}

.about-gallery .gallery-arrow {
  width: 40px;
  height: 40px;
}

.about-gallery .gallery-arrow svg {
  width: 20px;
  height: 20px;
}

.about-gallery .gallery-dots {
  bottom: 0.6rem;
}

.info-card {
  padding: 1.3rem;
}

.cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.material-card {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.material-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.material-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.training-form {
  padding: 1.4rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox-grid label,
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
}

.checkbox-grid input {
  width: 1rem;
  height: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(249, 173, 25, 0.22);
  border-color: var(--accent);
}

input[aria-invalid="true"] {
  border-color: #a33a3a;
}

input[aria-invalid="false"] {
  border-color: var(--primary);
  background: rgba(141, 151, 112, 0.08);
  box-shadow: 0 0 0 3px rgba(141, 151, 112, 0.10);
}

.field-status,
.field-status.is-valid,
.field-status.is-invalid,
.form-message {
  display: none;
}

.gallery-grid {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  --drag-x: 0px;
}

.gallery-grid[hidden] {
  display: none;
}

.gallery-grid.gallery-dragging {
  cursor: grabbing;
}

.gallery-item-main {
  width: min(920px, calc(100% - 8rem));
  height: 430px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(37, 40, 36, 0.16);
  transform: translateX(var(--drag-x));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}

.gallery-grid.gallery-dragging .gallery-item-main {
  transition: none;
  opacity: 0.92;
}

.gallery-item-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 4rem 1rem 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.gallery-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.94);
}

.gallery-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(37, 40, 36, 0.8);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.gallery-item-main.gallery-leave-next {
  animation: galleryLeaveLeft 260ms ease forwards;
}

.gallery-item-main.gallery-leave-prev {
  animation: galleryLeaveRight 260ms ease forwards;
}

.gallery-item-main.gallery-enter {
  animation: galleryEnterFromRight 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item-main.gallery-enter-prev {
  animation: galleryEnterFromLeft 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes galleryLeaveLeft {
  to { transform: translateX(-110%) scale(0.94); opacity: 0; }
}

@keyframes galleryLeaveRight {
  to { transform: translateX(110%) scale(0.94); opacity: 0; }
}

@keyframes galleryEnterFromRight {
  from { transform: translateX(110%) scale(0.94); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes galleryEnterFromLeft {
  from { transform: translateX(-110%) scale(0.94); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.gallery-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.gallery-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(37, 40, 36, 0.78);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 40, 36, 0.24);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  cursor: pointer;
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-arrow-prev {
  left: max(0.75rem, calc((100% - min(920px, calc(100% - 8rem))) / 2 - 58px));
}

.gallery-arrow-next {
  right: max(0.75rem, calc((100% - min(920px, calc(100% - 8rem))) / 2 - 58px));
}

.gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  border-color: var(--accent);
  background: var(--primary-dark);
  color: var(--accent);
  box-shadow: 0 10px 28px rgba(37, 40, 36, 0.34), 0 0 0 4px rgba(249, 173, 25, 0.16);
  transform: translateY(-50%) scale(1.08);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.site-footer {
  margin: 0;
  padding: 3rem 0 1.25rem;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: linear-gradient(135deg, var(--primary-dark), #30342e);
  color: #f7f5ed;
  box-shadow: none;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: start;
}

.footer-content h2,
.footer-content h3 {
  color: var(--accent);
}

.footer-content h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-contact a,
.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-contact a span {
  overflow-wrap: anywhere;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent);
}

@media (min-width: 861px) {
  .footer-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}

.footer-icon-facebook,
.footer-icon-dot {
  fill: currentColor;
  stroke: none;
}

.footer-icon-play {
  fill: currentColor;
  stroke: none;
}

.footer-content a {
  color: #f7f5ed;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-content a:hover,
.footer-content a:focus-visible {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d8dacd;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.plan-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

.plan-card {
  position: relative;
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.9rem;
  border: 2px solid var(--border);
  border-radius: 0.9rem;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(249, 173, 25, 0.14);
}

.plan-card.is-coming-soon {
  cursor: not-allowed;
}

.plan-card.is-coming-soon > :not(.plan-status) {
  filter: grayscale(1);
  opacity: 0.48;
}

.plan-card.is-coming-soon:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.plan-card.is-coming-soon:hover .plan-icon {
  transform: none;
}

.plan-status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(37, 40, 36, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.plan-card:has(input:checked) {
  grid-column: auto;
  border-color: var(--accent);
  background: rgba(249, 173, 25, 0.10);
  box-shadow: 0 8px 20px rgba(249, 173, 25, 0.18);
}

.plan-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.plan-icon {
  grid-row: 1 / 4;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.22s ease;
}

.plan-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
}

.plan-card:hover .plan-icon,
.plan-card:has(input:checked) .plan-icon {
  transform: scale(1.06);
  box-shadow: none;
}

.plan-description {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
}

.plan-card strong,
.plan-name {
  text-align: left;
}

.plan-card strong {
  align-self: end;
  font-size: 0.78rem;
  color: var(--muted);
}

.plan-name {
  align-self: start;
  font-size: 1.02rem;
  font-weight: 700;
}

.plan-check {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.78rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.plan-card:has(input:checked) .plan-check {
  opacity: 1;
  transform: scale(1);
}

.plan-details {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  width: 100%;
  border-top: 1px solid transparent;
  font-size: 0.78rem;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease, border-color 0.25s ease;
}

.plan-details strong {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.plan-details ul {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 2rem;
}

.plan-details li {
  margin: 0.18rem 0;
}

.plan-card:has(input:checked) {
  grid-column: 1 / -1;
}

.plan-card:has(input:checked) .plan-details {
  max-height: 520px;
  padding-top: 0.65rem;
  margin-top: 0.25rem;
  opacity: 1;
  border-top-color: var(--border);
}

@media (max-width: 860px) {
  .nav-bar {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% - 0.25rem);
    right: 0;
    width: min(280px, calc(100vw - 2rem));
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--surface);
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.8rem;
    border-radius: 0.5rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(47, 107, 61, 0.08);
  }

  .hero-content,
  .section-grid,
  .cards,
  .checkbox-grid,
  .form-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-copy-block {
    margin: 0 auto;
    text-align: center;
  }

  .hero h1,
  .hero-copy,
  .hero-supporting-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-points {
    justify-content: center;
  }

  .about-gallery {
    width: min(100%, 620px);
    justify-self: center;
  }

  .plan-grid {
    display: flex;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-controls {
    gap: 0.35rem;
  }

  .brand {
    max-width: 155px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .language-switcher {
    gap: 0.15rem;
  }

  .language-button {
    width: 36px;
  }

  .site-nav {
    gap: 0.4rem 0.7rem;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
  }

  .section {
    padding: 3rem 0;
  }

  .about-gallery {
    min-height: 330px;
  }

  .about-gallery .gallery-item-main {
    height: 330px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 96px;
  }

  .gallery-grid {
    min-height: 330px;
  }

  .gallery-item-main {
    width: calc(100% - 2rem);
    height: 330px;
  }

  .plan-details ul {
    columns: 1;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo {
  width: 76px;
  height: 76px;
  padding: 0.2rem;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(249, 173, 25, 0.3);
}

.footer-brand h2 {
  margin: 0 0 0.35rem;
}

.footer-brand p {
  max-width: 230px;
  margin: 0;
  color: #d8dacd;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item-main,
  .gallery-item-main.is-falling,
  .gallery-item-main.is-rising,
  .gallery-enter-top,
  .gallery-enter-bottom {
    animation: none;
  }
}
