:root {
  --bg: #eef4ff;
  --surface: #ffffff;
  --ink: #0f1f3a;
  --muted: #4f6284;
  --primary: #1db08f;
  --primary-deep: #15776a;
  --ring: rgba(29, 176, 143, 0.3);
  --hero: #0e3a86;
  --shadow: 0 16px 40px rgba(12, 41, 92, 0.2);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f9ff 0%, var(--bg) 46%, #f9fdff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", serif;
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1600px, 97%);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(12px);
  z-index: -1;
  opacity: 0.3;
}

.orb-left {
  width: 340px;
  height: 340px;
  background: #86e6cc;
  left: -160px;
  top: 120px;
}

.orb-right {
  width: 420px;
  height: 420px;
  background: #a5bfff;
  right: -190px;
  top: 340px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(245, 250, 255, 0.9);
  border-bottom: 1px solid rgba(16, 47, 92, 0.1);
  z-index: 20;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1db08f, #1a67a1);
  box-shadow: 0 8px 20px rgba(16, 65, 101, 0.28);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 26px;
  height: 30px;
}

.brand-text {
  color: #163056;
  font-size: 1rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.main-nav a {
  color: #36537f;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  color: var(--ink);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #2bcaa8);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 176, 143, 0.3);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.btn-secondary {
  background: #dfeaff;
  color: #1a4378;
}

.btn-procedure {
  margin-top: auto;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-light {
  background: #fff;
  color: var(--primary-deep);
}

.hero {
  padding: 64px 0 56px;
}

.hero-shell {
  background:
    linear-gradient(108deg, rgba(11, 42, 96, 0.94) 0%, rgba(14, 58, 134, 0.92) 45%, rgba(13, 73, 142, 0.72) 100%),
    radial-gradient(circle at 12% 22%, rgba(45, 201, 169, 0.22), transparent 44%);
  border-radius: 26px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: #7de1ca;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  margin-bottom: 10px;
  color: #ffffff;
}

.lead {
  color: #d7e8ff;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 66px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  margin-bottom: 10px;
}

.card-grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.procedures-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
}

.info-card p {
  color: var(--muted);
}

.procedure-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.procedure-thumb {
  aspect-ratio: 16 / 10;
  background: #d8e4fb;
}

.procedure-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedure-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.procedure-card-body h3 {
  margin: 0;
}

.procedure-card-body p {
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  max-width: 62ch;
}

.about-support {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.about-highlight {
  background: linear-gradient(130deg, #29c0a0, #1f7fa5);
  color: #f4fffd;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.checklist {
  margin-top: 16px;
  padding-left: 12px;
}

.quotes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote {
  margin: 0;
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
}

.quote cite {
  margin-top: 12px;
  display: block;
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
  display: grid;
  gap: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d0daea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  margin-bottom: 10px;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--ring);
  border-color: var(--primary);
}

.form-note {
  min-height: 1.2em;
  color: var(--primary-deep);
  font-size: 0.92rem;
  margin: 2px 0 0;
}

.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(23, 48, 41, 0.1);
  margin-top: 20px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #52688e;
  font-size: 0.95rem;
}

.procedure-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 44px 0;
}

.procedure-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
}

.procedure-wrap h1 {
  color: #15345f;
}

.procedure-wrap h2 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #15345f;
}


.procedure-wrap p {
  color: #3f5477;
}

.procedure-list {
  margin: 8px 0 10px;
  padding-left: 22px;
  color: #3f5477;
}

.procedure-list li {
  margin-bottom: 6px;
}

.procedure-stack-section {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #dbe7f8;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 10px 22px rgba(16, 45, 90, 0.08);
}

.procedure-stack-section h2 {
  margin-top: 0;
}

.implant-hero-image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin: 0;
  box-shadow: 0 10px 20px rgba(15, 44, 90, 0.14);
}

.implant-section {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #dbe7f8;
  border-radius: 16px;
  background: #f9fcff;
}

.implant-section h3 {
  margin-top: 14px;
  margin-bottom: 6px;
  color: #1c3e6f;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.implant-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.implant-media {
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(16, 45, 90, 0.14);
  background: #eaf2ff;
}

.implant-media img {
  width: 100%;
  display: block;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

.implant-section-intro {
  margin-top: 10px;
}


.procedure-wrap .eyebrow {
  color: #2c7b90;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (max-width: 1080px) {
  .brand-text {
    font-size: 0.92rem;
  }

  .main-nav {
    gap: 16px;
  }

  .services-grid,
  .procedures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .contact-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-height: 350px;
  }
}

@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    background: rgba(250, 255, 253, 0.98);
    border-bottom: 1px solid rgba(23, 48, 41, 0.08);
    padding: 14px 4%;
    flex-direction: column;
    gap: 12px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
  }

  .nav-wrap > .btn-sm {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-shell {
    padding: 24px;
  }

  .services-grid,
  .procedures-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .brand-text {
    white-space: normal;
    line-height: 1.2;
    max-width: 170px;
  }

  .procedure-wrap {
    padding: 24px;
  }
}

/* Procedure page layout refinement */
.procedure-page {
  min-height: auto;
  display: block;
  place-items: initial;
  padding-top: 34px;
}

.procedure-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.procedure-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.16);
  min-height: 280px;
}

.procedure-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedure-media-portrait img {
  object-position: 34% center;
}

.oral-surgery-media {
  width: 100%;
  min-width: 0;
  min-height: 390px;
  padding: 14px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #f8fbff 0%, #e7f0fb 100%);
  border: 1px solid rgba(210, 226, 245, 0.92);
  box-shadow: 0 20px 42px rgba(20, 57, 110, 0.15);
}

.oral-surgery-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
}

.oral-surgery-page .procedure-hero-grid {
  grid-template-columns: 1fr;
}

.oral-surgery-intro-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
  margin: 18px 0 26px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid #dbe7f8;
  background:
    radial-gradient(circle at top left, rgba(117, 210, 190, 0.14), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 54%, #f7fbff 100%);
  box-shadow: 0 18px 36px rgba(17, 47, 93, 0.08);
}

.oral-surgery-intro-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.oral-surgery-intro-copy h2 {
  margin-top: 0;
  margin-bottom: 4px;
}

.oral-surgery-intro-copy p {
  margin: 0;
  line-height: 1.82;
}

.procedure-media-contained {
  padding: 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #e7f1ff 100%);
}

.procedure-media-contained img {
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #ffffff;
}

@media (max-width: 1080px) {
  .procedure-hero-grid {
    grid-template-columns: 1fr;
  }

  .oral-surgery-media {
    min-height: 320px;
  }

  .oral-surgery-media img {
    object-position: center 26%;
  }

  .oral-surgery-intro-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .implant-split {
    grid-template-columns: 1fr;
  }

  .implant-media img,
  .implant-hero-image {
    max-height: 260px;
  }
}



