:root {
  --bg: #f4f7ff;
  --card: #ffffff;
  --text: #1b2430;
  --muted: #5c6470;
  --line: #dde3ef;
  --primary: #1f62ff;
  --primary-strong: #1247c9;
  --shadow: 0 18px 40px rgba(18, 71, 201, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3ff 0%, #f8faff 40%, #f4f7ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding-bottom: 80px;
}

.nav {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo {
  width: 36px;
  height: 36px;
}

.nav__brand strong {
  display: block;
  font-size: 15px;
}

.nav__brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nav__actions {
  display: flex;
  gap: 16px;
  color: #2f4d9a;
  font-weight: 600;
  font-size: 14px;
}

.hero-banner {
  margin-top: 12px;
  border-radius: 14px;
  padding: 10px 14px;
  color: #20437f;
  background: linear-gradient(90deg, #dce8ff 0%, #eaf0ff 100%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-banner__icon img {
  width: 34px;
  height: 34px;
}

.hero-banner p {
  margin: 0;
  font-weight: 700;
}

.hero-banner span {
  font-size: 13px;
}

.hero-section {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.hero-section__content,
.hero-section__aside,
.hero-visual,
.contact-cards article,
.related-articles,
.footer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-section__content {
  padding: 26px;
}

.hero-section__breadcrumb {
  margin: 0;
  font-size: 13px;
  color: #3d62ac;
}

h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

.hero-section__subtitle {
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: #1e3f7e;
}

.hero-section__lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-section__chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-section__chips span {
  background: #eaf0ff;
  color: #244ea5;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.hero-section__cta-group {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.hero-section__cta {
  flex: 1;
  text-align: center;
  padding: 13px 10px;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-section__cta:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.hero-section__cta--ghost {
  color: #1a4ec8;
  border: 1px solid #bfd0ff;
  background: #f4f8ff;
}

.hero-section__cta--ghost:hover {
  background: #e9f0ff;
}

.hero-section__assurance {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.promo-card {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px dashed #b6c8f5;
  background: #f7faff;
  padding: 16px;
}

.promo-card__label,
.promo-card__note,
.promo-price__label,
.promo-price__origin {
  color: var(--muted);
}

.promo-ticket-inline {
  display: inline-block;
  margin: 4px 0 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e4ecff;
  color: #2f5abe;
  font-size: 12px;
}

.promo-card h3 {
  margin: 6px 0;
}

.promo-price {
  display: flex;
  gap: 24px;
}

.promo-price__special {
  color: #ce2f45;
  font-size: 20px;
  font-weight: 700;
}

.promo-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #414b58;
}

.hero-section__aside {
  padding: 20px;
}

.promo-form h3 {
  margin: 0;
  font-size: 22px;
}

.promo-form > p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.promo-form label,
.promo-form summary {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.promo-form input,
.promo-form select,
.promo-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #c9d2e4;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.promo-form input:focus,
.promo-form select:focus,
.promo-form textarea:focus {
  outline: none;
  border-color: #87a8ff;
  box-shadow: 0 0 0 3px rgba(31, 98, 255, 0.14);
}

.promo-form__optional {
  margin: 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 2px;
}

.promo-form__optional summary {
  cursor: pointer;
  color: #38579f;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  color: #4d5867;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.promo-form__tips {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.form-message {
  min-height: 22px;
  margin-top: 8px;
  font-size: 13px;
}

.form-message--error {
  color: #c42f44;
}

.form-message--success {
  color: #14784f;
}

.related-articles {
  margin-top: 12px;
  padding: 14px;
}

.related-articles__head h3 {
  margin: 4px 0 8px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  color: #5c6b8f;
}

.related-articles__more {
  margin-top: 8px;
}

.related-articles__more a {
  color: #2a56bd;
  font-weight: 600;
}

.hero-visual {
  padding: 16px;
}

.hero-shot img {
  width: 100%;
  border-radius: 10px;
}

.hero-shot__caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-cards article {
  padding: 16px;
}

.contact-cards h3 {
  margin: 8px 0 6px;
}

.contact-cards p {
  margin: 0;
  color: var(--muted);
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-card__icon--telegram {
  background: #e8f2ff;
  color: #1677d2;
}

.contact-card__icon--whatsapp {
  background: #e8fff2;
  color: #18a45f;
}

.contact-card__icon--mail {
  background: #fff2e8;
  color: #ce6a2e;
}

.contact-card__icon--phone {
  background: #f0ebff;
  color: #7442d2;
}

.contact-detail {
  margin-top: 10px;
}

.contact-detail a,
.contact-detail span {
  font-weight: 700;
}

.contact-detail small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.footer {
  margin-top: 14px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 3px 0;
}

.floating-contact {
  display: none;
}

/* Legacy compatibility: force-hide old FAQ section if cached HTML is served. */
#faq {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page {
    width: 94vw;
    padding-bottom: 92px;
  }

  .nav {
    padding: 12px;
  }

  .nav__actions {
    font-size: 13px;
    gap: 10px;
  }

  .hero-section__content,
  .hero-section__aside,
  .hero-visual {
    padding: 16px;
  }

  .hero-section__cta-group {
    flex-direction: column;
  }

  .floating-contact {
    display: block;
    position: fixed;
    right: 14px;
    bottom: 16px;
    z-index: 20;
    background: #18a45f;
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 14px 24px rgba(24, 164, 95, 0.3);
  }
}
