:root {
  --navy: #102f4a;
  --teal: #0f5b63;
  --teal-deep: #073f49;
  --blue-soft: #e8f5fb;
  --blue-line: #c6e4ef;
  --gold: #f2bd4b;
  --gold-dark: #b67a04;
  --coral: #ee7768;
  --ink: #193042;
  --muted: #5e7280;
  --white: #ffffff;
  --offwhite: #f8fbfc;
  --shadow: 0 18px 45px rgba(16, 47, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--white);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(242, 189, 75, .8);
  outline-offset: 3px;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5eef2;
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--navy);
}

.brand-logo {
  display: block;
  width: clamp(154px, 17vw, 218px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.footer-brand-logo {
  width: 218px;
  max-height: none;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.text-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .85rem 1.18rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.button-small {
  min-height: 42px;
  padding: .64rem .9rem;
}

.desktop-appointment {
  white-space: nowrap;
}

.button-gold {
  color: #1f2f3f;
  background: var(--gold);
  box-shadow: 0 12px 20px rgba(242, 189, 75, .22);
}

.button-navy {
  color: var(--white);
  background: var(--navy);
}

.button-quiet {
  color: var(--navy);
  border-color: #c6e4ef;
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .75);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--teal);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #d8f7ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 5.8vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 1rem 0 .35rem;
  color: var(--navy);
  font-size: 1.13rem;
}

.hero-subhead {
  margin: 1.2rem 0 .9rem;
  max-width: 680px;
  color: #405765;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.trust-bar {
  display: inline-flex;
  max-width: 100%;
  padding: .65rem .8rem;
  color: var(--teal-deep);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  font-weight: 800;
}

.trust-bar span {
  color: var(--gold-dark);
  margin-right: .35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.45rem 0 1.1rem;
}

.intro-copy {
  max-width: 690px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-media {
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 47, 74, .04), rgba(15, 91, 99, .08)),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.photo-panel {
  position: relative;
  height: 100%;
  min-height: 520px;
}

.photo-fig {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.photo-main {
  inset: 28px 28px 98px;
  display: none;
}

.photo-card {
  right: 24px;
  bottom: 24px;
  width: min(270px, calc(100% - 48px));
  padding: 1rem;
}

.photo-card strong,
.photo-card span {
  display: block;
}

.photo-card span {
  color: var(--muted);
}

.emergency {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  box-shadow: var(--shadow);
}

.emergency h2,
.emergency p {
  color: var(--white);
}

.emergency p {
  margin: .55rem 0 0;
}

.emergency-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
}

.emergency-icon svg {
  width: 38px;
  height: 38px;
}

.emergency-note {
  font-weight: 900;
}

.emergency-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.service-outcome-strip {
  padding-top: 48px;
  padding-bottom: 42px;
}

.compact-heading {
  max-width: 760px;
}

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

.outcome-chip {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 22px;
  border: 1px solid rgba(15, 91, 99, .2);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(232, 245, 251, .78));
  box-shadow: 0 12px 28px rgba(16, 47, 74, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.outcome-chip:hover,
.outcome-chip:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 18px 34px rgba(16, 47, 74, .1);
  transform: translateY(-2px);
}

.outcome-chip strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.outcome-chip span {
  color: var(--muted);
  line-height: 1.5;
}

.service-card {
  min-height: 226px;
  padding: 24px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .07);
}

.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.outcome-kicker {
  display: block;
  margin: 18px 0 8px;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card .outcome-kicker {
  margin-top: 18px;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--teal);
  font-weight: 900;
}

.service-card p,
.benefit-grid p,
.lead {
  color: var(--muted);
}

.all-service-links {
  padding-top: 34px;
}

.all-service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-link-group {
  padding: 22px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.service-link-group h3 {
  margin-top: 0;
}

.service-link-group div {
  display: grid;
  gap: 10px;
}

.service-link-group a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--teal-deep);
  background: var(--blue-soft);
  text-decoration: none;
  font-weight: 900;
}

.service-link-group a:hover,
.service-link-group a:focus-visible {
  color: var(--white);
  background: var(--teal);
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--offwhite);
}

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

.benefit-grid article {
  min-height: 150px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.benefit-grid strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.split,
.insurance {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.doctor-photo {
  min-height: 430px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 25%, #f2bd4b 0 13%, transparent 14%),
    radial-gradient(circle at 50% 45%, #0f5b63 0 19%, transparent 20%),
    linear-gradient(145deg, #e8f5fb, #ffffff);
  border: 1px solid #dcebf0;
  box-shadow: var(--shadow);
}

.doctor-highlights {
  margin: 22px 0;
  padding: 22px;
  border-radius: 8px;
  background: var(--offwhite);
  border: 1px solid #dcebf0;
}

.doctor-highlights h3 {
  margin-top: 0;
}

.doctor-highlights ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-highlights li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
}

.doctor-highlights li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "+";
  font-weight: 900;
}

.doctor-quote {
  margin: 22px 0;
  padding: 24px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--blue-soft);
}

.doctor-quote h3 {
  margin-top: 0;
}

.doctor-quote p {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.reviews {
  background: var(--white);
}

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

blockquote {
  margin: 0;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #dcebf0;
  background: var(--blue-soft);
}

blockquote p {
  margin-top: 0;
  font-size: 1.1rem;
}

cite {
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.insurance {
  padding: clamp(34px, 6vw, 54px);
  border-radius: 8px;
  background: var(--offwhite);
}

.insurance-list {
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .08);
}

.new-patient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 48px);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.new-patient h2,
.new-patient p {
  color: var(--white);
}

.faq {
  padding-top: 30px;
}

details {
  border-top: 1px solid #dcebf0;
}

details:last-child {
  border-bottom: 1px solid #dcebf0;
}

summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--navy);
  font-weight: 900;
}

details p {
  margin: 0 0 20px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr 1fr;
  gap: 28px;
  padding: 48px max(16px, calc((100% - 1180px) / 2)) 92px;
  color: #dcebf0;
  background: #08263d;
}

.footer h2 {
  margin-bottom: .75rem;
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  color: var(--white);
}

.footer-brand {
  color: var(--white);
}

.footer-brand small {
  color: #a7c6d5;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.local-seo-band {
  border-top: 1px solid #dcebf0;
  border-bottom: 1px solid #dcebf0;
  background: linear-gradient(180deg, #ffffff, #f5fbfd);
}

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

.local-keyword-grid a {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(12, 48, 80, .06);
}

.local-keyword-grid strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.local-keyword-grid span {
  color: var(--muted);
}

.local-keyword-grid a:hover,
.local-keyword-grid a:focus {
  transform: translateY(-2px);
  border-color: var(--teal);
}

.before-after-gallery {
  border-top: 1px solid #dcebf0;
  border-bottom: 1px solid #dcebf0;
  background: #f6fbfd;
}

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

.before-after-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(12, 48, 80, .07);
}

.before-after-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf7fa;
}

.before-after-card figcaption {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.before-after-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.before-after-card span,
.before-after-card small,
.before-after-note {
  color: var(--muted);
}

.before-after-card a {
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
}

.before-after-note {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: .94rem;
}

.map-link {
  display: grid;
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(15, 91, 99, .75), rgba(242, 189, 75, .34)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 8px, transparent 8px 18px);
}

.map-link span {
  color: #dcebf0;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  text-decoration: none;
  font-weight: 900;
}

.mobile-call {
  display: none;
}

.quick-nav {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 14;
  display: flex;
  gap: 8px;
  align-items: center;
}

.quick-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: .62rem .78rem;
  border: 1px solid rgba(16, 47, 74, .16);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 30px rgba(16, 47, 74, .16);
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.quick-nav-button:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-1px);
}

.quick-nav-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.implant-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  align-items: end;
  padding: clamp(32px, 6vw, 72px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .9) 0%, rgba(8, 38, 61, .68) 42%, rgba(8, 38, 61, .14) 100%),
    image-set(url("implant-hero.webp") type("image/webp"), url("implant-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.cosmetic-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  align-items: end;
  padding: clamp(32px, 6vw, 72px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .9) 0%, rgba(8, 38, 61, .68) 43%, rgba(238, 119, 104, .14) 100%),
    image-set(url("cosmetic-hero.webp") type("image/webp"), url("cosmetic-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.implant-hero h1,
.implant-hero p,
.cosmetic-hero h1,
.cosmetic-hero p {
  color: var(--white);
}

.implant-hero-copy {
  max-width: 690px;
}

.implant-hero-copy h1 {
  font-size: clamp(2.7rem, 6.2vw, 5.5rem);
}

.implant-hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 1rem 0 0;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
}

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

.implant-hero-trust {
  position: absolute;
  right: max(16px, calc((100% - 1180px) / 2));
  bottom: 34px;
  width: min(300px, calc(100% - 32px));
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.implant-hero-trust strong,
.implant-hero-trust span {
  display: block;
}

.implant-hero-trust strong {
  color: var(--gold-dark);
}

.implant-hero-trust span {
  color: var(--muted);
}

.implant-intro,
.cosmetic-intro,
.cosmetic-why,
.tech-experience,
.implant-trust,
.cost-consult {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.implant-intro p,
.cosmetic-intro p,
.cosmetic-why p,
.tech-experience p,
.cost-consult p {
  color: var(--muted);
  font-size: 1.05rem;
}

.implant-explainer {
  padding: 26px;
  border-radius: 8px;
  background: var(--offwhite);
  border: 1px solid #dcebf0;
}

.implant-explainer h3 {
  margin-top: 0;
}

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

.benefit-check-grid article {
  min-height: 214px;
  padding: 24px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.benefit-check-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--blue-soft);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-check-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
}

.benefit-check-grid p {
  color: var(--muted);
}

.cosmetic-services {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, var(--offwhite), #ffffff);
}

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

.cosmetic-card-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.cosmetic-card-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: .82rem;
  font-weight: 900;
}

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

.implant-services {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--offwhite);
}

.implant-service-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.implant-service-row article {
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .07);
}

.implant-service-row small {
  color: var(--gold-dark);
  font-weight: 900;
}

.implant-service-row p,
.tech-list p,
.implant-trust p,
.consult-card p,
.related-link {
  color: var(--muted);
}

.implant-candidate {
  padding-top: 0;
}

.candidate-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 63, 73, .96), rgba(16, 47, 74, .96)),
    linear-gradient(45deg, rgba(242, 189, 75, .18), transparent);
}

.candidate-panel h2,
.candidate-panel p {
  color: var(--white);
}

.candidate-panel p {
  max-width: 760px;
}

.tech-list {
  display: grid;
  gap: 14px;
}

.tech-list article {
  padding: 20px;
  border-left: 4px solid var(--teal);
  background: var(--offwhite);
}

.tech-list strong {
  color: var(--navy);
}

.implant-trust {
  align-items: center;
  padding: clamp(34px, 5vw, 54px);
  border-radius: 8px;
  background: var(--blue-soft);
}

.implant-trust-simple {
  display: block;
}

.implant-trust-simple > div {
  max-width: 860px;
}

.implant-stat {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  text-align: center;
}

.implant-trust-stats {
  display: grid;
  gap: 14px;
}

.implant-stat-light {
  min-height: 160px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 47, 74, .08);
}

.implant-stat strong {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.implant-stat span {
  max-width: 190px;
  color: #d8f7ff;
  font-weight: 900;
}

.implant-stat-light span {
  color: var(--muted);
}

.cost-consult {
  padding-top: 30px;
}

.smile-gallery {
  padding-top: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #dcebf0;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.gallery-grid img,
.smile-swatch {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gallery-main img {
  height: 360px;
}

.smile-swatch {
  background:
    radial-gradient(circle at 48% 48%, rgba(255,255,255,.95) 0 20%, transparent 21%),
    radial-gradient(circle at 61% 47%, rgba(255,255,255,.94) 0 17%, transparent 18%),
    linear-gradient(135deg, #e8f5fb, #ffffff 48%, #f8e4dd);
}

.smile-swatch-even {
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(16,47,74,.14) 8% 9%, transparent 9% 91%, rgba(16,47,74,.14) 91% 92%, transparent 92%),
    radial-gradient(circle at 43% 48%, rgba(255,255,255,.97) 0 20%, transparent 21%),
    radial-gradient(circle at 59% 48%, rgba(255,255,255,.97) 0 20%, transparent 21%),
    linear-gradient(135deg, #f8fbfc, #e8f5fb 55%, #fff3d4);
}

.gallery-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--navy);
  font-weight: 900;
}

.gallery-note {
  color: var(--muted);
  font-size: .95rem;
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.case-gallery-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(74, 165, 44, .18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbef);
  box-shadow: 0 18px 42px rgba(39, 95, 31, .1);
}

.case-gallery-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 218, 0, .12), transparent 32%),
    #ffffff;
}

.case-gallery-card figcaption {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
}

.case-gallery-card strong {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.2;
}

.case-gallery-card span {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

.case-gallery-disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(74, 165, 44, .18);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(247, 251, 239, .74);
  font-size: .92rem;
  line-height: 1.55;
}

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

@media (max-width: 620px) {
  .case-gallery-grid {
    grid-template-columns: 1fr;
  }

  .case-gallery-card img {
    height: 310px;
  }
}

.cosmetic-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 47, 74, .98), rgba(15, 91, 99, .96)),
    linear-gradient(45deg, rgba(238, 119, 104, .18), transparent);
}

.cosmetic-cta h2,
.cosmetic-cta p {
  color: var(--white);
}

.cosmetic-cta p {
  max-width: 720px;
}

.cosmetic-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.related-services {
  padding-top: 30px;
}

.related-services p {
  color: var(--muted);
}

.related-services a {
  color: var(--teal);
  font-weight: 900;
}

.insurance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 540px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 38, 61, .96), rgba(15, 91, 99, .92)),
    linear-gradient(45deg, rgba(242, 189, 75, .16), transparent);
}

.insurance-hero h1,
.insurance-hero p,
.insurance-cta h2,
.insurance-cta p {
  color: var(--white);
}

.insurance-hero h1 {
  max-width: 840px;
}

.insurance-hero p {
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.insurance-quick-card {
  padding: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}

.insurance-quick-card strong,
.insurance-quick-card span {
  display: block;
}

.insurance-quick-card strong {
  font-size: 1.4rem;
  line-height: 1.18;
}

.insurance-quick-card span {
  margin-top: 10px;
  color: var(--muted);
}

.insurance-intro,
.insurance-checker,
.payment-options {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.insurance-intro > p,
.insurance-checker p,
.payment-options p {
  color: var(--muted);
  font-size: 1.05rem;
}

.checker-card {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  border: 1px solid #dcebf0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checker-card label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 900;
}

.checker-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.checker-input-row input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 2px solid #dcebf0;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.checker-input-row input:focus {
  outline: 3px solid rgba(242, 189, 75, .36);
  border-color: var(--teal);
}

.checker-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--offwhite);
  font-weight: 800;
}

.form-privacy-note {
  margin-top: .75rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .6);
  color: rgba(39, 54, 64, .82);
  font-size: .94rem;
}

.checker-result-in {
  color: var(--teal-deep);
  background: var(--blue-soft);
}

.checker-result-out {
  color: #762d25;
  background: #fff0ee;
}

.checker-result-unknown {
  color: var(--navy);
  background: #fff7df;
}

.insurance-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 24px;
}

.plan-column {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  border: 1px solid #dcebf0;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .07);
}

.accepted-list {
  border-top: 6px solid var(--teal);
}

.declined-list {
  border-top: 6px solid var(--coral);
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--offwhite);
  font-weight: 800;
}

.plan-list li::before {
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--teal);
  content: "+";
}

.declined-list .plan-list li::before {
  color: var(--coral);
  content: "!";
}

.payment-card {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  background: var(--blue-soft);
}

.payment-method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.payment-method-list strong {
  flex-basis: 100%;
  color: var(--navy);
}

.payment-method-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--blue-soft);
  font-weight: 800;
}

.payment-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.payment-card .button {
  margin-top: 10px;
}

.no-insurance-section {
  grid-template-columns: minmax(270px, .62fr) minmax(0, 1.38fr);
  align-items: start;
}

.payment-intro {
  position: sticky;
  top: 150px;
}

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

.savings-offer-card,
.savings-audience-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(111, 138, 99, .18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 189, 75, .14), transparent 30%),
    rgba(255, 253, 248, .98);
  box-shadow: 0 18px 45px rgba(73, 58, 43, .08);
}

.membership-offer {
  border-color: rgba(15, 91, 99, .22);
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 189, 75, .16), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(232, 245, 251, .72));
}

.offer-label {
  margin: 0 0 10px;
  color: var(--teal-deep);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.savings-offer-card > strong {
  display: block;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: .98;
  letter-spacing: 0;
}

.savings-offer-card h3,
.savings-audience-card h3 {
  margin-top: 22px;
  color: var(--navy);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #21323a;
  background: var(--gold);
  content: "+";
  font-size: .9rem;
  font-weight: 950;
  line-height: 1;
}

.value-breakdown {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(111, 138, 99, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.value-breakdown h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.value-breakdown dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.value-breakdown dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  color: var(--muted);
}

.value-breakdown dt,
.value-breakdown dd {
  margin: 0;
}

.value-breakdown dd {
  color: var(--navy);
  font-weight: 900;
}

.value-breakdown .total-line {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(111, 138, 99, .18);
}

.value-breakdown .total-line,
.value-breakdown .your-cost,
.value-breakdown .savings-line {
  color: var(--navy);
  font-weight: 950;
}

.value-breakdown .your-cost dd {
  color: var(--teal-deep);
}

.value-breakdown .savings-line dd {
  color: var(--gold-dark);
}

.savings-note,
.membership-disclaimer {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.membership-disclaimer {
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .62);
  font-weight: 800;
}

.plan-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.plan-perks span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 91, 99, .16);
  border-radius: 999px;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, .68);
  font-size: .9rem;
  font-weight: 900;
}

.savings-offer-card .button,
.savings-audience-card .button {
  margin-top: 20px;
}

.savings-audience-card {
  display: grid;
  grid-template-columns: minmax(220px, .76fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  grid-column: 1 / -1;
}

.savings-audience-card p {
  margin: 0;
  color: var(--muted);
}

.compact-check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.emergency-savings-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(242, 189, 75, .18), transparent 28%),
    linear-gradient(135deg, rgba(16, 47, 74, .96), rgba(15, 91, 99, .9));
}

.emergency-savings-card .eyebrow,
.emergency-savings-card h3,
.emergency-savings-card p {
  color: var(--white);
}

.insurance-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.filing-section {
  padding-top: 24px;
}

.filing-section > div {
  max-width: 820px;
  padding: clamp(24px, 4vw, 34px);
  border-left: 5px solid var(--gold);
  background: var(--offwhite);
}

.filing-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.related-link a {
  color: var(--teal);
  font-weight: 900;
}

.consult-card {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.consult-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
}

.consult-card .button {
  width: 100%;
  margin-top: 12px;
}

.consult-phone {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 620px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .94), rgba(15, 91, 99, .72) 48%, rgba(16, 47, 74, .2)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.services-hero h1,
.services-hero p,
.services-cta h2,
.services-cta p {
  color: var(--white);
}

.services-hero-copy {
  max-width: 780px;
}

.services-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.service-jump-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.service-jump-card strong {
  color: var(--navy);
}

.service-jump-card a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--teal-deep);
  background: var(--blue-soft);
  text-decoration: none;
  font-weight: 900;
}

.service-category {
  display: grid;
  grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.service-category-heading {
  position: sticky;
  top: 160px;
}

.service-category-heading p {
  color: var(--muted);
}

.service-category-heading .button {
  margin-top: 10px;
}

.service-category-alert {
  padding-top: 44px;
}

.shaded-service-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--offwhite);
}

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

.treatment-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.treatment-card:hover,
.treatment-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 18px 36px rgba(16, 47, 74, .1);
  transform: translateY(-2px);
}

.treatment-card h3,
.treatment-card p,
.treatment-card .outcome-kicker,
.card-more {
  padding-inline: 20px;
}

.treatment-card h3 {
  margin-top: 0;
}

.treatment-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.card-more {
  display: inline-flex;
  margin: 0 0 22px;
  color: var(--teal);
  font-weight: 900;
}

.video-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 47, 74, .86), rgba(15, 91, 99, .72)),
    radial-gradient(circle at 75% 25%, rgba(242, 189, 75, .45), transparent 26%),
    linear-gradient(45deg, #e8f5fb, #ffffff);
}

.video-thumb small {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-weight: 900;
  text-transform: uppercase;
}

.play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .2);
}

.play-icon::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--navy);
  content: "";
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--navy));
}

.treatment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 580px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .95), rgba(15, 91, 99, .82) 52%, rgba(242, 189, 75, .14)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.treatment-hero h1,
.treatment-hero p,
.treatment-cta-strip h2,
.treatment-cta-strip p {
  color: var(--white);
}

.treatment-hero-copy {
  max-width: 820px;
}

.treatment-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.treatment-hero-card {
  padding: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}

.treatment-hero-card strong,
.treatment-hero-card span {
  display: block;
}

