/* Tolyatti dentures: only the #team replacement and the new #smile-examples.
   No global resets, form styles, third-party overrides or Slick dependency. */
.pt-team,
.pt-cases {
  --pt-ink: #16304a;
  --pt-muted: #47596a;
  --pt-teal: #177b81;
  --pt-line: #d8e5e8;
  --pt-accent: #ffe174;
  color: var(--pt-ink);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.55;
  scroll-margin-top: 130px;
}
.pt-team { padding: 84px 0 72px; background: #fff; }
.pt-cases { padding: 78px 0 80px; background: linear-gradient(140deg, #f0f9f9 0%, #f7fafc 66%, #f1f7fb 100%); }
.pt-team .pt-wrap,
.pt-cases .pt-wrap { width: calc(100% - 40px); max-width: 1180px; margin: 0 auto; }
.pt-team *, .pt-cases * { min-width: 0; }
.pt-team [hidden], .pt-cases [hidden] { display: none !important; }
.pt-team p, .pt-cases p { margin: 0; }
.pt-team h2, .pt-cases h2,
.pt-team h3, .pt-cases h3,
.pt-team h4, .pt-cases h4 { margin: 0; color: var(--pt-ink); font-family: inherit; text-transform: none; overflow: visible; }
.pt-team .pt-heading,
.pt-cases .pt-heading { max-width: 930px; margin: 0 auto 40px; text-align: center; }
.pt-team .pt-eyebrow,
.pt-cases .pt-eyebrow { margin: 0 0 14px; font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--pt-teal); }
.pt-team .pt-heading h2,
.pt-cases .pt-heading h2 { font-size: clamp(30px, 3.1vw, 44px); font-weight: 750; line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
.pt-team .pt-heading h2 span,
.pt-cases .pt-heading h2 span { color: var(--pt-teal); }
.pt-team .pt-intro,
.pt-cases .pt-intro { max-width: 800px; margin: 20px auto 0; color: var(--pt-muted); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
/* Team: captions are below the photo, never over faces. */
.pt-team .pt-team-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 4vw, 60px); }
.pt-team .pt-team-photo { margin: 0; overflow: hidden; border-radius: 26px; background: #eef6f7; border: 1px solid var(--pt-line); }
.pt-team .pt-team-photo img { display: block; width: 100%; max-width: 100%; height: auto; }
.pt-team .pt-team-photo figcaption { display: grid; gap: 3px; padding: 18px 20px; background: #f5fafb; }
.pt-team .pt-team-photo figcaption strong { font-size: 18px; font-weight: 650; line-height: 1.4; }
.pt-team .pt-team-photo figcaption span { font-size: 14px; color: var(--pt-muted); }
.pt-team .pt-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.pt-team .pt-tags span { padding: 7px 12px; background: #edf7f7; border: 1px solid #d8eeee; border-radius: 8px; color: #28696e; font-size: 14px; line-height: 1.35; font-weight: 650; }
.pt-team .pt-team-content h3 { font-size: clamp(25px, 2.1vw, 30px); line-height: 1.24; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
.pt-team .pt-team-lead { margin: 16px 0 22px; color: var(--pt-muted); }
.pt-team .pt-steps { display: grid; gap: 19px; margin: 0 0 28px; padding: 0; list-style: none; }
.pt-team .pt-steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.pt-team .pt-step-number { display: grid; place-items: center; min-height: 42px; border-radius: 12px; background: #ebf6f6; color: var(--pt-teal); font-size: 15px; font-weight: 750; border: 1px solid #d4e9e9; }
.pt-team .pt-steps h4 { margin: 0 0 4px; font-size: 19px; font-weight: 700; line-height: 1.35; }
.pt-team .pt-steps p { font-size: 17px; line-height: 1.5; color: var(--pt-muted); }
.pt-team .pt-cta,
.pt-cases .pt-cta { display: inline-flex; justify-content: center; align-items: center; gap: 12px; max-width: 100%; min-height: 56px; padding: 16px 24px; border: 1px solid #f1ce53; border-radius: 12px; background: var(--pt-accent); color: #162c3f; font-family: inherit; font-size: 18px; line-height: 1.35; font-weight: 750; letter-spacing: 0; text-transform: none; white-space: normal; text-align: center; text-decoration: none; box-shadow: 0 5px 14px rgba(136, 103, 18, .09); transition: background .18s ease, box-shadow .18s ease; touch-action: manipulation; }
.pt-team .pt-cta:hover,
.pt-cases .pt-cta:hover { background: #ffd85c; color: #162c3f; box-shadow: 0 7px 18px rgba(136, 103, 18, .15); }
.pt-team .pt-cta svg,
.pt-cases .pt-cta svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pt-team a:focus-visible,
.pt-cases a:focus-visible,
.pt-cases button:focus-visible { outline: 3px solid #177b81; outline-offset: 4px; }
.pt-team .pt-hint,
.pt-cases .pt-hint { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--pt-muted); }
/* One active case, no cloned slides and no inherited legacy-slider dimensions. */
.pt-cases .pt-case-list { display: grid; gap: 30px; }
.pt-cases .pt-case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; margin: 0; border: 1px solid #d6e4e8; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(32, 64, 87, .07); overflow: hidden; }
.pt-cases .pt-case-visual { padding: 20px; display: flex; flex-direction: column; justify-content: center; background: #eef4f5; }
.pt-cases .pt-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; overflow: hidden; border-radius: 16px; background: #fff; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.pt-cases .pt-comparison figure { position: relative; margin: 0; aspect-ratio: 4 / 5; background: #e8eded; }
.pt-cases .pt-comparison img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; object-position: center; -webkit-user-drag: none; }
.pt-cases .pt-comparison figcaption { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); font-size: 16px; line-height: 1.3; font-weight: 750; color: var(--pt-ink); }
.pt-cases .pt-comparison figure:nth-child(2) figcaption { background: var(--pt-teal); color: #fff; }
.pt-cases .pt-visual-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--pt-muted); text-align: center; }
.pt-cases .pt-case-content { display: flex; flex-direction: column; padding: clamp(24px, 2.5vw, 34px); background: #fff; }
.pt-cases .pt-case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pt-cases .pt-case-meta span { padding: 6px 10px; border-radius: 7px; background: #edf7f7; color: #216d72; font-size: 14px; line-height: 1.35; font-weight: 650; }
.pt-cases .pt-case-meta span:first-child { background: #f1f4f7; color: #526273; }
.pt-cases .pt-case-content h3 { font-size: 28px; line-height: 1.2; font-weight: 750; letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance; }
.pt-cases .pt-case-facts { display: grid; gap: 17px; margin: 0 0 26px; }
.pt-cases .pt-case-facts div { position: relative; padding-left: 18px; }
.pt-cases .pt-case-facts div::before { content: ''; position: absolute; top: 9px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #59afb2; }
.pt-cases .pt-case-facts dt { font-size: 17px; font-weight: 750; line-height: 1.4; margin: 0 0 4px; }
.pt-cases .pt-case-facts dd { font-size: 17px; line-height: 1.5; margin: 0; color: var(--pt-muted); }
.pt-cases .pt-case-cta { width: 100%; margin-top: auto; }
.pt-cases .pt-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0 0; }
.pt-cases .pt-carousel-count { display: flex; align-items: baseline; gap: 6px; font-size: 18px; color: var(--pt-muted); }
.pt-cases .pt-carousel-count strong { font-size: 25px; color: var(--pt-ink); }
.pt-cases .pt-count-label { margin-left: 14px; font-size: 16px; }
.pt-cases .pt-arrow-group { display: flex; gap: 10px; }
.pt-cases .pt-arrow { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #b8d6d8; border-radius: 50%; color: var(--pt-teal); background: #fff; box-shadow: 0 3px 9px rgba(30, 77, 85, .04); cursor: pointer; transition: background .16s ease; touch-action: manipulation; }
.pt-cases .pt-arrow svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.pt-cases .pt-arrow-prev svg { transform: rotate(180deg); }
.pt-cases .pt-arrow:hover { background: #e1f1f1; }
.pt-cases .pt-thumbnails { display: flex; justify-content: space-between; gap: 10px; margin: 22px 0 0; padding: 6px 4px 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #a2c9cc transparent; overscroll-behavior-x: contain; }
.pt-cases .pt-thumb { position: relative; flex: 0 0 68px; height: 64px; border: 2px solid transparent; border-radius: 10px; padding: 0; background: #dce5e7; cursor: pointer; }
.pt-cases .pt-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; border-radius: 7px; }
.pt-cases .pt-thumb span { position: absolute; bottom: 2px; right: 2px; min-width: 20px; padding: 0 3px; border-radius: 4px; background: rgba(255,255,255,.96); color: var(--pt-ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.pt-cases .pt-thumb[aria-current="true"] { border-color: var(--pt-teal); box-shadow: 0 0 0 3px #b6dddd; }
.pt-cases .pt-cases-disclaimer { margin-top: 25px; padding: 18px 20px; border-left: 3px solid #8dbfc1; border-radius: 0 10px 10px 0; background: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; color: #475869; }
.pt-cases .pt-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border: 1px solid #d9e7e6; border-radius: 20px; margin: 28px 0 0; background: linear-gradient(110deg, #fff, #fffae7); }
.pt-cases .pt-bottom-cta h3 { font-size: 24px; line-height: 1.3; font-weight: 700; margin-bottom: 7px; letter-spacing: -.02em; }
.pt-cases .pt-bottom-cta p { font-size: 17px; color: var(--pt-muted); }
.pt-cases .pt-bottom-cta .pt-cta { flex: 0 0 auto; }
.pt-cases .pt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 900px) and (max-width: 1100px) {
  .pt-team .pt-team-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; }
  .pt-cases .pt-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pt-cases .pt-case-visual { padding: 14px; }
  .pt-cases .pt-case-content { padding: 24px; }
  .pt-cases .pt-case-content h3 { font-size: 26px; }
}
@media (max-width: 899px) {
  .pt-team, .pt-cases { padding: 58px 0; }
  .pt-team .pt-heading, .pt-cases .pt-heading { margin-bottom: 30px; }
  .pt-team .pt-team-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .pt-team .pt-team-photo { width: 100%; max-width: 560px; margin: 0 auto; }
  .pt-team .pt-team-content { width: 100%; max-width: 680px; margin: 0 auto; }
  .pt-team .pt-team-content h3 { font-size: 29px; }
  .pt-cases .pt-case { grid-template-columns: 1fr; }
  .pt-cases .pt-case-visual { padding: 18px; }
  .pt-cases .pt-comparison { width: 100%; max-width: 640px; margin: 0 auto; }
  .pt-cases .pt-case-content { padding: 28px; }
  .pt-cases .pt-case-content h3 { font-size: 28px; }
  .pt-cases .pt-case-facts dd { font-size: 18px; }
  .pt-cases .pt-bottom-cta { flex-direction: column; align-items: stretch; }
}
@media (max-width: 599px) {
  .pt-team, .pt-cases { padding: 44px 0; font-size: 18px; }
  .pt-team .pt-wrap, .pt-cases .pt-wrap { width: calc(100% - 32px); }
  .pt-team .pt-heading, .pt-cases .pt-heading { text-align: left; }
  .pt-team .pt-eyebrow, .pt-cases .pt-eyebrow { font-size: 13px; letter-spacing: .07em; margin-bottom: 12px; }
  .pt-team .pt-heading h2, .pt-cases .pt-heading h2 { font-size: clamp(28px, 7.5vw, 36px); line-height: 1.16; }
  .pt-team .pt-heading br, .pt-cases .pt-heading br { display: none; }
  .pt-team .pt-intro, .pt-cases .pt-intro { font-size: 18px; line-height: 1.5; margin-top: 16px; }
  .pt-team .pt-team-photo { border-radius: 18px; }
  .pt-team .pt-team-photo figcaption { padding: 16px; }
  .pt-team .pt-team-photo figcaption strong { font-size: 17px; }
  .pt-team .pt-team-content h3 { font-size: 26px; }
  .pt-team .pt-tags { gap: 6px; margin-bottom: 17px; }
  .pt-team .pt-tags span { font-size: 13px; padding: 7px 9px; }
  .pt-team .pt-steps { gap: 22px; margin-bottom: 24px; }
  .pt-team .pt-steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .pt-team .pt-step-number { min-height: 34px; border-radius: 9px; font-size: 13px; }
  .pt-team .pt-steps h4 { font-size: 19px; }
  .pt-team .pt-steps p { font-size: 18px; }
  .pt-team .pt-cta, .pt-cases .pt-cta { width: 100%; padding: 15px 16px; min-height: 58px; font-size: 18px; border-radius: 10px; }
  .pt-team .pt-hint, .pt-cases .pt-hint { font-size: 15px; }
  .pt-cases .pt-case { border-radius: 18px; }
  .pt-cases .pt-case-visual { padding: 10px; }
  .pt-cases .pt-comparison { border-radius: 12px; }
  .pt-cases .pt-comparison figcaption { top: 9px; left: 9px; padding: 5px 9px; font-size: 14px; border-radius: 6px; }
  .pt-cases .pt-visual-note { font-size: 13px; margin: 9px 4px 2px; line-height: 1.45; }
  .pt-cases .pt-case-content { padding: 22px 18px; }
  .pt-cases .pt-case-meta { gap: 6px; margin-bottom: 16px; }
  .pt-cases .pt-case-meta span { font-size: 13px; }
  .pt-cases .pt-case-content h3 { font-size: 26px; margin-bottom: 22px; }
  .pt-cases .pt-case-facts { gap: 19px; }
  .pt-cases .pt-case-facts dt { font-size: 17px; }
  .pt-cases .pt-case-facts dd { font-size: 18px; }
  .pt-cases .pt-carousel-controls { margin-top: 16px; gap: 12px; padding-right: 56px; }
  .pt-cases .pt-carousel-count { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
  .pt-cases .pt-count-label { flex-basis: 100%; margin-left: 0; font-size: 15px; }
  .pt-cases .pt-arrow-group { gap: 8px; flex-shrink: 0; }
  .pt-cases .pt-arrow { width: 48px; height: 48px; }
  .pt-cases .pt-thumbnails { display: none; }
  .pt-cases .pt-cases-disclaimer { font-size: 15px; padding: 16px; margin-top: 24px; }
  .pt-cases .pt-bottom-cta { padding: 22px 18px; margin-top: 22px; border-radius: 16px; gap: 20px; }
  .pt-cases .pt-bottom-cta h3 { font-size: 24px; }
  .pt-cases .pt-bottom-cta p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-team *, .pt-cases * { transition: none !important; scroll-behavior: auto !important; }
}
