:root {
  --blue: #407BFF;
  --blue-dark: #2c5fd1;
  --ink: #1a2238;
  --text: #2c3a5b;
  --muted: #6b7794;
  --bg: #f6f8fc;
  --line: #e3e8f3;
  --white: #ffffff;
  --shadow: 0 10px 40px -10px rgba(64, 123, 255, 0.25);
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TOPBAR === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.topbar__logo img { height: 28px; }
.topbar__nav {
  flex: 1;
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.topbar__nav a {
  color: var(--text);
  font-weight: 500;
}
.topbar__nav a:hover { color: var(--blue); }
.topbar__phone {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.18s, background 0.18s;
  font-family: inherit;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.btn--lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #eaf1ff 0%, #f7faff 100%);
  padding: 64px 0 80px;
}
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero__tag {
  display: inline-block;
  background: rgba(64, 123, 255, 0.1);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 24px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.meta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.meta-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.meta-card__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.meta-card__value--price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.meta-card__old {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  text-decoration: line-through;
}
.hero__image img {
  width: 100%;
  border-radius: var(--radius);
}

/* === SECTIONS === */
section { padding: 72px 0; }
.section-title {
  font-size: 36px;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 36px;
}

/* === STORY === */
.story { background: var(--white); }
.story__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.story__text p { margin: 0 0 16px; font-size: 17px; }
.story__text em { color: var(--blue); font-style: normal; font-weight: 600; }
.story__image img { border-radius: var(--radius); }

/* === SCHEDULE === */
.schedule { background: var(--bg); }
.acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.acc[open] { box-shadow: 0 6px 24px -10px rgba(64, 123, 255, 0.25); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__time {
  background: rgba(64, 123, 255, 0.08);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.acc__title { font-weight: 600; color: var(--ink); }
.acc__body {
  padding: 0 24px 18px 24px;
  color: var(--muted);
}

/* === INCLUDED CARDS === */
.included { background: var(--white); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: #fff;
}
.card__icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.card__title {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ink);
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* === BENEFITS === */
.benefits { background: var(--bg); }
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.benefits__col {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.benefits__heading {
  font-size: 24px;
  margin: 0 0 20px;
  color: var(--ink);
}
.accent { color: var(--blue); }
.benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits__list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.benefits__list li:last-child { border-bottom: none; }
.benefits__list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* === GALLERY === */
.gallery { background: var(--white); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.gallery__grid img:hover { transform: scale(1.02); }

/* === TEAM === */
.team { background: var(--bg); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.person {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.person__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.person h3 {
  margin: 0 0 4px;
  color: var(--ink);
}
.person__role {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.person p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* === COST === */
.cost { background: linear-gradient(135deg, #eaf1ff 0%, #f7faff 100%); }
.cost__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cost__price {
  font-size: 64px;
  font-weight: 800;
  color: var(--ink);
  margin: 20px 0 4px;
  letter-spacing: -0.02em;
}
.cost__price span { font-size: 36px; color: var(--blue); }
.cost__old {
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 20px;
}
.cost__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.cost__list li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.cost__list li::before {
  content: "•";
  color: var(--blue);
  position: absolute;
  left: 8px;
}
.cost__phone {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}
.cost__phone a { font-weight: 600; }
.cost__visual img {
  border-radius: var(--radius);
  width: 100%;
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}
.footer p { margin: 0 0 8px; }
.footer__demo { color: rgba(255, 255, 255, 0.45); font-size: 13px; }

/* === BOOKING TOAST === */
.booking-toast {
  position: fixed;
  bottom: 32px;
  left: 32px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.35);
  z-index: 60;
  max-width: 360px;
  border: 2px solid #2dd97a;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.booking-toast[hidden] { display: none; }
@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.booking-toast__icon { font-size: 28px; line-height: 1; }
.booking-toast__title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.booking-toast__body {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 6px;
}
.booking-toast__hint {
  font-size: 12px;
  color: var(--muted);
}
.booking-toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 4px;
}
.booking-toast__close:hover { color: var(--ink); }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero__inner, .story__grid, .cost__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .hero__meta { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid, .team__grid, .gallery__grid { grid-template-columns: 1fr; }
  .topbar__nav { display: none; }
}
