:root {
  --pink: #ec1683;
  --orange: #ff982a;
  --navy: #0c2254;
  --muted: #52627b;
  --border: #e6ebf3;
  --bg: #f7fafc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--navy);
  background: white;
  font-size: 14px;
  line-height: 1.48;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  max-width: 1180px;
  padding: 0 24px;
  margin: auto;
}
.top {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.toprow {
  min-height: 73px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  width: 190px;
  max-width: 100%;
  height: auto;
}
.micro {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #44516a;
}
.micro .sym {
  color: var(--pink);
  font-size: 19px;
}
.contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.social {
  display: flex;
  gap: 6px;
  align-items: center;
}
.social span {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #20b57b;
  color: white;
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.social span:nth-child(2) {
  background: #2499e5;
}
.social span:nth-child(3) {
  background: #8a44d6;
}
.btn {
  border: 0;
  border-radius: 7px;
  padding: 13px 23px;
  font-weight: 700;
  font-size: 12px;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}
.primary {
  background: linear-gradient(105deg, #e60085, #ff992c);
  color: white;
}
.outline {
  background: white;
  border: 1px solid var(--pink);
  color: var(--pink);
}
.nav {
  border-bottom: 1px solid var(--border);
  background: white;
}
.navrow {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 46px;
  flex-wrap: wrap;
}
.navrow a {
  font-size: 12px;
  font-weight: 600;
}
.navrow a:hover,
.link {
  color: var(--pink);
}
.hero {
  position: relative;
  min-height: 310px;
  background:
    linear-gradient(
      90deg,
      #f5faff 0%,
      #f7fbff 44%,
      rgba(247, 251, 255, 0.25) 75%
    ),
    none right center/auto 100% no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 252, 255, 0.98) 0%,
    rgba(248, 252, 255, 0.92) 43%,
    transparent 77%
  );
}
.hero .container {
  position: relative;
  width: 100%;
}
.hero-copy {
  max-width: 580px;
}
.hero h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 800;
}
.hero p {
  max-width: 490px;
  margin: 0 0 14px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.notice {
  background: #edf6fb;
  border: 1px solid #e0edf7;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 12px;
  max-width: 490px;
}
.notice strong {
  color: var(--navy);
}
.section {
  padding: 32px 0 6px;
}
.section h2 {
  font-size: 22px;
  margin: 0 0 18px;
  font-weight: 800;
}
.benefits {
  background: linear-gradient(110deg, #f1f9fd, #fff);
  border: 1px solid #e6eff6;
  border-radius: 9px;
  padding: 23px 26px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.benefit {
  padding: 8px 20px;
  border-right: 1px solid #e2eaf2;
  min-height: 118px;
}
.benefit:first-child {
  padding-left: 0;
}
.benefit:last-child {
  border: 0;
}
.round {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7e5fa, #fff0e3);
  display: grid;
  place-items: center;
  color: var(--pink);
  font-size: 26px;
  margin-bottom: 10px;
}
.benefit p {
  font-weight: 600;
  margin: 0;
  font-size: 13px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  box-shadow: 0 7px 17px rgba(20, 42, 75, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}
.cardbody {
  padding: 12px 14px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
  flex: 1;
}
.link {
  font-size: 12px;
  font-weight: 700;
}
.portfolio img {
  height: 150px;
  object-fit: cover;
}
.portfolio .cardbody {
  padding-top: 10px;
}
.trio {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}
.panel {
  border: 1px solid #e7edf4;
  border-radius: 9px;
  padding: 18px;
  background: white;
  box-shadow: 0 4px 16px rgba(20, 42, 75, 0.04);
}
.panel h2 {
  font-size: 17px;
}
.aboutflex {
  display: flex;
  gap: 14px;
}
.aboutflex img {
  width: 42%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
}
.panel p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
.review {
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
}
.stars {
  color: #ffae00;
  font-size: 19px;
  letter-spacing: 2px;
}
.cta {
  background: linear-gradient(125deg, #fff6fb, #fceaf5);
  position: relative;
}
.cta:after {
  content: "➤";
  position: absolute;
  right: 22px;
  top: 16px;
  color: var(--pink);
  font-size: 30px;
}
.lower {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 22px;
}
.faq-item {
  border: 1px solid var(--border);
  margin-bottom: 7px;
  border-radius: 5px;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 13px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.faq-item summary:after {
  content: "+";
  font-weight: bold;
}
.faq-item[open] summary:after {
  content: "−";
}
.faq-item p {
  padding: 0 13px 12px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.formbox {
  padding: 20px;
  background: #f9fcff;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.formbox h2 {
  font-size: 18px;
}
.formgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  color: #475b7c;
}
input,
select,
textarea {
  border: 1px solid #dce6f0;
  background: white;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  font-size: 12px;
  color: #243b64;
}
textarea {
  min-height: 76px;
  resize: vertical;
}
.consent {
  font-size: 11px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--pink);
}
.consent input {
  width: auto;
}
.footer {
  margin-top: 34px;
  background: #172940;
  color: #e8edf7;
  padding: 28px 0 34px;
}
.footgrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}
.footgrid a,
.footgrid p {
  display: block;
  font-size: 12px;
  color: #e0e6ef;
  margin: 0 0 7px;
}
.footgrid h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
.footlogo {
  font-size: 19px;
  font-weight: 800;
  color: white;
}
.footlogo em {
  color: #ff3099;
  font-style: normal;
}
.small {
  font-size: 11px;
  color: #b8c4d4;
}
.up {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--pink);
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 22px;
  box-shadow: 0 5px 15px #0002;
}
.toast {
  display: none;
  background: #eaf8ee;
  color: #175b30;
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
}
.toast.show {
  display: block;
}
@media (max-width: 1000px) {
  .micro {
    display: none;
  }
  .toprow {
    gap: 12px;
  }
  .navrow {
    gap: 14px;
  }
  .benefit {
    padding: 8px 10px;
  }
  .cards {
    gap: 12px;
  }
  .trio {
    grid-template-columns: 1fr 1fr;
  }
  .cta {
    grid-column: 1/-1;
  }
  .footgrid {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 16px;
  }
  .toprow {
    min-height: 64px;
  }
  .logo img {
    width: 175px;
  }
  .toprow > .btn {
    padding: 10px;
    font-size: 10px;
  }
  .navrow {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .hero {
    min-height: 400px;
    background-size: auto 75%;
    background-position: right top;
  }
  .hero:before {
    background: linear-gradient(
      90deg,
      #f9fcff 0%,
      rgba(249, 252, 255, 0.91) 65%,
      rgba(249, 252, 255, 0.5)
    );
  }
  .hero h1 {
    font-size: 26px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit {
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 14px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .trio,
  .lower {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-column: auto;
  }
  .footgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section h2 {
    font-size: 20px;
  }
}
@media (max-width: 420px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card img {
    height: 190px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .hero h1 {
    font-size: 23px;
  }
  .toprow > .btn {
    display: none;
  }
}

.logo {
  gap: 10px;
}
.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.logo strong {
  font-size: 19px;
  color: #df007d;
  letter-spacing: -0.5px;
}
.social a {
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #7542dc;
  color: white;
  width: 34px;
  height: 30px;
  font-size: 10px;
  font-weight: 700;
}
.social a.vk {
  background: #0077ff;
}
.contacts a {
  white-space: nowrap;
}
.footlogo {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footlogo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.footgrid .social a {
  display: inline-grid;
  color: white;
  margin: 0;
}
.round svg {
  width: 29px;
  height: 29px;
}
.trio {
  grid-template-columns: 1.5fr 1fr;
}
.lower {
  display: block;
}
.formbox {
  max-width: 100%;
}
.phone-trigger.link {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  align-self: flex-start;
}
.print-benefits {
  background: #f8fbfd;
}
.print-benefits .benefit {
  min-height: 145px;
}
.cta:after {
  pointer-events: none;
}
.cta h2 {
  padding-right: 35px;
}
.consent.field {
  flex-direction: row;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  width: min(440px, calc(100% - 32px));
  color: var(--navy);
  box-shadow: 0 24px 80px #10264b33;
}
dialog::backdrop {
  background: #14243c88;
}
.dialog-inner {
  padding: 32px;
  position: relative;
  text-align: center;
}
.dialog-inner .round {
  margin: 0 auto 16px;
}
.dialog-inner h2 {
  font-size: 23px;
  margin: 0 0 10px;
}
.dialog-inner p {
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--muted);
}
.dialog-phone {
  display: block;
  font-size: 26px;
  font-weight: 800;
  margin: 18px 0;
  color: var(--pink);
}
.dialog-email {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .contacts.micro {
    display: flex;
  }
  .trio {
    grid-template-columns: 1.5fr 1fr;
  }
  .cta {
    grid-column: auto;
  }
}
@media (max-width: 700px) {
  .toprow {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .logo img {
    width: 36px;
    height: 36px;
  }
  .logo strong {
    font-size: 16px;
  }
  .contacts.micro {
    font-size: 10px;
  }
  .trio {
    grid-template-columns: 1fr;
  }
  .benefit:first-child {
    padding-left: 14px;
  }
  .print-benefits .benefit {
    min-height: 120px;
  }
  .navrow {
    gap: 18px;
  }
  .navrow a {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .toprow > .btn {
    display: none;
  }
  .logo strong {
    font-size: 15px;
  }
  .social a {
    width: 29px;
    height: 26px;
  }
  .toprow {
    gap: 8px;
  }
}
.hero {
  background: #f5f9fc;
  min-height: 0;
  padding: 42px 0;
}
.hero:before {
  display: none;
}
.hero-copy {
  max-width: 850px;
}
.hero h1 {
  font-size: 32px;
}
.hero p {
  max-width: 780px;
  font-size: 15px;
}
.notice {
  max-width: 780px;
}
.micro .sym {
  display: flex;
  flex: none;
}
.sym svg {
  width: 21px;
  height: 21px;
}
.social a,
.footgrid .social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 11px;
  box-shadow: 0 3px 8px #14243c18;
}
.social a.max {
  background: linear-gradient(135deg, #28b6ff, #7542dc);
}
.social a.vk {
  background: #0077ff;
}
#services .card img {
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
#services .card p {
  margin-bottom: 0;
}
.aboutflex img {
  height: 170px;
}
.aboutflex p {
  font-size: 13px;
}
@media (max-width: 700px) {
  .hero {
    padding: 28px 0;
    min-height: 0;
  }
  .hero h1 {
    font-size: 25px;
  }
  .hero p {
    font-size: 14px;
  }
  .social a {
    width: 32px;
    height: 32px;
  }
  .aboutflex img {
    height: 145px;
  }
}
@media print {
  .up {
    display: none;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .section,
  .card,
  .panel {
    break-inside: avoid;
  }
}
.footgrid .footer-services {
  margin-top: 9px;
  line-height: 1.65;
  max-width: 310px;
}
.footgrid {
  grid-template-columns: 1.5fr 1fr 1.2fr;
}
.workgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.workphoto {
  border: 0;
  padding: 0;
  background: #eef2f6;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.workgrid .workphoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.workphoto:hover {
  outline: 2px solid var(--pink);
}
.aboutflex img {
  height: 245px;
  object-fit: contain;
  background: #eef2f6;
  object-position: center;
}
.aboutflex {
  align-items: center;
}
#photoDialog {
  width: min(900px, 94vw);
  max-height: 92vh;
  background: #fff;
}
#photoDialog img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
#photoDialog .dialog-close {
  background: white;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  z-index: 1;
}
@media (max-width: 700px) {
  .footgrid {
    grid-template-columns: 1fr 1fr;
  }
  .aboutflex img {
    height: 210px;
  }
}
@media (max-width: 420px) {
  .footgrid {
    grid-template-columns: 1fr;
  }
}
:root {
  --navy: #142344;
  --muted: #526078;
  --pink: #d90078;
  --border: #e4e9f1;
}
body {
  background: #f8fafc;
  font-size: 16px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}
.container {
  max-width: 1320px;
  padding: 0 40px;
}
.toprow {
  min-height: 94px;
  gap: 22px;
}
.logo img {
  width: 48px;
  height: 48px;
}
.logo strong {
  font-size: 21px;
}
.micro {
  font-size: 12px;
}
.contacts a:first-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.social a,
.footgrid .social a {
  width: 40px;
  height: 40px;
}
.btn {
  font-size: 14px;
  padding: 15px 25px;
  border-radius: 12px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.primary {
  background: linear-gradient(105deg, #d60077 0%, #ef237d 58%, #f88b30 100%);
  box-shadow: 0 5px 14px #d9007820;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #d9007830;
}
.navrow {
  min-height: 58px;
  gap: 36px;
}
.navrow a {
  font-size: 14px;
  position: relative;
}
.navrow a:hover:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pink);
  border-radius: 3px;
}
.hero {
  padding: 76px 0 68px;
  background:
    radial-gradient(ellipse at 95% 15%, #fce6f3 0%, transparent 42%),
    linear-gradient(120deg, #fff 0%, #f0f5fa 100%);
  border-bottom: 1px solid var(--border);
}
.hero-copy {
  max-width: 1000px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -1.9px;
  line-height: 1.12;
  max-width: 1050px;
  margin-bottom: 24px;
}
.hero p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 850px;
  color: var(--muted);
  margin-bottom: 26px;
}
.notice {
  max-width: 850px;
  background: #ffffffc9;
  border: 1px solid #e2e8f1;
  border-left: 4px solid var(--pink);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
}
.section {
  padding: 48px 0 0;
  scroll-margin-top: 24px;
}
.section h2 {
  font-size: 30px;
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.benefits {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 32px;
  box-shadow: 0 8px 30px #14234406;
}
.benefit-grid {
  gap: 0;
}
.benefit {
  padding: 8px 22px;
  min-height: 125px;
}
.benefit p {
  font-size: 14px;
  line-height: 1.45;
}
.round {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(145deg, #fce6f3, #fff1e5);
  margin-bottom: 15px;
}
.round svg {
  width: 28px;
  height: 28px;
}
.cards {
  gap: 22px;
}
.card {
  border-radius: 18px;
  box-shadow: 0 8px 25px #14234409;
  border: 1px solid var(--border);
}
#services .card img {
  aspect-ratio: 4/3;
}
.cardbody {
  padding: 21px 19px 24px;
}
.card h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.card p {
  font-size: 14px;
  line-height: 1.65;
}
.print-benefits {
  background: linear-gradient(120deg, #fff, #f5f8fc);
}
.print-benefits .benefit {
  min-height: 145px;
}
.print-benefits .benefit p {
  font-weight: 500;
}
.portfolio .cardbody {
  padding: 18px;
}
.portfolio .card h3,
.portfolio h3 {
  font-size: 16px;
  min-height: 40px;
}
.workgrid {
  gap: 8px;
}
.workphoto {
  border-radius: 9px;
  position: relative;
}
.workphoto img {
  transition: transform 0.25s;
}
.workphoto:hover img {
  transform: scale(1.06);
}
.workphoto:focus-visible {
  outline: 3px solid var(--pink);
}
.trio {
  grid-template-columns: 1.65fr 1fr;
  gap: 24px;
}
.panel {
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 25px #14234408;
}
.panel h2 {
  font-size: 26px;
}
.aboutflex {
  gap: 22px;
  align-items: center;
}
.aboutflex img {
  width: 38%;
  height: 270px;
  object-fit: contain;
  background: #eef2f6;
  border-radius: 12px;
}
.aboutflex p,
.panel p {
  font-size: 15px;
  line-height: 1.65;
}
.link {
  font-size: 14px;
}
.cta {
  background: linear-gradient(135deg, #fff 0%, #fce5f2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 34px;
}
.cta:after {
  font-size: 42px;
  top: 22px;
  right: 25px;
  opacity: 0.6;
}
.cta h2 {
  max-width: 300px;
}
.cta p {
  margin-bottom: 24px;
}
.formbox {
  background: white;
  border-radius: 22px;
  padding: 34px 40px;
  box-shadow: 0 8px 30px #14234409;
}
.formgrid {
  gap: 20px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
input,
select,
textarea {
  font-size: 15px;
  padding: 13px 15px;
  border-radius: 9px;
  border-color: #dce3ed;
  min-height: 46px;
}
textarea {
  min-height: 110px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #ec168355;
  outline-offset: 1px;
}
.consent {
  font-size: 13px;
  align-items: center;
  color: var(--muted);
}
.consent input {
  min-height: 0;
  accent-color: var(--pink);
}
.formgrid button {
  justify-self: start;
  min-width: 230px;
}
.footer {
  margin-top: 64px;
  padding: 42px 0;
  background: #17263e;
}
.footgrid {
  gap: 48px;
}
.footgrid a,
.footgrid p {
  font-size: 14px;
  line-height: 1.55;
}
.footgrid h3 {
  font-size: 17px;
}
.footgrid .footer-services {
  max-width: 350px;
}
.footgrid .small {
  font-size: 12px;
}
.up {
  width: 48px;
  height: 48px;
}
.dialog-inner {
  padding: 36px;
}
.dialog-phone {
  font-size: 27px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #ec1683;
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .container {
    padding: 0 28px;
  }
  .toprow {
    gap: 14px;
  }
  .toprow > .micro:not(.contacts) {
    display: none;
  }
  .cards {
    gap: 16px;
  }
  .cardbody {
    padding: 16px;
  }
  .card h3 {
    font-size: 16px;
  }
  .benefit {
    padding: 8px 13px;
  }
  .trio {
    grid-template-columns: 1.4fr 1fr;
  }
  .aboutflex {
    gap: 14px;
  }
  .panel {
    padding: 22px;
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 20px;
  }
  .top {
    position: static;
  }
  .toprow {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 0;
  }
  .logo strong {
    font-size: 18px;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }
  .toprow > .btn {
    display: flex;
    align-items: center;
  }
  .navrow {
    gap: 22px;
    min-height: 48px;
  }
  .navrow a {
    font-size: 13px;
  }
  .hero {
    padding: 45px 0;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .hero p {
    font-size: 16px;
  }
  .section {
    padding-top: 34px;
  }
  .section h2 {
    font-size: 25px;
  }
  .benefits {
    padding: 22px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .benefit,
  .benefit:first-child {
    padding: 12px;
    border: 0;
    min-height: 0;
  }
  .print-benefits .benefit {
    min-height: 0;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trio {
    grid-template-columns: 1fr;
  }
  .formbox {
    padding: 24px;
  }
  .footgrid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footgrid > div:first-child {
    grid-column: 1/-1;
  }
  .footer {
    margin-top: 40px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .toprow {
    gap: 12px;
  }
  .toprow > .btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  .contacts.micro {
    font-size: 11px;
  }
  .contacts a:first-child {
    font-size: 13px;
  }
  .social a {
    width: 34px;
    height: 34px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero h1 br {
    display: none;
  }
  .hero p {
    font-size: 15px;
  }
  .notice {
    font-size: 13px;
    padding: 13px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .portfolio h3 {
    min-height: 0;
  }
  .benefits {
    padding: 18px;
  }
  .benefit p {
    font-size: 13px;
  }
  .aboutflex {
    flex-direction: column;
    align-items: stretch;
  }
  .aboutflex img {
    width: 100%;
    height: 280px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .formgrid button {
    width: 100%;
  }
  .footgrid {
    grid-template-columns: 1fr;
  }
  .footgrid > div:first-child {
    grid-column: auto;
  }
  .up {
    right: 12px;
    bottom: 12px;
  }
}
@media print {
  .up {
    display: none !important;
  }
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .section,
  .card,
  .panel {
    break-inside: avoid;
  }
  .btn {
    box-shadow: none;
  }
}

body {
  background: #f8fafb;
}
.top,
.nav {
  background: #fff;
}
.container {
  max-width: 1240px;
}
.logo img {
  width: 205px !important;
  height: auto !important;
  object-fit: contain;
}
.footlogo img {
  width: 205px !important;
  height: auto !important;
  border-radius: 0 !important;
  background: white;
  padding: 5px;
  border-radius: 5px !important;
}
.hero {
  padding: 0 !important;
  min-height: 340px !important;
  background: #f2f7fb !important;
}
.hero:before {
  display: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  padding-right: 0;
}
.hero-copy {
  padding: 32px 0;
  max-width: 650px;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.hero p {
  font-size: 15px;
  max-width: 560px;
}
.hero-machine {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.notice {
  max-width: 550px;
  background: #e9f2f8;
  border: 1px solid #dce9f2;
  border-radius: 8px;
  padding: 14px;
}
.section {
  padding-top: 30px;
}
.section h2 {
  font-size: 25px;
  margin-bottom: 17px;
}
.benefits {
  background: #f1f7fb;
  border-radius: 10px;
  padding: 22px 26px;
}
.benefit {
  min-height: 100px;
}
.round {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}
.cards {
  gap: 18px;
}
.card {
  border-radius: 10px;
}
.cardbody {
  padding: 15px;
}
.card h3 {
  font-size: 16px;
}
.card p {
  font-size: 13px;
  line-height: 1.5;
}
.panel,
.formbox {
  border-radius: 12px;
}
.aboutflex img {
  width: 43%;
  height: 220px;
  object-fit: cover;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid #ffffff35;
  margin-top: 24px;
  padding-top: 18px;
}
.legal-links a {
  font-size: 12px;
  text-decoration: underline;
}
.consent {
  flex-direction: row !important;
  align-items: center;
}
.consent a,
.legal-documents a {
  color: #c60076;
  text-decoration: underline;
}
.legal-documents {
  padding-top: 30px;
  padding-bottom: 50px;
  max-width: 1000px;
  background: white;
}
.legal-documents[hidden] {
  display: none;
}
.legal-documents main {
  line-height: 1.65;
}
.legal-documents section {
  scroll-margin-top: 20px;
  border-top: 1px solid #dce3ed;
  padding-top: 24px;
  margin-top: 24px;
}
.legal-documents nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f2f7fb;
  padding: 20px;
  border-radius: 10px;
}
.legal-documents h1 {
  font-size: 32px;
}
.legal-documents h2 {
  font-size: 25px;
}
.legal-documents h3 {
  font-size: 19px;
}
.legal-top {
  margin-bottom: 20px;
}
.legal-mode body {
  background: #fff;
}
.legal-mode body > :not(.legal-documents):not(script):not(style) {
  display: none !important;
}
@media (max-width: 800px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 0;
  }
  .hero-copy {
    padding: 30px 0 15px;
  }
  .hero-machine {
    height: 260px;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .logo img {
    width: 170px !important;
  }
  .aboutflex img {
    height: 180px;
  }
}
@media (max-width: 480px) {
  .hero-machine {
    height: 210px;
  }
  .aboutflex img {
    width: 100%;
    height: 220px;
  }
  .legal-links {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 27px;
  }
}
/* Centered benefit tiles */
.benefits h2 {
  text-align: center;
}
.benefit-grid {
  align-items: stretch;
}
.benefit,
.benefit:first-child,
.benefit:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 12px 15px;
  min-height: 150px;
}
.benefit .round {
  margin: 0 auto 14px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  flex-shrink: 0;
}
.benefit .round svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}
.benefit p {
  max-width: 190px;
  margin: 0 auto;
  line-height: 1.45;
}
.print-benefits .benefit {
  min-height: 175px;
}
.benefit-grid .benefit:last-child {
  border-right: 0;
}
#services .card img {
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .benefit,
  .benefit:first-child,
  .benefit:last-child {
    padding: 14px 8px;
    min-height: 140px;
  }
  .benefit-grid .benefit:last-child {
    grid-column: 1/-1;
  }
  .print-benefits .benefit {
    min-height: 155px;
  }
}
.footlogo img {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.social a,
.footgrid .social a {
  background: transparent !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 0;
}
.social a svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-machine {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 13%,
    #000 40%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 13%,
    #000 40%
  );
}
.hero .container {
  gap: 0;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-right: 12px;
}
#services .card:first-child img {
  object-position: center 58%;
}
#services .card:nth-child(4) img {
  object-position: center 53%;
}
@media (max-width: 800px) {
  .hero-machine {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero-copy {
    padding-right: 0;
  }
}
/* UX revision */
body {
  font-size: 16px;
  line-height: 1.55;
}
.container {
  max-width: 1280px;
}
.section {
  padding: 42px 0 8px;
}
.section h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 22px;
}
.toprow {
  min-height: 84px;
  gap: 16px;
}
.micro {
  font-size: 13px;
}
.contacts a {
  font-size: 14px;
  font-weight: 600;
}
.navrow a {
  font-size: 14px;
  padding: 10px 0;
}
.btn {
  font-size: 15px;
  min-height: 46px;
  padding: 13px 24px;
}
.primary {
  background: linear-gradient(105deg, #bd006c, #c82c24);
  color: white;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
}
.hero p {
  font-size: 17px;
  line-height: 1.55;
}
.hero-copy {
  padding: 40px 0 40px 0;
}
.hero-machine {
  height: 440px;
}
.hero-action {
  margin: 22px 0;
}
.hero-action p {
  font-size: 13px;
  margin: 9px 0 0;
  color: #52627b;
}
.notice {
  font-size: 14px;
}
.benefits {
  padding: 30px 24px;
  background: #f3f7fb;
}
.benefit,
.benefit:first-child,
.benefit:last-child {
  padding: 16px 12px;
  min-height: 182px;
}
.benefit .round {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  margin-bottom: 18px;
}
.benefit .round svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.7;
}
.benefit p {
  font-size: 16px;
  line-height: 1.4;
  max-width: 205px;
}
.print-benefits .benefit {
  min-height: 205px;
}
.cards {
  gap: 20px;
}
.cardbody {
  padding: 18px;
}
.card h3 {
  font-size: 19px;
  line-height: 1.3;
}
.card p {
  font-size: 15px;
  line-height: 1.55;
}
.service-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #b90069;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e6ebf3;
  min-height: 44px;
}
.section-intro {
  font-size: 15px;
  color: #52627b;
  margin: -8px 0 18px;
}
.panel {
  padding: 24px;
}
.panel p,
.aboutflex p {
  font-size: 15px;
  line-height: 1.6;
}
.aboutflex img {
  height: 240px;
}
.formbox {
  padding: 30px;
}
.formbox h2 {
  font-size: 28px;
}
.formgrid {
  gap: 18px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  color: #243b64;
}
.field input,
.field select,
.field textarea {
  font-size: 16px;
  min-height: 48px;
  padding: 12px;
  border-color: #b8c7d8;
}
.field textarea {
  min-height: 100px;
}
.consent {
  font-size: 14px;
  color: #243b64;
  align-items: flex-start;
}
.consent input {
  min-height: 20px;
  width: 20px;
  flex: none;
}
.toast {
  background: #fff4df;
  color: #704800;
}
.footgrid a,
.footgrid p,
.legal-links a {
  font-size: 14px;
}
.social a,
.footgrid .social a {
  width: 42px;
  height: 42px;
}
.mobile-order {
  display: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a50070;
  outline-offset: 3px;
}
section,
[id] {
  scroll-margin-top: 18px;
}
.workphoto:hover {
  outline: 2px solid #d90078;
  outline-offset: 2px;
}
.workphoto img {
  transition: filter 0.2s;
}
.workphoto:hover img {
  filter: brightness(0.92);
}
.legal-mode .mobile-order {
  display: none !important;
}
@media (max-width: 1000px) {
  .toprow {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 34px;
  }
  .benefit p {
    font-size: 15px;
  }
  .card h3 {
    font-size: 17px;
  }
  .card p {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  .hero-machine {
    height: 280px;
  }
  .hero-copy {
    padding: 30px 0 18px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .section {
    padding-top: 30px;
  }
  .section h2 {
    font-size: 26px;
  }
  .benefit .round {
    width: 66px;
    height: 66px;
  }
  .benefit .round svg {
    width: 34px;
    height: 34px;
  }
  .benefit,
  .benefit:first-child,
  .benefit:last-child {
    min-height: 155px;
    padding: 14px 8px;
  }
  .print-benefits .benefit {
    min-height: 175px;
  }
  .formbox {
    padding: 20px;
  }
  .footgrid {
    gap: 20px;
  }
  .mobile-order {
    display: block;
    position: fixed;
    bottom: 12px;
    left: 16px;
    right: 72px;
    z-index: 5;
    box-shadow: 0 4px 20px #15243c33;
  }
  .footer {
    padding-bottom: 80px;
  }
  .up {
    bottom: 12px;
    right: 16px;
  }
  .navrow {
    gap: 16px;
  }
  .navrow a {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 29px;
  }
  .hero p {
    font-size: 16px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .aboutflex {
    flex-direction: column;
  }
  .aboutflex img {
    width: 100%;
    height: 230px;
  }
  .footgrid {
    grid-template-columns: 1fr;
  }
  .hero-machine {
    height: 220px;
  }
  .toprow .contacts {
    font-size: 12px;
  }
  .contacts a {
    font-size: 12px;
  }
  .benefits {
    padding: 22px 12px;
  }
  .section h2 {
    font-size: 24px;
  }
}
@media print {
  .mobile-order,
  .up {
    display: none !important;
  }
}

/* Header logo enlargement */
.toprow .logo img {
  width: 280px !important;
  height: auto;
  max-width: 100%;
  display: block;
}
.toprow {
  min-height: 96px;
  gap: 14px;
}
.toprow .logo {
  flex: 0 0 auto;
}
@media (max-width: 1000px) {
  .toprow .logo img {
    width: 250px !important;
  }
  .toprow {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
@media (max-width: 480px) {
  .toprow .logo img {
    width: 230px !important;
  }
  .toprow {
    gap: 12px;
  }
}

/* v15: align hero with the common content grid */
.hero .container {
  max-width: 1280px;
  padding: 0 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 1100px) {
  .hero .container {
    padding: 0 28px;
  }
}
@media (max-width: 800px) {
  .hero .container {
    padding: 0 20px;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .hero .container {
    padding: 0 16px;
  }
}

/* v18: balanced benefit labels and collapsible order form */
.benefit p {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
  width: 100%;
}
.benefit-title,
.benefit-note {
  display: block;
}
.benefit-note {
  margin-top: 5px;
  font-size: 0.92em;
  line-height: 1.45;
  text-wrap: balance;
}
.print-benefits .benefit {
  min-height: 225px;
}
.request-details {
  padding: 28px 32px;
}
.request-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  list-style: none;
  cursor: pointer;
}
.request-summary::-webkit-details-marker {
  display: none;
}
.request-summary::marker {
  content: "";
}
.request-summary .request-heading {
  margin: 0 0 9px;
  font-size: 28px;
}
.request-summary .section-intro {
  margin: 0;
  max-width: 750px;
  line-height: 1.55;
}
.request-copy {
  min-width: 0;
}
.request-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.request-toggle .when-open {
  display: none;
}
.request-details[open] .request-toggle .when-closed {
  display: none;
}
.request-details[open] .request-toggle .when-open {
  display: inline;
}
.request-details[open] .request-toggle svg {
  transform: rotate(180deg);
}
.request-details[open] #orderForm {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e4e9f1;
}
.request-summary:focus-visible {
  outline: 3px solid #a50070;
  outline-offset: 5px;
  border-radius: 10px;
}
.request-summary:hover .request-toggle {
  box-shadow: 0 8px 20px #d9007830;
}
@media (max-width: 800px) {
  .print-benefits .benefit {
    min-height: 185px;
  }
  .request-details {
    padding: 22px;
  }
  .request-summary {
    align-items: flex-start;
    gap: 18px;
  }
  .request-summary .request-heading {
    font-size: 25px;
  }
  .request-toggle {
    font-size: 14px;
    padding: 12px 18px;
  }
}
@media (max-width: 600px) {
  .request-summary {
    flex-direction: column;
  }
  .request-toggle {
    width: 100%;
    white-space: normal;
  }
  .request-summary .request-heading {
    font-size: 24px;
  }
  .request-details {
    padding: 20px;
  }
  .request-details[open] #orderForm {
    margin-top: 20px;
    padding-top: 20px;
  }
  .benefit-note {
    font-size: 0.95em;
  }
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.notice-logo {
  height: 28px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
@media (max-width: 800px) {
  .notice-logo {
    height: 24px;
  }
}
.notice {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}
.notice-logo {
  width: 170px;
  height: auto;
  max-width: 36%;
  flex: 0 0 auto;
}
.notice span {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}
.hero-machine {
  object-position: right center;
}
@media (max-width: 480px) {
  .notice {
    flex-wrap: wrap;
    gap: 9px;
  }
  .notice-logo {
    width: 155px;
    max-width: 100%;
    height: auto;
  }
  .notice span {
    flex: 1 1 100%;
  }
}

/* v22: clear rebranding message */
.notice {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  flex-wrap: nowrap;
}
.notice-logo {
  width: 165px;
  max-width: 36%;
  height: auto;
  flex-shrink: 0;
}
.notice-copy {
  flex: 1;
  min-width: 0;
  border-left: 1px solid #cbdce8;
  padding-left: 16px;
  line-height: 1.45;
}
.notice-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.35;
}
.notice-description {
  font-size: 14px;
  color: #43546c;
  text-wrap: pretty;
}
@media (max-width: 480px) {
  .notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .notice-logo {
    width: 180px;
    max-width: 100%;
  }
  .notice-copy {
    border-left: 0;
    border-top: 1px solid #cbdce8;
    padding: 10px 0 0;
    width: 100%;
  }
}

/* Handoff QA fixes: no layout change intended. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.workphoto {
  width: 100%;
  min-width: 0;
}
.workgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.toprow > * {
  min-width: 0;
}
.hero h1 {
  overflow-wrap: normal;
}
.notice-logo {
  object-fit: contain;
}
.legal-documents {
  overflow-wrap: anywhere;
}
.legal-documents a:focus-visible {
  outline: 3px solid #a50070;
}
.formgrid button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.toast.error {
  background: #fff4df;
  color: #704800;
}
.toast.success {
  background: #eaf8ee;
  color: #175b30;
}
#photoDialog img[hidden] {
  display: none;
}
.mobile-order {
  bottom: max(12px, env(safe-area-inset-bottom));
}
.up {
  bottom: max(12px, env(safe-area-inset-bottom));
}
.card img {
  height: auto;
}
#services .card img {
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.workgrid .workphoto img {
  height: 100%;
}
.social svg {
  width: 100%;
  height: 100%;
}
.footgrid .social a {
  flex-shrink: 0;
}
@media (max-width: 360px) {
  .toprow .logo img {
    width: 210px !important;
  }
  .toprow .contacts {
    font-size: 11px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 22px;
  }
  .benefit p {
    font-size: 14px;
  }
  .navrow {
    gap: 12px;
  }
  .footgrid a {
    overflow-wrap: anywhere;
  }
  .formgrid button {
    min-width: 0;
  }
  .request-summary .request-heading {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.request-copy,
.request-heading,
.request-copy .section-intro {
  display: block;
}
.request-heading {
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
}
.request-copy .section-intro {
  font-size: 15px;
  color: #52627b;
}
.request-summary .request-heading {
  margin: 0 0 9px;
}

/* Honeypot: скрыто от людей, но отправляется вместе с формой. */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
