:root {
  --navy: #0b355a;
  --navy-soft: #31536f;
  --turquoise: #0794a8;
  --turquoise-deep: #087e92;
  --aqua: #dff5f8;
  --surface-blue: #eef9fc;
  --surface-soft: #f8fcfd;
  --line: #cfe8ef;
  --white: #ffffff;
  --muted: #58718a;
  --shadow-soft: 0 22px 55px rgba(11, 53, 90, 0.09);
  --shadow-card: 0 12px 32px rgba(11, 53, 90, 0.07);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --max: 1440px;
  --gutter: clamp(24px, 4vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-large {
  width: 30px;
  height: 30px;
  stroke-width: 1.45;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-pill);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(207, 232, 239, 0.74);
  box-shadow: 0 8px 22px rgba(8, 126, 146, 0.14);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 144px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  color: var(--turquoise);
}

.brand-mark svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  color: var(--turquoise-deep);
  font-size: 19px;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-link {
  position: relative;
  padding: 26px 0 23px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--turquoise);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}
.primary-nav.is-hovering .nav-link.is-active:not(.is-hovered)::after {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-hovered::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  transition: all 0.25s ease;
}

.button:hover {
  transform: scale(1.03);
}

.button:active {
  transform: scale(0.98);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.nav-link:focus-visible,
.contact-item:focus-visible,
.mobile-action-bar a:focus-visible,
.faq-item summary:focus-visible,
.more-services summary:focus-visible {
  outline: 3px solid rgba(8, 126, 146, 0.32);
  outline-offset: 4px;
}

.button-primary {
  color: var(--white);
  background: var(--turquoise);
  box-shadow: 0 8px 22px rgba(7, 148, 168, 0.2);
}

.button-primary:hover {
  background: var(--turquoise-deep);
  box-shadow: 0 12px 28px rgba(7, 148, 168, 0.24);
}

.button-secondary,
.button-outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--navy);
}

.button-secondary:hover,
.button-outline:hover {
  color: var(--navy);
  background: var(--aqua);
  border-color: var(--turquoise);
}

.header-cta {
  min-height: 44px;
  padding-inline: 17px;
  color: var(--white);
  border-color: var(--turquoise);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  overflow: hidden;
  background-color: #ffffff;
  background-image: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -9%;
  bottom: -27%;
  width: 55%;
  height: 75%;
  border: 1px solid rgba(7, 148, 168, 0.08);
  border-radius: 50%;
  content: "";
  transform: rotate(-16deg);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-two {
  top: 32%;
  right: 32%;
  width: 80px;
  height: 80px;
  background: rgba(7, 148, 168, 0.08);
  filter: blur(4px);
}

.hero-grid {
  position: relative;
  display: block;
  min-height: 580px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 40%;
  padding-block: 76px 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--turquoise-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 630px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(43px, 5.2vw, 75px);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

h1 em {
  color: var(--turquoise-deep);
  font-style: normal;
}

.hero-lead {
  margin-bottom: 27px;
  color: var(--navy-soft);
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.handwritten {
  position: relative;
  color: #69afc0;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 22px;
  font-style: italic;
  line-height: 1.15;
}

.handwritten-hero {
  width: max-content;
  margin-top: 40px;
  clip-path: inset(0 100% 0 0);
  animation: handwritten-write 1.8s cubic-bezier(0.65, 0, 0.35, 1) 260ms both;
  transform: rotate(-4deg);
}

.scribble-line {
  display: block;
  width: 124px;
  height: 16px;
  margin: 2px 0 0 26px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-7deg) scaleX(0);
  transform-origin: left center;
}

.handwritten-hero .scribble-line {
  animation: scribble-draw 560ms ease 1.95s both;
}

@keyframes handwritten-write {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes scribble-draw {
  0% {
    opacity: 0;
    transform: rotate(-7deg) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: rotate(-7deg) scaleX(1);
  }
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: calc((100vw - 100%) / -2);
  width: calc(70% + (100vw - 100%) / 2);
  height: 100%;
  min-height: 580px;
}

.hero-image-frame {
  position: absolute;
  inset: 0;
  background: url("assets/team-generated.png") center / cover no-repeat;
  overflow: hidden;
  border-radius: 0;
  box-shadow: -30px 0 70px rgba(255, 255, 255, 0.18);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 27%, transparent 100%);
  content: "";
  pointer-events: none;
}

.hero-photo-glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: 8%;
  width: 58%;
  height: 64%;
  background: rgba(7, 148, 168, 0.14);
  border-radius: 50%;
  filter: blur(80px);
}

.trust-strip {
  position: relative;
  z-index: 2;
  background: #087e92;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  gap: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--white);
  font-size: 14px;
}

.trust-grid .icon-disc {
  color: var(--white);
  background: #066b7c;
}

.icon-disc,
.service-icon,
.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--turquoise-deep);
  background: var(--aqua);
  border-radius: 50%;
}

