:root {
  --blue: #2e3192;
  --blue-dark: #171a6b;
  --blue-soft: #eef1ff;
  --red: #ed1c24;
  --red-dark: #be121a;
  --ink: #172033;
  --muted: #5d687c;
  --line: #e5e8f3;
  --surface: #ffffff;
  --bg: #f7f8fd;
  --shadow: 0 18px 50px rgba(23, 26, 107, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.topbar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a { font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(23, 26, 107, 0.06);
}

.header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { width: 220px; height: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--blue-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(46, 49, 146, 0.20);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  padding: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 99px;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(237, 28, 36, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f0f2ff 52%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 99px;
}

.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }

.hero h1,
.section h2,
.cta-band h2,
.page-title h1 {
  margin: 0;
  color: var(--blue-dark);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 { font-size: clamp(38px, 5vw, 68px); }
.hero p { margin: 20px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 620px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.22);
}

.btn--primary:hover,
.btn--primary:focus { background: var(--red-dark); transform: translateY(-2px); }

.btn--ghost {
  color: var(--blue);
  border-color: rgba(46, 49, 146, 0.24);
  background: #fff;
}

.btn--ghost:hover,
.btn--ghost:focus { border-color: var(--blue); transform: translateY(-2px); }

.btn--light {
  color: var(--blue-dark);
  background: #fff;
}

.hero__media {
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  /*transform: rotate(1.2deg);*/
}

.hero__media img {
  width: 100%;
  min-height: 150px;
  object-fit: cover;
}

.section { padding: 72px 0; }
.section--compact { padding: 46px 0; }
.section--white { background: #fff; }

.page-title {
  padding: 54px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
}

.page-title h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); }
.page-title p { max-width: 760px; margin: 16px 0 0; color: rgba(255,255,255,0.88); font-size: 18px; }

.section h2 { font-size: clamp(30px, 4vw, 46px); }
.section__head { max-width: 760px; margin-bottom: 32px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(23, 26, 107, 0.07);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 21px;
}

.card p { margin: 0; color: var(--muted); }
.card strong { color: var(--blue-dark); }

.icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: 25px;
  box-shadow: 0 12px 28px rgba(46, 49, 146, 0.22);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.split__media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #fff;
}

.split__media img { width: 100%; min-height: 320px; object-fit: cover; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
  line-height: 1;
}

.price-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.price-item span:first-child { font-weight: 800; color: var(--blue-dark); }
.price-item span:last-child { color: var(--red); font-weight: 900; }

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #d8ddec;
  border-radius: 16px;
  padding: 13px 15px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  outline: none;
  transition: 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.10);
}

.form-field textarea { min-height: 150px; resize: vertical; }
.form-field--hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
}

.alert--success { background: #e7f7ed; color: #176b35; }
.alert--error { background: #fff0f0; color: #a8131a; }

.address-card {
  overflow: hidden;
  padding: 0;
}

.address-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.address-card__body { padding: 24px; }
.address-card__body p { margin: 8px 0; }
.address-card__body a { color: var(--blue); font-weight: 900; }

.map-wrap {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 26, 107, 0.07);
}

.map-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.cta-band {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.cta-band p { max-width: 700px; margin: 10px 0 0; color: rgba(255,255,255,0.84); }

.site-footer {
  padding: 44px 0 22px;
  background: #0e103f;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 28px;
}

.footer__logo {
  width: 170px;
  height: auto;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
}

.site-footer h3 { margin: 0 0 10px; color: #fff; }
.site-footer p { margin: 6px 0; color: rgba(255,255,255,0.76); }
.site-footer a { color: #fff; font-weight: 800; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.64);
  font-size: 14px;
}

@media (max-width: 960px) {
  .hero__grid,
  .split,
  .grid--2,
  .grid--3,
  .grid--4,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid { min-height: auto; padding: 44px 0; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .header__inner { min-height: 78px; }
  .brand img { width: 180px; }
  .menu-toggle { display: inline-block; }

  .main-nav {
    display: none;
    width: 100%;
    padding: 0 0 18px;
  }

  .main-nav.is-open { display: block; }

  .main-nav ul {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    width: 100%;
    justify-content: center;
    background: var(--blue-soft);
  }

  .hero__media { transform: none; }
  .section { padding: 48px 0; }
  .card { padding: 22px; }
  .topbar__inner { justify-content: center; text-align: center; padding: 8px 0; }
}
