/* ===== Reset & Variables ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #9534EB;
  --color-primary-dark: #7B1FD4;
  --color-pink: #FF007E;
  --color-teal: #2BC28D;
  --color-amber: #FDB803;
  --color-text: #1a1a2e;
  --color-text-light: #666;
  --color-bg: #f5f3fa;
  --color-white: #fff;
  --color-border: #e8e4f0;
  --color-camp: #2d62cc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1100px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 200; background: var(--color-white); border-bottom: 1px solid var(--color-border); height: 60px; }
.nav__inner { display: flex; align-items: center; height: 60px; gap: 8px; }
.nav__logo { font-weight: 800; font-size: 1.15rem; color: var(--color-camp); margin-right: auto; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.nav__logo-img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__link { padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--color-text-light); transition: background var(--transition), color var(--transition); white-space: nowrap; }
.nav__link:hover { background: var(--color-bg); color: var(--color-text); }
.nav__cta { margin-left: 8px; padding: 8px 20px; background: var(--color-camp); color: var(--color-white); border-radius: 50px; font-size: 0.85rem; font-weight: 600; transition: opacity var(--transition); white-space: nowrap; }
.nav__cta:hover { opacity: 0.85; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 24px; height: 2.5px; background: var(--color-text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero.hero--camp { position: relative; background: linear-gradient(135deg, #1a4a9e 0%, #2d62cc 50%, #4a7ccc 100%); color: var(--color-white); padding: 60px 0 70px; overflow: hidden; }
.hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.hero--chess .hero__overlay { background-image: linear-gradient(45deg, rgba(255,255,255,0.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.06) 75%), linear-gradient(45deg, rgba(255,255,255,0.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.06) 75%); background-size: 50px 50px; background-position: 0 0, 25px 25px; }
.hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 500px; gap: 48px; align-items: center; }
.hero__text { text-align: left; }
.hero__title { font-size: 2.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero__title-sub { font-weight: 400; font-size: 1.5rem; opacity: 0.8; }
.hero--camp .hero__subtitle { font-size: 1.05rem; opacity: 0.9; max-width: 600px; margin: 0 0 12px; line-height: 1.65; }
.hero-line--1 { letter-spacing: -0.3px; }
.hero-line--2 { letter-spacing: 0.35px; }
.hero__partner { font-size: 0.85rem; opacity: 0.65; margin-bottom: 24px; font-style: italic; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__video { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.hero__video iframe { width: 100%; height: 100%; display: block; }
.icon-inline { flex-shrink: 0; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition); cursor: pointer; border: none; font-family: var(--font); text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--primary-cta { background: var(--color-amber); color: #1a1a2e; font-size: 1.05rem; padding: 16px 40px; font-weight: 700; box-shadow: 0 4px 24px rgba(253,184,3,0.35); border: none; }
.btn--primary-cta:hover { box-shadow: 0 8px 32px rgba(253,184,3,0.5); }
.btn--white { background: var(--color-white); color: var(--color-camp); }
.btn--outline { background: rgba(255,255,255,0.1); color: var(--color-white); border: 2px solid rgba(255,255,255,0.45); padding: 14px 28px; font-weight: 500; }
.btn--outline:hover { background: rgba(255,255,255,0.2); }
.btn--accent { background: var(--color-camp); color: var(--color-white); padding: 14px 32px; }
.btn--submit { width: 100%; padding: 15px; background: var(--color-camp); color: var(--color-white); font-size: 1.05rem; font-weight: 700; margin-top: 8px; min-height: 48px; }
.btn--submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Stats Bar ===== */
.stats-bar { background: linear-gradient(180deg, #eef2ff 0%, #f8f9fa 100%); padding: 60px 0; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-bar__number { font-size: 2.2rem; font-weight: 800; color: var(--color-camp); line-height: 1.2; }
.stats-bar__label { font-size: 0.85rem; color: var(--color-text-light); margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--color-white); }
.section--form { background: linear-gradient(135deg, color-mix(in srgb, var(--color-camp), black 15%), var(--color-camp)); padding: 80px 0; }
.section__title { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 36px; }
.section__subtitle { text-align: center; color: var(--color-text-light); margin-top: -24px; margin-bottom: 36px; font-size: 1.05rem; }

/* ===== Cards Grid ===== */
.cards-grid { display: grid; gap: 20px; align-items: stretch; }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== SVG / Emoji Icons ===== */
.icon-svg { width: 36px; height: 36px; color: var(--color-camp); }
.icon-emoji { font-size: 2.4rem; display: block; line-height: 1; }

/* ===== Advantage Cards ===== */
.adv-card { background: var(--color-white); border-radius: var(--radius); padding: 32px 22px; text-align: center; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); border-top: 3px solid transparent; }
.adv-card:hover { transform: translateY(-3px); border-top-color: var(--color-camp); box-shadow: var(--shadow-lg); }
.adv-card__icon { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--color-camp) 8%, transparent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.adv-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.adv-card__text { color: var(--color-text-light); font-size: 0.88rem; line-height: 1.5; }

