

:root {
  --ink: #102c4c;
  --ink-soft: #526b81;
  --blue: #2468f2;
  --blue-dark: #154ab8;
  --teal: #0aa69a;
  --coral: #ff7563;
  --cloud: #f2f7fb;
  --mint: #e4f8f4;
  --line: #dbe7ef;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 104, 242, 0.35);
  outline-offset: 4px;
}

svg {
  display: block;
  width: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(16, 44, 76, 0.1);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
}

.logo {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(16, 44, 76, 0.13);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 36px;
  color: #294861;
  font-size: 14px;
  font-weight: 700;
}

nav a,
.header-phone,
.privacy-link {
  transition: color 180ms ease;
}

nav a:hover,
.header-phone:hover,
.privacy-link:hover {
  color: var(--blue);
}

.header-phone {
  justify-self: end;
  font-size: 15px;
  font-weight: 850;
  text-align: right;
}

.header-phone span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 2%;
  left: 39%;
  width: 67%;
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 42%,
    #e8faf6 0,
    #eff7ff 50%,
    transparent 72%
  );
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding: 76px 0 86px;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--coral);
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.65);
  background: linear-gradient(135deg, #00c8ad, #08aed1);
  box-shadow: 0 18px 40px rgba(5, 177, 180, 0.3);
  color: #052f41;
}

.button-primary:hover {
  background: linear-gradient(135deg, #05d7ba, #13bce0);
  box-shadow: 0 20px 44px rgba(5, 177, 180, 0.38);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.external-note {
  margin: 15px 0 0;
  color: #708499;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 620px;
}

.hero-image {
  position: absolute;
  top: 65px;
  right: 0;
  width: 91%;
  aspect-ratio: 1.04;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.84);
  border-radius: 44% 44% 18% 44%;
  background: #dff3f3;
  box-shadow: 0 34px 90px rgba(26, 85, 114, 0.18);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(10, 166, 154, 0.22);
  border-radius: 50%;
}

.ring-one {
  top: 20px;
  right: -100px;
  width: 590px;
  height: 590px;
}

.ring-two {
  top: 126px;
  left: 0;
  width: 370px;
  height: 370px;
  border-color: rgba(36, 104, 242, 0.16);
}

.hero-badge {
  position: absolute;
  right: 2px;
  bottom: 48px;
  z-index: 4;
  display: flex;
  width: 265px;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(24, 73, 99, 0.16);
  backdrop-filter: blur(12px);
}

.hero-badge strong {
  font-size: 17px;
}

.hero-badge span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.trust {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  background: var(--ink);
  color: white;
}

.trust p {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.trust span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 116px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 110px;
}

.mission h2,
.section-heading h2,
.catalog h2,
.contacts h2,
.privacy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.mission h2 span {
  color: var(--blue);
}

.mission-grid > div {
  padding-top: 8px;
}

.mission-grid > div p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.78;
}

.directions {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - 1160px) / 2));
  padding-left: max(24px, calc((100% - 1160px) / 2));
  background: var(--cloud);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.66fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 48px;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.direction-card {
  grid-column: span 2;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0, rgba(10, 166, 154, 0.08), transparent 38%),
    white;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.direction-card:nth-child(4),
.direction-card:nth-child(5),
.direction-card:nth-child(6) {
  grid-column: span 2;
}

.direction-card:hover {
  transform: translateY(-7px);
  border-color: #bed3e0;
  box-shadow: 0 28px 60px rgba(28, 72, 99, 0.13);
}

.direction-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.direction-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--mint);
  color: var(--teal);
}

.direction-icon svg {
  width: 27px;
  height: 27px;
}

.direction-number {
  color: #9aafbf;
  font-size: 12px;
  font-weight: 900;
}

.direction-card:nth-child(2) .direction-icon {
  background: #e7efff;
  color: var(--blue);
}

.direction-card:nth-child(3) .direction-icon {
  background: #fff0ed;
  color: #dc5c4c;
}

.direction-card:nth-child(4) .direction-icon {
  background: #eef0ff;
  color: #6556d8;
}

.direction-card:nth-child(5) .direction-icon {
  background: #fff6de;
  color: #b27a08;
}

.direction-card:nth-child(6) .direction-icon {
  background: #e8f7ff;
  color: #1772a7;
}

