/* Лендинг D (СПб): кобальт + лайм + небесно-голубой, заголовки Dela Gothic One, текст Rubik */
:root {
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Dela Gothic One', 'Rubik', sans-serif;

  --cobalt: #2338ff;
  --cobalt-2: #1a2bd6;
  --navy: #0b0f2b;
  --sky: #e9efff;
  --sky-2: #d6e1ff;
  --lime: #d4ff3a;
  --pink: #ff8fc8;
  --white: #ffffff;
  --text: #0b0f2b;
  --muted: #535a78;
  --line: #d3dbf3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--sky); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 6vw, 78px); }
h2 { font-size: clamp(28px, 3.8vw, 46px); }
h3 { font-size: 20px; line-height: 1.2; }
p { margin: 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
.sticker { display: inline-block; padding: 8px 16px; border-radius: 99px; background: var(--lime); color: var(--navy); font-weight: 600; font-size: 14px; transform: rotate(-3deg); }
.head { max-width: 700px; margin-bottom: 48px; }
.head p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.head .sticker { margin-bottom: 18px; }

/* Шапка */
.header { background: var(--cobalt); color: var(--white); }
.header .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.wordmark { font: 400 20px var(--font-head); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.wordmark i { font-style: normal; background: var(--lime); color: var(--navy); padding: 2px 9px 4px; border-radius: 8px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; opacity: .8; }
.nav a:hover { opacity: 1; }
.header-phone { padding: 11px 20px; border-radius: 99px; background: var(--white); color: var(--cobalt); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Первый экран */
.hero { background: var(--cobalt); color: var(--white); padding: 64px 0 0; position: relative; overflow: hidden; }
.hero-bg { position: absolute; right: -2vw; bottom: 40px; font: 400 clamp(120px, 22vw, 330px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .16); pointer-events: none; user-select: none; white-space: nowrap; }
.hero .container { position: relative; }
.hero .sticker { margin-bottom: 26px; }
.hero h1 { max-width: 13ch; }
.hero h1 span { color: var(--lime); }
.hero-lead { font-size: 20px; max-width: 540px; margin-top: 24px; color: #dfe4ff; }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; padding-bottom: 150px; max-width: 820px; }
.hero-cards div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: 20px 22px; }
.hero-cards b { display: block; font: 400 26px var(--font-head); color: var(--lime); }
.hero-cards span { font-size: 15px; color: #dfe4ff; }

/* Виджет поверх кобальта */
.booking { padding: 0 0 40px; margin-top: -110px; position: relative; z-index: 2; }
.booking-card { background: var(--white); border-radius: 32px; padding: 34px; box-shadow: 0 30px 80px rgba(11, 15, 43, .18); }
.booking-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.booking-title h2 { font-size: clamp(22px, 2.6vw, 30px); }
.booking-title p { color: var(--muted); font-size: 15px; }
/* Оформление виджета бронирования: переменные проходят внутрь его Shadow DOM */
#booking-widget {
  --rw-accent: #2338ff;
  --rw-accent-text: #ffffff;
  --rw-text: #0b0f2b;
  --rw-muted: #535a78;
  --rw-bg: #ffffff;
  --rw-surface: #e9efff;
  --rw-border: #d3dbf3;
  --rw-radius: 18px;
  --rw-font: 'Rubik', system-ui, sans-serif;
}
.widget-host { min-height: 320px; transition: opacity .3s; }
.widget-host.is-loading { opacity: 0; }
.widget-fallback { margin: 0; padding: 80px 16px; text-align: center; color: var(--muted); }

/* Неделя в Питере */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { background: var(--white); border-radius: 22px; padding: 20px 16px 22px; display: flex; flex-direction: column; min-height: 230px; }
.day .d { font: 400 15px var(--font-head); color: var(--cobalt); }
.day h3 { font-size: 17px; margin: 14px 0 8px; }
.day p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.day:nth-child(3n+2) { background: var(--lime); }
.day:nth-child(3n+2) p { color: #3d4410; }
.day:nth-child(3n) { background: var(--navy); color: var(--white); }
.day:nth-child(3n) .d { color: var(--lime); }
.day:nth-child(3n) p { color: #b8bdd6; }
.week-note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Сравнение */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.vs-col { border-radius: 28px; padding: 36px; }
.vs-col.them { background: var(--white); }
.vs-col.us { background: var(--cobalt); color: var(--white); }
.vs-col h3 { font-size: 24px; margin-bottom: 20px; }
.vs-col.us h3 { color: var(--lime); }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-col li { display: flex; gap: 12px; }
.vs-col li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 9px; }
.vs-col.them li { color: var(--muted); }
.vs-col.them li::before { background: var(--line); }
.vs-col.us li::before { background: var(--lime); }
.vs-mid { display: grid; place-items: center; }
.vs-mid span { width: 76px; height: 76px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font: 400 22px var(--font-head); transform: rotate(-8deg); }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); border-radius: 26px; padding: 26px 24px 28px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cobalt); color: var(--lime); font: 400 22px var(--font-head); margin-bottom: 22px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Условия */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.terms > div { border-radius: 28px; padding: 36px; }
.terms .need { background: var(--white); }
.terms .incl { background: var(--lime); }
.terms h3 { font-size: 22px; margin-bottom: 18px; }
.terms ul { list-style: none; margin: 0; padding: 0; }
.terms li { padding: 13px 0; border-bottom: 1px solid rgba(11, 15, 43, .12); }
.terms li:last-child { border-bottom: 0; }

/* FAQ */
.faq-sec { background: var(--navy); color: var(--white); }
.faq-sec .head p { color: #b8bdd6; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq-grid .head { margin: 0; }
.faq details { background: rgba(255, 255, 255, .06); border-radius: 20px; margin-bottom: 10px; }
.faq summary { padding: 22px 64px 22px 26px; cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-size: 22px; }
.faq details[open] summary::after { content: '–'; background: var(--pink); }
.faq details p { padding: 0 26px 24px; color: #b8bdd6; }

/* Заявка */
.cta { padding: 96px 0; }
.cta-box { background: var(--lime); border-radius: 36px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; overflow: hidden; }
.cta-box::before { content: 'СПб'; position: absolute; left: -10px; bottom: -60px; font: 400 220px/1 var(--font-head); color: rgba(11, 15, 43, .06); pointer-events: none; }
.cta-box > * { position: relative; }
.cta .lead { margin-top: 16px; max-width: 440px; color: #3d4410; }
.cta-phone { display: inline-block; margin-top: 28px; font: 400 32px var(--font-head); text-decoration: none; }
.cta-phone + small { display: block; color: #3d4410; font-size: 14px; }
.form { display: grid; gap: 12px; align-content: start; }
.form input { width: 100%; padding: 17px 20px; border: 0; border-radius: 16px; font: 17px var(--font); background: var(--white); color: var(--text); }
.form input:focus { outline: 3px solid var(--cobalt); }
.form .hp { position: absolute; left: -9999px; width: 1px; }
.btn { padding: 19px 28px; border: 0; border-radius: 16px; cursor: pointer; background: var(--cobalt); color: var(--white); font: 400 17px var(--font-head); }
.btn:hover { background: var(--cobalt-2); }
.btn:disabled { opacity: .6; cursor: wait; }
.consent { font-size: 13px; color: #3d4410; }
.form-status { font-size: 15px; min-height: 22px; font-weight: 500; }
.form-status[data-state="error"] { color: #b3261e; }

/* Подвал */
.footer { background: var(--cobalt); color: #dfe4ff; padding: 44px 0; font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer b { color: var(--white); font: 400 17px var(--font-head); }
.footer p + p { margin-top: 6px; }

@media (max-width: 1000px) {
  .week { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .nav { display: none; }
  .header-phone { margin-left: auto; }
  .vs, .terms, .faq-grid, .cta-box { grid-template-columns: 1fr; }
  .vs-mid span { width: 60px; height: 60px; font-size: 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 40px 28px; gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header .container { height: 64px; }
  .wordmark { font-size: 14px; white-space: nowrap; gap: 6px; }
  .hero-cards div { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: 18px; }
  .hero-cards b { font-size: 20px; white-space: nowrap; }
  .header-phone { padding: 8px 14px; font-size: 14px; }
  .hero { padding-top: 44px; }
  .hero-lead { font-size: 18px; }
  .hero-cards { grid-template-columns: 1fr; padding-bottom: 130px; }
  .booking { margin-top: -100px; }
  .booking-card { padding: 18px; border-radius: 24px; }
  .week { grid-template-columns: 1fr 1fr; }
  .day { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .vs-col, .terms > div { padding: 26px 22px; }
  .cta { padding: 64px 0; }
  .cta-box { border-radius: 26px; padding: 32px 20px; }
  .cta-phone { font-size: 26px; }
}
