/* Снято с campus-web-schedule: inline-стили views/schedule.html + public/css/landing.css + public/css/campus-ui.css. Правки под Бразилию — в <style> в index.html. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
  color: #1a1a2e;
  background: #fff;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

#schedule-download-btn {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 80px 0;
  pointer-events: none;
  transition: padding 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}
nav.scrolled {
  padding: 0;
}
.nav-pill {
  max-width: 1280px;
  margin: 0 auto;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  border-radius: 66px;
  background: rgba(244, 245, 248, 0.62);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 24px rgba(20, 30, 60, 0.1);
  transition: border-radius 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s ease,
    padding 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.scrolled .nav-pill {
  max-width: none;
  width: 100%;
  border-radius: 0;
  padding: 0 80px;
  border: none;
  border-bottom: 1px solid rgba(20, 30, 60, 0.08);
  box-shadow: 0 4px 18px rgba(20, 30, 60, 0.06);
  background: rgba(244, 245, 248, 0.9);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* Отзывы submenu: hover on desktop, focus-within for keyboards. */
.nav-links li.has-submenu {
  position: relative;
}
.nav-links .submenu-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s;
}
.nav-links li.has-submenu:hover .submenu-toggle::after,
.nav-links li.has-submenu:focus-within .submenu-toggle::after {
  transform: translateY(1px) rotate(225deg);
}
.nav-links .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 6px;
  min-width: 240px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(20, 30, 60, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(20, 30, 60, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}
.nav-links li.has-submenu:hover .submenu,
.nav-links li.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .submenu a {
  display: block;
  white-space: nowrap;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
/* Mobile drawer: both destinations listed under a section heading. */
.mobile-nav-heading {
  display: block;
  padding: 14px 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #808080;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  justify-content: center;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #1a1a2e;
  font-size: 15px;
  padding: 7px 14px;
  border-radius: 32px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  font-weight: 500;
  display: block;
}
.nav-links a:hover {
  background: rgba(73, 146, 255, 0.1);
  color: #4992ff;
}
.nav-links a.active {
  color: #4992ff;
}
.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.nav-store-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
  text-decoration: none;
  overflow: hidden;
}
.nav-store-btn:hover {
  opacity: 0.75;
}

/* Header "Скачать" pill. Hidden until /js/download-app.js confirms a
   phone — visibility follows the device, not the viewport width, so a
   narrowed desktop window never gets it. */
.nav-download-btn {
  display: none;
  align-items: center;
  gap: 7px;
  height: 35px;
  padding: 0 14px;
  border-radius: 999px;
  background: #4992ff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-download-btn.is-visible {
  display: inline-flex;
}
/* The store logo carries the pill — it stays bigger than the shrunken
   pill would suggest, so the platform reads at a glance. */
.nav-download-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: #fff;
}

.seo-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: left;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
}
.seo-intro-header {
  margin-bottom: 20px;
}
.seo-intro-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(73, 146, 255, 0.12);
  color: #357ee8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.seo-intro h2 {
  margin: 0;
  color: #1a1a2e;
  font-size: 26px;
  line-height: 1.25;
}
.seo-intro h3 {
  margin: 0 0 14px;
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1.4;
}
.seo-intro p {
  margin: 0 0 16px;
}
.seo-intro-lead {
  color: #25283a;
  font-size: 17px;
  font-weight: 500;
}
.seo-intro-features {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #e2e7ef;
  border-radius: 18px;
  background: #fff;
}
.seo-intro-features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-intro-features li {
  position: relative;
  padding-left: 24px;
  color: #34384a;
  line-height: 1.45;
}
.seo-intro-features li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #4992ff;
  font-weight: 800;
}
.seo-intro a {
  color: #357ee8;
  font-weight: 600;
  text-decoration: none;
}
.seo-intro a:hover {
  text-decoration: underline;
}
.seo-intro-cta {
  padding-top: 18px;
  border-top: 1px solid #dde2ea;
}
.seo-intro-note {
  margin-bottom: 0 !important;
  color: #6a6e7d;
  font-size: 14px;
}
.seo-details-section {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
}
.hero + .seo-details-section {
  margin-top: -30px;
}
.seo-details {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.seo-details summary {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 20px;
  border: 1px solid #dfe3ea;
  border-radius: 999px;
  background: #fff;
  color: #1a1a2e;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  list-style: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.seo-details summary::-webkit-details-marker {
  display: none;
}
.seo-details summary::after {
  content: "+";
  color: #7c3aed;
  font-size: 20px;
  font-weight: 400;
  line-height: 16px;
}
.seo-details[open] summary {
  border-color: #c8d8f4;
  background: #f5f8ff;
}
.seo-details[open] summary::after {
  content: "−";
}
.seo-details summary:hover,
.seo-details summary:focus-visible {
  border-color: #a9c4f2;
  background: #f5f8ff;
}
.seo-details summary:focus-visible {
  outline: 3px solid rgba(73, 146, 255, 0.3);
  outline-offset: 3px;
}
.seo-details .seo-intro {
  max-width: none;
  margin: 20px 0 0;
  padding: 28px;
  border: 1px solid #e4e8ef;
  border-radius: 24px;
  background: #f4f5f8;
}
.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: #1d4ed8;
}
.schedule {
  padding: 154px 0 60px;
  background: #f8f9ff;
}
.schedule-table {
  background: #fff;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Dropdown filters */
.sched-filters {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  position: relative;
  z-index: 50;
}
.dd-wrap {
  position: relative;
}
.dd-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  min-width: 180px;
  justify-content: space-between;
  user-select: none;
  transition: border-color 0.15s;
}
.dd-trigger:hover {
  border-color: #2563eb;
}
.dd-trigger.open {
  border-color: #2563eb;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.dd-trigger-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dd-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.dd-swap {
  width: 16px;
  height: 16px;
  color: #888;
  flex-shrink: 0;
}
.dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1.5px solid #2563eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  min-width: 100%;
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.dd-wrap.open .dd-menu {
  display: block;
}
.dd-wrap.open .dd-trigger {
  border-color: #2563eb;
}
.dd-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #1a1a2e;
  cursor: pointer;
  transition: background 0.1s;
}
.dd-item:hover {
  background: #f0f4ff;
}
.dd-item.selected {
  font-weight: 600;
  color: #2563eb;
}

