:root {
  --ods-blue: #0d5c96;
  --ods-blue-dark: #074673;
  --ods-blue-soft: #e8f3fc;
  --ods-accent: #1b84d6;
  --ods-icon: #004F7C;
  --ods-button: #005A88;
  --ods-button-hover: #00486F;
  --ods-footer: #003F62;
  --ods-ink: #111111;
  --ods-text: #273244;
  --ods-muted: #667085;
  --ods-line: #e5e7eb;
  --ods-page: #f7fbff;
  --ods-surface: #ffffff;
  --ods-surface-soft: #f0f7fd;
  --ods-shadow: 0 18px 42px rgba(13, 92, 150, 0.11);
  --ods-shadow-soft: 0 10px 26px rgba(17, 24, 39, 0.08);
  --radius: 18px;
  --font: Inter, Manrope, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--ods-page);
  color: var(--ods-ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.container {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 54px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  background: rgba(247, 251, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 68px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.logo img {
  width: 205px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--ods-text);
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  padding: 7px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ods-blue);
  border-bottom-color: rgba(13, 92, 150, 0.22);
}

.phone-link:hover,
.text-call:hover,
.text-link:hover {
  color: var(--ods-blue);
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.phone-link {
  color: var(--ods-ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.btn-small {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 14px;
}

.btn-large {
  min-width: 238px;
  min-height: 56px;
  box-shadow: 0 12px 24px rgba(13, 92, 150, 0.2);
}

.hero-actions .btn img {
  width: 30px;
  height: 30px;
}

.btn-primary {
  background: var(--ods-button);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ods-button-hover);
  box-shadow: 0 16px 28px rgba(13, 92, 150, 0.24);
}

.btn-secondary {
  background: var(--ods-button);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--ods-button-hover);
  box-shadow: 0 16px 28px rgba(13, 92, 150, 0.24);
}

.btn-outline {
  border-color: rgba(13, 92, 150, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ods-blue);
}

.btn-outline:hover {
  border-color: var(--ods-blue);
  background: var(--ods-button);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 44px;
  background:
    radial-gradient(circle at 50% 8%, rgba(27, 132, 214, 0.08), transparent 30%),
    linear-gradient(180deg, #f9fcff 0%, #edf6ff 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--ods-ink);
  font-size: clamp(36px, 4.7vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

h2 {
  margin-bottom: 14px;
  color: var(--ods-ink);
  font-size: clamp(28px, 3.1vw, 38px);
  font-weight: 680;
  line-height: 1.16;
  letter-spacing: -0.024em;
}

h3 {
  margin-bottom: 10px;
  color: var(--ods-ink);
  font-size: 21px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  color: var(--ods-text);
}

.hero-text {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--ods-text);
  font-size: 18px;
  text-align: center;
}

.hero-title-mobile-break {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

@media (min-width: 900px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr) max-content;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-actions > .btn-large {
    white-space: nowrap;
  }
}

.text-call {
  color: var(--ods-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.circuit {
  position: absolute;
  top: 66px;
  width: 280px;
  height: 220px;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(27, 132, 214, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 132, 214, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent);
}

.circuit::before,
.circuit::after {
  content: "";
  position: absolute;
  height: 1px;
  background: rgba(27, 132, 214, 0.22);
}

.circuit::before {
  top: 76px;
  left: 20px;
  width: 190px;
  transform: rotate(20deg);
}

.circuit::after {
  top: 142px;
  left: 70px;
  width: 168px;
  transform: rotate(-18deg);
}

.circuit-left {
  left: -72px;
}

.circuit-right {
  right: -72px;
  transform: scaleX(-1);
}

.intro {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.intro.section {
  padding-top: 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  margin-bottom: 28px;
}

.intro-copy {
  max-width: 680px;
}

.local-note {
  margin: 16px 0 0;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--ods-blue);
  color: var(--ods-ink);
  font-weight: 750;
}

.intro-copy p:last-child,
.section-heading p,
.price-copy p,
.contact-copy p {
  margin-bottom: 0;
}

.portrait-card {
  overflow: hidden;
  border: 1px solid var(--ods-line);
  border-radius: var(--radius);
  background: var(--ods-surface);
  box-shadow: var(--ods-shadow-soft);
}

.portrait-card img {
  display: block;
  width: 100%;
  height: auto;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 92px;
  padding: 17px;
  border: 1px solid var(--ods-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(17, 24, 39, 0.045);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.benefit:hover,
.service-card:hover,
.review-card:hover {
  box-shadow: 0 12px 26px rgba(13, 92, 150, 0.09);
}

.benefit-icon,
.service-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ods-icon);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ods-blue-soft);
}

.benefit strong {
  display: block;
  color: var(--ods-ink);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.25;
}

.benefit small {
  display: block;
  margin-top: 4px;
  color: var(--ods-muted);
  font-size: 13px;
  line-height: 1.35;
}

.soft-section {
  background:
    radial-gradient(circle at 18% 6%, rgba(27, 132, 214, 0.07), transparent 32%),
    linear-gradient(180deg, #eef7ff 0%, #f5fbff 100%);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

@media (min-width: 981px) {
  .services .section-heading {
    margin-bottom: 74px;
  }
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.review-card,
.price-list {
  border: 1px solid rgba(229, 231, 235, 0.98);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ods-shadow-soft);
}

.service-card {
  color: inherit;
}

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 224px;
  padding: 24px;
  text-align: center;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  border-color: rgba(13, 92, 150, 0.18);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.service-icon img {
  width: 48px;
  height: 48px;
}

.benefit-icon img {
  width: 32px;
  height: 32px;
}

.service-card .service-icon {
  margin: 0 auto 18px;
}

.service-card p {
  margin-bottom: 12px;
  color: var(--ods-text);
  font-size: 15px;
  font-weight: 400;
}

.service-card small {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 231, 235, 0.86);
  color: var(--ods-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.42;
}

.services .service-card p,
.services .service-card small {
  width: 100%;
  max-width: 30ch;
  margin-inline: auto;
  text-align: left;
}

.price-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(27, 132, 214, 0.065), transparent 28%),
    #ffffff;
}

.price-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.price-copy {
  max-width: 455px;
}

.price-copy .btn {
  margin-top: 22px;
}

.btn-muted {
  display: inline-flex;
  margin-top: 18px;
  cursor: default;
  opacity: 0.78;
}

.btn-muted:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ods-blue);
  border-color: rgba(13, 92, 150, 0.24);
  box-shadow: none;
}

.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 18% 10%, rgba(27, 132, 214, 0.055), transparent 30%),
    linear-gradient(180deg, #f9fcff 0%, #f2f8ff 100%);
}

.page-hero-inner {
  max-width: 780px;
}

.page-hero h1 {
  margin: 0 0 16px;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 18px;
}

.page-services {
  --page-intro-width-desktop: 52ch;
  --page-intro-width-mobile: 34ch;
}

.page-prices {
  --page-intro-width-desktop: 56ch;
  --page-intro-width-mobile: 36ch;
}

.page-contact {
  --page-intro-width-desktop: 50ch;
  --page-intro-width-mobile: 34ch;
}

.legal-content {
  max-width: 780px;
}

.legal-section + .legal-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--ods-line);
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.legal-law-title {
  display: inline;
}

.legal-section p {
  margin-bottom: 0;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p {
  margin-top: 16px;
}

.legal-section ul {
  margin-bottom: 0;
  padding-left: 22px;
  color: var(--ods-text);
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-address {
  margin: 0;
  color: var(--ods-text);
  font-style: normal;
}

.legal-section p + .legal-address,
.legal-section .legal-address + p {
  margin-top: 16px;
}

.legal-form-recipient {
  width: min(100%, 520px);
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--ods-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.legal-form-recipient-label {
  margin: 0 0 8px;
  color: var(--ods-ink);
  font-weight: 650;
}

.legal-form-recipient .legal-address {
  margin-top: 0;
}

.legal-form-recipient .legal-address p {
  margin: 0;
}

.legal-form-recipient + p {
  margin-top: 18px;
}

.legal-form-line {
  display: block;
  width: min(100%, 520px);
  height: 32px;
  border-bottom: 1px solid rgba(39, 50, 68, 0.58);
}

.legal-form p + .legal-form-line {
  margin-top: 8px;
}

.legal-form-line + .legal-form-line {
  margin-top: 8px;
}

.legal-form-line + p {
  margin-top: 16px;
}

.legal-form-label {
  color: var(--ods-ink);
  font-weight: 650;
}

.legal-form-note {
  margin-top: 18px;
  color: var(--ods-muted);
  font-size: 14px;
}

.legal-checkbox {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.legal-section a {
  color: var(--ods-blue);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.page-services .page-hero h1,
.page-prices .page-hero h1,
.page-contact .page-hero h1 {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-services .page-hero p,
.page-prices .page-hero p,
.page-contact .page-hero p {
  max-width: var(--page-intro-width-desktop);
  margin-inline: auto;
}

.page-services .page-hero p {
  text-align: center;
}

.page-prices .page-hero p,
.page-contact .page-hero p {
  text-align: left;
}

.hero-text,
.page-services .page-hero p {
  text-wrap: balance;
}

.container.detail-grid,
.container.price-card-grid {
  width: min(1180px, calc(100% - 40px));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  grid-column: span 2;
}

.price-card:nth-child(7) {
  grid-column: 2 / span 2;
}

.price-card:nth-child(8) {
  grid-column: 4 / span 2;
}

.detail-card,
.price-card,
.contact-details {
  border: 1px solid rgba(229, 231, 235, 0.98);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ods-shadow-soft);
}

.detail-card {
  padding: 24px;
}

.detail-card .service-icon {
  margin: 0 auto 16px;
}

.detail-card.wide {
  grid-column: 1 / -1;
}

.detail-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
  text-align: center;
}

.detail-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.detail-card ul,
.format-list {
  padding-left: 20px;
  margin: 0;
  color: var(--ods-text);
  text-align: left;
}

.detail-card li,
.format-list li {
  margin-bottom: 8px;
}

.media-detail > p {
  max-width: 780px;
  margin-bottom: 20px;
  text-align: left;
}

.media-detail-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.media-detail-heading .service-icon {
  display: grid;
  margin: 0;
}

.media-detail-heading h2 {
  margin: 0;
  text-align: center;
}

.media-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}

@media (min-width: 681px) {
  .hero h1 {
    margin-bottom: 22px;
  }

  .hero-text {
    max-width: 58ch;
    margin-inline: auto;
    margin-bottom: 30px;
    text-align: center;
  }

  .detail-card:not(.wide) > .service-icon {
    display: grid;
    margin: 0 auto 16px;
  }
}

.detail-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--ods-icon);
  border-radius: 0 12px 12px 0;
  background: #f3f9ff;
  color: var(--ods-text);
  font-size: 15px;
}

@media (min-width: 1100px) {
  .media-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1.12fr);
    column-gap: 34px;
    row-gap: 0;
    align-items: start;
  }

  .media-detail > .media-detail-heading {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .media-detail-heading h2 {
    text-align: center;
  }

  .media-detail > p {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    margin-bottom: 0;
  }

  .media-detail > .media-detail-grid {
    display: contents;
  }

  .media-detail > .media-detail-grid > div:first-child {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .media-detail > .media-detail-grid > div:last-child {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .media-detail > .detail-note {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 22px;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px 22px;
}

.price-card h2 {
  margin: 0 0 7px;
  font-size: 22px;
  text-align: center;
}

.price-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ods-text);
}

.price-card li {
  margin-bottom: 5px;
}

.price-card-bottom {
  display: grid;
  grid-template-rows: auto 16px;
  gap: 2px;
  min-height: 56px;
  align-content: start;
  justify-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  text-align: center;
}

.price-card strong {
  color: var(--ods-icon);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.price-card small {
  display: block;
  color: var(--ods-muted);
  line-height: 1.3;
  text-align: center;
}

.media-prices {
  background: #fff;
}

.media-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

.contact-page-content {
  display: grid;
  gap: 14px;
}

.contact-page-photo {
  width: min(100%, 420px);
  max-width: 420px;
  justify-self: end;
}

.contact-page-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 981px) {
  .contact-page-grid {
    width: min(982px, calc(100% - 40px));
    grid-template-columns: minmax(0, 484px) minmax(320px, 420px);
    gap: 58px;
    justify-content: center;
  }

  .contact-page-photo {
    width: min(100%, 484px);
    max-width: 484px;
    justify-self: center;
  }
}

.contact-details {
  padding: 28px;
}

.contact-details h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.contact-details a {
  color: var(--ods-blue);
  font-weight: 600;
}

.contact-page-actions {
  align-self: start;
}

.page-contact main {
  display: flex;
  flex-direction: column;
}

.page-contact main > .section {
  display: flex;
  flex: 1;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 64px;
}

.price-list {
  overflow: hidden;
  padding: 8px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--ods-line);
}

.price-section .price-item {
  padding: 16px 18px;
}

.price-item:last-of-type {
  border-bottom: 0;
}

.price-item span {
  color: var(--ods-text);
  font-weight: 720;
}

.price-item strong {
  color: var(--ods-blue);
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.price-note {
  margin: 0;
  padding: 14px 18px 12px;
  border-top: 1px solid var(--ods-line);
  color: var(--ods-muted);
  font-size: 14px;
  font-weight: 650;
}

.reviews-section {
  background:
    linear-gradient(180deg, #f6fbff 0%, #eef7ff 100%);
}

.reviews-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.stars {
  margin-bottom: 12px;
  color: #f0a629;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  margin: 0;
  min-height: 178px;
  padding: 22px;
  transition: box-shadow 160ms ease;
}

.review-card p {
  margin-bottom: 18px;
  color: var(--ods-ink);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.52;
}

.review-card cite {
  color: var(--ods-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.contact {
  background:
    radial-gradient(circle at 16% 20%, rgba(27, 132, 214, 0.055), transparent 26%),
    #ffffff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--ods-line);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8ff 100%);
  box-shadow: var(--ods-shadow-soft);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-line {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--ods-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ods-ink);
  font-weight: 760;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-line:hover {
  border-color: rgba(13, 92, 150, 0.24);
  box-shadow: 0 10px 20px rgba(13, 92, 150, 0.08);
}

.contact-line.strong {
  border-color: rgba(13, 92, 150, 0.24);
  background: var(--ods-button);
  color: #fff;
}

.site-footer {
  flex-shrink: 0;
  padding: 26px 0 30px;
  border-top: 0;
  background: var(--ods-footer);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  line-height: 1.2;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.footer-text-mobile {
  display: none;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-contact-bar {
  display: none;
}

@media (max-width: 1099px) {
  .container.detail-grid,
  .container.price-card-grid {
    width: min(1060px, calc(100% - 40px));
  }

  .detail-grid,
  .price-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card,
  .price-card:nth-child(7),
  .price-card:nth-child(8) {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .logo img {
    width: 190px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 20px;
    padding-bottom: 10px;
    overflow-x: auto;
  }

  .phone-link {
    display: none;
  }

  .intro-grid,
  .price-layout,
  .media-layout,
  .contact-page-grid,
  .reviews-head,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    max-width: 420px;
  }

  .contact-page-photo {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .contact-page-content {
    order: 1;
  }

  .benefit-row,
  .service-grid,
  .review-grid,
  .detail-grid,
  .price-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-head,
  .footer-inner {
    align-items: start;
  }

  .contact-panel {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(69px + env(safe-area-inset-bottom));
  }

  .container {
    width: min(100% - 28px, 1060px);
  }

  .section {
    padding: 44px 0;
  }

  .header-contact .btn {
    min-height: 40px;
    padding: 0 14px;
  }

  .header-inner {
    min-height: 0;
    row-gap: 10px;
    column-gap: 12px;
    padding: 12px 0 10px;
    align-items: center;
  }

  .logo img {
    width: 156px;
  }

  .main-nav {
    width: auto;
    justify-content: center;
    gap: 18px;
    padding: 8px 0 0;
    overflow: visible;
    font-size: 13.5px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .main-nav a {
    padding: 4px 0;
  }

  .hero {
    padding: 30px 0 34px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 34px;
    font-weight: 680;
    line-height: 1.12;
  }

  h2 {
    font-size: 28px;
  }

  .legal-law-title {
    display: block;
  }

  .legal-form-recipient {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .hero-text {
    max-width: 34ch;
    margin-inline: auto;
    margin-bottom: 18px;
    font-size: 16.5px;
    text-align: center;
  }

  .hero-title-mobile-break {
    display: block;
  }

  .hero-actions {
    width: 100%;
    padding-inline: 10px;
    box-sizing: border-box;
  }

  .btn-large {
    width: 100%;
  }

  .hero-actions > .btn-large {
    white-space: nowrap;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 8px;
  }

  .btn-large {
    min-height: 54px;
  }

  .hero-actions .btn img {
    width: 28px;
    height: 28px;
  }

  .text-call {
    width: 100%;
    margin-top: 4px;
  }

  .circuit {
    display: none;
  }

  .intro-grid {
    gap: 22px;
  }

  .intro-copy,
  .price-copy {
    width: min(100%, 340px);
    margin-inline: auto;
    text-align: left;
  }

  .intro-copy h2 {
    text-wrap: balance;
  }

  .intro.section {
    padding-top: 38px;
  }

  .portrait-card {
    width: 100%;
    max-width: none;
  }

  .benefit-row,
  .service-grid,
  .review-grid,
  .detail-grid,
  .price-card-grid {
    grid-template-columns: 1fr;
  }

  .container.detail-grid,
  .container.price-card-grid {
    width: min(100% - 28px, 1060px);
  }

  .detail-card.wide {
    grid-column: auto;
  }

  .media-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .benefit {
    min-height: 0;
  }

  .service-card {
    min-height: 0;
    padding: 18px;
  }

  .service-card .service-icon {
    margin-bottom: 14px;
  }

  .service-card h3 {
    margin-bottom: 8px;
  }

  .service-card p {
    margin-bottom: 10px;
  }

  .service-card small {
    padding-top: 10px;
  }

  .service-icon img {
    width: 44px;
    height: 44px;
  }

  .price-card {
    padding: 20px;
  }

  .detail-card {
    padding: 20px;
  }

  .detail-card:not(.wide) {
    text-align: center;
  }

  .detail-card .service-icon {
    margin: 0 auto 14px;
  }

  .detail-card h2 {
    margin-bottom: 14px;
    text-align: center;
  }

  .detail-card ul {
    text-align: left;
  }

  .media-detail .service-icon {
    margin: 0 auto 14px;
  }

  .media-detail > h2 {
    text-align: center;
  }

  .media-detail > p,
  .media-detail h3,
  .media-detail ul {
    text-align: left;
  }

  .price-card-bottom {
    min-height: 58px;
    padding-top: 9px;
  }

  .price-card strong {
    font-size: 26px;
    line-height: 1.15;
  }

  .price-card small {
    max-width: 220px;
    line-height: 1.35;
  }

  .price-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .price-item span {
    min-width: 0;
  }

  .price-item strong {
    max-width: 46%;
    text-align: right;
    white-space: normal;
  }

  .media-prices .price-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 12px;
  }

  .media-prices .price-item strong {
    max-width: none;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }

  .section-heading.left,
  .reviews-head {
    text-align: center;
  }

  .reviews-head {
    justify-items: center;
  }

  .contact-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .page-hero {
    padding: 42px 0 32px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .page-services .page-hero p,
  .page-prices .page-hero p,
  .page-contact .page-hero p {
    max-width: var(--page-intro-width-mobile);
  }

  .contact-icon {
    width: 62px;
    height: 62px;
  }

  .contact-icon svg {
    width: 46px;
    height: 46px;
  }

  .footer-inner,
  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ods-line);
    background: rgba(247, 251, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a {
    display: grid;
    min-height: 48px;
    place-items: center;
    border-radius: 12px;
    font-weight: 850;
  }

  .mobile-contact-bar a:first-child {
    background: var(--ods-button);
    color: #fff;
  }

  .mobile-contact-bar a:last-child {
    border: 1px solid var(--ods-button);
    background: #fff;
    color: var(--ods-button);
  }

  body.page-contact {
    padding-bottom: 0;
  }

  .page-contact main > .section {
    display: block;
    flex: 0;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .contact-page-grid {
    gap: 18px;
  }

  .page-contact .site-footer {
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .page-contact .mobile-contact-bar {
    display: none;
  }

  .site-footer {
    padding: 22px 0 24px;
  }

  .footer-inner {
    gap: 14px;
  }

  .footer-brand {
    gap: 10px;
    transform: translateY(6px);
  }

  .footer-brand img {
    width: 34px;
    height: 34px;
  }

  .footer-brand strong {
    margin-bottom: calc(2px + 17.55px);
  }

  .footer-brand p,
  .footer-copy {
    font-size: 13px;
    line-height: 1.35;
  }

  .footer-text-desktop {
    display: none;
  }

  .footer-text-mobile {
    display: none;
  }

  .site-footer nav {
    margin-top: 2px;
    gap: 14px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .price-section .price-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .price-section .price-item strong {
    max-width: none;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, 1060px);
  }

  .logo img {
    width: 146px;
  }

  .header-contact .btn {
    padding: 0 12px;
    font-size: 13.5px;
  }

  .main-nav {
    font-size: 13px;
    gap: 14px;
  }

  h1 {
    font-size: 32px;
  }

  .contact-details h2 {
    font-size: 27px;
  }

  .price-section .price-item {
    padding-right: 12px;
    padding-left: 12px;
  }

  .media-prices .price-item {
    gap: 10px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .media-prices .price-item strong {
    font-size: 15px;
  }

  .site-footer nav {
    gap: 11px;
    font-size: 12.5px;
  }
}

@media print {
  body.page-legal {
    display: block;
    padding: 0;
    background: #fff;
    color: #000;
  }

  .page-legal .site-header,
  .page-legal .site-footer,
  .page-legal .mobile-contact-bar {
    display: none;
  }

  .page-legal .page-hero {
    padding: 0 0 24px;
    background: none;
  }

  .page-legal .page-hero-inner,
  .page-legal .legal-content {
    width: 100%;
    max-width: none;
  }

  .page-legal .section {
    padding: 0;
  }

  .page-legal .legal-section h2,
  .page-legal .legal-section h3 {
    break-after: avoid-page;
  }

  .page-legal .legal-section p,
  .page-legal .legal-section li {
    orphans: 3;
    widows: 3;
  }

  .page-legal .legal-form {
    break-before: page;
  }

  .page-legal .legal-form-recipient {
    border-color: #777;
    background: #fff;
  }

  .page-legal .legal-form-label,
  .page-legal .legal-form-note,
  .page-legal .legal-form-recipient-label {
    color: #000;
  }

  .page-legal .legal-form-line {
    border-bottom-color: #000;
  }

  .page-legal .legal-section a {
    color: inherit;
    text-decoration: none;
  }
}