.support-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.support-card {
  background: #ffffff;
  border: 1px solid #dbe6f7;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(20, 57, 110, 0.08);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #173a68;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}








.doctor {
  padding-top: 6px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.doctor-card,
.promise-card {
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
}

.doctor-card {
  background: #ffffff;
}

.doctor-card h3,
.promise-card h3 {
  margin-bottom: 8px;
  color: #14335e;
}

.doctor-role {
  margin: 0 0 14px;
  font-weight: 700;
  color: #64789c;
}

.doctor-card > p {
  color: var(--muted);
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.doctor-tags span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf2fa;
  color: #27456f;
  font-size: 0.8rem;
  font-weight: 600;
}

.doctor-bio {
  background: #eaf3f5;
  border: 1px solid #d9e6ef;
  border-radius: 16px;
  padding: 16px;
}

.bio-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: #6f829e;
}

.doctor-bio p {
  margin: 0;
  color: #355273;
}

.promise-card {
  background: #e2eef6;
}

.promise-card ul {
  margin: 10px 0 20px;
  padding-left: 20px;
  color: #2e4a6f;
}

.promise-card li {
  margin-bottom: 6px;
}

@media (max-width: 1080px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}

.doctor-photo-slot {
  margin: 8px 0 16px;
  min-height: 220px;
  border-radius: 16px;
  border: 2px dashed #bfd2ea;
  background: linear-gradient(135deg, #f4f9ff, #e8f1fb);
  display: grid;
  place-items: center;
  color: #5a7597;
  font-weight: 700;
}

.testimonials-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c8d8f2;
  background: #ffffff;
  color: #1e4477;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 57, 110, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: #edf4ff;
}

.testimonials-carousel {
  margin-top: 22px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 32%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.testimonials-carousel::-webkit-scrollbar {
  height: 8px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
  background: #c2d4ef;
  border-radius: 999px;
}

.quote-slide {
  scroll-snap-align: start;
  min-height: 210px;
  background: linear-gradient(160deg, #ffffff 0%, #f2f7ff 100%);
  border: 1px solid #d8e5f8;
}

@media (max-width: 1080px) {
  .testimonials-carousel {
    grid-auto-columns: minmax(280px, 72%);
  }
}

@media (max-width: 760px) {
  .testimonials-head {
    align-items: center;
  }

  .testimonials-carousel {
    grid-auto-columns: 90%;
  }
}

.visit {
  padding-top: 8px;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.visit-card,
.map-slot {
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
}

.visit-card {
  background: #ffffff;
  padding: 28px;
}

.visit-card .eyebrow {
  color: #2b7f96;
}

.visit-card .section-title {
  color: #14335e;
  margin-bottom: 16px;
}

.visit-text {
  margin: 0 0 10px;
  color: #456186;
}

.visit-actions {
  margin-top: 18px;
}

.map-slot {
  background: linear-gradient(165deg, #e5f0fb 0%, #d7e8f6 100%);
  border: 1px solid #c9dbef;
  min-height: 330px;
  padding: 14px;
}

.map-inner {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(109, 145, 183, 0.35);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.map-inner iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

@media (max-width: 1080px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .map-slot {
    min-height: 260px;
    padding: 10px;
  }
}

.cta-footer {
  background: linear-gradient(180deg, #173e79 0%, #1a4b91 54%, #0f2f5f 54%, #0f2f5f 100%);
  margin-top: 18px;
}

.cta-panel {
  padding-top: 64px;
  padding-bottom: 52px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}

.cta-copy h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-copy p {
  color: #d7e6ff;
  max-width: 52ch;
}

.appointment-form {
  background: rgba(235, 244, 255, 0.14);
  border: 1px solid rgba(214, 229, 255, 0.24);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(5, 18, 42, 0.24);
}

.appointment-embed {
  align-content: start;
  min-height: 520px;
}

.appointment-embed iframe,
.appointment-embed > div,
.appointment-embed form {
  width: 100% !important;
  max-width: 100% !important;
}

.appointment-embed iframe {
  border-radius: 16px;
  background: #ffffff;
}


.appointment-form input,
.appointment-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(200, 219, 248, 0.5);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.appointment-form input::placeholder {
  color: #d7e6ff;
}

.appointment-form select {
  color: #e7f0ff;
}

.appointment-form option {
  color: #183c73;
}

.cta-submit {
  margin-top: 6px;
  background: #0f2b53;
  color: #ffffff;
}

.cta-submit:hover {
  box-shadow: 0 10px 24px rgba(9, 26, 50, 0.45);
}

.cta-note {
  margin: 4px 0 0;
  color: #d3e2fa;
  font-size: 0.9rem;
}

.cta-note a {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer-merged {
  border-top: none;
  margin-top: 0;
  padding: 30px 0 34px;
  background: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
  color: #d7e5ff;
}

.footer-grid h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-grid a {
  color: #d7e5ff;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-sub {
  color: #bcd0f3;
  max-width: 24ch;
}

@media (max-width: 1080px) {
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.cta-grid > * {
  min-width: 0;
}

.appointment-form {
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

.cta-note {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .appointment-form {
    justify-self: stretch;
    max-width: none;
  }
}


.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1db08f, #1a67a1);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(3, 17, 42, 0.3);
  margin-bottom: 10px;
}

.footer-logo svg {
  width: 24px;
  height: 28px;
}

.appointment-form {
  align-self: start;
}


/* CTA/Footer refinements */
.cta-footer {
  margin-top: 18px;
}

.cta-panel {
  background: linear-gradient(180deg, #173e79 0%, #1a4b91 100%);
  padding-top: 64px;
  padding-bottom: 60px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: start;
  justify-content: space-between;
}

.cta-grid > * {
  min-width: 0;
}

.appointment-form {
  width: 100%;
  max-width: 720px;
  justify-self: end;
  align-self: start;
}

.site-footer-merged {
  background: #0f2f5f;
  padding: 24px 0 26px;
}

.footer-grid {
  font-size: 0.92rem;
}

.footer-grid h4 {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.footer-grid p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.footer-brand {
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 0.86rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1db08f, #1a67a1);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(3, 17, 42, 0.3);
  margin-bottom: 10px;
}

.footer-logo svg {
  width: 22px;
  height: 26px;
}

@media (max-width: 1080px) {
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .appointment-form {
    justify-self: stretch;
    max-width: none;
  }
}

/* Hero video section */
.hero {
  padding: 52px 0 54px;
}

.hero-video-shell {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 620px;
  box-shadow: 0 18px 42px rgba(9, 34, 74, 0.28);
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 31, 66, 0.52) 0%, rgba(10, 45, 87, 0.42) 46%, rgba(11, 61, 111, 0.22) 100%),
    radial-gradient(circle at 22% 18%, rgba(45, 201, 169, 0.14), transparent 42%);
}

.hero-video-content {
  position: relative;
  z-index: 2;
  width: min(820px, 92%);
  margin-left: 52px;
}

.hero-video-content h1 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.hero-video-content .lead {
  color: #d8e8ff;
  max-width: 68ch;
  margin-bottom: 10px;
}

.hero-video-content .hero-actions {
  margin-top: 24px;
}

@media (max-width: 1080px) {
  .hero-video-shell {
    min-height: 580px;
  }

  .hero-video-content {
    margin: 0 auto;
    width: min(880px, 92%);
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 32px;
  }

  .hero-video-shell {
    min-height: 700px;
    border-radius: 20px;
  }

  .hero-video-content {
    width: min(92%, 560px);
    margin: 0 auto;
  }

  .hero-video-content .hero-actions {
    gap: 10px;
  }
}


/* Hero visibility refinement */
.hero-video-overlay {
  background:
    linear-gradient(100deg, rgba(8, 31, 66, 0.12) 0%, rgba(10, 45, 87, 0.08) 44%, rgba(11, 61, 111, 0.04) 100%),
    radial-gradient(circle at 22% 18%, rgba(105, 230, 203, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-video {
  filter: brightness(1.12) saturate(1.18) contrast(1.08);
  transform: scale(1.015);
}

.hero-video-content {
  width: min(680px, 48%);
  margin-left: auto;
  margin-right: 44px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 39, 79, 0.28) 0%, rgba(9, 39, 79, 0.2) 100%);
  border: 1px solid rgba(226, 237, 252, 0.34);
  box-shadow: 0 18px 34px rgba(8, 31, 66, 0.16);
  backdrop-filter: blur(2px);
}

.hero-video-content .eyebrow {
  color: #8ef0d2;
}

.hero-video-content .lead {
  color: #f3f8ff;
}

@media (max-width: 1080px) {
  .hero-video-content {
    width: min(94%, 680px);
    margin: auto 20px 26px;
  }

  .hero-video-shell {
    align-items: end;
  }
}

@media (max-width: 760px) {
  .hero-video-content {
    margin: auto 14px 16px;
    padding: 18px;
  }
}

/* About intro section */
.about-intro {
  padding-top: 18px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.about-intro-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.14);
  background: linear-gradient(145deg, #d8e8ff, #eef5ff);
  min-height: 430px;
  display: grid;
  place-items: center;
}

.about-intro-photo-inner {
  width: min(88%, 430px);
  min-height: 210px;
  border-radius: 16px;
  border: 2px dashed #98b7dc;
  background: rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  text-align: center;
  color: #3e628d;
  font-weight: 700;
  padding: 20px;
}

.about-intro-copy {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
  padding: 28px;
}

.about-intro-copy .eyebrow {
  color: #2b7f96;
}

.about-intro-copy p {
  color: #4a6489;
  margin: 0 0 12px;
}

@media (max-width: 1080px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-photo {
    min-height: 210px;
  }
}

/* Procedure spotlight redesign */
.procedure-spotlight-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.procedure-parent-card {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(140deg, #eef6ff 0%, #dceafe 100%);
  border: 1px solid #c7daf5;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(18, 52, 102, 0.1);
}

.procedure-parent-card h3 {
  margin: 0 0 4px;
  color: #15345f;
}

.procedure-parent-card p {
  margin: 0;
  color: #40608f;
}

.procedure-tile {
  position: relative;
  display: block;
  min-height: 210px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 36, 70, 0.18);
  transform: translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.procedure-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.32s ease;
}

.procedure-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 48, 0.22) 26%, rgba(9, 24, 52, 0.78) 84%);
}

.procedure-tile-content {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  gap: 6px;
  z-index: 2;
  color: #ffffff;
}

.procedure-tile-content strong {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(0.98rem, 1.35vw, 1.2rem);
  line-height: 1.2;
}

.procedure-tile-content span {
  font-size: 0.8rem;
  color: #e0ebff;
  max-width: 45ch;
}

.procedure-tile:hover,
.procedure-tile:focus-visible {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 40px rgba(10, 29, 61, 0.26);
  filter: brightness(1.05);
}

.procedure-tile:hover img,
.procedure-tile:focus-visible img {
  transform: scale(1.06);
}

.procedure-tile:focus-visible {
  outline: 3px solid rgba(44, 169, 148, 0.55);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .procedure-parent-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .procedure-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .procedure-tile {
    min-height: 230px;
  }
}

/* Homepage restructure: doctor + before/after + why */
.meet-doctor-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.doctor-portrait {
  border-radius: 20px;
  background: linear-gradient(145deg, #d9e8ff, #edf5ff);
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.14);
  display: grid;
  place-items: center;
  min-height: 420px;
}

.doctor-portrait-inner {
  width: min(88%, 420px);
  min-height: 210px;
  border-radius: 16px;
  border: 2px dashed #98b7dc;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  text-align: center;
  color: #3e628d;
  font-weight: 700;
  padding: 20px;
}

.meet-doctor-copy {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
  padding: 26px;
}

.meet-doctor-copy h3 {
  margin: 6px 0 2px;
  color: #173a68;
}

.meet-doctor-copy p {
  color: #4a6489;
}

.before-after-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ba-case {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
}

.ba-case h3 {
  font-size: 1rem;
  margin: 0 0 10px;
  color: #173a68;
  font-family: "Manrope", sans-serif;
}

.ba-compare {
  --pos: 50%;
  position: relative;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  width: var(--pos);
  overflow: hidden;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
  transform: translateX(-1px);
  z-index: 2;
}

.ba-divider::after {
  content: "?";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #17457d;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ba-label {
  position: absolute;
  top: 10px;
  z-index: 3;
  background: rgba(8, 27, 56, 0.62);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.ba-label-before {
  left: 10px;
}

.ba-label-after {
  right: 10px;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.zirconia-showcase {
  margin-top: 26px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #edf5ff 52%, #f7fbff 100%);
  border: 1px solid #d9e6f8;
  box-shadow: 0 16px 32px rgba(17, 47, 93, 0.09);
}

.zirconia-showcase-head {
  margin-bottom: 18px;
}

.zirconia-showcase-head h3 {
  margin: 0;
  color: #173a68;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.zirconia-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.zirconia-card {
  margin: 0;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(214, 227, 245, 0.92);
  box-shadow: 0 14px 28px rgba(20, 57, 110, 0.1);
}

.zirconia-card img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #eef5ff;
}

.zirconia-card-fill img {
  object-fit: cover;
  object-position: center 32%;
}

.zirconia-card figcaption {
  margin-top: 12px;
  color: #173a68;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.why-copy {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
  padding: 26px;
}

.why-copy .eyebrow {
  color: #2b7f96;
}

.why-copy > p {
  color: #4a6489;
}

.why-support-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.why-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.16);
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1150px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .meet-doctor-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .doctor-portrait {
    min-height: 210px;
  }
}

/* Meet doctor merge + image fixes */
.meet-doctor-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.14);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.meet-doctor-card .doctor-portrait {
  min-height: 360px;
}

.meet-doctor-card .meet-doctor-copy {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.why-image {
  min-height: 380px;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1080px) {
  .meet-doctor-card {
    grid-template-columns: 1fr;
  }

  .meet-doctor-card .doctor-portrait {
    min-height: 230px;
  }
}


/* Patient stories copy + images */
.story-quotes-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-quote {
  background: #ffffff;
  border: 1px solid #d9e6f8;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(20, 57, 110, 0.1);
}

.story-quote p {
  margin: 0 0 10px;
  color: #3f5d84;
}

.story-quote cite {
  color: #173a68;
  font-weight: 700;
  font-style: normal;
}

.before-after-grid {
  margin-top: 18px;
}

.ba-case h3 {
  display: none;
}

@media (max-width: 1150px) {
  .story-quotes-grid {
    grid-template-columns: 1fr;
  }
}

/* Primary heading consistency */
.main-section-title {
  font-size: clamp(2rem, 3.1vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 10px;
  color: #15345f;
}

.section-subtitle {
  margin: 0 0 16px;
  color: #4c678d;
  font-size: 1.03rem;
}

#procedures .main-section-title,
#testimonials .main-section-title,
#about .main-section-title {
  letter-spacing: 0.01em;
}



/* Force smaller procedure cards */
#procedures .container {
  width: min(1180px, 90%);
}

.procedure-spotlight-grid {
  max-width: 1080px;
  margin: 18px auto 0;
  grid-template-columns: repeat(2, minmax(280px, 520px));
  justify-content: center;
  gap: 14px;
}

.procedure-tile {
  height: 230px;
  min-height: 230px;
}

.procedure-tile-content {
  left: 10px;
  right: 10px;
  bottom: 8px;
}

.procedure-tile-content strong {
  font-size: 1.12rem;
}

.procedure-tile-content span {
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .procedure-spotlight-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .procedure-tile {
    height: 210px;
    min-height: 210px;
  }
}


/* Patients say layout */
.patients-say-layout {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 20px;
  align-items: start;
}

.patients-say-intro {
  padding: 8px 0;
}

.patients-say-intro .main-section-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(1.95rem, 3.4vw, 3.05rem);
  letter-spacing: 0.02em;
  line-height: 0.94;
  text-transform: uppercase;
  max-width: 9ch;
}

.patients-quote-mark {
  display: inline-block;
  margin-top: 6px;
  font-size: 9rem;
  line-height: 0.75;
  color: #93d5ff;
}

.patients-say-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.say-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px 44px;
  box-shadow: 0 14px 28px rgba(20, 57, 110, 0.1);
  min-height: 280px;
}

.say-card p {
  margin: 0 0 12px;
  color: #3b567f;
  font-size: 1.03rem;
  line-height: 1.5;
}

.say-card cite {
  color: #193f72;
  font-weight: 700;
  font-style: normal;
}

.say-quote {
  position: absolute;
  right: 16px;
  bottom: 8px;
  color: #93d5ff;
  font-size: 4.6rem;
  line-height: 0.8;
}

.say-indicators {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}

.say-indicators span {
  width: 98px;
  height: 4px;
  border-radius: 99px;
  background: #4f657e;
  opacity: 0.45;
}

.say-indicators span.active {
  background: #3b70bb;
  opacity: 1;
}

@media (max-width: 1100px) {
  .patients-say-layout {
    grid-template-columns: 1fr;
  }

  .patients-say-intro .main-section-title {
    max-width: none;
  }

  .patients-quote-mark {
    font-size: 6rem;
  }
}

@media (max-width: 760px) {
  .patients-say-cards {
    grid-template-columns: 1fr;
  }

  .say-card {
    min-height: 240px;
  }

  .say-indicators span {
    width: 72px;
  }
}

.doctor-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-link-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-label {
  color: #36537f;
  font-weight: 600;
}

.dropdown-trigger {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #36537f;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.dropdown-trigger:hover,
.dropdown-trigger:focus-visible {
  background: rgba(208, 224, 246, 0.45);
  outline: none;
}

.dropdown-arrow {
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 0.22s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #dbe6f7;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.16);
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 30;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #2f4d78;
  font-size: 0.94rem;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #eaf3ff;
  color: #123d73;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

@media (max-width: 760px) {
  .main-nav .nav-dropdown {
    width: 100%;
  }

  .main-nav .dropdown-link-group {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .main-nav .dropdown-label {
    flex: 1;
  }

  .main-nav .dropdown-trigger {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .main-nav .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    transition: max-height 0.25s ease;
  }

  .main-nav .nav-dropdown.open .dropdown-menu {
    max-height: 280px;
    padding: 4px 0 0;
  }

  .main-nav .dropdown-menu a {
    background: rgba(208, 224, 246, 0.45);
    margin-bottom: 6px;
  }
}

.appointment-status {
  margin: 2px 0 0;
  color: #d8fbe8;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Payment page */
.payment-page {
  padding-bottom: 48px;
}

.payment-intro {
  padding-bottom: 20px;
}

.payment-intro-wrap {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
  padding: 28px;
  text-align: center;
}

.payment-intro-wrap .section-title {
  margin-bottom: 6px;
}

.va-approved {
  margin: 20px auto 0;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #f3f8ff;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  padding: 14px;
}

.va-approved img {
  width: 48px;
  height: 48px;
}

.va-approved p {
  margin: 0;
  color: #15345f;
}

.va-badge {
  font-size: 1.55rem;
  font-weight: 800;
  color: #163a69;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.finance-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(20, 57, 110, 0.1);
  border: 1px solid #dfe9f8;
  padding: 24px 20px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.finance-card p {
  margin: 0;
  color: #4a6489;
  font-size: 0.94rem;
}

.finance-logo {
  font-weight: 800;
  font-size: 2.05rem;
  line-height: 1;
}

.sunbit-logo {
  color: #233c8f;
}

.carecredit-logo {
  color: #21926f;
}

.ismile-logo {
  color: #2c6f86;
  font-size: 1.75rem;
}

.cherry-wrap {
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(20, 57, 110, 0.1);
  border: 1px solid #dfe9f8;
  padding: 22px;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.cherry-logo {
  color: #102c53;
}

.cherry-wrap img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.accepted-wrap {
  text-align: center;
}

.accepted-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 170px));
  justify-content: center;
  gap: 14px;
}

.accepted-grid img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #dfe9f8;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(20, 57, 110, 0.08);
}

@media (max-width: 980px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .accepted-grid {
    grid-template-columns: repeat(2, minmax(110px, 170px));
  }
}

/* Payment image assets update */
.va-approved {
  max-width: 760px;
  background: #ffffff;
}

.va-full-logo {
  width: min(100%, 620px);
  height: auto;
  display: block;
}

.finance-logo-img {
  width: min(100%, 280px);
  height: 72px;
  object-fit: contain;
}

.cherry-logo-img {
  width: min(100%, 240px);
  height: auto;
  display: block;
}

.cherry-wrap img:last-of-type {
  max-width: 320px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #dbe6f7;
}

.accepted-grid {
  grid-template-columns: minmax(220px, 420px);
}

.accepted-grid img {
  height: auto;
  object-fit: cover;
  padding: 0;
}

@media (max-width: 980px) {
  .accepted-grid {
    grid-template-columns: minmax(220px, 380px);
  }
}

/* Payment page layout fixes */
.payment-intro-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.va-approved {
  max-width: 720px;
  min-height: 108px;
  margin: 18px auto 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.va-full-logo {
  width: 100%;
  max-width: 560px;
  max-height: 84px;
  object-fit: contain;
  display: block;
}

.payment-grid {
  grid-template-columns: repeat(3, minmax(220px, 280px));
  justify-content: center;
  gap: 18px;
}

.finance-card {
  min-height: 248px;
  padding: 18px 16px 20px;
  gap: 10px;
  align-content: start;
}

.finance-card p {
  min-height: 72px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.finance-logo-img {
  display: block;
  width: auto;
  height: 58px;
  max-width: 200px;
  object-fit: contain;
}

.finance-logo-sunbit {
  max-width: 205px;
}

.finance-logo-carecredit {
  max-width: 225px;
  height: 62px;
}

.finance-logo-ismile {
  max-width: 195px;
  height: 56px;
}

.cherry-wrap {
  max-width: 360px;
  padding: 18px;
  gap: 10px;
}

.cherry-logo-img {
  width: 100%;
  max-width: 220px;
  max-height: 58px;
  object-fit: contain;
}

.cherry-wrap img:last-of-type {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
}

.accepted-wrap .section-title {
  margin-bottom: 6px;
}

.accepted-grid {
  margin-top: 12px;
  grid-template-columns: minmax(180px, 300px);
}

.accepted-grid img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 1100px) {
  .payment-grid {
    grid-template-columns: repeat(2, minmax(220px, 300px));
  }
}

@media (max-width: 760px) {
  .payment-grid {
    grid-template-columns: minmax(220px, 340px);
  }

  .finance-card {
    min-height: 220px;
  }

  .finance-card p {
    min-height: 0;
  }

  .va-approved {
    padding: 12px;
    min-height: 92px;
  }

  .va-full-logo {
    max-height: 68px;
  }

  .cherry-wrap {
    max-width: 330px;
  }
}

/* Payment hotfix: VA and Cherry media scaling */
.va-approved img {
  width: auto;
  height: auto;
}

.va-approved .va-full-logo {
  width: min(100%, 620px) !important;
  max-width: 620px !important;
  max-height: none !important;
  height: auto !important;
  object-fit: contain;
}

.cherry-wrap {
  margin: 0 auto;
}

.cherry-logo-img {
  width: min(100%, 210px);
  max-width: 210px;
  max-height: 54px;
}

.cherry-wrap img:last-of-type {
  max-width: 290px;
}

@media (max-width: 760px) {
  .va-approved .va-full-logo {
    width: min(100%, 520px) !important;
  }

  .cherry-logo-img {
    max-width: 190px;
  }
}

/* Insurances page */
.insurances-page {
  padding-bottom: 48px;
}

.insurances-intro {
  padding-bottom: 20px;
}

.insurances-shell {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dfe9f8;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.1);
  padding: 30px;
  text-align: center;
}

.insurances-shell .section-title {
  margin-bottom: 10px;
}

.insurances-shell p {
  max-width: 86ch;
  margin: 0 auto;
  color: #4a6489;
}

.insurance-va-logo-wrap {
  margin: 14px auto 18px;
  width: min(100%, 780px);
  padding: 14px;
  border: 1px solid #d9e6f8;
  border-radius: 14px;
  background: #f7fbff;
}

.insurance-va-logo {
  width: min(100%, 700px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.insurance-info {
  margin-top: 8px;
}

.insurance-info-last {
  margin-top: 10px;
}

.insurance-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.insurance-grid li {
  background: #f6faff;
  border: 1px solid #dbe7f8;
  border-radius: 12px;
  padding: 12px 14px;
  color: #23456f;
  font-size: 0.93rem;
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .insurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .insurances-shell {
    padding: 22px 16px;
  }

  .insurance-grid {
    grid-template-columns: 1fr;
  }
}

/* Official clinic logo overrides */
.brand {
  min-width: auto;
}

.site-brand-logo {
  width: min(320px, 34vw);
  max-width: 320px;
  height: auto;
  display: block;
}

.footer-logo {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 10px;
  display: block;
}

.footer-logo-img {
  width: min(240px, 100%);
  max-width: 240px;
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .site-brand-logo {
    width: min(250px, 50vw);
  }

  .footer-logo-img {
    max-width: 210px;
  }
}

@media (max-width: 760px) {
  .site-brand-logo {
    width: min(190px, 60vw);
  }

  .footer-logo-img {
    max-width: 180px;
  }
}

/* Header alignment and global footer standardization */
.nav-wrap {
  gap: 14px;
}

.brand {
  flex: 0 0 auto;
  align-items: center;
  margin-right: 8px;
}

.site-brand-logo {
  width: min(240px, 22vw);
  max-width: 240px;
  height: auto;
}

.main-nav {
  margin-left: auto;
}

.site-footer-standard {
  background: #0f2f5f;
  border-top: none;
  margin-top: 0;
  padding: 28px 0 32px;
}

.site-footer-standard .footer-grid {
  color: #d7e5ff;
}

.site-footer-standard .footer-grid h4 {
  color: #ffffff;
}

.site-footer-standard .footer-grid a {
  color: #d7e5ff;
}

.site-footer .footer-logo {
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(216, 230, 255, 0.92) !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  width: fit-content !important;
  display: inline-block !important;
}

.site-footer .footer-logo-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
}

/* About page: practice + gallery */
.practice-learn {
  padding-top: 10px;
}

.practice-learn-card {
  background: #ffffff;
  border: 1px solid #dbe7f8;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.12);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.practice-learn-copy p {
  color: #4a6489;
  max-width: 60ch;
}

.practice-learn-photo {
  border-radius: 16px;
  overflow: hidden;
}

.practice-learn-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-gallery {
  padding-top: 10px;
}

.gallery-intro {
  text-align: center;
}

.about-gallery-track {
  margin-top: 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 30%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.about-gallery-track::-webkit-scrollbar {
  height: 8px;
}

.about-gallery-track::-webkit-scrollbar-thumb {
  background: #c3d6f1;
  border-radius: 999px;
}

.about-gallery-item {
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(20, 57, 110, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.about-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.about-gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(12, 38, 78, 0.2);
  filter: brightness(1.02);
}

@media (max-width: 1080px) {
  .site-brand-logo {
    width: min(215px, 34vw);
  }

  .practice-learn-card {
    grid-template-columns: 1fr;
  }

  .about-gallery-track {
    grid-auto-columns: minmax(260px, 72%);
  }
}

@media (max-width: 760px) {
  .site-brand-logo {
    width: min(180px, 55vw);
  }

  .main-nav {
    margin-left: 0;
  }

  .site-footer .footer-logo-img {
    max-width: 180px;
  }

  .about-gallery-track {
    grid-auto-columns: 88%;
  }

  .about-gallery-item img {
    height: 220px;
  }
}

/* About page fine-tune: balanced practice section + gallery slider + lightbox */
.practice-learn-card {
  grid-template-columns: 1.2fr minmax(260px, 0.8fr);
  align-items: center;
}

.practice-learn-photo {
  justify-self: end;
  width: min(100%, 360px);
}

.practice-learn-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.about-gallery-controls {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.about-gallery-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #c8d8f2;
  background: #ffffff;
  color: #1e4477;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 57, 110, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-gallery-btn:hover {
  transform: translateY(-2px);
  background: #edf4ff;
}

.about-gallery-track {
  margin-top: 14px;
}

.about-gallery-item {
  padding: 14px;
  border: 1px solid #d7e4f7;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 14px 28px rgba(15, 43, 89, 0.08);
  cursor: pointer;
}

.about-gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  border-radius: 12px;
  transition: transform 0.28s ease;
}

.about-gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 90;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-img {
  width: auto;
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  background: #0b2448;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(224, 236, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(224, 236, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .practice-learn-card {
    grid-template-columns: 1fr;
  }

  .practice-learn-photo {
    justify-self: stretch;
    width: 100%;
  }

  .practice-learn-photo img {
    height: 220px;
  }

  .about-gallery-track {
    grid-auto-columns: minmax(240px, 70%);
  }
}

@media (max-width: 760px) {
  .about-gallery-btn {
    width: 36px;
    height: 36px;
  }

  .about-gallery-track {
    grid-auto-columns: 86%;
  }

  .about-gallery-item img {
    height: 200px;
  }

  .gallery-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .gallery-lightbox-prev {
    left: 12px;
  }

  .gallery-lightbox-next {
    right: 12px;
  }
}

/* Home: Why choose us background layout */
.why-hero-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 18px 42px rgba(10, 34, 72, 0.24);
  display: flex;
  align-items: center;
}

.why-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 30, 64, 0.74) 0%, rgba(10, 38, 77, 0.56) 45%, rgba(11, 56, 101, 0.32) 100%);
}

.why-hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 92%);
  margin-left: 34px;
  color: #ffffff;
}