/* ===== Program Cards ===== */
.prog-card { background: var(--color-white); border-radius: var(--radius); padding: 32px 24px; text-align: center; border-top: 3px solid transparent; box-shadow: var(--shadow); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.prog-card:hover { border-top-color: var(--color-camp); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.prog-card--fun { border: 1px solid var(--color-border); border-top: 3px solid transparent; }
.prog-card--fun:hover { border-top-color: var(--color-camp); }
.prog-card__icon { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--color-camp) 8%, transparent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.prog-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.prog-card__text { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.5; }

/* ===== Entertainment Cards (compact) ===== */
.cards-grid--compact { gap: 14px; }
.ent-card { background: var(--color-white); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; border: 1px solid var(--color-border); border-top: 3px solid transparent; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.ent-card:hover { border-top-color: var(--color-camp); transform: translateY(-2px); box-shadow: var(--shadow); }
.ent-card__icon { width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--color-camp) 8%, transparent); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.ent-card__icon .icon-svg { width: 28px; height: 28px; }
.ent-card__icon .icon-emoji { font-size: 1.8rem; }
.ent-card__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.ent-card__text { color: var(--color-text-light); font-size: 0.82rem; line-height: 1.45; }

/* ===== CTA Banner ===== */
.cta-banner { background: var(--color-camp); padding: 16px 0; display: flex; align-items: center; }
.cta-banner__inner { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-banner__text { color: var(--color-white); font-size: 1.2rem; font-weight: 600; }

.section--extra { padding: 32px 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }

/* ===== Person Cards ===== */
.person-card { background: var(--color-bg); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.person-card__photo { width: 88px; height: 88px; border-radius: 50%; background: #e0dce8; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; overflow: hidden; }
.person-card__placeholder { width: 40px; height: 40px; color: #a09aaf; }
.person-card__photo-label { font-size: 0.6rem; color: #a09aaf; margin-top: 2px; }
.person-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.person-card__role { color: var(--color-camp); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.person-card__text { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.55; }

/* ===== Schedule (compact timeline) ===== */
.schedule-compact { max-width: 750px; margin: 0 auto; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 16px 28px; }
.schedule-compact__item { display: flex; align-items: center; gap: 16px; padding: 8px 0; position: relative; }
.schedule-compact__time { width: 120px; font-weight: 700; font-size: 0.95rem; color: var(--color-camp); text-align: right; flex-shrink: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.schedule-compact__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--color-camp); flex-shrink: 0; position: relative; }
.schedule-compact__item:not(:last-child) .schedule-compact__dot::after { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 2px; height: calc(100% + 16px - 12px); background: color-mix(in srgb, var(--color-camp), transparent 70%); }
.schedule-compact__activity { font-size: 0.95rem; }
.schedule-note { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--color-text-light); }

/* ===== Shifts ===== */
.shifts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; max-width: 700px; margin: 0 auto; }
.shift-card { background: var(--color-bg); border-radius: var(--radius-sm); padding: 18px; border: 2px solid transparent; text-align: center; }
.shift-card--open { border-color: var(--color-teal); }
.shift-card--few { border-color: var(--color-amber); }
.shift-card--closed { opacity: 0.5; }
.shift-card__name { font-weight: 700; margin-bottom: 2px; }
.shift-card__dates { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 8px; }
.shift-card__status { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.shift-card__status--open { background: #e6f9f0; color: #16a06a; }
.shift-card__status--few { background: #fff8e6; color: #d49a00; }
.shift-card__status--closed { background: #f0f0f0; color: #888; }
.shifts-note { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--color-text-light); font-style: italic; }

/* Shift card clickable */
.shift-card { cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.shift-card:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.shift-card__hint { font-size: 0.72rem; color: var(--color-text-light); margin-top: 6px; opacity: 0.7; }

/* ===== Shift Detail Modal ===== */
.shift-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.shift-modal.open { opacity: 1; pointer-events: auto; }
.shift-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.shift-modal__wrap { position: relative; display: flex; flex-direction: column; background: var(--color-white); border-radius: 16px; max-width: 560px; width: 92%; max-height: 80vh; box-shadow: 0 20px 60px rgba(0,0,0,0.15); transform: translateY(30px); transition: transform 0.3s ease; overflow: hidden; }
.shift-modal__body { flex: 1; overflow-y: auto; padding: 32px 32px 16px; min-height: 0; }
.shift-modal.open .shift-modal__wrap { transform: translateY(0); }
.shift-modal__footer { padding: 16px 32px 24px; border-top: 1px solid var(--color-border); background: var(--color-white); flex-shrink: 0; border-radius: 0 0 16px 16px; }
.shift-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--color-bg); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-text-light); transition: background var(--transition), color var(--transition); font-family: var(--font); z-index: 2; margin: -4px -4px 0 0; }
.shift-modal__close:hover { background: #e0dce8; color: var(--color-text); }
.shift-modal__close svg { width: 18px; height: 18px; }
/* Meta badges */
.shift-modal__meta { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.shift-modal__badge { display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--color-camp) 6%, transparent); border: 1px solid color-mix(in srgb, var(--color-camp) 12%, transparent); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.9rem; font-weight: 500; flex: 1; min-width: 180px; }
.shift-modal__badge-icon { width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--color-camp) 10%, transparent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shift-modal__badge-icon svg { width: 18px; height: 18px; color: var(--color-camp); }
/* Section divider */
.shift-modal__divider { border: none; border-top: 1px solid var(--color-border); margin: 0 0 20px; }
/* Section titles */
.shift-modal__section-title { font-size: 0.95rem; font-weight: 700; color: var(--color-camp); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.shift-modal__section-icon { width: 28px; height: 28px; border-radius: 6px; background: color-mix(in srgb, var(--color-camp) 8%, transparent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shift-modal__section-icon svg { width: 16px; height: 16px; color: var(--color-camp); }
/* List items */
.shift-modal__list { list-style: none; margin: 0 0 24px; padding: 0 0 0 4px; }
.shift-modal__list li { padding: 7px 0; font-size: 0.9rem; color: var(--color-text); display: flex; align-items: center; gap: 12px; line-height: 1.5; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent); }
.shift-modal__list li:last-child { border-bottom: none; }
.shift-modal__check { width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--color-teal) 12%, transparent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shift-modal__check svg { width: 12px; height: 12px; color: var(--color-teal); }
/* CTA inside scrollable body */
.shift-modal__cta { width: 100%; padding: 15px; background: var(--color-camp); color: var(--color-white); border: none; border-radius: 50px; font-size: 1.05rem; font-weight: 700; cursor: pointer; font-family: var(--font); transition: opacity var(--transition), transform var(--transition); min-height: 48px; margin-top: 8px; }
.shift-modal__cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== Form Modal ===== */
.form-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.form-modal.open { opacity: 1; pointer-events: auto; }
.form-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.form-modal__wrap { position: relative; background: var(--color-white); border-radius: 16px; max-width: 560px; width: 92%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.18); transform: translateY(30px); transition: transform 0.3s ease; }
.form-modal.open .form-modal__wrap { transform: translateY(0); }
.form-modal__body { padding: 40px 36px; }
.form-modal__body h2 { font-size: 1.5rem; margin-bottom: 6px; text-align: center; }
.form-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--color-bg); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-text-light); font-size: 1.4rem; line-height: 1; transition: background var(--transition), color var(--transition); font-family: var(--font); z-index: 2; }
.form-modal__close:hover { background: #e0dce8; color: var(--color-text); }
.form-modal__success { text-align: center; padding: 40px 20px; }
.form-modal__success-icon { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--color-teal) 15%, transparent); color: var(--color-teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 2rem; }
.form-modal__success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-modal__success p { color: var(--color-text-light); font-size: 0.95rem; }

/* ===== Reviews Carousel ===== */
.reviews-carousel { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0; }
.reviews-carousel::-webkit-scrollbar { display: none; }
.reviews-carousel__track { display: flex; gap: 20px; padding: 0 max(20px, calc((100vw - var(--container)) / 2 + 20px)); }
.review-card { background: var(--color-white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 320px; max-width: 360px; flex-shrink: 0; scroll-snap-align: start; }
.review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: #e0dce8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-card__avatar svg { width: 20px; height: 20px; color: #a09aaf; }
.review-card__info { flex: 1; min-width: 0; }
.review-card__name { font-weight: 700; display: block; }
.review-card__detail { font-size: 0.78rem; color: var(--color-text-light); display: block; }
.review-card__stars { color: var(--color-amber); letter-spacing: 2px; flex-shrink: 0; font-size: 0.9rem; }
.review-card__text { color: var(--color-text-light); font-size: 0.93rem; line-height: 1.6; }

/* ===== Section CTA ===== */
.section-cta { text-align: center; margin-top: 36px; }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 8px 28px; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: 1rem; font-weight: 600; text-align: left; color: var(--color-text); min-height: 48px; gap: 16px; }
.faq-item__q:hover { color: var(--color-camp); }
.faq-item__icon { font-size: 1.5rem; color: var(--color-camp); transition: transform var(--transition); flex-shrink: 0; font-weight: 300; }
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-item__a { max-height: 200px; padding-bottom: 18px; }
.faq-item__a p { color: var(--color-text-light); font-size: 0.93rem; line-height: 1.65; }

/* ===== Form ===== */
.form-wrapper { max-width: 560px; margin: 0 auto; background: var(--color-white); border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow-lg); }
.form-wrapper h2 { font-size: 1.5rem; margin-bottom: 6px; text-align: center; }
.form-wrapper__sub { text-align: center; color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.88rem; }
.form-group input, .form-group select { width: 100%; padding: 12px 14px; border: 2px solid var(--color-border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.95rem; transition: border-color var(--transition); background: var(--color-bg); min-height: 48px; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--color-camp); }
.form-group input.error, .form-group select.error { border-color: #e53e3e; }
.form-error { color: #e53e3e; font-size: 0.78rem; margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.form-privacy { text-align: center; font-size: 0.75rem; color: #999; margin-top: 12px; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal__content { position: relative; background: var(--color-white); border-radius: var(--radius); padding: 40px; text-align: center; max-width: 400px; width: 90%; box-shadow: var(--shadow-lg); }
.modal__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--color-teal); color: var(--color-white); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.modal__title { font-size: 1.3rem; margin-bottom: 8px; }
.modal__text { color: var(--color-text-light); margin-bottom: 24px; font-size: 0.95rem; }
.modal__btn { padding: 12px 32px; background: var(--color-camp); color: var(--color-white); border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; font-family: var(--font); min-height: 48px; }

/* ===== Footer ===== */
.footer { background: var(--color-text); color: rgba(255,255,255,0.75); padding: 16px 0 0; }
.footer__grid { display: flex; justify-content: center; align-items: center; gap: 48px; padding-bottom: 14px; }
.footer__brand { display: flex; align-items: center; gap: 6px; }
.footer__logo-img { height: 24px; width: auto; }
.footer__col { text-align: center; }
.footer__col strong { color: var(--color-white); font-size: 0.95rem; }
.footer__col p { font-size: 0.82rem; margin-top: 2px; line-height: 1.4; }
.footer__col a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.footer__col a:hover { color: var(--color-white); }
.footer__heading { color: var(--color-white); font-weight: 700; font-size: 0.78rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer__social { display: flex; gap: 8px; justify-content: center; }
.footer__social-link { width: 32px; height: 32px; border-radius: 8px; background: transparent; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.footer__social-link:hover { transform: translateY(-2px); }
.footer__social-link svg { width: 32px; height: 32px; color: rgba(255,255,255,0.85); }
.footer__map-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.8rem; border-bottom: 1px dashed rgba(255,255,255,0.3); padding-bottom: 1px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 10px 0; text-align: center; font-size: 0.78rem; opacity: 0.5; }

/* ===== Loading ===== */
.camp-loading { padding: 100px 0; text-align: center; color: var(--color-text-light); }

/* ===== INDEX PAGE ===== */
.header { background: var(--color-white); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.header__logo-icon { font-size: 1.6rem; }
.header__logo-sub { font-weight: 400; font-size: 0.85rem; color: var(--color-text-light); }
.header__phone { font-weight: 600; color: var(--color-primary); font-size: 0.95rem; }
.hero { background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #c084fc 100%); color: var(--color-white); padding: 80px 0 90px; text-align: center; }
.hero__title { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero__subtitle { font-size: 1.2rem; opacity: 0.9; max-width: 500px; margin: 0 auto 32px; }
.hero__btn { display: inline-block; background: var(--color-white); color: var(--color-primary); font-weight: 700; font-size: 1.05rem; padding: 14px 36px; border-radius: 50px; transition: transform var(--transition), box-shadow var(--transition); }
.hero__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.about { padding: 80px 0; }
.about__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about__item { background: var(--color-white); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.about__icon { font-size: 2.5rem; margin-bottom: 16px; }
.about__item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.about__item p { color: var(--color-text-light); font-size: 0.9rem; }
.camps { padding: 40px 0 80px; }
.camps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 40px; }
.camp-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.camp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.camp-card__image { height: 200px; background: linear-gradient(135deg, var(--card-color, var(--color-primary)) 0%, color-mix(in srgb, var(--card-color, var(--color-primary)), white 30%) 100%); display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; }
.camp-card__age { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.95); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.camp-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.camp-card__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.camp-card__desc { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.camp-card__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.camp-card__price { font-size: 1.3rem; font-weight: 800; color: var(--color-camp); }
.camp-card__shifts { font-size: 0.85rem; color: var(--color-text-light); }
.camp-card__btn { display: block; text-align: center; padding: 12px; background: var(--card-color, var(--color-primary)); color: var(--color-white); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; transition: opacity var(--transition); }
.camp-card__btn:hover { opacity: 0.9; }
.cta { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-pink)); color: var(--color-white); padding: 60px 0; text-align: center; }
.cta__title { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta__text { opacity: 0.9; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta__btn { display: inline-block; background: var(--color-white); color: var(--color-primary); font-weight: 700; padding: 14px 36px; border-radius: 50px; transition: transform var(--transition); }
.cta__btn:hover { transform: translateY(-2px); }

/* ===== Split Layout ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.split-content {
  min-width: 0;
}
.split-media {
  position: relative;
}
.split-media__inner {
  position: sticky;
  top: 80px;
  height: calc(100vh - 100px);
  padding: 20px 20px 20px 0;
}
.media-item {
  position: absolute;
  inset: 20px 20px 20px 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
}
.media-item.active {
  opacity: 1;
  pointer-events: auto;
}
.media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  overflow: hidden;
}
.media-placeholder svg {
  opacity: 0.5;
}
.media-placeholder span {
  font-style: italic;
  opacity: 0.6;
}
.media-placeholder--video { cursor: pointer; }
.media-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  backdrop-filter: blur(6px);
  transition: transform var(--transition);
}
.media-placeholder--video:hover .media-play {
  transform: scale(1.1);
}
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
/* Media grid: 1 big on top + 2 small on bottom */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 1fr;
  gap: 8px;
  width: 100%;
  height: 100%;
}
.media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
}
.media-grid__big {
  grid-column: 1 / -1;
}
/* Video slide: video on top (16:9) + photos fill rest */
.media-vslide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 100%;
}
.media-vslide__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.media-vslide__video iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.media-vslide__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.media-vslide__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
}

/* Split container (narrower than .container) */
.split-container {
  padding: 0 32px 0 max(20px, calc((100vw - 1400px) / 2 + 20px));
}

/* ===== Grid variants for split layout ===== */
.cards-grid--1 { grid-template-columns: 1fr; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ===== Horizontal Card Variants ===== */
.prog-card--horizontal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  padding: 24px 20px;
}
.prog-card--horizontal .prog-card__icon {
  margin: 0;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.prog-card--horizontal .prog-card__title {
  font-size: 1rem;
  margin-bottom: 4px;
}
.prog-card--horizontal .prog-card__text {
  font-size: 0.85rem;
}

.person-card--horizontal {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  padding: 24px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.person-card--horizontal .person-card__photo {
  margin: 0;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.person-card--horizontal .person-card__placeholder {
  width: 32px;
  height: 32px;
}
.person-card--horizontal .person-card__photo-label {
  font-size: 0.5rem;
}
.person-card--horizontal .person-card__body {
  flex: 1;
  min-width: 0;
}
.person-card--horizontal .person-card__name {
  font-size: 1rem;
}
.person-card--horizontal .person-card__role {
  margin-bottom: 8px;
}
.person-card--horizontal .person-card__text {
  font-size: 0.85rem;
}

/* ===== Section Backgrounds ===== */
/* All content sections: white base so photos show cleanly */
.section--advantages { background: #fff; }
.section--education { background: #fff; }
.section--fun { background: #fff; }
.section--team { background: #fff; padding-bottom: 40px; }
#schedule { padding-top: 40px; background: #fff; }
.section--shifts { background: #fff; }
.section--reviews-bg { background: #fff; }
.section--faq { background: #fff; }

/* ===== Blurred Photo Backgrounds ===== */
.section--advantages,
.section--education,
.section--team,
.section--reviews-bg,
.section--faq {
  position: relative;
  overflow: hidden;
}

/* Photo layer — no ::after overlay, white bg already handles readability */
.section--advantages::before,
.section--education::before,
.section--team::before,
.section--reviews-bg::before,
.section--faq::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* Content above photo */
.section--advantages > .split-container,
.section--education > .split-container,
.section--team > .split-container,
.section--reviews-bg > .container,
.section--reviews-bg > .reviews-carousel,
.section--faq > .container {
  position: relative;
  z-index: 1;
}

/* Per-section background images */
.section--advantages::before { background-image: url('../images/bg/chess-board-top.jpg'); }
.section--education::before { background-image: url('../images/bg/chess-pieces-closeup.jpg'); }
.section--team::before { background-image: url('../images/bg/chess-row-side.jpg'); }
.section--reviews-bg::before { background-image: url('../images/bg/chess-lone-pawn.jpg'); }
.section--faq::before { background-image: url('../images/bg/chess-hand-move.jpg'); }

/* ===== #program — точечный фон (тест) ===== */
#program {
  position: relative;
  overflow: hidden;
}
#program::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/bg/chess-hand-move.jpg');
  background-size: cover;
  background-position: center bottom;
  filter: blur(4px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}
#program > * {
  position: relative;
  z-index: 2;
}

/* ===== #advantages — доска сверху ===== */
#advantages {
  position: relative;
  overflow: hidden;
}
#advantages::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/bg/chess-row-side.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: blur(4px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}
#advantages > * {
  position: relative;
  z-index: 2;
}

/* ===== #entertainment — ряд фигур ===== */
#entertainment {
  position: relative;
  overflow: hidden;
}
#entertainment::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/bg/chess-row-side.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}
#entertainment > * {
  position: relative;
  z-index: 2;
}

/* ===== #counselors — рука с фигурой ===== */
#counselors {
  position: relative;
  overflow: hidden;
}
#counselors::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/bg/chess-pieces-closeup.jpg');
  background-size: cover;
  background-position: center top;
  filter: blur(3px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}
#counselors > * {
  position: relative;
  z-index: 2;
}

/* ===== #schedule — одинокая пешка ===== */
#schedule {
  position: relative;
  overflow: hidden;
}
#schedule::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/bg/chess-lone-pawn.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}
#schedule > * {
  position: relative;
  z-index: 2;
}

/* ===== #faq — обновить до нового стиля ===== */
#faq {
  position: relative;
  overflow: hidden;
}
#faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/bg/chess-board-top.jpg');
  background-size: cover;
  background-position: center top;
  filter: blur(6px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}
#faq > * {
  position: relative;
  z-index: 2;
}

/* ===== Wave Separators ===== */
.wave-sep { line-height: 0; margin-top: -1px; position: relative; z-index: 5; }
.wave-sep svg { display: block; width: 100%; height: 50px; }
.wave-sep--flip svg { transform: scaleX(-1); }
.wave-sep--hero { margin-top: -2px; z-index: 10; }
.wave-sep--hero svg { height: 60px; }

/* ===== Chess Pattern Decoration ===== */
.chess-pattern-decor {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%),
    linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  color: var(--color-camp);
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}
.section--education > .container { position: relative; z-index: 2; }

/* ===== Review Blobs ===== */
.reviews-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.blob { position: absolute; border-radius: 50%; }
.blob--1 { width: 400px; height: 400px; background: radial-gradient(circle, var(--color-camp) 0%, transparent 70%); opacity: 0.05; top: -100px; left: -100px; }
.blob--2 { width: 350px; height: 350px; background: radial-gradient(circle, var(--color-amber) 0%, transparent 70%); opacity: 0.06; bottom: -80px; right: -50px; }
.blob--3 { width: 250px; height: 250px; background: radial-gradient(circle, var(--color-camp) 0%, transparent 70%); opacity: 0.04; top: 40%; left: 55%; }
.section--reviews-bg > .container,
.section--reviews-bg > .reviews-carousel { position: relative; z-index: 2; }

/* ===== Disable blurred bg photos on mobile ===== */
@media (max-width: 768px) {
  .section--advantages::before,
  .section--education::before,
  .section--team::before,
  .section--reviews-bg::before,
  .section--faq::before {
    display: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__video { max-width: 480px; }
  .hero__title { font-size: 2.2rem; }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: repeat(2, 1fr); }
  .camps__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { flex-wrap: wrap; gap: 24px; }
  .section { padding: 60px 0; }
  /* Split layout: stack on tablets/mobile */
  .split-layout { grid-template-columns: 1fr; }
  .split-media { display: none; }
  .split-container { padding: 0 20px; }
  .prog-card--horizontal { flex-direction: column; text-align: center; }
  .prog-card--horizontal .prog-card__icon { margin: 0 auto; }
  .person-card--horizontal { flex-direction: column; text-align: center; }
  .person-card--horizontal .person-card__photo { margin: 0 auto; }
}

@media (max-width: 600px) {
  .shift-modal__wrap { width: 95%; max-height: 85vh; }
  .shift-modal__body { padding: 28px 20px 12px; }
  .shift-modal__footer { padding: 14px 20px 20px; }
  .shift-modal__close { width: 48px; height: 48px; top: 10px; right: 10px; }
  .shift-modal__badge { min-width: 100%; }
  .shift-modal__meta { gap: 8px; }
  .form-modal__wrap { width: 95%; }
  .form-modal__body { padding: 28px 20px; }
  .form-modal__close { width: 48px; height: 48px; top: 10px; right: 10px; }
  .nav__links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--color-white); flex-direction: column; padding: 12px 20px 16px; border-bottom: 1px solid var(--color-border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 100; }
  .nav__links.open { display: flex; }
  .nav__link { padding: 10px 0; font-size: 0.95rem; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 50px 0 60px; }
  .hero--camp { padding: 36px 0 44px; }
  .hero__title { font-size: 1.8rem; }
  .hero__title-sub { font-size: 1.1rem; }
  .hero__subtitle { font-size: 0.93rem; }
  .hero__video { max-width: 100%; }
  .cards-grid--4, .cards-grid--3 { grid-template-columns: 1fr; }
  .cards-grid--2 { grid-template-columns: 1fr; }
  .cards-grid--3.cards-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cards-grid--2.cards-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .review-card { min-width: 280px; }
  .stats-bar { padding: 40px 0; }
  .wave-sep svg { height: 35px; }
  .wave-sep--hero svg { height: 40px; }
  .chess-pattern-decor { display: none; }
  .blob { display: none; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-bar__number { font-size: 1.8rem; }
  .about__grid { grid-template-columns: 1fr; }
  .camps__grid { grid-template-columns: 1fr; }
  .shifts-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .section__title { font-size: 1.4rem; margin-bottom: 28px; }
  .section-title { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 28px 20px; }
  .cta-banner { padding: 14px 0; }
  .cta-banner__inner { flex-direction: column; text-align: center; gap: 16px; }
  .cta-banner__text { font-size: 1.05rem; }
  .footer__grid { flex-direction: column; gap: 16px; }
  .header__phone { font-size: 0.85rem; }
  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
}