.treatment-hero-card strong {
  font-size: 1.3rem;
  line-height: 1.18;
}

.treatment-hero-card span {
  margin-top: 10px;
  color: var(--muted);
}

.treatment-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.treatment-page-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.video-panel {
  overflow: hidden;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.treatment-video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy);
}

.video-caption {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
}

.video-caption strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.video-caption span {
  color: var(--muted);
}

.treatment-detail-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--offwhite);
}

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

.detail-card {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.detail-card h3 {
  margin-top: 0;
}

.detail-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}

.detail-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--teal);
  content: "+";
  font-weight: 900;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: treatment-step;
}

.step-list li {
  min-height: 190px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
  counter-increment: treatment-step;
}

.step-list li::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  content: counter(treatment-step);
  font-weight: 900;
}

.step-list span {
  color: var(--muted);
  font-weight: 700;
}

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

.compact-benefits article {
  min-height: 160px;
}

.treatment-faq {
  padding-top: 28px;
}

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

.related-treatment-grid a {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  color: inherit;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.related-treatment-grid a:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.related-treatment-grid strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.related-treatment-grid span {
  color: var(--muted);
}

.treatment-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--navy));
}

.blog-hero,
.blog-post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 560px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .95), rgba(15, 91, 99, .8) 50%, rgba(242, 189, 75, .16)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.blog-post-hero {
  grid-template-columns: minmax(0, 900px);
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .96), rgba(15, 91, 99, .86)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.blog-hero h1,
.blog-hero p,
.blog-post-hero h1,
.blog-post-hero p {
  color: var(--white);
}

.blog-hero-copy {
  max-width: 820px;
}

.blog-hero-copy p:not(.eyebrow),
.blog-post-hero p:not(.eyebrow) {
  max-width: 740px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.blog-feature-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}

.blog-feature-card span,
.blog-card span {
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-feature-card strong {
  font-size: 1.35rem;
  line-height: 1.18;
}

.blog-feature-card a {
  color: var(--teal);
  font-weight: 900;
}

.blog-index-intro {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.blog-index-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.blog-grid-section {
  padding-top: 20px;
}

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

.blog-card {
  display: grid;
  gap: 12px;
  min-height: 330px;
  padding: 24px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(232, 245, 251, .72), rgba(255, 255, 255, .96) 38%),
    var(--white);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #e8f5fb;
}

.blog-card:hover,
.blog-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 18px 36px rgba(16, 47, 74, .1);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-size: 1.35rem;
  line-height: 1.18;
}

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

.blog-card small {
  align-self: end;
  color: var(--teal);
  font-weight: 900;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.blog-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  font-weight: 900;
}

.blog-source-image {
  margin: 0 0 30px;
}

.blog-source-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 47, 74, .12);
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.article-links a {
  padding: 10px 14px;
  border: 1px solid #dcebf0;
  border-radius: 999px;
  color: var(--teal-deep);
  font-weight: 900;
  text-decoration: none;
  background: #f7fbfd;
}

.blog-article {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.blog-article h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.blog-article p {
  color: var(--muted);
}

.blog-article a {
  color: var(--teal);
  font-weight: 900;
}

.blog-article ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.blog-article li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.blog-article li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "+";
  font-weight: 900;
}

.source-note {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  color: var(--muted);
  background: var(--offwhite);
}

.source-note strong {
  color: var(--navy);
}

.contact-hero,
.thank-you-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 560px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .95), rgba(15, 91, 99, .82) 52%, rgba(242, 189, 75, .16)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.thank-you-hero {
  grid-template-columns: minmax(0, 820px);
}

.contact-hero h1,
.contact-hero p,
.thank-you-hero h1,
.thank-you-hero p {
  color: var(--white);
}

.contact-hero-copy {
  max-width: 780px;
}

.contact-hero-copy p:not(.eyebrow),
.thank-you-hero p:not(.eyebrow) {
  max-width: 700px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.contact-card span {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.contact-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

.online-scheduler-card {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(111, 138, 99, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 14%, rgba(185, 218, 0, .16), transparent 34%),
    linear-gradient(145deg, #ffffff, #f4faea);
  box-shadow: 0 18px 44px rgba(39, 95, 31, .08);
}

.online-scheduler-card strong {
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.online-scheduler-card span,
.online-scheduler-card small {
  color: var(--muted);
}

.online-scheduler-card .button {
  width: fit-content;
  margin-top: 4px;
}

.online-scheduler-embed-card {
  min-height: 640px;
  align-content: start;
}

.online-scheduler-embed-card p,
.online-scheduler-embed-card noscript {
  color: var(--muted);
  font-size: .98rem;
}

.scheduler-frame {
  width: 100%;
  min-height: 620px;
  border: 1px solid rgba(70, 95, 66, .18);
  border-radius: 10px;
  background: #fff;
}

.booking-main {
  background:
    linear-gradient(180deg, rgba(248, 247, 241, .95), rgba(239, 246, 232, .92)),
    var(--offwhite);
}

.online-scheduler-page {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) 0 clamp(42px, 7vw, 72px);
}

.online-scheduler-window {
  overflow: hidden;
  min-height: 760px;
  border: 1px solid rgba(70, 95, 66, .18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(39, 95, 31, .12);
}

.scheduler-frame-large {
  display: block;
  min-height: 760px;
  border: 0;
  border-radius: 0;
}

.scheduler-fallback-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.scheduler-privacy-note {
  max-width: 780px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  text-align: center;
}

.scheduler-redirect-page {
  min-height: 52vh;
  display: grid;
  place-items: center;
}

.scheduler-redirect-card {
  max-width: 760px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(70, 95, 66, .18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 189, 75, .16), transparent 30%),
    rgba(255, 253, 248, .98);
  box-shadow: 0 24px 60px rgba(39, 95, 31, .12);
  text-align: center;
}

.scheduler-redirect-card h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
}

.scheduler-redirect-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.booking-page .booking-main {
  min-height: 72vh;
  padding-top: clamp(138px, 15vw, 184px);
  background:
    radial-gradient(circle at 12% 10%, rgba(185, 218, 0, .18), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(255, 181, 31, .14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbef 42%, #ffffff 100%);
}

.booking-scheduler-page {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.booking-scheduler-intro,
.booking-scheduler-shell {
  border: 1px solid rgba(74, 165, 44, .18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(244, 250, 234, .84)),
    rgba(255, 255, 255, .9);
  box-shadow: 0 24px 60px rgba(39, 95, 31, .12);
}

.booking-scheduler-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.booking-scheduler-brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 24px);
}

.booking-scheduler-brand img {
  width: clamp(148px, 18vw, 190px);
  height: auto;
  object-fit: contain;
}

.booking-scheduler-brand .eyebrow {
  margin-bottom: 6px;
}

.booking-scheduler-brand h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.booking-scheduler-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.booking-scheduler-shell {
  overflow: hidden;
  padding: clamp(14px, 2.5vw, 22px);
}

.booking-scheduler-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 4px 4px 16px;
  color: var(--muted);
}

.booking-scheduler-note strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.booking-scheduler-note span {
  flex: 1 1 320px;
}

.booking-scheduler-shell .online-scheduler-window {
  border-color: rgba(74, 165, 44, .22);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .74), 0 18px 44px rgba(16, 24, 32, .08);
}

.booking-scheduler-shell .scheduler-frame-large {
  width: 100%;
  min-height: 820px;
  background: #ffffff;
}

@media (max-width: 760px) {
  .booking-page .booking-main {
    padding-top: 126px;
  }

  .booking-scheduler-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-scheduler-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-scheduler-actions,
  .booking-scheduler-actions .button {
    width: 100%;
  }

  .booking-scheduler-actions .button {
    justify-content: center;
  }

  .booking-scheduler-shell .scheduler-frame-large {
    min-height: 760px;
  }
}

@media (max-width: 760px) {
  .online-scheduler-embed-card {
    min-height: 720px;
  }

  .scheduler-frame {
    min-height: 700px;
  }

  .online-scheduler-page {
    width: min(100% - 18px, 1240px);
    padding-top: 10px;
  }

  .online-scheduler-window,
  .scheduler-frame-large {
    min-height: 720px;
  }

  .scheduler-fallback-row .button {
    width: 100%;
  }
}

.contact-info-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-info-list a,
.contact-info-list span {
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--offwhite);
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid #dcebf0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.privacy-acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(15, 91, 99, .18);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(232, 245, 251, .46);
  font-size: .92rem;
  line-height: 1.5;
}

.privacy-acknowledgement input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--teal);
}

.compliance-layout {
  display: grid;
  gap: 24px;
}

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

.compliance-grid article {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(16, 47, 74, .1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 47, 74, .06);
}

.compliance-grid h3 {
  margin: 0 0 12px;
  color: var(--navy);
}

.compliance-grid ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.compliance-grid li + li {
  margin-top: 8px;
}

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

.recaptcha-slot:not([hidden]) {
  min-height: 78px;
  border: 1px dashed #c6e4ef;
  border-radius: 8px;
  background: var(--offwhite);
}

.smile-preview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 560px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .96), rgba(15, 91, 99, .78) 54%, rgba(238, 119, 104, .18)),
    image-set(url("cosmetic-hero.webp") type("image/webp"), url("cosmetic-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.smile-preview-hero h1,
.smile-preview-hero p,
.smile-preview-cta h2,
.smile-preview-cta p {
  color: var(--white);
}

.smile-preview-hero-copy {
  max-width: 820px;
}

.smile-finder-hero {
  grid-template-columns: minmax(0, 1fr);
}

.smile-finder-hero .smile-preview-hero-copy {
  max-width: 920px;
}

.smile-preview-hero-copy p:not(.eyebrow) {
  max-width: 740px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.smile-privacy-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.smile-privacy-card strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.smile-privacy-card span {
  color: var(--muted);
}

.smile-preview-intro {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.preview-tool {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, var(--offwhite), #ffffff);
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(22px, 4vw, 38px);
  align-items: start;
}

.preview-canvas-card,
.preview-controls {
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-canvas-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.file-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .85rem 1.18rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
  cursor: pointer;
}

.file-upload-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#uploaded-file-name {
  color: var(--muted);
  font-weight: 800;
}

.smile-canvas-wrap {
  overflow: hidden;
  border: 1px solid #c6e4ef;
  border-radius: 8px;
  background: var(--offwhite);
}

#smile-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  touch-action: none;
  cursor: grab;
}

#smile-canvas:active {
  cursor: grabbing;
}

.preview-status {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.preview-tip {
  margin: -6px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--navy);
  background: var(--offwhite);
  font-weight: 800;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.finished-preview {
  margin-top: clamp(28px, 5vw, 50px);
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.finished-preview[hidden] {
  display: none;
}

.compact-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

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

.finished-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--offwhite);
}

.finished-panel figcaption {
  padding: 12px 14px;
  color: var(--navy);
  background: var(--white);
  border-bottom: 1px solid #dcebf0;
  font-weight: 900;
}

.after-panel figcaption {
  color: #153a2d;
  background: #f6fff8;
}

.finished-panel canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
}

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

.smile-recommendations article {
  padding: 18px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--offwhite);
}

.smile-recommendations strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.25;
}

.smile-recommendations p {
  margin-bottom: 0;
  color: var(--muted);
}

.smile-ai-planner {
  margin-top: clamp(24px, 5vw, 42px);
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.smile-faq-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.smile-faq-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.smile-faq-form legend {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
}

.faq-results {
  margin-top: 24px;
  grid-template-columns: minmax(0, 1fr);
}

.faq-result-card h3 {
  margin: 0;
}

.result-intro,
.result-cta {
  grid-column: 1 / -1;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 8px;
}

.result-intro {
  border: 1px solid #dcebf0;
  border-left: 4px solid var(--teal);
  background: #ffffff;
}

.result-intro h3,
.result-cta h3 {
  margin: 0 0 8px;
}

.result-intro p,
.result-cta p {
  margin: 0;
}

.treatment-result-card {
  display: grid;
  gap: 14px;
}

.treatment-result-card .eyebrow {
  margin-bottom: -4px;
}

.result-block {
  padding: 14px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: #ffffff;
}

.result-block h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
}

.result-block p {
  margin: 0;
}

.result-block p + p {
  margin-top: 8px;
}

.result-block ul {
  margin: 8px 0 0 20px;
  padding: 0;
  color: var(--muted);
}

.result-block li + li {
  margin-top: 5px;
}

.result-offer {
  border-color: rgba(200, 152, 76, .42);
  background: #fffaf1;
}

.result-price {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 900;
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #c8dce3;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.result-links a:hover,
.result-links a:focus {
  border-color: var(--teal);
  color: var(--teal);
}

.result-cta {
  display: grid;
  gap: 12px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.result-cta h3,
.result-cta p {
  color: var(--white);
}

.result-cta span {
  color: #f5d489;
  font-weight: 900;
}

.faq-treatment-grid {
  display: grid;
  gap: 12px;
}

.faq-treatment-grid details {
  padding: 18px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  background: var(--offwhite);
}

.faq-treatment-grid summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-treatment-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-treatment-grid p + p {
  margin-top: 10px;
}

.faq-treatment-grid strong {
  color: var(--navy);
}

.planner-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.planner-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  color: var(--navy);
  background: var(--offwhite);
  font-weight: 800;
}

.planner-options input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal);
}

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

.planner-results article {
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--offwhite);
}

.planner-results strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
}

.planner-results p {
  margin-bottom: 0;
  color: var(--muted);
}

.planner-disclaimer,
.planner-empty {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--muted);
  background: #fffaf0;
}

.preview-controls {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
}

.preview-controls label {
  display: grid;
  gap: 9px;
  color: var(--navy);
  font-weight: 900;
}

.preview-controls input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.preview-controls select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid #dcebf0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.preview-note {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--offwhite);
}

.preview-note strong {
  color: var(--navy);
}

.preview-note span {
  color: var(--muted);
}

.toggle-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--offwhite);
}

.toggle-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
}

.smile-preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--navy));
}

.smile-preview-cta p {
  max-width: 780px;
}

.reviews-widget[hidden] {
  display: none;
}

.area-hero,
.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  min-height: 560px;
  padding: clamp(38px, 7vw, 86px) max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .94), rgba(15, 91, 99, .78) 48%, rgba(16, 47, 74, .2)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.city-hero {
  background:
    linear-gradient(90deg, rgba(8, 38, 61, .95), rgba(15, 91, 99, .82) 50%, rgba(242, 189, 75, .16)),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.area-hero h1,
.area-hero p,
.city-hero h1,
.city-hero p,
.city-cta h2,
.city-cta p {
  color: var(--white);
}

.area-hero-copy,
.city-hero-copy {
  max-width: 780px;
}

.area-hero-copy p:not(.eyebrow),
.city-hero-copy p:not(.eyebrow) {
  max-width: 700px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.area-card,
.city-fact-card {
  padding: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}

.area-card strong,
.city-fact-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.area-card span,
.city-fact-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

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

.area-city-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid #dcebf0;
  border-radius: 8px;
  color: inherit;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 47, 74, .06);
}

.area-city-card strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.area-city-card span {
  color: var(--muted);
}

.city-intro,
.city-services,
.city-faq {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.city-intro p,
.city-services p,
.city-faq p {
  color: var(--muted);
  font-size: 1.05rem;
}

.city-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.city-service-list a {
  padding: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--offwhite);
  text-decoration: none;
  font-weight: 900;
}

.city-service-list a:hover,
.area-city-card:hover {
  transform: translateY(-2px);
}

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

.city-proof-grid article {
  min-height: 150px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 47, 74, .05);
}

.city-proof-grid strong {
  color: var(--navy);
}

.city-proof-grid p {
  color: var(--muted);
}

.city-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--navy));
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links,
  .nav-actions .text-link {
    display: none;
  }

  .hero,
  .emergency,
  .split,
  .insurance,
  .implant-intro,
  .cosmetic-intro,
  .cosmetic-why,
  .tech-experience,
  .implant-trust,
  .cost-consult,
  .services-hero,
  .service-category,
  .treatment-hero,
  .treatment-page-grid,
  .blog-hero,
  .blog-post-hero,
  .blog-index-intro,
  .contact-hero,
  .thank-you-hero,
  .contact-layout,
  .smile-preview-hero,
  .smile-preview-intro,
  .preview-layout,
  .finished-grid,
  .smile-recommendations,
  .planner-options,
  .planner-results,
  .area-hero,
  .city-hero,
  .city-intro,
  .city-services,
  .city-faq,
  .insurance-hero,
  .insurance-intro,
  .insurance-checker,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-media,
  .photo-panel {
    min-height: 380px;
  }

  .service-grid,
  .benefit-grid,
  .benefit-check-grid,
  .all-service-link-grid,
  .local-keyword-grid,
  .before-after-grid,
  .step-list,
  .related-treatment-grid,
  .blog-grid,
  .implant-service-row,
  .cosmetic-card-grid,
  .gallery-grid,
  .areas-grid,
  .local-keyword-grid,
  .city-proof-grid,
  .insurance-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-category-heading {
    position: static;
  }

  .emergency-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .implant-hero,
  .cosmetic-hero {
    min-height: 640px;
    align-items: center;
    background-position: 58% center;
  }

  .implant-hero-trust {
    position: static;
    margin-top: 28px;
  }
}

/* Premium design refresh inspired by calm, high-end dental websites. */
:root {
  --navy: #183443;
  --teal: #0b6864;
  --teal-deep: #064a4c;
  --blue-soft: #eef7f4;
  --blue-line: #d4e7e1;
  --gold: #ffb51f;
  --gold-dark: #bf6900;
  --coral: #f7941d;
  --ink: #172f37;
  --muted: #60767d;
  --white: #ffffff;
  --offwhite: #f7fbef;
  --linen: #ffffff;
  --sage: #dfeae3;
  --shadow: 0 24px 60px rgba(24, 52, 67, .13);
}

body {
  background: var(--linen);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h3 {
  letter-spacing: 0;
}

.site-header {
  background: rgba(251, 248, 241, .94);
  border-bottom: 1px solid rgba(24, 52, 67, .08);
  box-shadow: 0 8px 28px rgba(24, 52, 67, .06);
}

.nav {
  min-height: 84px;
  gap: 18px;
}

.brand-logo {
  width: clamp(166px, 16vw, 224px);
}

.nav-links {
  gap: 6px;
  justify-content: center;
}

.nav-links a,
.text-link {
  padding: .48rem .62rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: .9rem;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--teal-deep);
  background: rgba(11, 104, 100, .08);
}

.navigation-ribbon {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px max(16px, calc((100% - 1180px) / 2)) 12px;
  border-top: 1px solid rgba(24, 52, 67, .08);
  background: rgba(255, 255, 255, .72);
}

.navigation-ribbon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .48rem .82rem;
  border: 1px solid rgba(24, 52, 67, .1);
  border-radius: 999px;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}

.navigation-ribbon a:first-child {
  color: #1f2f3f;
  border-color: rgba(255, 181, 31, .62);
  background: rgba(255, 181, 31, .18);
}

.button {
  border-radius: 8px;
  letter-spacing: .01em;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(24, 52, 67, .14);
}

.button-gold {
  color: #21323a;
  background: linear-gradient(135deg, #ffcf38, var(--gold));
}

.button-navy {
  background: linear-gradient(135deg, var(--navy), var(--teal-deep));
}

.hero {
  width: 100%;
  min-height: clamp(640px, 78vh, 820px);
  margin: 0;
  padding: clamp(72px, 9vw, 124px) max(18px, calc((100% - 1180px) / 2)) clamp(82px, 10vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 48, 54, .88) 0%, rgba(6, 48, 54, .7) 44%, rgba(6, 48, 54, .16) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
}

.hero-content {
  max-width: 760px;
}

.hero h1,
.hero .hero-subhead,
.hero .intro-copy {
  color: var(--white);
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  text-wrap: balance;
}

.hero .eyebrow {
  color: #ffd457;
}

.hero-subhead {
  color: rgba(255, 255, 255, .9);
}

.hero .intro-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, .86);
}

.trust-bar {
  color: #17333d;
  background: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .13);
}

.hero-media {
  display: none;
}

.emergency {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 74, 76, .98), rgba(11, 104, 100, .94)),
    var(--teal-deep);
}