.icon-disc {
  width: 48px;
  height: 48px;
}

.trust-divider {
  width: 2px;
  height: 32px;
  background: rgba(255, 255, 255, 0.28);
}

.section {
  position: relative;
  padding-block: clamp(78px, 9vw, 128px);
}

.split-grid,
.dentist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(42px, 7vw, 108px);
}

.practice-section {
  overflow: hidden;
  background: var(--white);
}

.practice-section::before {
  position: absolute;
  top: 12%;
  right: -9%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(7, 148, 168, 0.07);
  border-radius: 50%;
  content: "";
}

.practice-botanical {
  display: none;
}

.section-copy {
  position: relative;
  z-index: 2;
}

h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(31px, 3.3vw, 47px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.section-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 16px;
}

.image-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  box-shadow: var(--shadow-soft);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.image-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.93);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 750;
}

.services-section {
  background: linear-gradient(180deg, var(--surface-blue), #fafdfe);
  overflow: hidden;
}

.services-section::before,
.services-section::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(7, 148, 168, 0.07);
  border-radius: 50%;
  content: "";
}

.services-section::before {
  top: -150px;
  left: -90px;
}

.services-section::after {
  right: -110px;
  bottom: -145px;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 38px;
}

.centered {
  text-align: center;
}

.centered h2 {
  margin-bottom: 0;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 238px;
  padding: 24px 18px 21px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.service-card:hover {
  color: var(--white);
  background: #087e92;
  border-color: #087e92;
  box-shadow: 0 12px 28px rgba(8, 126, 146, 0.18);
  transform: translateY(-5px);
}

.service-card:hover .service-icon {
  color: var(--white);
  background: rgba(4, 93, 108, 0.72);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.86);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}

.service-card h3 {
  min-height: 24px;
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.more-services {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
}

.more-services summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 28px;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  list-style: none;
}

.more-services summary::-webkit-details-marker {
  display: none;
}

.more-services summary .icon {
  transition: transform 180ms ease;
}

.more-services[open] summary .icon {
  transform: rotate(180deg);
}

.more-services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 18px;
}

.more-services-list span {
  padding: 7px 12px;
  color: var(--navy-soft);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 650;
}

.dentist-section {
  overflow: hidden;
  background: var(--white);
}

.dentist-portrait {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  background: var(--surface-blue);
}

.dentist-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 148, 168, 0.08), transparent 38%);
  content: "";
}

.dentist-portrait img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center 36%;
}

.portrait-accent {
  position: absolute;
  z-index: 1;
  right: -42px;
  bottom: -48px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(7, 148, 168, 0.35);
  border-radius: 50%;
}

.dentist-copy {
  padding-right: 4vw;
}

.handwritten-dentist {
  width: max-content;
  max-width: 100%;
  margin: 35px 0 0;
  clip-path: inset(0 100% 0 0);
  font-size: 29px;
  animation: none;
  transform: rotate(-5deg);
  transform-origin: left center;
}

.handwritten-dentist .scribble-line {
  animation: none;
}

.dentist-copy.is-visible .handwritten-dentist {
  animation: handwritten-write 1.8s cubic-bezier(0.65, 0, 0.35, 1) 220ms both;
}

.dentist-copy.is-visible .handwritten-dentist .scribble-line {
  animation: scribble-draw 560ms ease 1.95s both;
}

.signature {
  display: flex;
  flex-direction: column;
  margin: 40px 0 0;
  width: max-content;
  line-height: 1.2;
}

.signature strong {
  font-size: 22px;
}

.signature span {
  color: var(--turquoise-deep);
  font-size: 17px;
  font-weight: 650;
}