.sched-date-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.sched-date-btn {
  height: 28px;
  box-sizing: border-box;
  padding: 0 14px;
  background: #e9ecf1;
  color: #4b5563;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sched-arrow {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid #e0e7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
}
.sched-grid {
  overflow-x: auto;
  min-height: 400px;
}
/* ───── Schedule webinar slot + ad disclosure (CD-3282) ───── */
.schedule-webinar {
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  overflow: hidden;
}
.schedule-webinar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #eef4ff 0%, #f5f8ff 100%);
}
.schedule-webinar-info {
  min-width: 0;
}
.schedule-webinar-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.schedule-webinar-eyebrow {
  color: #9198a6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.schedule-webinar-title {
  margin: 0 0 4px;
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.schedule-webinar-meta {
  margin: 0;
  color: #6a6e7d;
  font-size: 13px;
}
.schedule-webinar-cta {
  flex-shrink: 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: #357ee8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.schedule-webinar-cta:hover {
  background: #2a68c4;
}
.schedule-webinar-disclosure {
  padding: 2px 8px;
  border: 1px solid rgba(20, 30, 60, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #141e3c;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  cursor: pointer;
}
/* Bottom creative under the grid; .schedule-table keeps overflow
   visible for the dropdowns, so the banner rounds its own corners. */
.schedule-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background: #f5f7fa;
}
.schedule-banner-link {
  display: block;
}
.schedule-banner-img {
  display: block;
  width: 100%;
  height: auto;
  /* The campaign ratio only reserves space until the image loads. */
  aspect-ratio: auto 343 / 64;
  object-fit: cover;
}
.schedule-banner-disclosure {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(20, 30, 60, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(20, 30, 60, 0.14);
  color: #141e3c;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .schedule-banner-disclosure {
    right: 8px;
    bottom: 8px;
    padding: 3px 8px;
    font-size: 10px;
    line-height: 14px;
  }
  .schedule-webinar-card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .schedule-webinar-cta {
    text-align: center;
  }
}
.legal-modal[hidden] {
  display: none;
}
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 20, 40, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.legal-modal-card {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 30, 60, 0.3);
  color: #34384a;
}
.legal-modal-card h2 {
  margin: 0 44px 22px 0;
  color: #141e3c;
  font-size: 26px;
  line-height: 1.25;
}
.legal-modal-section + .legal-modal-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e8ef;
}
.legal-modal-section h3 {
  margin: 0 0 10px;
  color: #141e3c;
  font-size: 16px;
}
.legal-modal-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f7;
  color: #6c7180;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.sched-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.sched-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  white-space: nowrap;
}
.sched-table td {
  padding: 6px 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 12px;
  color: #555;
  vertical-align: top;
}
.sched-table td.time-col {
  color: #999;
  font-size: 11px;
  white-space: nowrap;
  width: 100px;
}
.sched-lesson {
  background: #eef2ff;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
}
.sched-lesson-blue {
  background: #dbeafe;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
}
.sched-lesson-purple {
  background: #ede9fe;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
}
.lesson-type {
  font-size: 9px;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.lesson-type-blue {
  font-size: 9px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.lesson-type-purple {
  font-size: 9px;
  font-weight: 600;
  color: #7c3aed;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.lesson-name {
  font-size: 10px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
}
.lesson-meta {
  font-size: 9px;
  color: #999;
  margin-top: 1px;
}

footer {
  background: #111;
  padding: 32px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.75fr 1.35fr;
  gap: 40px;
  align-items: start;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-info-btn {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #383838;
  border-radius: 50%;
  background: #1d1d1d;
  color: #aaa;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.footer-info-btn:hover,
.footer-info-btn:focus-visible {
  border-color: #686868;
  background: #292929;
  color: #fff;
}
.footer-info-btn:focus-visible {
  outline: 3px solid rgba(73, 146, 255, 0.35);
  outline-offset: 2px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a {
  font-size: 15px;
  color: #777;
  display: block;
  text-decoration: none;
  line-height: 1.5;
}
.footer-col a:hover {
  color: #fff;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 24px;
  padding-top: 18px;
  font-size: 13px;
  color: #555;
  text-align: center;
}
.legal-modal[hidden],
.cookie-toast[hidden] {
  display: none;
}
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 20, 40, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.legal-modal-card {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 30, 60, 0.3);
  color: #34384a;
}
.legal-modal-card h2 {
  margin: 0 44px 22px 0;
  color: #141e3c;
  font-size: 26px;
  line-height: 1.25;
}
.legal-modal-section + .legal-modal-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e8ef;
}
.legal-modal-section h3 {
  margin: 0 0 10px;
  color: #141e3c;
  font-size: 16px;
}
.legal-modal-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.legal-modal-company {
  display: grid;
  gap: 7px;
}
.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f7;
  color: #6c7180;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.cookie-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2200;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-toast-inner {
  display: flex;
  width: min(100%, 960px);
  align-items: center;
  gap: 18px;
  padding: 11px 12px 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(244, 245, 248, 0.92);
  box-shadow: 0 10px 34px rgba(20, 30, 60, 0.18);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  pointer-events: auto;
}
.cookie-toast p {
  flex: 1;
  margin: 0;
  color: #45495a;
  font-size: 13px;
  line-height: 1.45;
}
.cookie-toast button {
  flex: 0 0 auto;
  min-width: 68px;
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: #4992ff;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

/* ───── HAMBURGER BUTTON ───── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ───── MOBILE DRAWER ───── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-nav-drawer.open {
  opacity: 1;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
  margin-bottom: 24px;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-links li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-actions .btn-primary {
  text-align: center;
  width: 100%;
}

/* ───── NAV COLLAPSE 1020px ───── */
@media (max-width: 1020px) {
  nav {
    padding: 20px 24px 0;
  }
  nav.scrolled {
    padding: 0;
  }
  .nav-pill {
    height: 60px;
    padding: 0 20px;
  }
  nav.scrolled .nav-pill {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-store-btn {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ───── TABLET 780px ───── */
@media (max-width: 780px) {
  .sched-filters {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dd-trigger {
    min-width: 140px;
    font-size: 13px;
  }
  .sched-date-nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ───── MOBILE 600px ───── */
@media (max-width: 600px) {
  #schedule-download-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  /* Nav */
  nav {
    padding: 16px 16px 0;
  }
  nav.scrolled {
    padding: 0;
  }
  .nav-pill {
    height: 56px;
    padding: 0 16px;
  }
  nav.scrolled .nav-pill {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-store-btn {
    display: none;
  }
  .nav-burger {
    display: flex;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  .seo-details-section {
    padding-bottom: 52px;
  }
  .hero + .seo-details-section {
    margin-top: -20px;
  }
  .seo-details {
    padding: 0 16px;
  }
  .seo-details summary {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
  }
  .seo-details .seo-intro {
    padding: 20px;
  }
  .seo-intro h2 {
    font-size: 22px;
  }
  .seo-intro-lead {
    font-size: 16px;
  }
  .seo-intro-features {
    padding: 16px;
  }
  .seo-intro-features ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-primary {
    padding: 6px 28px;
    font-size: 14px;
  }

  /* Schedule */
  .schedule {
    padding: 80px 0 40px;
  }
  .sched-filters {
    padding: 12px 16px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .dd-wrap {
    width: 100%;
  }
  .dd-trigger {
    width: 100%;
    min-width: unset;
    font-size: 14px;
  }
  .sched-date-nav {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .sched-date-btn {
    flex: 1;
    text-align: center;
  }
  /* On mobile show schedule as card list instead of horizontal table */
  .sched-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sched-table {
    min-width: 560px;
  }
  .sched-table th,
  .sched-table td {
    padding: 6px 10px;
  }

  /* Footer */
  footer {
    padding: 28px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-col:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid #1e1e1e;
  }
  .footer-bottom {
    margin-top: 22px;
    padding-top: 14px;
  }
  .footer-col a {
    font-size: 14px;
  }
  .legal-modal-card {
    padding: 26px 20px 22px;
    border-radius: 22px;
  }
  .legal-modal-card h2 {
    font-size: 22px;
  }
  .cookie-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
  .cookie-toast-inner {
    align-items: flex-end;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }
  .cookie-toast p {
    font-size: 12px;
  }
}

/* Dynamic dropdown additions */
.dd-search {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  color: #1a1a2e;
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 1;
  box-sizing: border-box;
}
.dd-search::placeholder {
  color: #bbb;
}
.dd-item.hidden {
  display: none;
}
.dd-menu {
  max-height: 480px;
  overflow-y: auto;
}
.sched-empty {
  padding: 48px 24px;
  text-align: center;
  color: #999;
  font-size: 14px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sched-loading {
  padding: 48px 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
}
.sched-error {
  padding: 48px 24px;
  text-align: center;
  color: #e53e3e;
  font-size: 14px;
}
.week-badge {
  font-size: 10px;
  color: #666;
  padding: 2px 8px;
  background: #f0f0f0;
  border-radius: 10px;
  font-weight: 500;
  margin-left: 8px;
}
.today-num {
  background: #2563eb;
  color: #fff;
  padding: 2px 6px;
  border-radius: 20px;
}
.sched-table th.today-col {
  background: #f0f4ff;
}
.sched-table td.today-col {
  background: #f8f9ff;
}
/* Landing sections below the schedule widget: hero, bento grid, testimonials.
   Scoped under .lp-* so the shared header/footer/widget styles stay untouched. */

@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Light.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Medium.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Semibold.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Heavy.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/SF-Pro-Rounded-Black.woff2) format("woff2");
}

:root {
  --lp-blue: #4f63f0;
  --lp-blue-light: #6b7cf5;
  --lp-blue-deep: #3e50d8;
  --lp-lavender: #d9ddff;
  --lp-pink: #fbd9ff;
  --lp-pink-text: #b03cc8;
  --lp-pink-border: #e19bf0;
  --lp-bg: #f3f4fa;
  --lp-card: rgba(255, 255, 255, 0.55);
  --lp-ink: #111118;
  --lp-mute: rgba(35, 36, 58, 0.6);
  --lp-font: "SF Pro Rounded", -apple-system, "SF Pro Display", system-ui,
    sans-serif;
  --lp-g-blue: linear-gradient(170deg, #6b7cf5 0%, #4f63f0 60%, #5c6ef3 100%);
  --lp-sh-sticker: 0 10px 30px rgba(20, 20, 60, 0.15);
  --lp-sh-post: 0 20px 50px rgba(20, 20, 60, 0.16), 0 2px 6px rgba(20, 20, 60, 0.06);
  --lp-r-card: 60px;
}

body {
  background: var(--lp-bg);
}
.lp {
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-font);
  -webkit-font-smoothing: antialiased;
}
.lp-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* ───── Buttons & stickers ───── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 47px;
  padding: 0 20px 0 18px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--lp-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease;
}
/* No transform on hover: it would start a stacking context on the button and
   pull the z-index:-1 glow above its own background. */
.lp-btn:hover {
  background: #1c1c24;
}
/* Animated glow around the black «Скачать» pill: a soft rotating conic halo
   plus a thin colour ring, in the landing palette (blue → pink → lavender).
   `@property` lets the gradient angle animate; browsers without it show a
   static glow. */
@property --campus-glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes campusGlowSpin {
  to {
    --campus-glow-angle: 360deg;
  }
}
@keyframes campusGlowBreathe {
  0%,
  100% {
    filter: blur(12px) saturate(1.1);
  }
  50% {
    filter: blur(16px) saturate(1.35);
  }
}
.lp-btn {
  position: relative;
}
/* Stacking context on the parent, so the z-index:-1 glow sits behind the
   button's own black background rather than on top of it. */
.lp-hero__act,
.lp-dl {
  isolation: isolate;
}
.lp-btn::before,
.lp-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(
    from var(--campus-glow-angle),
    #4f63f0,
    #8f7bff,
    #e19bf0,
    #ff9ad5,
    #6b7cf5,
    #4f63f0
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.lp-btn::before {
  inset: -8px;
  filter: blur(12px) saturate(1.1);
}
.lp-btn::after {
  inset: -2px;
}
.lp-btn:hover::before,
.lp-btn:focus-visible::before,
.lp-btn:hover::after,
.lp-btn:focus-visible::after {
  opacity: 1;
  animation: campusGlowSpin 2.4s linear infinite;
}
.lp-btn:hover::before,
.lp-btn:focus-visible::before {
  opacity: 0.85;
  animation: campusGlowSpin 2.4s linear infinite, campusGlowBreathe 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn:hover::before,
  .lp-btn:hover::after,
  .lp-btn:focus-visible::before,
  .lp-btn:focus-visible::after {
    animation: none;
  }
}

.lp-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
.lp-btn__android {
  width: 20px;
  height: 20px;
  margin-left: -2px;
}
/* On a phone the button carries only that platform's icon, like the header pill. */
[data-app-platform="ios"] .lp-btn__android,
[data-app-platform="android"] .lp-btn__ios {
  display: none;
}

.lp-stk {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  padding: 14px 26px;
  white-space: nowrap;
  /* Double ring: white border outside, inset ring inside. An inset shadow
     follows the pill radius exactly, unlike `outline` with a negative offset. */
  border: 4px solid #fff;
  --lp-stk-ring: var(--lp-blue);
  box-shadow: inset 0 0 0 4px var(--lp-stk-ring), var(--lp-sh-sticker);
  background: var(--lp-lavender);
  color: var(--lp-blue);
  pointer-events: none;
}
.lp-stk--white {
  background: #fff;
}
.lp-stk--pink {
  background: var(--lp-pink);
  color: var(--lp-pink-text);
  --lp-stk-ring: var(--lp-pink-border);
}
.lp-stk--md {
  font-size: 20px;
  padding: 10px 22px;
}
.lp-stk--sm {
  font-size: 17px;
  padding: 8px 18px;
}
.lp-stk--xs {
  font-size: 16px;
  padding: 8px 16px;
}

/* ───── Hero ───── */
.lp-hero {
  padding: 70px 0 0;
  overflow: hidden;
}
.lp-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* The badge asset is white-on-transparent; invert it so it reads on the light hero. */
.lp-badge {
  display: block;
  width: 230px;
  height: auto;
  margin-bottom: 24px;
  filter: invert(1);
}
.lp-hero__title {
  max-width: 760px;
  font-family: var(--lp-font);
  font-size: 66px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
  text-align: center;
}
.lp-hero--org .lp-hero__title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lp-hero__sub {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
}
.lp-hero__sub:empty {
  display: none;
}
.lp-hero__act {
  margin-top: 28px;
}
.lp-hero__media {
  position: relative;
  width: min(420px, 100%);
  margin-top: 36px;
}
/* Box sized by its own width; the image (~1:2.07) sits on top and overflows
   instead of growing it (aspect-ratio alone would expand to the image's height).
   1.9× width shows ~92% of the image: the whole hand, wrist fading out. */
.lp-hero__media::before {
  content: "";
  display: block;
  padding-top: 190%;
}
.lp-hero__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: linear-gradient(#000 82%, transparent 92%);
  mask-image: linear-gradient(#000 82%, transparent 92%);
}
.lp-hero__stk-1 {
  left: -200px;
  top: 30px;
  transform: rotate(-6deg);
}
.lp-hero__stk-2 {
  right: -120px;
  top: 150px;
  transform: rotate(4deg);
}
.lp-hero__stk-3 {
  right: -80px;
  top: 250px;
  transform: rotate(-4deg);
}

/* ───── Bento grid ───── */
.lp-bento {
  padding: 20px 0;
}
.lp-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 19px;
}
.lp-card {
  position: relative;
  overflow: hidden;
  height: 438px;
  border-radius: var(--lp-r-card);
  background: var(--lp-card);
  border: 1px solid #fff;
  box-shadow: inset 0 0 25px #fff;
}
.lp-card--2 {
  grid-column: span 2;
}
.lp-card--4 {
  grid-column: span 4;
}
.lp-card--6 {
  grid-column: span 6;
}
.lp-card h3 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}
.lp-card p {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.lp-card--accent {
  background: var(--lp-g-blue);
  color: #fff;
}
.lp-card--accent h3 {
  text-shadow: 0 4px 30px rgba(20, 20, 80, 0.35);
}
.lp-card--accent p {
  text-shadow: 0 2px 20px rgba(20, 20, 80, 0.4);
}

/* Твой ежедневный помощник */
.lp-card--today .lp-card__txt {
  position: absolute;
  left: 0;
  top: 0;
  width: 48%;
  padding: 48px 8px 0 44px;
  z-index: 2;
}
.lp-card--today h3 {
  font-size: 36px;
}
.lp-card--today .lp-card__txt p {
  margin-top: 10px;
}
/* Text column ends at 48%; the phone starts there so they never overlap. */
.lp-card--today__img {
  position: absolute;
  right: -6%;
  top: 26px;
  width: 58%;
  height: auto;
}

/* Отзывы на преподов */
.lp-card--reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 32px;
}
/* Tag cloud is HTML so it wraps to the card instead of shrinking with it. */
.lp-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 8px;
  padding: 30px 4px 0;
}
.lp-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.lp-tags__stk,
.lp-tags .lp-tags__stk {
  padding: 9px 16px;
  border: 3px solid #fff;
  background: var(--lp-lavender);
  color: var(--lp-blue);
  box-shadow: inset 0 0 0 3px var(--lp-blue), var(--lp-sh-sticker);
  transform: rotate(-4deg);
}
.lp-tags .lp-tags__stk--pink {
  background: var(--lp-pink);
  color: var(--lp-pink-text);
  box-shadow: inset 0 0 0 3px var(--lp-pink-border), var(--lp-sh-sticker);
  transform: rotate(4deg);
}
.lp-card--reviews .lp-card__txt {
  margin-top: auto;
  padding-top: 16px;
  text-align: center;
}
.lp-card--reviews h3 {
  font-size: 24px;
  font-weight: 800;
}
.lp-card--reviews p {
  margin-top: 10px;
  font-size: 16px;
}

/* Расписание твоей группы */
.lp-card--schedule {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
}
.lp-card--schedule .lp-card__media {
  position: relative;
  overflow: hidden;
}
.lp-card--schedule .lp-card__media img {
  position: absolute;
  left: 21%;
  top: 70px;
  width: 63%;
  height: auto;
  transform: rotate(-10deg);
}
.lp-card--schedule .lp-stk {
  left: 60px;
  top: 50px;
  transform: rotate(-6deg);
}
.lp-card--schedule .lp-card__txt {
  display: flex;
  align-items: center;
  padding: 40px 40px 40px 10px;
}

/* Анонимная подслушка */
.lp-card--gossip {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  background: #fff;
}
.lp-card--gossip .lp-card__media {
  position: relative;
}
.lp-card--gossip .lp-card__media img {
  position: absolute;
  left: 5%;
  top: 34px;
  width: 95%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(20, 20, 60, 0.12));
}
.lp-card--gossip .lp-card__txt {
  display: flex;
  align-items: flex-start;
  padding: 40px 30px 40px 40px;
}
.lp-card--gossip h3 {
  font-size: 38px;
}
.lp-card--gossip .lp-stk {
  left: 330px;
  bottom: 44px;
  transform: rotate(-4deg);
}

/* Вакансии */
.lp-card--jobs {
  display: grid;
  grid-template-rows: 288px minmax(0, 1fr);
}
/* Stack of vacancy cards, each offset down and slightly rotated; the bottom
   fades out so the crop into the text area has no hard edge. */
.lp-jobs {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 80%, transparent 100%);
  mask-image: linear-gradient(#000 80%, transparent 100%);
}
.lp-job {
  position: absolute;
  left: 8%;
  width: 84%;
  padding: 7% 8%;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 20, 60, 0.1);
  transform-origin: 50% 0;
}
.lp-job:nth-child(1) {
  top: 2%;
  transform: rotate(-4deg);
}
.lp-job:nth-child(2) {
  top: 14%;
  transform: rotate(3deg);
}
.lp-job:nth-child(3) {
  top: 26%;
  transform: rotate(-2deg);
}
.lp-job:nth-child(4) {
  top: 38%;
  transform: rotate(2deg);
}
.lp-job:nth-child(5) {
  top: 50%;
  transform: rotate(-1deg);
}
.lp-job__co {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9aae;
}
.lp-job__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
  font-size: 10px;
  color: #fff;
}
.lp-job__logo svg {
  width: 12px;
  height: 12px;
}
.lp-job__logo--campus {
  background: #6d5ce6;
}
.lp-job__logo--skyeng {
  background: #16b1ff;
}
.lp-job__logo--samokat {
  background: #ff3c78;
}
.lp-job__logo--rostics {
  background: #fff;
  color: #1c1c28;
  border: 1.5px solid #1c1c28;
  font-family: Georgia, serif;
}
.lp-job__logo--avito {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 3px;
  background: transparent;
}
.lp-job__logo--avito b {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.lp-job__logo--avito b:nth-child(1) {
  background: #00aaff;
}
.lp-job__logo--avito b:nth-child(2) {
  background: #ff4053;
}
.lp-job__logo--avito b:nth-child(3) {
  background: #965eeb;
}
.lp-job__logo--avito b:nth-child(4) {
  background: #04e762;
}
.lp-job__title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #1c1c28;
}
.lp-job__pay {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: #1c1c28;
}
.lp-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.lp-job__tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f1f5;
  font-size: 9px;
  font-weight: 500;
  color: #8a8aa0;
  white-space: nowrap;
}
.lp-job__btn {
  margin-top: 10px;
  padding: 7px 0;
  border-radius: 10px;
  background: #6273f2;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.lp-card--jobs .lp-card__txt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  padding: 30px;
}
.lp-card--jobs h3 {
  font-size: 24px;
  font-weight: 800;
}
.lp-card--jobs p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.28;
}

/* Скидки для студентов */
.lp-card--discounts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
}
.lp-card--discounts .lp-card__txt {
  display: flex;
  align-items: center;
  padding: 40px 20px 40px 50px;
}
.lp-card--discounts .lp-card__media {
  position: relative;
}
.lp-card--discounts .lp-card__media img {
  position: absolute;
  left: 6%;
  top: 50%;
  width: 82%;
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 12px 24px rgba(20, 20, 60, 0.13));
}

/* ───── Testimonials ───── */
.lp-reviews {
  padding: 100px 0 0;
}
.lp-h2 {
  font-family: var(--lp-font);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--lp-ink);
  margin-bottom: 60px;
}
.lp-tgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 405px));
  justify-content: space-between;
  row-gap: 80px;
  column-gap: 40px;
  padding: 0 10px;
}
.lp-tst {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.lp-tst__stars {
  color: #000;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.lp-tst q {
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  quotes: "“" "”";
}
.lp-tst__ft {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.lp-tst__ft b {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
}
.lp-tst__ft i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9d0ff, #7e8cf6);
}
.lp-dl {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

/* ───── Tablet ≤1000px ───── */
@media (max-width: 1000px) {
  .lp-hero__title {
    font-size: 56px;
  }
  .lp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
  }
  .lp-card--2 {
    grid-column: span 1;
  }
  .lp-card--4,
  .lp-card--6 {
    grid-column: span 2;
  }
  .lp-card--today .lp-card__txt {
    padding: 40px 8px 0 36px;
  }
  .lp-card--schedule {
    grid-template-columns: 46% minmax(0, 1fr);
  }
  .lp-card--schedule .lp-card__media img {
    left: 10%;
    top: 90px;
    width: 58%;
  }
  .lp-card--schedule .lp-stk {
    left: 16px;
    top: 36px;
  }
  .lp-card--gossip .lp-card__media img {
    top: 44px;
  }
  .lp-card--schedule h3,
  .lp-card--discounts h3 {
    font-size: 34px;
  }
  .lp-card--gossip {
    grid-template-columns: 46% minmax(0, 1fr);
  }
  .lp-card--gossip .lp-stk {
    left: auto;
    right: 30px;
  }
  .lp-card--discounts {
    grid-template-columns: minmax(0, 1fr) 54%;
  }
  .lp-card--discounts .lp-card__media img {
    left: 2%;
    width: 92%;
  }
  .lp-tgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 48px;
  }
}

