/* Dental Care page (/dental, /specialty/dental-care) */
.dental-hero ~ section .container,
.dental-hero .container { max-width: 1180px; }
.dental-kicker { color: var(--vc-coral); }
.dental-hero ~ section h2 { letter-spacing: -.04em; }

/* ---------- Hero with image collage ---------- */
.dental-hero {
  position: relative;
  padding: 64px 0 76px;
  overflow: hidden;
  background: linear-gradient(118deg, #073a35 0%, var(--vc-ocean) 56%, #147267 100%);
  color: #fff;
}
.dental-hero::after { content: ""; position: absolute; right: -90px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: rgba(92, 224, 184, .1); }
.dental-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dental-hero .vc-eyebrow { color: #73e9c4; }
.dental-hero h1 { margin: 4px 0 22px; color: #fff; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.045em; }
.dental-hero-copy > p { max-width: 580px; margin: 0; color: #e3f4ef; font-size: 1.1rem; line-height: 1.7; }
.dental-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dental-hero-actions .btn { --bs-btn-font-size: .9rem; --bs-btn-padding-y: .7rem; }
.dental-hero-actions .btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .8); }
.dental-hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; color: #d8eee8; font-size: .8rem; font-weight: 700; list-style: none; }
.dental-hero-trust li::before { content: "✓ "; }
.dental-hero-media { position: relative; min-height: 430px; }
.dental-hero-main {
  position: absolute;
  inset: 30px 60px 40px 50px;
  width: calc(100% - 110px);
  height: calc(100% - 70px);
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.dental-hero-float {
  position: absolute;
  width: 150px;
  height: 108px;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
}
.dental-hero-float-1 { left: 10px; top: 0; }
.dental-hero-video { right: 0; top: 0; width: 176px; height: 122px; }
.dental-hero-float-2 { right: 0; bottom: 10px; width: 184px; height: 126px; }
.dental-hero-float-3 { left: 18px; bottom: 0; }

/* ---------- Welcome video ---------- */
.dental-welcome { padding: 76px 0; background: #f2fbfa; }
.dental-welcome-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.dental-welcome-player video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px; background: #0a3f3a; box-shadow: 0 28px 54px -30px rgba(7, 42, 38, .55); }
.dental-welcome .vc-eyebrow { color: var(--vc-coral); }
.dental-welcome h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; }
.dental-welcome p { color: #5d7472; line-height: 1.75; }
.dental-checks { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; color: var(--vc-deep); font-size: .88rem; font-weight: 700; list-style: none; }
.dental-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: #e2f5f0; color: #0f766e; font-size: .78rem; }

/* ---------- Treatment strip ---------- */
.dental-strip { overflow: hidden; padding: 16px 0; background: var(--vc-deep); }
.dental-strip-track { display: flex; gap: 0; width: max-content; padding-inline: 24px; color: #fff; font-family: var(--vc-font-display); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dental-strip-track span { display: inline-flex; align-items: center; white-space: nowrap; }
.dental-strip-track span::before { content: "✦"; margin: 0 26px; color: #5ce0b8; font-size: 1rem; }
.is-marquee > .dental-strip-track { animation: dental-strip 40s linear infinite; }
@keyframes dental-strip { to { transform: translateX(-50%); } }

/* ---------- Dental solutions + gallery ---------- */
.dental-solutions { padding: 76px 0; background: #f7f9fc; scroll-margin-top: 92px; }
.dental-solutions .vc-section-head h2, .dental-gallery-head h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.dental-solutions-grid { display: grid; grid-template-columns: minmax(330px, .75fr) minmax(0, 1.25fr); gap: 34px; align-items: stretch; }
.dental-solutions-image { margin: 0; overflow: hidden; border: 1px solid var(--vc-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 40px rgba(10, 63, 58, .12); }
.dental-solutions-image img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; object-position: 52% center; }
.dental-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dental-service-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 100%;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid #cfe4df;
  border-radius: 15px;
  background: #fff;
  color: var(--vc-deep);
  font-family: var(--vc-font-display);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.32;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(10, 63, 58, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dental-service-list a:hover { transform: translateY(-3px); border-color: #72cfc6; background: #f8fffd; box-shadow: 0 13px 25px rgba(10, 63, 58, .1); color: var(--vc-deep); }
.dental-service-list img { flex: 0 0 46px; width: 46px; height: 46px; object-fit: contain; border-radius: 50%; }
.dental-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 68px 0 24px; }
.dental-gallery-head h2 { margin: 0; }
.dental-gallery-head p { margin: 14px 0 0; color: #5d7472; }
.dental-arrows { display: flex; gap: 6px; padding: 6px; border: 1px solid #c7e0da; border-radius: 16px; background: #edf8f5; }
.dental-arrows[hidden] { display: none; }
.dental-arrows button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0 0 3px; border: 0; border-radius: 11px; background: #fff; color: var(--vc-deep); font-size: 1.7rem; line-height: 1; box-shadow: 0 3px 10px rgba(10, 63, 58, .08); }
.dental-arrows button:hover { background: var(--vc-coral); color: #fff; }
.dental-gallery { display: flex; gap: 18px; padding: 4px 2px 18px; overflow-x: auto; scrollbar-width: none; }
.dental-gallery::-webkit-scrollbar { display: none; }
.dental-gallery a { flex: 0 0 clamp(230px, 23vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--vc-line); border-radius: 20px; background: #fff; cursor: zoom-in; box-shadow: 0 7px 20px rgba(10, 63, 58, .06); }
.dental-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dental-gallery a:hover img { transform: scale(1.045); }

.dental-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 28px; border: 0; background: rgba(2, 17, 16, .92); }
.dental-lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 18px; }
.dental-lightbox::backdrop { background: transparent; }
.dental-lightbox figure { display: grid; place-items: center; min-width: 0; margin: 0; }
.dental-lightbox figure img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 12px; }
.dental-lightbox figcaption { margin-top: 10px; color: #e2f4ef; font-size: .84rem; text-align: center; }
.dental-lightbox-close, .dental-lightbox-nav { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(255, 255, 255, .11); color: #fff; }
.dental-lightbox-close:hover, .dental-lightbox-nav:hover { background: #fff; color: var(--vc-deep); }
.dental-lightbox-close { position: absolute; right: 22px; top: 20px; width: 46px; height: 46px; font-size: 2rem; }
.dental-lightbox-nav { width: 54px; height: 54px; font-size: 2.2rem; }

/* ---------- Technology ---------- */
.dental-technology { padding: 76px 0; background: #fff; }
.dental-technology .vc-section-head { max-width: none; }
.dental-technology .vc-section-head h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.dental-tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dental-tech { margin: 0; overflow: hidden; border: 1px solid var(--vc-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px -24px rgba(10, 63, 58, .4); }
.dental-tech img { display: block; width: 100%; height: 285px; padding: 18px; object-fit: contain; background: linear-gradient(180deg, #f8fbfb, #e9f6f3); }
.dental-tech figcaption { display: grid; gap: 6px; padding: 20px 20px 24px; }
.dental-tech strong { color: var(--vc-deep); font-family: var(--vc-font-display); font-size: 1.05rem; }
.dental-tech span { color: #5d7472; font-size: .86rem; line-height: 1.5; }
.dental-video-feature { margin-top: 48px; padding: 34px 34px 36px; border-radius: 28px; background: linear-gradient(135deg, #073f3a 0%, #0c5d56 55%, #0f8d87 100%); color: #fff; }
.dental-video-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 0 auto 26px; max-width: 900px; }
.dental-video-head small { color: #8ef0ce; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dental-video-head h3 { margin: 6px 0 0; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.dental-video-head p { max-width: 360px; margin: 0; color: #d8eee8; font-size: .86rem; }
.dental-video-card { max-width: 900px; margin: 0 auto; overflow: hidden; border-radius: 20px; background: #082f2b; }
.dental-video-card img { display: block; width: 100%; height: 420px; object-fit: cover; }
.dental-video-card figcaption { display: grid; gap: 4px; padding: 20px; }
.dental-video-card strong { color: #fff; font-family: var(--vc-font-display); }
.dental-video-card span { color: #d8eee8; font-size: .82rem; }

/* ---------- Dentists ---------- */
.dental-dentists { padding: 76px 0 40px; background: #f7f9fc; }
.dental-dentists-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dental-dentists-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.dental-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 26px; }
.dental-filters[hidden] { display: none; }
.dental-filters button { padding: 8px 15px; border: 1px solid #cfe4df; border-radius: 999px; background: #fff; color: var(--vc-deep); font-size: .8rem; font-weight: 700; }
.dental-filters button[aria-pressed="true"] { border-color: var(--vc-deep); background: var(--vc-deep); color: #fff; }
.dental-dentist-rail { display: flex; gap: 20px; padding: 4px 24px 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.dental-dentist-rail::-webkit-scrollbar { display: none; }
.dental-dentist { display: flex; flex-direction: column; flex: 0 0 min(270px, 78vw); overflow: hidden; border: 1px solid #dceee7; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -26px rgba(10, 63, 58, .5); scroll-snap-align: start; }
.dental-dentist[hidden] { display: none; }
.dental-dentist img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; background: #e6f4f1; }
.dental-dentist > div { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.dental-dentist h3 { margin: 0 0 4px; font-size: 1rem; }
.dental-dentist p { margin: 0; color: #5d7472; font-size: .86rem; }
.dental-dentist-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 16px; }
.dental-dentist-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 9px 7px; border-radius: 10px; font-size: .76rem; font-weight: 800; text-decoration: none; }
.dental-btn-profile { border: 1px solid #bdeff2; background: #fff; color: #087c85; }
.dental-btn-book { background: var(--vc-coral); color: #fff; }
.dental-btn-book:hover { background: var(--vc-coral-dark); color: #fff; }
.dental-all-link { margin: 10px 0 0; text-align: center; }
.dental-all-link a { color: var(--vc-deep); font-family: var(--vc-font-display); font-size: 1.05rem; font-weight: 700; text-decoration: none; }

/* ---------- Insurance banner ---------- */
.dental-insurance { padding: 30px 0 76px; background: #f7f9fc; }
.dental-insurance img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 40px -26px rgba(10, 63, 58, .5); }

/* ---------- Reviews ---------- */
.dental-reviews { padding: 76px 0; overflow: hidden; background: #fff; }
.dental-reviews .vc-section-head { max-width: 1180px; }
.dental-reviews h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.dental-review-viewport { overflow-x: auto; padding: 4px 24px 18px; }
.dental-review-viewport.is-marquee { overflow: hidden; padding-inline: 0; }
.dental-review-track { display: flex; gap: 20px; width: max-content; }
.is-marquee > .dental-review-track { animation: dental-reviews 120s linear infinite; }
.is-marquee > .dental-review-track:hover, .is-marquee > .dental-review-track:focus-within { animation-play-state: paused; }
@keyframes dental-reviews { to { transform: translateX(calc(-50% - 10px)); } }
.dental-review { position: relative; display: flex; flex-direction: column; width: 428px; min-height: 294px; margin: 0; padding: 30px 24px; border: 1px solid #dceee7; border-radius: 18px; background: #fff; }
.dental-review-mark { position: absolute; right: 24px; top: 12px; color: #b6e3d6; font: 700 3.2rem/1 Georgia, serif; }
.dental-review-stars { color: var(--vc-coral); font-size: .8rem; letter-spacing: 2px; }
.dental-review blockquote { margin: 18px 0 14px; }
.dental-review blockquote p { margin: 0; color: #5d7472; font-size: .9rem; line-height: 1.6; }
.dental-review figcaption strong { display: block; color: var(--vc-deep); font-size: .86rem; }
.dental-review figcaption span { color: #8aa09c; font-size: .74rem; }

/* ---------- FAQs ---------- */
.dental-faqs { padding: 76px 0; background: #f7f9fc; }
.dental-faqs h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.dental-faq-list { display: grid; gap: 10px; max-width: 820px; }
.dental-faq-list details { padding: 16px 18px; border: 1px solid #dceee7; border-radius: 12px; background: #fff; }
.dental-faq-list summary { color: var(--vc-deep); font-family: var(--vc-font-display); font-weight: 700; cursor: pointer; }
.dental-faq-list p { margin: 12px 0 0; color: #5d7472; }

/* ---------- Floating call button (replaces the Help widget on this page) ---------- */
.dental-call-sticky {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border-radius: 999px;
  background: #665cac;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(30, 24, 90, .3);
  transition: transform .2s ease;
}
.dental-call-sticky:hover { transform: translateY(-2px); color: #fff; }
.dental-call-icon { display: grid; place-items: center; width: 23px; height: 23px; border: 2px solid currentColor; border-radius: 50%; }
.dental-call-icon::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.4 3.5 5.8 4.2c-.8.4-1.2 1.3-.9 2.2 1.5 5.5 5.2 9.2 10.7 10.7.9.3 1.8-.1 2.2-.9l.7-1.6c.3-.7 0-1.5-.7-1.9l-2.4-1.2c-.6-.3-1.3-.2-1.7.3l-.8 1c-1.9-.9-3.4-2.4-4.3-4.3l1-.8c.5-.4.6-1.1.3-1.7L8.9 4.2c-.3-.7-1.1-1-1.5-.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.4 3.5 5.8 4.2c-.8.4-1.2 1.3-.9 2.2 1.5 5.5 5.2 9.2 10.7 10.7.9.3 1.8-.1 2.2-.9l.7-1.6c.3-.7 0-1.5-.7-1.9l-2.4-1.2c-.6-.3-1.3-.2-1.7.3l-.8 1c-1.9-.9-3.4-2.4-4.3-4.3l1-.8c.5-.4.6-1.1.3-1.7L8.9 4.2c-.3-.7-1.1-1-1.5-.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .dental-hero-grid, .dental-welcome-grid, .dental-solutions-grid { grid-template-columns: 1fr; }
  .dental-solutions-image { height: 430px; }
  .dental-solutions-image img { min-height: 0; }
  .dental-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dental-video-head { display: block; }
  .dental-video-head p { margin-top: 10px; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .dental-hero { padding: 30px 0 26px; }
  .dental-hero h1 { margin: 8px 0 10px; font-size: clamp(2rem, 9vw, 2.55rem); line-height: 1.06; }
  .dental-hero-copy > p { max-width: 34ch; font-size: .92rem; line-height: 1.48; }
  .dental-hero-actions { display: block; margin-top: 16px; }
  .dental-hero-actions .btn { width: 100%; min-height: 44px; }
  .dental-hero-actions .btn + .btn { display: none; }
  .dental-hero-media { min-height: 220px; margin-top: 18px; }
  .dental-hero-main { inset: 16px 6% auto; width: 88%; height: 190px; border-width: 4px; }
  .dental-hero-float { width: 82px; height: 60px; border-width: 3px; border-radius: 12px; }
  .dental-hero-float-1 { left: 0; top: 0; }
  .dental-hero-video { right: 0; top: 0; width: 86px; height: 62px; }
  .dental-hero-float-2 { right: 0; bottom: 0; width: 92px; height: 64px; }
  .dental-hero-float-3 { left: 0; bottom: 0; }
  .dental-welcome { padding: 42px 0; }
  .dental-welcome-grid { gap: 24px; }
  .dental-welcome h2 { font-size: 1.8rem; }
  .dental-strip { padding: 9px 0; }
  .dental-strip-track { font-size: .7rem; }
  .dental-strip-track span::before { margin: 0 14px; font-size: .82rem; }

  .dental-solutions { padding: 34px 0 40px; }
  .dental-solutions .vc-section-head h2 { font-size: clamp(1.55rem, 7.4vw, 2rem); }
  .dental-solutions-image { display: none; }
  .dental-service-list { gap: 8px; }
  .dental-service-list a { min-height: 68px; padding: 9px 8px; gap: 6px; border-radius: 12px; font-size: .69rem; line-height: 1.18; overflow-wrap: anywhere; }
  .dental-service-list img { flex-basis: 27px; width: 27px; height: 27px; }
  .dental-gallery-head { margin-top: 30px; }
  .dental-gallery { gap: 12px; }
  .dental-gallery a { flex-basis: min(72vw, 286px); border-radius: 17px; }
  .dental-arrows button { width: 42px; height: 42px; }
  .dental-lightbox[open] { grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 7px; padding: 14px; }
  .dental-lightbox-nav { width: 44px; height: 44px; }

  /* Technology becomes a dark band with compact two-column cards. */
  .dental-technology { padding: 38px 0 42px; background: var(--vc-deep); }
  .dental-technology .vc-section-head h2 { color: #fff; font-size: 1.65rem; }
  .dental-technology .dental-kicker { color: #9ff0d3; }
  .dental-tech-grid { gap: 10px; }
  .dental-tech { border-radius: 13px; }
  .dental-tech img { height: 92px; padding: 8px; }
  .dental-tech figcaption { gap: 4px; padding: 9px 9px 11px; }
  .dental-tech strong { font-size: .74rem; line-height: 1.18; }
  .dental-tech span { display: -webkit-box; overflow: hidden; font-size: .65rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .dental-video-feature { margin-top: 26px; padding: 22px 16px; border-radius: 20px; }
  .dental-video-card img { height: 220px; }

  .dental-dentists { padding: 38px 0 30px; }
  .dental-dentists-head h2 { font-size: 1.7rem; }
  .dental-dentists-head .dental-arrows { display: none; }
  .dental-filters { flex-wrap: nowrap; overflow-x: auto; margin: 16px 0; scrollbar-width: none; }
  .dental-filters button { flex: 0 0 auto; white-space: nowrap; font-size: .72rem; }
  .dental-dentist-rail { gap: 12px; padding-inline: 16px; }
  .dental-dentist { flex-basis: calc(50vw - 28px); max-width: 190px; border-radius: 14px; }
  .dental-dentist img { aspect-ratio: 4 / 4.5; }
  .dental-dentist > div { padding: 11px; }
  .dental-dentist h3 { font-size: .78rem; line-height: 1.18; }
  .dental-dentist p { margin: 5px 0; font-size: .68rem; line-height: 1.25; }
  .dental-dentist-actions { grid-template-columns: max-content max-content; gap: 8px; padding-top: 8px; }
  .dental-dentist-actions a { min-height: 32px; padding: 7px 6px; font-size: .64rem; white-space: nowrap; }
  .dental-insurance { padding: 16px 0 40px; }
  .dental-reviews, .dental-faqs { padding: 44px 0; }
  .dental-review { width: 84vw; min-height: 0; padding: 24px 20px; }
  .dental-call-sticky { right: 14px; bottom: 14px; padding: 12px 14px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .is-marquee > .dental-strip-track, .is-marquee > .dental-review-track { animation: none; }
  .dental-service-list a, .dental-gallery img, .dental-call-sticky { transition: none; }
}
