

/* TEAM BLOCK: переносить в «О компании» только правила .dp-team. */
.dp-team {
  --team-ink: #221b16;
  --team-muted: #6f6258;
  --team-line: #e6d9cb;
  --team-orange: #f37a24;
  --team-brown: #96430f;
  color: var(--team-ink);
  padding: 42px 0 68px;
  scroll-margin-top: 104px;
  font-size: 16px;
  line-height: 1.6;
}
.dp-team * { box-sizing: border-box; }
.dp-team p, .dp-team h1, .dp-team h2, .dp-team h3 { margin: 0; }
.dp-team .dp-team-eyebrow {
  display: flex; align-items: center; gap: 11px;
  color: var(--team-brown); font-size: 11px; line-height: 1.4;
  font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  margin: 0 0 16px;
}
.dp-team .dp-team-eyebrow::before {
  content: ''; width: 24px; height: 3px; background: var(--team-orange); border-radius: 3px;
}
.dp-team .dp-team-intro {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 40px; align-items: end; margin: 0 0 35px;
}
.dp-team .dp-team-title {
  font-size: clamp(39px, 4.4vw, 63px); line-height: 1.04;
  letter-spacing: -.045em; font-weight: 800; color: var(--team-ink); max-width: 13ch;
}
.dp-team .dp-team-intro-copy {
  color: var(--team-muted); font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6; max-width: 43ch; padding-bottom: 4px;
}
.dp-team .dp-team-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.dp-team .dp-team-card {
  min-width: 0; padding: 26px 27px 25px; border: 1px solid var(--team-line);
  border-radius: 22px; background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 10px 32px rgba(77, 47, 22, .045);
}
.dp-team .dp-team-card-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px;
}
.dp-team .dp-team-icon {
  display: grid; place-items: center; width: 55px; height: 55px; border-radius: 17px;
  background: #fff0e0; color: #9a4516;
}
.dp-team .dp-team-icon svg { width: 27px; height: 27px; }
.dp-team .dp-team-number {
  font-size: 13px; font-weight: 750; letter-spacing: .08em; color: #897667;
}
.dp-team .dp-team-stage {
  color: var(--team-brown); font-weight: 700; font-size: 12px; margin-bottom: 7px;
}
.dp-team .dp-team-role {
  font-size: 29px; font-weight: 750; line-height: 1.15; letter-spacing: -.035em;
  color: var(--team-ink); margin: 0 0 15px;
}
.dp-team .dp-team-copy { color: #63574d; line-height: 1.65; }
.dp-team .dp-team-card-footer {
  border-top: 1px solid #eee4d9; margin-top: 23px; padding-top: 17px;
  color: #705c4c; font-size: 12px; font-weight: 650; line-height: 1.5;
}
.dp-team .dp-team-card-body { flex: 1; }
.dp-team .dp-team-receive {
  display: grid; grid-template-columns: 205px 1fr; gap: 20px;
  align-items: start; padding: 25px 28px; margin-top: 20px;
  border: 1px solid #eadbca; border-radius: 18px; background: #fff3e3;
}
.dp-team .dp-team-receive-label {
  color: #785030; font-weight: 700; font-size: 12px; line-height: 1.5; margin: 0 0 5px;
}
.dp-team .dp-team-receive-title {
  color: var(--team-ink); font-weight: 750; font-size: 20px; line-height: 1.2;
  letter-spacing: -.02em;
}
.dp-team .dp-team-receive-copy { color: #655446; font-size: 15px; line-height: 1.65; }
.dp-team .dp-team-contact {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 30px 32px; margin-top: 30px; border-radius: 22px;
  color: #fff7ee; background: #332b25;
}
.dp-team .dp-team-contact-title {
  color: #fff7ee; font-size: 24px; line-height: 1.2; letter-spacing: -.03em;
  font-weight: 750; margin-bottom: 9px;
}
.dp-team .dp-team-contact p { color: #ded1c5; font-size: 15px; line-height: 1.6; max-width: 48ch; }
.dp-team .dp-team-contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 0 0 auto; }
.dp-team .dp-team-phone {
  color: #251b14; background: #f58a3e; display: inline-flex; align-items: center; gap: 10px;
  min-height: 51px; padding: 13px 22px; border-radius: 999px; font-size: 18px; line-height: 1.3;
  font-weight: 800; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
}
.dp-team .dp-team-phone:hover { background: #ffa45f; }
.dp-team .dp-team-contact-link { color: #f9e5d2; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; margin-left: 21px; }
.dp-team a:focus-visible { outline: 3px solid #ffb270; outline-offset: 5px; }
@media (max-width: 900px) {
  .dp-team .dp-team-intro { gap: 28px; }
  .dp-team .dp-team-card { padding: 23px 20px; }
  .dp-team .dp-team-role { font-size: 25px; }
  .dp-team .dp-team-cards { gap: 12px; }
}
@media (max-width: 720px) {
  .dp-team { padding: 30px 0 42px; }
  .dp-team .dp-team-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 26px; }
  .dp-team .dp-team-title { font-size: clamp(38px, 8.5vw, 54px); max-width: 17ch; }
  .dp-team .dp-team-intro-copy { padding: 0; max-width: 50ch; font-size: 17px; }
  .dp-team .dp-team-cards { grid-template-columns: 1fr; gap: 14px; }
  .dp-team .dp-team-card { padding: 24px; }
  .dp-team .dp-team-card-top { margin-bottom: 18px; }
  .dp-team .dp-team-role { font-size: 28px; }
  .dp-team .dp-team-card-footer { margin-top: 19px; padding-top: 14px; }
  .dp-team .dp-team-receive { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .dp-team .dp-team-contact { flex-direction: column; align-items: flex-start; gap: 23px; padding: 26px 24px; margin-top: 22px; }
  .dp-team .dp-team-contact-title { font-size: 25px; }
  .dp-team .dp-team-phone { font-size: 17px; padding: 13px 19px; }
}
@media (max-width: 360px) {
  .dp-team .dp-team-title { font-size: 36px; }
  .dp-team .dp-team-card, .dp-team .dp-team-receive, .dp-team .dp-team-contact { padding: 21px; }
  .dp-team .dp-team-phone { padding-inline: 13px; font-size: 16px; }
}
/* PREVIEW SHELL: не переносить уведомление и оболочку в клиентский блок. */
.team-preview { background: #fff9f1; }
.team-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px;
  padding-top: 25px; color: #7a695a; font-size: 12px; line-height: 1.6;
}
.team-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.team-crumb a:hover { color: #96430f; }
.team-crumb span[aria-hidden] { color: #ad9a89; }
.team-draft {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  margin-top: 25px; padding: 19px 22px;
  background: #fff4e2; border: 1px solid #e4c99f; border-radius: 14px;
}
.team-draft-icon { width: 22px; height: 22px; color: #925316; margin-top: 2px; }
.team-draft strong { display: block; font-size: 14px; line-height: 1.5; color: #6f401b; }
.team-draft p { font-size: 13px; line-height: 1.65; color: #775d48; margin: 5px 0 0; max-width: 108ch; }
.team-draft code { font-family: inherit; font-size: inherit; }
.site-foot-more {
  display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 18px; margin-top: 12px;
  border-top: 1px solid #ceb9a73d; font-size: 13px;
}
.site-foot-more a { color: inherit; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; }
body :focus-visible { outline: 3px solid #b75216; outline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .team-crumb { padding-top: 19px; }
  .team-draft { padding: 16px 17px; gap: 11px; margin-top: 20px; }
  .team-draft strong { font-size: 13px; }
  .team-draft p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .dpn-footer, .dpn-mobile, .mobile-call, .skip-link, .team-crumb { display: none !important; }
  body, .team-preview { background: #fff; }
  .container { width: 100%; }
  .team-draft { margin-top: 0; }
  .dp-team { padding: 24px 0 0; }
  .dp-team .dp-team-intro { grid-template-columns: 1fr; gap: 15px; }
  .dp-team .dp-team-title { font-size: 34px; max-width: none; }
  .dp-team .dp-team-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dp-team .dp-team-card { padding: 15px; box-shadow: none; break-inside: avoid; }
  .dp-team .dp-team-copy { font-size: 12px; }
  .dp-team .dp-team-role { font-size: 22px; }
  .dp-team .dp-team-contact { background: #fff; color: #221b16; border: 1px solid #e6d9cb; break-inside: avoid; }
  .dp-team .dp-team-contact :is(p,h2,a) { color: #221b16; }
}
