:root {
  --ink: #142033;
  --muted: #5c6c80;
  --line: #e3ebf3;
  --bg: #f4f7fb;
  --white: #ffffff;
  --blue: #0b7ec4;
  --blue-d: #075f94;
  --blue-deep: #0c3d66;
  --blue-s: #e8f4fc;
  --orange: #e36a12;
  --shadow: 0 14px 40px rgba(16, 40, 68, 0.08);
  --radius: 18px;
  --max: 1140px;
  --header: 118px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #8ecdf3; outline-offset: 2px; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.topbar { background: var(--blue-deep); color: #d7e7f4; font-size: 14px; }
.topbar-inner, .header-main, .nav-inner, .footer-grid, .split, .cards, .news-grid, .job-list {
  display: flex; gap: 16px; align-items: center;
}
.topbar-inner { justify-content: flex-end; min-height: 38px; gap: 22px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ffd7b0; }

.site-header {
  position: sticky; top: 0; z-index: 30; background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.header-main { justify-content: space-between; min-height: 78px; }
.logo img { width: 168px; height: auto; }
.search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #f8fafc; overflow: hidden; }
.search input {
  border: 0; background: transparent; padding: 10px 16px; width: 220px; outline: none;
}
.search button {
  border: 0; background: transparent; width: 42px; height: 40px; cursor: pointer; color: var(--blue);
}
.burger {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.nav { border-top: 1px solid var(--line); border-bottom: 3px solid var(--blue); }
.nav-inner { align-items: stretch; justify-content: center; gap: 4px; min-height: 52px; }
.nav-item { position: relative; }
.nav-item > a, .nav-drop {
  display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 12px;
  color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: transparent; border: 0; cursor: pointer;
}
.nav-item > a:hover, .nav-drop:hover, .nav-item.is-active > a, .nav-item.is-active > .nav-drop { color: var(--blue); }
.sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 40;
}
.nav-item.is-open > .sub { display: block; }
.nav-search { display: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.sub a:hover { background: var(--blue-s); color: var(--blue-d); }
@media (min-width: 980px) {
  .nav-item:hover > .sub, .nav-item:focus-within > .sub { display: block; }
}

.hero { padding: 28px 0 8px; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: 28px; min-height: 440px;
  background: linear-gradient(135deg, #083a62 0%, #0b7ec4 58%, #3cb0ea 100%);
  color: #fff; box-shadow: var(--shadow);
}
.slide {
  display: none; padding: 48px 48px 88px; max-width: none;
  background-size: cover; background-position: center;
}
.slide.is-active {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(180px, .85fr);
  gap: 12px 28px; align-items: center; min-height: 460px;
}
.slide.is-active.no-art { display: block; }
.slide-copy { max-width: 680px; }
.slide-art { width: 100%; max-height: 340px; object-fit: contain; justify-self: center; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); font-weight: 700; font-size: 14px;
}
.slide h1, .page-hero h1, .section h2 { letter-spacing: -0.03em; line-height: 1.15; }
.slide h1 { margin: 0 0 16px; font-size: 42px; font-weight: 800; }
.slide p { margin: 0 0 24px; font-size: 18px; color: #e7f4fc; max-width: 620px; }
.slide a.inline { color: #ffd2a4; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.hero-controls { position: absolute; left: 64px; bottom: 28px; display: flex; gap: 8px; align-items: center; }
.dot, .arrow {
  border: 0; cursor: pointer; background: rgba(255,255,255,.2); color: #fff;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.is-active { background: #fff; }
.arrow { width: 36px; height: 36px; border-radius: 50%; margin-left: 8px; font-size: 18px; }

.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
  border-radius: 12px; font-weight: 700; border: 0; cursor: pointer;
}
.btn { background: #fff; color: var(--blue-d); }
.btn:hover { background: #fff4ea; color: var(--orange); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-line { background: transparent; color: var(--blue); border: 1px solid #b9d7ea; }
.btn-line:hover { border-color: var(--blue); background: var(--blue-s); }

.section { padding: 56px 0; }
.section h2, .page-hero h1 { margin: 0 0 12px; font-size: 34px; font-weight: 800; }
.center { text-align: center; }
.underline { width: 72px; height: 3px; background: var(--blue); margin: 14px auto 28px; border: 0; }
.lead { font-size: 18px; color: #31465c; }
.muted { color: var(--muted); }

.intro {
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.cards, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card, .panel, .prose, .form, .table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(16,40,68,.02);
}
.card { padding: 22px; display: flex; flex-direction: column; gap: 8px; color: inherit; min-height: 100%; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-s); color: var(--blue); font-weight: 800; margin-bottom: 6px;
}
.icon.has-img { background: var(--blue); }
.icon img { width: 26px; height: 26px; object-fit: contain; }
.card-media {
  display: grid; place-items: center; height: 180px; margin: -22px -22px 12px;
  border-radius: 17px 17px 0 0; background: #f7fafc; overflow: hidden;
}
.card-media img { max-width: 86%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.card-media.cover img { width: 100%; height: 180px; max-width: none; max-height: none; object-fit: cover; }
.figure { margin: 0 0 18px; }
.figure img { max-width: 100%; height: auto; border-radius: 12px; }
.card h3 { margin: 0; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }

.band {
  background: linear-gradient(90deg, #0b7ec4, #1496dc); color: #fff; padding: 48px 0;
}
.band h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { padding: 8px 0 8px 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: #ffd2a4; }

.b24-form-slot { min-height: 280px; }
.form { padding: 22px; display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-weight: 500;
}
.form textarea { min-height: 110px; resize: vertical; }
.form .hint { font-size: 13px; color: var(--muted); font-weight: 500; }
.form .ok { display: none; background: #eef9f1; border: 1px solid #b7e0c2; color: #146233; border-radius: 12px; padding: 12px; }
.form.is-sent .ok { display: block; }
.consent { font-weight: 500; color: var(--muted); font-size: 13px; }

.page-hero { padding: 36px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.prose { padding: 28px; }
.prose p { margin-top: 0; }
.prose h2 { font-size: 26px; margin: 28px 0 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; color: var(--ink); font-weight: 700; font-size: 14px;
}
.chip.is-active, .chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.news-card time { color: var(--blue); font-weight: 800; font-size: 13px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.review {
  margin: 0; display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px 20px;
}
.review::before {
  content: "“"; position: absolute; top: 2px; right: 16px;
  font-size: 78px; line-height: 1; font-weight: 800; color: var(--blue-s); pointer-events: none;
}
.review blockquote { margin: 0; flex: 1; position: relative; padding-right: 36px; }
.review p { margin: 0; color: #24364c; line-height: 1.65; }
.review-stat {
  display: inline-flex; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: #eef9f1; color: #146233; font-weight: 800; font-size: 13px; line-height: 1.4;
}
.review figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #1496dc, #0b7ec4); color: #fff; font-weight: 800;
}
.review-person { display: grid; gap: 2px; min-width: 0; }
.review-person b { font-size: 15px; line-height: 1.3; }
.review-person span { color: var(--muted); font-size: 13px; line-height: 1.35; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: #f7fbfe; }

.job { padding: 22px; }
.job h3 { margin: 0 0 6px; }
.price { color: var(--orange); font-weight: 800; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { color: #31465c; }

.map { position: relative; overflow: hidden; height: 400px; border-radius: var(--radius); }
.map iframe { position: relative; width: 100%; height: 400px; border: 0; }
.map > a { color: #eee; font-size: 12px; position: absolute; left: 0; z-index: 1; }
.map > a:first-child { top: 0; }
.map > a:nth-child(2) { top: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { margin: 8px 0; }

.site-footer { background: #0e1c2d; color: #c9d6e4; padding: 48px 0 20px; margin-top: 20px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; align-items: start; }
.site-footer h2 { margin: 0 0 12px; font-size: 18px; color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 6px 0; }
.copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 16px; font-size: 14px; }
.empty { padding: 28px; text-align: center; }

@media (max-width: 979px) {
  .burger { display: inline-block; }
  .search input { width: 120px; }
  .nav { display: none; border-bottom: 0; }
  .nav.is-open { display: block; background: #fff; border-top: 1px solid var(--line); }
  .nav-inner { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .nav-item > a, .nav-drop { width: 100%; justify-content: space-between; }
  .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav-item.is-open > .sub { display: block; }
  .slide, .slide.is-active, .slide.is-active.no-art { display: none; padding: 32px 22px 84px; min-height: 0; }
  .slide.is-active, .slide.is-active.no-art { display: block; }
  .slide-art { max-height: 220px; margin: 16px auto 0; }
  .slide h1, .section h2, .page-hero h1 { font-size: 30px; }
  .hero-controls { left: 22px; }
  .cards, .news-grid, .review-grid, .footer-grid, .split, .intro { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: space-between; }
}

@media (max-width: 979px) {
  .nav.is-open .nav-search { display: flex; width: 100%; margin: 4px 0 8px; }
}
@media (max-width: 640px) {
  .header-main { min-height: 68px; }
  .header-main .search { display: none; }
  .topbar { font-size: 13px; }
  .topbar-inner a:nth-child(n + 3) { display: none; }
  .topbar a { white-space: nowrap; }
  .slide h1 { font-size: 26px; }
  .hero-frame { min-height: 0; border-radius: 18px; }
  .copy { flex-direction: column; }
}
