:root {
  --sky: #81c4e9;
  --orange: #ff9d22;
  --orange-deep: #c36d00;
  --ink: #17222b;
  --muted: #49606f;
  --line: rgba(23, 34, 43, 0.11);
  --shadow: 0 22px 60px rgba(33, 59, 77, 0.14);
  --radius-xl: 34px;
  --max: 1180px;
  /* как в исходники/index.html — body { background: … } */
  --fc-page-bg: radial-gradient(circle at top left, rgba(129, 196, 233, 0.5), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(255, 157, 34, 0.28), transparent 20%),
    linear-gradient(180deg, #eef9ff 0%, #fff7ee 100%);
}

html.fc-root {
  min-height: 100%;
  margin: 0;
  /* подложка при overscroll и под старыми правилами body { background: white } из ядра */
  background-color: #eef9ff;
  background-image: var(--fc-page-bg);
  background-repeat: no-repeat;
}

.fc-site * {
  box-sizing: border-box;
}

body.fc-site {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.58;
  background-color: transparent;
  background-image: var(--fc-page-bg);
  background-repeat: no-repeat;
}

.fc-site .wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.fc-site .nav {
  padding: 18px 0;
}

.fc-site .nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.fc-site a.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
  color: inherit;
}

.fc-site a.brand > span:not(.brand-badge) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fc-site .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 800;
}

.fc-site .brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 157, 34, 0.18), rgba(129, 196, 233, 0.22));
  border: 1px solid rgba(23, 34, 43, 0.08);
  overflow: hidden;
}

.fc-site .brand-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.fc-site .brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.fc-site .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 34, 43, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: 14px;
  color: var(--muted);
}

.fc-site .menu a,
.fc-site .btn {
  text-decoration: none;
}

.fc-site .menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #30404d;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.fc-site .menu a:hover {
  background: rgba(129, 196, 233, 0.16);
  color: var(--ink);
  transform: translateY(-1px);
}

.fc-site .menu a:focus-visible {
  outline: 2px solid rgba(255, 157, 34, 0.45);
  outline-offset: 2px;
}

.fc-site .menu a.selected,
.fc-site .menu a.bx-active {
  background: rgba(129, 196, 233, 0.22);
  color: var(--ink);
}

.fc-site .hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px 0 14px;
}

.fc-site .hero-main,
.fc-site .card,
.fc-site .cta {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fc-site .hero-main {
  padding: 44px 38px 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(248, 252, 255, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.fc-site .hero-inner {
  width: 100%;
  max-width: none;
}

.fc-site .eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(129, 196, 233, 0.18);
  color: #275872;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fc-site h1,
.fc-site h2,
.fc-site h3,
.fc-site p {
  margin: 0;
}

.fc-site .hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  width: 100%;
  max-width: none;
  text-wrap: balance;
}

.fc-site .lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
  max-width: 52em;
}

.fc-site .chips,
.fc-site .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fc-site .chips {
  margin-top: 24px;
}

.fc-site .chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
}

.fc-site .actions {
  margin-top: 28px;
}

.fc-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.fc-site .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
}

.fc-site .btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.fc-site .section {
  padding: 18px 0;
}

.fc-site .section-head,
.fc-site .slider-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.fc-site .section-head h2,
.fc-site .slider-head h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 10ch;
  color: var(--ink);
}

.fc-site .section-head p,
.fc-site .slider-head p {
  color: var(--muted);
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.fc-site .grid-3,
.fc-site .grid-2,
.fc-site .grid-4 {
  display: grid;
  gap: 18px;
}

.fc-site .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.fc-site .grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.fc-site .grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.fc-site .card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.fc-site .card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.fc-site .card p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.fc-site .card ul {
  padding-left: 18px;
  margin: 0;
}

.fc-site .card li + li {
  margin-top: 8px;
}

.fc-site .accent {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.95), rgba(255, 255, 255, 0.9));
}

.fc-site .stat {
  text-align: left;
}

.fc-site .stat strong {
  display: block;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--orange-deep);
}

.fc-site .stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.fc-site .contact-card {
  background: linear-gradient(180deg, rgba(26, 79, 105, 0.96), rgba(23, 56, 76, 0.96));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.fc-site .contact-card p,
.fc-site .contact-card li {
  color: rgba(255, 255, 255, 0.82);
}

.fc-site .contact-card h3 {
  color: #fff;
}

.fc-site .visual-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fc-site .slider-head {
  gap: 20px;
}

.fc-site .visual-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow-x: visible;
  padding-bottom: 0;
}

.fc-site .visual-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
  min-height: 100%;
}

.fc-site .visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #dcecf5;
}

.fc-site .visual-card div {
  padding: 14px 16px 16px;
}

