@font-face {
  font-family: "Adigiana 2";
  src: url("fonts/Adigiana2.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Cyrillic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ped-green: #185040;
  --ped-green-dark: #144738;
  --ped-cream: #f5f7ee;
  --ped-light: #e6f1cf;
  --ped-yellow: #f4cb36;
  --ped-orange: #ff9018;
  --ped-blue: #2fb5df;
  --ped-lime: #8bc932;
  --ped-muted: #61756e;
  --ped-white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ped-green);
}

body.pedagogi-page,
.pedagogi-page {
  margin: 0;
  color: var(--ped-green);
  font-family: "Noto Sans", Arial, sans-serif;
  background: var(--ped-green);
}

body.pedagogi-page > .gd-program-header + main {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.pedagogi-page main {
  position: relative;
}

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

.ped-desktop {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ped-cream);
  /* Экспорт обрезан до начала старого футера: ниже подключается единый футер. */
  height: calc(100vw * 4460 / 1440);
}

.ped-desktop__design {
  display: block;
  width: 100%;
  height: auto;
}

.ped-desktop__anchor {
  position: absolute;
  top: 20%;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 20px;
  pointer-events: none;
}

.ped-desktop__hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  border-radius: 18px;
}

.ped-desktop__hotspot:focus-visible {
  outline: 4px solid var(--ped-orange);
  outline-offset: 2px;
}

.ped-hotspot--prep { top: .818%; left: 19.2%; width: 11.5%; height: 1.227%; }
.ped-hotspot--classes { top: .818%; left: 30.5%; width: 7.2%; height: 1.227%; }
.ped-hotspot--after { top: .818%; left: 37.5%; width: 7.2%; height: 1.227%; }
.ped-hotspot--teachers { top: .818%; left: 44.7%; width: 7%; height: 1.227%; }
.ped-hotspot--contacts { top: .818%; left: 51.2%; width: 6%; height: 1.227%; }
.ped-hotspot--garden { top: .563%; left: 56.7%; width: 10.8%; height: 1.636%; }
.ped-hotspot--phone { top: .563%; left: 69.6%; width: 14%; height: 1.636%; }
.ped-hotspot--callback { top: .563%; right: 2.7%; width: 12%; height: 1.636%; }
.ped-hotspot--hero-cta {
  top: calc(100vw * 699 / 1440);
  left: calc(100vw * 54 / 1440);
  width: calc(100vw * 380 / 1440);
  height: calc(100vw * 66 / 1440);
  border-radius: 999px;
}
.ped-hotspot--team { left: 3.7%; width: 22%; }
.ped-hotspot--team-2 { left: 26.65%; width: 22%; }
.ped-hotspot--team-3 { left: 49.6%; width: 22%; }
.ped-hotspot--team-4 { left: 72.55%; width: 22%; }
.ped-hotspot--row-1 { top: calc(100vw * 1224 / 1440); height: calc(100vw * 500 / 1440); }
.ped-hotspot--row-2 { top: calc(100vw * 1776 / 1440); height: calc(100vw * 500 / 1440); }
.ped-desktop__benefit-fix { position: absolute; top: calc(100vw * 795 / 1440); left: calc(100vw * 54 / 1440); z-index: 4; display: grid; width: calc(100vw * 630 / 1440); height: calc(100vw * 66 / 1440); padding: calc(100vw * 6 / 1440); grid-template-columns: 1.22fr 1.1fr 1.18fr; gap: calc(100vw * 10 / 1440); align-items: center; background: var(--ped-cream); }
.ped-desktop__benefit-fix span { display: flex; height: 100%; min-width: 0; padding: 0 calc(100vw * 12 / 1440); gap: calc(100vw * 8 / 1440); align-items: center; color: var(--ped-green); font-size: clamp(7px, calc(100vw * 9.5 / 1440), 12px); font-weight: 800; line-height: 1.15; white-space: nowrap; background: #fff; border-radius: 999px; }
.ped-desktop__benefit-fix i { width: calc(100vw * 9 / 1440); height: calc(100vw * 9 / 1440); flex: 0 0 calc(100vw * 9 / 1440); background: var(--ped-lime); border-radius: 50%; }
.ped-desktop__benefit-fix span:nth-child(2) i { background: var(--ped-blue); }
.ped-desktop__benefit-fix span:nth-child(3) i { background: var(--ped-yellow); }
.ped-responsive {
  display: none;
  overflow: hidden;
  background: var(--ped-green);
}

.ped-shell {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.ped-mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 92px;
  padding: 12px 20px;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 247, 238, .97);
  border-bottom: 2px solid #d9e8bd;
  backdrop-filter: blur(9px);
}

