.braces-page {
  --braces-blue: #06497f;
  --braces-orange: #f79922;
  --braces-text: #06497f;
  --braces-soft: #eef9fd;
  color: var(--braces-text);
  font-family: Inter, Arial, sans-serif;
}

.breadcrumb-bar {
  background: #f8fbfd;
  border-top: 1px solid #e7eef5;
  border-bottom: 1px solid #e7eef5;
  color: #0b4f82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breadcrumb-bar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 45px;
}

.breadcrumb-bar span {
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .75;
}

.braces-hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 356px;
  background: var(--braces-blue);
}

.braces-hero-copy {
  padding: 66px clamp(34px, 7vw, 96px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.braces-hero h1 {
  max-width: 620px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(34px, 3.65vw, 54px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: .02em;
}

.braces-hero p {
  margin: 0 0 28px;
  max-width: 560px;
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
}

.braces-hero-media {
  position: relative;
  min-height: 356px;
  overflow: hidden;
}

.braces-hero-media video {
  width: 100%;
  height: 100%;
  min-height: 356px;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.play-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border: 5px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: rgba(6, 73, 127, .12);
}

.play-ring::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 24px;
  border-left: 24px solid #fff;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
}

.braces-orange-btn,
.braces-blue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(6, 73, 127, .15);
}

.braces-orange-btn { background: var(--braces-orange); }
.braces-blue-btn { background: var(--braces-blue); }

.braces-orange-btn:hover,
.braces-blue-btn:hover {
  transform: translateY(-1px);
}

.btn-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.calendar-mini {
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 3px;
}
.calendar-mini::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 7px;
  border-top: 2px solid rgba(255,255,255,.78);
}
.sliders-mini::before,
.question-mini::before,
.target-mini::before,
.candidate-mini::before,
.card-mini::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
}
.sliders-mini::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 7px;
  height: 10px;
  border-top: 2px solid rgba(255,255,255,.78);
  border-bottom: 2px solid rgba(255,255,255,.78);
}
.question-mini::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.target-mini::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
}
.candidate-mini::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 9px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 8px 8px 6px 6px;
}
.card-mini::before {
  inset: 5px 2px;
  border-radius: 2px;
}

.btn-arrow {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.braces-special,
.smart-smile,
.smile-type,
.transform-smile,
.doctor-affiliations {
  background: #fff;
  text-align: center;
}

.braces-page [id] {
  scroll-margin-top: 36px;
}

.master-faq {
  padding: 54px 0 64px;
  background: #eef9fd;
  text-align: center;
}

.master-faq h2 {
  margin: 0 0 30px;
  color: var(--braces-blue);
  font-size: clamp(25px, 2.4vw, 34px);
  letter-spacing: .04em;
}

.master-faq-list {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid #bfd4e2;
}

.master-faq-list details {
  border-bottom: 1px solid #bfd4e2;
  background: #fff;
}

.master-faq-list summary {
  padding: 19px 54px 19px 22px;
  color: var(--braces-blue);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.master-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 26px;
  font-weight: 400;
}

.master-faq-list details[open] summary::after { content: "-"; }

.master-faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: #345e7b;
  font-size: 14px;
  line-height: 1.75;
}

.braces-special {
  padding: 50px 0 34px;
}

.braces-special h2,
.smart-smile h2,
.smile-type h2,
.transform-smile h2,
.doctor-affiliations h2 {
  margin: 0 0 28px;
  color: var(--braces-text);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .05em;
}

.special-buttons {
  display: flex;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
  margin: 0 0 34px;
}

.special-buttons .braces-blue-btn {
  min-width: 245px;
}

.center-btn {
  min-width: 232px;
}

.smart-smile {
  padding: 26px 0 48px;
}

.section-intro {
  margin: -10px auto 34px;
  max-width: 960px;
  color: var(--braces-text);
  font-size: 15px;
  line-height: 1.7;
}