.section {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.service-category-heading h2 {
  text-wrap: balance;
}

.band,
.shaded-service-section,
.local-seo-band,
.all-service-links {
  background: var(--offwhite);
}

.service-card,
.treatment-card,
.blog-card,
.benefit-grid article,
blockquote,
.doctor-highlights,
.insurance-list,
.insurance,
.service-jump-card,
.insurance-quick-card,
.contact-card,
.consult-card,
.preview-canvas-card,
.preview-controls {
  border: 1px solid rgba(24, 52, 67, .1);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(24, 52, 67, .07);
}

.service-card,
.treatment-card,
.blog-card,
.benefit-grid article {
  background: rgba(255, 255, 255, .92);
}

.service-card:hover,
.treatment-card:hover,
.blog-card:hover,
.service-card:focus-visible,
.treatment-card:focus-visible,
.blog-card:focus-visible {
  border-color: rgba(11, 104, 100, .38);
  box-shadow: 0 24px 50px rgba(24, 52, 67, .12);
  transform: translateY(-3px);
}

.icon-circle {
  color: var(--teal-deep);
  background: var(--sage);
}

.benefit-grid article {
  border-left: 0;
  border-top: 4px solid rgba(255, 181, 31, .8);
}

.split {
  align-items: start;
}

.doctor-photo {
  min-height: 560px;
  position: sticky;
  top: 160px;
  background:
    linear-gradient(180deg, rgba(6, 74, 76, .06), rgba(6, 74, 76, .02)),
    image-set(url("practice-images/dr-sukhdeep-kingra.webp") type("image/webp"));
  background-position: center top;
  background-size: cover;
}

.doctor-quote,
blockquote {
  background: #fffdf8;
}

.reviews,
.insurance {
  background: transparent;
}

.insurance,
.new-patient,
.services-cta,
.treatment-cta-strip,
.city-cta,
.smile-preview-cta {
  border-radius: 8px;
}

.insurance {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(239, 247, 244, .94));
}

.new-patient,
.services-cta,
.treatment-cta-strip,
.city-cta,
.smile-preview-cta {
  background: linear-gradient(135deg, var(--teal-deep), var(--navy));
}

.implant-hero,
.cosmetic-hero,
.services-hero,
.treatment-hero,
.blog-hero,
.blog-post-hero,
.contact-hero,
.thank-you-hero,
.smile-preview-hero,
.area-hero,
.city-hero,
.insurance-hero {
  min-height: clamp(560px, 70vh, 760px);
  background-position: center;
}

.implant-hero h1,
.cosmetic-hero h1,
.services-hero h1,
.treatment-hero h1,
.blog-hero h1,
.blog-post-hero h1,
.contact-hero h1,
.thank-you-hero h1,
.smile-preview-hero h1,
.area-hero h1,
.city-hero h1,
.insurance-hero h1 {
  font-size: clamp(2.65rem, 5.8vw, 5.4rem);
  text-wrap: balance;
}

.service-jump-card,
.insurance-quick-card,
.treatment-hero-card,
.implant-hero-trust {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
}

.video-thumb {
  background:
    linear-gradient(135deg, rgba(24, 52, 67, .92), rgba(6, 74, 76, .82)),
    linear-gradient(45deg, var(--sage), #ffffff);
}

.blog-card-image {
  filter: saturate(.96) contrast(1.02);
}

.footer {
  background:
    linear-gradient(135deg, #102d39, #062f34);
}

.quick-nav-button {
  border-color: rgba(24, 52, 67, .12);
  background: rgba(255, 255, 255, .92);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }

  .brand {
    margin-right: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .navigation-ribbon {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: thin;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 650px;
    padding-top: 74px;
    padding-bottom: 94px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .trust-bar {
    display: inline-flex;
  }

  .emergency {
    margin-top: -32px;
  }

  .doctor-photo {
    position: static;
    min-height: 420px;
    background-position: center top;
  }

  .brand-logo {
    width: min(172px, 48vw);
  }

  .nav-actions .text-link {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 132px;
  }

  .nav {
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .brand-logo {
    width: min(158px, 43vw);
    max-height: 48px;
  }

  .footer-brand-logo {
    width: 190px;
    max-height: none;
  }

  .brand small {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .hero,
  .section,
  .emergency {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions .button,
  .emergency-actions .button,
  .new-patient .button {
    width: 100%;
  }

  .trust-bar {
    display: block;
  }

  .hero-media,
  .photo-panel {
    min-height: 320px;
  }

  .photo-main {
    inset: 16px 16px 78px;
  }

  .photo-card {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .emergency {
    padding: 22px;
  }

  .service-grid,
  .benefit-grid,
  .benefit-check-grid,
  .all-service-link-grid,
  .local-keyword-grid,
  .before-after-grid,
  .implant-service-row,
  .cosmetic-card-grid,
  .gallery-grid,
  .review-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-card,
  .benefit-grid article {
    min-height: auto;
  }

  .new-patient {
    display: grid;
  }

  .implant-hero,
  .cosmetic-hero {
    min-height: 620px;
    padding-top: 44px;
    background-position: 62% center;
  }

  .implant-hero-actions .button,
  .cosmetic-cta-actions .button {
    width: 100%;
  }

  .cosmetic-cta {
    display: grid;
  }

  .smile-preview-cta {
    display: grid;
  }

  .preview-actions .button,
  .smile-preview-cta .button {
    width: 100%;
  }

  .insurance-cta {
    display: grid;
  }

  .services-cta {
    display: grid;
  }

  .treatment-cta-strip {
    display: grid;
  }

  .city-cta {
    display: grid;
  }

  .cosmetic-cta-actions {
    justify-content: stretch;
  }

  .insurance-hero-actions .button {
    width: 100%;
  }

  .checker-input-row {
    grid-template-columns: 1fr;
  }

  .checker-input-row .button {
    width: 100%;
  }

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

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

  .services-hero {
    min-height: 620px;
    padding-top: 44px;
  }

  .area-hero,
  .city-hero {
    min-height: 600px;
    padding-top: 44px;
  }

  .blog-hero,
  .blog-post-hero,
  .contact-hero,
  .smile-preview-hero,
  .thank-you-hero {
    min-height: 620px;
    padding-top: 44px;
  }

  .services-cta .button,
  .treatment-cta-strip .button,
  .city-cta .button {
    width: 100%;
  }

  .areas-grid,
  .city-proof-grid,
  .city-service-list,
  .detail-grid,
  .compact-benefits,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .mobile-call {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    border-radius: 8px;
    color: #1f2f3f;
    background: var(--gold);
    box-shadow: 0 16px 34px rgba(16, 47, 74, .22);
    text-decoration: none;
    font-weight: 900;
  }

  .quick-nav {
    left: 12px;
    right: 12px;
    bottom: 78px;
    justify-content: center;
  }

  .quick-nav-button {
    flex: 1 1 0;
    max-width: 170px;
    min-height: 46px;
    padding: .68rem .74rem;
  }
}

@media (max-width: 680px) {
  .hero {
    width: 100%;
    min-height: 650px;
    padding: 74px 18px 94px;
    background-position: 58% center;
  }

  .hero-media {
    display: none;
  }

  .trust-bar {
    display: inline-flex;
  }

  .brand-logo {
    width: min(172px, 48vw);
  }

  .navigation-ribbon {
    padding-inline: 12px;
  }

  .navigation-ribbon a {
    min-height: 34px;
    padding: .45rem .72rem;
  }

  .nav-actions .text-link {
    display: none;
  }
}

/* Header cleanup: Back/Home floating buttons removed per navigation simplification. */
.quick-nav {
  display: none !important;
}

/* Sunnyside Smiles logo-palette refresh: green, lime, smile-gold, white, and charcoal. */
:root {
  --navy: #101820;
  --teal: #4aa52c;
  --teal-deep: #275f1f;
  --blue-soft: #f4faea;
  --blue-line: #d9edb5;
  --gold: #ffb51f;
  --gold-dark: #bf6900;
  --coral: #f7941d;
  --ink: #101820;
  --muted: #51635b;
  --white: #ffffff;
  --offwhite: #f7fbef;
  --linen: #ffffff;
  --sage: #edf8da;
  --shadow: 0 24px 58px rgba(39, 95, 31, .13);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbef 46%, #ffffff 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(74, 165, 44, .18);
  box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
}

.nav-links a,
.text-link {
  color: #172018;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--teal-deep);
  background: rgba(185, 218, 0, .14);
}

.navigation-ribbon {
  border-top: 1px solid rgba(74, 165, 44, .16);
  background: linear-gradient(90deg, rgba(247, 251, 239, .96), rgba(255, 255, 255, .92));
}

.navigation-ribbon a {
  border-color: rgba(74, 165, 44, .28);
  background: #ffffff;
  color: var(--teal-deep);
}

.navigation-ribbon a:first-child {
  color: #101820;
  border-color: rgba(255, 181, 31, .64);
  background: linear-gradient(135deg, rgba(255, 181, 31, .22), rgba(247, 148, 29, .12));
}

.navigation-ribbon a:hover {
  color: #101820;
  border-color: rgba(74, 165, 44, .55);
  background: rgba(185, 218, 0, .16);
}

.button-gold,
.mobile-call {
  color: #101820;
  background: linear-gradient(135deg, #ffcf38 0%, #ffb51f 45%, #f7941d 100%);
  box-shadow: 0 18px 34px rgba(247, 148, 29, .24);
}

.button-gold:hover,
.mobile-call:hover {
  background: linear-gradient(135deg, #ffd84f 0%, #ffba28 45%, #f08c13 100%);
  box-shadow: 0 20px 42px rgba(247, 148, 29, .3);
}

.button-navy {
  color: #ffffff;
  background: linear-gradient(135deg, #7fc321 0%, #4aa52c 55%, #2f7a23 100%);
  box-shadow: 0 18px 34px rgba(74, 165, 44, .22);
}

.button-navy:hover {
  background: linear-gradient(135deg, #8bd42a 0%, #4fae2e 55%, #2b6f20 100%);
}

.button-outline,
.button-outline-light {
  border-color: rgba(255, 181, 31, .62);
}

.hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 12, .9) 0%, rgba(38, 95, 31, .76) 48%, rgba(255, 181, 31, .12) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
}

.hero .eyebrow,
.eyebrow,
.section-heading .eyebrow {
  color: #4f9818;
}

.hero .eyebrow,
.implant-hero .eyebrow,
.cosmetic-hero .eyebrow,
.services-hero .eyebrow,
.treatment-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow,
.contact-hero .eyebrow,
.thank-you-hero .eyebrow,
.smile-preview-hero .eyebrow,
.area-hero .eyebrow,
.city-hero .eyebrow,
.insurance-hero .eyebrow {
  color: #ffd457;
}

.trust-bar {
  color: #163410;
  border-color: rgba(185, 218, 0, .38);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(39, 95, 31, .18);
}

.emergency,
.new-patient,
.services-cta,
.treatment-cta-strip,
.insurance-cta,
.city-cta,
.cosmetic-cta,
.smile-preview-cta,
.local-seo-band {
  background: linear-gradient(135deg, #2f7a23 0%, #4aa52c 54%, #7fc321 100%);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(47, 122, 35, .18);
}

.emergency {
  border: 1px solid rgba(255, 181, 31, .38);
}

.emergency::before,
.new-patient::before {
  background: linear-gradient(180deg, #ffcf38, #f7941d);
}

.service-card,
.benefit-card,
.review-card,
.insurance-card,
.faq-list details,
.doctor-card,
.new-patient-card,
.service-jump-card,
.service-detail-card,
.treatment-card,
.blog-card,
.blog-feature-card,
.contact-card,
.payment-card,
.area-card,
.city-fact-card,
.smile-result-card,
.checker-card,
.implant-benefit-card,
.implant-option-card,
.cosmetic-service-card,
.technology-card {
  border-color: rgba(74, 165, 44, .18);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(39, 95, 31, .08);
}

.service-card:hover,
.treatment-card:hover,
.blog-card:hover,
.area-card:hover {
  border-color: rgba(74, 165, 44, .48);
  box-shadow: 0 24px 58px rgba(39, 95, 31, .14);
}

.service-card h3,
.benefit-card h3,
.insurance-card h3,
.treatment-card h2,
.blog-card h2,
.contact-card h2,
.doctor-card h2 {
  color: #163410;
}

.service-icon,
.benefit-icon,
.emergency-icon,
.video-play,
.icon-badge {
  color: #101820;
  background: linear-gradient(135deg, #ffcf38, #f7941d);
  box-shadow: 0 14px 28px rgba(247, 148, 29, .22);
}

.doctor-photo {
  border-color: rgba(185, 218, 0, .5);
  box-shadow: 0 24px 50px rgba(39, 95, 31, .18);
}

.implant-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 12, .9) 0%, rgba(39, 95, 31, .76) 52%, rgba(255, 181, 31, .12) 100%),
    image-set(url("implant-hero.webp") type("image/webp"), url("implant-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.cosmetic-hero,
.smile-preview-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 12, .9) 0%, rgba(39, 95, 31, .74) 52%, rgba(255, 181, 31, .14) 100%),
    image-set(url("cosmetic-hero.webp") type("image/webp"), url("cosmetic-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.services-hero,
.treatment-hero,
.blog-hero,
.blog-post-hero,
.contact-hero,
.thank-you-hero,
.area-hero,
.city-hero,
.insurance-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 12, .92) 0%, rgba(39, 95, 31, .76) 52%, rgba(255, 181, 31, .12) 100%),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.implant-hero-trust,
.treatment-hero-card,
.insurance-quick-card,
.smile-privacy-card {
  border: 1px solid rgba(74, 165, 44, .22);
  background: rgba(255, 255, 255, .93);
}

.insurance-accepted,
.accepted-list li,
.result-card.is-positive {
  border-color: rgba(74, 165, 44, .25);
  background: #f4faea;
}

.insurance-declined,
.result-card.is-negative {
  border-color: rgba(247, 148, 29, .28);
  background: #fff7e6;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline-color: #7fc321;
}

.footer {
  color: rgba(255, 255, 255, .86);
  background:
    linear-gradient(135deg, rgba(74, 165, 44, .18), rgba(247, 148, 29, .08)),
    #101820;
  border-top: 5px solid #7fc321;
}

.footer h2,
.footer a,
.footer strong {
  color: #ffffff;
}

.footer-links a,
.map-link {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.footer-links a:hover,
.map-link:hover {
  border-color: rgba(255, 181, 31, .64);
  background: rgba(255, 181, 31, .12);
}

/* Sunnyside desert-palette refresh: sand, cactus sage, sunlit ochre, clay, and charcoal. */
:root {
  --navy: #2d302a;
  --teal: #6f8a63;
  --teal-deep: #465f42;
  --blue-soft: #f7efe2;
  --blue-line: #ead8bf;
  --gold: #d89a45;
  --gold-dark: #9a5f2f;
  --coral: #b96347;
  --ink: #2d2924;
  --muted: #6b6258;
  --white: #ffffff;
  --offwhite: #fbf7ef;
  --linen: #f8f0e4;
  --sage: #e8eadb;
  --shadow: 0 24px 58px rgba(73, 58, 43, .13);
}

body {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f8f0e4 44%, #fffaf2 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(154, 95, 47, .16);
  box-shadow: 0 10px 30px rgba(73, 58, 43, .08);
}

.nav-links a,
.text-link {
  color: #383129;
}

.nav-links a:hover,
.text-link:hover {
  color: #465f42;
  background: rgba(111, 138, 99, .14);
}

.navigation-ribbon {
  border-top: 1px solid rgba(154, 95, 47, .14);
  background: linear-gradient(90deg, rgba(255, 250, 242, .96), rgba(248, 240, 228, .96));
}

.navigation-ribbon a {
  border-color: rgba(111, 138, 99, .28);
  background: rgba(255, 253, 248, .92);
  color: #465f42;
}

.navigation-ribbon a:first-child {
  color: #2d2924;
  border-color: rgba(216, 154, 69, .58);
  background: linear-gradient(135deg, rgba(216, 154, 69, .2), rgba(185, 99, 71, .12));
}

.navigation-ribbon a:hover {
  color: #2d2924;
  border-color: rgba(111, 138, 99, .48);
  background: rgba(232, 234, 219, .78);
}

.button-gold,
.mobile-call {
  color: #2d2924;
  background: linear-gradient(135deg, #efc76b 0%, #d89a45 48%, #b96347 100%);
  box-shadow: 0 18px 36px rgba(154, 95, 47, .22);
}

.button-gold:hover,
.mobile-call:hover {
  background: linear-gradient(135deg, #f4cf78 0%, #df9f48 48%, #ad573e 100%);
  box-shadow: 0 22px 44px rgba(154, 95, 47, .28);
}

.button-navy {
  color: #ffffff;
  background: linear-gradient(135deg, #6f8a63 0%, #465f42 58%, #2d302a 100%);
  box-shadow: 0 18px 34px rgba(70, 95, 66, .2);
}

.button-navy:hover {
  background: linear-gradient(135deg, #79966b 0%, #506b4b 58%, #2f332c 100%);
}

.button-outline,
.button-outline-light {
  border-color: rgba(239, 199, 107, .64);
}

.hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .88) 0%, rgba(70, 95, 66, .73) 48%, rgba(216, 154, 69, .16) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
}

.eyebrow,
.section-heading .eyebrow {
  color: #8a693f;
}

.hero .eyebrow,
.implant-hero .eyebrow,
.cosmetic-hero .eyebrow,
.services-hero .eyebrow,
.treatment-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow,
.contact-hero .eyebrow,
.thank-you-hero .eyebrow,
.smile-preview-hero .eyebrow,
.area-hero .eyebrow,
.city-hero .eyebrow,
.insurance-hero .eyebrow {
  color: #efc76b;
}

.trust-bar {
  color: #383129;
  border-color: rgba(232, 234, 219, .56);
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 18px 42px rgba(73, 58, 43, .16);
}

.emergency,
.new-patient,
.services-cta,
.treatment-cta-strip,
.insurance-cta,
.city-cta,
.cosmetic-cta,
.smile-preview-cta,
.local-seo-band {
  background: linear-gradient(135deg, #465f42 0%, #6f8a63 58%, #d89a45 100%);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(73, 58, 43, .18);
}

.emergency {
  border: 1px solid rgba(239, 199, 107, .42);
}

.emergency::before,
.new-patient::before {
  background: linear-gradient(180deg, #efc76b, #b96347);
}

.service-card,
.benefit-card,
.review-card,
.insurance-card,
.faq-list details,
.doctor-card,
.new-patient-card,
.service-jump-card,
.service-detail-card,
.treatment-card,
.blog-card,
.blog-feature-card,
.contact-card,
.payment-card,
.area-card,
.city-fact-card,
.smile-result-card,
.checker-card,
.implant-benefit-card,
.implant-option-card,
.cosmetic-service-card,
.technology-card {
  border-color: rgba(111, 138, 99, .18);
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 18px 45px rgba(73, 58, 43, .08);
}

.service-card:hover,
.treatment-card:hover,
.blog-card:hover,
.area-card:hover {
  border-color: rgba(111, 138, 99, .44);
  box-shadow: 0 24px 58px rgba(73, 58, 43, .14);
}

.service-card h3,
.benefit-card h3,
.insurance-card h3,
.treatment-card h2,
.blog-card h2,
.contact-card h2,
.doctor-card h2 {
  color: #383129;
}

.service-icon,
.benefit-icon,
.emergency-icon,
.video-play,
.icon-badge {
  color: #2d2924;
  background: linear-gradient(135deg, #efc76b, #b96347);
  box-shadow: 0 14px 28px rgba(154, 95, 47, .22);
}

.doctor-photo {
  border-color: rgba(216, 154, 69, .45);
  box-shadow: 0 24px 50px rgba(73, 58, 43, .18);
}

.implant-hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(70, 95, 66, .74) 52%, rgba(216, 154, 69, .16) 100%),
    image-set(url("implant-hero.webp") type("image/webp"), url("implant-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.cosmetic-hero,
.smile-preview-hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(70, 95, 66, .72) 52%, rgba(216, 154, 69, .18) 100%),
    image-set(url("cosmetic-hero.webp") type("image/webp"), url("cosmetic-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.services-hero,
.treatment-hero,
.blog-hero,
.blog-post-hero,
.contact-hero,
.thank-you-hero,
.area-hero,
.city-hero,
.insurance-hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .92) 0%, rgba(70, 95, 66, .74) 52%, rgba(216, 154, 69, .16) 100%),
    image-set(url("sunnyside-hero.webp") type("image/webp"), url("sunnyside-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.implant-hero-trust,
.treatment-hero-card,
.insurance-quick-card,
.smile-privacy-card {
  border: 1px solid rgba(111, 138, 99, .2);
  background: rgba(255, 253, 248, .94);
}

.insurance-accepted,
.accepted-list li,
.result-card.is-positive {
  border-color: rgba(111, 138, 99, .25);
  background: #f2f2e4;
}

.insurance-declined,
.result-card.is-negative {
  border-color: rgba(185, 99, 71, .26);
  background: #fff4e8;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline-color: #6f8a63;
}

.footer {
  color: rgba(255, 253, 248, .86);
  background:
    linear-gradient(135deg, rgba(111, 138, 99, .22), rgba(185, 99, 71, .1)),
    #2d2924;
  border-top: 5px solid #d89a45;
}

.footer h2,
.footer a,
.footer strong {
  color: #fffdf8;
}

.footer-links a,
.map-link {
  border-color: rgba(255, 253, 248, .14);
  background: rgba(255, 253, 248, .06);
}

.footer-links a:hover,
.map-link:hover {
  border-color: rgba(239, 199, 107, .64);
  background: rgba(239, 199, 107, .12);
}

/* Frosted image-blend header treatment inspired by editorial dental sites. */
html {
  scroll-padding-top: 150px;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 40;
  border: 1px solid rgba(255, 253, 248, .46);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .7), rgba(248, 240, 228, .42)),
    rgba(255, 253, 248, .32);
  box-shadow: 0 22px 54px rgba(45, 41, 36, .18);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 199, 107, .22), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(111, 138, 99, .2), transparent 38%);
  opacity: .9;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.nav {
  min-height: 76px;
  background: transparent;
}

.nav-links a {
  background: rgba(255, 253, 248, .22);
}

.nav-links a:hover {
  background: rgba(255, 253, 248, .52);
}

.nav-actions .button {
  box-shadow: 0 12px 28px rgba(45, 41, 36, .14);
}

.navigation-ribbon {
  border-top: 1px solid rgba(255, 253, 248, .36);
  background: rgba(255, 253, 248, .18);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.navigation-ribbon a {
  background: rgba(255, 253, 248, .34);
  border-color: rgba(255, 253, 248, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32);
}

.navigation-ribbon a:first-child {
  background: linear-gradient(135deg, rgba(239, 199, 107, .44), rgba(185, 99, 71, .18));
}

.hero,
.implant-hero,
.cosmetic-hero,
.services-hero,
.treatment-hero,
.blog-hero,
.blog-post-hero,
.contact-hero,
.thank-you-hero,
.smile-preview-hero,
.area-hero,
.city-hero,
.insurance-hero {
  padding-top: clamp(154px, 14vw, 216px);
}

.hero::before,
.implant-hero::before,
.cosmetic-hero::before,
.services-hero::before,
.treatment-hero::before,
.blog-hero::before,
.blog-post-hero::before,
.contact-hero::before,
.thank-you-hero::before,
.smile-preview-hero::before,
.area-hero::before,
.city-hero::before,
.insurance-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(45, 41, 36, .22), transparent 28%),
    radial-gradient(circle at 8% 12%, rgba(255, 253, 248, .12), transparent 34%);
}

.hero,
.implant-hero,
.cosmetic-hero,
.services-hero,
.treatment-hero,
.blog-hero,
.blog-post-hero,
.contact-hero,
.thank-you-hero,
.smile-preview-hero,
.area-hero,
.city-hero,
.insurance-hero {
  position: relative;
  overflow: hidden;
}

.hero > *,
.implant-hero > *,
.cosmetic-hero > *,
.services-hero > *,
.treatment-hero > *,
.blog-hero > *,
.blog-post-hero > *,
.contact-hero > *,
.thank-you-hero > *,
.smile-preview-hero > *,
.area-hero > *,
.city-hero > *,
.insurance-hero > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .nav {
    min-height: 72px;
  }

  .hero,
  .implant-hero,
  .cosmetic-hero,
  .services-hero,
  .treatment-hero,
  .blog-hero,
  .blog-post-hero,
  .contact-hero,
  .thank-you-hero,
  .smile-preview-hero,
  .area-hero,
  .city-hero,
  .insurance-hero {
    padding-top: 168px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 14px;
  }

  .nav {
    min-height: 68px;
    padding-inline: 12px;
  }

  .navigation-ribbon {
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .hero,
  .implant-hero,
  .cosmetic-hero,
  .services-hero,
  .treatment-hero,
  .blog-hero,
  .blog-post-hero,
  .contact-hero,
  .thank-you-hero,
  .smile-preview-hero,
  .area-hero,
  .city-hero,
  .insurance-hero {
    padding-top: 148px;
  }
}

/* Layout refinement: blend Services and Dr. Kingra sections into the desert/glass system. */
.services-hero {
  min-height: clamp(660px, 82vh, 860px);
  grid-template-columns: minmax(0, 700px) minmax(270px, 360px);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(45, 41, 36, .66) 38%, rgba(70, 95, 66, .34) 68%, rgba(216, 154, 69, .12) 100%),
    image-set(url("blog-images/custom/family-dentist-fresno-treatment.webp") type("image/webp"));
  background-position: center 42%;
  background-size: cover;
}

.services-hero-copy {
  max-width: 700px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 253, 248, .28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(45, 41, 36, .36), rgba(70, 95, 66, .2)),
    rgba(255, 253, 248, .08);
  box-shadow: 0 24px 58px rgba(45, 41, 36, .18);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.services-hero-copy p:not(.eyebrow) {
  color: rgba(255, 253, 248, .9);
}

.services-hero .service-jump-card {
  align-self: end;
  border: 1px solid rgba(255, 253, 248, .34);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .64), rgba(248, 240, 228, .42)),
    rgba(255, 253, 248, .22);
  box-shadow: 0 24px 58px rgba(45, 41, 36, .18);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.services-hero .service-jump-card strong {
  color: #2d2924;
}

#doctor.split {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 9vw, 124px) max(18px, calc((100% - 1180px) / 2));
  grid-template-columns: minmax(280px, 470px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 14%, rgba(239, 199, 107, .22), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(111, 138, 99, .16), transparent 36%),
    linear-gradient(135deg, #fffdf8 0%, #f8f0e4 54%, #f2eadb 100%);
  border-top: 1px solid rgba(154, 95, 47, .12);
  border-bottom: 1px solid rgba(154, 95, 47, .12);
}

#doctor .doctor-photo {
  position: relative;
  top: auto;
  min-height: clamp(500px, 58vw, 680px);
  border-radius: 22px;
  border: 1px solid rgba(255, 253, 248, .72);
  background:
    linear-gradient(180deg, rgba(45, 41, 36, 0) 42%, rgba(45, 41, 36, .34) 100%),
    image-set(url("practice-images/dr-sukhdeep-kingra.webp") type("image/webp"));
  background-position: center top;
  background-size: cover;
  box-shadow: 0 32px 70px rgba(45, 41, 36, .18);
}

#doctor .doctor-photo::after {
  content: "Founder & Lead Dentist";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 253, 248, .36);
  border-radius: 14px;
  color: #fffdf8;
  background: rgba(45, 41, 36, .34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 900;
}

#doctor > div:not(.doctor-photo) {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 253, 248, .68);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .88), rgba(248, 240, 228, .72));
  box-shadow: 0 26px 64px rgba(73, 58, 43, .12);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

#doctor h2 {
  max-width: 760px;
  color: #2d2924;
}

#doctor .lead {
  max-width: 680px;
  color: #465f42;
  font-weight: 900;
}

#doctor p:not(.eyebrow):not(.lead) {
  color: #4f473f;
}

#doctor .doctor-highlights {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#doctor .doctor-highlights ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#doctor .doctor-highlights li {
  min-height: 48px;
  padding: 12px 14px 12px 36px;
  border: 1px solid rgba(111, 138, 99, .18);
  border-radius: 12px;
  color: #4f473f;
  background: rgba(255, 253, 248, .68);
}

#doctor .doctor-highlights li::before {
  left: 14px;
  top: 12px;
  color: #9a5f2f;
}

#doctor .doctor-quote {
  border: 1px solid rgba(216, 154, 69, .28);
  border-left: 5px solid #d89a45;
  background: rgba(255, 250, 242, .82);
}

#doctor .button {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .services-hero,
  #doctor.split {
    grid-template-columns: 1fr;
  }

  .services-hero {
    background-position: 58% center;
  }

  .services-hero .service-jump-card {
    max-width: 520px;
  }

  #doctor .doctor-photo {
    min-height: 520px;
    width: min(100%, 520px);
  }
}

@media (max-width: 680px) {
  .services-hero {
    min-height: 720px;
    background-position: 62% center;
  }

  .services-hero-copy {
    padding: 20px;
    border-radius: 16px;
  }

  #doctor.split {
    padding: 58px 16px;
  }

  #doctor .doctor-photo {
    min-height: 430px;
    border-radius: 18px;
  }

  #doctor > div:not(.doctor-photo) {
    padding: 22px;
    border-radius: 18px;
  }

  #doctor .doctor-highlights ul {
    grid-template-columns: 1fr;
  }
}