.faq-section {
  padding-top: clamp(66px, 8vw, 105px);
  background: var(--surface-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 640px;
}

.faq-content {
  padding: clamp(34px, 5vw, 78px);
  background: transparent;
}

.faq-heading {
  display: block;
  margin-bottom: 30px;
}

.faq-heading .eyebrow {
  color: var(--turquoise-deep);
}

.faq-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(31px, 3.3vw, 47px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.faq-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq-toggle .icon {
  grid-area: 1 / 1;
}

.faq-toggle-closed {
  display: none;
}

.faq-item:not([open]) .faq-toggle-open {
  display: none;
}

.faq-item:not([open]) .faq-toggle-closed {
  display: block;
}

.faq-item p {
  max-width: 760px;
  margin: -2px 22px 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.faq-media {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: clamp(24px, 4vw, 58px);
  background: var(--surface-soft);
}

.faq-photo-card {
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.faq-photo-card img {
  min-height: 440px;
}

.faq-photo-card .faq-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.faq-photo-card .faq-slide.is-active {
  opacity: 1;
}

.faq-photo-card .image-tag {
  z-index: 1;
}

.closing-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, var(--turquoise-deep), var(--turquoise));
  color: var(--white);
}

.closing-cta::before {
  position: absolute;
  top: -62px;
  left: -60px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 230px;
  gap: clamp(32px, 6vw, 96px);
  padding-block: 32px;
}

.cta-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-kicker {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
}

.cta-hours {
  justify-self: end;
  width: max-content;
  margin-right: 300px;
}

.cta-hours h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.15;
}

.cta-hours dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.cta-hours dl > div {
  display: grid;
  grid-template-columns: 92px auto;
  gap: 12px;
}

.cta-hours dt {
  font-weight: 700;
}

.cta-hours dd {
  margin: 0;
  line-height: 1.45;
}

.button-light {
  position: relative;
  min-width: 408px;
  min-height: 64px;
  padding: 20px 32px;
  color: #087e92;
  background: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 20px rgba(11, 53, 90, 0.2);
  font-size: 32px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  animation: cta-button-pulse 3.2s ease-in-out infinite;
}

.button-light .icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease-in-out;
}

.button-light::before {
  position: absolute;
  top: 0;
  left: -100px;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  content: "";
  opacity: 0.6;
  pointer-events: none;
}

.button-light:hover {
  color: var(--white);
  background: #087e92;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 28px rgba(11, 53, 90, 0.28);
  transform: scale(1.05);
  animation: none;
}

.button-light:hover .icon {
  transform: translateX(4px);
}

.button-light:hover::before {
  animation: button-light-shine 1.5s ease-out infinite;
}

.button-light:active {
  transform: scale(0.98);
  animation-play-state: paused;
}

@keyframes cta-button-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

@keyframes button-light-shine {
  0% {
    left: -100px;
  }

  60%,
  100% {
    left: 100%;
  }
}


.cta-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(4%, 9vw, 13%);
  width: 236px;
  height: auto;
  opacity: 0.92;
  transform: translateY(-50%);
}

.cta-leaves {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 520px;
  height: 100%;
  background: url("assets/botanical-overlay.png") left center / cover no-repeat;
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .cta-hours {
    margin-right: 0;
  }

  .cta-mark {
    display: none;
  }

  .cta-primary > .button-light {
    width: 100%;
    min-width: 0;
    font-size: clamp(21px, 2.5vw, 28px);
  }
}

.location-section {
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 112px);
  background: var(--white);
}

.location-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.location-heading .eyebrow {
  color: var(--turquoise-deep);
}

.location-heading h2 {
  margin: 0 0 12px;
}

.location-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.location-map-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 540px;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.location-map-frame iframe {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) saturate(0.78) sepia(0.08) hue-rotate(135deg) contrast(0.96);
}

.location-map-frame::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 126, 146, 0.16), rgba(11, 53, 90, 0.07) 62%, transparent);
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
}

.location-address-card {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  padding: 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(207, 232, 239, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(11, 53, 90, 0.16);
  backdrop-filter: blur(14px);
}

.location-pin {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: #087e92;
  border-radius: 50%;
}

.location-pin .icon {
  width: 22px;
  height: 22px;
}

.location-address-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.4;
}

.location-address-copy strong {
  font-size: 16px;
}

.location-address-copy span {
  color: var(--muted);
  font-size: 14px;
}

.location-route {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--white);
  background: #087e92;
  border-color: #087e92;
}

