:root {
  --bg: #eef4fa;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --text: #071a3d;
  --muted: #556477;
  --line: #dbe8f6;
  --line-blue: #9fc4ee;
  --blue: #07489c;
  --blue-dark: #052e68;
  --amber: #f5a30b;
  --shadow: 0 18px 48px rgba(7, 26, 61, 0.12);
  --radius: 8px;
  --wide: min(1430px, calc(100vw - 60px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

main#top {
  scroll-margin-top: 94px;
}

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: var(--wide);
  min-height: 84px;
  margin: 0 auto;
  padding: 0 28px;
  border-bottom: 1px solid rgba(219, 232, 246, 0.95);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.site-nav a {
  color: #13233d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-phone {
  color: #fff;
  min-width: 154px;
  white-space: nowrap;
  background: var(--blue-dark);
  box-shadow: 0 14px 28px rgba(5, 46, 104, 0.22);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  fill: currentColor;
  stroke: none;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(7, 72, 156, 0.2);
}

.button.secondary {
  color: var(--blue-dark);
  border-color: var(--line-blue);
  background: #fff;
}

.button:hover,
.header-phone:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 380px;
  gap: 38px;
  width: var(--wide);
  min-height: 560px;
  margin: 0 auto;
  padding: 76px 36px 44px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(238, 244, 250, 0.98) 0%, rgba(238, 244, 250, 0.9) 42%, rgba(238, 244, 250, 0.28) 60%, rgba(238, 244, 250, 0) 78%),
    url("assets/source/office.jpg") right center / auto 100% no-repeat,
    linear-gradient(135deg, #fff, #dfeaf6);
}

.hero::after {
  display: none;
}

.hero-copy,
.hero-contact {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  align-content: center;
  max-width: 650px;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 650px;
  color: var(--blue-dark);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1::after {
  color: var(--amber);
  content: ".";
}

.hero p {
  max-width: 590px;
  margin: 0;
  color: #2e3d52;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-contact {
  align-self: end;
  padding: 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(5, 46, 104, 0.84), rgba(6, 74, 159, 0.76));
  box-shadow: var(--shadow);
}

.hero-contact strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-contact p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.hero-contact dl {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-contact div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
}

.hero-contact dt {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-contact dd {
  margin: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  width: var(--wide);
  margin: 24px auto 0;
  padding: 0 36px;
}

.quick-card {
  display: grid;
  min-height: 214px;
  padding: 26px 22px 20px;
  border: 2px solid var(--line-blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  color: var(--blue);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(7, 26, 61, 0.08);
}

.quick-card:hover {
  border-color: #6da7e4;
  box-shadow: 0 18px 42px rgba(7, 72, 156, 0.16);
}

.quick-card svg {
  justify-self: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  stroke-width: 1.55;
}

.quick-card strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.05;
}

.quick-card span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.quick-card small {
  align-self: end;
  justify-self: end;
  color: var(--amber);
  font-size: 24px;
  line-height: 1;
}

.partners {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  width: var(--wide);
  margin: 32px auto 0;
  padding: 22px 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.partners p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.partners div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.partners span {
  display: grid;
  place-items: center;
  height: 66px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #68788c;
  font-size: 13px;
  font-weight: 800;
}

.partners img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.partners em {
  color: #63758a;
  font-style: normal;
  line-height: 1.1;
}

.section,
.offer-list,
.claim-help,
.contact-section {
  width: var(--wide);
  margin: 0 auto;
  padding-right: 36px;
  padding-left: 36px;
}

.intro {
  padding-top: 62px;
  padding-bottom: 22px;
}

.intro h2,
.claim-help h2,
.contact-section h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.05;
}

.intro p,
.claim-help p,
.contact-card p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 24px;
  padding-bottom: 60px;
}

.offer-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(7, 26, 61, 0.07);
}

.offer-card > div {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
}

.offer-card svg {
  width: 30px;
  height: 30px;
}

.offer-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

.offer-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.offer-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #2f4056;
}

.offer-card li::marker {
  color: var(--amber);
}

.claim-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), #083f8a);
}

.claim-help h2,
.claim-help p {
  color: #fff;
}

.claim-help p {
  color: rgba(255, 255, 255, 0.84);
}

.claim-help .button.primary {
  background: var(--amber);
  color: #08162d;
  box-shadow: none;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 28px;
  padding-top: 62px;
  padding-bottom: 70px;
}

.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 26, 61, 0.07);
}

.contact-card {
  padding: 34px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
}

.contact-lines a {
  text-decoration: none;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0 0 18px;
  padding: 0 16px;
  border: 1px solid #b8d1ef;
  border-radius: var(--radius);
  color: #fff;
  background: #1877f2;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(24, 119, 242, 0.16);
}

.facebook-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

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

.contact-form h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2f4056;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  font: 700 15px/1.4 inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--line-blue);
  box-shadow: 0 0 0 3px rgba(7, 72, 156, 0.1);
}

.contact-form p,
.contact-form output {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--wide);
  margin: 0 auto;
  padding: 24px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: start;
    order: 3;
    padding-bottom: 16px;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .offer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners {
    grid-template-columns: 1fr;
  }

  .partners div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --wide: min(100vw - 28px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 0 16px;
  }

  .brand-logo {
    height: 48px;
    max-width: 238px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .nav-toggle span:not(.sr-only) {
    height: 2px;
    background: var(--text);
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 48px 18px 120px;
    background:
      linear-gradient(180deg, rgba(238, 244, 250, 0.98), rgba(238, 244, 250, 0.86)),
      url("assets/source/office.jpg") center / cover no-repeat;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero p {
    font-size: 20px;
  }

  .hero-contact {
    padding: 22px;
  }

  .hero-contact div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 0 18px;
  }

  .quick-card {
    min-height: 156px;
  }

  .partners,
  .section,
  .offer-list,
  .claim-help,
  .contact-section,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .partners div,
  .offer-list {
    grid-template-columns: 1fr;
  }

  .claim-help,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
