:root {
  color-scheme: light;
  --ink: #202225;
  --blue: #4c9ded;
  --deep-blue: #2369aa;
  --muted: #505965;
  --line: #d7dee6;
  --surface: #f2f5f8;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #0e60ac; outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.symbols { position: absolute; pointer-events: none; }
.icon { display: inline-block; width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-160%); z-index: 10; padding: 12px; background: white; }
.skip:focus { transform: translateY(0); }

.header { background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 78px; }
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: 166px; height: auto; }
.nav nav { display: flex; gap: clamp(18px, 3vw, 48px); align-items: center; font-size: 14px; font-weight: 650; }
.nav nav a, .head-phone, .footer a { padding-block: 10px; }
.nav nav a:hover, .head-phone:hover, .footer a:hover { color: var(--deep-blue); }
.head-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 750; white-space: nowrap; }
.head-phone .icon { width: 17px; height: 17px; color: var(--deep-blue); }

.hero { padding: 36px 0 0; background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 34px; }
.hero-copy { align-self: center; padding: 24px 0 30px; }
.tag, .section-kicker, .hero-photo figcaption { font-size: 11px; letter-spacing: 0.14em; font-weight: 800; }
.tag { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #c9d9e8; padding: 8px 12px; border-radius: 999px; color: #285777; }
.tag span { background: #3c8fdf; width: 7px; height: 7px; border-radius: 50%; }
h1 { font-size: clamp(54px, 6.1vw, 98px); line-height: 0.99; letter-spacing: -0.052em; word-spacing: 0.025em; font-weight: 800; margin: 22px 0 19px; }
h1 em { font-style: normal; color: var(--deep-blue); }
.hero-copy > p { color: var(--muted); font-size: clamp(16px, 1.45vw, 21px); line-height: 1.5; max-width: 395px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 51px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 750; }
.primary { background: var(--blue); color: #111c28; }
.primary:hover { background: #77b9f6; }
.ghost { border: 1px solid #c8d1dc; }
.ghost:hover { background: #e5edf6; }
.hero-photo { position: relative; overflow: hidden; border-radius: 15px; min-height: clamp(388px, 38vw, 540px); isolation: isolate; background: #343b42; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 66% 0 0; background: linear-gradient(transparent, #111820c9); }
.hero-photo figcaption { position: absolute; z-index: 1; left: 23px; right: 23px; bottom: 19px; display: flex; justify-content: space-between; gap: 12px; color: #fff; }
.hero-photo figcaption span:last-child { text-align: right; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 27px; border-top: 1px solid var(--line); }
.facts > div { display: flex; align-items: center; gap: 13px; padding: 21px 18px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts .icon { width: 37px; height: 37px; padding: 8px; border-radius: 8px; background: #e0edfa; color: #1c62a2; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: 15px; }
.facts span { font-size: 13px; color: var(--muted); margin-top: 4px; }

.section { padding: clamp(58px, 7vw, 102px) 0; }
.section-kicker { margin-bottom: 16px; }
.section-kicker span { color: var(--deep-blue); margin-right: 5px; }
h2 { font-size: clamp(39px, 4.8vw, 66px); font-weight: 800; letter-spacing: -0.061em; line-height: 1.04; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 325px; font-size: 16px; line-height: 1.45; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.service { overflow: hidden; border: 1px solid #dbe2ea; border-radius: 12px; background: #f7f9fb; }
.service img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: center 26%; }
.service div { padding: 17px 17px 19px; }
.service h3 { font-size: clamp(17px, 1.65vw, 23px); letter-spacing: -0.035em; line-height: 1.15; }
.service p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.service-note { margin-top: 23px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 14px; }
.service-note p { color: var(--muted); }
.service-note a, .visit a, .footer a:last-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.service-note a { color: var(--deep-blue); }
.service-note a:hover, .visit a:hover { text-decoration: underline; }
.service-note .icon, .visit a .icon, .footer .icon { width: 16px; height: 16px; }

.about { background: #202225; color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 0.94fr; align-items: center; gap: clamp(34px, 8vw, 120px); }
.about .section-kicker span { color: #89c4ff; }
.about p { color: #dce3eb; margin-top: 19px; max-width: 510px; line-height: 1.6; font-size: 17px; }
.about-photo { overflow: hidden; border-radius: 13px; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; object-position: center 45%; }
.contacts { background: var(--blue); color: #111e2b; }
.contacts .section-kicker span { color: inherit; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.83fr; gap: 35px; align-items: center; }
.contact-grid > div > p { max-width: 370px; line-height: 1.5; margin-top: 17px; }
.dark { color: #fff; background: #202225; margin-top: 24px; }
.dark:hover { background: #333b43; }
.visit { padding: 25px; border-radius: 12px; background: #e8f3ff; }
.visit > div { display: flex; align-items: start; gap: 11px; padding: 12px 0; }
.visit p span { display: block; font-size: 14px; color: #3b536a; margin-top: 5px; }
.visit a { margin-top: 10px; padding-top: 15px; width: 100%; border-top: 1px solid #bfd5ea; font-size: 14px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; font-size: 14px; }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 64px); }
  .hero-grid { gap: 22px; }
  .hero-photo { min-height: 365px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .nav { gap: 9px 14px; flex-wrap: wrap; min-height: 0; padding-top: 12px; }
  .brand img { width: 140px; }
  .nav nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); gap: 10px; }
  .head-phone { font-size: 13px; }
  .hero { padding-top: 23px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(48px, 10vw, 69px); margin: 17px 0 14px; }
  .actions { margin-top: 19px; }
  .hero-photo { min-height: 0; aspect-ratio: 1.53; }
  .hero-photo figcaption { left: 12px; right: 12px; bottom: 12px; font-size: 9px; }
  .facts { margin-top: 20px; grid-template-columns: 1fr; }
  .facts > div { border-left: 0; padding: 11px 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .section-head { display: block; margin-bottom: 21px; }
  .section-head p { margin-top: 10px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service div { padding: 11px; }
  .service p { font-size: 13px; }
  .service-note { align-items: start; flex-direction: column; }
  .contact-grid { gap: 23px; }
  .footer-row { flex-wrap: wrap; padding: 12px 0; gap: 0 15px; }
}
@media (max-width: 360px) {
  .head-phone { font-size: 12px; gap: 4px; }
  .nav .brand img { width: 115px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