/* Dedicated Dr. Kingra luxury page and homepage teaser. */
.doctor-luxury-teaser {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(76px, 9vw, 128px) max(18px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 14%, rgba(239, 199, 107, .24), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(111, 138, 99, .16), transparent 36%),
    linear-gradient(135deg, #fffdf8 0%, #f8f0e4 54%, #f2eadb 100%);
  border-block: 1px solid rgba(154, 95, 47, .12);
}

.doctor-teaser-image,
.doctor-statement-photo {
  background:
    linear-gradient(180deg, rgba(45, 41, 36, 0) 42%, rgba(45, 41, 36, .34) 100%),
    image-set(url("practice-images/dr-sukhdeep-kingra.webp") type("image/webp"));
  background-position: center top;
  background-size: cover;
}

.doctor-teaser-image {
  min-height: clamp(520px, 58vw, 690px);
  border: 1px solid rgba(255, 253, 248, .72);
  border-radius: 26px;
  box-shadow: 0 34px 74px rgba(45, 41, 36, .2);
}

.doctor-teaser-copy {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 253, 248, .72);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 253, 248, .9), rgba(248, 240, 228, .74));
  box-shadow: 0 28px 68px rgba(73, 58, 43, .13);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.doctor-teaser-copy h2 {
  max-width: 760px;
  color: #2d2924;
}

.doctor-teaser-copy .lead {
  color: #465f42;
  font-weight: 900;
}

.doctor-signature-statement {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(216, 154, 69, .32);
  border-left: 5px solid #d89a45;
  border-radius: 16px;
  background: rgba(255, 250, 242, .84);
}

.doctor-signature-statement p {
  margin: 0 0 10px;
  color: #2d2924;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 900;
}

.doctor-trust-row,
.doctor-teaser-actions,
.doctor-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doctor-trust-row {
  margin: 26px 0 22px;
}

.doctor-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .58rem .84rem;
  border: 1px solid rgba(111, 138, 99, .22);
  border-radius: 999px;
  color: #4f473f;
  background: rgba(255, 253, 248, .76);
  font-weight: 900;
}

.doctor-page-hero {
  min-height: clamp(720px, 88vh, 920px);
  padding: clamp(158px, 14vw, 220px) max(18px, calc((100% - 1180px) / 2)) clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(30px, 6vw, 76px);
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fffdf8;
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(70, 95, 66, .7) 56%, rgba(216, 154, 69, .18) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
}

.doctor-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 199, 107, .2), transparent 28%),
    linear-gradient(180deg, rgba(45, 41, 36, .18), transparent 34%);
}

.doctor-page-hero > * {
  position: relative;
  z-index: 1;
}

.doctor-page-copy {
  max-width: 790px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 253, 248, .28);
  border-radius: 24px;
  background: rgba(45, 41, 36, .22);
  box-shadow: 0 28px 68px rgba(45, 41, 36, .2);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.doctor-page-copy h1,
.doctor-page-copy p {
  color: #fffdf8;
}

.doctor-page-copy h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  text-wrap: balance;
}

.doctor-statement-card {
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, .34);
  border-radius: 26px;
  background: rgba(255, 253, 248, .2);
  box-shadow: 0 28px 68px rgba(45, 41, 36, .2);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.doctor-statement-photo {
  min-height: 420px;
  border-radius: 18px;
}

.doctor-statement-card blockquote {
  margin: 16px 0 0;
  padding: 18px;
  border: 0;
  background: rgba(255, 253, 248, .84);
}

.doctor-statement-card p {
  margin: 0 0 10px;
  color: #2d2924;
  font-weight: 900;
}

.doctor-page-intro,
.doctor-page-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.doctor-page-intro {
  padding: clamp(56px, 8vw, 96px) 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.doctor-page-intro h2 {
  margin-bottom: 0;
}

.doctor-page-intro > p {
  margin: 0;
  color: #4f473f;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.doctor-page-grid {
  padding: 0 0 clamp(72px, 9vw, 118px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.doctor-bio-card,
.doctor-credential-panel {
  border: 1px solid rgba(255, 253, 248, .72);
  border-radius: 26px;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 28px 68px rgba(73, 58, 43, .12);
}

.doctor-bio-card {
  padding: clamp(28px, 5vw, 58px);
}

.doctor-bio-card p {
  color: #4f473f;
}

.doctor-credential-panel {
  position: sticky;
  top: 170px;
  padding: 28px;
}

.doctor-credential-panel h2 {
  margin-top: 0;
}

.doctor-credential-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-credential-panel li {
  padding: 13px 14px;
  border: 1px solid rgba(111, 138, 99, .2);
  border-radius: 12px;
  color: #4f473f;
  background: rgba(248, 240, 228, .62);
  font-weight: 800;
}

.doctor-luxury-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(72px, 9vw, 118px);
  padding: clamp(30px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 26px;
  background: linear-gradient(135deg, #465f42 0%, #6f8a63 58%, #d89a45 100%);
  color: #fffdf8;
  box-shadow: 0 28px 68px rgba(73, 58, 43, .18);
}

.doctor-luxury-cta h2,
.doctor-luxury-cta p {
  color: #fffdf8;
}

@media (max-width: 980px) {
  .doctor-luxury-teaser,
  .doctor-page-hero,
  .doctor-page-intro,
  .doctor-page-grid {
    grid-template-columns: 1fr;
  }

  .doctor-teaser-image,
  .doctor-statement-photo {
    min-height: 520px;
  }

  .doctor-statement-card {
    max-width: 520px;
  }

  .doctor-credential-panel {
    position: static;
  }

  .doctor-luxury-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .doctor-luxury-teaser {
    padding: 58px 16px;
  }

  .doctor-teaser-image,
  .doctor-statement-photo {
    min-height: 420px;
  }

  .doctor-teaser-copy,
  .doctor-page-copy,
  .doctor-bio-card,
  .doctor-credential-panel,
  .doctor-luxury-cta {
    border-radius: 18px;
  }

  .doctor-page-hero {
    min-height: 760px;
    padding-top: 148px;
  }

  .doctor-page-intro,
  .doctor-page-grid,
  .doctor-luxury-cta {
    width: min(100% - 24px, 1180px);
  }

  .doctor-teaser-actions .button,
  .doctor-page-actions .button {
    width: 100%;
  }
}

/* Area/service city cards: keep the six boxes in the desert palette instead of white. */
.local-keyword-grid a,
.area-city-card {
  border: 1px solid rgba(154, 95, 47, .24);
  background: linear-gradient(145deg, var(--sage), var(--linen));
  box-shadow: 0 18px 42px rgba(73, 58, 43, .11);
}

.local-keyword-grid a:nth-child(2),
.area-city-card:nth-child(2) {
  background: linear-gradient(145deg, var(--blue-soft), var(--blue-line));
}

.local-keyword-grid a:nth-child(3),
.area-city-card:nth-child(3) {
  background: linear-gradient(145deg, #efe3cf, var(--sage));
}

.local-keyword-grid a:nth-child(4),
.area-city-card:nth-child(4) {
  background: linear-gradient(145deg, #ead8bf, #f4e4d0);
}

.local-keyword-grid a:nth-child(5),
.area-city-card:nth-child(5) {
  background: linear-gradient(145deg, #e5dfcd, #f3eadb);
}

.local-keyword-grid a:nth-child(6),
.area-city-card:nth-child(6) {
  background: linear-gradient(145deg, #f1dcc7, #e8eadb);
}

.local-keyword-grid strong,
.area-city-card strong {
  color: #2d2924;
}

.local-keyword-grid span,
.area-city-card span {
  color: #554d44;
}

.local-keyword-grid a:hover,
.local-keyword-grid a:focus,
.area-city-card:hover,
.area-city-card:focus {
  border-color: rgba(70, 95, 66, .58);
  box-shadow: 0 24px 56px rgba(73, 58, 43, .16);
}

/* Real practice photography for contact and a reliable Dr. Kingra portrait on home. */
.contact-hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(70, 95, 66, .68) 50%, rgba(216, 154, 69, .18) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center center;
  background-size: cover;
}

.doctor-teaser-image {
  min-height: 0;
  height: clamp(520px, 58vw, 690px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(45, 41, 36, 0) 42%, rgba(45, 41, 36, .18) 100%),
    var(--sage);
}

.doctor-teaser-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 980px) {
  .doctor-teaser-image {
    height: min(620px, 118vw);
  }
}

@media (max-width: 680px) {
  .doctor-teaser-image {
    height: min(520px, 128vw);
  }
}

/* Sitewide polish: wider blended header and footer matched to the desert palette. */
.site-header {
  position: fixed;
  top: 10px;
  left: 12px;
  right: 12px;
  width: auto;
  max-width: none;
  transform: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 253, 248, .42);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .58), rgba(248, 240, 228, .32)),
    rgba(248, 240, 228, .2);
  box-shadow: 0 18px 48px rgba(45, 41, 36, .16);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.site-header::before {
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 199, 107, .2), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(111, 138, 99, .18), transparent 36%),
    linear-gradient(180deg, rgba(255, 253, 248, .18), rgba(255, 253, 248, .04));
}

.nav {
  width: min(1480px, calc(100% - 28px));
  min-height: 76px;
}

.nav-links {
  gap: 12px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .45rem .76rem;
  border: 1px solid rgba(255, 253, 248, .42);
  border-radius: 999px;
  color: #2d2924;
  background: rgba(255, 253, 248, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34);
}

.nav-links a:hover,
.nav-links a:focus {
  color: #2d2924;
  border-color: rgba(216, 154, 69, .48);
  background: rgba(255, 253, 248, .8);
}

.navigation-ribbon {
  background: rgba(255, 253, 248, .26);
  border-top: 1px solid rgba(255, 253, 248, .36);
}

.navigation-ribbon a {
  color: #2d2924;
  border-color: rgba(255, 253, 248, .5);
  background: rgba(255, 253, 248, .62);
}

.navigation-ribbon a:hover,
.navigation-ribbon a:focus {
  background: rgba(255, 253, 248, .86);
}

.footer {
  color: rgba(255, 253, 248, .9);
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 199, 107, .2), transparent 34%),
    linear-gradient(135deg, #2d2924 0%, #465f42 58%, #6f8a63 100%);
  border-top: 1px solid rgba(216, 154, 69, .48);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, .12);
}

.footer h2,
.footer a,
.footer strong {
  color: #fffdf8;
}

.footer p {
  color: rgba(255, 253, 248, .84);
}

.footer-brand-logo {
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 16px 34px rgba(45, 41, 36, .24);
}

.footer-links a,
.map-link {
  border: 1px solid rgba(255, 253, 248, .18);
  background: rgba(255, 253, 248, .08);
}

.footer-links a:hover,
.footer-links a:focus,
.map-link:hover,
.map-link:focus {
  border-color: rgba(239, 199, 107, .64);
  background: rgba(239, 199, 107, .16);
}

@media (max-width: 980px) {
  .site-header {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .nav {
    width: min(100% - 20px, 1480px);
  }
}

@media (max-width: 680px) {
  .site-header {
    left: 8px;
    right: 8px;
    width: auto;
  }
}

/* Final homepage and emergency polish: full-width glass header, luxury welcome, urgent emergency page. */
.site-header {
  top: 6px;
  left: 4px;
  right: 4px;
  width: auto;
  border-radius: 14px;
  border-color: rgba(255, 253, 248, .28);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .38), rgba(248, 240, 228, .18)),
    rgba(248, 240, 228, .08);
  box-shadow: 0 14px 38px rgba(45, 41, 36, .11);
  backdrop-filter: blur(28px) saturate(1.22);
  -webkit-backdrop-filter: blur(28px) saturate(1.22);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, top .25s ease;
}

.site-header::before {
  opacity: .58;
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 199, 107, .18), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(111, 138, 99, .16), transparent 36%),
    linear-gradient(180deg, rgba(255, 253, 248, .08), rgba(255, 253, 248, .02));
}

.nav {
  width: min(1600px, calc(100% - 12px));
}

.nav-links a {
  background: rgba(255, 253, 248, .72);
}

.navigation-ribbon {
  background: rgba(255, 253, 248, .14);
}

.navigation-ribbon a {
  background: rgba(255, 253, 248, .7);
}

.page-scrolled .site-header {
  top: 4px;
  border-color: rgba(255, 253, 248, .2);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .26), rgba(248, 240, 228, .12)),
    rgba(248, 240, 228, .04);
  box-shadow: 0 10px 30px rgba(45, 41, 36, .09);
}

.page-scrolled .site-header::before {
  opacity: .38;
}

.page-scrolled .nav-links a,
.page-scrolled .navigation-ribbon a {
  color: #2d2924;
  background: rgba(255, 253, 248, .72);
  border-color: rgba(255, 253, 248, .5);
}

.hero.home-welcome-hero {
  width: 100%;
  max-width: none;
  min-height: clamp(760px, 96vh, 980px);
  margin: 0;
  padding: clamp(180px, 15vw, 230px) max(22px, calc((100% - 1320px) / 2)) clamp(76px, 9vw, 118px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(270px, 380px);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .86) 0%, rgba(45, 41, 36, .58) 35%, rgba(70, 95, 66, .2) 72%, rgba(45, 41, 36, .34) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center center;
  background-size: cover;
}

.home-welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(45, 41, 36, .16), transparent 24%, rgba(45, 41, 36, .18) 100%),
    radial-gradient(circle at 15% 74%, rgba(239, 199, 107, .18), transparent 30%);
}

.home-welcome-copy {
  max-width: 760px;
  color: #fffdf8;
  text-shadow: 0 2px 18px rgba(45, 41, 36, .38);
}

