/* ============ Tennis Camp — светлый каталог ============ */
:root {
  --bg: #ffffff;
  --soft: #f6f4f1;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #44454a;
  --muted: #7a7b80;
  --line: #e7e4df;
  --red: #c23a22;
  --red-dark: #a42f1a;
  --clay: #b8532f;
  --dark: #121212;
  --dark-2: #1c1c1c;
  --winter-1: #1d2f4d;
  --winter-2: #5b7fb0;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(0,0,0,.28);
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, h4 { margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 6px; }
.eyebrow--light { color: rgba(255,255,255,.7); }
.section__sub { color: var(--ink-2); font-size: 17px; margin: 8px 0 0; }
.section__sub--light { color: rgba(255,255,255,.7); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 700 15px var(--sans); padding: 13px 26px; border-radius: 999px; background: var(--red); color: #fff; transition: background .2s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(194, 58, 34, .7); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn svg { font-size: 18px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--small { padding: 9px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; cursor: pointer; font: 700 15px var(--sans); color: var(--ink); }
.link-btn svg { transition: transform .25s var(--ease); }
.link-btn:hover { color: var(--red); }
.link-btn:hover svg { transform: translateX(3px); }

/* ============ Topbar + Nav ============ */
.topbar { background: var(--red); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }
.topbar__link { background: none; border: 0; padding: 0; color: #ffe08a; font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font: 800 26px/1 var(--display); color: var(--red); letter-spacing: -.01em; }
.logo--light { color: #fff; }
.nav__links { display: flex; gap: 24px; font-size: 14px; font-weight: 600; padding-left: 26px; border-left: 1px solid var(--line); height: 28px; align-items: center; }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--red); }
.nav__tg { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.nav__tg svg { font-size: 19px; color: var(--red); }
.nav__tg:hover { color: var(--red); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 9px; }
.nav__burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease); }
.nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; min-height: 440px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; padding: 70px 0 110px; }
.hero__bg { position: absolute; inset: 0; background: url('img/hero.jpg') center 62% / cover no-repeat; transform: scale(1.05); animation: heroZoom 12s var(--ease) forwards; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(120, 40, 20, .55), rgba(150, 52, 26, .72)); mix-blend-mode: multiply; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25)); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; }
.hero__kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin-bottom: 14px; }
.hero__title { font: 800 clamp(42px, 6.4vw, 84px)/1.05 var(--display); letter-spacing: -.01em; margin-bottom: 16px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero__lead { font-size: 18px; max-width: 620px; margin: 0 auto; opacity: .92; }

/* ============ Search ============ */
.search-wrap { position: relative; z-index: 5; margin-top: -42px; }
.search { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; align-items: center; background: #fff; border-radius: 999px; padding: 8px 8px 8px 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line); }
.search__field { display: flex; align-items: center; gap: 12px; padding: 6px 18px; border-right: 1px solid var(--line); cursor: pointer; min-width: 0; }
.search__field:nth-child(3) { border-right: 0; }
.search__field > svg { font-size: 20px; color: var(--muted); }
.search__field > span { display: grid; min-width: 0; flex: 1; }
.search__field small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.search__field select { border: 0; background: transparent; font: 600 15px var(--sans); color: var(--ink); padding: 2px 0; outline: none; cursor: pointer; appearance: none; -webkit-appearance: none; width: 100%; text-overflow: ellipsis; }
.search__btn { padding: 15px 28px; }

/* ============ Tiles ============ */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 56px 0 10px; }
.tile { display: flex; flex-direction: column; gap: 3px; }
.tile__img { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-sm); background: var(--img) center / cover; margin-bottom: 14px; overflow: hidden; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover .tile__img { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile__img--winter { background: radial-gradient(120% 100% at 75% 0%, var(--winter-2) 0%, var(--winter-1) 75%); }
.tile__img--winter::after, .place__media--winter::after { content: ''; position: absolute; inset: 24% 20%; border: 1.5px solid rgba(255,255,255,.4); background: linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) center / 100% 1.5px no-repeat, linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) center / 1.5px 50% no-repeat; transform: perspective(500px) rotateX(50deg); }
.snow { position: absolute; inset: -50% 0 0; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 80px 120px, #fff, transparent), radial-gradient(2.5px 2.5px at 150px 60px, #fff, transparent), radial-gradient(1.5px 1.5px at 200px 160px, #fff, transparent), radial-gradient(2px 2px at 260px 90px, #fff, transparent); background-size: 300px 200px; opacity: .6; animation: snow 14s linear infinite; }
@keyframes snow { to { transform: translateY(33%); } }
.tile b { font-size: 18px; font-weight: 800; }
.tile__more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); }
.tile:hover .tile__more { color: var(--red); }

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }

