:root {
  --bg: #f6efe4;
  --bg-strong: #eadac2;
  --surface: rgba(255, 250, 243, 0.78);
  --surface-strong: #fffaf2;
  --ink: #1f1a17;
  --muted: #5f5248;
  --accent: #c45a2f;
  --accent-dark: #8c3414;
  --accent-soft: rgba(196, 90, 47, 0.14);
  --line: rgba(31, 26, 23, 0.12);
  --shadow: 0 24px 70px rgba(60, 31, 16, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at bottom right, rgba(196, 90, 47, 0.18), transparent 28%),
    linear-gradient(135deg, #f8f1e6 0%, #f2e0c9 52%, #e8d0b7 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(196, 90, 47, 0.45);
  outline-offset: 3px;
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 239, 228, 0.72);
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand__eyebrow,
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.brand__name,
.hero__title,
.section-title,
.card-title,
.quote {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}

.brand__name {
  font-size: 2rem;
  line-height: 0.9;
}

.brand__tag {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff7ed;
  transform: translateY(-1px);
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding-top: 3rem;
}

.hero__content,
.panel,
.card,
.quote-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero__content {
  padding: 2.4rem;
  border-radius: var(--radius-xl);
  animation: rise 0.7s ease both;
}

.hero__title {
  margin: 0.3rem 0 1rem;
  font-size: clamp(3.8rem, 10vw, 7.4rem);
  line-height: 0.9;
}

.hero__lede,
.section-copy,
.card-copy,
.list,
.stat__label,
.cta-copy,
.footer-note {
  color: var(--muted);
}

.hero__lede {
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  appearance: none;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--ink);
  color: #fff7ed;
}

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

.hero__media {
  position: relative;
  min-height: 34rem;
  animation: rise 0.85s ease both;
}

.hero__photo-main,
.hero__photo-accent {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero__photo-main {
  inset: 0 4rem 4rem 0;
  transform: rotate(-3deg);
}

.hero__photo-accent {
  width: 42%;
  right: 0;
  bottom: 0;
  transform: rotate(6deg);
}

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

.hero__badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: rgba(31, 26, 23, 0.86);
  color: #fff7ed;
  max-width: 15rem;
}

.hero__badge strong,
.stat__value {
  display: block;
  font-size: 1.05rem;
}

.grid-3,
.grid-2,
.logo-grid,
.info-grid,
.offer-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

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

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.section-title {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.card,
.panel,
.quote-panel {
  border-radius: var(--radius-lg);
}

.card {
  padding: 1.4rem;
}

.card--image {
  padding: 0;
  overflow: hidden;
}

.card--image img,
.card--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--video {
  overflow: hidden;
}

.card__body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.card-title {
  margin: 0 0 0.65rem;
  font-size: 2rem;
  line-height: 0.95;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.stat__value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.logo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(31, 26, 23, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 90, 47, 0.38);
}

.logo-card img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 12px;
}

.logo-card span {
  font-weight: 700;
}

.quote-panel {
  padding: 2rem;
}

.quote {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.95;
}

.panel {
  padding: 2rem;
}

.info-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-chip,
.footer-links a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(31, 26, 23, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 90, 47, 0.35);
}

.social-link img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 14px;
}

.social-link strong {
  display: block;
}

.social-link span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lesson-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
}

.lesson-card {
  padding: 1.8rem;
}

.lesson-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.lesson-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.lesson-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 26, 23, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.site-footer {
  padding: 0 0 2.2rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 26, 23, 0.1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .grid-2,
  .info-grid,
  .lesson-layout {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

  .hero__media {
    min-height: 28rem;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav,
  .logo-grid,
  .offer-grid,
  .grid-3,
  .social-links {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
    width: 100%;
  }

  .nav a {
    text-align: center;
  }

  .hero__content,
  .panel,
  .quote-panel,
  .lesson-card {
    padding: 1.5rem;
  }

  .hero__media {
    min-height: 23rem;
  }

  .hero__photo-main {
    inset: 0 1.5rem 3.5rem 0;
  }

  .hero__photo-accent {
    width: 46%;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