.home-welcome-copy .eyebrow {
  color: #efc76b;
}

.home-welcome-copy h1 {
  max-width: 780px;
  margin: .14em 0 .28em;
  color: #fffdf8;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: .9;
  letter-spacing: 0;
}

.home-welcome-copy .hero-subhead,
.home-welcome-copy .intro-copy {
  max-width: 690px;
  color: rgba(255, 253, 248, .92);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.home-welcome-card {
  align-self: end;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 253, 248, .34);
  border-radius: 18px;
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .16), rgba(248, 240, 228, .06)),
    rgba(45, 41, 36, .22);
  box-shadow: 0 26px 64px rgba(45, 41, 36, .2);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.home-welcome-card span {
  display: block;
  margin-bottom: 10px;
  color: #efc76b;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}

.home-welcome-card strong {
  display: block;
  color: #fffdf8;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.home-welcome-card p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, .86);
}

.home-experience {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 9vw, 126px) max(20px, calc((100% - 1240px) / 2));
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 199, 107, .16), transparent 30%),
    linear-gradient(135deg, #f8f0e4 0%, #e8eadb 56%, #fffaf2 100%);
  border-top: 1px solid rgba(154, 95, 47, .12);
  border-bottom: 1px solid rgba(154, 95, 47, .12);
}

.home-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.home-experience-grid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(154, 95, 47, .18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, .72), rgba(248, 240, 228, .42)),
    rgba(255, 253, 248, .4);
  box-shadow: 0 22px 54px rgba(73, 58, 43, .1);
}

.home-experience-grid span,
.emergency-symptom-grid span,
.emergency-step-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #2d2924;
  background: #efc76b;
  font-weight: 900;
}

.home-experience-grid h3 {
  margin: 0 0 12px;
  color: #2d2924;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.home-experience-grid p {
  margin: 0;
  color: #554d44;
}

.emergency-page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(720px, 92vh, 920px);
  padding: clamp(176px, 15vw, 230px) max(22px, calc((100% - 1260px) / 2)) clamp(72px, 9vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 710px) minmax(270px, 390px);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .92) 0%, rgba(45, 41, 36, .72) 40%, rgba(185, 99, 71, .32) 100%),
    image-set(url("blog-images/custom/dr-kingra-emergency-dentist-fresno.webp") type("image/webp"));
  background-position: center center;
  background-size: cover;
}

.emergency-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 72%, rgba(239, 199, 107, .18), transparent 30%),
    linear-gradient(180deg, rgba(45, 41, 36, .18), transparent 30%);
}

.emergency-page-hero > * {
  position: relative;
  z-index: 1;
}

.emergency-page-copy {
  color: #fffdf8;
  text-shadow: 0 2px 18px rgba(45, 41, 36, .36);
}

.emergency-page-copy h1 {
  margin: .12em 0 .28em;
  color: #fffdf8;
  font-size: clamp(3.1rem, 7vw, 7rem);
  line-height: .9;
}

.emergency-page-copy .hero-subhead {
  max-width: 690px;
  color: rgba(255, 253, 248, .92);
}

.emergency-page-card,
.emergency-call-strip {
  border: 1px solid rgba(255, 253, 248, .34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .78), rgba(248, 240, 228, .52)),
    rgba(255, 253, 248, .34);
  box-shadow: 0 26px 64px rgba(45, 41, 36, .18);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.emergency-page-card {
  align-self: end;
  padding: clamp(20px, 3vw, 30px);
}

.emergency-page-card strong {
  display: block;
  color: #2d2924;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}

.emergency-page-card p {
  color: #554d44;
}

.emergency-page-card a {
  color: #465f42;
  font-weight: 900;
}

.emergency-call-strip {
  width: min(1180px, calc(100% - 36px));
  margin: -42px auto 0;
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.emergency-call-strip strong {
  display: block;
  color: #2d2924;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.emergency-call-strip span {
  color: #554d44;
}

.emergency-trust {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(22px, 4vw, 34px);
  margin-top: 30px;
  border: 1px solid rgba(154, 95, 47, .16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 12%, rgba(239, 199, 107, .12), transparent 34%),
    linear-gradient(145deg, #fffdf8, #f8f0e4);
  box-shadow: 0 18px 44px rgba(73, 58, 43, .1);
}

.emergency-trust-copy {
  max-width: 860px;
}

.emergency-trust-copy h2 {
  color: #2d2924;
}

.emergency-trust-copy p:not(.eyebrow) {
  color: #554d44;
  font-size: 1.05rem;
}

.emergency-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.emergency-stat {
  display: grid;
  place-items: center;
  min-height: 172px;
  padding: 22px;
  border-radius: 18px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 20% 18%, rgba(239, 199, 107, .22), transparent 36%),
    linear-gradient(135deg, #2d2924 0%, #465f42 100%);
  text-align: center;
}

.emergency-stat strong {
  display: block;
  color: inherit;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  line-height: 1;
}

.emergency-stat span {
  max-width: 230px;
  color: rgba(255, 253, 248, .86);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.emergency-stat-light {
  color: #2d2924;
  background: #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(154, 95, 47, .14);
}

.emergency-stat-light span {
  color: #554d44;
}

.emergency-symptoms,
.emergency-process {
  background: transparent;
}

.emergency-symptom-grid,
.emergency-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.emergency-symptom-grid article,
.emergency-step-grid article {
  min-height: 240px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(154, 95, 47, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf8, #f8f0e4);
  box-shadow: 0 18px 44px rgba(73, 58, 43, .1);
}

.emergency-symptom-grid strong,
.emergency-step-grid h3 {
  display: block;
  margin: 0 0 10px;
  color: #2d2924;
  font-size: 1.22rem;
}

.emergency-symptom-grid p,
.emergency-step-grid p {
  margin: 0;
  color: #554d44;
}

.emergency-final-cta {
  width: min(1180px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fffdf8;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 20%, rgba(239, 199, 107, .2), transparent 32%),
    linear-gradient(135deg, #2d2924 0%, #465f42 100%);
}

.emergency-final-cta h2,
.emergency-final-cta p {
  color: #fffdf8;
}

@media (max-width: 980px) {
  .site-header {
    left: 4px;
    right: 4px;
  }

  .nav {
    width: min(100% - 10px, 1600px);
  }

  .hero.home-welcome-hero,
  .emergency-page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 176px;
  }

  .home-welcome-card,
  .emergency-page-card {
    max-width: 520px;
  }

  .home-experience-grid,
  .emergency-symptom-grid,
  .emergency-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    left: 3px;
    right: 3px;
    border-radius: 12px;
  }

  .hero.home-welcome-hero,
  .emergency-page-hero {
    padding: 150px 18px 62px;
  }

  .home-welcome-copy h1,
  .emergency-page-copy h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .emergency-call-strip,
  .emergency-trust,
  .emergency-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .emergency-call-strip .button,
  .emergency-final-cta .button {
    width: 100%;
  }

  .emergency-trust {
    grid-template-columns: 1fr;
  }
}

/* Homepage FAQ: keep the full question list closed until the visitor clicks it. */
.home-reviews {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 10% 12%, rgba(239, 199, 107, .18), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #f8f0e4 58%, #e8eadb 100%);
}

.home-reviews blockquote {
  border-color: rgba(154, 95, 47, .18);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, .9), rgba(248, 240, 228, .68));
  box-shadow: 0 22px 54px rgba(73, 58, 43, .1);
}

.service-library-toggle,
.faq-section-toggle {
  overflow: hidden;
  border: 1px solid rgba(154, 95, 47, .18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, .9), rgba(248, 240, 228, .68));
  box-shadow: 0 22px 54px rgba(73, 58, 43, .1);
}

.service-library-toggle:last-child,
.faq-section-toggle:last-child {
  border-bottom: 1px solid rgba(154, 95, 47, .18);
}

.service-library-toggle > summary,
.faq-section-toggle > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 3vw, 30px);
  color: #2d2924;
  list-style: none;
}

.service-library-toggle > summary::-webkit-details-marker,
.faq-section-toggle > summary::-webkit-details-marker {
  display: none;
}

.service-library-toggle > summary::after,
.faq-section-toggle > summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #2d2924;
  background: #efc76b;
  font-size: 1.4rem;
  line-height: 1;
}

.service-library-toggle[open] > summary::after,
.faq-section-toggle[open] > summary::after {
  content: "-";
}

.service-library-list,
.faq-question-list {
  padding: 0 clamp(20px, 3vw, 30px) 24px;
}

.service-library-list {
  padding-top: 4px;
}

.faq-question-list details:first-child {
  border-top-color: rgba(154, 95, 47, .18);
}

.faq-question-list details:last-child {
  border-bottom: 0;
}

.security-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 248, .16);
  color: rgba(255, 253, 248, .72);
  font-size: .78rem;
  line-height: 1.45;
}

.copyright-warning-toast {
  position: fixed;
  left: 22px;
  bottom: 98px;
  z-index: 90;
  width: min(360px, calc(100vw - 44px));
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 253, 248, .72);
  border-radius: 16px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 189, 75, .2), transparent 34%),
    linear-gradient(135deg, #102f4a 0%, #0f5b63 100%);
  box-shadow: 0 24px 64px rgba(16, 47, 74, .32);
}

.copyright-warning-toast[hidden] {
  display: none;
}

.copyright-warning-toast strong {
  color: #ffcf38;
  font-size: .9rem;
  text-transform: uppercase;
}

.copyright-warning-toast span {
  color: rgba(255, 253, 248, .88);
  font-size: .86rem;
  line-height: 1.45;
}

.copyright-warning-toast a {
  width: fit-content;
  color: #ffcf38;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

img,
picture,
video {
  -webkit-user-drag: none;
}

@media (max-width: 680px) {
  .copyright-warning-toast {
    left: 14px;
    right: 14px;
    bottom: 150px;
    width: auto;
  }
}

@media print {
  body::after {
    content: "Copyright © 2026 Sunnyside Smiles. Printed content is for personal reference only and may not be copied, republished, or reused without written permission.";
    position: fixed;
    left: 1cm;
    right: 1cm;
    bottom: .6cm;
    color: #000;
    border-top: 1px solid #000;
    padding-top: .2cm;
    font: 10pt Arial, sans-serif;
  }
}

/* Sitewide ADA/accessibility display controls. */
.ada-widget {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 130;
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
}

.ada-widget-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  color: #fffdf8;
  background: linear-gradient(135deg, #102f4a 0%, #0f5b63 100%);
  box-shadow: 0 10px 26px rgba(16, 47, 74, .24);
  font: inherit;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ada-widget-toggle:hover,
.ada-widget-toggle:focus {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(16, 47, 74, .34);
}

.ada-widget-panel {
  position: absolute;
  left: 0;
  bottom: 74px;
  width: min(340px, calc(100vw - 28px));
  max-height: min(76vh, 640px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(255, 253, 248, .62);
  border-radius: 20px;
  color: #102f4a;
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 189, 75, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(239, 247, 241, .96));
  box-shadow: 0 30px 80px rgba(16, 47, 74, .25);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
}

.ada-widget-panel[hidden] {
  display: none;
}

.ada-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px 14px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 189, 75, .22), transparent 34%),
    linear-gradient(135deg, #102f4a 0%, #0f5b63 100%);
}

.ada-widget-header strong,
.ada-widget-header span {
  display: block;
}

.ada-widget-header strong {
  font-size: 1.08rem;
}

.ada-widget-header span {
  color: rgba(255, 253, 248, .78);
  font-size: .78rem;
  font-weight: 800;
}

.ada-widget-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 253, 248, .38);
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(255, 253, 248, .14);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.ada-widget-body {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding: 15px;
}

.ada-control-row,
.ada-option,
.ada-reset {
  border: 1px solid rgba(16, 47, 74, .12);
  border-radius: 12px;
  color: #102f4a;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(16, 47, 74, .06);
}

.ada-control-row {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.ada-control-row > span {
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ada-stepper {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
}

.ada-stepper button,
.ada-option,
.ada-reset {
  min-height: 44px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ada-stepper button {
  border: 0;
  border-radius: 10px;
  color: #fffdf8;
  background: #102f4a;
}

.ada-stepper strong {
  text-align: center;
  font-size: .88rem;
}

.ada-option,
.ada-reset {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
}

.ada-option::after {
  content: "Off";
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #42545c;
  background: rgba(16, 47, 74, .08);
  font-size: .72rem;
  text-align: center;
}

.ada-option.is-active {
  border-color: rgba(15, 91, 99, .35);
  background: rgba(230, 244, 236, .94);
}

.ada-option.is-active::after {
  content: "On";
  color: #fffdf8;
  background: #0f5b63;
}

.ada-reset {
  justify-content: center;
  color: #fffdf8;
  background: #102f4a;
}

.ada-widget-note,
.ada-widget-status {
  margin: 0;
  color: #42545c;
  font-size: .78rem;
  line-height: 1.42;
}

.ada-widget-status {
  min-height: 1.1em;
  font-weight: 900;
}

html[data-ada-text="1"] {
  font-size: 112.5%;
}

html[data-ada-text="2"] {
  font-size: 125%;
}

html[data-ada-text="3"] {
  font-size: 137.5%;
}

html.ada-readable-font body,
html.ada-readable-font input,
html.ada-readable-font button,
html.ada-readable-font select,
html.ada-readable-font textarea {
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
}

html.ada-comfort-spacing body {
  line-height: 1.72;
}

html.ada-comfort-spacing p,
html.ada-comfort-spacing li,
html.ada-comfort-spacing label,
html.ada-comfort-spacing summary {
  line-height: 1.85 !important;
}

html.ada-underline-links a:not(.button):not(.mobile-call):not(.sunny-chat-toggle):not(.ada-widget-toggle) {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 2px !important;
}

html.ada-large-controls a,
html.ada-large-controls button,
html.ada-large-controls input,
html.ada-large-controls select,
html.ada-large-controls textarea {
  min-height: 48px;
}

html.ada-focus-guide a:focus-visible,
html.ada-focus-guide button:focus-visible,
html.ada-focus-guide input:focus-visible,
html.ada-focus-guide select:focus-visible,
html.ada-focus-guide textarea:focus-visible,
html.ada-focus-guide summary:focus-visible {
  outline: 4px solid #ffcf38 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 7px rgba(16, 47, 74, .88) !important;
}

html.ada-reduce-motion,
html.ada-reduce-motion * {
  scroll-behavior: auto !important;
}

html.ada-reduce-motion *,
html.ada-reduce-motion *::before,
html.ada-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

html.ada-high-contrast body {
  color: #000 !important;
  background: #fff !important;
}

html.ada-high-contrast main,
html.ada-high-contrast section,
html.ada-high-contrast article,
html.ada-high-contrast aside,
html.ada-high-contrast .section,
html.ada-high-contrast .footer,
html.ada-high-contrast .site-header,
html.ada-high-contrast .navigation-ribbon,
html.ada-high-contrast .card,
html.ada-high-contrast .service-card,
html.ada-high-contrast .treatment-card,
html.ada-high-contrast .blog-card,
html.ada-high-contrast .faq-card,
html.ada-high-contrast .checker-card {
  color: #000 !important;
  background: #fff !important;
  background-image: none !important;
  border-color: #000 !important;
  box-shadow: none !important;
}

html.ada-high-contrast h1,
html.ada-high-contrast h2,
html.ada-high-contrast h3,
html.ada-high-contrast h4,
html.ada-high-contrast p,
html.ada-high-contrast li,
html.ada-high-contrast span,
html.ada-high-contrast strong,
html.ada-high-contrast small,
html.ada-high-contrast label,
html.ada-high-contrast summary {
  color: #000 !important;
}

html.ada-high-contrast a:not(.button):not(.mobile-call):not(.sunny-chat-toggle):not(.ada-widget-toggle) {
  color: #003d99 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

html.ada-high-contrast .button,
html.ada-high-contrast button,
html.ada-high-contrast .mobile-call,
html.ada-high-contrast .sunny-chat-toggle,
html.ada-high-contrast .ada-widget-toggle {
  color: #fff !important;
  background: #000 !important;
  background-image: none !important;
  border: 2px solid #000 !important;
  box-shadow: none !important;
}

html.ada-high-contrast .button *,
html.ada-high-contrast button *,
html.ada-high-contrast .mobile-call *,
html.ada-high-contrast .sunny-chat-toggle *,
html.ada-high-contrast .ada-widget-toggle * {
  color: inherit !important;
}

html.ada-high-contrast input,
html.ada-high-contrast select,
html.ada-high-contrast textarea {
  color: #000 !important;
  background: #fff !important;
  border: 2px solid #000 !important;
}

html.ada-high-contrast .sunny-chat-panel,
html.ada-high-contrast .ada-widget-panel,
html.ada-high-contrast .sunny-message-bot .sunny-message-bubble,
html.ada-high-contrast .ada-option,
html.ada-high-contrast .ada-control-row {
  color: #000 !important;
  background: #fff !important;
  background-image: none !important;
  border-color: #000 !important;
  box-shadow: none !important;
}

@media (max-width: 680px) {
  .ada-widget {
    left: 14px;
    bottom: 86px;
  }

  .ada-widget-toggle {
    width: 56px;
    height: 56px;
  }

  .ada-widget-panel {
    bottom: 68px;
    width: min(340px, calc(100vw - 28px));
    max-height: calc(100vh - 176px);
  }
}

@media print {
  .ada-widget {
    display: none !important;
  }
}

/* Sitewide chat assistant: Sunny Smile Concierge. */
.sunny-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
}

.sunny-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 253, 248, .58);
  border-radius: 999px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 14% 14%, rgba(239, 199, 107, .34), transparent 30%),
    linear-gradient(135deg, #2d2924 0%, #465f42 100%);
  box-shadow: 0 22px 52px rgba(45, 41, 36, .28);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sunny-chat-toggle:hover,
.sunny-chat-toggle:focus {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(45, 41, 36, .34);
}

.sunny-chat-toggle strong,
.sunny-chat-toggle small {
  display: block;
  text-align: left;
  line-height: 1.1;
}

.sunny-chat-toggle strong {
  font-size: .96rem;
  letter-spacing: 0;
}

.sunny-chat-toggle small {
  margin-top: 2px;
  color: rgba(255, 253, 248, .76);
  font-size: .74rem;
  font-weight: 800;
}

.sunny-chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #2d2924;
  background: #efc76b;
  font-weight: 950;
  font-size: 1.16rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.sunny-chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(460px, calc(100vw - 28px));
  height: min(820px, calc(100vh - 116px));
  max-height: none;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
  border: 1px solid rgba(255, 253, 248, .6);
  border-radius: 22px;
  color: #2d2924;
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 199, 107, .2), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(248, 240, 228, .94));
  box-shadow: 0 30px 80px rgba(45, 41, 36, .28);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
}

.sunny-chat-panel[hidden] {
  display: none;
}

.sunny-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 14px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 199, 107, .22), transparent 34%),
    linear-gradient(135deg, #2d2924 0%, #465f42 100%);
}

.sunny-chat-header strong,
.sunny-chat-header span {
  display: block;
}

.sunny-chat-header strong {
  font-size: 1.08rem;
}

.sunny-chat-header span {
  color: rgba(255, 253, 248, .78);
  font-size: .78rem;
  font-weight: 800;
}

.sunny-chat-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 253, 248, .35);
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(255, 253, 248, .12);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.sunny-chat-log {
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sunny-message {
  display: grid;
  gap: 8px;
  max-width: 92%;
}

.sunny-message-user {
  align-self: end;
  justify-items: end;
}

.sunny-message-bot {
  align-self: start;
  justify-items: start;
}

.sunny-message-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: .94rem;
  line-height: 1.42;
  overflow-wrap: break-word;
  word-break: normal;
  box-shadow: 0 12px 28px rgba(73, 58, 43, .09);
}

.sunny-message-bot .sunny-message-bubble {
  color: #2d2924;
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(154, 95, 47, .14);
}

.sunny-message-status .sunny-message-bubble {
  color: #665d51;
  font-style: italic;
}

.sunny-message-user .sunny-message-bubble {
  color: #fffdf8;
  background: #465f42;
}

.sunny-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sunny-message-actions a,
.sunny-message-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .48rem .68rem;
  border: 0;
  border-radius: 999px;
  color: #2d2924;
  background: #efc76b;
  font: inherit;
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.sunny-message-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
}

.sunny-message-sources a {
  color: #465f42;
  font-size: .74rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sunny-chat-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: thin;
}

.sunny-chat-prompts button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: .46rem .68rem;
  border: 1px solid rgba(70, 95, 66, .25);
  border-radius: 999px;
  color: #2d2924;
  background: rgba(255, 253, 248, .8);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}

.sunny-chat-voice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 0 16px 12px;
}