.ped-mobile-header__logo {
  display: block;
  width: 130px;
  flex: 0 0 130px;
  overflow: hidden;
}

.ped-mobile-header__logo img,
.ped-footer__logo {
  width: 100%;
  height: auto;
}

.ped-mobile-header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ped-mobile-header__phone,
.ped-menu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  background: #deedc4;
  border: 0;
  border-radius: 50%;
}

.ped-mobile-header__phone img {
  width: 24px;
  height: 24px;
}

.ped-menu-toggle {
  position: relative;
  background: var(--ped-green);
  cursor: pointer;
}

.ped-menu-toggle span,
.ped-menu-toggle::before,
.ped-menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .2s ease;
}

.ped-menu-toggle::before,
.ped-menu-toggle::after {
  position: absolute;
  content: "";
}

.ped-menu-toggle::before { transform: translateY(-7px); }
.ped-menu-toggle::after { transform: translateY(7px); }
.ped-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.ped-menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.ped-menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.ped-mobile-nav {
  position: fixed;
  top: 92px;
  right: 18px;
  left: 18px;
  z-index: 19;
  display: grid;
  gap: 4px;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 2px solid #dce8d2;
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(20, 80, 62, .16);
  transform: translateY(-10px);
  transition: .2s ease;
}

.ped-mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.ped-mobile-nav a {
  padding: 13px 15px;
  color: var(--ped-green);
  font-weight: 750;
  text-decoration: none;
  border-radius: 15px;
}

.ped-mobile-nav a[aria-current="page"] {
  background: #e6f0df;
  box-shadow: inset 5px 0 var(--ped-yellow);
}

.ped-section {
  position: relative;
  padding: 76px 0;
}

.ped-section::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 62px;
  background: var(--ped-wave-next, var(--ped-light));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 22C125 56 232 4 365 24C509 47 624 9 758 27C914 48 1045 5 1200 24V70H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 22C125 56 232 4 365 24C509 47 624 9 758 27C914 48 1045 5 1200 24V70H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  content: "";
}

.ped-section--light {
  background: var(--ped-cream);
}

.ped-section--green-wave {
  background: #edf3e1;
}

.ped-hero { --ped-wave-next: var(--ped-cream); }
.ped-team { --ped-wave-next: #edf3e1; }
.ped-values { --ped-wave-next: var(--ped-cream); }
.ped-work { --ped-wave-next: var(--ped-light); }
.ped-contact { --ped-wave-next: var(--ped-green); }

.ped-kicker {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 9px 17px;
  gap: 9px;
  align-items: center;
  color: var(--ped-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #deedc4;
  border-radius: 999px;
}

.ped-kicker::before {
  width: 9px;
  height: 9px;
  background: var(--ped-lime);
  border-radius: 50%;
  content: "";
}

.ped-title {
  max-width: 780px;
  margin: 0;
  color: var(--ped-green);
  font-family: "Adigiana 2", cursive;
  font-size: clamp(42px, 6.4vw, 72px);
  font-weight: 400;
  line-height: 1.08;
}

.ped-title em {
  display: block;
  color: var(--ped-orange);
  font-style: normal;
}

.ped-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ped-muted);
  font-size: 17px;
  line-height: 1.75;
}

.ped-button {
  position: relative;
  z-index: 5;
  display: inline-flex;
  min-height: 56px;
  margin-top: 28px;
  padding: 14px 25px;
  gap: 26px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: var(--ped-green);
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  touch-action: manipulation;
}