.fc-site .visual-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.fc-site .visual-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.fc-site .cta {
  margin: 18px 0 40px;
  padding: 32px;
  background: linear-gradient(135deg, #ffd08a 0%, #ff9d22 52%, #df0101 100%);
  color: #2f1200;
}

.fc-site .cta h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.fc-site .cta p {
  margin-top: 14px;
  max-width: 60ch;
  color: rgba(47, 18, 0, 0.85);
}

.fc-site .cta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fc-site .cta a:hover {
  color: #000;
}

.fc-site .contacts {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.fc-site .footer {
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.fc-site .fc-site-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fc-site .fc-footer-main {
  max-width: 100%;
}

.fc-site .fc-footer-tagline {
  margin: 0;
  line-height: 1.55;
  font-size: 14px;
  color: var(--muted);
}

.fc-site .fc-footer-copy p {
  margin: 0;
}

.fc-site .fc-inner {
  padding: 24px 0 48px;
}

.fc-site .fc-page-title {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.fc-site .fc-inner .fc-prose {
  max-width: 58ch;
}

.fc-site .fc-inner .fc-prose--wide {
  max-width: none;
  width: 100%;
}

.fc-site .fc-inner .fc-prose ul {
  padding-left: 1.2em;
}

.fc-site .fc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.fc-site .fc-footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.fc-site .fc-footer-bottom a:hover {
  color: var(--ink);
}

.fc-site .fc-footer-nav #footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.fc-site .fc-footer-nav #footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.fc-site .fc-footer-nav #footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .fc-site .fc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .fc-site .fc-footer-nav #footer-links {
    justify-content: flex-start;
  }
}

.fc-site .fc-hl-admin-msg {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(223, 1, 1, 0.08);
  color: #8a0000;
  font-size: 14px;
}

.fc-site .fc-feedback-block {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.fc-site .fc-feedback-block input[type="text"],
.fc-site .fc-feedback-block input[type="email"],
.fc-site .fc-feedback-block textarea {
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
}

.fc-site .fc-feedback-block textarea {
  min-height: 120px;
  resize: vertical;
}

.fc-site .fc-feedback-block .bx-feed-back {
  margin-top: 12px;
}

/* Страница контактов: две равные колонки на всю ширину .wrap */
.fc-site .fc-contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
}

.fc-site .fc-contacts-col {
  min-width: 0;
}

.fc-site .fc-contacts-lead {
  padding: 28px 28px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.fc-site .fc-contacts-lead__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(129, 196, 233, 0.2);
  color: #275872;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fc-site .fc-contacts-lead__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.fc-site .fc-contacts-lead__text {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.fc-site .fc-contacts-lead__hint {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.fc-site .fc-contacts-direct {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 34, 43, 0.08);
}

.fc-site .fc-contacts-direct__line {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.fc-site .fc-contacts-direct__line:last-child {
  margin-bottom: 0;
}

.fc-site .fc-contacts-direct__label {
  font-weight: 600;
  color: var(--ink);
  margin-right: 2px;
}

.fc-site .fc-contacts-direct a {
  font-weight: 600;
  color: #1a5f7a;
  text-decoration: none;
}

.fc-site .fc-contacts-direct a:hover {
  text-decoration: underline;
}

.fc-site .fc-contacts-direct__note {
  font-weight: 400;
  color: var(--muted);
}

.fc-site .fc-feedback-block--contacts {
  margin-top: 0;
  max-width: none;
}

.fc-site .fc-contacts-form-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fc-site .fc-contacts-form-lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.fc-site .fc-feedback-block--contacts table,
.fc-site .fc-feedback-block--contacts .data-table {
  width: 100%;
  max-width: 100%;
}

.fc-site .fc-feedback-block--contacts input[type="text"],
.fc-site .fc-feedback-block--contacts input[type="email"],
.fc-site .fc-feedback-block--contacts textarea {
  max-width: 100%;
  box-sizing: border-box;
}

.fc-site .fc-feedback-block--contacts input[type="submit"],
.fc-site .fc-feedback-block--contacts button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 22px;
  margin-top: 8px;
  border-radius: 999px;
  border: 1px solid rgba(23, 34, 43, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #30404d;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.fc-site .fc-feedback-block--contacts input[type="submit"]:hover,
.fc-site .fc-feedback-block--contacts button[type="submit"]:hover {
  background: rgba(129, 196, 233, 0.16);
  color: var(--ink);
  transform: translateY(-1px);
}

.fc-site .fc-feedback-block--contacts input[type="submit"]:focus-visible,
.fc-site .fc-feedback-block--contacts button[type="submit"]:focus-visible {
  outline: 2px solid rgba(255, 157, 34, 0.45);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .fc-site .fc-contacts-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .fc-site .grid-3,
  .fc-site .grid-2,
  .fc-site .grid-4 {
    grid-template-columns: 1fr;
  }

  .fc-site .section-head,
  .fc-site .slider-head {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Шапка: не колонкой (ломает «капсулу» и переполнение), меню — второй строкой на всю ширину */
  .fc-site .nav-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    border-radius: var(--radius-xl);
    padding: 12px 16px;
  }

  .fc-site a.brand {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .fc-site .visual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-site .menu {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .fc-site .menu {
    gap: 6px;
    padding: 5px;
    font-size: 13px;
  }

  .fc-site .menu a {
    min-height: 36px;
    padding: 7px 11px;
  }
}

@media (max-width: 560px) {
  .fc-site .visual-strip {
    grid-template-columns: 1fr;
  }
}