.sunny-voice-button,
.sunny-speech-toggle {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.sunny-voice-button {
  color: #2d2924;
  background: linear-gradient(135deg, #efc76b, #f2bd4b);
  box-shadow: 0 12px 26px rgba(45, 41, 36, .12);
}

.sunny-voice-button.is-listening {
  color: #fffdf8;
  background: linear-gradient(135deg, #7a2d2d, #b24a37);
}

.sunny-speech-toggle {
  padding: 0 13px;
  color: #465f42;
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(70, 95, 66, .2);
}

.sunny-speech-toggle[aria-pressed="true"] {
  color: #fffdf8;
  background: #465f42;
}

.sunny-speech-toggle:disabled,
.sunny-voice-button:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.sunny-voice-status {
  grid-column: 1 / -1;
  color: #665d51;
  font-size: .73rem;
  font-weight: 800;
  line-height: 1.35;
}

.sunny-chat-form {
  padding: 0 16px 14px;
}

.sunny-chat-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sunny-chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.sunny-chat-input-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(154, 95, 47, .18);
  border-radius: 999px;
  padding: 0 14px;
  color: #2d2924;
  background: rgba(255, 253, 248, .95);
  font: inherit;
}

.sunny-chat-input-row button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fffdf8;
  background: #2d2924;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.sunny-chat-disclaimer {
  margin: 0;
  padding: 0 16px 16px;
  color: #665d51;
  font-size: .76rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .sunny-chat {
    right: 14px;
    bottom: 86px;
    left: 14px;
    display: flex;
    justify-content: flex-end;
  }

  .sunny-chat.is-open {
    inset: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: block;
    pointer-events: none;
  }

  .sunny-chat-toggle {
    min-height: 54px;
    padding-right: 15px;
  }

  .sunny-chat.is-open .sunny-chat-toggle {
    display: none;
  }

  .sunny-chat-panel {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 18px;
    pointer-events: auto;
  }

  .sunny-chat-log {
    min-height: 0;
  }

  .sunny-chat-header {
    padding: 14px 14px 12px;
  }

  .sunny-chat-log {
    padding: 12px;
    gap: 10px;
  }

  .sunny-message {
    max-width: 96%;
  }

  .sunny-message-bubble {
    font-size: .96rem;
    line-height: 1.48;
  }

  .sunny-chat-prompts {
    padding: 0 12px 10px;
  }

  .sunny-chat-voice {
    padding: 0 12px 10px;
    grid-template-columns: minmax(0, 1fr);
  }

  .sunny-speech-toggle {
    width: 100%;
  }

  .sunny-chat-form {
    padding: 0 12px 12px;
  }

  .sunny-chat-input-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .sunny-chat-input-row button {
    width: 100%;
  }

  .sunny-chat-disclaimer {
    padding: 0 12px 12px;
    font-size: .72rem;
  }
}

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

@media (max-width: 680px) {
  .service-outcome-strip {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .outcome-chip-grid {
    grid-template-columns: 1fr;
  }

  .outcome-chip {
    min-height: auto;
    padding: 18px;
  }

  .outcome-kicker {
    font-size: .7rem;
  }
}

@media print {
  .sunny-chat {
    display: none;
  }
}

/* Homepage and emergency page: match the implant/logo color direction instead of the clay palette. */
body.palette-implant {
  --navy: #101820;
  --teal: #4aa52c;
  --teal-deep: #275f1f;
  --blue-soft: #f4faea;
  --blue-line: #d9edb5;
  --gold: #ffb51f;
  --gold-dark: #bf6900;
  --coral: #f7941d;
  --ink: #101820;
  --muted: #51635b;
  --offwhite: #f7fbef;
  --sage: #edf8da;
  --shadow: 0 24px 58px rgba(39, 95, 31, .13);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 218, 0, .12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbef 46%, #ffffff 100%);
}

body.palette-implant .site-header {
  border-color: rgba(74, 165, 44, .2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(244, 250, 234, .68)),
    rgba(255, 255, 255, .74);
  box-shadow: 0 14px 36px rgba(16, 24, 32, .08);
}

body.palette-implant.page-scrolled .site-header {
  border-color: rgba(74, 165, 44, .18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .66), rgba(244, 250, 234, .3)),
    rgba(255, 255, 255, .3);
  box-shadow: 0 12px 34px rgba(16, 24, 32, .1);
}

body.palette-implant .navigation-ribbon {
  border-top-color: rgba(74, 165, 44, .16);
  background: rgba(244, 250, 234, .34);
}

body.palette-implant .nav-links a,
body.palette-implant .navigation-ribbon a,
body.palette-implant .text-link {
  color: #172018;
}

body.palette-implant .navigation-ribbon a {
  border-color: rgba(74, 165, 44, .26);
  background: rgba(255, 255, 255, .68);
}

body.palette-implant .navigation-ribbon a:first-child {
  color: #101820;
  border-color: rgba(255, 181, 31, .58);
  background: linear-gradient(135deg, rgba(255, 181, 31, .24), rgba(247, 148, 29, .12));
}

body.palette-implant .nav-links a:hover,
body.palette-implant .navigation-ribbon a:hover,
body.palette-implant .text-link:hover {
  color: #275f1f;
  background: rgba(185, 218, 0, .16);
}

body.palette-implant .button-gold,
body.palette-implant .mobile-call {
  color: #101820;
  background: linear-gradient(135deg, #ffcf38 0%, #ffb51f 45%, #f7941d 100%);
  box-shadow: 0 18px 34px rgba(247, 148, 29, .24);
}

body.palette-implant .button-gold:hover,
body.palette-implant .mobile-call:hover {
  background: linear-gradient(135deg, #ffd84f 0%, #ffba28 45%, #f08c13 100%);
  box-shadow: 0 22px 42px rgba(247, 148, 29, .3);
}

body.palette-implant .button-navy {
  color: #ffffff;
  background: linear-gradient(135deg, #7fc321 0%, #4aa52c 55%, #2f7a23 100%);
  box-shadow: 0 18px 34px rgba(74, 165, 44, .22);
}

body.palette-implant .button-navy:hover {
  background: linear-gradient(135deg, #8bd42a 0%, #4fae2e 55%, #2b6f20 100%);
}

body.palette-implant .button-outline,
body.palette-implant .button-outline-light {
  border-color: rgba(255, 181, 31, .62);
}

body.palette-implant .hero.home-welcome-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 12, .9) 0%, rgba(39, 95, 31, .68) 48%, rgba(255, 181, 31, .14) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
  background-position: center center;
  background-size: cover;
}

body.palette-implant .home-welcome-hero::before,
body.palette-implant .emergency-page-hero::before {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, .18), transparent 30%, rgba(16, 24, 32, .18) 100%),
    radial-gradient(circle at 14% 72%, rgba(255, 181, 31, .18), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(185, 218, 0, .12), transparent 32%);
}

body.palette-implant .home-welcome-copy,
body.palette-implant .emergency-page-copy {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(16, 24, 32, .42);
}

body.palette-implant .home-welcome-copy h1,
body.palette-implant .home-welcome-copy .hero-subhead,
body.palette-implant .home-welcome-copy .intro-copy,
body.palette-implant .emergency-page-copy h1,
body.palette-implant .emergency-page-copy .hero-subhead {
  color: #ffffff;
}

body.palette-implant .home-welcome-copy .eyebrow,
body.palette-implant .emergency-page-copy .eyebrow,
body.palette-implant .hero .eyebrow,
body.palette-implant .eyebrow.light {
  color: #ffd457;
}

body.palette-implant .home-welcome-card,
body.palette-implant .emergency-page-card,
body.palette-implant .emergency-call-strip {
  border-color: rgba(185, 218, 0, .34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(244, 250, 234, .46)),
    rgba(255, 255, 255, .24);
  box-shadow: 0 26px 64px rgba(16, 24, 32, .16);
}

body.palette-implant .emergency-trust {
  border-color: rgba(74, 165, 44, .16);
  background:
    radial-gradient(circle at 12% 14%, rgba(185, 218, 0, .16), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(74, 165, 44, .1), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f4faea 58%, #edf8da 100%);
  box-shadow: 0 20px 52px rgba(39, 95, 31, .09);
}

body.palette-implant .emergency-trust-copy h2 {
  color: #163410;
}

body.palette-implant .emergency-trust-copy p:not(.eyebrow) {
  color: #51635b;
}

body.palette-implant .emergency-stat {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 181, 31, .18), transparent 32%),
    linear-gradient(135deg, #101820 0%, #275f1f 58%, #4aa52c 100%);
}

body.palette-implant .emergency-stat-light {
  color: #163410;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(74, 165, 44, .16);
}

body.palette-implant .emergency-stat-light span {
  color: #51635b;
}

body.palette-implant .home-welcome-card span {
  color: #ffd457;
}

body.palette-implant .home-welcome-card strong,
body.palette-implant .home-welcome-card p {
  color: #ffffff;
}

body.palette-implant .home-experience,
body.palette-implant .home-reviews,
body.palette-implant .doctor-luxury-teaser {
  border-color: rgba(74, 165, 44, .14);
  background:
    radial-gradient(circle at 12% 14%, rgba(185, 218, 0, .18), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(74, 165, 44, .12), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f4faea 58%, #edf8da 100%);
}

body.palette-implant .home-experience-grid article,
body.palette-implant .home-reviews blockquote,
body.palette-implant .doctor-teaser-copy,
body.palette-implant .service-library-toggle,
body.palette-implant .faq-section-toggle,
body.palette-implant .service-card,
body.palette-implant .benefit-card,
body.palette-implant .insurance-card,
body.palette-implant .review-card,
body.palette-implant .faq-list details {
  border-color: rgba(74, 165, 44, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(244, 250, 234, .72));
  box-shadow: 0 20px 52px rgba(39, 95, 31, .09);
}

body.palette-implant .home-experience-grid span,
body.palette-implant .emergency-symptom-grid span,
body.palette-implant .emergency-step-grid span,
body.palette-implant .service-library-toggle > summary::after,
body.palette-implant .faq-section-toggle > summary::after,
body.palette-implant .icon-circle,
body.palette-implant .sunny-chat-avatar,
body.palette-implant .sunny-message-actions a,
body.palette-implant .sunny-message-actions button {
  color: #101820;
  background: #ffcf38;
}

body.palette-implant .home-experience-grid h3,
body.palette-implant .service-card h3,
body.palette-implant .benefit-card h3,
body.palette-implant .insurance-card h3,
body.palette-implant .doctor-teaser-copy h2,
body.palette-implant .emergency-page-card strong,
body.palette-implant .emergency-call-strip strong,
body.palette-implant .emergency-symptom-grid strong,
body.palette-implant .emergency-step-grid h3 {
  color: #163410;
}

body.palette-implant .home-experience-grid p,
body.palette-implant .service-card p,
body.palette-implant .review-card p,
body.palette-implant .doctor-teaser-copy p,
body.palette-implant .emergency-page-card p,
body.palette-implant .emergency-call-strip span,
body.palette-implant .emergency-symptom-grid p,
body.palette-implant .emergency-step-grid p {
  color: #51635b;
}

body.palette-implant .section-heading .eyebrow,
body.palette-implant .outcome-kicker,
body.palette-implant .doctor-teaser-copy .lead,
body.palette-implant .emergency-page-card a {
  color: #275f1f;
}

body.palette-implant .new-patient,
body.palette-implant .emergency-final-cta {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 181, 31, .18), transparent 32%),
    linear-gradient(135deg, #101820 0%, #275f1f 58%, #4aa52c 100%);
  box-shadow: 0 24px 58px rgba(16, 24, 32, .18);
}

body.palette-implant .new-patient::before {
  background: linear-gradient(180deg, #ffcf38, #f7941d);
}

body.palette-implant .new-patient h2,
body.palette-implant .new-patient p,
body.palette-implant .emergency-final-cta h2,
body.palette-implant .emergency-final-cta p {
  color: #ffffff;
}

body.palette-implant .emergency-page-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 12, .92) 0%, rgba(39, 95, 31, .72) 52%, rgba(255, 181, 31, .16) 100%),
    image-set(url("blog-images/custom/dr-kingra-emergency-dentist-fresno.webp") type("image/webp"));
  background-position: center center;
  background-size: cover;
}

body.palette-implant .emergency-symptom-grid article,
body.palette-implant .emergency-step-grid article {
  border-color: rgba(74, 165, 44, .18);
  background: linear-gradient(145deg, #ffffff, #f4faea);
  box-shadow: 0 18px 44px rgba(39, 95, 31, .09);
}

body.palette-implant .sunny-chat-toggle,
body.palette-implant .sunny-chat-header {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 181, 31, .28), transparent 30%),
    linear-gradient(135deg, #101820 0%, #275f1f 100%);
  box-shadow: 0 22px 52px rgba(16, 24, 32, .28);
}

body.palette-implant .sunny-chat-panel {
  color: #101820;
  border-color: rgba(185, 218, 0, .36);
  background:
    radial-gradient(circle at 18% 0%, rgba(185, 218, 0, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(244, 250, 234, .94));
  box-shadow: 0 30px 80px rgba(16, 24, 32, .24);
}

body.palette-implant .sunny-message-user .sunny-message-bubble {
  color: #ffffff;
  background: #275f1f;
}

body.palette-implant .sunny-message-bot .sunny-message-bubble,
body.palette-implant .sunny-chat-input-row input,
body.palette-implant .sunny-chat-prompts button {
  border-color: rgba(74, 165, 44, .18);
  background: rgba(255, 255, 255, .92);
}

body.palette-implant .sunny-message-sources a {
  color: #275f1f;
}

body.palette-implant .sunny-chat-input-row button {
  color: #ffffff;
  background: #101820;
}

body.palette-implant .footer {
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(circle at 14% 0%, rgba(185, 218, 0, .14), transparent 34%),
    linear-gradient(135deg, rgba(74, 165, 44, .18), rgba(247, 148, 29, .08)),
    #101820;
  border-top-color: #7fc321;
}

/* Final correction: premium implant navy/teal palette for homepage and emergency page. */
body.palette-implant {
  --navy: #0b2f4a;
  --teal: #0f5b63;
  --teal-deep: #08364c;
  --blue-soft: #e8f5fb;
  --blue-line: #cde8f2;
  --gold: #f2bd4b;
  --gold-dark: #b97912;
  --coral: #d89a1d;
  --ink: #102f4a;
  --muted: #526777;
  --offwhite: #f7fbfd;
  --sage: #eef8fb;
  --shadow: 0 24px 58px rgba(11, 47, 74, .13);
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 91, 99, .12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 46%, #ffffff 100%);
}

body.palette-implant .site-header {
  border-color: rgba(15, 91, 99, .18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(232, 245, 251, .64)),
    rgba(255, 255, 255, .74);
  box-shadow: 0 14px 36px rgba(11, 47, 74, .08);
}

body.palette-implant.page-scrolled .site-header {
  border-color: rgba(15, 91, 99, .16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .66), rgba(232, 245, 251, .3)),
    rgba(255, 255, 255, .3);
  box-shadow: 0 12px 34px rgba(11, 47, 74, .1);
}

body.palette-implant .navigation-ribbon {
  border-top-color: rgba(15, 91, 99, .16);
  background: rgba(232, 245, 251, .34);
}

body.palette-implant .nav-links a,
body.palette-implant .navigation-ribbon a,
body.palette-implant .text-link {
  color: #102f4a;
}

body.palette-implant .navigation-ribbon a {
  border-color: rgba(15, 91, 99, .25);
  background: rgba(255, 255, 255, .68);
}

body.palette-implant .navigation-ribbon a:first-child {
  color: #0b2f4a;
  border-color: rgba(242, 189, 75, .58);
  background: linear-gradient(135deg, rgba(242, 189, 75, .24), rgba(216, 154, 29, .12));
}

body.palette-implant .nav-links a:hover,
body.palette-implant .navigation-ribbon a:hover,
body.palette-implant .text-link:hover {
  color: #0f5b63;
  background: rgba(15, 91, 99, .12);
}

body.palette-implant .button-gold,
body.palette-implant .mobile-call {
  color: #102f4a;
  background: linear-gradient(135deg, #f6cf73 0%, #f2bd4b 48%, #d89a1d 100%);
  box-shadow: 0 18px 34px rgba(216, 154, 29, .24);
}

body.palette-implant .button-gold:hover,
body.palette-implant .mobile-call:hover {
  background: linear-gradient(135deg, #f8d783 0%, #f4c45b 48%, #c98913 100%);
  box-shadow: 0 22px 42px rgba(216, 154, 29, .3);
}

body.palette-implant .button-navy {
  color: #ffffff;
  background: linear-gradient(135deg, #0b2f4a 0%, #0f5b63 58%, #2d7f89 100%);
  box-shadow: 0 18px 34px rgba(15, 91, 99, .22);
}

body.palette-implant .button-navy:hover {
  background: linear-gradient(135deg, #0d3a58 0%, #116b74 58%, #328d98 100%);
}

body.palette-implant .button-outline,
body.palette-implant .button-outline-light {
  border-color: rgba(242, 189, 75, .62);
}

body.palette-implant .hero.home-welcome-hero {
  background:
    linear-gradient(90deg, rgba(11, 47, 74, .9) 0%, rgba(15, 91, 99, .68) 48%, rgba(242, 189, 75, .14) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
}

body.palette-implant .emergency-page-hero {
  background:
    linear-gradient(90deg, rgba(11, 47, 74, .92) 0%, rgba(15, 91, 99, .72) 52%, rgba(242, 189, 75, .16) 100%),
    image-set(url("blog-images/custom/dr-kingra-emergency-dentist-fresno.webp") type("image/webp"));
}

body.palette-implant .home-welcome-hero::before,
body.palette-implant .emergency-page-hero::before {
  background:
    linear-gradient(180deg, rgba(11, 47, 74, .2), transparent 30%, rgba(11, 47, 74, .18) 100%),
    radial-gradient(circle at 14% 72%, rgba(242, 189, 75, .18), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(15, 91, 99, .18), transparent 32%);
}

body.palette-implant .home-welcome-copy .eyebrow,
body.palette-implant .emergency-page-copy .eyebrow,
body.palette-implant .hero .eyebrow,
body.palette-implant .eyebrow.light {
  color: #f2bd4b;
}

body.palette-implant .home-welcome-card,
body.palette-implant .emergency-page-card,
body.palette-implant .emergency-call-strip {
  border-color: rgba(205, 232, 242, .46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(232, 245, 251, .48)),
    rgba(255, 255, 255, .24);
  box-shadow: 0 26px 64px rgba(11, 47, 74, .16);
}

body.palette-implant .home-experience,
body.palette-implant .home-reviews,
body.palette-implant .doctor-luxury-teaser {
  border-color: rgba(15, 91, 99, .14);
  background:
    radial-gradient(circle at 12% 14%, rgba(242, 189, 75, .16), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(15, 91, 99, .12), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f7fbfd 58%, #e8f5fb 100%);
}

body.palette-implant .home-experience-grid article,
body.palette-implant .home-reviews blockquote,
body.palette-implant .doctor-teaser-copy,
body.palette-implant .service-library-toggle,
body.palette-implant .faq-section-toggle,
body.palette-implant .service-card,
body.palette-implant .benefit-card,
body.palette-implant .insurance-card,
body.palette-implant .review-card,
body.palette-implant .faq-list details,
body.palette-implant .emergency-symptom-grid article,
body.palette-implant .emergency-step-grid article {
  border-color: rgba(15, 91, 99, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(232, 245, 251, .72));
  box-shadow: 0 20px 52px rgba(11, 47, 74, .09);
}

body.palette-implant .home-experience-grid span,
body.palette-implant .emergency-symptom-grid span,
body.palette-implant .emergency-step-grid span,
body.palette-implant .service-library-toggle > summary::after,
body.palette-implant .faq-section-toggle > summary::after,
body.palette-implant .icon-circle,
body.palette-implant .sunny-chat-avatar,
body.palette-implant .sunny-message-actions a,
body.palette-implant .sunny-message-actions button {
  color: #102f4a;
  background: #f2bd4b;
}

body.palette-implant .home-experience-grid h3,
body.palette-implant .service-card h3,
body.palette-implant .benefit-card h3,
body.palette-implant .insurance-card h3,
body.palette-implant .doctor-teaser-copy h2,
body.palette-implant .emergency-page-card strong,
body.palette-implant .emergency-call-strip strong,
body.palette-implant .emergency-symptom-grid strong,
body.palette-implant .emergency-step-grid h3 {
  color: #0b2f4a;
}

body.palette-implant .home-experience-grid p,
body.palette-implant .service-card p,
body.palette-implant .review-card p,
body.palette-implant .doctor-teaser-copy p,
body.palette-implant .emergency-page-card p,
body.palette-implant .emergency-call-strip span,
body.palette-implant .emergency-symptom-grid p,
body.palette-implant .emergency-step-grid p {
  color: #526777;
}

body.palette-implant .section-heading .eyebrow,
body.palette-implant .outcome-kicker,
body.palette-implant .doctor-teaser-copy .lead,
body.palette-implant .emergency-page-card a {
  color: #0f5b63;
}

body.palette-implant .new-patient,
body.palette-implant .emergency-final-cta {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 189, 75, .18), transparent 32%),
    linear-gradient(135deg, #0b2f4a 0%, #0f5b63 58%, #2d7f89 100%);
  box-shadow: 0 24px 58px rgba(11, 47, 74, .18);
}

body.palette-implant .new-patient::before {
  background: linear-gradient(180deg, #f2bd4b, #d89a1d);
}

body.palette-implant .new-patient h2,
body.palette-implant .new-patient p,
body.palette-implant .emergency-final-cta h2,
body.palette-implant .emergency-final-cta p {
  color: #ffffff;
}

body.palette-implant .sunny-chat-toggle,
body.palette-implant .sunny-chat-header {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 14%, rgba(242, 189, 75, .26), transparent 30%),
    linear-gradient(135deg, #0b2f4a 0%, #0f5b63 100%);
  box-shadow: 0 22px 52px rgba(11, 47, 74, .28);
}

body.palette-implant .sunny-chat-panel {
  color: #102f4a;
  border-color: rgba(205, 232, 242, .58);
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 189, 75, .16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(232, 245, 251, .94));
  box-shadow: 0 30px 80px rgba(11, 47, 74, .24);
}

body.palette-implant .sunny-message-user .sunny-message-bubble {
  color: #ffffff;
  background: #0f5b63;
}

body.palette-implant .sunny-message-bot .sunny-message-bubble,
body.palette-implant .sunny-chat-input-row input,
body.palette-implant .sunny-chat-prompts button {
  border-color: rgba(15, 91, 99, .18);
  background: rgba(255, 255, 255, .92);
}

body.palette-implant .sunny-message-sources a {
  color: #0f5b63;
}

body.palette-implant .sunny-chat-input-row button {
  color: #ffffff;
  background: #0b2f4a;
}

body.palette-implant .footer {
  background:
    radial-gradient(circle at 14% 0%, rgba(242, 189, 75, .12), transparent 34%),
    linear-gradient(135deg, rgba(15, 91, 99, .22), rgba(242, 189, 75, .08)),
    #0b2f4a;
  border-top-color: #2d7f89;
}

/* Final final: match the current implant page green/olive colors exactly. */
body.palette-implant {
  --navy: #2d302a;
  --teal: #6f8a63;
  --teal-deep: #465f42;
  --blue-soft: #f7efe2;
  --blue-line: #ead8bf;
  --gold: #d89a45;
  --gold-dark: #9a5f2f;
  --coral: #b96347;
  --ink: #2d2924;
  --muted: #6b6258;
  --offwhite: #fbf7ef;
  --sage: #e8eadb;
  --shadow: 0 24px 58px rgba(73, 58, 43, .13);
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 138, 99, .13), transparent 32%),
    linear-gradient(180deg, #fffdf8 0%, #f8f0e4 46%, #fffaf2 100%);
}

body.palette-implant .site-header {
  border-color: rgba(154, 95, 47, .16);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .9), rgba(248, 240, 228, .64)),
    rgba(255, 253, 248, .74);
  box-shadow: 0 14px 36px rgba(73, 58, 43, .08);
}

body.palette-implant.page-scrolled .site-header {
  border-color: rgba(154, 95, 47, .14);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .66), rgba(248, 240, 228, .3)),
    rgba(248, 240, 228, .3);
  box-shadow: 0 12px 34px rgba(73, 58, 43, .1);
}

