:root {
  --blue: #1239ac;
  --ink: #23324b;
  --muted: #566176;
  --gold: #ffb400;
  --light: #eef1f8;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--muted); font: 17px/1.65 "DM Sans", Arial, sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { color: var(--blue); line-height: 1.16; margin: 0 0 .6em; }
h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.035em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 1.2em; }
.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
header { border-bottom: 1px solid #e3e7f1; background: #fff; }
.header-inner { max-width: 1540px; width: calc(100% - 48px); margin: auto; padding: 14px 0; display: flex; gap: 28px; align-items: center; }
.desktop-nav, .mobile-nav nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.desktop-nav a, .mobile-nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.header-phone { margin-left: auto; display: flex; gap: 12px; align-items: center; text-decoration: none; white-space: nowrap; }
.header-phone small, .header-phone strong { display: block; }
.header-phone small { color: var(--muted); font-size: 13px; }
.phone-icon { background: var(--light); border-radius: 50%; display: grid; place-items: center; width: 49px; height: 49px; }
.mobile-nav { display: none; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 8px; left: 10px; z-index: 10; background: #fff; padding: 8px; }
.hero { background: var(--light); }
.crumbs { list-style: none; padding: 18px 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.crumbs li+li::before { content: "/"; margin-right: 8px; }
.hero-inner { padding: 26px 0 48px; }
.hero-inner p { max-width: 650px; font-size: 18px; }
.hero-inner.with-photo { display: grid; grid-template-columns: 1.13fr 1fr; gap: 44px; align-items: center; }
.hero-inner img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.call-button { border-radius: 40px; background: var(--blue); color: #fff; padding: 9px 10px 9px 19px; display: inline-flex; gap: 16px; align-items: center; text-decoration: none; font-weight: 700; }
.call-button span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #142039; font-size: 24px; line-height: 1; }
.layout { padding-block: clamp(35px, 6vw, 72px); }
.layout.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 310px); gap: 42px; align-items: start; }
article > h2:not(:first-child) { margin-top: 36px; }
article li { margin-bottom: 8px; }
.link-box { border: 1px solid #e1e6f0; border-radius: 12px; overflow: hidden; margin-bottom: 24px; background: #fff; }
.link-box h2 { margin: 0; background: var(--blue); color: #fff; padding: 15px 20px; font-size: 19px; }
.link-box ul { padding: 6px 18px; margin: 0; list-style: none; }
.link-box li+li { border-top: 1px solid #e4e8f1; }
.link-box a { display: block; padding: 9px 2px; text-decoration: none; font-size: 15px; font-weight: 600; }
.link-box a:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 14px; margin-bottom: 32px; }
.card { display: block; border: 1px solid #e1e6f0; border-radius: 12px; overflow: hidden; padding: 12px; text-decoration: none; }
.card:hover { background: var(--light); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 7px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.state { margin-bottom: 34px; }
.faq { margin-top: 34px; }
.faq details { border: 1px solid #e1e6f0; border-radius: 9px; padding: 12px 16px; margin-bottom: 10px; }
.faq details[open] { border-left: 4px solid var(--gold); }
.faq summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.faq p { margin: 9px 0 0; }
.bottom-call { background: var(--blue); color: #fff; text-align: center; padding: 45px 0; }
.bottom-call h2 { color: #fff; }
.bottom-call .call-button { background: var(--gold); color: #142039; }
.bottom-call .call-button span { background: var(--blue); color: #fff; }
footer { background: #102d84; color: white; padding: 36px 0; }
footer a { color: white; }
footer img { background: white; border-radius: 50%; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-grid nav { display: grid; align-content: start; gap: 8px; }
@media(max-width: 930px) {
  .desktop-nav { display: none; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .mobile-nav { display: block; width: 100%; }
  .mobile-nav summary { color: var(--blue); cursor: pointer; }
  .mobile-nav nav { flex-wrap: wrap; padding-top: 10px; }
}
@media(max-width: 680px) {
  .wrap { width: calc(100% - 34px); }
  .hero-inner.with-photo, .layout.with-aside { grid-template-columns: 1fr; gap: 22px; }
  .hero-inner { padding-top: 15px; padding-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
}