.why-hero-content .section-title,
.why-hero-content .section-subtitle,
.why-hero-content p {
  color: #f2f8ff;
}

.why-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.why-trust-strip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(210, 228, 252, 0.42);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.why-hero-content .support-card {
  position: relative;
  min-height: 100%;
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.11) 100%);
  border: 1px solid rgba(210, 228, 252, 0.46);
  box-shadow: 0 18px 30px rgba(5, 20, 45, 0.18);
  backdrop-filter: blur(12px);
}

.why-hero-content .support-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8cf0d7 0%, #ffffff 100%);
}

.why-hero-content .support-card h3,
.why-hero-content .support-card p {
  color: #ffffff;
}

.stats-showcase {
  padding-top: 12px;
}

.stats-shell {
  background:
    radial-gradient(circle at 10% 18%, rgba(121, 229, 206, 0.2), transparent 22%),
    radial-gradient(circle at 90% 24%, rgba(122, 170, 235, 0.18), transparent 20%),
    linear-gradient(135deg, #f5fbff 0%, #eaf4ff 48%, #eaf8f6 100%);
  border: 1px solid rgba(195, 215, 238, 0.92);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 52px rgba(13, 40, 83, 0.14);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.stat-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 210px;
  padding: 28px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
  border: 1px solid rgba(205, 221, 242, 0.95);
  box-shadow: 0 16px 32px rgba(15, 43, 89, 0.09);
}

.stat-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  filter: saturate(0.95) contrast(1.02);
}