/* ───── Mobile ≤640px ───── */
@media (max-width: 640px) {
  .lp-container {
    padding: 0 16px;
  }
  .lp-hero {
    padding-top: 44px;
  }
  .lp-hero__title {
    font-size: 42px;
  }
  .lp-hero--org .lp-hero__title {
    font-size: 30px;
  }
  .lp-hero__sub {
    font-size: 18px;
    margin-top: 14px;
  }
  .lp-hero__media {
    width: min(300px, 100%);
    margin-top: 28px;
  }
  .lp-stk {
    font-size: 17px;
    padding: 9px 16px;
  }
  .lp-stk--md,
  .lp-stk--sm,
  .lp-stk--xs {
    font-size: 14px;
    padding: 7px 14px;
  }
  .lp-hero__stk-1 {
    left: -28px;
    top: 24px;
  }
  .lp-hero__stk-2 {
    right: -50px;
    top: 120px;
  }
  .lp-hero__stk-3 {
    right: -30px;
    top: 200px;
  }
  .lp-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .lp-card--2,
  .lp-card--4,
  .lp-card--6 {
    grid-column: span 1;
  }
  .lp-card {
    height: auto;
    min-height: 420px;
    border-radius: 40px;
  }
  .lp-card h3 {
    font-size: 30px;
  }
  .lp-card p {
    font-size: 16px;
  }
  .lp-card--today {
    height: auto;
    aspect-ratio: 0.78;
  }
  .lp-card--today .lp-card__txt {
    width: 100%;
    padding: 28px 24px 0;
    text-align: center;
  }
  .lp-card--today h3 {
    font-size: 30px;
  }
  .lp-card--today__img {
    left: 50%;
    right: auto;
    top: 150px;
    width: 86%;
    margin-left: -43%;
  }
  .lp-card--reviews {
    min-height: 0;
  }
  .lp-tags {
    padding-top: 16px;
  }
  .lp-card--reviews .lp-card__txt {
    padding-top: 28px;
  }
  .lp-card--schedule {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .lp-card--schedule .lp-card__media {
    aspect-ratio: 1 / 1;
  }
  .lp-card--schedule .lp-card__media img {
    left: 50%;
    top: 40px;
    width: 70%;
    margin-left: -35%;
  }
  .lp-card--schedule .lp-stk {
    left: 16px;
    top: 24px;
  }
  .lp-card--schedule .lp-card__txt,
  .lp-card--gossip .lp-card__txt,
  .lp-card--discounts .lp-card__txt {
    padding: 8px 28px 32px;
  }
  .lp-card--gossip {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .lp-card--gossip .lp-card__media {
    padding: 28px 0 8px;
  }
  .lp-card--gossip .lp-card__media img {
    position: static;
    display: block;
    width: 78%;
    margin: 0 auto;
  }
  .lp-card--gossip h3 {
    font-size: 30px;
  }
  .lp-card--gossip .lp-stk {
    position: static;
    display: inline-block;
    justify-self: start;
    margin: 0 28px 28px;
    transform: rotate(-3deg);
  }
  .lp-card--jobs {
    grid-template-rows: auto auto;
  }
  .lp-jobs {
    aspect-ratio: 1.25;
  }
  .lp-job {
    left: 12%;
    width: 76%;
    padding: 18px 20px;
  }
  .lp-card--jobs .lp-card__txt {
    justify-content: flex-start;
    text-align: left;
    padding: 20px 28px 32px;
  }
  .lp-card--discounts {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .lp-card--discounts .lp-card__txt {
    padding: 32px 28px 8px;
  }
  .lp-card--discounts .lp-card__media {
    padding: 0 0 24px;
  }
  .lp-card--discounts .lp-card__media img {
    position: static;
    display: block;
    width: 90%;
    margin: 0 auto;
    transform: none;
  }
  .lp-reviews {
    padding-top: 64px;
  }
  .lp-h2 {
    margin-bottom: 36px;
  }
  .lp-tgrid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    padding: 0;
  }
  .lp-tst q {
    font-size: 16px;
  }
  .lp-dl {
    padding: 44px 0;
  }
}

/* ───── Schedule widget: same vibe as the landing (pills, 24px card, blue accent).
   Scoped under .schedule so it beats the template's inline rules and campus-ui.css. ───── */
.schedule {
  background: var(--lp-bg);
  font-family: var(--lp-font);
}
.schedule .schedule-table {
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.04), 0 20px 50px rgba(20, 20, 60, 0.05);
}
.schedule .sched-filters {
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 0;
}
.schedule .dd-trigger {
  height: 46px;
  min-height: 46px;
  min-width: 170px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #e5e6ee;
  border-radius: 999px;
  background: #fff;
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 600;
}
.schedule .dd-trigger:hover,
.schedule .dd-trigger.open,
.schedule .dd-wrap.open .dd-trigger {
  border-color: var(--lp-blue);
  border-radius: 999px;
}
.schedule .dd-icon {
  color: #3a3a4a;
}
.schedule .dd-swap {
  color: #9a9aae;
}
.schedule .dd-menu {
  top: calc(100% + 8px);
  min-width: 240px;
  border: 1px solid #e5e6ee;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(20, 30, 60, 0.14);
}
.schedule .dd-search {
  padding: 12px 16px;
  background: #f8f9ff;
  border-bottom: 1px solid #eeeff5;
  font-family: var(--lp-font);
  font-size: 14px;
}
.schedule .dd-item {
  padding: 10px 16px;
  font-family: var(--lp-font);
  font-size: 14px;
  font-weight: 500;
}
.schedule .dd-item:hover {
  background: #f3f4fa;
}
.schedule .dd-item.selected {
  color: var(--lp-blue);
  font-weight: 700;
}
.schedule #schedule-download-btn {
  height: 47px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--lp-font);
  font-size: 16px;
  font-weight: 600;
}
.schedule .sched-date-btn {
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 700;
}
.schedule .sched-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #e5e6ee;
}
.schedule .sched-arrow polyline {
  stroke: #6b6b80;
}
.schedule .sched-grid {
  border-top: 1px solid #eeeff5;
}