.direction-card h3 {
  max-width: 330px;
  margin: 58px 0 14px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.direction-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.approach-band {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  margin-top: 18px;
  overflow: hidden;
  padding: 42px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 100%, rgba(21, 74, 184, 0.38), transparent 30%),
    var(--ink);
  color: white;
}

.approach-band::after {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.approach-intro span {
  color: #8fe6dc;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.approach-intro h3 {
  margin: 15px 0 0;
  font-size: 29px;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.approach-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.approach-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.approach-points strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 14px;
}

.catalog {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
  width: min(1160px, calc(100% - 48px));
  margin: 110px auto 0;
  padding: 60px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 92% 15%,
      rgba(255, 255, 255, 0.14),
      transparent 27%
    ),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
}

.catalog .section-label {
  color: #9cf1e5;
}

.catalog h2 {
  font-size: clamp(34px, 3.5vw, 50px);
}

.catalog p:not(.section-label) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.button-white {
  background: #c8ff53;
  box-shadow: 0 15px 38px rgba(109, 186, 10, 0.28);
  color: #173c22;
}

.media {
  padding-bottom: 80px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.media-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 180px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(28, 72, 99, 0.1);
}

.media-code {
  display: grid;
  min-width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 900;
}

.rutube .media-code {
  background: #fff0f1;
  color: #e33449;
}

.vk .media-code {
  background: #eaf2ff;
  color: #1670e8;
}

.media-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.media-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.contacts {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 100px;
}

.contacts-copy > p:not(.section-label) {
  max-width: 470px;
  margin: 24px 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cloud);
  box-shadow: 0 24px 70px rgba(37, 82, 108, 0.09);
}

.contact-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 86px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row strong,
.contact-row a {
  font-size: 17px;
  font-weight: 790;
  line-height: 1.45;
}

.contact-row a:hover {
  color: var(--blue);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.contact-actions-single {
  grid-template-columns: 1fr;
}

.contact-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  background: white;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.contact-actions a:hover {
  background: #f5f9ff;
}

.privacy {
  padding-top: 0;
}

.privacy-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 42px;
  border: 1px solid #ccebe6;
  border-radius: 26px;
  background: #effbf8;
}