.stat-icon-img {
  max-width: none;
  transform-origin: center;
}

.stat-icon-img-implants {
  width: auto;
  height: 100%;
}

.stat-icon-img-sedation {
  width: auto;
  height: 100%;
}

.stat-icon-img-restoration {
  width: auto;
  height: 100%;
  object-fit: contain;
  transform: scale(1.06) translateY(1px);
}

.stat-label {
  color: #38c4a8;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-number {
  color: #163761;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.5rem, 4.8vw, 3.7rem);
  line-height: 1.05;
  text-shadow: none;
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 0;
  }
}

/* About: learn-more hero style and gallery pager */
.practice-hero-shell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 350px;
  box-shadow: 0 16px 36px rgba(12, 38, 78, 0.2);
  display: flex;
  align-items: center;
}

.practice-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(98deg, rgba(8, 30, 63, 0.72) 0%, rgba(12, 43, 83, 0.45) 54%, rgba(16, 64, 114, 0.22) 100%);
}

.practice-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: min(720px, 90%);
  margin-left: 28px;
}

.practice-hero-content .section-title,
.practice-hero-content p {
  color: #f4f9ff;
}

.about-gallery-slider {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 18px;
}

.about-gallery-pages {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.about-gallery-page {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-gallery-empty {
  border-radius: 16px;
  border: 1px dashed #cbdcf4;
  background: rgba(255, 255, 255, 0.5);
}

.about-gallery-indicators {
  margin-top: 14px;
}

.about-gallery-dot {
  width: 98px;
  height: 4px;
  border-radius: 99px;
  border: 0;
  background: #4f657e;
  opacity: 0.45;
  cursor: pointer;
}

.about-gallery-dot.active {
  background: #3b70bb;
  opacity: 1;
}

@media (max-width: 1080px) {
  .why-hero-shell {
    min-height: 460px;
  }

  .why-hero-content {
    margin-left: 20px;
    width: min(94%, 720px);
  }

  .why-support-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-gallery-empty {
    display: none;
  }
}

@media (max-width: 760px) {
  .why-hero-shell {
    min-height: 560px;
    align-items: flex-end;
  }

  .why-hero-content {
    margin: 0 14px 16px;
    width: calc(100% - 28px);
  }

  .why-trust-strip {
    gap: 8px;
  }

  .why-trust-strip span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .practice-hero-shell {
    min-height: 320px;
    align-items: flex-end;
  }

  .practice-hero-content {
    margin: 0 14px 16px;
    width: calc(100% - 28px);
  }

  .about-gallery-page {
    grid-template-columns: 1fr;
  }
}

/* About collage update across site */
.about-intro-photo {
  background: transparent;
  box-shadow: none;
  min-height: 460px;
  overflow: visible;
}

.about-collage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
}

.about-collage-main {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 96%);
  height: 390px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(10, 34, 72, 0.2);
}

.about-collage-card {
  position: absolute;
  width: min(48%, 240px);
  height: 185px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(10, 34, 72, 0.22);
}

.about-collage-card-left {
  left: 0;
  bottom: -12px;
}

.about-collage-card-right {
  right: 6%;
  bottom: -34px;
}

/* Practice section restyle to match meet-doctor card language */
.practice-learn-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(20, 57, 110, 0.14);
  border: 1px solid #dbe7f8;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.practice-learn-photo {
  border-radius: 18px;
  overflow: hidden;
  min-height: 310px;
}

.practice-learn-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-learn-copy {
  display: grid;
  align-content: center;
}

.practice-learn-copy p {
  color: #4a6489;
  max-width: 58ch;
}

/* About gallery slides maintain 3-per-slide with responsive behavior */
.about-gallery-page {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

@media (max-width: 1080px) {
  .about-intro-photo {
    min-height: 380px;
  }

  .about-collage {
    min-height: 380px;
  }

  .about-collage-main {
    height: 315px;
  }

  .about-collage-card {
    height: 150px;
  }

  .practice-learn-card {
    grid-template-columns: 1fr;
  }

  .practice-learn-photo {
    min-height: 240px;
  }

  .about-gallery-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-intro-photo {
    min-height: 330px;
  }

  .about-collage {
    min-height: 330px;
  }

  .about-collage-main {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 18px;
  }

  .about-collage-card {
    position: absolute;
    width: 42%;
    height: 110px;
    border-radius: 14px;
  }

  .about-collage-card-left {
    left: 4px;
    bottom: -8px;
  }

  .about-collage-card-right {
    right: 4px;
    bottom: -18px;
  }

  .about-gallery-page {
    grid-template-columns: 1fr;
  }

  .about-gallery-item img {
    height: 210px;
  }
}

/* Footer logo alignment fix across site */
.cta-copy .footer-logo,
.footer-grid > div:first-child .footer-logo {
  display: block !important;
  width: fit-content !important;
  margin: 0 0 10px 0 !important;
  padding: 6px 10px !important;
  text-align: left;
}

.cta-copy .footer-logo-img,
.footer-grid > div:first-child .footer-logo-img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.cta-copy {
  text-align: left;
}

@media (max-width: 760px) {
  .cta-copy .footer-logo,
  .footer-grid > div:first-child .footer-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cta-copy .footer-logo-img,
  .footer-grid > div:first-child .footer-logo-img {
    width: 170px;
  }
}

/* Meet the Doctor image sizing fix (home + about) */
.meet-doctor-card .doctor-portrait {
  background: #f3f8ff;
  padding: 14px;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.meet-doctor-card .doctor-portrait-img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}

@media (max-width: 1080px) {
  .meet-doctor-card .doctor-portrait {
    min-height: 250px;
  }

  .meet-doctor-card .doctor-portrait-img {
    max-height: 360px;
  }
}

@media (max-width: 760px) {
  .meet-doctor-card .doctor-portrait {
    min-height: 220px;
    padding: 10px;
  }

  .meet-doctor-card .doctor-portrait-img {
    max-height: 300px;
  }
}

/* Testimonials refresh */
.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(18, 54, 107, 0.16);
  color: #244778;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 20px rgba(20, 57, 110, 0.12);
}

.google-reviews-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.review-stars {
  color: #f5b301;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 10px;
}

.patients-say-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.testimonials-page {
  padding-top: 56px;
}

.testimonials-page-head {
  text-align: center;
  margin-bottom: 26px;
}

.testimonials-page-head .google-reviews-badge {
  margin-top: 8px;
}

.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.testimonials-page .say-card {
  min-height: 100%;
}

@media (max-width: 980px) {
  .patients-say-cards,
  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials carousel (homepage + testimonials page) */
.testimonials-slider {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.testimonials-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonials-page-slider .testimonials-slide {
  gap: 20px;
}

.testimonials-slide .say-card {
  margin: 0;
  height: 100%;
}

.testimonials-indicators {
  margin-top: 18px;
}

.testimonials-page .testimonials-indicators {
  justify-content: center;
}

@media (max-width: 1100px) {
  .testimonials-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .testimonials-slide {
    grid-template-columns: 1fr;
  }
}

/* About team section */
.team-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.team-card {
  position: relative;
  min-height: 225px;
  aspect-ratio: 4 / 4.25;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(20, 57, 110, 0.14);
  background: linear-gradient(160deg, #d7e4f7 0%, #b8cae8 100%);
}

.team-card-image {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.42), transparent 40%),
    linear-gradient(155deg, #c2d3ea 0%, #9db6da 100%);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  transform: scale(1.02);
  transform-origin: center top;
  filter: saturate(1.02) contrast(1.02);
}

.team-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 10px 10px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(8, 24, 53, 0.02) 0%, rgba(8, 24, 53, 0.56) 46%, rgba(8, 24, 53, 0.94) 100%);
}

.team-card-overlay h3 {
  margin: 0 0 4px;
  font-size: 0.86rem;
  color: #ffffff;
}

.team-card-overlay p {
  margin: 0;
  color: #d3e3ff;
  font-weight: 600;
  line-height: 1.35;
  font-size: 0.76rem;
}

.team-card-overlay .team-years {
  margin-top: 4px;
  color: #7de1ca;
  font-size: 0.72rem;
}

.team-card:nth-child(1) .team-card-image img {
  object-position: center 16%;
}

.team-card:nth-child(2) .team-card-image img {
  object-position: center 14%;
}

.team-card:nth-child(3) .team-card-image img {
  object-position: center 12%;
}

.team-card:nth-child(5) .team-card-image img {
  object-position: center 14%;
}

.team-card:nth-child(7) .team-card-image img {
  object-position: center 16%;
}

@media (max-width: 1120px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card {
    min-height: 210px;
  }
}

/* Oral surgery parent block refresh */
.procedure-parent-card {
  gap: 22px;
  background:
    linear-gradient(115deg, rgba(13, 58, 127, 0.95) 0%, rgba(16, 77, 140, 0.9) 55%, rgba(24, 138, 138, 0.88) 100%),
    radial-gradient(circle at 15% 20%, rgba(129, 225, 204, 0.3), transparent 42%);
  border: 1px solid rgba(149, 204, 244, 0.36);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 16px 34px rgba(10, 38, 84, 0.26);
}

.procedure-parent-card .eyebrow {
  color: #9cf0d6;
  margin-bottom: 6px;
}

.procedure-parent-card h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.procedure-parent-card p {
  color: #d8e8ff;
}

.procedure-parent-copy {
  max-width: 76ch;
}

.procedure-parent-media {
  width: min(280px, 100%);
  height: 180px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(8, 31, 70, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.procedure-parent-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedure-parent-media-portrait img {
  object-position: 42% 28%;
  transform: scale(1.04);
}

.procedure-parent-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 230px;
}

.procedure-parent-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #30cba9, #27b99b);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(43, 188, 157, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.procedure-parent-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(43, 188, 157, 0.42);
}

.procedure-parent-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(235, 246, 255, 0.75);
  color: #eef6ff;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.procedure-parent-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 980px) {
  .procedure-parent-card {
    padding: 18px;
  }

  .procedure-parent-actions {
    width: 100%;
    min-width: 0;
  }

  .procedure-parent-media {
    width: 100%;
    height: 220px;
  }
}

.procedure-consult-card {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 22px;
  border: 1px solid #dbe7f8;
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  box-shadow: 0 16px 34px rgba(16, 45, 90, 0.1);
}

.procedure-consult-card h2 {
  margin-bottom: 8px;
}

.procedure-consult-card p {
  max-width: 72ch;
}

/* Dental implants page visual refinement */
.procedure-wrap .implant-section {
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.procedure-wrap .implant-section h2 {
  margin: 0 0 14px;
  position: relative;
  padding-left: 14px;
}

.procedure-wrap .implant-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2abfa0 0%, #2b7fc0 100%);
}

.procedure-wrap .implant-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  align-items: start;
  border: 1px solid #d7e6fb;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 48, 95, 0.12);
}

.procedure-wrap .implant-split > div:first-child {
  padding: 24px 26px;
}

.procedure-wrap .implant-section p {
  margin-top: 0;
  margin-bottom: 12px;
}

.procedure-wrap .implant-section h3 {
  margin-top: 16px;
  margin-bottom: 6px;
}

.procedure-wrap .implant-media {
  margin: 0;
  height: 320px;
  border-radius: 0;
  box-shadow: none;
  background: #dbe8fb;
}

.procedure-wrap .implant-media img,
.procedure-wrap .implant-hero-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.procedure-wrap .implant-section-intro .implant-media {
  height: 300px;
}

@media (max-width: 1100px) {
  .procedure-wrap .implant-split {
    grid-template-columns: 1fr;
  }

  .procedure-wrap .implant-split > div:first-child {
    padding: 20px;
  }

  .procedure-wrap .implant-media {
    height: 240px;
  }
}

/* Dental implants alternating split layout */
.implants-page .procedure-wrap {
  padding: 28px;
}