/* ── Idle / active states: only the pickers until a group is chosen, then the
   intro folds away and the week nav + schedule unfold. ── */
.schedule .schedule-table {
  transition: background 0.4s ease;
}
.schedule .schedule-table[data-state="idle"] {
  background:
    radial-gradient(55% 90% at 0% 0%, rgba(217, 221, 255, 0.55) 0%, rgba(217, 221, 255, 0) 60%),
    radial-gradient(45% 80% at 100% 100%, rgba(251, 217, 255, 0.45) 0%, rgba(251, 217, 255, 0) 60%),
    #fff;
}
.schedule .sched-intro {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}
.schedule .sched-intro__in {
  min-height: 0;
  overflow: hidden;
  padding: 36px 24px 4px;
  text-align: center;
  transition: padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.schedule .schedule-table[data-state="active"] .sched-intro {
  grid-template-rows: 0fr;
  opacity: 0;
}
.schedule .schedule-table[data-state="active"] .sched-intro__in {
  padding-top: 0;
  padding-bottom: 0;
}
.schedule .sched-intro__title {
  margin: 0;
  font-family: var(--lp-font);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
  text-align: center;
}
.schedule .sched-intro__title span {
  color: var(--lp-blue);
}

/* Pickers sit in a soft tray with step numbers while nothing is chosen. */
.schedule .sched-filters {
  transition: background 0.35s ease, margin 0.35s ease, padding 0.35s ease, border-radius 0.35s ease;
}
.schedule .schedule-table[data-state="idle"] .sched-filters {
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 16px auto 24px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(243, 244, 250, 0.9);
  counter-reset: step;
}
.schedule .dd-trigger {
  transition: border-color 0.15s, height 0.35s ease, min-width 0.35s ease, box-shadow 0.35s ease;
}
.schedule .schedule-table[data-state="idle"] .dd-trigger {
  height: 54px;
  min-width: 210px;
  padding: 0 18px;
  border-color: transparent;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.06), 0 8px 20px rgba(20, 20, 60, 0.07);
}
.schedule .schedule-table[data-state="idle"] .dd-trigger:hover,
.schedule .schedule-table[data-state="idle"] .dd-wrap.open .dd-trigger {
  border-color: var(--lp-blue);
}
.schedule .dd-wrap .dd-trigger {
  transition: border-color 0.15s, height 0.35s ease, min-width 0.35s ease, box-shadow 0.35s ease, opacity 0.25s ease;
}
.schedule .dd-wrap.is-locked .dd-trigger {
  opacity: 0.45;
  pointer-events: none;
}
.schedule .dd-wrap.is-locked::after {
  opacity: 0.45;
}
.schedule .schedule-table[data-state="idle"] .dd-wrap::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -8px;
  left: -4px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--lp-blue);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}