.ped-button::after {
  font-size: 25px;
  line-height: 1;
  content: "→";
}

.ped-button--orange {
  background: var(--ped-orange);
}

.ped-hero {
  padding-top: 56px;
}

.ped-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: 50px;
  align-items: center;
}

.ped-pills {
  display: flex;
  margin: 28px 0 0;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}

.ped-pills li {
  padding: 10px 14px;
  color: var(--ped-green);
  font-size: 11px;
  font-weight: 750;
  background: #fff;
  border-radius: 999px;
}

.ped-pills li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--ped-lime);
  border-radius: 50%;
  content: "";
}

.ped-pills li:nth-child(2)::before { background: var(--ped-blue); }
.ped-pills li:nth-child(3)::before { background: var(--ped-yellow); }

.ped-hero__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  transform: rotate(1deg);
}

.ped-hero__portrait,
.ped-team-card,
.ped-photo-card {
  overflow: hidden;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 34px 43px 31px 38px;
  box-shadow: 8px 10px 0 rgba(24, 88, 68, .09);
}
.ped-hero__portrait { color: inherit; text-decoration: none; }

.ped-hero__portrait:nth-child(2),
.ped-hero__portrait:nth-child(3) {
  transform: translateY(36px);
}

.ped-hero__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ped-hero__portrait strong {
  display: block;
  padding: 13px 15px 4px;
  color: var(--ped-green);
  font-size: 13px;
}

.ped-hero__portrait small {
  display: block;
  padding: 0 15px 14px;
  color: var(--ped-muted);
}

.ped-team__intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: end;
}

.ped-team__note {
  padding-bottom: 12px;
  color: var(--ped-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ped-team__note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ped-green);
  font-size: 18px;
}

.ped-team-grid {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ped-team-card {
  position: relative;
  display: flex;
  min-width: 0;
  border-width: 0;
  flex-direction: column;
  box-shadow: none;
  border-radius: 26px 34px 28px 31px;
  color: inherit;
  text-decoration: none;
}

.ped-team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
}

.ped-team-card__body {
  display: flex;
  min-height: 235px;
  padding: 18px 20px 20px;
  flex-direction: column;
}

.ped-team-card__tag {
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 7px 11px;
  color: var(--ped-green);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  background: var(--ped-yellow);
  border-radius: 999px;
}

