/* «Горизонт» — синий + жёлтый */
:root {
  --bg: #ffffff;
  --surface: #eff4ff;
  --surface-2: #dce6fc;
  --text: #13204a;
  --muted: #5b6790;
  --line: rgba(19, 32, 74, .1);
  --accent: #2457e6;
  --accent-hover: #1a45bf;
  --accent-ink: #fff;
  --accent-2: #ffcc1f;
  --dark: #0f1a40;
  --radius: 22px;
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}
.h1 { font-weight: 800; }
.h2 { font-weight: 700; }
.h3 { font-weight: 600; }
mark { background: linear-gradient(transparent 55%, var(--accent-2) 55%, var(--accent-2) 92%, transparent 92%); color: inherit; padding: 0 .08em; }
.card { border: 2px solid var(--line); }
.card:hover { border-color: var(--accent); }

/* hero */
.hero { padding: 48px 0 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__sticker { display: inline-block; padding: 8px 16px; background: var(--accent-2); color: var(--text); font-weight: 700; font-size: 14px; border-radius: 10px; transform: rotate(-2deg); margin-bottom: 22px; box-shadow: 4px 4px 0 var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__facts { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero__facts b { display: block; font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.hero__facts span { color: var(--muted); font-size: 14px; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero__circle { position: absolute; inset: 4%; border-radius: 50%; background: var(--accent); }
.hero__photo { position: absolute; inset: 10%; border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.hero__shape { position: absolute; }
.hero__shape--star { top: 2%; right: 6%; font-size: 64px; color: var(--accent-2); animation: spin 14s linear infinite; text-shadow: 3px 3px 0 var(--text); }
.hero__shape--tri { left: -2%; top: 30%; width: 0; height: 0; border-left: 28px solid transparent; border-right: 28px solid transparent; border-bottom: 48px solid #ff7a59; transform: rotate(-18deg); animation: wobble 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 50% { transform: rotate(10deg) translateY(-8px); } }
.hero__note { position: absolute; left: 0; bottom: 6%; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: grid; font-size: 14px; }
.hero__note span { color: var(--muted); }

/* why */
.why__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 30px; background: color-mix(in srgb, var(--c) 18%, #fff); margin-bottom: 16px; transition: transform .3s var(--ease); }
.why:hover .why__ico { transform: scale(1.1) rotate(-6deg); }

/* programs */
.programs .tabs__btn { border: 2px solid var(--line); background: #fff; }
.programs .tabs__btn.is-active { border-color: var(--accent); }
.prog { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.prog__main { background: var(--surface); border-radius: var(--radius); padding: 36px; }
.prog__title { font-size: clamp(24px, 2.6vw, 32px); }
.prog__lead { color: var(--muted); margin-top: 10px; max-width: 640px; }
.prog__subjects { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.prog__subjects span { padding: 6px 14px; background: #fff; border-radius: 999px; font-weight: 600; font-size: 14px; }
.prog__list { display: grid; gap: 8px; }
.prog__list li { padding-left: 28px; position: relative; }
.prog__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-2); box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--accent-2); }
.prog__price { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 4px; }
.prog__price small { color: rgba(255,255,255,.6); }
.prog__price b { font-family: var(--font-head); font-size: 40px; color: var(--accent-2); }
.prog__price span { color: rgba(255,255,255,.7); margin-bottom: auto; padding-bottom: 24px; }
.prog__price .btn { background: var(--accent-2); color: var(--text); }
.prog__price .btn:hover { background: #ffd84d; box-shadow: 0 12px 28px -8px rgba(255,204,31,.6); }

/* day timeline */
.section--blue { background: var(--accent); color: #fff; }
.section--blue .eyebrow { color: var(--accent-2); }
.section--blue .lead { color: rgba(255,255,255,.8); }
.day { background: #fff; color: var(--text); border-radius: var(--radius); padding: 32px; }
.day__switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; }
.day__switch button { padding: 10px 20px; border-radius: 999px; font-weight: 700; transition: background .25s, color .25s; }
.day__switch button.is-active { background: var(--accent); color: #fff; }
.day__now { margin: 18px 0 24px; color: var(--muted); }
.day__now b { color: var(--text); }
.timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tl { position: relative; padding: 16px; border-radius: 16px; background: var(--surface); animation: fadeUp .4s var(--ease) both; transition: transform .25s; }
.tl:hover { transform: translateY(-4px); }
.tl__time { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.tl__ico { font-size: 26px; display: block; margin: 6px 0; }
.tl__name { font-weight: 700; line-height: 1.3; }
.tl__desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tl.is-now { background: var(--accent-2); box-shadow: 0 10px 24px -8px rgba(255,204,31,.8); }
.tl.is-now .tl__time { color: var(--text); }
.tl.is-now::after { content: "сейчас"; position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; background: var(--text); color: #fff; padding: 2px 8px; border-radius: 999px; }
.tl.is-past { opacity: .55; }

/* life gallery */
.life { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 16px; }
.life__i { display: block; cursor: zoom-in; }
.life__i--big { grid-row: span 2; }

/* tour */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--surface); border-radius: 32px; padding: 48px; position: relative; overflow: hidden; }
.tour::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--accent-2); opacity: .5; }
.tour__text { position: relative; }
.tour__form { position: relative; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.tour__form .chips { gap: 8px; }
.tour__form .chip span { padding: 8px 14px; font-size: 14px; display: grid; text-align: center; line-height: 1.25; }
.tour__form .chip small { font-weight: 500; opacity: .75; font-size: 12px; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 400px; }
  .prog { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 1fr; padding: 32px; }
  .life { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px 180px; }
  .life__i--big { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 20px; }
  .hero__facts b { font-size: 24px; }
  .hero__shape--star { font-size: 44px; }
  .programs .tabs__list { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 24px; padding: 0 20px 6px; scrollbar-width: none; }
  .programs .tabs__btn { flex-shrink: 0; }
  .prog__main { padding: 22px; }
  .day { padding: 20px 14px; }
  .day__switch button { padding: 8px 12px; font-size: 14px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tl { padding: 12px; }
  .life { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; gap: 8px; }
  .tour { padding: 22px 16px; border-radius: 24px; }
  .tour__form { padding: 20px 16px; }
}