.schedule .schedule-table[data-state="idle"] .sched-date-nav {
  display: none;
}
.schedule .sched-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.schedule .sched-body__in {
  min-height: 0;
  overflow: hidden;
}
.schedule .schedule-table[data-state="active"] .sched-body {
  grid-template-rows: 1fr;
}
@media (prefers-reduced-motion: reduce) {
  .schedule .sched-intro,
  .schedule .sched-body {
    transition: none;
  }
}
.schedule .sched-table th {
  padding: 12px 10px;
  border-bottom: 1px solid #eeeff5;
  color: #4a4a5e;
  font-size: 12px;
  font-weight: 500;
}
.schedule .sched-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #eeeff5;
}
.schedule .sched-table td.time-col {
  padding: 12px 10px;
  color: #5b5b72;
  font-size: 12px;
  font-weight: 500;
}
.schedule .week-badge {
  margin: 0 6px 0 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eeeff5;
  color: #4a4a5e;
  font-size: 11px;
  font-weight: 600;
}
.schedule .today-num {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lp-blue);
  font-weight: 700;
}
.schedule .sched-table th.today-col,
.schedule .sched-table td.today-col {
  background: #f5f6fb;
}
.schedule .sched-lesson,
.schedule .sched-lesson-blue,
.schedule .sched-lesson-purple {
  min-height: 70px;
  margin-bottom: 6px;
  padding: 8px;
  border-radius: 10px;
}
.schedule .sched-lesson {
  background: #e6e9ff;
}
.schedule .sched-lesson-blue {
  background: #dce6ff;
}
.schedule .sched-lesson-purple {
  background: #ecdfff;
}
.schedule .lesson-type,
.schedule .lesson-type-blue,
.schedule .lesson-type-purple {
  color: var(--lp-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.schedule .lesson-type-purple {
  color: #8a4fd6;
}
.schedule .lesson-name {
  margin-top: 3px;
  color: #1c1c28;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.schedule .lesson-meta {
  margin-top: 3px;
  color: #7a7a90;
  font-size: 9px;
  line-height: 1.25;
}
.schedule .sched-empty,
.schedule .sched-loading {
  color: #8a8aa0;
  font-size: 15px;
  font-weight: 500;
}

/* Loading state: skeleton of the week grid + a bobbing sticker. */
.schedule .sched-skel {
  position: relative;
  display: grid;
  min-height: 400px;
  padding: 16px 20px 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.schedule .sched-skel__grid {
  display: grid;
  grid-template-columns: 64px repeat(6, minmax(0, 1fr));
  grid-template-rows: auto repeat(4, minmax(0, 1fr));
  gap: 8px 8px;
  align-items: stretch;
  opacity: 0.85;
}
.schedule .sched-skel__head,
.schedule .sched-skel__time,
.schedule .sched-skel__cell {
  border-radius: 999px;
  background: #eeeff5;
}
.schedule .sched-skel__head {
  width: 62%;
  height: 12px;
  margin: 6px auto 10px;
}
.schedule .sched-skel__time {
  width: 46px;
  height: 10px;
  margin-top: 10px;
  align-self: start;
}
.schedule .sched-skel__cell {
  position: relative;
  min-height: 56px;
  border-radius: 10px;
  background: #e6e9ff;
  overflow: hidden;
  animation: schedSkelPulse 1.8s ease-in-out infinite;
}
.schedule .sched-skel__cell--blue {
  background: #dce6ff;
}
.schedule .sched-skel__cell--purple {
  background: #ecdfff;
}
.schedule .sched-skel__cell.is-empty {
  background: transparent;
  animation: none;
}
.schedule .sched-skel__cell::before,
.schedule .sched-skel__cell::after {
  content: "";
  position: absolute;
  left: 8px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}
.schedule .sched-skel__cell::before {
  top: 10px;
  width: 34%;
}
.schedule .sched-skel__cell::after {
  top: 24px;
  width: 70%;
}
.schedule .sched-skel__cell.is-empty::before,
.schedule .sched-skel__cell.is-empty::after {
  display: none;
}
.schedule .sched-skel__stk {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  padding: 12px 24px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--lp-lavender);
  color: var(--lp-blue);
  font-family: var(--lp-font);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 0 0 3px var(--lp-blue), 0 14px 34px rgba(20, 20, 90, 0.18);
  animation: schedSkelBob 1.8s ease-in-out infinite;
}
.schedule .sched-skel__stk i {
  font-style: normal;
  animation: schedSkelDot 1.2s ease-in-out infinite;
}
.schedule .sched-skel__stk i:nth-child(2) {
  animation-delay: 0.2s;
}
.schedule .sched-skel__stk i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes schedSkelPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
@keyframes schedSkelBob {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 8px)) rotate(2deg);
  }
}
@keyframes schedSkelDot {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .schedule .sched-skel {
    min-height: 400px;
    padding: 12px 16px 16px;
  }
  .schedule .sched-skel__grid {
    grid-template-columns: 48px repeat(3, minmax(0, 1fr));
  }
  /* Only three day columns fit: drop the rest of each row. */
  .schedule .sched-skel__grid > :nth-child(7n + 5),
  .schedule .sched-skel__grid > :nth-child(7n + 6),
  .schedule .sched-skel__grid > :nth-child(7n + 7) {
    display: none;
  }
  .schedule .sched-skel__stk {
    font-size: 17px;
    padding: 10px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .schedule .sched-skel__cell,
  .schedule .sched-skel__stk,
  .schedule .sched-skel__stk i {
    animation: none;
  }
}

/* Failure state: illustration + title + retry, instead of a red line. */
.schedule .sched-fail {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
  padding: 40px 24px 48px;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--lp-font);
}
.schedule .sched-fail__img {
  width: 154px;
  height: auto;
  margin-bottom: 8px;
}
.schedule .sched-fail__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
}
.schedule .sched-fail__sub {
  max-width: 340px;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--lp-mute);
}
.schedule .sched-fail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.schedule .sched-fail__btn:hover {
  background: var(--lp-blue-deep);
}
.schedule .sched-fail__btn:active {
  transform: scale(0.98);
}
@media (max-width: 600px) {
  .schedule .sched-fail {
    min-height: 0;
    padding: 28px 16px 32px;
  }
  .schedule .sched-fail__img {
    width: 124px;
  }
  .schedule .sched-fail__title {
    font-size: 21px;
  }
  .schedule .sched-fail__sub {
    font-size: 15px;
  }
  .schedule .sched-fail__btn {
    width: 100%;
  }
}
.schedule .schedule-webinar {
  border-bottom: 0;
}
.schedule .schedule-webinar-card {
  margin: 0 20px 4px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef0ff 0%, #f5f6ff 100%);
}
.schedule .schedule-webinar-cta {
  background: var(--lp-blue);
}
.schedule .schedule-webinar-cta:hover {
  background: var(--lp-blue-deep);
}
@media (max-width: 600px) {
  .schedule .sched-filters {
    padding: 16px 16px 12px;
  }
  .schedule .sched-intro__in {
    padding: 28px 16px 6px;
  }
  .schedule .sched-intro__title {
    font-size: 28px;
  }
  .schedule .schedule-table[data-state="idle"] .sched-filters {
    width: auto;
    max-width: none;
    margin: 12px 12px 12px;
    padding: 10px;
    border-radius: 28px;
  }
  .schedule .schedule-webinar-card {
    margin: 0 16px 4px;
  }
}