body.palette-implant .navigation-ribbon {
  border-top-color: rgba(154, 95, 47, .14);
  background: rgba(248, 240, 228, .34);
}

body.palette-implant .nav-links a,
body.palette-implant .navigation-ribbon a,
body.palette-implant .text-link {
  color: #2d2924;
}

body.palette-implant .navigation-ribbon a {
  border-color: rgba(111, 138, 99, .28);
  background: rgba(255, 253, 248, .7);
}

body.palette-implant .navigation-ribbon a:first-child {
  color: #2d2924;
  border-color: rgba(216, 154, 69, .58);
  background: linear-gradient(135deg, rgba(239, 199, 107, .44), rgba(185, 99, 71, .18));
}

body.palette-implant .nav-links a:hover,
body.palette-implant .navigation-ribbon a:hover,
body.palette-implant .text-link:hover {
  color: #465f42;
  background: rgba(111, 138, 99, .14);
}

body.palette-implant .button-gold,
body.palette-implant .mobile-call {
  color: #2d2924;
  background: linear-gradient(135deg, #efc76b 0%, #d89a45 48%, #b96347 100%);
  box-shadow: 0 18px 36px rgba(154, 95, 47, .22);
}

body.palette-implant .button-gold:hover,
body.palette-implant .mobile-call:hover {
  background: linear-gradient(135deg, #f4cf78 0%, #df9f48 48%, #ad573e 100%);
  box-shadow: 0 22px 44px rgba(154, 95, 47, .28);
}

body.palette-implant .button-navy {
  color: #ffffff;
  background: linear-gradient(135deg, #6f8a63 0%, #465f42 58%, #2d302a 100%);
  box-shadow: 0 18px 34px rgba(70, 95, 66, .2);
}

body.palette-implant .button-navy:hover {
  background: linear-gradient(135deg, #79966b 0%, #506b4b 58%, #2f332c 100%);
}

body.palette-implant .button-outline,
body.palette-implant .button-outline-light {
  border-color: rgba(239, 199, 107, .64);
}

body.palette-implant .hero.home-welcome-hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(70, 95, 66, .74) 52%, rgba(216, 154, 69, .16) 100%),
    image-set(url("practice-images/sunnyside-smiles-waiting-area.webp") type("image/webp"), url("practice-images/sunnyside-smiles-waiting-area.jpg") type("image/jpeg"));
}

body.palette-implant .emergency-page-hero {
  background:
    linear-gradient(90deg, rgba(45, 41, 36, .9) 0%, rgba(70, 95, 66, .74) 52%, rgba(216, 154, 69, .16) 100%),
    image-set(url("blog-images/custom/dr-kingra-emergency-dentist-fresno.webp") type("image/webp"));
}

body.palette-implant .home-welcome-hero::before,
body.palette-implant .emergency-page-hero::before {
  background:
    linear-gradient(180deg, rgba(45, 41, 36, .22), transparent 30%, rgba(45, 41, 36, .18) 100%),
    radial-gradient(circle at 14% 72%, rgba(239, 199, 107, .18), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(111, 138, 99, .18), transparent 32%);
}

body.palette-implant .home-welcome-copy .eyebrow,
body.palette-implant .emergency-page-copy .eyebrow,
body.palette-implant .hero .eyebrow,
body.palette-implant .eyebrow.light,
body.palette-implant .home-welcome-card span {
  color: #efc76b;
}

body.palette-implant .home-welcome-card,
body.palette-implant .emergency-page-card,
body.palette-implant .emergency-call-strip {
  border-color: rgba(255, 253, 248, .34);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .78), rgba(248, 240, 228, .52)),
    rgba(255, 253, 248, .34);
  box-shadow: 0 26px 64px rgba(45, 41, 36, .18);
}

body.palette-implant .home-welcome-card strong,
body.palette-implant .emergency-page-card strong,
body.palette-implant .emergency-call-strip strong {
  color: #2d2924;
}

body.palette-implant .home-welcome-card p,
body.palette-implant .emergency-page-card p,
body.palette-implant .emergency-call-strip span {
  color: #554d44;
}

body.palette-implant .home-experience,
body.palette-implant .home-reviews,
body.palette-implant .doctor-luxury-teaser {
  border-color: rgba(154, 95, 47, .12);
  background:
    radial-gradient(circle at 12% 14%, rgba(239, 199, 107, .18), transparent 30%),
    radial-gradient(circle at 86% 86%, rgba(111, 138, 99, .16), transparent 36%),
    linear-gradient(135deg, #fffdf8 0%, #f8f0e4 58%, #e8eadb 100%);
}

body.palette-implant .home-experience-grid article,
body.palette-implant .home-reviews blockquote,
body.palette-implant .doctor-teaser-copy,
body.palette-implant .service-library-toggle,
body.palette-implant .faq-section-toggle,
body.palette-implant .service-card,
body.palette-implant .benefit-card,
body.palette-implant .insurance-card,
body.palette-implant .review-card,
body.palette-implant .faq-list details,
body.palette-implant .emergency-symptom-grid article,
body.palette-implant .emergency-step-grid article {
  border-color: rgba(111, 138, 99, .18);
  background: linear-gradient(145deg, rgba(255, 253, 248, .94), rgba(248, 240, 228, .72));
  box-shadow: 0 20px 52px rgba(73, 58, 43, .09);
}

body.palette-implant .home-experience-grid span,
body.palette-implant .emergency-symptom-grid span,
body.palette-implant .emergency-step-grid span,
body.palette-implant .service-library-toggle > summary::after,
body.palette-implant .faq-section-toggle > summary::after,
body.palette-implant .icon-circle,
body.palette-implant .sunny-chat-avatar,
body.palette-implant .sunny-message-actions a,
body.palette-implant .sunny-message-actions button {
  color: #2d2924;
  background: #efc76b;
}

body.palette-implant .home-experience-grid h3,
body.palette-implant .service-card h3,
body.palette-implant .benefit-card h3,
body.palette-implant .insurance-card h3,
body.palette-implant .doctor-teaser-copy h2,
body.palette-implant .emergency-symptom-grid strong,
body.palette-implant .emergency-step-grid h3 {
  color: #2d2924;
}

body.palette-implant .home-experience-grid p,
body.palette-implant .service-card p,
body.palette-implant .review-card p,
body.palette-implant .doctor-teaser-copy p,
body.palette-implant .emergency-symptom-grid p,
body.palette-implant .emergency-step-grid p {
  color: #554d44;
}

body.palette-implant .section-heading .eyebrow,
body.palette-implant .outcome-kicker,
body.palette-implant .doctor-teaser-copy .lead,
body.palette-implant .emergency-page-card a {
  color: #465f42;
}

body.palette-implant .new-patient,
body.palette-implant .emergency-final-cta {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(239, 199, 107, .2), transparent 32%),
    linear-gradient(135deg, #2d2924 0%, #465f42 100%);
  box-shadow: 0 24px 58px rgba(73, 58, 43, .18);
}

body.palette-implant .new-patient::before {
  background: linear-gradient(180deg, #efc76b, #b96347);
}

body.palette-implant .new-patient h2,
body.palette-implant .new-patient p,
body.palette-implant .emergency-final-cta h2,
body.palette-implant .emergency-final-cta p {
  color: #fffdf8;
}

body.palette-implant .sunny-chat-toggle,
body.palette-implant .sunny-chat-header {
  color: #fffdf8;
  background:
    radial-gradient(circle at 14% 14%, rgba(239, 199, 107, .34), transparent 30%),
    linear-gradient(135deg, #2d2924 0%, #465f42 100%);
  box-shadow: 0 22px 52px rgba(45, 41, 36, .28);
}

body.palette-implant .sunny-chat-panel {
  color: #2d2924;
  border-color: rgba(255, 253, 248, .6);
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 199, 107, .2), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(248, 240, 228, .94));
  box-shadow: 0 30px 80px rgba(45, 41, 36, .28);
}

body.palette-implant .sunny-message-user .sunny-message-bubble {
  color: #fffdf8;
  background: #465f42;
}

body.palette-implant .sunny-message-bot .sunny-message-bubble,
body.palette-implant .sunny-chat-input-row input,
body.palette-implant .sunny-chat-prompts button {
  border-color: rgba(154, 95, 47, .18);
  background: rgba(255, 253, 248, .92);
}

body.palette-implant .sunny-message-sources a {
  color: #465f42;
}

body.palette-implant .sunny-chat-input-row button {
  color: #fffdf8;
  background: #2d2924;
}

body.palette-implant .footer {
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 199, 107, .12), transparent 34%),
    linear-gradient(135deg, rgba(111, 138, 99, .22), rgba(185, 99, 71, .1)),
    #2d2924;
  border-top-color: #d89a45;
}

@media (max-width: 680px) {
  .sunny-chat {
    left: auto;
    right: 16px;
    bottom: 84px;
    width: auto;
  }

  .sunny-chat-toggle {
    width: 58px;
    min-width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 8px;
    border-radius: 999px;
    justify-content: center;
  }

  .sunny-chat-toggle > span:not(.sunny-chat-avatar) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .sunny-chat-avatar {
    width: 42px;
    height: 42px;
  }
}

/* Refined homepage implementation. Scoped to index.html so the rest of the site keeps the same palette. */
body.home-refined {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(111, 138, 99, .16), transparent 34%),
    radial-gradient(circle at 92% 16%, rgba(216, 154, 69, .12), transparent 30%),
    var(--offwhite);
}

body.home-refined .hero.home-welcome-hero,
body.home-refined .home-experience,
body.home-refined main > #services,
body.home-refined main > .band,
body.home-refined main > .doctor-luxury-teaser,
body.home-refined main > .insurance,
body.home-refined main > .new-patient,
body.home-refined main > .home-reviews {
  display: none;
}

body.home-refined .site-header {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 14px;
  right: 14px;
  border: 1px solid rgba(255, 253, 248, .7);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .88), rgba(248, 240, 228, .56)),
    rgba(255, 253, 248, .75);
  box-shadow: 0 18px 52px rgba(73, 58, 43, .12);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

body.home-refined.page-scrolled .site-header {
  top: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .68), rgba(248, 240, 228, .36)),
    rgba(255, 253, 248, .5);
}

body.home-refined .nav {
  width: min(100%, 1320px);
  min-height: 80px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

body.home-refined .brand-logo {
  width: 184px;
  max-height: none;
}

body.home-refined .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

body.home-refined .nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

body.home-refined .nav-links a {
  min-height: 42px;
  padding: .68rem .9rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 900;
}

body.home-refined .nav-links a:hover {
  color: var(--teal-deep);
  background: rgba(111, 138, 99, .14);
}

body.home-refined .refined-home-hero {
  min-height: 100vh;
  padding: clamp(150px, 13vw, 214px) max(18px, calc((100% - 1260px) / 2)) 68px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

body.home-refined .refined-hero-copy .eyebrow,
body.home-refined .refined-experience-copy .eyebrow,
body.home-refined .refined-section .eyebrow,
body.home-refined .refined-final-cta .eyebrow {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.home-refined .refined-hero-copy h1,
body.home-refined .refined-section h2,
body.home-refined .refined-final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

body.home-refined .refined-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.9rem, 5.6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

body.home-refined .refined-section h2,
body.home-refined .refined-final-cta h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

body.home-refined .refined-hero-copy .lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.62;
}

body.home-refined .refined-proof {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.home-refined .refined-proof span {
  min-height: 82px;
  padding: 16px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: rgba(255, 253, 248, .48);
  font-weight: 600;
}

body.home-refined .refined-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

body.home-refined .refined-photo-stage {
  position: relative;
  min-height: clamp(540px, 58vw, 710px);
}

body.home-refined .refined-hero-frame {
  position: absolute;
  inset: 0 0 10% 10%;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 253, 248, .72);
  background: var(--navy);
  box-shadow: var(--shadow);
}

body.home-refined .refined-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(45, 41, 36, .08), transparent 34%, rgba(45, 41, 36, .18) 100%),
    radial-gradient(circle at 18% 82%, rgba(216, 154, 69, .18), transparent 30%);
}

body.home-refined .refined-hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: refinedHeroFade 18s infinite;
}

body.home-refined .refined-hero-frame img:nth-child(2) {
  animation-delay: 6s;
}

body.home-refined .refined-hero-frame img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes refinedHeroFade {
  0%,
  31% {
    opacity: 1;
    transform: scale(1);
  }
  38%,
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

body.home-refined .refined-portrait-card {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: min(310px, 52%);
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 253, 248, .72);
  box-shadow: 0 22px 58px rgba(73, 58, 43, .18);
  background: var(--blue-soft);
}

body.home-refined .refined-portrait-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

body.home-refined .refined-photo-note {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  width: min(360px, 70%);
  padding: 18px 20px;
  border: 1px solid rgba(255, 253, 248, .5);
  border-radius: 18px;
  color: var(--navy);
  background: rgba(255, 253, 248, .78);
  box-shadow: 0 18px 44px rgba(73, 58, 43, .12);
  backdrop-filter: blur(16px);
}

body.home-refined .refined-photo-note strong {
  display: block;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

body.home-refined .refined-photo-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

body.home-refined .refined-section {
  padding: clamp(74px, 9vw, 128px) max(18px, calc((100% - 1180px) / 2));
}

body.home-refined .refined-experience {
  background:
    radial-gradient(circle at 12% 12%, rgba(216, 154, 69, .13), transparent 30%),
    linear-gradient(135deg, #fffdf8, #f8f0e4);
}

body.home-refined .refined-experience-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

body.home-refined .refined-experience-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

body.home-refined .refined-image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

body.home-refined .refined-image-mosaic figure,
body.home-refined .refined-smile-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 253, 248, .72);
  background: var(--navy);
  box-shadow: 0 18px 48px rgba(73, 58, 43, .12);
}

body.home-refined .refined-image-mosaic figure:first-child {
  grid-row: span 2;
}

body.home-refined .refined-image-mosaic img,
body.home-refined .refined-smile-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-refined .refined-image-mosaic img {
  min-height: 260px;
}

body.home-refined .refined-image-mosaic figure:first-child img {
  min-height: 550px;
}

body.home-refined .refined-care {
  background: var(--offwhite);
}

body.home-refined .refined-care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(111, 138, 99, .22);
  border-bottom: 1px solid rgba(111, 138, 99, .22);
}

body.home-refined .refined-care-link {
  min-height: 280px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(111, 138, 99, .22);
  text-decoration: none;
  transition: background .2s ease;
}

body.home-refined .refined-care-link:last-child {
  border-right: 0;
}

body.home-refined .refined-care-link:hover {
  background: rgba(232, 234, 219, .52);
}

body.home-refined .refined-care-link small {
  color: var(--teal-deep);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.home-refined .refined-care-link h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

body.home-refined .refined-care-link p {
  color: var(--muted);
}

body.home-refined .refined-care-link span {
  color: var(--gold-dark);
  font-weight: 950;
}

body.home-refined .refined-doctor {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 154, 69, .16), transparent 34%),
    linear-gradient(135deg, rgba(111, 138, 99, .2), #fffdf8);
}

body.home-refined .refined-doctor-photo {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 253, 248, .72);
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}

body.home-refined .refined-doctor-photo img {
  width: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center center;
}

body.home-refined .refined-doctor-copy {
  padding: clamp(26px, 4vw, 48px);
  border-radius: 30px;
  border: 1px solid rgba(255, 253, 248, .72);
  background: rgba(255, 253, 248, .62);
  box-shadow: 0 24px 64px rgba(73, 58, 43, .1);
}

body.home-refined .refined-doctor-copy blockquote {
  margin: 24px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  color: var(--navy);
  background: rgba(255, 253, 248, .72);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.45;
}

body.home-refined .refined-smiles {
  color: #fffdf8;
  background: var(--navy);
}

body.home-refined .refined-smiles .section-heading h2,
body.home-refined .refined-smiles .section-heading p,
body.home-refined .refined-smiles .section-heading .eyebrow {
  color: #fffdf8;
}

body.home-refined .refined-smile-gallery {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 16px;
  align-items: stretch;
}

body.home-refined .refined-smile-gallery figure {
  min-height: 360px;
  box-shadow: none;
}

body.home-refined .refined-smile-gallery figure:first-child {
  min-height: 480px;
}

body.home-refined .refined-smile-gallery img {
  opacity: .94;
}

body.home-refined .refined-smile-gallery figure:nth-child(3) img {
  object-position: center top;
}

body.home-refined .refined-final-cta {
  margin: 0 max(18px, calc((100% - 1180px) / 2)) clamp(72px, 9vw, 120px);
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 30px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 14% 20%, rgba(216, 154, 69, .22), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--teal-deep));
  box-shadow: var(--shadow);
}

body.home-refined .refined-final-cta h2,
body.home-refined .refined-final-cta p,
body.home-refined .refined-final-cta .eyebrow {
  color: #fffdf8;
}

body.home-refined .refined-final-cta p {
  max-width: 640px;
  color: rgba(255, 253, 248, .78);
}

body.home-refined .all-service-links,
body.home-refined .faq {
  background: var(--offwhite);
}