.privacy-check {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  background: var(--teal);
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.privacy .section-label {
  margin-bottom: 14px;
}

.privacy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.privacy-card > div > p:not(.section-label) {
  max-width: 850px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

details {
  margin-top: 24px;
  border-top: 1px solid #ccebe6;
}

summary {
  padding: 21px 0 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.privacy-details {
  max-width: 850px;
  padding-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-details a {
  color: var(--blue);
  font-weight: 800;
}

.policy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
}

.seo-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  padding-top: 0;
}

.seo-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.seo-copy {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.seo-copy p {
  margin: 0 0 18px;
}

.seo-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.seo-copy li {
  position: relative;
  padding-left: 19px;
}

.seo-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 42px max(24px, calc((100% - 1160px) / 2));
  border-top: 1px solid var(--line);
}

.policy-page {
  min-height: 100vh;
  background: var(--cloud);
}

.policy-header {
  display: flex;
  width: min(980px, calc(100% - 48px));
  min-height: 90px;
  align-items: center;
  margin: 0 auto;
}

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

.policy-brand img {
  width: 42px;
  height: 42px;
}

.policy-brand span {
  display: flex;
  flex-direction: column;
}

.policy-brand strong {
  font-size: 15px;
}

.policy-brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
}

.policy-document {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 80px;
  padding: 66px 76px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 28px 80px rgba(16, 44, 76, 0.08);
}

.policy-document > h1 {
  max-width: 800px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

.policy-date {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.policy-notice {
  margin: 36px 0 52px;
  padding: 24px 26px;
  border: 1px solid #f0d690;
  border-radius: 18px;
  background: #fff9e9;
}

.policy-notice strong {
  color: #8d6305;
}

.policy-notice p {
  margin: 9px 0 0;
  color: #715f39;
  line-height: 1.65;
}

.policy-document section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-document h2 {
  margin: 0 0 17px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.policy-document h3 {
  margin: 23px 0 8px;
  font-size: 17px;
}

.policy-document p,
.policy-document li,
.policy-document dd {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.policy-document p {
  margin: 0 0 14px;
}

.policy-document ul {
  padding-left: 20px;
}

.policy-document a {
  color: var(--blue);
  font-weight: 750;
}

.policy-document dl {
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.policy-document dl div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.policy-document dl div:last-child {
  border-bottom: 0;
}

.policy-document dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.policy-document dd {
  margin: 0;
}

.policy-back {
  display: inline-flex;
  margin-top: 20px;
}

.policy-table {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.policy-table > div {
  display: grid;
  grid-template-columns: 0.62fr 1.45fr 1.2fr;
  gap: 22px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.policy-table > div:last-child {
  border-bottom: 0;
}

.policy-table-head {
  background: var(--cloud);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.policy-table > div > strong {
  color: var(--ink);
  font-size: 14px;
}

.policy-table p {
  margin: 0;
}

.policy-sources {
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: #effbf8;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.legal strong {
  color: var(--ink);
}

.privacy-link {
  justify-self: end;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

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

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-visual {
    min-height: 530px;
  }

  .hero-image {
    left: 7%;
    width: 86%;
  }

  .hero-badge {
    right: 7%;
  }

  .mission-grid,
  .contacts {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .direction-grid {
    grid-template-columns: 1fr 1fr;
  }

  .direction-card,
  .direction-card:nth-child(4),
  .direction-card:nth-child(5),
  .direction-card:nth-child(6) {
    grid-column: auto;
  }

  .approach-band,
  .seo-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .approach-points {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .catalog {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .legal {
    text-align: left;
  }

  .privacy-link {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .header,
  .hero,
  .section,
  .catalog {
    width: min(100% - 32px, 1160px);
  }

  .header {
    min-height: 78px;
  }

  .header-phone span {
    display: none;
  }

  .header-phone {
    font-size: 12px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 65px 0 0;
  }

  h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 405px;
  }

  .hero-image {
    top: 65px;
    left: 0;
    width: 100%;
    border-width: 7px;
    border-radius: 34% 34% 16% 34%;
  }

  .hero-badge {
    right: 0;
    bottom: 18px;
    width: 230px;
  }

  .trust {
    flex-wrap: wrap;
    gap: 11px 16px;
    text-align: center;
  }

  .trust p {
    font-size: 11px;
  }

  .section {
    padding: 82px 0;
  }

  .mission-grid {
    gap: 35px;
  }

  .directions {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .direction-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 245px;
  }

  .direction-card h3 {
    margin-top: 48px;
  }

  .approach-band {
    padding: 30px 24px;
  }

  .approach-points {
    grid-template-columns: 1fr;
  }

  .catalog {
    margin-top: 70px;
    padding: 38px 25px;
  }

  .media-card {
    grid-template-columns: 1fr auto;
  }

  .media-code {
    grid-column: 1 / -1;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 20px;
  }

  .privacy {
    padding-top: 0;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .seo-copy ul {
    grid-template-columns: 1fr;
  }

  .policy-header,
  .policy-document {
    width: calc(100% - 32px);
  }

  .policy-document {
    padding: 42px 24px;
    border-radius: 22px;
  }

  .policy-document dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .policy-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .policy-table-head {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Refined editorial layout */
body {
  background:
    radial-gradient(circle at 8% 16%, rgba(36, 104, 242, 0.035), transparent 22%),
    radial-gradient(circle at 92% 56%, rgba(0, 200, 173, 0.035), transparent 24%),
    #f7fafc;
}

.header {
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(14px);
}

.hero {
  min-height: 660px;
}

.hero::after {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 110px;
  height: 110px;
  opacity: 0.22;
  background:
    linear-gradient(var(--teal), var(--teal)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(90deg, var(--teal), var(--teal)) 0 50% / 100% 2px no-repeat;
  content: "";
}

.hero-visual {
  min-height: 570px;
}

.hero-image {
  top: 72px;
  width: 96%;
  aspect-ratio: 1.34;
  border: 1px solid rgba(156, 196, 221, 0.5);
  border-radius: 34px;
  background: #eef7fc;
  box-shadow: 0 28px 70px rgba(33, 79, 107, 0.14);
}

.hero-image img {
  object-position: 66% center;
}

.hero-badge {
  right: 10px;
  bottom: 66px;
}

.section {
  padding: 84px 0;
}

.mission,
.media,
.contacts,
.seo-section {
  width: min(1160px, calc(100% - 48px));
  margin: 64px auto;
  padding: 82px 72px;
  border: 1px solid rgba(206, 222, 233, 0.8);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 65px rgba(29, 69, 95, 0.075),
    0 2px 8px rgba(29, 69, 95, 0.035);
}

.mission {
  position: relative;
  overflow: hidden;
}

.mission::after {
  position: absolute;
  right: -78px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(36, 104, 242, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(36, 104, 242, 0.025),
    0 0 0 72px rgba(0, 200, 173, 0.018);
  content: "";
}

.mission-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.mission-copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.mission-copy p {
  margin: 0;
}

.directions {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid #dce8ef;
  border-bottom: 1px solid #dce8ef;
  background:
    radial-gradient(circle at 8% 18%, rgba(36, 104, 242, 0.055), transparent 18%),
    radial-gradient(circle at 93% 82%, rgba(0, 200, 173, 0.06), transparent 21%),
    var(--cloud);
  box-shadow:
    inset 0 18px 36px rgba(29, 69, 95, 0.028),
    inset 0 -18px 36px rgba(29, 69, 95, 0.028);
}

.direction-card {
  min-height: 300px;
  box-shadow: 0 12px 34px rgba(30, 74, 101, 0.045);
}

.catalog {
  margin-top: 64px;
  margin-bottom: 64px;
  box-shadow: 0 28px 68px rgba(21, 74, 184, 0.19);
}

.media {
  padding-bottom: 82px;
}

.media-card {
  background: #fff;
}

.contacts {
  grid-template-columns: 1fr 1.08fr;
  gap: 74px;
}

.seo-section {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  padding-top: 82px;
}

.mission-copy p,
.section-heading > p,
.direction-card p,
.contacts-copy > p:not(.section-label),
.seo-copy p,
.policy-document p,
.policy-document li,
.policy-document dd,
.policy-table p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

footer {
  grid-template-columns: 0.75fr 1.7fr auto;
  align-items: start;
  padding-top: 52px;
  padding-bottom: 52px;
  background: #fff;
  box-shadow: 0 -16px 45px rgba(29, 69, 95, 0.04);
}

.legal {
  max-width: 760px;
  gap: 4px;
  font-size: 11px;
  line-height: 1.55;
}

.legal-notice {
  display: block;
  margin-top: 8px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.privacy-link {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

.policy-page {
  background:
    radial-gradient(circle at 8% 14%, rgba(36, 104, 242, 0.05), transparent 22%),
    radial-gradient(circle at 92% 72%, rgba(0, 200, 173, 0.05), transparent 24%),
    var(--cloud);
}

.policy-intro {
  margin: 36px 0 52px;
  padding: 26px 28px;
  border: 1px solid #ccebe6;
  border-radius: 20px;
  background: #effbf8;
}

.policy-intro strong {
  color: var(--teal);
}

.policy-intro p {
  margin: 9px 0 0;
}

.policy-document section {
  padding: 38px 0;
}

@media (max-width: 980px) {
  .mission,
  .media,
  .contacts,
  .seo-section {
    padding: 64px 48px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-image {
    aspect-ratio: 1.55;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .mission,
  .media,
  .contacts,
  .seo-section {
    width: calc(100% - 32px);
    margin: 42px auto;
    padding: 52px 24px;
    border-radius: 26px;
  }

  .directions {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .hero-image {
    top: 46px;
    aspect-ratio: 1.28;
    border-width: 1px;
    border-radius: 26px;
  }

  .hero-badge {
    bottom: 4px;
  }

  .catalog {
    margin-top: 42px;
    margin-bottom: 42px;
  }

  .policy-document > h1 {
    font-size: clamp(34px, 10.8vw, 48px);
  }

  .policy-intro {
    padding: 22px;
  }
}

/* Compact service grid and softer information bands */
.trust {
  min-height: 72px;
  gap: 0;
  border-top: 1px solid #dbeaf0;
  border-bottom: 1px solid #dbeaf0;
  background: linear-gradient(90deg, #edf7fb 0%, #f3fbfa 52%, #edf6fb 100%);
  color: var(--ink);
  box-shadow:
    inset 0 10px 24px rgba(38, 93, 121, 0.025),
    inset 0 -10px 24px rgba(38, 93, 121, 0.025);
}

.trust p {
  padding: 0 30px;
  color: #36566b;
  font-size: 12px;
  letter-spacing: 0.025em;
}

.trust span {
  width: 1px;
  height: 22px;
  border-radius: 0;
  background: #b9d5df;
}

.directions {
  padding-right: 40px;
  padding-left: 40px;
}

.directions > * {
  width: min(1080px, 100%);
  margin-right: auto;
  margin-left: auto;
}

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

.direction-card,
.direction-card:nth-child(4),
.direction-card:nth-child(5),
.direction-card:nth-child(6) {
  position: relative;
  grid-column: auto;
  min-height: 306px;
  overflow: hidden;
  padding: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f9fd 100%);
}

.direction-card:nth-child(2),
.direction-card:nth-child(5) {
  background: linear-gradient(145deg, #ffffff 0%, #eefaf7 100%);
}

.direction-card:nth-child(3),
.direction-card:nth-child(6) {
  background: linear-gradient(145deg, #ffffff 0%, #f3f5ff 100%);
}

.direction-card::before {
  position: absolute;
  top: -72px;
  right: -58px;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(36, 104, 242, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 23px rgba(36, 104, 242, 0.022),
    0 0 0 46px rgba(36, 104, 242, 0.012);
  content: "";
}

.direction-card:nth-child(2n)::before {
  border-color: rgba(0, 157, 135, 0.12);
  box-shadow:
    0 0 0 23px rgba(0, 157, 135, 0.025),
    0 0 0 46px rgba(0, 157, 135, 0.012);
}

.direction-card::after {
  position: absolute;
  right: 30px;
  bottom: -28px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(0, 157, 135, 0.12);
  border-radius: 17px;
  transform: rotate(28deg);
  content: "";
}

.direction-card > * {
  position: relative;
  z-index: 1;
}

.direction-card p {
  text-align: left;
  hyphens: none;
}

.approach-band {
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 34px;
  padding: 38px 40px;
  border: 1px solid #d4e7ee;
  background:
    radial-gradient(circle at 4% 30%, rgba(36, 104, 242, 0.065), transparent 24%),
    linear-gradient(110deg, #f6fbfe 0%, #effaf8 100%);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(30, 74, 101, 0.065);
}

.approach-band::after {
  border-color: rgba(36, 104, 242, 0.08);
}

.approach-intro span {
  color: var(--teal);
}

.approach-intro h3 {
  color: var(--ink);
}

.approach-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.approach-point {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: start;
  gap: 14px;
  padding: 0 22px;
  border-left: 1px solid #cfe3e9;
}

.approach-point:first-child {
  border-left: 0;
}

.approach-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #cce5e1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal);
  box-shadow: 0 6px 18px rgba(26, 99, 96, 0.06);
}

.approach-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.approach-point p {
  margin: 0;
  color: #4d6575;
  font-size: 13px;
  line-height: 1.62;
  text-align: left;
}

.approach-point strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.contacts {
  grid-template-columns: 0.78fr 1.22fr;
}

.contact-row {
  grid-template-columns: 158px minmax(0, 1fr);
}

.contact-address {
  white-space: nowrap;
}

.schedule-lines {
  display: grid;
  gap: 7px;
}

.schedule-lines p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}

.schedule-lines strong,
.schedule-lines span {
  font-size: 14px;
  line-height: 1.35;
}

.schedule-lines strong {
  color: var(--ink);
}

.schedule-lines span {
  color: #38566a;
  font-weight: 650;
}

@media (max-width: 980px) {
  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-band {
    grid-template-columns: 1fr;
  }

  .contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .trust {
    gap: 8px;
    padding: 20px 16px;
  }

  .trust p {
    padding: 4px 10px;
  }

  .trust span {
    display: none;
  }

  .directions {
    padding-right: 16px;
    padding-left: 16px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-card,
  .direction-card:nth-child(4),
  .direction-card:nth-child(5),
  .direction-card:nth-child(6) {
    min-height: 270px;
    padding: 28px;
  }

  .approach-band {
    padding: 32px 24px;
  }

  .approach-points {
    grid-template-columns: 1fr;
  }

  .approach-point {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto;
    padding: 20px 0;
    border-top: 1px solid #cfe3e9;
    border-left: 0;
  }

  .approach-point:first-child {
    border-top: 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-address {
    white-space: normal;
  }

  .schedule-lines p {
    grid-template-columns: 92px minmax(0, 1fr);
    white-space: normal;
  }
}

/* Branded social links */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #dceaf0;
  background:
    radial-gradient(circle at 8% 18%, rgba(36, 104, 242, 0.065), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(0, 176, 151, 0.07), transparent 27%),
    linear-gradient(145deg, #f7fbfe 0%, #f0faf8 100%);
}

.media::before,
.media::after {
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(36, 104, 242, 0.075);
  border-radius: 50%;
  content: "";
}

.media::before {
  top: -142px;
  right: 8%;
  box-shadow:
    0 0 0 34px rgba(36, 104, 242, 0.018),
    0 0 0 68px rgba(36, 104, 242, 0.01);
}

.media::after {
  bottom: -166px;
  left: 3%;
  border-color: rgba(0, 157, 135, 0.09);
  box-shadow:
    0 0 0 30px rgba(0, 157, 135, 0.018),
    0 0 0 60px rgba(0, 157, 135, 0.01);
}

.media .section-heading,
.media-grid {
  position: relative;
  z-index: 1;
}

.media-card {
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(133, 176, 197, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), #edf7fc);
  box-shadow: 0 14px 36px rgba(31, 77, 104, 0.055);
}

.media-card.vk {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), #edf4ff);
}

.media-card::before {
  position: absolute;
  z-index: -1;
  top: -84px;
  right: -44px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(36, 104, 242, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(36, 104, 242, 0.025),
    0 0 0 48px rgba(36, 104, 242, 0.012);
  content: "";
}

.media-card.rutube::before {
  border-color: rgba(0, 157, 135, 0.12);
  box-shadow:
    0 0 0 24px rgba(0, 157, 135, 0.025),
    0 0 0 48px rgba(0, 157, 135, 0.012);
}

.media-card::after {
  position: absolute;
  z-index: -1;
  right: 82px;
  bottom: -30px;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0, 157, 135, 0.1);
  border-radius: 20px;
  transform: rotate(28deg);
  content: "";
}

.media-code {
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(28, 78, 103, 0.08);
}

.rutube .media-code {
  background: linear-gradient(145deg, #e8faf6, #d9f2ee);
  color: #087f70;
}

.vk .media-code {
  background: linear-gradient(145deg, #edf4ff, #dceaff);
  color: #2468d8;
}

@media (max-width: 680px) {
  .media-card::before {
    top: -110px;
    right: -85px;
  }
}

/* Unified typography and readable editorial measure */
:root {
  --type-small: 14px;
  --type-body: 16px;
  --type-lead: 18px;
  --leading-body: 1.68;
}

body {
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

p,
li,
dd {
  hyphens: none;
  overflow-wrap: break-word;
}

nav {
  gap: 26px;
  font-size: 13px;
  white-space: nowrap;
}

.mission {
  width: min(1220px, calc(100% - 48px));
  padding-right: 78px;
  padding-left: 78px;
}

.mission-grid {
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
}

.mission-copy {
  gap: 22px;
}

.mission-copy p {
  color: #405d72;
  font-size: 17px;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.section-heading > p.directions-lead {
  color: #334f64;
  font-size: var(--type-lead);
  font-weight: 520;
  letter-spacing: -0.012em;
  line-height: 1.65;
  text-align: left;
  hyphens: none;
}

.direction-card p,
.media-card p,
.seo-copy,
.contacts-copy > p:not(.section-label) {
  font-size: 15px;
  line-height: var(--leading-body);
}

.catalog p:not(.section-label) {
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.approach-point p,
.schedule-lines strong,
.schedule-lines span {
  font-size: var(--type-small);
}

.mission h2,
.section-heading h2,
.catalog h2,
.contacts h2 {
  text-wrap: balance;
}

@media (max-width: 1180px) {
  nav {
    gap: 18px;
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .mission {
    width: min(1160px, calc(100% - 48px));
    padding-right: 48px;
    padding-left: 48px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .mission {
    width: calc(100% - 32px);
    padding-right: 24px;
    padding-left: 24px;
  }

  .mission-copy p,
  .section-heading > p.directions-lead {
    font-size: 16px;
    line-height: 1.72;
    text-align: left;
  }
}

/* Symmetric content rhythm and compact utility blocks */
.mission,
.media,
.contacts,
.seo-section,
.catalog {
  width: min(1220px, calc(100% - 48px));
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-height: 96px;
  padding: 14px max(24px, calc((100% - 1220px) / 2));
}

.trust > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 0 24px;
  border-left: 1px solid #cfe1e8;
}

.trust > div:first-child {
  border-left: 0;
}

.trust p {
  padding: 0;
  line-height: 1.35;
  text-align: left;
}

.trust-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(36, 104, 242, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  box-shadow: 0 7px 18px rgba(28, 78, 103, 0.055);
}

.trust > div:nth-child(even) .trust-icon {
  border-color: rgba(0, 157, 135, 0.16);
  color: var(--teal);
}

.trust-icon svg {
  width: 20px;
}

.catalog {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 44px;
  min-height: 0;
  padding: 46px 52px;
}

.catalog-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(230px, 0.54fr);
  align-items: center;
  gap: 14px 34px;
}

.catalog-copy .section-label {
  grid-column: 1 / -1;
}

.catalog-copy h2 {
  max-width: 650px;
  font-size: clamp(34px, 3.4vw, 48px);
}

.catalog-copy p:not(.section-label) {
  max-width: 260px;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.catalog > .button {
  width: 100%;
  min-height: 60px;
  justify-content: center;
}

.media-card.rutube {
  border-color: #303342;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 70, 132, 0.24), transparent 30%),
    linear-gradient(135deg, #15161d, #292b38);
  color: #fff;
}

.media-card.vk {
  border-color: rgba(0, 119, 255, 0.3);
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #0068df, #1685ff);
  color: #fff;
}

.media-card.rutube p,
.media-card.vk p {
  color: rgba(255, 255, 255, 0.78);
}

.media-card.rutube .media-code {
  border-color: rgba(255, 255, 255, 0.16);
  background: #ff4d87;
  color: #fff;
}

.media-card.vk .media-code {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
}

.media-card.rutube::before,
.media-card.vk::before,
.media-card.rutube::after,
.media-card.vk::after {
  border-color: rgba(255, 255, 255, 0.16);
}

.contacts {
  grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.22fr);
  align-items: stretch;
  gap: 64px;
}

.contacts-copy {
  display: grid;
  align-content: center;
}

.location-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
}

.location-label span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: var(--mint);
  color: var(--teal);
}

.location-label svg {
  width: 15px;
}

.contact-row {
  grid-template-columns: 158px minmax(0, 1fr);
  align-items: center;
}

.contact-row:has(.schedule-table) {
  align-items: start;
}

.schedule-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce9ef;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #f8fbfd;
  font-size: 13px;
  line-height: 1.35;
}

.schedule-table th,
.schedule-table td {
  padding: 9px 11px;
  border-bottom: 1px solid #dce9ef;
  text-align: left;
  white-space: nowrap;
}

.schedule-table th {
  width: 94px;
  background: #eef6fa;
  color: var(--ink);
  font-weight: 800;
}

.schedule-table td {
  color: #405d72;
  font-weight: 650;
}

.schedule-table td + td {
  border-left: 1px solid #dce9ef;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust > div:nth-child(3) {
    border-left: 0;
  }

  .trust > div:nth-child(n + 3) {
    border-top: 1px solid #cfe1e8;
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .catalog-copy {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
  }

  .catalog > .button {
    width: min(280px, 100%);
  }

  .contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .mission,
  .media,
  .contacts,
  .seo-section,
  .catalog {
    width: calc(100% - 32px);
  }

  .trust {
    grid-template-columns: 1fr;
    padding: 10px 16px;
    text-align: left;
  }

  .trust > div,
  .trust > div:nth-child(3) {
    min-height: 60px;
    padding: 0 10px;
    border-top: 1px solid #cfe1e8;
    border-left: 0;
  }

  .trust > div:first-child {
    border-top: 0;
  }

  .catalog {
    padding: 38px 26px;
  }

  .catalog-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-copy .section-label {
    grid-column: auto;
  }

  .catalog-copy p:not(.section-label) {
    max-width: none;
    padding: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .schedule-table {
    font-size: 12px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px 7px;
  }
}

/* Final interface polish */
.catalog > .button {
  min-height: 68px;
  max-width: 292px;
  justify-self: end;
  padding-right: 30px;
  padding-left: 30px;
  transform: translateX(-8px);
  font-size: 15px;
  box-shadow: 0 17px 42px rgba(109, 186, 10, 0.34);
}

.service-logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 86px;
  height: 68px;
  flex: none;
  align-items: center;
  justify-content: center;
}

.rutube-logo {
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(6, 7, 11, 0.52);
  color: #fff;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.16);
}

.rutube-logo i {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 6px;
  background: #ff4d87;
}

.rutube-logo i b {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
}

.rutube-logo strong {
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.vk-logo {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: #fff;
  color: #0077ff;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.09em;
  box-shadow: 0 9px 26px rgba(0, 50, 120, 0.16);
}

.maps-button {
  width: fit-content;
  margin-top: 4px;
  padding: 14px 18px;
  border: 1px solid #e6b900;
  border-radius: 14px;
  background: #ffcc00;
  color: #1b2733;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 10px 25px rgba(178, 130, 0, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.maps-button:hover {
  background: #ffd633;
  color: #1b2733;
  transform: translateY(-2px);
  box-shadow: 0 15px 31px rgba(178, 130, 0, 0.22);
}

.seo-section {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.seo-copy {
  display: grid;
  gap: 20px;
  color: #405d72;
  font-size: 16px;
  line-height: 1.72;
}

.seo-copy p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  overflow-wrap: normal;
}

.seo-copy ul {
  gap: 12px 18px;
  margin: 2px 0;
}

.seo-copy li {
  min-height: 54px;
  padding: 14px 16px 14px 34px;
  border: 1px solid #dce9ef;
  border-radius: 14px;
  background: #f7fbfd;
  color: #36566b;
  font-size: 14px;
  line-height: 1.48;
  hyphens: none;
  overflow-wrap: normal;
}

.seo-copy li::before {
  top: 1.55em;
  left: 17px;
}

.mission-copy p,
.section-heading > p,
.contacts-copy > p:not(.section-label),
.catalog p:not(.section-label),
.seo-copy p {
  font-size: 16px;
  line-height: 1.72;
}

.direction-card p,
.media-card p,
.approach-point p {
  font-size: 14px;
  line-height: 1.64;
}

.media-card h3,
.direction-card h3 {
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .catalog > .button {
    justify-self: start;
    transform: none;
  }

  .seo-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 680px) {
  .service-logo {
    grid-column: 1 / -1;
  }

  .maps-button {
    width: 100%;
    justify-content: center;
  }

  .seo-copy p {
    text-align: left;
    overflow-wrap: break-word;
  }

  .seo-copy ul {
    grid-template-columns: 1fr;
  }

  .seo-copy li {
    overflow-wrap: break-word;
  }
}

/* Mobile trust strip: compact 2 × 2 cards */
@media (max-width: 680px) {
  .trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    padding: 16px;
    align-items: stretch;
    justify-content: stretch;
  }

  .trust > div,
  .trust > div:nth-child(3),
  .trust > div:nth-child(n + 3) {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 13px;
    padding: 15px;
    border: 1px solid #d3e5ec;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 8px 22px rgba(32, 78, 104, 0.045);
  }

  .trust .trust-icon,
  .trust > div:nth-child(even) .trust-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid rgba(36, 104, 242, 0.14);
    border-radius: 11px;
    background: #eef5ff;
    color: var(--blue);
  }

  .trust > div:nth-child(even) .trust-icon {
    border-color: rgba(0, 157, 135, 0.16);
    background: #eaf8f5;
    color: var(--teal);
  }

  .trust .trust-icon svg {
    display: block;
    width: 19px;
    height: 19px;
  }

  .trust p {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #294b61;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}

@media (max-width: 340px) {
  .trust {
    grid-template-columns: 1fr;
  }

  .trust > div,
  .trust > div:nth-child(3),
  .trust > div:nth-child(n + 3) {
    min-height: 88px;
  }
}

/* Soft fade at the right edge of the hero illustration */
.hero-image::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(238, 247, 252, 0) 0%,
    rgba(238, 247, 252, 0.32) 48%,
    rgba(238, 247, 252, 0.88) 88%,
    #eef7fc 100%
  );
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 52%);
  content: "";
}

@media (max-width: 680px) {
  .hero-image::after {
    width: 24%;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}
