:root {
  --ink: #1d1b18;
  --muted: #6e675c;
  --paper: #fffaf0;
  --sand: #ead7ad;
  --gold: #d8b66f;
  --sea: #2e8f95;
  --sea-dark: #1e686d;
  --coral: #cf735e;
  --leaf: #778d61;
  --white: #ffffff;
  --line: rgba(29, 27, 24, 0.13);
  --shadow: 0 24px 70px rgba(29, 27, 24, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(21, 49, 51, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 214px;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 5px 10px rgba(29, 27, 24, 0.12));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(21, 49, 51, 0.76);
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover {
  background: rgba(30, 138, 150, 0.1);
  color: var(--sea-dark);
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.socials a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.socials a:hover {
  border-color: rgba(216, 182, 111, 0.78);
  background: var(--gold);
}

.header-phone {
  min-width: max-content;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.mobile-header-phone {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-toggle span + span {
  margin-top: 5px;
}

.mobile-menu {
  position: fixed;
  z-index: 19;
  top: 84px;
  right: 10px;
  left: 10px;
  display: none;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: grid;
  gap: 8px;
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 900;
}

.mobile-menu-contacts {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.mobile-menu-contacts a {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.mobile-menu-socials {
  margin-top: 18px;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 142px max(24px, calc((100vw - 1180px) / 2)) 34px;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(29, 27, 24, 0.82) 0%, rgba(29, 27, 24, 0.54) 44%, rgba(29, 27, 24, 0.08) 100%),
    linear-gradient(180deg, rgba(29, 27, 24, 0.14) 0%, rgba(29, 27, 24, 0.72) 100%);
}

.hero-content {
  width: min(680px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1d69b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 3vw, 24px);
}

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

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.btn.primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(216, 182, 111, 0.34);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn.outline {
  border: 1px solid var(--line);
  background: var(--white);
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(790px, 100%);
  gap: 12px;
  margin-top: 54px;
  color: var(--white);
}

.quick-panel div {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 182, 111, 0.48), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.68));
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.quick-panel div::before,
.quick-panel div::after {
  position: absolute;
  right: -18px;
  bottom: 16px;
  width: 118px;
  height: 28px;
  border-top: 5px solid rgba(29, 27, 24, 0.16);
  border-radius: 50%;
  content: "";
}

.quick-panel div::after {
  bottom: -2px;
  right: 12px;
  width: 92px;
  border-top-color: rgba(216, 182, 111, 0.42);
}

.quick-panel span,
.quick-panel small,
.quick-panel em {
  display: block;
  position: relative;
  z-index: 1;
}

.quick-panel span {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.quick-panel small {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 182, 111, 0.24);
  color: rgba(29, 27, 24, 0.76);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-panel em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.section {
  padding: 94px max(24px, calc((100vw - 1180px) / 2));
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-copy.centered {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-grid article,
.program-card,
.lead-form,
.schedule-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-grid article {
  padding: 28px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(216, 182, 111, 0.18);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.intro-grid p,
.program-card p,
.space-copy li,
.schedule-card p,
.lead-form p {
  color: var(--muted);
}

.programs {
  background: #f3e7cc;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.program-card {
  overflow: hidden;
}

.program-card.program-age {
  min-height: 250px;
  padding: 28px;
}

.program-card.program-age small {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(216, 182, 111, 0.22);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.program-card.program-age h3 {
  margin-bottom: 16px;
}

.program-card img {
  aspect-ratio: 1.36 / 1;
  object-fit: cover;
}

.program-card div {
  padding: 24px;
}

.program-card.accent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--ink);
  color: var(--white);
}

.program-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-flex;
  width: max-content;
  margin-top: 24px;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.space {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 48px;
  align-items: center;
}

.space-slider {
  position: relative;
}

.space-slides {
  position: relative;
  aspect-ratio: 1.05 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.space-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 520ms ease;
}

.space-slides img.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.86);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

.slider-dots {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

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

.slider-dots button.active {
  width: 26px;
  border-radius: 999px;
  background: var(--gold);
}

.space-copy {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 17px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  content: "✓";
  font-size: 14px;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.rhythm {
  background: var(--ink);
  color: var(--white);
}

.rhythm .eyebrow {
  color: #f1d69b;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.timeline div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline time {
  display: block;
  margin-bottom: 30px;
  color: #f1d69b;
  font-size: 22px;
  font-weight: 950;
}

.timeline span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 650;
}

.schedule-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 46px;
  padding: 42px;
}

.news {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 16px;
}

.news-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.news-card.feature {
  background:
    radial-gradient(circle at 92% 16%, rgba(216, 182, 111, 0.36), transparent 31%),
    var(--ink);
  color: var(--white);
}

.news-card small {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(216, 182, 111, 0.18);
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.news-card.feature small {
  background: rgba(216, 182, 111, 0.22);
  color: #f1d69b;
}

.news-card p {
  color: var(--muted);
}

.news-card.feature p {
  color: rgba(255, 255, 255, 0.75);
}

.news-page {
  background: var(--paper);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
  padding-top: 150px;
  background:
    radial-gradient(circle at 14% 12%, rgba(216, 182, 111, 0.24), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #f3e7cc 100%);
}

.article-copy h1 {
  color: var(--ink);
  font-size: clamp(42px, 7vw, 78px);
}

.article-title-fit {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.article-lead {
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

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

.article-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.article-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  max-height: 680px;
  object-fit: cover;
}

.article-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-card small,
.detail-card strong {
  display: block;
}

.detail-card small {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-card strong {
  font-size: 22px;
  line-height: 1.12;
}

.article-body {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  background: var(--white);
}

.article-gallery {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
  background: #f4ead4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-text {
  max-width: 680px;
}

.article-text p {
  color: var(--muted);
  font-size: 19px;
}

.article-text strong {
  color: var(--ink);
}

.inline-lead-form {
  display: grid;
  gap: 14px;
  max-width: 440px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.inline-lead-form h3 {
  margin-bottom: 4px;
}

.inline-lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.inline-lead-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.inline-lead-form .btn {
  width: 100%;
}

.success-page {
  display: grid;
  min-height: 100svh;
  align-content: center;
  justify-items: start;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 182, 111, 0.3), transparent 32%),
    var(--paper);
}

.success-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.success-page h1 {
  max-width: 760px;
  color: var(--ink);
}

.hours {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hours dt,
.hours dd {
  margin: 0;
}

.hours dt {
  color: var(--muted);
}

.hours dd {
  min-width: max-content;
  font-weight: 900;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 46px;
  align-items: start;
  background: #f4ead4;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-size: 22px;
  font-weight: 900;
}

.contact-list span {
  color: var(--muted);
  font-weight: 750;
}

.contact-socials {
  margin-top: 24px;
}

.contact-socials a {
  width: 48px;
  height: 48px;
  background: var(--white);
  font-size: 13px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.hidden-field {
  display: none;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fbfbf8;
  color: var(--ink);
  font: inherit;
}

.lead-form .btn {
  width: 100%;
  margin-top: 6px;
}

.lead-form p {
  margin: 0;
  font-size: 12px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer a {
  color: var(--white);
  font-weight: 900;
}

.footer-hours {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.footer-socials a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.footer-socials a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav {
    display: none;
  }

  .header-socials {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-header-phone {
    display: grid;
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 900px;
    padding-top: 128px;
  }

  .section-copy,
  .space,
  .schedule-card,
  .contacts,
  .article-hero,
  .article-body,
  .article-gallery {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .program-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .article-details {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 8px;
    border-radius: 18px;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 132px;
    font-size: 14px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding: 112px 18px 22px;
  }

  .article-hero {
    padding-top: 124px;
  }

  .article-title-fit {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 0.98;
  }

  .article-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-video video {
    aspect-ratio: 4 / 5;
    max-height: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(29, 27, 24, 0.3) 0%, rgba(29, 27, 24, 0.76) 52%, rgba(29, 27, 24, 0.92) 100%);
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    padding-inline: 16px;
  }

  .quick-panel {
    grid-template-columns: 1fr;
    margin-top: 34px;
    border-radius: 8px;
  }

  .quick-panel div {
    min-height: 104px;
    padding: 18px;
  }

  .quick-panel span {
    font-size: 22px;
  }

  .section {
    padding: 64px 18px;
  }

  .section-copy {
    gap: 14px;
    margin-bottom: 24px;
  }

  .intro-grid article,
  .lead-form,
  .schedule-card {
    padding: 22px;
  }

  .program-card div,
  .program-card.accent {
    padding: 22px;
  }

  .space {
    gap: 28px;
  }

  .space-slides {
    aspect-ratio: 4 / 5;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline div {
    min-height: auto;
  }

  .timeline time {
    margin-bottom: 12px;
  }

  .hours div {
    align-items: flex-start;
    gap: 14px;
  }

  .hours dd {
    text-align: right;
  }

  .contact-list {
    font-size: 20px;
  }

  .footer {
    display: grid;
    padding: 24px 18px;
  }

  .footer-socials {
    order: 3;
  }

}