.ped-team-card:nth-child(4n + 1) .ped-team-card__tag { background: var(--ped-orange); color: #fff; }
.ped-team-card:nth-child(4n + 3) .ped-team-card__tag { background: var(--ped-lime); }
.ped-team-card:nth-child(4n) .ped-team-card__tag { background: var(--ped-blue); color: #fff; }

.ped-team-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.ped-team-card h3 + strong {
  margin-top: 13px;
  color: var(--ped-muted);
  font-size: 12px;
}

.ped-team-card p {
  margin: 10px 0 0;
  color: #75847f;
  font-size: 10px;
  line-height: 1.55;
}

.ped-team-card__more {
  display: flex;
  margin-top: auto;
  padding-top: 13px;
  justify-content: space-between;
  align-items: center;
  color: var(--ped-green);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.ped-team-card__more::after {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--ped-green);
  background: var(--ped-yellow);
  border-radius: 50%;
  content: "→";
}

.ped-values__grid {
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  gap: 52px;
  align-items: center;
}

.ped-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.ped-values .ped-title,
.ped-work .ped-title {
  font-size: clamp(39px, 5.2vw, 64px);
}

.ped-values-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  list-style: none;
}

.ped-values-list li {
  display: grid;
  min-height: 94px;
  padding: 17px;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 25px;
}

.ped-values-list img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.ped-values-list strong {
  display: block;
  font-size: 13px;
}

.ped-values-list small {
  display: block;
  margin-top: 4px;
  color: var(--ped-muted);
  font-size: 10px;
}

.ped-work__intro {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: end;
}

.ped-work__intro p {
  max-width: 430px;
  margin: 0 0 8px;
  color: var(--ped-muted);
  line-height: 1.65;
}

.ped-gallery {
  display: grid;
  margin-top: 34px;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.ped-gallery__column {
  display: grid;
  gap: 18px;
}

.ped-gallery figure {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 9px solid #fff;
  border-radius: 31px 39px 28px 35px;
}

.ped-gallery__column:first-child figure {
  min-height: 540px;
}

.ped-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ped-gallery figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  padding: 11px 15px;
  color: var(--ped-green);
  font-size: 11px;
  font-weight: 800;
  background: #fff;
  border-radius: 999px;
}

.ped-contact {
  padding: 74px 0 96px;
  background: var(--ped-light);
}

.ped-contact-shared {
  position: relative;
  z-index: 4;
}

.ped-contact::after {
  display: block;
}

.ped-contact__card {
  display: grid;
  padding: 48px;
  grid-template-columns: .75fr 1.25fr;
  gap: 50px;
  align-items: center;
  color: #fff;
  background: var(--ped-green);
  border-radius: 39px 52px 43px 47px;
  transform: rotate(.5deg);
}

.ped-contact h2 {
  margin: 0;
  font-family: "Adigiana 2", cursive;
  font-size: clamp(42px, 5.2vw, 65px);
  font-weight: 400;
  line-height: 1.08;
}

.ped-contact h2 span {
  display: block;
  color: var(--ped-yellow);
}

.ped-contact p {
  color: #e5eee9;
  line-height: 1.65;
}

.ped-contact-form,
.ped-contact-form .wpcf7,
.ped-contact-form .wpcf7-form {
  position: relative;
  margin: 0;
}

.ped-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.ped-contact-form .row {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 13px;
}

.ped-contact-form .row > *,
.ped-contact-form .columns,
.ped-contact-form .column {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.ped-contact-form .row > .small-12,
.ped-contact-form .row > .large-12,
.ped-contact-form .row > :has(input[type="submit"]),
.ped-contact-form .row > :has(button[type="submit"]) {
  grid-column: 1 / -1;
}

.ped-contact-form p,
.ped-contact-form br {
  margin: 0;
}

.ped-contact-form br {
  display: none;
}

.ped-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.ped-contact-form input:not([type="submit"]):not([type="checkbox"]),
.ped-contact-form select,
.ped-contact-form textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 13px 18px;
  color: var(--ped-green);
  font: inherit;
  font-size: 12px;
  background: var(--ped-cream);
  border: 0;
  border-radius: 999px;
  outline: none;
}

.ped-contact-form input[type="submit"],
.ped-contact-form button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 60px;
  margin-top: 20px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: var(--ped-orange);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.ped-contact-form input[type="submit"]:hover,
.ped-contact-form input[type="submit"]:focus-visible,
.ped-contact-form button[type="submit"]:hover,
.ped-contact-form button[type="submit"]:focus-visible {
  background: #ff9d2f;
  outline: 3px solid rgba(255, 255, 255, .72);
  outline-offset: 3px;
}

.ped-contact-form .form-agreement,
.ped-contact-form .wpcf7-acceptance,
.ped-contact-form .gd-form-consent {
  display: block;
  margin-top: 14px;
  color: #d7e3dd;
  font-size: 9px;
  line-height: 1.45;
}

.ped-contact-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.ped-contact-form .wpcf7-acceptance label,
.ped-contact-form .form-agreement label,
.ped-contact-form .gd-form-consent label {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
}

.ped-contact-form label.form-agreement {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
}

.ped-contact-form .wpcf7-list-item-label,
.ped-contact-form .form-agreement span,
.ped-contact-form .gd-form-consent span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ped-contact-form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  flex: 0 0 18px;
  accent-color: var(--ped-orange);
}

.ped-contact-form a {
  color: var(--ped-yellow);
}

.ped-contact-form .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 10px 14px !important;
  color: var(--ped-green);
  background: #fff4c7;
  border: 0 !important;
  border-radius: 15px;
}

.ped-contact-form .sent .wpcf7-response-output {
  color: #124a39;
  background: #e6f1cf;
}

.ped-contact-form .invalid .wpcf7-response-output,
.ped-contact-form .failed .wpcf7-response-output,
.ped-contact-form .unaccepted .wpcf7-response-output {
  color: #713907;
  background: #fff0c6;
}