.location-route:hover {
  color: var(--white);
  background: #066b7c;
  border-color: #066b7c;
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .location-section {
    padding-block: 64px;
  }

  .location-heading {
    margin-bottom: 22px;
    text-align: left;
  }

  .location-map-frame {
    min-height: 430px;
    border-radius: var(--radius-md);
  }

  .location-address-card {
    right: auto;
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    flex-wrap: wrap;
    gap: 13px;
    padding: 16px;
  }

  .location-address-copy {
    flex: 1 1 calc(100% - 64px);
  }

  .location-route {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

.scroll-top {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: var(--white);
  background: var(--turquoise-deep);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(8, 126, 146, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transform: rotate(-90deg);
}

.scroll-top.is-visible:hover {
  background: var(--navy);
  box-shadow: 0 15px 34px rgba(11, 53, 90, 0.3);
  transform: translateY(-3px) scale(1.04);
}

.scroll-top.is-visible:active {
  transform: translateY(0) scale(0.96);
}

.scroll-top:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .scroll-top {
    right: 16px;
    bottom: 88px;
    width: 48px;
    height: 48px;
  }

  .scroll-top-icon {
    width: 19px;
    height: 19px;
  }
}

.site-footer {
  background: var(--surface-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 160px minmax(180px, 1fr) minmax(155px, 0.9fr) minmax(240px, 1.3fr) minmax(240px, 1.2fr);
  align-items: center;
  gap: 16px;
  min-height: 164px;
}

.footer-brand {
  justify-self: start;
}

.footer-brand .brand-logo {
  height: 56px;
  max-width: 144px;
}


.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--navy-soft);
  font-size: 13px;
  line-height: 1.45;
  transition: color 160ms ease;
}

.contact-item:hover {
  color: var(--turquoise-deep);
}

.contact-icon {
  width: 38px;
  height: 38px;
  color: var(--white);
  background: #087e92;
}

.instagram-contact-icon {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

@media (min-width: 1181px) {
  .instagram-contact {
    justify-self: end;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-bottom span:last-child {
  display: flex;
  gap: 16px;
}

.footer-bottom a:hover {
  color: var(--turquoise-deep);
}

.mobile-action-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 230ms;
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: 1fr 1.25fr 1.1fr;
    row-gap: 16px;
    padding-block: 24px;
  }

  .footer-brand {
    grid-row: span 2;
  }
}
@media (max-width: 1020px) {
  :root {
    --gutter: clamp(20px, 4vw, 34px);
  }

  .primary-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 12px;
  }

  .header-cta {
    padding-inline: 13px;
    font-size: 12px;
  }

  .hero-grid {
    min-height: 580px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.25fr 0.9fr;
  }

  .footer-brand {
    grid-row: span 2;
  }
}

@media (min-width: 1440px) {
  .hero-grid {
    min-height: 640px;
    gap: clamp(56px, 5vw, 96px);
  }

  .hero-copy {
    padding-block: 92px 84px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .section {
    padding-block: clamp(96px, 8vw, 144px);
  }
}

@media (max-width: 800px) {
  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    gap: 0;
    padding: 9px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: var(--surface-blue);
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    width: 100%;
    margin-top: 6px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    width: auto;
    padding-block: 64px 42px;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    min-height: 390px;
  }

  .hero-image-frame {
    inset: 0 calc(var(--gutter) * -1) 0;
    border-radius: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 12px;
  }

  .trust-item {
    justify-content: flex-start;
    min-height: 64px;
  }

  .trust-divider {
    display: none;
  }

  .split-grid,
  .dentist-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-card,
  .image-card img {
    min-height: 330px;
  }

  .practice-botanical {
  display: none;
}

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

  .dentist-portrait,
  .dentist-portrait img {
    min-height: 450px;
  }

  .dentist-copy {
    padding-right: 0;
  }

  .cta-inner {
    min-height: 230px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 34px;
  }

  .footer-brand {
    grid-row: auto;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 69px;
  }

  .desktop-only {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .handwritten-hero {
    margin-top: 34px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 210px;
    padding-inline: 10px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .service-card p {
    font-size: 12px;
  }

  .faq-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-heading .button {
    width: 100%;
  }

  .cta-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    padding-block: 40px;
  }

  .cta-mark {
    right: -50px;
    width: 180px;
    height: auto;
  }

  .button-light {
    position: static;
    left: auto;
    width: 100%;
    min-width: 204px;
    min-height: 48px;
    padding: 12px 21px;
    font-size: 14px;
  }

  .footer-brand .brand-logo {
    height: 56px;
    max-width: 144px;
  }

  .footer-grid .contact-item {
    gap: 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .footer-grid .contact-icon {
    width: 38px;
    height: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom span:last-child {
    flex-wrap: wrap;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    min-height: 68px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(11, 53, 90, 0.09);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: var(--navy);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 750;
  }

  .mobile-action-bar a .icon {
    width: 20px;
    height: 20px;
    color: var(--turquoise-deep);
  }

  .mobile-action-bar .mobile-action-primary {
    color: var(--white);
    background: var(--turquoise);
  }

  .mobile-action-bar .mobile-action-primary .icon {
    color: var(--white);
  }
}

@media (max-width: 800px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-content {
    padding: 42px 24px;
  }

  .faq-media {
    min-height: 320px;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: auto;
    background-color: #ffffff;
    background-image: none;
  }

  .hero::after,
  .hero-orb-two {
    display: none;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .hero-visual {
    position: relative;
    order: -1;
    inset: auto;
    width: auto;
    height: 390px;
    min-height: 390px;
    margin-inline: calc(var(--gutter) * -1);
    pointer-events: none;
  }

  .hero-image-frame {
    inset: 0;
    background-position: calc(50% - 50px) center;
    box-shadow: none;
  }

  .hero-image-frame::after {
    background: none;
  }

  .hero-photo-glow {
    display: none;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    padding: 48px 0 58px;
  }

  .hero-copy .button,
  .hero-copy .handwritten {
    position: relative;
    z-index: 2;
  }

  .service-card {
    min-height: 238px;
    padding: 22px 16px 20px;
  }

  .service-card h3 {
    min-height: auto;
  }

  .faq-photo-card,
  .faq-photo-card img {
    height: 320px;
    min-height: 320px;
  }

  .cta-inner {
    align-items: stretch;
    gap: 18px;
  }

  .cta-inner > div {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 12px);
  }
}

@media (max-width: 560px) {
  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-visual {
    height: 320px;
    min-height: 320px;
  }

  .hero-copy {
    padding-block: 42px 52px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-lead {
    max-width: 19rem;
  }

  .service-card {
    min-height: 220px;
    padding: 18px 10px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .faq-content {
    padding-inline: 20px;
  }

  .faq-photo-card,
  .faq-photo-card img {
    height: 280px;
    min-height: 280px;
  }
}
@media (max-width: 800px) {
  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero-copy > .eyebrow {
    order: 1;
  }

  .hero-copy > h1 {
    order: 2;
  }

  .hero-copy > .hero-lead {
    order: 3;
  }

  .hero-copy > .handwritten-hero {
    order: 4;
    margin-top: 34px;
    margin-bottom: 28px;
  }

  .hero-copy > .hero-actions {
    order: 5;
  }
}
@media (max-width: 800px) {
  .menu-toggle .icon {
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 800px) {
  .closing-cta {
    min-height: 300px;
  }

  .closing-cta::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 76%;
    background: linear-gradient(to top, rgba(2, 50, 66, 0.78) 0%, rgba(2, 50, 66, 0.4) 45%, transparent 100%);
    content: "";
    pointer-events: none;
  }

  .cta-leaves {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 100%;
    background-position: left center;
    background-size: cover;
  }

  .cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 300px;
    padding: 48px 20px;
    text-align: center;
  }

  .cta-inner > div {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .cta-primary {
    align-items: center;
  }

  .cta-primary > .button-light {
    width: 50%;
    min-width: 0;
    align-self: center;
  }

  .cta-inner > .cta-hours {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .cta-hours dl {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .cta-hours dl > div {
    grid-template-columns: 94px auto;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .closing-cta,
  .cta-inner {
    min-height: 280px;
  }

  .cta-leaves {
    width: 310px;
  }

  .cta-inner {
    padding: 38px 16px;
  }

  .cta-primary > .button-light {
    width: 50%;
    padding-inline: 10px;
  }
}
@media (max-width: 800px) {
  .cta-mark {
    display: none;
  }
}

@media (max-width: 800px) {
  .hero-copy {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .hero-copy h1,
  .hero-lead {
    max-width: none;
  }
}

@media (max-width: 800px) {
  .handwritten-dentist {
    margin-top: 15px;
  }
}

@media (max-width: 800px) {
  .service-card:last-child {
    grid-column: 1 / -1;
  }
}

body,
body * {
  letter-spacing: -0.01em !important;
}

@media (max-width: 800px) {
  .hero-image-frame {
    background-image: url("assets/mob_team-generated.png");
    background-position: center center;
  }
}
@media (max-width: 800px) {
  .service-card:last-child {
    min-height: 120px;
    padding: 12px 14px;
  }

  .service-card:last-child .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }

  .service-card:last-child h3 {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.1;
  }

  .service-card:last-child p {
    font-size: 11px;
    line-height: 1.25;
  }
}

@media (max-width: 560px) {
  .service-card:last-child {
    min-height: 110px;
    padding: 10px;
  }

  .service-card:last-child .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
  }

  .service-card:last-child h3 {
    font-size: 13px;
  }

  .service-card:last-child p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
