:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --ink: #171614;
  --muted: #625b53;
  --line: #dcd3c5;
  --red: #c7161d;
  --red-dark: #9e1018;
  --white: #fff;
  --radius: 6px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fffdf9; color: var(--ink); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #bd6a14; outline-offset: 5px; }
section[id] { scroll-margin-top: 20px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.1vw, 6.1rem); font-weight: 800; }
h2 { font-size: clamp(2.35rem, 4.25vw, 4.2rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.4rem); }
p { text-wrap: pretty; }
.wrap { width: min(1200px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-150%); background: var(--white); z-index: 2; padding: 12px; }
.skip:focus { transform: translateY(0); }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 84px; }
.brand { display: block; flex: 0 0 206px; }
.brand img { width: 100%; height: auto; }
nav { display: flex; gap: clamp(16px, 3vw, 42px); }
nav a, .footer a { font-weight: 650; text-decoration: none; }
.header nav a { font-size: 1.25rem; line-height: 1.25; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; min-height: 52px; padding: 12px 22px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius); background: var(--red); color: white; font-weight: 750; text-align: center; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { background: var(--red-dark); }
.button.small { min-height: 44px; padding: 8px 18px; }
.hero { background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.23fr 1fr; min-height: 635px; gap: clamp(30px, 5vw, 78px); align-items: center; padding-block: 47px; }
.kicker { color: var(--red); font-size: .875rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { margin: 17px 0 25px; }
.hero em { display: block; color: var(--red); font-style: normal; }
.intro { font-size: clamp(1.08rem, 1.6vw, 1.28rem); max-width: 49ch; color: #484138; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 700; }
.text-link:hover { color: var(--red-dark); }
.hero-image, .practice-image { position: relative; border-radius: var(--radius); overflow: hidden; background: #c3b4a1; }
.hero-image img { width: 100%; height: clamp(440px, 44vw, 545px); object-fit: cover; object-position: 50% 54%; }
figcaption { position: absolute; inset: auto 0 0; padding: 33px 16px 12px; background: linear-gradient(transparent, #13100dd9); color: var(--white); font-size: .875rem; font-weight: 650; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.section h2 { margin-bottom: 30px; }
.featured { display: grid; grid-template-columns: 1.85fr 1fr; align-items: center; gap: 32px; padding: clamp(23px, 4vw, 48px); border: 1px solid #e8c1b9; border-radius: var(--radius); background: #fcf0e9; }
.featured h3 { margin-block: 10px 14px; font-size: clamp(2.15rem, 3.75vw, 3.7rem); }
.featured h3 + p { max-width: 59ch; color: var(--muted); }
.featured-price { border-left: 1px solid #e8c1b9; padding-left: clamp(24px, 4vw, 48px); }
.price { font-size: clamp(1.8rem, 3vw, 2.75rem); color: var(--ink); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.featured-price .price { color: var(--red-dark); }
.duration { margin-top: 7px; color: var(--muted); font-weight: 600; }
.featured-price .button { margin-top: 17px; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.7vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card h3 { margin: 7px 0 12px; }
.card > p:not(.kicker) { color: var(--muted); }
.materials { margin: 13px 0 0; padding-left: 20px; }
.materials li::marker { color: var(--red); }
.card footer { margin-top: auto; padding-top: 25px; }
.rental { display: grid; grid-template-columns: minmax(175px, 28%) 1fr; align-items: center; gap: clamp(22px, 4vw, 44px); margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rental img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 55%; }
.rental div { padding: 20px 28px 20px 0; }
.rental p { max-width: 70ch; color: var(--muted); margin-block: 10px 12px; }
.practice { background: #24211e; color: #fff9f1; }
.practice-grid { display: grid; grid-template-columns: 1.32fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.practice h2 { margin-bottom: 18px; }
.section-lead { color: #e2d4c6; font-size: 1.16rem; }
.steps { margin-top: 24px; }
.steps div { padding: 14px 0; border-top: 1px solid #62584e; }
.steps dt { font-weight: 750; margin-bottom: 4px; }
.steps dd { color: #e2d4c6; }
.practice-image img { width: 100%; height: clamp(460px, 45vw, 570px); object-fit: cover; object-position: center; }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.audience-grid article { padding-top: 17px; border-top: 2px solid var(--red); }
.audience-grid h3, .teachers h3 { margin-bottom: 9px; font-size: clamp(1.22rem, 2vw, 1.75rem); }
.audience-grid p, .teachers p { color: var(--muted); }
.teachers { display: grid; grid-template-columns: 1fr minmax(155px, 240px); gap: 24px; align-items: center; margin-top: 34px; padding: 22px clamp(22px, 3vw, 38px); border-radius: var(--radius); background: var(--paper); }
.teachers img { width: 100%; height: auto; border-radius: 3px; }
.teachers a { display: block; }
.contact { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(45px, 6vw, 76px); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.contact h2 { margin-bottom: 12px; }
.contact h2 + p { max-width: 54ch; color: var(--muted); }
address { font-style: normal; font-weight: 650; font-size: 1.08rem; }
address a { text-underline-offset: 4px; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.channels .button { gap: 8px; }
button.button { font: inherit; font-weight: 750; cursor: pointer; }
button.button:focus-visible { outline: 3px solid #bd6a14; outline-offset: 5px; }
.messenger-icon { flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; }
.max-contact { width: min(400px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf9; color: var(--ink); box-shadow: 0 10px 40px #17161438; }
.max-contact::backdrop { background: #17161445; }
.max-contact h3 { font-size: 1.6rem; }
.max-contact p { margin-top: 12px; }
.max-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ghost { border-color: #9b8f80; background: transparent; color: var(--ink); }
.ghost:hover { border-color: var(--red-dark); background: #f5e2d9; }
.footer { background: #24211e; color: #fff9f1; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 44px); font-size: .9rem; }
.footer-brand { display: block; margin-bottom: 5px; font-size: 1.08rem; }
.footer-registration { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 7px; color: #e2d4c6; }
.footer-registration div { display: flex; gap: 7px; }
.footer-registration dd { font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { min-height: auto; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-row { min-height: 67px; gap: 12px; }
  .brand { flex: 0 1 166px; min-width: 0; }
  .header nav { display: none; }
  .hero-grid, .practice-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 38px 25px; gap: 24px; }
  .hero h1 { font-size: clamp(2.35rem, 9.5vw, 3.6rem); }
  .hero-image img { height: auto; aspect-ratio: 4 / 3; }
  .practice-image img { height: auto; aspect-ratio: 4 / 4.5; }
  .featured { grid-template-columns: 1fr; gap: 18px; }
  .featured-price { border: 0; border-top: 1px solid #e8c1b9; padding: 18px 0 0; }
  .program-grid { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .rental { grid-template-columns: 1fr; gap: 0; }
  .rental img { height: 180px; }
  .rental div { padding: 20px; }
  .audience-grid, .teachers { grid-template-columns: 1fr; }
  .teachers a { max-width: 240px; }
  .actions { gap: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