/* Filters */
.filters { display: flex; gap: 8px; }
.chip { border: 1px solid var(--line); cursor: pointer; font: 700 14px var(--sans); padding: 9px 20px; border-radius: 999px; background: #fff; color: var(--ink); transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============ Camp cards ============ */
.camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 20px; }
.camp { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: fadeUp .6s var(--ease) both; text-align: left; font: inherit; color: inherit; padding: 0; }
.camp:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.camp__img { position: relative; aspect-ratio: 4 / 2.9; background: var(--img) center / cover; overflow: hidden; }
.camp__img--winter { background: radial-gradient(120% 100% at 75% 0%, var(--winter-2) 0%, var(--winter-1) 75%); }
.camp__img--winter::after { content: ''; position: absolute; inset: 22% 18%; border: 1.5px solid rgba(255,255,255,.4); background: linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) center / 100% 1.5px no-repeat; transform: perspective(400px) rotateX(50deg); }
.camp__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.badge { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--ink); }
.badge--hot { background: var(--red); color: #fff; }
.badge--dark { background: var(--ink); color: #fff; }
.camp__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.camp__cat { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.camp__title { font-size: 17px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.camp__row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 3px; }
.camp__row svg { font-size: 14px; color: var(--muted); }
.camp__features { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; color: var(--ink-2); }
.camp__features li:not(:last-child)::after { content: '•'; margin: 0 7px; color: var(--muted); }
.camp__seats { font-size: 12px; font-weight: 700; color: #2f8a52; margin-top: 12px; }
.camp__seats--low { color: var(--red); }
.camp__seats--sold { color: var(--muted); }
.camp__foot { margin-top: auto; padding-top: 16px; }
.camp__price { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; text-align: right; font-size: 14px; color: var(--ink-2); }
.camp__price b { font-size: 18px; font-weight: 800; color: var(--ink); }
.camp__price small { display: block; font-size: 12px; color: var(--muted); }
.camp.is-sold { opacity: .7; }

/* ============ About ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__photos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: end; }
.about__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.about__photos img:last-child { aspect-ratio: 3 / 4.6; transform: translateY(40px); }
.about__text h2 { margin-bottom: 18px; }
.about__lead { font-size: 19px; font-weight: 600; line-height: 1.5; }
.about__text p { color: var(--ink-2); }
.about__facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about__facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; }
.about__facts b { display: block; font: 800 30px/1.1 var(--display); color: var(--red); }
.about__facts span { font-size: 13px; color: var(--ink-2); line-height: 1.35; display: block; margin-top: 4px; }

/* ============ Services (dark) ============ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.service { border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 26px; transition: background .3s, border-color .3s; }
.service:hover { background: var(--dark-2); border-color: rgba(255,255,255,.35); }
.service svg { font-size: 28px; color: rgba(255,255,255,.85); margin-bottom: 18px; stroke-width: 1.4; }
.service h3 { font-size: 20px; margin-bottom: 8px; }
.service p { font-size: 14px; color: rgba(255,255,255,.65); margin: 0; }

/* ============ Program ============ */
.program { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.levels { display: grid; gap: 12px; margin-top: 28px; }
.level { display: flex; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.level svg { font-size: 22px; color: var(--red); margin-top: 2px; }
.level b { display: block; font-weight: 800; }
.level span { font-size: 14px; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px 0 16px 26px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--red); }
.timeline time { font-weight: 800; color: var(--red); padding-top: 1px; }
.timeline b { display: block; font-weight: 800; }
.timeline span { font-size: 14px; color: var(--ink-2); }

/* ============ Gallery ============ */
.gallery { columns: 4; column-gap: 14px; margin-top: 30px; }
.gallery__item { display: inline-block; vertical-align: top; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--line); }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.05); } }
.gallery__item:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ============ Places ============ */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.place { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.place__media { position: relative; aspect-ratio: 16 / 9; background: var(--img) center 60% / cover; overflow: hidden; }
.place__media--winter { background: radial-gradient(120% 100% at 75% 0%, var(--winter-2) 0%, var(--winter-1) 75%); }
.place__badge { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 99px; background: #fff; }
.place__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.place__body h3 { font-size: 22px; margin-bottom: 10px; }
.place__body > p { color: var(--ink-2); }
.place__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.place__list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.place__list svg { font-size: 18px; color: var(--red); margin-top: 3px; }
.place__list b { color: var(--ink); }
.place .link-btn { margin-top: auto; align-self: flex-start; }

.courts { margin-top: 20px; border-radius: var(--r); padding: 40px; background: linear-gradient(135deg, var(--winter-1), #2a4470); color: #fff; display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px; }
.courts h3 { font-size: 28px; margin-bottom: 12px; }
.courts__head p:last-child { color: rgba(255,255,255,.75); }
.courts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.court-card { padding: 20px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.court-card svg { font-size: 24px; color: #a9c6f0; margin-bottom: 10px; }
.court-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.court-card p { font-size: 14px; color: rgba(255,255,255,.72); margin: 0; }

/* ============ Callout ============ */
.callout-row { display: grid; grid-template-columns: 2.2fr 1fr; gap: 20px; padding-bottom: 20px; }
.callout { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.callout__img { background: var(--img) center / cover; min-height: 300px; }
.callout__body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.callout h3 { font-size: 24px; margin-bottom: 18px; }
.callout ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.callout li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.callout li svg { font-size: 19px; color: var(--ink); }
.callout__body .btn { align-self: flex-start; }
.callout--tg { display: flex; flex-direction: column; padding: 30px; background: var(--soft); }
.callout__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 28px; color: var(--red); margin-bottom: 18px; box-shadow: 0 0 0 1px var(--line); }
.callout--tg h3 { margin-bottom: 8px; }
.callout--tg p { color: var(--ink-2); }
.callout--tg .btn { margin-top: auto; }

/* ============ FAQ ============ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; transition: color .2s; }
.faq__list summary:hover { color: var(--red); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--red); transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--ink-2); padding: 0 40px 20px 0; margin: 0; }

/* ============ Apply / Form ============ */
.apply { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { font-size: 20px; color: var(--red); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.form--modal { padding: 0; border: 0; box-shadow: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 500 15px var(--sans); color: var(--ink); padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background-color: #fff; transition: border-color .2s, box-shadow .2s; outline: none; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7b80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29,29,31,.08); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); background-color: #fff6f4; }
.price-total { border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; background: var(--soft); }
.price-total[hidden] { display: none; }
.price-total b { font-size: 18px; color: var(--ink); }
.price-total span { color: var(--muted); font-size: 13px; }
.consent { display: flex; gap: 10px; align-items: start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { accent-color: var(--red); margin-top: 2px; width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form__error { color: var(--red); font-weight: 700; font-size: 14px; margin: 0; }
.form__error:empty { display: none; }
.form__error a { text-decoration: underline; }
.form__success { text-align: center; padding: 30px 10px; }
.form__success .big { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 30px; }
.form__success h3 { font-size: 26px; margin-bottom: 8px; }
.form__success p { color: var(--ink-2); }

/* ============ Modal / Toast / Lightbox ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; background: #fff; border-radius: 20px; padding: 34px; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(20px); transition: transform .4s var(--ease); }
.modal.is-open .modal__dialog { transform: none; }
.modal__dialog h2 { font-size: 28px; margin-bottom: 20px; padding-right: 40px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); font-size: 24px; cursor: pointer; line-height: 1; }
.modal__close:hover { background: var(--line); }
body.no-scroll { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; font-weight: 700; z-index: 200; transition: transform .4s var(--ease); max-width: calc(100% - 32px); }
.toast.is-show { transform: translate(-50%, 0); }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.92); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 10px; user-select: none; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 32px; }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
.lightbox__count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-weight: 700; font-size: 14px; margin: 0; }

/* ============ Footer ============ */
.footer { background: var(--dark); color: #fff; padding: 60px 0 30px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__top .logo { font-size: 34px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 34px 0; }
.footer__cols div { display: grid; gap: 8px; align-content: start; font-size: 14px; color: rgba(255,255,255,.7); }
.footer__cols b { color: #fff; font-size: 14px; margin-bottom: 4px; }
.footer__cols a:hover { color: #fff; }
.footer__copy { color: rgba(255,255,255,.45); font-size: 13px; margin: 0; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav__links { gap: 16px; }
  .callout-row { grid-template-columns: 1fr; }
  .courts { grid-template-columns: 1fr; gap: 24px; }
  .gallery { columns: 3; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; height: auto; gap: 0; background: #fff; padding: 6px 20px 20px; border: 0; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .4s var(--ease); z-index: -1; font-size: 17px; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.menu-open .nav__links { transform: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 20px; padding: 10px; gap: 4px; }
  .search__field { border-right: 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
  .search__btn { grid-column: 1 / -1; }
  .search__field:nth-child(3) { grid-column: 1 / -1; }
  .tiles { gap: 14px; }
  .about, .program, .faq, .apply { grid-template-columns: 1fr; gap: 40px; }
  .about__photos img:last-child { transform: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .places { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .topbar { font-size: 12px; }
  .nav__tg span { display: none; }
  .logo { font-size: 23px; }
  .hero { min-height: 400px; padding: 60px 0 100px; }
  .hero__lead { font-size: 16px; }
  .search { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile__img { aspect-ratio: 16 / 9; }
  .about__facts { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .courts { padding: 26px 20px; }
  .courts__grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .callout__img { min-height: 200px; }
  .callout__body { padding: 26px 22px; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .modal__dialog { padding: 28px 18px; }
  .footer__cols { grid-template-columns: 1fr; }
  .lightbox__nav { top: auto; bottom: 10px; transform: none; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================
   STYLE 2.0 — более стильная подача
   ===================================================== */
:root {
  --bg: #fbf9f6;
  --soft: #f3eee7;
  --line: #e6dfd5;
  --ink: #1b1a18;
  --ink-2: #4a4843;
  --muted: #8a867e;
  --red: #b8361f;
  --red-dark: #962a16;
  --dark: #151614;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 30px 60px -32px rgba(40, 24, 12, .35);
}
body { background: var(--bg); }

/* Заголовки — с засечками и курсивным акцентом */
h2 { font: 700 clamp(34px, 4.4vw, 58px)/1.04 var(--display); letter-spacing: -.02em; }
h2 em, .hero__title em, .courts h3 em { font-style: italic; color: var(--red); font-weight: 700; }
.section--dark h2 em, .courts h3 em { color: #f0b49f; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .2em; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--light { color: #f0b49f; }
.section__sub { font-size: 17px; color: var(--ink-2); max-width: 560px; margin-top: 14px; }
.section { padding: 120px 0; }
.section__head { margin-bottom: 44px; }

/* Кнопки */
.btn { padding: 14px 28px; letter-spacing: .01em; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg); color: var(--ink); }

/* Топбар и меню */
.topbar { background: var(--dark); font-weight: 500; letter-spacing: .02em; }
.topbar__link { color: #f0b49f; }
.nav { background: rgba(251, 249, 246, .9); border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line); }
.logo { font-size: 28px; font-style: italic; }
.nav__links { font-weight: 600; letter-spacing: .01em; }

/* Hero — естественное фото, больше высоты */
.hero { min-height: min(78vh, 760px); padding: 90px 0 150px; align-items: end; text-align: left; place-items: end start; }
.hero__bg::after { background: linear-gradient(180deg, rgba(12, 12, 10, .1) 0%, rgba(12, 12, 10, .05) 35%, rgba(12, 12, 10, .62) 100%), linear-gradient(90deg, rgba(12, 12, 10, .45) 0%, rgba(12, 12, 10, 0) 65%); mix-blend-mode: normal; }
.hero::after { display: none; }
.hero__inner { width: min(1200px, 100% - 40px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); font-size: 11px; letter-spacing: .2em; margin-bottom: 22px; }
.hero__title { font-size: clamp(54px, 8.6vw, 124px); line-height: .95; letter-spacing: -.025em; margin-bottom: 22px; }
.hero__title em { color: #ffd2c2; }
.hero__lead { margin: 0; max-width: 520px; font-size: 18px; }

/* Поиск */
.search-wrap { margin-top: -50px; }
.search { border-radius: 22px; padding: 10px 10px 10px 14px; box-shadow: 0 30px 70px -30px rgba(30, 20, 10, .45), 0 0 0 1px rgba(0,0,0,.04); }
.search__field { padding: 8px 20px; }
.search__field > svg { color: var(--red); }
.search__btn { padding: 17px 30px; border-radius: 16px; }

/* Плитки — подпись поверх фото */
.tiles { padding: 70px 0 0; gap: 20px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; }
.tile__img { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; border-radius: 0; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img { transform: scale(1.06); box-shadow: none; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7) 100%); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; display: grid; gap: 4px; }
.tile__cap small { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.tile__cap b { font: 700 32px/1.05 var(--display); }
.tile__more { color: rgba(255,255,255,.85); font-weight: 600; margin-top: 6px; }
.tile__more svg { transition: transform .3s var(--ease); }
.tile:hover .tile__more { color: #fff; }
.tile:hover .tile__more svg { transform: translateX(4px); }

/* Бегущая строка */
.marquee { margin-top: 90px; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 45s linear infinite; font: italic 700 30px/1 var(--display); color: var(--ink); }
.marquee__track i { font-style: normal; font-size: 14px; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }
#camps { padding-top: 100px; }

/* Фильтры */
.chip { background: transparent; border-color: var(--line); padding: 10px 22px; }
.chip.is-active { background: var(--ink); }

/* Карточки групп */
.camps { gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.camp { border: 0; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(40, 24, 12, .5); }
.camp:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.camp__img { aspect-ratio: 4 / 3.4; transition: transform 1.2s var(--ease); }
.camp:hover .camp__img { transform: scale(1.04); }
.camp__body { padding: 20px 22px 22px; position: relative; background: #fff; }
.camp__cat { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.camp__title { font: 700 21px/1.2 var(--display); margin-bottom: 12px; }
.camp__features { gap: 6px; margin-top: 14px; }
.camp__features li { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--soft); color: var(--ink-2); }
.camp__features li::after { display: none; }
.camp__price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; text-align: left; }
.camp__price b { font: 700 26px/1 var(--display); }
.camp__price small { width: 100%; text-align: right; }
.badge { backdrop-filter: blur(8px); background: rgba(255,255,255,.9); letter-spacing: .02em; }
.badge--hot { background: var(--red); }

/* О кемпе */
.about { gap: 90px; }
.about__photos img { border-radius: var(--r); box-shadow: var(--shadow); }
.about__lead { font: italic 600 24px/1.4 var(--display); color: var(--ink); }
.about__facts li { border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-sm); }
.about__facts b { font-size: 38px; }

/* Тёмный блок услуг */
.section--dark { background: radial-gradient(90% 70% at 100% 0%, #2a1a14 0%, var(--dark) 60%); }
.services { gap: 18px; margin-top: 50px; }
.service { border-color: rgba(255,255,255,.12); border-radius: var(--r); padding: 30px; position: relative; overflow: hidden; }
.service svg { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: rgba(240, 180, 159, .12); color: #f0b49f; }
.service h3 { font: 700 24px/1.15 var(--display); }
.service:hover { background: rgba(255,255,255,.04); transform: translateY(-3px); }
.service { transition: background .3s, transform .4s var(--ease), border-color .3s; }

/* Программа */
.level { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-sm); }
.timeline time { font: 700 22px/1.2 var(--display); }
.timeline li { padding-block: 18px; }

/* Цитата */
.quote { position: relative; padding: 150px 0; color: #fff; overflow: hidden; text-align: center; }
.quote__bg { position: absolute; inset: -10% 0; background: linear-gradient(rgba(14, 12, 10, .55), rgba(14, 12, 10, .65)), url('img/gallery/02.jpg') center 40% / cover; }
.quote__inner { position: relative; display: grid; justify-items: center; gap: 30px; }
.quote__ball { font-size: 44px; color: #ffd2c2; stroke-width: 1.2; }
.quote blockquote { margin: 0; max-width: 960px; font: italic 700 clamp(30px, 4.2vw, 56px)/1.18 var(--display); letter-spacing: -.01em; }

/* Галерея */
.gallery { margin-top: 44px; column-gap: 16px; }
.gallery__item { border-radius: var(--r-sm); margin-bottom: 16px; }

/* Локации */
.places { gap: 24px; margin-top: 44px; }
.place { border: 0; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(40, 24, 12, .5); border-radius: var(--r); }
.place__body h3 { font: 700 34px/1.1 var(--display); }
.courts { border-radius: var(--r); padding: 56px; }
.courts h3 { font: 700 40px/1.05 var(--display); }
.court-card { border-radius: var(--r-sm); }

/* Callout */
.callout { border: 0; box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(40, 24, 12, .5); border-radius: var(--r); }
.callout h3 { font: 700 30px/1.1 var(--display); }
.callout--tg { background: var(--soft); box-shadow: none; }

/* FAQ */
.faq__list summary { font: 700 21px/1.3 var(--display); padding-block: 24px; }

/* Форма */
.form { border: 0; border-radius: var(--r); box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgba(40, 24, 12, .45); padding: 40px; }
.field input, .field select, .field textarea { background-color: var(--bg); border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(184, 54, 31, .1); }
.price-total b { font: 700 22px var(--display); color: var(--red); }
.modal__dialog { border-radius: 24px; background: var(--bg); }
.modal__dialog h2 { font-size: 34px; }

/* Подвал */
.footer { background: var(--dark); padding-top: 90px; }
.footer__top .logo { font-size: clamp(48px, 8vw, 104px); color: #fff; letter-spacing: -.02em; }

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .hero { padding-bottom: 130px; }
  .search { border-radius: 20px; }
  .search__btn { border-radius: 14px; }
}
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .hero { min-height: 560px; padding: 70px 0 120px; }
  .hero__title { font-size: 54px; }
  .tiles { grid-template-columns: 1fr; padding-top: 40px; }
  .tile, .tile:last-child { aspect-ratio: 4 / 3; }
  .marquee { margin-top: 60px; }
  .marquee__track { font-size: 24px; }
  .quote { padding: 100px 0; }
  .courts { padding: 30px 22px; }
  .courts h3 { font-size: 32px; }
  .form { padding: 24px 18px; }
}
.section__sub.section__sub--light { color: rgba(255,255,255,.65); }

/* =====================================================
   ТИПОГРАФИКА 3.0 — спокойная и гармоничная
   Lora (мягкий книжный шрифт с засечками) + Inter (нейтральный текст)
   ===================================================== */
:root {
  --display: 'Lora', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --accent-soft: #a65a3f;
}
body { font-size: 16px; line-height: 1.7; color: var(--ink-2); letter-spacing: -.003em; }
p { line-height: 1.7; }

/* Заголовки: средний вес, без курсивного «крика» */
h2 { font: 500 clamp(30px, 3.6vw, 46px)/1.18 var(--display); letter-spacing: -.01em; color: var(--ink); }
h3 { font-weight: 600; }
h2 em, .hero__title em, .courts h3 em { font-style: italic; font-weight: 400; color: var(--accent-soft); }
.section--dark h2 em, .courts h3 em { color: #e3b8a6; }
.hero__title em { color: #f3d6c8; }

/* Мелкие подписи: мягче, без жирного капса */
.eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .12em; color: var(--accent-soft); }
.eyebrow--light { color: #e3b8a6; }
.section__sub { font-size: 17px; line-height: 1.65; color: var(--muted); }
.hero__kicker { font-weight: 500; letter-spacing: .12em; font-size: 12px; }
.tile__cap small, .camp__cat, .search__field small { font-weight: 600; letter-spacing: .1em; }
.field span { font-weight: 500; color: var(--ink-2); }

/* Первый экран */
.hero__title { font: 500 clamp(46px, 7vw, 96px)/1.05 var(--display); letter-spacing: -.015em; }
.hero__lead { font-size: 18px; line-height: 1.65; font-weight: 400; }

/* Логотип и меню */
.logo { font: italic 500 26px/1 var(--display); letter-spacing: 0; }
.footer__top .logo { font-weight: 400; }
.nav__links, .nav__tg { font-weight: 500; }
.topbar, .topbar__link { font-weight: 500; }

/* Кнопки, фильтры, бейджи */
.btn { font-weight: 600; letter-spacing: 0; }
.chip { font-weight: 500; }
.badge, .place__badge { font-weight: 600; }
.link-btn { font-weight: 600; }

/* Плитки и бегущая строка */
.tile__cap b { font: 500 28px/1.15 var(--display); }
.marquee__track { font: italic 400 26px/1 var(--display); color: var(--ink-2); }

/* Карточки групп */
.camp__title { font: 500 20px/1.3 var(--display); color: var(--ink); }
.camp__features li { font-weight: 500; }
.camp__seats { font-weight: 500; }
.camp__price b { font: 500 24px/1 var(--display); color: var(--ink); }

/* О кемпе */
.about__lead { font: italic 400 22px/1.55 var(--display); color: var(--ink); }
.about__facts b { font: 500 34px/1.1 var(--display); color: var(--accent-soft); }

/* Блоки */
.service h3, .callout h3, .place__body h3 { font-family: var(--display); font-weight: 500; }
.service h3 { font-size: 22px; }
.callout h3 { font-size: 26px; }
.place__body h3 { font-size: 30px; }
.courts h3 { font: 500 36px/1.15 var(--display); }
.court-card h4, .level b, .timeline b { font-weight: 600; }
.timeline time { font: 500 20px/1.3 var(--display); color: var(--accent-soft); }
.quote blockquote { font: italic 400 clamp(28px, 3.6vw, 46px)/1.35 var(--display); letter-spacing: 0; }
.faq__list summary { font: 500 19px/1.4 var(--display); color: var(--ink); }
.price-total b { font: 500 20px var(--display); color: var(--accent-soft); }
.form__success h3, .modal__dialog h2 { font-weight: 500; }
.toast, .form__error, .lightbox__count { font-weight: 500; }

@media (max-width: 600px) {
  .hero__title { font-size: 46px; }
  h2 { font-size: 32px; }
  .marquee__track { font-size: 22px; }
}
.section--dark h2, .courts h2, .courts h3 { color: #fff; }
.static-msg { width: 100%; margin: 6px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: 400 13px/1.5 var(--sans); color: var(--ink-2); resize: none; }
