:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8f7f3;
  color: #212121;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #ece7e0;
  box-shadow: 0 10px 30px rgba(31, 31, 31, 0.04);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
  color: #111111;
  font-size: 1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand img {
  display: block;
  width: min(258px, 58vw);
  height: auto;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  padding: 0.25rem;
  border: 1px solid #efe4ef;
  border-radius: 999px;
  background: #fbf7fb;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: #4f4a54;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #ffffff;
  color: #7b3f98;
  box-shadow: inset 0 0 0 2px #7b3f98, 0 10px 24px rgba(123, 63, 152, 0.12);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: #7b3f98;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(123, 63, 152, 0.22);
}

.site-nav a:active,
.button:active,
.contact-form button:active {
  transform: translateY(0) scale(0.98);
}

.site-nav a:focus-visible,
.button:focus-visible,
.contact-form button:focus-visible {
  outline: 3px solid rgba(255, 126, 95, 0.45);
  outline-offset: 3px;
}

.hero-section {
  min-height: 82vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffe4d0 0%, #f1d7ff 100%);
  padding: 64px 0;
}

.hero-content {
  text-align: center;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: #7b3f98;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0;
  line-height: 1.05;
  color: #1f1f1f;
}

.hero-content p {
  margin: 1.5rem auto 2rem;
  max-width: 680px;
  color: #3d3d3d;
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7b3f98 0%, #b04d78 100%);
  color: white;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(123, 63, 152, 0.18);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #ffffff;
  color: #7b3f98;
  box-shadow: inset 0 0 0 2px #7b3f98, 0 18px 36px rgba(123, 63, 152, 0.18);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.info-section,
.classes-section,
.contact-section {
  padding: 72px 0;
  scroll-margin-top: 96px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.1rem;
  margin: 0;
}

.section-header p {
  margin: 1rem 0 0;
  color: #555555;
}

.info-grid,
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-card,
.class-card {
  background: #ffffff;
  border: 1px solid #ece7e0;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(31, 31, 31, 0.06);
}

.info-card h3,
.class-card h3 {
  margin-top: 0;
}

.contact-section {
  background: #fff8f0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0;
}

.contact-note {
  margin-top: 1rem;
  color: #6d4f71;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(49, 34, 67, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: #2f2f2f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9d0db;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: #fcfcfc;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(135deg, #7b3f98 0%, #b04d78 100%);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(123, 63, 152, 0.24);
  filter: saturate(1.08);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 600;
}

.form-status.is-success {
  color: #2f7d4f;
}

.form-status.is-error {
  color: #b33a3a;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #ece7e0;
}

.footer-inner p {
  margin: 0;
  color: #5f5f5f;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .site-nav a {
    flex: 1 1 auto;
    min-width: 76px;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }
}