.implants-page .implant-section {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

.implants-page .implant-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.22rem, 2vw, 1.56rem);
}

.implants-page .implant-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.implants-page .implant-copy-card {
  padding: 24px 26px;
  border-radius: 22px;
  border: 1px solid #d7e4f7;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 28px rgba(15, 43, 89, 0.1);
}

.implants-page .implant-split-reverse {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.implants-page .implant-split-reverse > div:first-child {
  order: 2;
}

.implants-page .implant-split-reverse .implant-media {
  order: 1;
}

.implants-page .implant-media {
  height: clamp(240px, 30vw, 320px);
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(15, 43, 89, 0.14);
  background: linear-gradient(180deg, #f8fbff 0%, #e6f0ff 100%);
  padding: 14px;
}

.implants-page .implant-media img,
.implants-page .implant-hero-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;
  box-shadow: none;
  background: #ffffff;
}

.implants-page .implant-section-alt .implant-copy-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.implants-page .implant-section-soft .implant-copy-card {
  background: linear-gradient(180deg, #fdfefe 0%, #f0f7ff 100%);
}

.implants-page .implant-section-alt .implant-media-card {
  transform: translateY(10px);
}

.implants-page .implant-section-soft .implant-media-card {
  transform: translateY(-10px);
}

.implants-page .implant-section h3 {
  margin-top: 14px;
  margin-bottom: 5px;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

@media (max-width: 1080px) {
  .implants-page .procedure-wrap {
    padding: 20px;
  }

  .implants-page .implant-split,
  .implants-page .implant-split-reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .implants-page .implant-split-reverse > div:first-child,
  .implants-page .implant-split-reverse .implant-media {
    order: initial;
  }

  .implants-page .implant-copy-card {
    padding: 18px;
  }

  .implants-page .implant-media {
    height: 240px;
  }

  .implants-page .implant-section-alt .implant-media-card,
  .implants-page .implant-section-soft .implant-media-card {
    transform: none;
  }
}

/* Dental implants page readability and spacing refinement */
.implants-page .container {
  width: min(1480px, 94%);
}

.implants-page .procedure-wrap {
  padding: 6px 0 0;
  background: transparent;
  box-shadow: none;
}

.implants-page h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.implants-page .eyebrow {
  margin-bottom: 12px;
}

.implants-page .implant-kicker {
  margin: 0 0 14px;
  color: #1c7f94;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.implants-page .implant-section {
  margin-top: 34px;
}

.implants-page .implant-section + .implant-section {
  margin-top: 48px;
}

.implants-page .implant-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.implants-page .implant-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.implants-page .implant-split-reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.implants-page .implant-hero-split {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: stretch;
}

.implants-page .implant-copy-card {
  padding: 32px 34px;
  border-radius: 26px;
  border: 1px solid rgba(204, 220, 243, 0.95);
  box-shadow: 0 18px 42px rgba(15, 43, 89, 0.1);
}

.implants-page .implant-copy-card p {
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.implants-page .implant-hero-copy {
  background:
    radial-gradient(circle at top left, rgba(72, 202, 176, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.implants-page .implant-hero-actions {
  margin-top: 20px;
}

.implants-page .implant-section h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.implants-page .implant-media {
  height: clamp(300px, 34vw, 410px);
  padding: 18px;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(15, 43, 89, 0.16);
}

.implants-page .implant-media img,
.implants-page .implant-hero-image {
  border-radius: 22px;
}

.implants-page .implant-section-intro .implant-media {
  height: clamp(340px, 36vw, 460px);
  background:
    linear-gradient(180deg, #edf9ff 0%, #dbefff 100%);
}

.implants-page .implant-section-alt .implant-media-card {
  transform: translateY(18px);
}

.implants-page .implant-section-soft .implant-media-card {
  transform: translateY(-18px);
}

@media (max-width: 1200px) {
  .implants-page .implant-copy-card {
    padding: 26px 26px;
  }

  .implants-page .implant-copy-card p {
    font-size: 1rem;
  }
}

@media (max-width: 1080px) {
  .implants-page .container {
    width: min(1180px, 92%);
  }

  .implants-page .implant-hero-split,
  .implants-page .implant-split,
  .implants-page .implant-split-reverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .implants-page .implant-media {
    height: 280px;
    padding: 14px;
  }
}

/* April 2026 cleanup: footer, CTA logo, about page, homepage stats */
.site-footer-standard,
.site-footer-merged {
  padding: 44px 0 54px;
}

.site-footer-standard .footer-grid,
.site-footer-merged .footer-grid {
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: 26px;
  align-items: start;
}

.footer-grid h4 {
  margin-bottom: 12px;
}

.footer-grid p {
  margin: 0 0 10px;
}

.footer-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(179, 207, 245, 0.28);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-section-link:hover,
.footer-grid a:hover {
  color: #93f0d6;
}

.footer-link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(179, 207, 245, 0.28);
  color: #eef6ff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-link-pill:hover {
  transform: translateY(-1px);
  background: rgba(29, 176, 143, 0.18);
  color: #ffffff;
}

.cta-panel {
  padding-top: 72px;
  padding-bottom: 70px;
}

.cta-copy {
  max-width: 560px;
}

.cta-copy .cta-logo-card {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(218, 231, 255, 0.94) !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  box-shadow: 0 14px 28px rgba(7, 24, 49, 0.16);
}

.cta-copy .cta-logo-card .footer-logo-img {
  width: 210px;
  max-width: 100%;
}

.practice-learn-card {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  padding: 26px;
}

.practice-learn-photo {
  min-height: 360px;
}

.practice-learn-copy {
  gap: 12px;
}

.practice-learn-copy .section-title {
  margin-bottom: 4px;
}

.practice-learn-copy p {
  margin: 0;
  color: #496586;
  font-size: 1rem;
  line-height: 1.78;
  max-width: 62ch;
}

.team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.team-card {
  min-height: 186px;
  aspect-ratio: 4 / 3.55;
  border-radius: 16px;
}

.team-card-overlay {
  padding: 10px 9px 9px;
}

.team-card-overlay h3 {
  font-size: 0.8rem;
}

.team-card-overlay p {
  font-size: 0.71rem;
}

.team-card-overlay .team-years {
  font-size: 0.68rem;
}


@media (max-width: 1180px) {
  .site-footer-standard .footer-grid,
  .site-footer-merged .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .practice-learn-card {
    grid-template-columns: 1fr;
  }

  .practice-learn-photo {
    min-height: 260px;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-footer-standard,
  .site-footer-merged {
    padding: 34px 0 40px;
  }

  .site-footer-standard .footer-grid,
  .site-footer-merged .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card {
    min-height: 174px;
  }
}




/* Footer text-link refinement and payment Cherry logo balancing */
.footer-grid h4 {
  display: flex;
  align-items: center;
}

.cherry-wrap {
  max-width: 390px;
  padding: 22px 22px 20px;
  gap: 14px;
}

.cherry-logo-img {
  width: auto;
  max-width: 172px;
  max-height: 42px;
  margin: 2px auto 4px;
}

.cherry-wrap img:last-of-type {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .cherry-logo-img {
    max-width: 156px;
    max-height: 38px;
  }
}

/* Final footer link simplification override */
.footer-section-link {
  display: inline !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.footer-link-pills {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.footer-link-pill {
  display: inline !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d7e5ff !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  transform: none !important;
}

.footer-link-pill:hover,
.footer-section-link:hover,
.footer-grid a:hover {
  color: #93f0d6 !important;
  background: transparent !important;
}

/* Cherry logo clipping fix */
.cherry-wrap {
  overflow: visible;
}

.cherry-logo-img {
  display: block;
  width: min(100%, 250px) !important;
  max-width: 250px !important;
  max-height: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 4px auto 8px !important;
}

@media (max-width: 760px) {
  .cherry-logo-img {
    width: min(100%, 210px) !important;
    max-width: 210px !important;
  }
}

/* Cherry card size refinement */
.cherry-wrap {
  max-width: 340px !important;
  padding: 18px 18px 16px !important;
  gap: 10px !important;
}

.cherry-logo-img {
  width: min(100%, 220px) !important;
  max-width: 220px !important;
  margin: 2px auto 6px !important;
}

.cherry-wrap img:last-of-type {
  max-width: 252px !important;
}

@media (max-width: 760px) {
  .cherry-wrap {
    max-width: 320px !important;
    padding: 16px !important;
  }

  .cherry-logo-img {
    width: min(100%, 198px) !important;
    max-width: 198px !important;
  }

  .cherry-wrap img:last-of-type {
    max-width: 236px !important;
  }
}

/* Cherry card overall size reduction */
.cherry-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.cherry-wrap {
  max-width: 300px !important;
  padding: 14px 14px 12px !important;
  gap: 8px !important;
  border-radius: 16px !important;
}

.cherry-logo-img {
  width: min(100%, 190px) !important;
  max-width: 190px !important;
  margin: 0 auto 4px !important;
}

.cherry-wrap img:last-of-type {
  max-width: 220px !important;
  border-radius: 12px !important;
}

.cherry-wrap .btn.btn-sm {
  padding: 8px 14px !important;
  font-size: 0.84rem !important;
}

@media (max-width: 760px) {
  .cherry-wrap {
    max-width: 286px !important;
    padding: 12px !important;
  }

  .cherry-logo-img {
    width: min(100%, 176px) !important;
    max-width: 176px !important;
  }

  .cherry-wrap img:last-of-type {
    max-width: 208px !important;
  }
}

/* Final Cherry card fit-to-content sizing */
.cherry-section .container {
  display: flex;
  justify-content: center;
}

.cherry-wrap {
  display: inline-grid !important;
  width: fit-content !important;
  max-width: none !important;
  justify-items: center !important;
  justify-self: center !important;
  padding: 14px !important;
}

.cherry-logo-img {
  width: 190px !important;
  max-width: 190px !important;
}

.cherry-wrap img:last-of-type {
  width: 220px !important;
  max-width: 220px !important;
}

@media (max-width: 760px) {
  .cherry-wrap {
    padding: 12px !important;
  }

  .cherry-logo-img {
    width: 176px !important;
    max-width: 176px !important;
  }

  .cherry-wrap img:last-of-type {
    width: 208px !important;
    max-width: 208px !important;
  }
}

/* Cherry card centering adjustment */
.cherry-section {
  display: flex;
  justify-content: center;
}

.cherry-section .container {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
}

.cherry-wrap {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Cherry card vertical layout */
.cherry-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.cherry-wrap > * {
  width: auto;
}

/* Homepage testimonials decorative mark removal */
.patients-quote-mark {
  display: none !important;
}

/* Header nav centering adjustment */
@media (min-width: 761px) {
  .nav-wrap {
    justify-content: flex-start;
  }

  .main-nav {
    flex: 1 1 auto;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-wrap > .btn-sm {
    flex-shrink: 0;
    margin-left: 12px;
  }
}

/* About gallery thumbnail full-image fit override */
.about-gallery-item img {
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff;
}

/* About gallery larger thumbnails */
.about-gallery-item {
  padding: 16px !important;
}

.about-gallery-item img {
  height: 280px !important;
}

@media (max-width: 1080px) {
  .about-gallery-item img {
    height: 250px !important;
  }
}

@media (max-width: 760px) {
  .about-gallery-item img {
    height: 220px !important;
  }
}

/* Footer social links */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(175, 201, 240, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  box-shadow: 0 10px 18px rgba(6, 17, 38, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-link:hover {
  transform: translateY(-2px) !important;
  background: rgba(29, 176, 143, 0.18) !important;
  border-color: rgba(125, 225, 202, 0.48) !important;
  color: #9df1da !important;
}

@media (max-width: 700px) {
  .footer-socials {
    margin-top: 12px;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
  }
}

/* Footer socials redesign */
.footer-socials {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(151, 183, 227, 0.28) !important;
  box-shadow: 0 10px 20px rgba(4, 15, 36, 0.16) !important;
}

.footer-social-link {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f4f8ff !important;
  text-decoration: none !important;
  transform: none !important;
}

.footer-social-link span {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-social-link svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social-link:hover {
  color: #9df1da !important;
}

/* Footer socials simplified separate links */
.footer-socials {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-social-link {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0b0f18 !important;
  text-decoration: none !important;
}

.footer-social-link span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #eaf2ff;
}

.footer-social-link svg {
  width: 16px !important;
  height: 16px !important;
  color: #0b0f18 !important;
  fill: currentColor !important;
}

.footer-social-link:hover {
  color: #ffffff !important;
}

.footer-social-link:hover span {
  color: #9df1da !important;
}

.footer-social-link:hover svg {
  color: #9df1da !important;
}

/* Footer social icon visibility boost */
.footer-social-link svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

.footer-social-link:hover svg {
  color: #9df1da !important;
}

/* Footer social column alignment */
.site-footer-standard .footer-grid,
.site-footer-merged .footer-grid {
  grid-template-columns: minmax(220px, 1.25fr) repeat(4, minmax(140px, 1fr)) !important;
  align-items: start !important;
}

.footer-socials {
  margin-top: 6px !important;
}

.footer-social-link span {
  color: #eaf2ff !important;
}

@media (max-width: 1180px) {
  .site-footer-standard .footer-grid,
  .site-footer-merged .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .site-footer-standard .footer-grid,
  .site-footer-merged .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .site-footer-standard .footer-grid,
  .site-footer-merged .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Header action updates */
.header-action-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-call-btn {
  background: linear-gradient(135deg, #30cba9, #27b99b);
  color: #ffffff;
}

.header-call-btn:hover {
  box-shadow: 0 10px 24px rgba(43, 188, 157, 0.3);
}

/* Reviews CTA */
.reviews-cta {
  margin-top: 14px;
  width: fit-content;
}

.testimonials-page-head .reviews-cta {
  margin-top: 16px;
}

/* Insurance plans refresh */
.insurance-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insurance-grid li {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid #d7e5f8;
  box-shadow: 0 14px 28px rgba(17, 48, 95, 0.08);
  color: #1f456f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.insurance-grid li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(135deg, #2dc8a7, #2d74b8);
  box-shadow: 0 8px 18px rgba(40, 127, 182, 0.22);
}

.insurance-grid li::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-62%) rotate(45deg);
}

@media (max-width: 1080px) {
  .header-action-group {
    display: none;
  }

  .insurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .insurance-grid li {
    min-height: 82px;
    padding: 16px 16px 16px 48px;
    font-size: 0.96rem;
  }
}

/* Header and testimonial CTA polish */
.header-action-group {
  margin-left: 12px;
}

.patients-say-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonials-page-head {
  display: grid;
  justify-items: center;
}

@media (max-width: 760px) {
  .header-action-group {
    display: none;
  }
}

/* Blog page */
.blog-hero-shell {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 54%, #f4fbff 100%);
  border: 1px solid #d8e6f8;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 16px 34px rgba(16, 45, 90, 0.1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #d8e6f8;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 30px rgba(17, 48, 95, 0.1);
}

.blog-card-image {
  border-radius: 18px;
  overflow: hidden;
  min-height: 250px;
  background: #e7f1ff;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.blog-card-copy .eyebrow {
  margin-bottom: 0;
}

.blog-card-copy h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: #14335e;
}

.blog-card-copy p:not(.eyebrow) {
  margin: 0;
  color: #4a6489;
}

@media (max-width: 1080px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .blog-hero-shell {
    padding: 24px;
  }

  .blog-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .blog-card-image {
    min-height: 220px;
  }
}

/* Navbar interaction polish */
.main-nav a,
.main-nav .dropdown-label,
.main-nav .dropdown-trigger {
  transition: color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.main-nav a:hover,
.main-nav .dropdown-label:hover,
.main-nav .dropdown-trigger:hover {
  color: #1db08f;
  transform: translateY(-2px);
}

.main-nav .nav-dropdown:hover .dropdown-label,
.main-nav .nav-dropdown:hover .dropdown-trigger {
  color: #1db08f;
}

.dropdown-menu a {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a:hover {
  color: #1db08f;
  background: rgba(29, 176, 143, 0.08);
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .main-nav a:hover,
  .main-nav .dropdown-label:hover,
  .main-nav .dropdown-trigger:hover,
  .dropdown-menu a:hover {
    transform: none;
  }
}

/* Final mobile optimization layer */
@media (max-width: 1080px) {
  .container {
    width: min(100% - 32px, 1100px) !important;
  }

  .hero-video-content,
  .practice-hero-content,
  .why-hero-content,
  .procedure-wrap,
  .payment-intro-wrap,
  .blog-hero-shell,
  .visit-card,
  .map-slot,
  .stats-shell,
  .finance-card,
  .accepted-wrap,
  .practice-learn-card,
  .meet-doctor-card,
  .procedure-parent-card,
  .cta-panel .container,
  .appointment-form,
  .contact-form {
    padding-left: clamp(20px, 3vw, 28px) !important;
    padding-right: clamp(20px, 3vw, 28px) !important;
  }

  .hero-actions,
  .visit-actions,
  .implant-hero-actions,
  .procedure-parent-actions {
    flex-wrap: wrap;
  }

  .about-intro-grid,
  .visit-grid,
  .cta-grid,
  .practice-learn-card,
  .meet-doctor-card,
  .patients-say-layout,
  .blog-card,
  .payment-grid,
  .contact-grid,
  .procedure-parent-card,
  .oral-surgery-intro-panel,
  .implants-page .implant-hero-split,
  .implants-page .implant-split,
  .implants-page .implant-split-reverse {
    grid-template-columns: 1fr !important;
  }

  .doctor-portrait,
  .practice-learn-photo,
  .procedure-parent-media,
  .map-slot,
  .implant-media,
  .oral-surgery-media,
  .blog-card-image {
    max-width: 100%;
  }

  .hero-video-shell,
  .why-hero-shell,
  .practice-hero-shell {
    min-height: 0 !important;
  }

  .testimonials-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 24px, 720px) !important;
  }

  .section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .site-header {
    background: rgba(245, 250, 255, 0.97);
  }

  .nav-wrap {
    position: relative;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: auto !important;
    padding: 12px 0 14px !important;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-brand-logo {
    width: auto !important;
    max-width: min(54vw, 210px) !important;
    height: auto !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(18, 55, 103, 0.12);
    box-shadow: 0 10px 22px rgba(16, 48, 94, 0.08);
    font-weight: 700;
  }

  .main-nav {
    position: absolute !important;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    margin: 0 12px;
    padding: 16px !important;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(19, 58, 108, 0.1);
    box-shadow: 0 22px 46px rgba(12, 36, 74, 0.16);
    gap: 8px !important;
    transform: translateY(-8px) scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transition: transform 0.24s ease, opacity 0.24s ease !important;
  }

  .main-nav.open {
    transform: translateY(0) scaleY(1) !important;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a,
  .main-nav .dropdown-label,
  .main-nav .dropdown-trigger {
    min-height: 46px;
  }

  .main-nav a,
  .dropdown-link-group {
    padding: 0 4px;
  }

  .main-nav .dropdown-link-group {
    justify-content: space-between;
    align-items: center;
  }

  .main-nav .dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin-top: 8px;
    border-radius: 16px;
    box-shadow: none !important;
    border: 1px solid rgba(19, 58, 108, 0.08);
    background: #f8fbff;
  }

  .header-action-group {
    display: grid !important;
    order: 4;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 2px 0 0 !important;
  }

  .header-action-group .btn {
    width: 100%;
    text-align: center;
    padding: 11px 14px;
    font-size: 0.87rem;
  }

  .hero {
    padding-top: 24px !important;
    padding-bottom: 34px !important;
  }

  .hero-video-shell,
  .blog-hero-shell,
  .payment-intro-wrap,
  .stats-shell,
  .procedure-wrap,
  .visit-card,
  .map-slot,
  .practice-learn-card,
  .meet-doctor-card,
  .procedure-parent-card,
  .finance-card,
  .accepted-wrap,
  .cta-grid > *,
  .oral-surgery-intro-panel,
  .implants-page .implant-section,
  .why-hero-content,
  .practice-hero-content {
    border-radius: 22px !important;
  }

  .hero-video-shell {
    min-height: 560px !important;
    overflow: hidden;
  }

  .hero-video-content,
  .why-hero-content,
  .practice-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 26px 22px !important;
  }

  .hero-video-content h1,
  .practice-hero-content .section-title,
  .why-hero-content .section-title,
  .payment-intro-wrap .section-title,
  .procedure-wrap h1 {
    font-size: clamp(1.95rem, 9vw, 2.6rem) !important;
    line-height: 1.12;
  }

  .hero-video-content .lead,
  .procedure-wrap p,
  .practice-learn-copy p,
  .meet-doctor-copy p,
  .say-card p,
  .finance-card p,
  .visit-text,
  .footer-grid p,
  .footer-grid a {
    font-size: 0.98rem !important;
    line-height: 1.72 !important;
  }

  .hero-actions,
  .visit-actions,
  .implant-hero-actions,
  .procedure-parent-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px !important;
  }

  .hero-actions .btn,
  .visit-actions .btn,
  .implant-hero-actions .btn,
  .procedure-parent-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .about-intro-grid {
    gap: 24px !important;
  }

  .about-collage {
    min-height: 360px !important;
  }

  .about-collage-main {
    width: 100% !important;
    height: 280px !important;
  }

  .about-collage-card {
    width: 42% !important;
    height: 150px !important;
  }

  .procedure-parent-card {
    gap: 18px !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }

  .procedure-parent-media {
    min-height: 240px !important;
  }

  .procedure-spotlight-grid,
  .blog-grid,
  .payment-grid,
  .insurance-grid,
  .support-grid,
  .why-support-grid,
  .stats-grid,
  .before-after-grid,
  .zirconia-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .procedure-tile,
  .ba-case,
  .say-card,
  .team-card,
  .finance-card,
  .insurance-grid li {
    border-radius: 20px !important;
  }

  .procedure-tile {
    min-height: 250px !important;
  }

  .procedure-tile-content {
    padding: 20px !important;
  }

  .meet-doctor-card,
  .practice-learn-card,
  .oral-surgery-intro-panel,
  .implants-page .implant-section,
  .visit-grid,
  .cta-grid {
    gap: 20px !important;
  }

  .doctor-portrait,
  .practice-learn-photo,
  .oral-surgery-media,
  .implant-media,
  .procedure-media,
  .blog-card-image {
    min-height: 230px !important;
  }

  .doctor-portrait img,
  .practice-learn-photo img,
  .oral-surgery-media img,
  .implant-media img,
  .procedure-media img,
  .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .patients-say-layout {
    gap: 18px !important;
  }

  .patients-say-intro {
    align-items: flex-start !important;
    gap: 12px;
  }

  .patients-quote-mark {
    display: none !important;
  }

  .testimonials-slider {
    overflow: hidden;
  }

  .testimonials-slide {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .say-card {
    padding: 20px 18px !important;
    min-height: 0 !important;
  }

  .ba-compare {
    min-height: 280px !important;
  }

  .why-hero-shell,
  .practice-hero-shell {
    min-height: 0 !important;
  }

  .support-card,
  .stat-card {
    min-height: 0 !important;
  }

  .stat-card {
    padding: 24px 20px !important;
  }

  .stat-icon {
    width: 58px !important;
    height: 58px !important;
  }

  .stat-label {
    font-size: 0.94rem !important;
    line-height: 1.4;
  }

  .stat-number {
    font-size: clamp(2.2rem, 10vw, 3rem) !important;
  }

  .visit-card,
  .map-slot {
    min-height: 0 !important;
  }

  .map-inner,
  .map-inner iframe {
    min-height: 320px !important;
    height: 320px !important;
  }

  .cta-grid {
    gap: 18px !important;
  }

  .cta-copy {
    padding-right: 0 !important;
  }

  .appointment-form,
  .appointment-embed {
    padding: 18px !important;
  }

  .appointment-embed iframe,
  .appointment-embed > div,
  .appointment-embed form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .payment-intro-wrap,
  .finance-card,
  .accepted-wrap {
    text-align: left;
  }

  .finance-logo-img,
  .cherry-logo-img,
  .va-approved img,
  .accepted-grid img {
    max-width: 100% !important;
    height: auto !important;
  }

  .cherry-wrap {
    width: min(100%, 340px) !important;
    margin-inline: auto !important;
  }

  .insurance-grid li {
    min-height: 0 !important;
  }

  .about-gallery-page {
    grid-template-columns: 1fr !important;
  }

  .about-gallery-item img {
    height: 260px !important;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .team-card {
    min-height: 220px !important;
  }

  .team-card-overlay {
    padding: 14px 12px !important;
  }

  .team-card-overlay h3 {
    font-size: 0.95rem !important;
  }

  .team-card-overlay p,
  .team-card-overlay .team-years {
    font-size: 0.8rem !important;
  }

  .site-footer-standard .footer-grid,
  .site-footer-merged .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .footer-grid {
    padding-top: 8px;
  }

  .footer-grid > div {
    padding-right: 0 !important;
  }

  .footer-socials {
    align-items: flex-start !important;
  }
}

@media (max-width: 560px) {
  .header-action-group,
  .hero-actions,
  .visit-actions {
    grid-template-columns: 1fr !important;
  }

  .hero-video-shell {
    min-height: 520px !important;
  }

  .site-brand-logo {
    max-width: 170px !important;
  }

  .about-collage {
    min-height: 320px !important;
  }

  .about-collage-main {
    height: 240px !important;
  }

  .about-collage-card {
    height: 128px !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
  }

  .map-inner,
  .map-inner iframe {
    min-height: 280px !important;
    height: 280px !important;
  }

  .about-gallery-item img {
    height: 220px !important;
  }

  .zirconia-showcase {
    padding: 18px !important;
  }

  .zirconia-card img {
    height: 240px !important;
  }
}

/* Final Meet the Doctor refresh */
.meet-doctor-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 30px !important;
  align-items: center !important;
  padding: 28px !important;
  border: 1px solid rgba(214, 228, 245, 0.96);
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top left, rgba(117, 210, 190, 0.12), transparent 34%),
    linear-gradient(135deg, #f9fcff 0%, #eef6ff 56%, #fbfdff 100%);
  box-shadow: 0 22px 44px rgba(16, 46, 90, 0.12) !important;
}

.meet-doctor-card .doctor-portrait {
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  box-shadow: none !important;
}

.meet-doctor-card .doctor-portrait-img {
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: 0 18px 36px rgba(17, 47, 93, 0.14);
  border: 8px solid rgba(255, 255, 255, 0.9);
}

.meet-doctor-card .meet-doctor-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 6px 2px 6px 4px !important;
}

.meet-doctor-copy .section-title {
  margin-bottom: 2px;
}

.meet-doctor-copy h3 {
  margin: 0 !important;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.meet-doctor-copy .doctor-role {
  margin: 0 0 6px;
  color: #1a7d92;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.meet-doctor-copy p {
  margin: 0;
  line-height: 1.78;
}

@media (max-width: 1080px) {
  .meet-doctor-card {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 24px !important;
  }

  .meet-doctor-card .doctor-portrait {
    min-height: 0 !important;
  }
}

@media (max-width: 760px) {
  .meet-doctor-card {
    padding: 20px !important;
    gap: 18px !important;
  }

  .meet-doctor-card .doctor-portrait {
    min-height: 0 !important;
  }

  .meet-doctor-card .doctor-portrait-img {
    width: min(100%, 320px);
    object-position: center center !important;
  }

  .meet-doctor-copy h3 {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }
}

/* Final doctor + team + homepage reviews refresh */
.meet-doctor-card {
  overflow: visible !important;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr) !important;
  gap: 34px !important;
  align-items: center !important;
  padding: 34px !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 14% 18%, rgba(115, 211, 188, 0.16), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #edf5ff 54%, #fbfdff 100%) !important;
}

.meet-doctor-card .doctor-portrait {
  position: relative;
  min-height: 0 !important;
  align-self: center;
}

.meet-doctor-card .doctor-portrait::before {
  content: "";
  position: absolute;
  inset: 8% 8% 10% 8%;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(233, 244, 255, 0.78));
  box-shadow: 0 22px 40px rgba(17, 47, 93, 0.08);
}

.meet-doctor-card .doctor-portrait-img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  aspect-ratio: auto;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.meet-doctor-card .meet-doctor-copy {
  gap: 14px;
  padding: 18px 20px 18px 0 !important;
}

.meet-doctor-copy .section-title {
  margin-bottom: 0;
}

.meet-doctor-copy h3 {
  color: #16345e;
}

.meet-doctor-copy .doctor-role {
  color: #2a9b92;
}

.meet-doctor-copy p {
  max-width: 58ch;
}

.patients-say-layout {
  gap: 26px !important;
}

.patients-say-layout > * {
  min-width: 0;
}

.patients-say-content {
  min-width: 0;
}

.patients-say-intro {
  padding-top: 6px;
}

.patients-say-intro .main-section-title {
  max-width: none;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  text-transform: none;
  color: #173a68;
}

.testimonials-slider {
  overflow: hidden !important;
  border-radius: 28px;
}

.testimonials-track {
  width: 100%;
}

.testimonials-slide {
  gap: 22px;
  align-items: stretch;
}

.say-card {
  position: relative;
  min-height: 100%;
  min-width: 0;
  padding: 26px 28px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(227, 233, 241, 0.9);
  box-shadow: 0 18px 32px rgba(16, 46, 90, 0.08);
  overflow: hidden;
}

.testimonials-slide .say-card:nth-child(3n + 1),
.testimonials-page-slider .testimonials-slide .say-card:nth-child(3n + 1) {
  background: linear-gradient(135deg, #dcecf7 0%, #c9e0f0 100%);
  border-top-left-radius: 18px !important;
  border-bottom-right-radius: 36px !important;
}

.testimonials-slide .say-card:nth-child(3n + 2),
.testimonials-page-slider .testimonials-slide .say-card:nth-child(3n + 2) {
  background: linear-gradient(135deg, #faf7ef 0%, #f6f1e6 100%);
  border-top-right-radius: 72px !important;
}

.testimonials-slide .say-card:nth-child(3n),
.testimonials-page-slider .testimonials-slide .say-card:nth-child(3n) {
  background: linear-gradient(135deg, #fbf0e4 0%, #f6e8d8 100%);
  border-bottom-left-radius: 18px !important;
  border-bottom-right-radius: 42px !important;
}

.say-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.45), transparent 22%),
    radial-gradient(circle at 82% 80%, rgba(255, 255, 255, 0.24), transparent 18%);
  opacity: 0.9;
  pointer-events: none;
}

.say-card > * {
  position: relative;
  z-index: 1;
}

.review-stars {
  color: #111111;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.say-card p {
  font-family: "Libre Baskerville", serif;
  color: #111111;
  font-size: 1.1rem;
  line-height: 1.65;
}

.say-card cite {
  display: inline-block;
  margin-top: 18px;
  color: #111111;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.team-card {
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.team-card-image {
  position: relative !important;
  inset: auto !important;
  aspect-ratio: 0.92 / 0.98;
  border-radius: 0 !important;
  overflow: hidden;
  background: linear-gradient(145deg, #f7fbff 0%, #edf4fb 100%);
  box-shadow: 0 18px 34px rgba(17, 47, 93, 0.09);
}

.team-card-image img {
  object-fit: cover;
  object-position: center top;
}

.team-card-placeholder .team-card-image {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(127, 152, 184, 0.62);
  background: linear-gradient(145deg, #f4f8fd 0%, #ebf2fb 100%);
}

.team-card-placeholder .team-card-image span {
  color: #56779e;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.team-card-details {
  padding: 14px 4px 0;
  text-align: center;
}

.team-card-details h3 {
  margin: 0;
  color: #183761;
  font-family: "Manrope", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.team-card-details p {
  margin: 8px 0 0;
  color: #22304a;
  font-size: 0.95rem;
}

.team-card-details .team-years {
  color: #6a7f9b;
  font-size: 0.86rem;
}

@media (max-width: 1180px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .meet-doctor-card {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 26px !important;
  }

  .meet-doctor-card .doctor-portrait::before {
    inset: 8% 12%;
  }

  .meet-doctor-card .meet-doctor-copy {
    padding: 0 !important;
  }

  .patients-say-layout {
    grid-template-columns: 1fr !important;
  }

  .patients-say-intro .main-section-title {
    font-size: clamp(1.9rem, 5vw, 2.5rem);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-slider-shell {
    padding: 0 64px;
  }

  .team-profile-slide {
    grid-template-columns: 1fr;
  }

  .team-profile-media {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .say-card {
    padding: 22px 20px !important;
  }

  .say-card p {
    font-size: 1rem;
  }

  .team-grid {
    gap: 18px !important;
  }

  .meet-doctor-actions .btn {
    width: 100%;
  }

  .team-slider-shell {
    padding: 0 0 76px;
  }

  .team-profile-copy {
    padding: 30px 24px;
  }

  .team-profile-copy h3 {
    font-size: 1.9rem;
  }

  .team-profile-copy p {
    font-size: 0.98rem;
  }

  .team-profile-media {
    min-height: 360px;
  }

  .team-profile-arrow {
    top: auto;
    bottom: 0;
    transform: none;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .team-profile-arrow:hover {
    transform: scale(1.04);
  }

  .team-profile-arrow-prev {
    left: calc(50% - 58px);
  }

  .team-profile-arrow-next {
    right: calc(50% - 58px);
  }

  .team-card-details {
    padding-top: 12px;
  }

  .team-card-details h3 {
    font-size: 1.08rem;
  }

  .team-card-details p {
    font-size: 0.88rem;
  }

  .team-card-details .team-years {
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-profile-media {
    min-height: 300px;
  }

  .team-profile-copy {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .team-profile-copy h3 {
    font-size: 1.65rem;
  }

  .team-profile-role {
    font-size: 0.84rem;
  }
}

.team-showcase-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.team-showcase .container {
  max-width: 1460px;
}

.team-showcase-slider {
  position: relative;
  padding: 14px 0 8px;
}

.team-slider-shell {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(180deg, rgba(244, 249, 255, 0.42) 0%, rgba(231, 240, 252, 0.3) 100%);
}

.team-profile-pages {
  position: relative;
  min-height: 500px;
}

.team-profile-slide {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(245, 250, 255, 0.98) 0%, rgba(234, 243, 255, 0.96) 100%);
  border: 1px solid rgba(190, 210, 234, 0.62);
  box-shadow: 0 22px 48px rgba(17, 47, 93, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(84px) scale(0.992);
  filter: blur(3px);
  transition:
    opacity 0.56s ease,
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.56s ease,
    visibility 0s linear 0.56s;
  pointer-events: none;
}

.team-profile-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
  transition:
    opacity 0.56s ease,
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.56s ease,
    visibility 0s linear 0s;
}

.team-profile-slide.pre-enter-left {
  opacity: 0;
  visibility: visible;
  transform: translateX(-108px) scale(0.992);
  filter: blur(3px);
}

.team-profile-slide.pre-enter-right {
  opacity: 0;
  visibility: visible;
  transform: translateX(108px) scale(0.992);
  filter: blur(3px);
}

.team-profile-slide.exit-right {
  opacity: 0;
  visibility: visible;
  transform: translateX(118px) scale(0.992);
  filter: blur(3px);
}

.team-profile-slide.exit-left {
  opacity: 0;
  visibility: visible;
  transform: translateX(-118px) scale(0.992);
  filter: blur(3px);
}

.team-profile-media,
.team-profile-copy {
  min-width: 0;
  overflow: hidden;
}

.team-profile-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
  background: transparent;
  transform: translateX(-22px) scale(0.992);
  opacity: 0;
  transition:
    opacity 0.62s ease 0.06s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
}

.team-profile-slide-standard .team-profile-media {
  background: transparent;
}

.team-profile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 41, 0.08) 0%, rgba(12, 22, 41, 0.04) 36%, rgba(12, 22, 41, 0.14) 58%, rgba(12, 22, 41, 0.4) 100%),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.16), transparent 18%);
  pointer-events: none;
}

.team-profile-media img {
  position: absolute;
  left: 7.5%;
  bottom: 0;
  width: 50%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left bottom;
  padding: 0;
  filter: drop-shadow(0 18px 30px rgba(12, 22, 41, 0.12));
}

.team-profile-slide-doctor .team-profile-media img {
  width: 56%;
  left: 8%;
}

.team-profile-slide-gracie .team-profile-media img {
  width: 56%;
  left: 9%;
}

.team-profile-slide-grecia .team-profile-media img,
.team-profile-slide-makenzie .team-profile-media img,
.team-profile-slide-gabriela .team-profile-media img,
.team-profile-slide-alexis .team-profile-media img {
  width: 56%;
  left: 9%;
}

.team-profile-slide-standard .team-profile-media img {
  width: 56%;
  left: 9%;
}

.team-profile-slide-gracie .team-profile-media img,
.team-profile-slide-grecia .team-profile-media img,
.team-profile-slide-makenzie .team-profile-media img,
.team-profile-slide-gabriela .team-profile-media img,
.team-profile-slide-alexis .team-profile-media img {
  mix-blend-mode: normal;
  opacity: 1;
}

.team-profile-slide-gracie .team-profile-media,
.team-profile-slide-grecia .team-profile-media,
.team-profile-slide-makenzie .team-profile-media,
.team-profile-slide-gabriela .team-profile-media,
.team-profile-slide-alexis .team-profile-media {
  background:
    radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.48), transparent 18%),
    linear-gradient(135deg, rgba(245, 250, 255, 0.92) 0%, rgba(228, 238, 251, 0.78) 100%);
}

.team-profile-media-placeholder {
  display: grid;
  place-items: center;
  padding: 34px;
}

.team-profile-media-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px dashed rgba(86, 115, 154, 0.45);
  background: rgba(255, 255, 255, 0.72);
  color: #587699;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-profile-copy {
  position: absolute;
  top: 22px;
  right: 40px;
  bottom: 22px;
  width: min(42%, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 30px 30px 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(22, 36, 68, 0.56) 0%, rgba(19, 33, 62, 0.46) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateX(24px);
  opacity: 0;
  transition:
    opacity 0.62s ease 0.14s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.14s;
}

.team-profile-slide.active .team-profile-media,
.team-profile-slide.active .team-profile-copy {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.team-profile-slide.pre-enter-left .team-profile-media,
.team-profile-slide.pre-enter-left .team-profile-copy,
.team-profile-slide.pre-enter-right .team-profile-media,
.team-profile-slide.pre-enter-right .team-profile-copy,
.team-profile-slide.exit-left .team-profile-media,
.team-profile-slide.exit-left .team-profile-copy,
.team-profile-slide.exit-right .team-profile-media,
.team-profile-slide.exit-right .team-profile-copy {
  transform: translateX(0) scale(1);
}

.team-profile-copy::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #46ccb1 0%, #2f88cc 100%);
}

.team-profile-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.08;
  text-shadow: 0 12px 24px rgba(9, 16, 30, 0.24);
}

.team-profile-role {
  margin: 12px 0 0;
  color: #88efd3;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-profile-years {
  margin: 8px 0 12px;
  color: rgba(234, 241, 252, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.team-profile-copy p {
  margin-top: 0;
  color: rgba(246, 250, 255, 0.95);
  font-size: 0.94rem;
  line-height: 1.62;
  text-shadow: 0 8px 18px rgba(9, 16, 30, 0.16);
}

.team-profile-copy p + p {
  margin-top: 12px;
}

.team-profile-indicators {
  margin-top: 22px;
  justify-content: center;
  gap: 12px;
}

.team-profile-indicators .about-gallery-dot {
  box-shadow: 0 10px 16px rgba(17, 47, 93, 0.06);
}

@media (max-width: 1080px) {
  .team-slider-shell {
    padding: 0 48px 18px;
  }

  .team-profile-pages {
    min-height: 600px;
  }

  .team-profile-copy {
    right: 26px;
    width: min(43%, 450px);
  }

  .team-profile-slide-doctor .team-profile-media img {
    width: 62%;
    left: 6%;
  }

  .team-profile-slide-gracie .team-profile-media img {
    width: 60%;
    left: 7%;
  }

  .team-profile-slide-grecia .team-profile-media img,
  .team-profile-slide-makenzie .team-profile-media img,
  .team-profile-slide-gabriela .team-profile-media img,
  .team-profile-slide-alexis .team-profile-media img {
    width: 60%;
    left: 7%;
  }

  .team-profile-slide-standard .team-profile-media img {
    width: 60%;
    left: 7%;
  }
}

@media (max-width: 760px) {
  .team-showcase-slider {
    padding: 10px 0 0;
  }

  .team-slider-shell {
    padding: 0 0 70px;
  }

  .team-profile-copy {
    top: auto;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 24px 20px;
  }

  .team-profile-copy h3 {
    font-size: 1.8rem;
  }

  .team-profile-copy p {
    font-size: 0.96rem;
  }

  .team-profile-pages {
    min-height: 580px;
  }

}

@media (max-width: 560px) {
  .team-profile-pages {
    min-height: 560px;
  }

  .team-profile-copy {
    padding: 20px 16px 22px;
  }

  .team-profile-copy h3 {
    font-size: 1.55rem;
  }

  .team-profile-role {
    font-size: 0.84rem;
  }

  .team-profile-copy p {
    font-size: 0.94rem;
  }
}

/* Team slider reset: keep every profile on one consistent layout like the reference */
.team-profile-pages {
  min-height: 540px;
}

.team-profile-slide {
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(17, 47, 93, 0.1);
}

.team-profile-media {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.46), transparent 18%),
    linear-gradient(135deg, rgba(247, 251, 255, 0.98) 0%, rgba(229, 238, 250, 0.94) 100%);
}

.team-profile-media::after {
  background:
    linear-gradient(90deg, rgba(12, 22, 41, 0.025) 0%, rgba(12, 22, 41, 0.018) 42%, rgba(12, 22, 41, 0.085) 60%, rgba(12, 22, 41, 0.3) 100%),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.12), transparent 18%);
}

.team-profile-slide-doctor .team-profile-media img,
.team-profile-slide-gracie .team-profile-media img,
.team-profile-slide-alexis .team-profile-media img,
.team-profile-slide-standard .team-profile-media img {
  left: 8%;
  bottom: 0;
  width: 56%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  margin-left: 0;
  filter: drop-shadow(0 18px 28px rgba(12, 22, 41, 0.12));
}

.team-profile-slide-grecia .team-profile-media img {
  left: 10%;
  width: 53%;
}

.team-profile-slide-makenzie .team-profile-media img {
  left: 9%;
  width: 51%;
}

.team-profile-slide-gabriela .team-profile-media img {
  left: 11%;
  width: 52%;
}

.team-profile-slide-alexis .team-profile-media img {
  left: 9%;
  width: 53%;
}

.team-profile-copy {
  top: 24px;
  right: 18px;
  bottom: 24px;
  width: min(40%, 480px);
  padding: 30px 30px 30px 34px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 47, 84, 0.56) 0%, rgba(24, 39, 72, 0.46) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(12, 22, 41, 0.1);
}

.team-profile-copy h3 {
  font-size: clamp(1.66rem, 2.45vw, 2.36rem);
  line-height: 1.05;
}

.team-profile-copy p {
  font-size: 0.95rem;
  line-height: 1.66;
}

@media (max-width: 1080px) {
  .team-profile-pages {
    min-height: 600px;
  }

  .team-profile-slide-doctor .team-profile-media img,
  .team-profile-slide-gracie .team-profile-media img,
  .team-profile-slide-alexis .team-profile-media img,
  .team-profile-slide-standard .team-profile-media img {
    left: 5%;
    width: 60%;
  }

  .team-profile-slide-grecia .team-profile-media img {
    left: 7%;
    width: 58%;
  }

  .team-profile-slide-makenzie .team-profile-media img {
    left: 6%;
    width: 57%;
  }

  .team-profile-slide-gabriela .team-profile-media img {
    left: 7%;
    width: 58%;
  }

  .team-profile-slide-alexis .team-profile-media img {
    left: 6%;
    width: 59%;
  }

  .team-profile-copy {
    right: 16px;
    width: min(41%, 420px);
  }
}

@media (max-width: 760px) {
  .team-profile-pages {
    min-height: 580px;
  }

  .team-profile-copy {
    width: auto;
  }
}

.wisdom-page .procedure-media {
  padding: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

.wisdom-page .procedure-media img {
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 14px;
}

.implant-dentures-page .procedure-wrap {
  padding: 8px 0 0;
  background: transparent;
  box-shadow: none;
}

.implant-dentures-page .procedure-wrap > p:first-of-type {
  max-width: 68ch;
  font-size: 1.04rem;
}

.implant-dentures-page .implant-section {
  margin-top: 34px;
}

.implant-dentures-page h1 {
  font-size: clamp(2rem, 3vw, 3.05rem);
  margin-bottom: 10px;
}

.implant-dentures-page .implant-kicker {
  margin: 0 0 14px;
  color: #1c7f94;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.implant-dentures-page .implant-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  align-items: stretch;
}

.implant-dentures-page .implant-split > div:first-child,
.implant-dentures-page .implant-split-reverse > div:first-child {
  padding: 32px 34px;
  border-radius: 26px;
  border: 1px solid rgba(204, 220, 243, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 18px 42px rgba(15, 43, 89, 0.1);
}

.implant-dentures-page .implant-split-reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.implant-dentures-page .implant-split-reverse > figure {
  order: 1;
}

.implant-dentures-page .implant-split-reverse > div {
  order: 2;
}

.implant-dentures-page .implant-media {
  height: clamp(320px, 34vw, 420px);
  min-height: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(204, 220, 243, 0.95);
  background: linear-gradient(180deg, #eef8ff 0%, #d9ebff 100%);
  box-shadow: 0 22px 44px rgba(15, 43, 89, 0.16);
  padding: 16px;
}

.implant-dentures-page .implant-media img {
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: #ffffff;
}

.implant-dentures-page .implant-section-intro .implant-media {
  height: clamp(360px, 38vw, 470px);
  background: linear-gradient(180deg, #eef9ff 0%, #d9f0ff 100%);
}

.implant-dentures-page .implant-section-intro .implant-hero-split {
  grid-template-columns: 1fr;
}

.implant-dentures-page .implant-section-intro .implant-hero-copy {
  width: 100%;
  max-width: none;
}

.implant-dentures-page .implant-section-intro .implant-media img {
  object-fit: contain;
  padding: 10px;
}

.implant-dentures-page .implant-section-benefits .implant-media {
  background: linear-gradient(180deg, #eef8ff 0%, #e1f0ff 100%);
}

.implant-dentures-page .implant-section-benefits .implant-media img {
  object-fit: contain;
  padding: 18px;
}

.implant-dentures-page .implant-section-types .implant-media img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.implant-dentures-page .implant-section-process .implant-media {
  background: linear-gradient(180deg, #eef8ff 0%, #dfeefe 100%);
}

.implant-dentures-page .implant-section-process .implant-media img {
  object-fit: cover;
  object-position: center 36%;
  padding: 0;
}

.implant-dentures-page .implant-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.implant-dentures-page .implant-section h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.implant-dentures-page .implant-copy-card p {
  font-size: 1.05rem;
  line-height: 1.84;
  margin-bottom: 14px;
}

.implant-dentures-page .implant-hero-copy {
  background:
    radial-gradient(circle at top left, rgba(72, 202, 176, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.implant-dentures-page .implant-hero-actions {
  margin-top: 20px;
}

.implant-dentures-page .implant-section-alt .implant-media-card {
  transform: translateY(18px);
}

.implant-dentures-page .implant-section-soft .implant-media-card {
  transform: translateY(-18px);
}

.implant-dentures-page .implant-section-alt .implant-copy-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.implant-dentures-page .implant-section-soft .implant-copy-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.implant-dentures-page .implant-section:last-of-type {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.implant-dentures-page .implant-section-closing .implant-closing-card {
  max-width: 100%;
  padding: 34px 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(72, 202, 176, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.implant-dentures-page .implant-section-closing .implant-closing-card h2,
.implant-dentures-page .implant-section-closing .implant-closing-card h3 {
  max-width: 22ch;
}

.implant-dentures-page .implant-section-closing .procedure-list {
  columns: 2;
  column-gap: 28px;
  margin-bottom: 20px;
}

.implant-dentures-page .implant-section-closing .procedure-list li {
  break-inside: avoid;
}

@media (max-width: 1100px) {
  .implant-dentures-page .procedure-wrap {
    padding-top: 6px;
  }

  .implant-dentures-page .implant-split,
  .implant-dentures-page .implant-split-reverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .implant-dentures-page .implant-split-reverse > figure,
  .implant-dentures-page .implant-split-reverse > div {
    order: initial;
  }

  .implant-dentures-page .implant-split > div:first-child,
  .implant-dentures-page .implant-split-reverse > div:first-child,
  .implant-dentures-page .implant-copy-card {
    padding: 24px;
  }

  .implant-dentures-page .implant-media {
    height: 280px;
    padding: 14px;
  }

  .implant-dentures-page .implant-section-alt .implant-media-card,
  .implant-dentures-page .implant-section-soft .implant-media-card {
    transform: none;
  }

  .implant-dentures-page .implant-section-closing .implant-closing-card {
    padding: 24px;
  }

  .implant-dentures-page .implant-section-closing .procedure-list {
    columns: 1;
    column-gap: 0;
  }
}