@media (prefers-reduced-motion: reduce) {
  body.home-refined .refined-hero-frame img {
    animation: none;
  }

  body.home-refined .refined-hero-frame img:first-child {
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  body.home-refined .nav {
    grid-template-columns: 1fr auto;
  }

  body.home-refined .nav-links {
    grid-column: 1 / -1;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.home-refined .nav-links::-webkit-scrollbar {
    display: none;
  }

  body.home-refined .refined-home-hero,
  body.home-refined .refined-experience-layout,
  body.home-refined .refined-doctor {
    grid-template-columns: 1fr;
  }

  body.home-refined .refined-photo-stage {
    min-height: 640px;
  }

  body.home-refined .refined-care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-refined .refined-care-link:nth-child(2) {
    border-right: 0;
  }

  body.home-refined .refined-care-link:nth-child(-n+2) {
    border-bottom: 1px solid rgba(111, 138, 99, .22);
  }

  body.home-refined .refined-smile-gallery {
    grid-template-columns: 1fr 1fr;
  }

  body.home-refined .refined-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  body.home-refined .site-header {
    top: 6px;
    left: 6px;
    right: 6px;
    border-radius: 16px;
  }

  body.home-refined.page-scrolled .site-header {
    top: 4px;
  }

  body.home-refined .nav {
    min-height: 72px;
    padding: 10px 12px;
    grid-template-columns: 1fr auto;
  }

  body.home-refined .brand-logo {
    width: 154px;
  }

  body.home-refined .nav-links {
    display: none;
  }

  body.home-refined .nav-actions {
    display: flex;
  }

  body.home-refined .nav-actions .desktop-appointment {
    display: none;
  }

  body.home-refined .nav-actions .button-gold {
    min-height: 42px;
    padding: .74rem .88rem;
    display: inline-flex;
    font-size: .82rem;
  }

  body.home-refined .refined-home-hero {
    padding: 144px 18px 58px;
  }

  body.home-refined .refined-hero-copy h1 {
    font-size: clamp(3.1rem, 14.5vw, 4.7rem);
  }

  body.home-refined .refined-section h2,
  body.home-refined .refined-final-cta h2 {
    font-size: clamp(2.28rem, 10vw, 3.45rem);
  }

  body.home-refined .refined-home-hero .button,
  body.home-refined .refined-section .button,
  body.home-refined .refined-final-cta .button {
    width: 100%;
  }

  body.home-refined .refined-proof,
  body.home-refined .refined-image-mosaic,
  body.home-refined .refined-care-grid,
  body.home-refined .refined-smile-gallery {
    grid-template-columns: 1fr;
  }

  body.home-refined .refined-photo-stage {
    min-height: 520px;
  }

  body.home-refined .refined-hero-frame {
    inset: 0 0 18% 0;
    border-radius: 26px;
  }

  body.home-refined .refined-portrait-card {
    width: 44%;
    border-radius: 20px;
  }

  body.home-refined .refined-photo-note {
    right: 12px;
    bottom: 12px;
    width: 68%;
    padding: 14px;
    border-radius: 16px;
  }

  body.home-refined .refined-section {
    padding: 62px 18px;
  }

  body.home-refined .refined-image-mosaic figure:first-child,
  body.home-refined .refined-smile-gallery figure:first-child {
    grid-row: auto;
  }

  body.home-refined .refined-image-mosaic img,
  body.home-refined .refined-image-mosaic figure:first-child img,
  body.home-refined .refined-smile-gallery figure,
  body.home-refined .refined-smile-gallery figure:first-child {
    min-height: 320px;
  }

  body.home-refined .refined-care-link,
  body.home-refined .refined-care-link:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(111, 138, 99, .22);
  }

  body.home-refined .refined-doctor-photo img {
    min-height: 430px;
  }

  body.home-refined .refined-doctor-copy,
  body.home-refined .refined-final-cta {
    border-radius: 22px;
    padding: 24px;
  }

  body.home-refined .refined-final-cta {
    margin-inline: 18px;
  }
}

/* Restore the original header palette and homepage navigation treatment. */
body.palette-implant .site-header,
body.home-refined .site-header,
body.palette-implant.page-scrolled .site-header,
body.home-refined.page-scrolled .site-header {
  border-color: rgba(16, 47, 74, .1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(232, 245, 251, .58)),
    rgba(255, 255, 255, .9);
  box-shadow: 0 12px 32px rgba(16, 47, 74, .08);
}

body.home-refined .site-header {
  top: 6px;
  left: 4px;
  right: 4px;
  width: auto;
  border-radius: 16px;
}

body.palette-implant .site-header::before,
body.home-refined .site-header::before {
  background:
    radial-gradient(circle at 14% 0%, rgba(242, 189, 75, .14), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(15, 91, 99, .12), transparent 36%);
  opacity: .62;
}

body.home-refined .nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.home-refined .brand-logo {
  width: clamp(166px, 16vw, 224px);
  max-height: 56px;
}

body.home-refined .nav-links,
body.home-refined .nav-actions {
  display: flex;
  align-items: center;
}

body.home-refined .nav-links {
  gap: 6px;
  justify-content: center;
}

body.palette-implant .nav-links a,
body.home-refined .nav-links a,
body.palette-implant .navigation-ribbon a,
body.palette-implant .text-link {
  color: #102f4a;
}

body.home-refined .nav-links a {
  min-height: auto;
  padding: .48rem .62rem;
  border-radius: 999px;
  font-size: .9rem;
}

body.palette-implant .nav-links a:hover,
body.home-refined .nav-links a:hover,
body.palette-implant .navigation-ribbon a:hover,
body.palette-implant .text-link:hover {
  color: #073f49;
  background: rgba(15, 91, 99, .09);
}

body.home-refined .navigation-ribbon,
body.palette-implant .navigation-ribbon {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  border-top-color: rgba(16, 47, 74, .08);
  background: rgba(255, 255, 255, .72);
}

body.palette-implant .navigation-ribbon a {
  color: #073f49;
  border-color: rgba(16, 47, 74, .12);
  background: rgba(255, 255, 255, .82);
}

body.palette-implant .navigation-ribbon a:first-child {
  color: #1f2f3f;
  border-color: rgba(242, 189, 75, .62);
  background: rgba(242, 189, 75, .18);
}

body.palette-implant .button-gold,
body.palette-implant .mobile-call {
  color: #21323a;
  background: linear-gradient(135deg, #ffcf38, #f2bd4b);
  box-shadow: 0 14px 30px rgba(16, 47, 74, .12);
}

body.palette-implant .button-gold:hover,
body.palette-implant .mobile-call:hover {
  background: linear-gradient(135deg, #ffd84f, #f2bd4b);
  box-shadow: 0 16px 34px rgba(16, 47, 74, .16);
}

body.palette-implant .button-navy {
  color: #ffffff;
  background: linear-gradient(135deg, #102f4a 0%, #0f5b63 100%);
  box-shadow: 0 14px 30px rgba(16, 47, 74, .14);
}

body.palette-implant .button-navy:hover {
  background: linear-gradient(135deg, #0d3a58 0%, #116b74 100%);
}

@media (max-width: 980px) {
  body.home-refined .nav {
    flex-wrap: wrap;
  }

  body.home-refined .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: thin;
  }
}

@media (max-width: 680px) {
  body.home-refined .site-header {
    top: 6px;
    left: 4px;
    right: 4px;
  }

  body.home-refined .nav {
    min-height: 72px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: nowrap;
  }

  body.home-refined .nav-links {
    display: none;
  }

  body.home-refined .nav-actions .desktop-appointment {
    display: none;
  }

  body.home-refined .navigation-ribbon {
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 12px;
  }
}

/* 9+ polish: clearer wayfinding and premium social proof. */
.site-header a[aria-current="page"] {
  color: #073f49;
  background: rgba(15, 91, 99, .1);
  box-shadow: inset 0 0 0 1px rgba(15, 91, 99, .18);
}

.navigation-ribbon a[aria-current="page"] {
  color: #1f2f3f;
  border-color: rgba(242, 189, 75, .76);
  background: linear-gradient(135deg, rgba(255, 216, 79, .28), rgba(255, 255, 255, .88));
}

body.home-refined .refined-reputation {
  position: relative;
  overflow: hidden;
  color: #102f4a;
  background:
    radial-gradient(circle at 16% 18%, rgba(242, 189, 75, .18), transparent 30%),
    radial-gradient(circle at 86% 0%, rgba(15, 91, 99, .1), transparent 32%),
    linear-gradient(135deg, #fffdf8 0%, #eef7f1 100%);
}

body.home-refined .refined-reputation::before {
  content: "";
  position: absolute;
  inset: 22px;
  pointer-events: none;
  border: 1px solid rgba(16, 47, 74, .08);
  border-radius: 8px;
}

body.home-refined .refined-review-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, .72fr);
  gap: 18px;
  align-items: stretch;
}

body.home-refined .refined-review-card,
body.home-refined .refined-review-score {
  border: 1px solid rgba(16, 47, 74, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 60px rgba(16, 47, 74, .08);
}

body.home-refined .refined-review-card {
  padding: clamp(22px, 3vw, 34px);
}

body.home-refined .refined-review-card p {
  margin: 16px 0 18px;
  color: #2e4f54;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.68;
}

body.home-refined .refined-review-card strong {
  color: #102f4a;
}

body.home-refined .refined-stars {
  color: #d79c31;
  font-size: 1.1rem;
  letter-spacing: 0;
}

body.home-refined .refined-review-score {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fffdf8;
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 189, 75, .34), transparent 30%),
    linear-gradient(135deg, #102f4a, #0f5b63);
}

body.home-refined .refined-review-score span {
  display: block;
  color: #ffcf38;
  font-size: clamp(3.6rem, 8vw, 5.8rem);
  font-weight: 900;
  line-height: .9;
}

body.home-refined .refined-review-score strong {
  margin-top: 12px;
  color: #fffdf8;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.home-refined .refined-review-score p {
  color: rgba(255, 253, 248, .82);
}

body.home-refined .refined-review-score .text-link {
  width: fit-content;
  margin-top: 8px;
  color: #ffcf38;
}

@media (max-width: 920px) {
  body.home-refined .refined-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.home-refined .refined-reputation::before {
    inset: 12px;
  }
}

/* Mobile navigation: keeps every main section reachable on phones. */
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .72rem .95rem;
  border: 1px solid rgba(16, 47, 74, .14);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 28px rgba(16, 47, 74, .1);
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  cursor: pointer;
}

.nav-menu-icon,
.nav-menu-icon::before,
.nav-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-menu-icon {
  position: relative;
}

.nav-menu-icon::before,
.nav-menu-icon::after {
  position: absolute;
  left: 0;
}

.nav-menu-icon::before {
  top: -6px;
}

.nav-menu-icon::after {
  top: 6px;
}

@media (max-width: 980px) {
  .no-insurance-section,
  .savings-offer-grid,
  .savings-audience-card,
  .compact-check-list {
    grid-template-columns: 1fr;
  }

  .payment-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .savings-offer-card,
  .savings-audience-card {
    padding: 22px;
    border-radius: 14px;
  }

  .value-breakdown dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

  .site-header .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .site-header .brand {
    margin-right: 0;
  }

  .site-header .nav-links,
  .site-header .navigation-ribbon,
  body.home-refined .site-header .nav-links,
  body.home-refined .site-header .navigation-ribbon {
    display: none;
  }

  .site-header.nav-menu-open .nav-links,
  body.home-refined .site-header.nav-menu-open .nav-links {
    order: 6;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 4px 2px;
    overflow: visible;
  }

  .site-header.nav-menu-open .navigation-ribbon,
  body.home-refined .site-header.nav-menu-open .navigation-ribbon {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px 14px;
    overflow: visible;
  }

  .site-header.nav-menu-open .nav-links a,
  .site-header.nav-menu-open .navigation-ribbon a,
  body.home-refined .site-header.nav-menu-open .nav-links a,
  body.home-refined .site-header.nav-menu-open .navigation-ribbon a {
    min-height: 44px;
    justify-content: center;
    border-radius: 10px;
    color: var(--navy);
    background: rgba(255, 255, 255, .74);
    box-shadow: inset 0 0 0 1px rgba(16, 47, 74, .08);
  }
}

@media (max-width: 680px) {
  .nav-menu-toggle span:last-child {
    font-size: .86rem;
  }

  .site-header .nav-actions .desktop-appointment {
    display: none;
  }

  .site-header.nav-menu-open .nav-links,
  .site-header.nav-menu-open .navigation-ribbon,
  body.home-refined .site-header.nav-menu-open .nav-links,
  body.home-refined .site-header.nav-menu-open .navigation-ribbon {
    grid-template-columns: 1fr;
  }

  .emergency-trust-stats {
    grid-template-columns: 1fr;
  }

  .emergency-stat {
    min-height: 140px;
  }
}

/* Premium funnel refinements for the highest-value pages. */
.doctor-funnel-points,
.refined-doctor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.doctor-funnel-points span,
.refined-doctor-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .58rem .84rem;
  border: 1px solid rgba(255, 253, 248, .35);
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(255, 253, 248, .14);
  font-size: .86rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.refined-doctor-badges {
  margin: 24px 0 26px;
}

.refined-doctor-badges span {
  border-color: rgba(111, 138, 99, .22);
  color: var(--navy);
  background: rgba(255, 253, 248, .78);
}

.premium-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.premium-trust-grid article {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(111, 138, 99, .2);
  border-radius: 16px;
  background: rgba(255, 253, 248, .78);
  box-shadow: 0 16px 36px rgba(16, 47, 74, .06);
}

.premium-trust-grid strong,
.premium-trust-grid span {
  display: block;
}

.premium-trust-grid strong {
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.15;
}

.premium-trust-grid span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.cosmetic-consult-story {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  background:
    radial-gradient(circle at 86% 18%, rgba(242, 189, 75, .12), transparent 32%),
    linear-gradient(135deg, var(--offwhite), #ffffff);
}

.cosmetic-consult-story p {
  color: var(--muted);
}

.doctor-trust-funnel,
.doctor-care-pathways {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(72px, 9vw, 118px);
}

.doctor-trust-card-grid,
.doctor-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.doctor-trust-card,
.doctor-pathway-card {
  padding: 24px;
  border: 1px solid rgba(111, 138, 99, .2);
  border-radius: 18px;
  background: rgba(255, 253, 248, .88);
  box-shadow: 0 18px 44px rgba(73, 58, 43, .1);
}

.doctor-trust-card strong,
.doctor-pathway-card strong {
  display: block;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.16;
}

.doctor-trust-card p,
.doctor-pathway-card span {
  color: var(--muted);
  line-height: 1.58;
}

.doctor-care-pathways {
  padding: clamp(36px, 5vw, 58px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 14%, rgba(242, 189, 75, .15), transparent 30%),
    linear-gradient(135deg, rgba(232, 245, 251, .72), rgba(255, 253, 248, .92));
}

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

.doctor-pathway-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.doctor-pathway-card:hover,
.doctor-pathway-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(216, 154, 69, .45);
  box-shadow: 0 24px 58px rgba(73, 58, 43, .14);
}

.doctor-pathway-card small {
  color: var(--teal-deep);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.doctor-panel-callout {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(216, 154, 69, .3);
  border-radius: 16px;
  background: rgba(255, 253, 248, .78);
}

.doctor-panel-callout strong {
  display: block;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.doctor-panel-callout p {
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .premium-trust-grid,
  .cosmetic-consult-story,
  .doctor-trust-card-grid,
  .doctor-pathway-grid {
    grid-template-columns: 1fr;
  }

  .doctor-care-pathways {
    padding: 28px;
  }
}

/* Patient acquisition funnel layer for the homepage. */
body.home-refined .refined-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home-refined .refined-funnel-panel {
  padding: clamp(58px, 8vw, 98px) max(18px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 8% 12%, rgba(216, 154, 69, .12), transparent 28%),
    linear-gradient(135deg, rgba(232, 245, 251, .72), rgba(255, 253, 248, .94));
}

body.home-refined .refined-funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.home-refined .refined-funnel-card {
  min-height: 328px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(111, 138, 99, .2);
  border-radius: 18px;
  background: rgba(255, 253, 248, .86);
  box-shadow: 0 18px 44px rgba(73, 58, 43, .09);
}

body.home-refined .refined-funnel-card small {
  color: var(--teal-deep);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.home-refined .refined-funnel-card h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

body.home-refined .refined-funnel-card p {
  color: var(--muted);
  line-height: 1.58;
}

body.home-refined .refined-funnel-card .button {
  width: 100%;
  justify-content: center;
}

body.home-refined .emergency-funnel-card {
  border-color: rgba(216, 154, 69, .42);
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 189, 75, .16), transparent 32%),
    rgba(255, 253, 248, .9);
}

@media (max-width: 1060px) {
  body.home-refined .refined-proof,
  body.home-refined .refined-funnel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.home-refined .refined-proof,
  body.home-refined .refined-funnel-grid {
    grid-template-columns: 1fr;
  }

  body.home-refined .refined-funnel-panel {
    padding: 54px 18px;
  }
}

/* High-trust proof layer for homepage and doctor authority pages. */
body.home-refined .refined-trust-standard {
  position: relative;
  overflow: hidden;
  color: #fffdf8;
  background:
    radial-gradient(circle at 12% 16%, rgba(242, 189, 75, .18), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(137, 174, 125, .18), transparent 32%),
    linear-gradient(135deg, #102f4a 0%, #0f5b63 56%, #465f42 100%);
}

body.home-refined .refined-trust-standard .section-heading {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

body.home-refined .refined-trust-standard .section-heading h2,
body.home-refined .refined-trust-standard .section-heading p,
body.home-refined .refined-trust-standard .eyebrow {
  color: #fffdf8;
}

body.home-refined .refined-trust-standard .section-heading p {
  color: rgba(255, 253, 248, .82);
}

.trust-standard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 34px auto 0;
}

.trust-standard-grid article {
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 253, 248, .18);
  border-radius: 8px;
  background: rgba(255, 253, 248, .1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
}

.trust-standard-grid small,
.doctor-verification-grid span {
  display: inline-flex;
  width: fit-content;
  color: #ffcf38;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-standard-grid strong,
.trust-standard-grid p,
.trust-standard-grid a {
  display: block;
}

.trust-standard-grid strong {
  margin-top: 14px;
  color: #fffdf8;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.trust-standard-grid p {
  margin: 14px 0 16px;
  color: rgba(255, 253, 248, .78);
  line-height: 1.58;
}

.trust-standard-grid .text-link {
  color: #ffcf38;
}

.doctor-verification-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(72px, 9vw, 118px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 28px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 18% 16%, rgba(242, 189, 75, .18), transparent 30%),
    linear-gradient(135deg, #102f4a, #0f5b63 58%, #465f42);
  box-shadow: 0 28px 90px rgba(16, 47, 74, .18);
}

.doctor-verification-panel h2,
.doctor-verification-panel p,
.doctor-verification-panel .eyebrow {
  color: #fffdf8;
}

.doctor-verification-panel > div:first-child {
  max-width: 880px;
}

.doctor-verification-panel > div:first-child p {
  color: rgba(255, 253, 248, .82);
}

.doctor-verification-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.doctor-verification-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, .18);
  border-radius: 8px;
  background: rgba(255, 253, 248, .1);
  backdrop-filter: blur(12px);
}

.doctor-verification-grid strong {
  display: block;
  margin-top: 16px;
  color: #fffdf8;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.18;
}

.doctor-verification-grid p {
  margin: 12px 0 0;
  color: rgba(255, 253, 248, .78);
  line-height: 1.56;
}

@media (max-width: 1060px) {
  .trust-standard-grid,
  .doctor-verification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .trust-standard-grid,
  .doctor-verification-grid {
    grid-template-columns: 1fr;
  }

  .doctor-verification-panel {
    width: calc(100% - 32px);
    padding: 28px;
    border-radius: 22px;
  }

  .trust-standard-grid article,
  .doctor-verification-grid article {
    min-height: auto;
  }
}

/* Keep the homepage hero from breaking words inside the intro and headline. */
body.home-refined .refined-hero-copy .eyebrow,
body.home-refined .refined-hero-copy h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

@media (max-width: 680px) {
  body.home-refined .refined-hero-copy h1 {
    font-size: 2.55rem;
    line-height: 1.08;
  }

  body.home-refined .refined-hero-copy .eyebrow {
    letter-spacing: .08em;
  }
}

/* ===== Polish layer: typography, depth, and interaction refinements ===== */

body {
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-optical-sizing: auto;
}

/* Interior page heroes: rein in the display sizes to match the refined homepage */
.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

/* Buttons: consistent, calm motion */
.button,
.ada-widget-toggle,
a.button {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

/* Cards: gentle lift on hover instead of static blocks */
.service-card,
.benefit-card,
.review-card,
.insurance-card,
.doctor-card,
.treatment-card,
.blog-card,
.blog-feature-card,
.contact-card,
.payment-card,
.area-card,
.city-fact-card,
.smile-result-card,
.implant-benefit-card,
.implant-option-card,
.cosmetic-service-card,
.technology-card {
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover,
.benefit-card:hover,
.review-card:hover,
.insurance-card:hover,
.doctor-card:hover,
.treatment-card:hover,
.blog-card:hover,
.blog-feature-card:hover,
.contact-card:hover,
.payment-card:hover,
.area-card:hover,
.city-fact-card:hover,
.smile-result-card:hover,
.implant-benefit-card:hover,
.implant-option-card:hover,
.cosmetic-service-card:hover,
.technology-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(73, 58, 43, .14);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Small phones: keep the header row from clipping the Call button */
@media (max-width: 480px) {
  .nav,
  body.home-refined .nav,
  .nav-actions,
  body.home-refined .nav-actions {
    gap: 8px;
  }

  .brand-logo,
  body.home-refined .brand-logo {
    width: 132px;
  }

  .nav-menu-toggle {
    padding-inline: 12px;
  }
}

/* Anchor jumps: keep section tops clear of the fixed header */
html {
  scroll-padding-top: 156px;
}

/* Footer link chips: finish the intended style (padding, radius, no underline) */
.footer-links a,
.map-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
}
