:root {
  color-scheme: light;
  scroll-padding-top: 90px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #10223d;
  background: #f5f8fd;
  --blue: #0759c8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.container { width: min(1184px, calc(100% - 72px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #e1e8f2; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 20px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: .9375rem; font-weight: 600; }
nav a:hover, nav a[aria-current] { color: var(--blue); }
.pending { color: #68768a; }
.menu-toggle { display: none; }
.hero { padding: 52px 0 48px; }
.intro { text-align: center; }
h1 { margin: 0 auto; font-size: clamp(2.15rem, 4.55vw, 4.125rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
h1 span { color: var(--blue); }
.intro p { max-width: 650px; margin: 22px auto 24px; color: #455670; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.55; }
.contact { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 650; }
.contact:hover { background: #034daF; }
.hero-image { display: block; width: 100%; height: auto; margin-top: 36px; border-radius: 20px; box-shadow: 0 15px 45px #14366318; }
@media (max-width: 900px) {
  :root { scroll-padding-top: 78px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 16px; }
  .menu-toggle:not([hidden]) { display: block; padding: 8px 14px; min-height: 42px; border: 1px solid #d5e2f5; border-radius: 8px; background: #fff; color: var(--blue); font: inherit; font-weight: 650; cursor: pointer; }
  nav { width: 100%; padding: 10px 0 18px; gap: 12px 20px; }
  .menu-toggle:not([hidden]) + nav:not(.open) { display: none; }
}
@media (max-width: 540px) {
  .hero { padding-top: 43px; }
  .desktop-break { display: none; }
  .intro p { margin: 16px auto 22px; }
  .hero-image { margin-top: 28px; border-radius: 12px; }
}


.services {
  padding: 43px 0 76px;
  border-top: 1px solid #e1e8f2;
}
.services h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid #e1e8f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px #14366308;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #3b82f6;
  color: #fff;
}
.service-icon svg {
  width: 28px;
  height: 28px;
}
.service-card h3 {
  margin: 18px 0 9px;
  font-size: 1.25rem;
  line-height: 1.25;
}
.service-card p {
  margin: 0 0 20px;
  color: #455670;
  line-height: 1.55;
}
.service-more {
  margin-top: auto;
  padding: 9px 14px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: #f5f8fd;
  color: var(--blue);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .services { padding: 32px 0 48px; }
  .services h2 { margin-bottom: 24px; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-card { padding: 22px; }
}
@media (hover: hover) {
  .service-card:hover {
    border-color: #c1d6f6;
    box-shadow: 0 12px 30px #14366314;
  }
  .service-more:hover {
    background: var(--blue);
    color: #fff;
  }
  .hero-image:hover {
    box-shadow: 0 20px 52px #14366329;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card {
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  }
  .service-card:hover {
    transform: translateY(-3px);
  }
  .service-more {
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
  }
  .service-more:hover {
    transform: translateY(-2px);
  }
  .hero-image {
    transition: transform 300ms ease, box-shadow 300ms ease;
  }
  .hero-image:hover {
    transform: translateY(-4px) scale(1.012);
  }
}

.advantages {
  padding: 43px 0 76px;
  border-top: 1px solid #e1e8f2;
}
.advantages h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.advantages-intro {
  max-width: 660px;
  margin: 18px auto 32px;
  text-align: center;
  color: #455670;
  line-height: 1.55;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.advantage-card {
  padding: 22px;
  border: 1px solid #e1e8f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px #14366308;
}
.advantage-card h3 {
  margin: 0 0 10px;
  color: black;
  font-size: 1.1875rem;
  line-height: 1.25;
}
.advantage-card p {
  margin: 0;
  color: #455670;
  line-height: 1.55;
}
@media (max-width: 1000px) {
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .advantages { padding: 32px 0 48px; }
  .advantages-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}


.advantage-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 8px;
}
.advantage-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
}
.advantage-icon svg {
  width: 15px;
  height: 15px;
}
.advantage-card p {
  grid-column: 1 / -1;
}
.advantage-card a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.advantage-card:focus-within {
  border-color: #c1d6f6;
  box-shadow: 0 12px 30px #14366314;
}
@media (hover: hover) {
  .advantage-card:hover {
    border-color: #c1d6f6;
    box-shadow: 0 12px 30px #14366314;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .advantage-card {
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  }
  .advantage-card:hover {
    transform: translateY(-3px);
  }
}

.pricing .advantages-intro { margin-bottom: 12px; }
.pricing-services { margin: 0 0 32px; text-align: center; }
.pricing-services a { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }
.price-card { align-items: stretch; }
.price-card h3 { margin: 0; text-align: center; }
.price-card .project-price {
  margin: 24px 0;
  color: var(--blue);
  text-align: center;
  font-size: 1.85rem;
  font-weight: 750;
  line-height: 1.2;
}
.price-card ul { margin: 0 0 24px; padding-left: 1.45rem; color: #455670; line-height: 1.5; }
.price-card li + li { margin-top: 8px; }
.price-card li::marker { content: "✓  "; color: var(--blue); }
.price-order { margin-top: auto; border: 0; font: inherit; font-weight: 650; }
.price-order:disabled { opacity: 1; }


.price-order:not(:disabled) { cursor: pointer; }
.order-dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(20px, 5vw, 32px);
  border: 1px solid #dce6f4;
  border-radius: 18px;
  color: #10223d;
  box-shadow: 0 20px 60px #10223d40;
}
.order-dialog::backdrop { background: #10223d80; }
.order-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-heading h2 { margin: 0; font-size: clamp(1.4rem, 5vw, 1.75rem); }
.order-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #f5f8fd;
  color: var(--blue);
  font-size: 1.5rem;
  cursor: pointer;
}
.order-project { margin: 12px 0 16px; }
.order-project strong { color: var(--blue); }
.order-note { margin: 0 0 18px; color: #455670; }
.order-dialog label { display: block; margin-bottom: 6px; font-weight: 650; }
.order-dialog label span { color: #455670; font-size: .875rem; font-weight: 400; }
.order-dialog input, .order-dialog textarea {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #a8b8cf;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.order-dialog textarea { resize: vertical; }
.order-dialog .price-order { width: 100%; }
.order-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 10px;
}
.order-actions .contact { margin: 0; padding: 10px 12px; text-align: center; }
.order-max { border: 1px solid var(--blue); background: #fff; color: var(--blue); }
.order-max:hover { color: #fff; }
.order-delivery { margin: 12px 0 0; font-size: .875rem; line-height: 1.45; }
@media (max-width: 480px) {
  .order-actions { grid-template-columns: 1fr; }
}

.contact-grid { margin-top: 32px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px #14366308;
}
.contact-icon { flex: none; width: 36px; height: 36px; border-radius: 9px; font-size: 18px; }
.contact-value { display: block; margin-top: 3px; color: #455670; overflow-wrap: anywhere; }
.contact-card:hover, .contact-card:focus-visible { border-color: #8db4ef; box-shadow: 0 12px 30px #14366314; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .contact-card { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
  .contact-card:hover { transform: translateY(-3px); }
}
.site-footer { padding: 32px 0 20px; border-top: 1px solid #e1e8f2; background: #fff; }
.footer-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-identity { margin-top: 32px; text-align: center; }
.footer-identity p { margin: 12px 0 0; color: #455670; }
.footer-links { display: grid; align-content: start; justify-items: center; gap: 9px; text-align: center; }
.footer-links a { width: fit-content; color: var(--blue); }
.footer-links a:hover { text-decoration: underline; }
.footer-requisites { font-size: .875rem; }
.footer-copy { font-size: 1rem; }
.footer-payments {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 5px 8px;
  border-radius: 9px;
  background: #f0f2f5;
}
.footer-payments img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}
@media (max-width: 680px) {
  .contact-grid { margin-top: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}


.contact-icon-max::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
}