.ped-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin: 6px 12px 0;
  color: #ffd8c3;
  font-size: 10px;
}

.ped-contact-form .wpcf7-spinner {
  position: absolute;
  right: 14px;
  bottom: 18px;
  margin: 0;
}

/* WP Armour выводит это пояснение только администратору — в дизайне ему не место. */
.ped-contact-form .wpa-test-msg,
.ped-contact-form [class*="wpa-"][class*="notice"] {
  display: none !important;
}

.ped-contact-form .wpa_hidden_field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ped-footer {
  position: relative;
  padding: 66px 0 30px;
  color: #fff;
  background: var(--ped-green);
  margin-top: -2px;
  border-top: 0;
}

.ped-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr .9fr 1.2fr;
  gap: 36px;
}

.ped-footer__logo {
  width: 210px;
}

.ped-footer h3 {
  margin: 10px 0 15px;
  color: #a7cc75;
  font-size: 11px;
  text-transform: uppercase;
}

.ped-footer nav {
  display: grid;
  gap: 11px;
}

.ped-footer a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ped-footer__phone {
  display: block;
  margin: 4px 0 12px;
  font-size: 25px !important;
}

.ped-footer address,
.ped-footer p {
  margin: 0;
  color: #d9e5df;
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.ped-footer__social {
  display: flex;
  margin-top: 28px;
  gap: 10px;
}

.ped-footer__social img {
  width: 36px;
  height: 36px;
}

.ped-footer__bottom {
  display: flex;
  margin-top: 46px;
  padding-top: 22px;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .23);
}

.ped-footer__bottom a,
.ped-footer__bottom span {
  color: #b7d38d;
  font-size: 10px;
  font-weight: 500;
}

@media (min-width: 1051px) {
  .ped-contact-shared {
    position: absolute;
    top: 79.28%;
    left: 43.45%;
    width: 52.2%;
    margin: 0;
    padding: 10px 0 24px;
    background: transparent !important;
  }

  .ped-contact-shared::after,
  .ped-contact-shared .ped-contact__intro {
    display: none;
  }

  .ped-contact-shared .ped-shell {
    width: 100%;
  }

  .ped-contact-shared .ped-contact__card {
    display: block;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    transform: none;
  }

  .ped-contact-shared .ped-contact-form,
  .ped-contact-shared .ped-contact-form .wpcf7,
  .ped-contact-shared .ped-contact-form .wpcf7-form {
    background: transparent !important;
  }

  .ped-contact-shared .ped-contact-form input:not([type="submit"]):not([type="checkbox"]),
  .ped-contact-shared .ped-contact-form select,
  .ped-contact-shared .ped-contact-form textarea {
    min-height: clamp(56px, 4.5vw, 65px);
    padding-inline: clamp(18px, 2vw, 28px);
    font-size: clamp(12px, 1vw, 15px);
  }

  .ped-contact-shared .ped-contact-form input[type="submit"],
  .ped-contact-shared .ped-contact-form button[type="submit"] {
    min-height: clamp(62px, 5vw, 72px);
    margin-top: clamp(20px, 2.25vw, 32px);
    font-size: clamp(14px, 1.25vw, 18px);
  }

  .ped-contact-shared .ped-contact-form .form-agreement,
  .ped-contact-shared .ped-contact-form .wpcf7-acceptance,
  .ped-contact-shared .ped-contact-form .gd-form-consent {
    margin-top: clamp(13px, 1.25vw, 18px);
    font-size: clamp(9px, .78vw, 11px);
  }
}