/* ───── Mascot on «Скачать» hover ─────
   Fixed under the nav logo; darts in from behind the left edge, blinks, and
   holds a short note. Only on devices with a real hover. */
.lp-mascot {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1021px) {
  .lp-mascot {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    position: fixed;
    left: 80px;
    top: 104px;
    z-index: 90;
    pointer-events: none;
    /* Parked fully behind the left edge; JS only toggles .is-on. */
    transform: translateX(calc(-100% - 100px));
    transition: transform 0.28s cubic-bezier(0.5, 0, 0.9, 0.6);
    will-change: transform;
  }
  .lp-mascot.is-on {
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.2, 1.5, 0.4, 1);
  }
  .lp-mascot__body {
    position: relative;
    flex-shrink: 0;
    width: 92px;
  }
  .lp-mascot.is-on .lp-mascot__body {
    animation: lp-mascot-bob 2.6s ease-in-out 0.6s infinite;
  }
  @keyframes lp-mascot-bob {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(-3deg); }
  }
  .lp-mascot__img {
    display: block;
    width: 100%;
    height: auto;
  }
  /* Eyelids: body-coloured patches over the two eyes that scale down to blink.
     Positions are percentages of the source PNG (eyes at x 30–41 / 56–67,
     y 54–67 in a 110×152 image). */
  .lp-mascot__lid {
    position: absolute;
    top: 34.6%;
    width: 13%;
    height: 10.6%;
    border-radius: 40%;
    transform: scaleY(0);
    transform-origin: 50% 0;
  }
  .lp-mascot__lid--l {
    left: 26.2%;
    background: linear-gradient(180deg, #d3dfff, #b9c8ff);
  }
  .lp-mascot__lid--r {
    left: 49.8%;
    background: linear-gradient(180deg, #a9bbff, #93a6ff);
  }
  .lp-mascot.is-on .lp-mascot__lid {
    animation: lp-mascot-blink 3.4s ease-in-out 0.9s infinite;
  }
  @keyframes lp-mascot-blink {
    0%, 6%, 100% { transform: scaleY(0); }
    3% { transform: scaleY(1); }
    /* Occasional double blink. */
    60%, 66%, 72% { transform: scaleY(0); }
    63%, 69% { transform: scaleY(1); }
  }
  .lp-mascot__note {
    position: relative;
    margin-top: 6px;
    max-width: 210px;
    padding: 10px 14px 12px;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 20, 60, 0.14), 0 1px 2px rgba(20, 20, 60, 0.06);
    font-family: var(--lp-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--lp-ink);
    opacity: 0;
    transform: translateY(6px) scale(0.92);
    transform-origin: 0 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .lp-mascot.is-on .lp-mascot__note {
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-mascot,
  .lp-mascot.is-on {
    transition-duration: 0.01s;
  }
  .lp-mascot.is-on .lp-mascot__body,
  .lp-mascot.is-on .lp-mascot__lid {
    animation: none;
  }
}
/* Shared visual contract for the server-rendered pages. Keep this file after
   each template's page-specific styles so the header and base controls cannot
   drift between the schedule and organizations sections. */
:root {
  --campus-font-sans: "Inter", "Roboto", "SF Pro", "Helvetica Neue", Arial, sans-serif;
  --campus-accent: #4992ff;
  --campus-text: #000;
  --campus-text-secondary: #686868;
  --campus-border: #e2e2e2;
  --campus-control-height: 46px;
  --campus-pill: 999px;
}

body,
button,
input,
textarea,
select {
  font-family: var(--campus-font-sans);
}

body {
  color: var(--campus-text);
}

/* Header */
nav,
.nav-pill,
.nav-links a,
.nav-actions,
.mobile-nav-panel,
.mobile-nav-links a,
.mobile-nav-actions,
.mobile-nav-heading {
  font-family: var(--campus-font-sans);
}

.nav-logo svg {
  width: 90px;
  height: 28px;
  display: block;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
}

.nav-links .submenu a {
  font-size: 14px;
  font-weight: 500;
}

/* «Бизнесу» — a small App Store-style sticker inside the nav. */
.nav-links a.nav-sticker,
.mobile-nav-links li a.nav-sticker {
  display: inline-block;
  width: max-content;
  margin-left: 6px;
  padding: 6px 13px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d9ddff;
  color: #4f63f0;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px #4f63f0, 0 6px 16px rgba(20, 20, 90, 0.14);
  transform: rotate(-3deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-links a.nav-sticker:hover,
.nav-links a.nav-sticker.active {
  background: #d9ddff;
  color: #4f63f0;
  transform: rotate(0deg) translateY(-1px);
}
.mobile-nav-links li a.nav-sticker {
  margin: 14px 0;
  border-bottom: 2px solid #fff;
}
/* «Курсы» — same sticker in lime. */
.nav-links a.nav-sticker--green,
.mobile-nav-links li a.nav-sticker--green,
.nav-links a.nav-sticker--green:hover,
.nav-links a.nav-sticker--green.active {
  background: #dcf7a3;
  color: #2f6b12;
  box-shadow: inset 0 0 0 2px #5aa62a, 0 6px 16px rgba(30, 80, 20, 0.14);
  transform: rotate(2deg);
}
.nav-links a.nav-sticker--green:hover {
  transform: rotate(0deg) translateY(-1px);
}
.mobile-nav-links li a.nav-sticker--green {
  transform: rotate(2deg);
}

.mobile-nav-links li a {
  font-size: 15px;
  font-weight: 500;
}

/* Drawer items cascade in one after another (apple.com-style) once the panel
   has slid in; on close they fade out together without a delay. */
.mobile-nav-links li,
.mobile-nav-actions {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mobile-nav-drawer.open .mobile-nav-links li,
.mobile-nav-drawer.open .mobile-nav-actions {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(2) { transition-delay: 0.17s; }
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(4) { transition-delay: 0.27s; }
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(6) { transition-delay: 0.37s; }
.mobile-nav-drawer.open .mobile-nav-links li:nth-child(7) { transition-delay: 0.42s; }
.mobile-nav-drawer.open .mobile-nav-actions { transition-delay: 0.46s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-links li,
  .mobile-nav-actions {
    transition: none;
    transform: none;
  }
}

.mobile-nav-actions .btn-primary {
  font-size: 15px;
  font-weight: 600;
}

/* Drawer «Скачать приложение»: the landing's black pill, same glow on press. */
.mobile-nav-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  padding: 0 14px;
  font-family: "SF Pro Rounded", var(--campus-font-sans);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}
.mobile-nav-actions .btn-primary:hover,
.mobile-nav-actions .btn-primary:active {
  background: #1c1c24;
  color: #fff;
}
.mobile-nav-actions .btn-primary svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
.mobile-nav-actions .btn-primary .lp-btn__android {
  width: 20px;
  height: 20px;
  margin-left: -2px;
}
[data-app-platform="ios"] .mobile-nav-actions .lp-btn__android,
[data-app-platform="android"] .mobile-nav-actions .lp-btn__ios {
  display: none;
}
/* Animated glow around the black «Скачать» pill: a soft rotating conic halo
   plus a thin colour ring, in the landing palette (blue → pink → lavender).
   `@property` lets the gradient angle animate; browsers without it show a
   static glow. */
@property --campus-glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes campusGlowSpin {
  to {
    --campus-glow-angle: 360deg;
  }
}
@keyframes campusGlowBreathe {
  0%,
  100% {
    filter: blur(12px) saturate(1.1);
  }
  50% {
    filter: blur(16px) saturate(1.35);
  }
}
.mobile-nav-actions {
  isolation: isolate;
}
.mobile-nav-actions .btn-primary {
  position: relative;
}
.mobile-nav-actions .btn-primary::before,
.mobile-nav-actions .btn-primary::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(
    from var(--campus-glow-angle),
    #4f63f0,
    #8f7bff,
    #e19bf0,
    #ff9ad5,
    #6b7cf5,
    #4f63f0
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.mobile-nav-actions .btn-primary::before {
  inset: -8px;
  filter: blur(12px) saturate(1.1);
}
.mobile-nav-actions .btn-primary::after {
  inset: -2px;
}
.mobile-nav-actions .btn-primary:hover::before,
.mobile-nav-actions .btn-primary:focus-visible::before,
.mobile-nav-actions .btn-primary:hover::after,
.mobile-nav-actions .btn-primary:focus-visible::after {
  opacity: 1;
  animation: campusGlowSpin 2.4s linear infinite;
}
/* Touch: no hover, so the glow also answers the press. */
.mobile-nav-actions .btn-primary:active::before,
.mobile-nav-actions .btn-primary:active::after {
  opacity: 1;
  animation: campusGlowSpin 2.4s linear infinite;
}
.mobile-nav-actions .btn-primary:hover::before,
.mobile-nav-actions .btn-primary:focus-visible::before {
  opacity: 0.85;
  animation: campusGlowSpin 2.4s linear infinite, campusGlowBreathe 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-actions .btn-primary:hover::before,
  .mobile-nav-actions .btn-primary:hover::after,
  .mobile-nav-actions .btn-primary:focus-visible::before,
  .mobile-nav-actions .btn-primary:focus-visible::after {
    animation: none;
  }
}


/* Page headings — one display style across Express and Next pages
   (mirrored by .site-page-title / .site-section-title in next-app). */
:root {
  --campus-font-display: "SF Pro Rounded", -apple-system, "SF Pro Display", system-ui, sans-serif;
  --campus-title-size: clamp(32px, 4.5vw, 48px);
  --campus-section-size: clamp(26px, 3.2vw, 36px);
}

h1,
.hero-title,
.section-title {
  font-family: var(--campus-font-display);
  color: var(--campus-text);
  text-align: center;
}

h1,
.hero-title {
  font-size: var(--campus-title-size);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: var(--campus-section-size);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Base controls */
.btn-primary {
  min-height: var(--campus-control-height);
  padding: 0 24px;
  border-radius: var(--campus-pill);
  font-family: var(--campus-font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dd-trigger {
  height: var(--campus-control-height);
  min-height: var(--campus-control-height);
  padding: 0 16px;
  border: 1px solid var(--campus-border);
  border-radius: var(--campus-pill);
  font-family: var(--campus-font-sans);
  font-size: 15px;
  font-weight: 500;
}

.dd-item,
.dd-search {
  font-family: var(--campus-font-sans);
}

.cta-form-wrap input {
  height: var(--campus-control-height);
  padding: 0 16px;
  border: 1px solid var(--campus-border);
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
}

.cta-form-wrap input:focus {
  background: #fff;
  border-color: var(--campus-accent);
}

.cta-submit {
  min-height: var(--campus-control-height);
  padding: 0 16px;
  border-radius: 16px;
  font-family: var(--campus-font-sans);
  font-size: 15px;
  font-weight: 700;
}

/* Lead catcher — shared by the legacy Express pages and static info pages. */
@keyframes campusLeadCatcherIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-catcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
  width: min(360px, calc(100vw - 32px));
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 30, 60, 0.06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 30, 60, 0.2);
  color: var(--campus-text);
  text-align: center;
  animation: campusLeadCatcherIn 0.24s ease-out both;
}

.lead-catcher__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f3f7;
  color: #686868;
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
}

.lead-catcher__title {
  margin: 4px 24px 8px;
  font-family: var(--campus-font-sans);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.lead-catcher__subtitle {
  margin: 0 8px 18px;
  color: var(--campus-text-secondary);
  font-size: 16px;
  line-height: 1.35;
}

.lead-catcher__actions {
  display: grid;
  gap: 8px;
}

.lead-catcher__primary,
.lead-catcher__secondary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.lead-catcher__primary {
  background: var(--campus-accent);
  color: #fff;
}

.lead-catcher__secondary {
  background: #e7e7e8;
  color: var(--campus-text);
}

.lead-catcher__primary:hover,
.lead-catcher__primary:focus-visible {
  background: #2f83ed;
}

.lead-catcher__secondary:hover,
.lead-catcher__secondary:focus-visible,
.lead-catcher__close:hover,
.lead-catcher__close:focus-visible {
  background: #dcdde0;
}

.lead-catcher__primary:focus-visible,
.lead-catcher__secondary:focus-visible,
.lead-catcher__close:focus-visible {
  outline: 3px solid rgba(73, 146, 255, 0.35);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .lead-catcher {
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    padding: 24px 16px 16px;
  }

  .lead-catcher__title {
    margin-top: 8px;
    font-size: 26px;
    line-height: 1.12;
  }

  .lead-catcher__subtitle {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .lead-catcher__primary,
  .lead-catcher__secondary {
    min-height: 56px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-catcher {
    animation: none;
  }
}

.sched-date-btn {
  min-height: 40px;
  border-radius: var(--campus-pill);
  font-family: var(--campus-font-sans);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {

  .cta-form-wrap input,
  .cta-submit {
    min-height: 46px;
    height: 46px;
  }
}

/* Footer as a rounded card, inset from the page edges like the other blocks. */
footer {
  margin: 24px 16px 16px;
  border-radius: 32px;
  overflow: hidden;
}
@media (max-width: 600px) {
  footer {
    margin: 16px 10px 10px;
    border-radius: 24px;
  }
}

/* ───── Mobile drawer: floating rounded card (mirrored in next-app globals.css) ───── */
.mobile-nav-drawer {
  background: rgba(17, 17, 24, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mobile-nav-panel {
  top: 10px;
  right: 10px;
  bottom: 10px;
  height: auto;
  width: 300px;
  max-width: calc(100vw - 20px);
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(10, 10, 60, 0.25);
  overflow-y: auto;
  transform: translateX(calc(100% + 12px));
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f3f4fa;
  color: #111118;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  transition: background 0.15s ease;
}
.mobile-nav-close:hover {
  background: #e6e9ff;
}
.mobile-nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 2px 10px;
}
.mobile-nav-links li {
  width: 100%;
}
.mobile-nav-links li a {
  display: block;
  padding: 12px 14px;
  border-bottom: 0;
  border-radius: 14px;
  color: #111118;
  font-family: var(--campus-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  background: #f3f4fa;
  color: #4f63f0;
}
.mobile-nav-heading {
  display: block;
  padding: 14px 14px 4px;
  color: #8a8aa0;
  font-family: var(--campus-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-nav-links li:has(> .mobile-nav-heading) a {
  padding-left: 22px;
  font-size: 17px;
}
/* Stickers sit side by side on one row. */
.mobile-nav-links li:has(> a.nav-sticker) {
  width: auto;
}
.mobile-nav-links li a.nav-sticker {
  display: inline-block;
  margin: 14px 0 6px 12px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 15px;
}
.mobile-nav-links li a.nav-sticker:hover {
  background: #d9ddff;
}
.mobile-nav-links li a.nav-sticker--green:hover {
  background: #dcf7a3;
}
.mobile-nav-actions {
  margin-top: auto;
  padding-top: 20px;
}
