@font-face {
  font-family: Neucha;
  src: url('./assets/neucha-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #F7F4EC;
  --ink: #2B2420;
  --heading: #192A3D;
  --accent-yellow: #F0D07C;
  --accent-blue: #BFDDEB;
  --accent-green: #6EA86F;
  --card: rgba(255, 255, 255, .72);
  --shadow: 0 14px 34px rgba(0, 0, 0, .12);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, .09);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 20px; padding: 9px 14px; border-radius: 8px; background: #fff; }
.skip-link:focus { top: 12px; }

.site-header { height: 120px; background: #fff; }
.header-inner { width: min(100% - 40px, 1290px); height: 100%; margin: auto; display: flex; align-items: center; }
.site-title { color: var(--ink); font: 700 25px/1.2 'PT Sans', system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.topbar { position: sticky; z-index: 10; top: 0; margin-top: 60px; background: rgba(247, 244, 236, .92); backdrop-filter: saturate(160%) blur(8px); }
.nav { width: min(100% - 36px, 1044px); min-height: 77px; margin: auto; padding: 12px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; border-bottom: 1px solid rgba(43, 36, 32, .08); }
.nav a { font-weight: 700; text-decoration: none; }
.nav a:not(.btn) { opacity: .92; }
.nav a:not(.btn):hover { opacity: 1; text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border: 1px solid var(--heading); border-radius: 14px; background: var(--heading); color: #fff; font-weight: 800; text-decoration: none; transition: filter .15s ease, transform .15s ease; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }

.wrap { width: min(100%, 1080px); margin: auto; padding: 18px; }
.hero, .wrap section { margin-top: 18px; border: 2px solid rgba(43, 36, 32, .06); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-soft); }
.hero { margin-top: 16px; padding: 28px; border-color: rgba(43, 36, 32, .08); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 18px; }
.sticker { display: inline-block; max-width: 100%; margin: 0; padding: 8px 14px; border-radius: 16px; background: var(--accent-yellow); box-shadow: 0 10px 18px rgba(0, 0, 0, .1); font-weight: 900; transform: rotate(-1.2deg); }
h1, h2, h3 { color: var(--heading); }
h1, h2, .service-card h3 { font-family: Neucha, 'Comic Sans MS', cursive; }
h1 { margin: 30px 0 10px; font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: .2px; }
.sub { margin: 0 0 10px; color: rgba(43, 36, 32, .88); font-size: clamp(17px, 1.55vw, 19px); }
.meta { margin: 10px 0 14px; color: rgba(43, 36, 32, .82); font-weight: 700; }
.hero-illustration { display: flex; justify-content: center; margin: 0; }
.hero-illustration img { width: 100%; max-width: 420px; height: auto; border-radius: 22px; background: #fff; box-shadow: var(--shadow); transform: rotate(1deg); }
.social-icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.si { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid rgba(43, 36, 32, .08); border-radius: 16px; box-shadow: 0 12px 22px rgba(0, 0, 0, .1); text-decoration: none; transition: transform .2s ease, filter .2s ease; }
.si:hover { transform: translateY(-2px); filter: brightness(.98); }
.si:active { transform: translateY(1px); }
.si svg { width: 22px; height: 22px; fill: #fff; }
.si-tg { background: #7BC7F2; }
.si-max { background: transparent; }
.si-max img { width: 26px; height: 26px; }
.si-vk { background: #8AB6F2; }
.si-pin { background: #F2A7B5; }

.wrap section { padding: 22px; }
h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 400; line-height: 1.15; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.portrait { margin: 0; padding: 12px; border: 2px solid rgba(43, 36, 32, .08); border-radius: 22px; background: rgba(255, 255, 255, .62); box-shadow: 0 12px 24px rgba(0, 0, 0, .1); transform: rotate(-.8deg); }
.portrait img { width: 100%; height: auto; border-radius: 18px; background: #fff; box-shadow: 0 10px 18px rgba(0, 0, 0, .1); }
.portrait-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.portrait-caption .name { display: inline-block; padding: 8px 12px; border-radius: 14px; background: var(--accent-yellow); box-shadow: 0 10px 18px rgba(0, 0, 0, .08); font-weight: 900; transform: rotate(1deg); }
.portrait-caption .role { font-weight: 800; opacity: .86; }
.about-text p { margin: 0 0 16px; }
.about-text p:last-child { margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card { padding: 16px; border: 2px solid rgba(43, 36, 32, .06); border-radius: 20px; }
.service-card--kids { background: var(--accent-yellow); }
.service-card--adults { background: var(--accent-green); }
.service-card h3 { margin: 0 0 6px; font-size: 26px; font-weight: 400; line-height: 1.2; }
.service-card ul { margin: 10px 0 0 18px; padding: 0; }
.service-card li { padding-left: 2px; }
.service-card li + li { margin-top: 2px; }
.service-card li ul { margin-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { padding: 16px; border: 2px solid rgba(43, 36, 32, .06); border-radius: 20px; background: rgba(255, 255, 255, .62); box-shadow: 0 10px 18px rgba(0, 0, 0, .06); }
.step strong { display: block; margin-bottom: 6px; font-size: 18px; }
.address { margin: 18px 0 0; }
#contacts h2 { margin-bottom: 18px; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 56px); min-height: 188px; padding: 30px 34px; border: 2px solid rgba(43, 36, 32, .08); border-radius: 20px; background: var(--accent-blue); box-shadow: 0 12px 22px rgba(0, 0, 0, .1); }
.contact-panel p { max-width: 560px; margin: 0; font-size: 17px; line-height: 1.55; }
.contact-panel p strong { display: block; margin-bottom: 8px; color: var(--heading); font: 900 29px/1.15 Neucha, 'Comic Sans MS', cursive; }
.contact-panel .social-icons { flex-wrap: nowrap; align-items: center; gap: 9px; margin: 0; padding: 14px; border: 1px solid rgba(43, 36, 32, .08); border-radius: 19px; background: rgba(255, 255, 255, .68); box-shadow: 0 8px 18px rgba(43, 36, 32, .07); }
.contact-panel .si { width: 50px; height: 50px; box-shadow: 0 5px 12px rgba(43, 36, 32, .12); }
.contact-panel .si-max { background: rgba(255, 255, 255, .65); }
@media (max-width: 700px) {
  #contacts h2 { margin-bottom: 16px; }
  .contact-panel { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 24px; }
  .contact-panel p { font-size: 16px; }
  .contact-panel p strong { font-size: 27px; }
  .contact-panel .social-icons { justify-self: start; gap: 8px; padding: 8px; }
  .contact-panel .si { width: 46px; height: 46px; }
}
@media (max-width: 374px) {
  .contact-panel { padding: 18px; }
  .contact-panel .social-icons { display: grid; grid-template-columns: repeat(2, 46px); justify-content: center; justify-self: stretch; gap: 10px; }
}
@media (max-width: 899px) {
  .hero-grid, .about-grid, .services-grid, .steps { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; }
  .portrait { max-width: 480px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 115px; }
  .site-header { height: 70px; }
  .header-inner { width: min(100% - 36px, 1290px); }
  .site-title { font-size: clamp(17px, 5.8vw, 25px); }
  .nav { width: min(100% - 36px, 1044px); justify-content: center; gap: 8px 14px; }
  .nav a { font-size: 15px; }
  .wrap { width: min(100% - 28px, 1080px); padding: 12px; }
  .hero, .wrap section { padding: 20px; }
  .hero-grid { gap: 18px; }
  .sticker { font-size: 15px; }
  .portrait { width: 100%; }
  .portrait-caption .role { font-size: 14px; }
  .about-grid, .services-grid, .steps { gap: 12px; }
  .service-card { padding: 16px; }
}
@media (max-width: 360px) {
  .nav { gap: 6px 10px; }
  .nav a { font-size: 14px; }
  .sticker { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .si, .btn { transition: none; }
}