/* SYSTEM v2: форма остаётся внутри нарисованной тёмно-зелёной карточки. */
@media (min-width: 1051px) {
  body.pedagogi-page .ped-contact-shared {
    top: calc(100vw * 4105 / 1440);
    left: 43.45%;
    width: 52.2%;
    padding: 0;
  }

  body.pedagogi-page .ped-contact-shared .ped-contact-form .wpcf7-form {
    display: block !important;
  }

  body.pedagogi-page .ped-contact-shared .ped-contact-form .row {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
  }

  body.pedagogi-page .ped-contact-shared .ped-contact-form input:not([type="submit"]):not([type="checkbox"]),
  body.pedagogi-page .ped-contact-shared .ped-contact-form select,
  body.pedagogi-page .ped-contact-shared .ped-contact-form textarea {
    min-height: calc(100vw * 61 / 1440);
    padding-inline: calc(100vw * 24 / 1440);
    font-size: calc(100vw * 13 / 1440);
  }

  body.pedagogi-page .ped-contact-shared .ped-contact-form input[type="submit"],
  body.pedagogi-page .ped-contact-shared .ped-contact-form button[type="submit"] {
    min-height: calc(100vw * 63 / 1440);
    margin-top: calc(100vw * 20 / 1440);
    font-size: calc(100vw * 16 / 1440);
  }

  body.pedagogi-page .ped-contact-shared .ped-contact-form .form-agreement,
  body.pedagogi-page .ped-contact-shared .ped-contact-form .wpcf7-acceptance,
  body.pedagogi-page .ped-contact-shared .ped-contact-form .gd-form-consent {
    position: static !important;
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: calc(100vw * 11 / 1440) 0 0 !important;
    padding: 0 4px;
    overflow: visible;
    line-height: 1.3;
    font-size: calc(100vw * 10 / 1440);
    overflow-wrap: anywhere;
  }

  body.pedagogi-page .ped-contact-shared .ped-contact-form .wpcf7-spinner {
    right: 18px;
    bottom: 56px;
  }
}

@media (max-width: 1050px) {
  .ped-desktop { display: none; }
  .ped-responsive { display: block; }
}

@media (max-width: 800px) {
  .ped-shell { width: min(100% - 32px, 680px); }
  .ped-section { padding: 62px 0 78px; }
  .ped-hero__grid,
  .ped-team__intro,
  .ped-values__grid,
  .ped-contact__card {
    grid-template-columns: 1fr;
  }
  .ped-hero__collage { margin-top: 18px; }
  .ped-team-grid { grid-template-columns: 1fr 1fr; }
  .ped-gallery { grid-template-columns: 1fr 1fr; }
  .ped-gallery__column:first-child { grid-column: 1 / -1; }
  .ped-gallery__column:first-child figure { min-height: 470px; }
  .ped-work__intro { display: block; }
  .ped-work__intro p { margin-top: 20px; }
  .ped-contact__card { padding: 38px; gap: 26px; }
  .ped-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .ped-mobile-header { min-height: 82px; padding: 9px 14px; }
  .ped-mobile-header__logo { width: 106px; }
  .ped-mobile-nav { top: 82px; }
  .ped-section { padding: 50px 0 70px; }
  .ped-title { font-size: 43px; }
  .ped-lead { font-size: 15px; line-height: 1.65; }
  .ped-hero__grid { gap: 26px; }
  .ped-hero__collage { gap: 7px; }
  .ped-hero__portrait { border-width: 5px; border-radius: 22px 27px 20px 25px; }
  .ped-hero__portrait strong { padding: 9px 9px 2px; font-size: 10px; }
  .ped-hero__portrait small { padding: 0 9px 10px; font-size: 8px; }
  .ped-team-grid { grid-template-columns: 1fr; gap: 16px; }
  .ped-team-card { display: grid; grid-template-columns: 42% 58%; }
  .ped-team-card__photo { height: 100%; aspect-ratio: auto; }
  .ped-team-card__body { min-height: 245px; padding: 16px; }
  .ped-values-list { grid-template-columns: 1fr; }
  .ped-gallery { grid-template-columns: 1fr; }
  .ped-gallery__column:first-child { grid-column: auto; }
  .ped-gallery__column:first-child figure,
  .ped-gallery figure { min-height: 310px; }
  .ped-contact__card { padding: 30px 22px; transform: none; border-radius: 30px 36px 31px 34px; }
  .ped-contact-form__grid,
  .ped-contact-form .row { grid-template-columns: 1fr; }
  .ped-footer__grid { grid-template-columns: 1fr; }
  .ped-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