.smart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.smart-grid article {
  padding: 0 58px;
  border-right: 1px solid #dbe7ef;
}

.smart-grid article:last-child {
  border-right: 0;
}

.smart-icon {
  width: 76px;
  height: 76px;
  display: block;
  margin: 0 auto 16px;
  position: relative;
  color: var(--braces-blue);
}

.smart-icon::before,
.smart-icon::after {
  content: "";
  position: absolute;
  border: 3px solid currentColor;
}

.smart-icon.schedule::before {
  inset: 15px 12px 11px;
  border-radius: 7px;
}
.smart-icon.schedule::after {
  left: 22px;
  top: 28px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.smart-icon.doctor::before {
  left: 22px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.smart-icon.doctor::after {
  left: 14px;
  top: 44px;
  width: 46px;
  height: 26px;
  border-radius: 24px 24px 4px 4px;
}
.smart-icon.piggy::before {
  left: 10px;
  top: 28px;
  width: 54px;
  height: 32px;
  border-radius: 28px 28px 18px 18px;
}
.smart-icon.piggy::after {
  right: 5px;
  top: 12px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.smart-grid h3 {
  margin: 0 0 12px;
  color: var(--braces-blue);
  font-size: 17px;
}

.smart-grid p {
  margin: 0;
  color: var(--braces-blue);
  font-size: 14px;
  line-height: 1.65;
}

.budget-promo {
  width: min(1180px, calc(100% - 88px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .98fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 14px 0 22px;
}

.budget-blue {
  min-height: 285px;
  background: var(--braces-blue);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  color: #fff;
}

.budget-blue h2 {
  margin: 0;
  color: #fff;
  max-width: 440px;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
}

.budget-art {
  text-align: center;
}

.budget-art img {
  width: min(480px, 94%);
  margin: 0 auto 4px;
}

.budget-art h3 {
  display: inline-block;
  margin: 0;
  padding: 14px 44px;
  border-top: 2px solid #6a7177;
  border-bottom: 2px solid #6a7177;
  color: var(--braces-blue);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}

.budget-art p {
  margin: 10px 0 0;
  color: #133c59;
  font-size: 16px;
  font-weight: 700;
}

.smile-type {
  padding: 20px 0 50px;
}

.smile-type h2 {
  margin-bottom: 22px;
}

.smile-tabs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 26px;
}

.smile-tabs button {
  background: transparent;
  border: 0;
  color: var(--braces-blue);
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  cursor: pointer;
}

.teeth-mini {
  display: block;
  width: 72px;
  height: 32px;
  margin: 0 auto 7px;
  border: 2px solid #9ca8ae;
  border-radius: 18px 18px 8px 8px;
  position: relative;
}

.teeth-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 13px, #9ca8ae 14px 15px, transparent 16px 100%);
}
.teeth-mini.under { transform: translateY(2px); }
.teeth-mini.cross { transform: skewX(-8deg); }
.teeth-mini.gap::after {
  content: "";
  position: absolute;
  left: 34px;
  top: -2px;
  width: 6px;
  height: 34px;
  background: #fff;
}
.teeth-mini.open { border-bottom-color: transparent; }
.teeth-mini.crowd { transform: rotate(-4deg); }
.teeth-mini.baby { width: 66px; }
.teeth-mini.straight { border-radius: 16px; }

.smile-detail {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 42px;
  max-width: 940px;
  margin: 0 auto;
  text-align: left;
}

.teeth-model {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 4px;
  filter: drop-shadow(0 18px 16px rgba(30, 45, 60, .22));
}

.upper-teeth,
.lower-teeth {
  display: flex;
  justify-content: center;
}

.upper-teeth i,
.lower-teeth i {
  width: 58px;
  height: 74px;
  margin: 0 -3px;
  display: block;
  background: linear-gradient(155deg, #f2f3f3, #b9bec1 68%, #8f979b);
  border: 1px solid #9aa2a7;
}

.upper-teeth i {
  border-radius: 22px 22px 11px 11px;
  transform: translateY(var(--y, 0));
}

.lower-teeth i {
  border-radius: 11px 11px 24px 24px;
}

.upper-teeth i:nth-child(2),
.upper-teeth i:nth-child(5) { --y: 10px; }
.lower-teeth { transform: translateY(-8px); }

.smile-copy h3 {
  margin: 0 0 12px;
  color: var(--braces-blue);
  font-size: 20px;
}

.smile-copy p {
  margin: 0 0 20px;
  color: var(--braces-blue);
  font-size: 14px;
  line-height: 1.7;
}

.learn-btn {
  min-width: 150px;
  min-height: 42px;
}

.braces-reviews {
  padding: 42px 0 58px;
}

.braces-reviews h2 {
  font-size: 23px;
  margin-bottom: 42px;
}

.transform-smile {
  padding: 26px 0 50px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  max-width: 920px;
  margin: 0 auto;
}

.step-grid strong {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px #9bb4c7;
  font-size: 118px;
  line-height: .9;
  font-weight: 800;
}

.step-grid h3 {
  margin: 14px 0 9px;
  color: var(--braces-blue);
  font-size: 16px;
}

.step-grid p {
  margin: 0;
  color: var(--braces-blue);
  font-size: 12px;
  line-height: 1.65;
}

.appointment-cta {
  background: var(--braces-blue);
  color: #fff;
  padding: 55px 0;
}

.appointment-cta-grid {
  display: grid;
  grid-template-columns: .72fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.appointment-cta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.appointment-cta li {
  position: relative;
  padding: 6px 0 6px 36px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.appointment-cta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 12px;
  border-left: 3px solid var(--braces-orange);
  border-bottom: 3px solid var(--braces-orange);
  transform: rotate(-45deg);
}

.appointment-cta h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: .04em;
  font-weight: 500;
}

.appointment-cta p {
  max-width: 650px;
  margin: 0 0 24px;
  color: #e8f5ff;
  font-size: 14px;
  line-height: 1.8;
}

.doctor-affiliations {
  padding: 25px 0 42px;
  background: #f6fbff;
}

.doctor-affiliations h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.affiliation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}

.affiliation-grid span {
  min-height: 68px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #607486;
  background: #fff;
  border: 1px solid #dce7ef;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .02em;
}

.affiliation-grid small {
  display: block;
  margin-top: 3px;
  color: #81909c;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 980px) {
  .braces-hero,
  .budget-promo,
  .smile-detail,
  .appointment-cta-grid {
    grid-template-columns: 1fr;
  }

  .braces-hero-copy,
  .braces-hero-media,
  .braces-hero-media video {
    min-height: 320px;
  }

  .smart-grid,
  .step-grid,
  .affiliation-grid {
    grid-template-columns: 1fr;
  }

  .smart-grid article {
    border-right: 0;
    border-bottom: 1px solid #dbe7ef;
    padding: 24px 30px;
  }

  .smart-grid article:last-child {
    border-bottom: 0;
  }

  .budget-promo {
    width: min(100% - 32px, 1180px);
  }

  .smile-tabs {
    grid-template-columns: repeat(4, 1fr);
  }

  .appointment-cta-grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .breadcrumb-bar .wrap {
    height: 42px;
  }

  .braces-hero-copy {
    padding: 42px 24px;
  }

  .braces-hero h1 {
    font-size: 31px;
  }

  .special-buttons {
    gap: 14px;
  }

  .special-buttons .braces-blue-btn,
  .center-btn,
  .braces-orange-btn,
  .braces-blue-btn {
    width: 100%;
  }

  .smile-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .upper-teeth i,
  .lower-teeth i {
    width: 42px;
    height: 58px;
  }

  .budget-art h3 {
    padding: 12px 22px;
  }
}
