@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@500;600;700;800&display=swap');

:root {
  --ink: #111111;
  --text: #333333;
  --muted: #555555;
  --blue: #9E4A15;
  --teal: #BC5B1B;
  --teal-dark: #9E4A15;
  --teal-soft: #F9EAE1;
  --accent: #D12828;
  --accent-dark: #9E1818;
  --cream: #FFF4EB;
  --bg: #FAFAFA;
  --card: #ffffff;
  --line: #EAD5C8;
  --shadow: 0 22px 55px rgba(23, 50, 77, 0.12);
  --shadow-lift: 0 28px 68px rgba(23, 50, 77, 0.16);
  --radius: 10px;
  --max: 1180px;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-nav: var(--font-sans);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  display: none;
}

.has-site-notice {
  padding-top: var(--site-notice-height, 0px);
}

.site-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 18px;
  color: #fff;
  background: #9E1818;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.18);
  font-family: var(--font-nav);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.site-notice strong {
  font-weight: 800;
}

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

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

.text-orange {
  color: var(--teal);
}

button,
input,
textarea {
  font: inherit;
}

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

.top-header {
  position: sticky;
  top: var(--site-notice-height, 0px);
  z-index: 30;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(23, 50, 77, 0.03);
  transition:
    width 360ms var(--ease-spring),
    border-radius 360ms var(--ease-spring),
    background 260ms ease,
    box-shadow 320ms ease,
    border-color 260ms ease;
  will-change: width, border-radius, box-shadow;
}

.top-header.is-scrolled {
  top: var(--site-notice-height, 0px);
  width: min(1080px, calc(100% - 36px));
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(188, 91, 27, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(23, 50, 77, 0.15);
  overflow: visible;
}

.utility-bar {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  max-height: 44px;
  padding: 0;
  color: #fff;
  background: var(--teal-dark);
  font-family: var(--font-nav);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease, opacity 220ms ease;
}

.top-header.is-scrolled .utility-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.utility-marquee {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: utilityMarquee 24s linear infinite;
}

.utility-marquee-group {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-width: 100vw;
  padding: 9px 34px;
  white-space: nowrap;
}

.utility-bar a:hover {
  text-decoration: underline;
}

@keyframes utilityMarquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .utility-marquee {
    width: 100%;
    min-width: 0;
    animation: none;
  }

  .utility-marquee-group {
    min-width: 100%;
  }

  .utility-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-notice {
    flex-direction: column;
    gap: 1px;
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* Imported DeshDental service content, scoped for Danton Dental */
.dd-service-page {
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0 64px;
}

.dd-service-sidebar {
  position: sticky;
  top: calc(var(--site-notice-height, 0px) + 98px);
  align-self: start;
  max-height: calc(100vh - var(--site-notice-height, 0px) - 120px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(125, 15, 20, 0.08);
}

.dd-service-sidebar strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dd-service-sidebar nav {
  display: grid;
  gap: 6px;
}

.dd-service-sidebar a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.dd-service-sidebar a:hover,
.dd-service-sidebar a.active-service {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.dd-service-copy {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(125, 15, 20, 0.09);
}

.dd-service-copy .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.dd-service-copy .dd-import-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  min-height: clamp(280px, 32vw, 430px);
  padding: clamp(58px, 7vw, 94px) clamp(22px, 5vw, 72px);
  background: linear-gradient(135deg, #d12828 0%, #7d0f14 100%);
  color: #fff;
  text-align: center;
}

.dd-service-copy .dd-import-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(209, 40, 40, 0.86) 0%, rgba(125, 15, 20, 0.82) 58%, rgba(32, 18, 20, 0.72) 100%),
    radial-gradient(circle at 72% 45%, rgba(255, 255, 255, 0.18), transparent 42%);
}

.dd-service-copy .dd-import-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
  filter: grayscale(8%) saturate(0.95);
}

.dd-service-copy .dd-import-hero h1 {
  position: relative;
  max-width: 980px;
  margin: 0 auto 15px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.dd-service-copy .subtitle {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  text-align: center;
}

.dd-service-hero-image {
  width: 100%;
  margin: 0;
  background: #fff8f8;
  border-bottom: 1px solid rgba(209, 40, 40, 0.12);
  overflow: hidden;
}

.dd-service-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  object-fit: cover;
}

.dd-service-copy .content-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 4vw, 46px);
}

.dd-service-copy h2 {
  margin: 38px 0 18px;
  padding-left: 15px;
  border-left: 4px solid var(--accent);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.18;
}

.dd-service-copy h3 {
  margin: 28px 0 13px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.dd-service-copy p,
.dd-service-copy li {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.dd-service-copy p {
  margin: 0 0 18px;
  text-align: left;
}

.dd-service-copy ul,
.dd-service-copy ol {
  margin: 0 0 22px 24px;
}

.dd-service-copy li {
  margin-bottom: 9px;
}

.dd-service-copy a {
  color: var(--teal-dark);
  font-weight: 800;
}

.dd-service-copy .intro-section {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.dd-service-copy .intro-section p {
  color: var(--muted);
  text-align: center;
}

.dd-service-copy .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.dd-service-copy .service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  min-height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 248, 0.9));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(125, 15, 20, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dd-service-copy .service-card img {
  position: absolute;
  z-index: 0;
  right: -34px;
  bottom: -22px;
  display: block;
  width: min(110%, 390px);
  height: auto;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  opacity: 0.3;
  filter: grayscale(8%) blur(0.1px);
  transform: rotate(-2deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dd-service-copy .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 248, 248, 0.48) 100%);
  pointer-events: none;
}

.dd-service-copy .service-card h3,
.dd-service-copy .service-card p {
  position: relative;
  z-index: 2;
}

.dd-service-copy .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 40, 40, 0.35);
  box-shadow: 0 18px 38px rgba(125, 15, 20, 0.14);
}

.dd-service-copy .service-card:hover img {
  opacity: 0.38;
  transform: rotate(-1deg) scale(1.03);
}

.dd-service-copy .service-card h3 {
  margin-top: 0;
  color: var(--teal-dark);
}

.dd-service-copy .service-card p {
  color: var(--muted);
}

.dd-service-copy .highlight-box,
.dd-service-copy .info-box,
.dd-service-copy .warning-box,
.dd-service-copy .benefits-box {
  margin: 28px 0;
  padding: 22px;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: var(--teal-soft);
}

.dd-service-copy .benefits-list {
  margin-left: 0;
  list-style: none;
}

.dd-service-copy .benefits-list li {
  position: relative;
  padding-left: 28px;
}

.dd-service-copy .benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.dd-service-copy .contact-section {
  margin-top: 42px;
  padding: clamp(34px, 5vw, 52px) clamp(20px, 4vw, 46px);
  background: linear-gradient(135deg, #d12828 0%, #7d0f14 100%);
  color: #fff;
}

.dd-service-copy .contact-section .content-wrapper {
  max-width: 900px;
  padding: 0;
}

.dd-service-copy .contact-section h2,
.dd-service-copy .contact-section h3,
.dd-service-copy .contact-section p,
.dd-service-copy .contact-section li,
.dd-service-copy .contact-section strong,
.dd-service-copy .contact-section a,
.dd-service-copy .contact-section div {
  color: #fff;
}

.dd-service-copy .contact-section h2 {
  border-left-color: #fff;
}

.dd-service-copy .location {
  margin: 18px 0;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.dd-service-copy table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.dd-service-copy th,
.dd-service-copy td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.dd-service-copy th {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

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

  .dd-service-sidebar {
    position: static;
    max-height: none;
  }

  .dd-service-sidebar nav {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  .dd-service-page {
    width: min(100% - 18px, 1420px);
    padding-top: 16px;
  }

  .dd-service-sidebar {
    padding: 14px;
  }

  .dd-service-sidebar nav {
    max-height: 230px;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-right: 2px;
  }

  .dd-service-sidebar a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.82rem;
  }

  .dd-service-copy {
    border-radius: 14px;
  }

  .dd-service-copy .dd-import-hero {
    padding: 34px 18px;
  }

  .dd-service-copy .content-wrapper {
    padding: 28px 18px;
  }
}

.nav-shell {
  width: min(var(--max), calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 340ms var(--ease-spring), width 340ms var(--ease-spring);
}

.top-header.is-scrolled .nav-shell {
  width: calc(100% - 32px);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transition: width 340ms var(--ease-spring), height 340ms var(--ease-spring), transform 420ms var(--ease-spring);
}

.top-header.is-scrolled .brand img {
  width: 44px;
  height: 44px;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.04);
}

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

.brand strong {
  color: var(--ink);
  font-family: var(--font-nav);
  font-size: 1.06rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-family: var(--font-nav);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 11px 12px;
  color: #6C330D;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.91rem;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease, padding 320ms var(--ease-spring);
}

.top-header.is-scrolled .site-nav a {
  padding: 8px 10px;
}

.top-header.is-scrolled .brand:hover,
.top-header.is-scrolled .site-nav a:hover,
.top-header.is-scrolled .nav-cta:hover {
  transform: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.nav-cta,
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.nav-cta {
  margin-left: 8px;
  padding: 12px 22px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(209, 40, 40, 0.22);
  font-family: var(--font-nav);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.top-header.is-scrolled .nav-cta {
  padding: 10px 18px;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
}

.nav-cta:active,
.btn:active {
  transform: translateY(0) scale(0.98);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-toggle:hover {
  border-color: rgba(188, 91, 27, 0.42);
  box-shadow: 0 10px 24px rgba(23, 50, 77, 0.08);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transform-origin: center;
  transition: opacity 180ms ease, transform 240ms var(--ease-spring);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section,
.hero,
.page-hero,
.quick-cards,
.cta-band {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.page-band {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
  min-height: 640px;
  padding: clamp(46px, 6vw, 72px) max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(188, 91, 27, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(188, 91, 27, 0.08) 1px, transparent 1px),
    linear-gradient(110deg, #F9EAE1 0%, #ffffff 48%, var(--cream) 100%);
  background-size: 96px 96px, 96px 96px, auto;
  animation: backgroundDrift 22s linear infinite;
}

.hero-copy {
  position: relative;
  padding: clamp(28px, 4.8vw, 54px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(188, 91, 27, 0.14);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(23, 50, 77, 0.12);
  backdrop-filter: blur(14px);
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 780ms var(--ease-spring) forwards;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 170ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 250ms;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 330ms;
}

.hero-copy > *:nth-child(6) {
  animation-delay: 410ms;
}

.grand-opening-hero {
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5.2vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.12rem;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.copy p,
.doctor-preview p,
.cta-band p {
  max-width: 680px;
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(188, 91, 27, 0.22);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(23, 50, 77, 0.06);
}

.hero-location {
  margin: 18px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 25px;
  text-align: center;
}

.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(188, 91, 27, 0.22);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 18px 36px rgba(188, 91, 27, 0.28);
}

.btn-accent {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(209, 40, 40, 0.22);
}

.btn-accent:hover,
.nav-cta:hover {
  background: var(--accent-dark);
  box-shadow: 0 18px 36px rgba(209, 40, 40, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 0 4px 12px rgba(23, 50, 77, 0.04);
}

.btn-outline:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(23, 50, 77, 0.08);
}

.btn-outline svg {
  color: var(--teal);
}

.modal-profile-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.modal-profile-header h2 {
  margin: 4px 0;
}

.modal-profile-scroll {
  display: grid;
  gap: 20px;
}

.modal-profile-scroll p {
  color: var(--text);
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  animation: mediaIn 940ms 180ms var(--ease-spring) forwards;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  max-height: 460px;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 28px 28px 76px 28px;
  box-shadow: 0 24px 52px rgba(23, 50, 77, 0.15);
  transition: box-shadow 700ms ease, transform 700ms var(--ease-spring);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: auto -54px -54px auto;
  width: 190px;
  height: 190px;
  background: var(--teal);
  border-radius: 999px;
  opacity: 0.2;
  pointer-events: none;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 47%, transparent 60% 100%);
  pointer-events: none;
  transform: translateX(-120%);
  animation: imageSheen 4.8s 1.2s ease-in-out infinite;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 42%;
  transition: filter 700ms ease, transform 700ms var(--ease-spring);
}

.hero-media:hover {
  box-shadow: 0 34px 78px rgba(23, 50, 77, 0.22);
  transform: translateY(-5px);
}

.hero-media:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.035);
}

.doctor-cutout {
  position: relative;
  overflow: hidden;
  height: 590px;
  background: radial-gradient(circle at 50% 30%, #D87943 0 36%, var(--teal) 37% 67%, transparent 68%);
  border-radius: 0 0 180px 180px;
}

.doctor-cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% calc(12% + 20px);
  mix-blend-mode: normal;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(390px, 92%);
  padding: 20px;
  color: #fff;
  background: var(--ink);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: noteFloat 4s ease-in-out infinite;
}

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

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 54px 0 24px;
}

.quick-cards article,
.services-grid article,
.services-grid a,
.language-grid article,
.contact-panel,
.hours-panel,
.modal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.quick-cards article {
  padding: 25px;
}

.quick-cards span,
.services-grid span,
.language-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  margin-bottom: 16px;
  padding: 0 12px;
  color: var(--accent-dark);
  background: #FFE8D6;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-cards h2,
.services-grid h2,
.language-grid h2,
.contact-panel h2,
.hours-panel h2,
.detail-grid h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.quick-cards p,
.services-grid p,
.language-grid p {
  margin: 0;
}

.clinic-card-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 42px 0 26px;
}

.clinic-card-heading {
  grid-column: 1 / -1;
  max-width: 820px;
  margin-bottom: 14px;
}

.clinic-card-heading p:last-child {
  max-width: 680px;
  font-size: 1.08rem;
}

.clinic-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(28px, 4vw, 42px);
  text-align: center;
  background: #fff;
  border: 1px solid #E8CEBC;
  border-radius: 34px;
  box-shadow: 0 24px 58px rgba(23, 50, 77, 0.11);
}

.clinic-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.clinic-card h2 {
  color: #6C330D;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.clinic-card address {
  color: #444444;
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.45;
}

.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.clinic-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  color: #6C330D;
  background: #FDF4EE;
  border: 1px solid #E8CEBC;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.clinic-card p {
  margin: 2px 0 4px;
  color: #222222;
  font-size: 1.04rem;
}

.clinic-card .btn {
  margin-top: auto;
}

.danton-network {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: 72px 0 28px;
}

.network-heading {
  position: sticky;
  top: 126px;
}

.network-heading p:last-child {
  max-width: 560px;
  font-size: 1.08rem;
}

.network-grid {
  display: grid;
  gap: 18px;
}

.network-grid article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.network-grid img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.network-grid h3 {
  margin-bottom: 6px;
  font-size: 1.26rem;
}

.network-grid p {
  margin: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: 72px 0;
}

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

.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.service-list a::after {
  content: '→';
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms ease, transform 240ms var(--ease-spring);
  color: var(--teal);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.service-list a:hover {
  border-color: var(--teal);
}

.service-list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.doctor-preview {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doctor-preview img,
.profile-image img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: 50% calc(14% + 20px);
  border-radius: var(--radius);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 900;
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 44px);
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--ink));
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: ctaShimmer 7s ease-in-out infinite;
  pointer-events: none;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.page-hero {
  padding: clamp(64px, 8vw, 110px) 0 40px;
}

.page-hero.infodeck-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.page-hero.infodeck-hero > :not(.infodeck-hero-image) {
  grid-column: 1;
}

.page-hero.infodeck-hero .infodeck-hero-image {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: start;
  justify-self: end;
  margin-top: clamp(-80px, -5vw, -48px);
}

.page-hero p {
  margin-bottom: 0;
}

.service-page .page-hero h1 {
  max-width: 980px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.service-page .page-hero p:not(.eyebrow) {
  max-width: 760px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 38px;
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.1rem;
}

.about-hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 3.85rem);
}

.about-hero-image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 34px 34px 120px 34px;
  box-shadow: var(--shadow-lift);
}

.about-hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(23, 50, 77, 0.5));
  pointer-events: none;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 50%;
}

.about-image-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(330px, calc(100% - 44px));
  padding: 18px;
  color: #fff;
  background: rgba(23, 50, 77, 0.9);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image-note strong,
.about-image-note span {
  display: block;
}

.about-stats {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 36px;
}

.about-stats article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 138px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.about-stats strong {
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.about-stats span {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.45;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: 42px 0 66px;
}

.about-intro-heading {
  max-width: 520px;
}

.copy p:first-child {
  margin-top: 0;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 72px;
}

.about-values article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.about-values article::after {
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  content: "";
  background: var(--teal-soft);
  border-radius: 999px;
  opacity: 0.72;
}

.about-values span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  color: var(--accent-dark);
  background: #FFE8D6;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.about-values h2 {
  margin-bottom: 12px;
  font-size: clamp(1.32rem, 2vw, 1.72rem);
}

.about-values p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.care-pathway {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: 42px clamp(24px, 5vw, 46px);
  background: linear-gradient(135deg, #ffffff 0%, #FAFAFA 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(23, 50, 77, 0.08);
}

.care-pathway p:not(.eyebrow) {
  max-width: 520px;
  font-size: 1.08rem;
}

.pathway-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pathway;
}

.pathway-list li {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 20px 20px 20px 74px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(188, 91, 27, 0.16);
  border-radius: var(--radius);
}

.pathway-list li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  content: counter(pathway);
  counter-increment: pathway;
  font-weight: 900;
}

.pathway-list strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.about-network {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: 84px 0 20px;
}

.about-network-copy {
  position: sticky;
  top: 126px;
}

.about-network-copy p:last-child {
  max-width: 560px;
  font-size: 1.08rem;
}

.about-network-grid {
  display: grid;
  gap: 18px;
}

.about-network-grid article {
  display: grid;
  grid-template-columns: 88px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.about-network-grid img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.about-network-grid h3 {
  font-size: 1.2rem;
}

.about-network-grid p {
  margin: 0;
}

.profile-page {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  padding: 72px 0;
}

.profile-content {
  padding: clamp(28px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.credentials {
  margin: 12px 0 18px;
  color: var(--accent);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  margin: 26px 0;
}

.detail-grid section {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-grid ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
  margin: 0;
}

.doctor-bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
  padding: 0 0 84px;
}

.bio-main,
.bio-services {
  padding: clamp(24px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.bio-main p:first-child,
.bio-services p:first-child {
  margin-top: 0;
}

.bio-main p:last-child,
.bio-services p:last-child {
  margin-bottom: 0;
}

.bio-services {
  position: sticky;
  top: 126px;
  border-top: 5px solid var(--accent);
}

.bio-services h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.bio-services ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0 0 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 36px 0 84px;
}

.services-grid article,
.services-grid a,
.language-grid article {
  min-height: 210px;
  padding: 26px;
}

.services-grid a {
  overflow: hidden;
}

.service-card-media {
  display: block;
  margin: -26px -26px 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 320ms var(--ease-spring), filter 220ms ease;
}

.services-grid a {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.services-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 20px 42px rgba(23, 50, 77, 0.11);
}

.services-grid a:hover .service-card-media img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 36px 0 84px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
  padding: 36px 0 84px;
}

.service-detail > div,
.service-detail aside {
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.service-detail p {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.service-detail aside {
  display: grid;
  gap: 12px;
}

.service-detail aside a {
  padding: 13px 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.service-detail aside a:hover {
  border-color: var(--teal);
}

.service-seo-copy {
  display: grid;
  gap: 22px;
}

.service-seo-copy h2,
.service-seo-copy h3 {
  margin-bottom: 8px;
}

.service-seo-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0 0 8px;
}

.service-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.service-cta-row .btn {
  width: fit-content;
}

.service-hero-image {
  width: min(100%, 520px);
  margin: clamp(18px, 3vw, 28px) 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: clamp(14px, 2vw, 22px);
  box-shadow: 0 14px 34px rgba(23, 50, 77, 0.1);
}

.service-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.infodeck-hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(23, 50, 77, 0.12);
}

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

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

.service-highlight-grid article,
.service-faq details,
.service-doctor-link {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(23, 50, 77, 0.06);
}

.service-highlight-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.service-highlight-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.service-doctor-link {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  background: linear-gradient(180deg, #fff, #fbfffe);
}

.service-doctor-link p {
  margin: 0;
}

.service-faq {
  display: grid;
  gap: 12px;
  padding: 36px 0 84px;
}

.service-faq > h2 {
  margin: 0 0 8px;
}

.service-faq details {
  padding: 0;
  overflow: hidden;
}

.service-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

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

.service-related {
  padding: 0 0 48px;
}

.service-related-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-related-links h2 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
}

.service-related-links a {
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.06);
  font-weight: 850;
}

.service-related-links a:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: var(--teal-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 18px;
  padding: 36px 0 84px;
}

.contact-panel,
.hours-panel {
  padding: 28px;
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-panel a {
  color: var(--blue);
  font-weight: 850;
}

address {
  font-style: normal;
}

.hours-panel table {
  width: 100%;
  border-collapse: collapse;
}

.hours-panel th,
.hours-panel td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours-panel td {
  text-align: right;
}

.map-embed {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 22px;
  align-items: stretch;
  min-height: 360px;
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(158, 74, 21, 0.94)),
    #9E4A15;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(23, 50, 77, 0.18);
}

.map-embed__copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.map-embed__copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.map-embed__copy h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-family: var(--font-nav);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
}

.map-embed__copy p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.map-embed__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.map-embed__tags span {
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.map-embed__link {
  width: fit-content;
  margin-top: 4px;
  padding: 12px 17px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.18);
}

.map-embed__frame {
  min-height: 320px;
  overflow: hidden;
  background: #FAFAFA;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(17, 17, 17, 0.24);
}

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

.booking-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 58px;
  padding: 0 24px;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(158, 74, 21, 0.28);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  transform: none;
  cursor: pointer;
  isolation: isolate;
}

.booking-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--teal);
  animation: ringPulse 2.6s ease-out infinite;
  z-index: -1;
}

.modal-blur {
  filter: blur(0.35px);
  transition: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: start center;
  box-sizing: border-box;
  padding: calc(var(--site-notice-height, 0px) + 14px) 18px 18px;
  background: rgba(12, 27, 43, 0.055);
  backdrop-filter: blur(0.25px);
}

.modal-overlay.is-open {
  display: grid;
}

.modal-overlay--center {
  place-items: center;
  padding: 18px;
}

.modal-overlay--center .modal-card {
  max-height: calc(100dvh - 36px);
}

.modal-card {
  position: relative;
  box-sizing: border-box;
  width: min(600px, calc(100vw - 36px));
  max-height: min(820px, calc(100dvh - var(--site-notice-height, 0px) - 28px));
  overflow: auto;
  padding: clamp(22px, 3.5vw, 32px) clamp(22px, 3.5vw, 32px) calc(clamp(22px, 3.5vw, 32px) + 12px);
}

.modal-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.modal-card > p {
  margin: 0;
}

.modal-card > .eyebrow {
  margin-bottom: 8px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.registration-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.registration-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.registration-source {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

.registration-source legend {
  padding: 0;
  color: var(--ink);
  font-weight: 800;
}

.registration-source-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  max-width: 420px;
}

.registration-source-options label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px 7px 34px;
  border: 1px solid #EAD5C8;
  border-radius: var(--radius);
  background: #fbfffe;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.registration-source-options input {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  accent-color: var(--teal);
}

.registration-source-options label:has(input:checked) {
  border-color: var(--teal);
  background: rgba(31, 122, 117, 0.1);
  box-shadow: 0 0 0 3px rgba(31, 122, 117, 0.1);
}

.registration-form .btn {
  min-height: 46px;
  padding: 11px 22px;
}

@media (max-width: 520px) {
  .modal-overlay {
    align-items: start;
    padding: calc(var(--site-notice-height, 0px) + 10px) 10px 10px;
  }

  .modal-overlay--center {
    align-items: center;
    padding: 10px;
  }

  .modal-card {
    width: 100%;
    max-height: calc(100dvh - var(--site-notice-height, 0px) - 20px);
    padding: 22px 16px 18px;
  }

  .modal-overlay--center .modal-card {
    max-height: calc(100dvh - 20px);
  }

  .modal-card h2 {
    padding-right: 34px;
  }

  .registration-form {
    gap: 12px;
  }

  .registration-source-options {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .registration-source-options label {
    justify-content: flex-start;
    min-height: 42px;
    text-align: left;
  }
}

.registration-form input:not([type="radio"]),
.registration-form textarea,
.registration-form select {
  width: 100%;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfffe;
  border: 1px solid #EAD5C8;
  border-radius: var(--radius);
}

.registration-form input:not([type="radio"]):focus,
.registration-form textarea:focus,
.registration-form select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(188, 91, 27, 0.14);
}

.registration-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 40px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.95);
  background: #BC5B1B;
  text-align: center;
}

.site-footer a {
  color: #fff;
}

.footer-brand {
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-nav);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-brand:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.footer-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--teal);
  border-color: rgba(255, 255, 255, 0.32);
}

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

.footer-sitemap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 10px 0 12px;
  text-align: left;
}

.footer-sitemap div {
  display: grid;
  align-content: start;
  gap: 6px;
}

.footer-sitemap h2 {
  margin: 0 0 2px;
  color: #fff;
  font-family: var(--font-nav);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-sitemap a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.footer-sitemap a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 9px;
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
}

.footer-legal > a:first-child {
  flex: 0 0 100%;
  width: 100%;
  text-align: center;
  margin-bottom: 6px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.legal-page {
  max-width: 900px;
  padding: 28px 0 84px;
}

.legal-page h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page p {
  margin-top: 0;
  font-size: 1.05rem;
}

.legal-note {
  padding: 18px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
}

.legal-page a {
  color: var(--teal-dark);
  font-weight: 850;
}

.sitemap-hero {
  border-bottom: 1px solid var(--line);
}

.sitemap-page {
  padding: 28px 0 84px;
}

.sitemap-technical {
  display: grid;
  gap: 16px;
}

.sitemap-console {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: #111;
  border: 1px solid rgba(158, 74, 21, 0.35);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 42px rgba(17, 17, 17, 0.12);
}

.sitemap-console span {
  padding: 6px 9px;
  color: #F7D7C2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sitemap-network {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(158, 74, 21, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(158, 74, 21, 0.08) 1px, transparent 1px),
    #111;
  background-size: 34px 34px;
  border: 1px solid rgba(158, 74, 21, 0.42);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.16);
}

.sitemap-network::before {
  content: "";
  position: absolute;
  top: 50%;
  left: clamp(170px, 25%, 320px);
  right: clamp(42px, 6vw, 80px);
  height: 2px;
  background: linear-gradient(90deg, rgba(247, 215, 194, 0.75), rgba(188, 91, 27, 0.2));
  transform: translateY(-50%);
}

.sitemap-node-actions {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 14px;
}

.sitemap-node-actions::before,
.sitemap-node-actions::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 38px;
  background: rgba(247, 215, 194, 0.42);
  transform: translateX(-50%);
}

.sitemap-node-actions::before {
  top: -38px;
}

.sitemap-node-actions::after {
  bottom: -38px;
}

.sitemap-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), rgba(188, 91, 27, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

button.sitemap-node {
  cursor: pointer;
  font: inherit;
  transition: transform 220ms var(--ease-spring), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.sitemap-node--root {
  width: min(100%, 190px);
  min-height: 190px;
  margin-inline: auto;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), #111 58%, #9E4A15);
}

.sitemap-node strong {
  display: block;
  color: #fff;
  font-family: var(--font-nav);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.05;
}

.sitemap-node span {
  display: block;
  margin-top: 5px;
  color: #F7D7C2;
  font-family: var(--font-nav);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

button.sitemap-node::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(247, 215, 194, 0.2);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms var(--ease-spring);
}

button.sitemap-node:hover,
button.sitemap-node.is-active {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24), #D12828);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 28px 58px rgba(209, 40, 40, 0.28);
  transform: translateY(-5px) scale(1.03);
}

button.sitemap-node:hover::before,
button.sitemap-node.is-active::before {
  opacity: 1;
  transform: scale(1.05);
}

.sitemap-group[hidden] {
  display: none;
}

.sitemap-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(23, 50, 77, 0.07);
}

.sitemap-group.is-active {
  animation: sitemapPanelIn 280ms var(--ease-spring);
}

.sitemap-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(90deg, #FAFAFA, #fff);
  border-bottom: 1px solid var(--line);
}

.sitemap-page h2 {
  margin: 0;
  font-size: 1.1rem;
}

.sitemap-code {
  color: var(--teal-dark);
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sitemap-group ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-group li + li {
  border-top: 1px solid var(--line);
}

.sitemap-page a {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 13px 20px;
  color: var(--ink);
  font-weight: 850;
}

.sitemap-page a:hover {
  color: var(--teal-dark);
  background: #FAFAFA;
}

.sitemap-page code {
  min-width: 0;
  color: var(--text);
  font-family: var(--font-nav);
  font-size: 0.84rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.team-hub {
  padding: clamp(42px, 6vw, 76px) 0 clamp(72px, 8vw, 104px);
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-card:hover {
  color: var(--ink);
  border-color: rgba(188, 91, 27, 0.28);
  box-shadow: 0 24px 56px rgba(23, 50, 77, 0.12);
  transform: translateY(-4px);
}

.team-card-logo {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  background: var(--teal-soft);
  border: 1px solid rgba(188, 91, 27, 0.12);
  border-radius: 18px;
}

.team-card-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.team-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  letter-spacing: -0.02em;
}

.team-card p {
  margin: 0 0 22px;
  color: var(--text);
  line-height: 1.7;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 24px;
}

.team-card-tags span {
  padding: 7px 10px;
  color: var(--teal-dark);
  background: rgba(188, 91, 27, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.team-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
}

.team-card:hover .team-card-action {
  background: var(--ink);
}

.team-detail {
  padding: clamp(42px, 6vw, 76px) 0 clamp(72px, 8vw, 104px);
}

.team-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.team-detail-main,
.team-detail-side,
.team-member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.team-detail-main,
.team-detail-side {
  padding: clamp(24px, 4vw, 36px);
}

.team-detail-main h2,
.team-detail-side h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.team-detail-main p,
.team-detail-side p {
  color: var(--text);
  line-height: 1.75;
}

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

.team-detail-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  line-height: 1.6;
}

.team-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 999px;
}

.team-member-card {
  overflow: hidden;
}

.team-member-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: 50% 16%;
  display: block;
}

.team-member-card div {
  padding: 22px;
}

.team-member-card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.team-member-card p {
  margin: 0;
  color: var(--text);
}

.team-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.team-logo-lockup img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.team-logo-lockup strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.team-logo-lockup span {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

.team-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.physician-page {
  background: #fff;
}

.physician-hero {
  padding: clamp(54px, 7vw, 88px) 0 clamp(28px, 5vw, 56px);
}

.physician-hero > h1 {
  max-width: 900px;
  margin-bottom: 14px;
}

.physician-hero-intro {
  max-width: 720px;
  margin: 0 0 clamp(32px, 5vw, 54px);
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.physician-roster-list {
  display: grid;
  gap: 24px;
}

.physician-card {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  width: min(100%, 1040px);
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(105deg, #fff 0%, #FFFFFF 48%, #FAFAFA 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(23, 50, 77, 0.08);
}

.physician-photo {
  min-height: 390px;
  background: var(--teal-soft);
}

.physician-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.physician-card-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
}

.physician-card-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.04em;
}

.physician-role {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 900;
}

.physician-credentials,
.physician-languages,
.physician-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.physician-credentials span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--teal-dark);
  background: rgba(188, 91, 27, 0.09);
  border: 1px solid rgba(188, 91, 27, 0.18);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.physician-summary {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.75;
}

.physician-languages span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  background: #f8f9ff;
  border: 1px solid #e4e9f5;
  border-radius: 999px;
  font-weight: 900;
}

.physician-actions {
  margin-top: 2px;
}

.physician-actions .btn {
  min-height: 58px;
  padding-inline: 28px;
  font-size: 1.02rem;
}

.physician-full-profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
  padding: clamp(28px, 5vw, 60px) 0 clamp(62px, 8vw, 98px);
}

.physician-profile-copy {
  padding: clamp(24px, 4vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.physician-profile-copy p {
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.75;
}

.physician-profile-copy h3 {
  margin: 26px 0 14px;
  font-size: 1.22rem;
}

.physician-profile-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.physician-profile-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.physician-profile-copy li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 999px;
}

.physician-profile-copy p:last-child {
  margin-bottom: 0;
}

.physician-timeline-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
  padding: clamp(62px, 8vw, 98px) 0;
}

.physician-section-copy {
  position: sticky;
  top: 126px;
}

.physician-section-copy h2 {
  max-width: 520px;
  margin-bottom: 18px;
}

.physician-section-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.8;
}

.physician-timeline {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 48px;
}

.physician-timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 12px;
  width: 2px;
  background: rgba(188, 91, 27, 0.22);
}

.physician-timeline article {
  position: relative;
}

.physician-timeline article::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -45px;
  width: 17px;
  height: 17px;
  background: #fff;
  border: 3px solid var(--teal);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px rgba(188, 91, 27, 0.16);
}

.physician-timeline span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.physician-timeline h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: 900;
}

.physician-timeline p {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.physician-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 0 clamp(72px, 8vw, 104px);
}

.physician-info-grid article {
  padding: clamp(24px, 4vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.physician-info-grid h2 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.physician-info-grid ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.physician-info-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.physician-info-grid li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 999px;
}

.physician-info-grid p {
  margin: 0 0 24px;
  color: var(--text);
  line-height: 1.75;
}

.medical-team-page {
  background: #fff;
}

.medical-team-hero {
  padding-bottom: clamp(30px, 5vw, 56px);
}

.medical-roster {
  padding: 0 0 clamp(72px, 8vw, 104px);
}

.medical-roster-heading {
  margin-bottom: 28px;
}

.medical-roster-heading h2 {
  max-width: 820px;
}

.doctor-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.doctor-roster-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
  overflow: hidden;
}

.doctor-roster-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  align-items: stretch;
  width: min(100%, 1180px);
  margin: 0 auto 6px;
  background: linear-gradient(105deg, #fff 0%, #FFFFFF 52%, #FAFAFA 100%);
  border-radius: 22px;
}

.doctor-roster-photo {
  height: 100%;
  aspect-ratio: 796 / 1190;
  background: var(--teal-soft);
  overflow: hidden;
}

.doctor-roster-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none !important;
  transition: none !important;
}

.doctor-roster-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 48px);
}

.doctor-roster-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doctor-roster-copy h3,
.doctor-placeholder-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.doctor-roster-role {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 900;
  line-height: 1.45;
}

.doctor-roster-copy p:not(.doctor-roster-kicker, .doctor-roster-role),
.doctor-placeholder-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.doctor-roster-card-featured .doctor-roster-copy > p:not(.doctor-roster-kicker, .doctor-roster-role) {
  max-width: 860px;
  color: #333333;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}

.doctor-roster-credentials,
.doctor-roster-languages,
.doctor-roster-actions,
.doctor-roster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.doctor-roster-credentials span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #9E4A15;
  background: #F9EAE1;
  border: 2px solid rgba(188, 91, 27, 0.18);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.045em;
}

.doctor-roster-languages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: #f8f9ff;
  border: 2px solid #e4e9f5;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 900;
}

.doctor-roster-tags span {
  padding: 7px 10px;
  color: var(--teal-dark);
  background: rgba(188, 91, 27, 0.08);
  border: 1px solid rgba(188, 91, 27, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.doctor-roster-actions {
  align-items: flex-start;
}

.doctor-profile-details {
  padding: 0;
}

.doctor-profile-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  cursor: pointer;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.06);
  font-weight: 900;
  list-style: none;
}

.doctor-profile-details summary::-webkit-details-marker {
  display: none;
}

.doctor-profile-details[open] {
  flex-basis: 100%;
}

.doctor-profile-details div {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.doctor-profile-details p {
  margin: 0;
  color: var(--text);
  line-height: 1.72;
}

.doctor-profile-timeline-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doctor-profile-timeline-copy h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.doctor-profile-timeline-copy p:not(.eyebrow) {
  color: var(--text);
  line-height: 1.75;
}

.doctor-profile-timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 38px;
}

.doctor-profile-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: rgba(188, 91, 27, 0.22);
}

.doctor-profile-timeline article {
  position: relative;
}

.doctor-profile-timeline article::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -36px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--teal);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px rgba(188, 91, 27, 0.16);
}

.doctor-profile-timeline span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doctor-profile-timeline h5 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.doctor-profile-details h4 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 1rem;
}

.doctor-profile-details ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.doctor-profile-details li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.doctor-profile-details li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 999px;
}

.doctor-roster-copy .btn {
  justify-self: start;
  margin-top: 2px;
}

.doctor-placeholder-card {
  padding: 26px;
  background: var(--bg);
}

.doctor-placeholder-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  background: rgba(188, 91, 27, 0.08);
  border: 1px solid rgba(188, 91, 27, 0.14);
  border-radius: 14px;
  font-weight: 900;
}

.doctor-placeholder-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

@media (max-width: 940px) {
  .top-header.is-scrolled {
    width: min(620px, calc(100% - 20px));
    border-radius: 24px;
  }

  .top-header.is-scrolled .nav-shell {
    width: calc(100% - 24px);
  }

  .utility-bar {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .hero,
  .about-hero,
  .page-hero.infodeck-hero,
  .about-intro,
  .about-values,
  .about-stats,
  .care-pathway,
  .about-network,
  .two-column,
  .profile-page,
  .doctor-preview,
  .physician-card,
  .physician-full-profile,
  .physician-timeline-section,
  .physician-info-grid,
  .doctor-roster-card-featured,
  .doctor-profile-timeline-block,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-embed {
    grid-template-columns: 1fr;
  }

  .page-hero.infodeck-hero .infodeck-hero-image {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    width: min(100%, 320px);
    margin-top: 6px;
  }

  .doctor-roster-photo {
    height: auto;
  }

  .hero-copy,
  .hero-visual,
  .about-hero-copy,
  .about-hero-image,
  .profile-content,
  .doctor-preview > div,
  .physician-card-copy,
  .physician-photo,
  .contact-panel,
  .hours-panel {
    min-width: 0;
    max-width: 100%;
  }

  .physician-section-copy {
    position: static;
  }

  .physician-photo {
    min-height: 420px;
  }

  .hero {
    min-height: auto;
  }

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

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

  .doctor-cutout {
    max-width: 520px;
    height: 500px;
  }

  .quick-cards,
  .clinic-card-section,
  .danton-network,
  .team-card-grid,
  .team-detail-grid,
  .doctor-roster-grid,
  .sitemap-page,
  .services-grid,
  .language-grid,
  .service-detail,
  .service-related-links,
  .service-highlight-grid {
    grid-template-columns: 1fr;
  }

  .network-heading,
  .about-network-copy,
  .bio-services {
    position: static;
  }

  .detail-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .doctor-bio {
    grid-template-columns: 1fr;
  }

  .about-network-grid article {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .about-network-grid p {
    grid-column: 2;
  }

  .cta-band {
    display: grid;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .section,
  .page-hero,
  .team-hub,
  .team-detail,
  .about-stats,
  .quick-cards,
  .cta-band {
    width: calc(100vw - 28px);
    overflow: hidden;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .page-hero h1,
  .page-hero p,
  .medical-team-hero h1,
  .medical-team-hero p,
  .medical-roster-heading h2,
  .doctor-roster-copy h3,
  .doctor-roster-role,
  .doctor-roster-copy p,
  .physician-hero h1,
  .physician-hero-intro,
  .physician-card-copy h2,
  .physician-role,
  .physician-summary,
  .team-card h2,
  .team-card p,
  .team-detail-main h2,
  .team-detail-main p {
    width: 100%;
    max-width: 330px;
    overflow-wrap: anywhere;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8.8vw, 2.25rem);
  }

  .service-page .page-hero h1 {
    max-width: 330px;
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.15;
  }

  .service-card-media {
    aspect-ratio: 16 / 9;
  }

  .service-hero-image {
    width: 100%;
    margin-top: 18px;
    border-radius: 14px;
  }

  .physician-hero h1,
  .physician-card-copy h2 {
    max-width: 330px;
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .physician-card,
  .doctor-roster-card {
    border-radius: 22px;
  }

  .doctor-roster-card {
    max-width: 330px;
    width: 100%;
    margin-inline: auto;
  }

  .doctor-roster-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 796 / 1190;
  }

  .doctor-roster-copy,
  .doctor-placeholder-card {
    padding: 22px;
  }

  .doctor-roster-credentials,
  .doctor-roster-languages {
    max-width: 100%;
  }

  .doctor-roster-credentials span,
  .doctor-roster-languages span {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .doctor-profile-timeline-block {
    padding: 20px;
  }

  .doctor-profile-timeline {
    padding-left: 32px;
  }

  .doctor-profile-timeline article::before {
    left: -35px;
  }

  .doctor-roster-copy .btn {
    width: 100%;
  }

  .doctor-profile-details,
  .doctor-profile-details summary {
    width: 100%;
  }

  .physician-photo {
    min-height: 0;
    aspect-ratio: 0.78;
  }

  .physician-card-copy,
  .physician-profile-copy,
  .physician-info-grid article {
    padding: 22px;
  }

  .physician-actions .btn {
    width: 100%;
  }

  .physician-credentials,
  .physician-languages {
    max-width: 100%;
  }

  .physician-credentials span,
  .physician-languages span {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .physician-timeline {
    padding-left: 36px;
  }

  .physician-timeline article::before {
    left: -41px;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .hero {
    display: block;
    padding: 48px 14px;
  }

  .hero-copy {
    width: 100%;
    overflow: hidden;
    padding: 24px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    margin-top: 34px;
    min-height: 300px;
    overflow: hidden;
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
  }

  .hero-media {
    border-width: 7px;
    border-radius: 24px 24px 74px 24px;
  }

  .about-hero {
    width: calc(100vw - 28px);
    padding-top: 48px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-copy {
    overflow: hidden;
  }

  .about-hero h1 {
    max-width: 330px;
    font-size: clamp(2.05rem, 9vw, 2.6rem);
  }

  .about-hero-copy p:not(.eyebrow) {
    max-width: 330px;
    font-size: 1rem;
  }

  .about-hero .hero-actions {
    max-width: 330px;
  }

  .about-hero-image,
  .about-hero-image img {
    min-height: 410px;
  }

  .about-hero-image {
    max-width: 330px;
    border-width: 7px;
    border-radius: 24px 24px 74px 24px;
  }

  .about-image-note {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .about-values article,
  .care-pathway,
  .about-network-grid article {
    padding: 22px;
  }

  .pathway-list li {
    padding: 72px 18px 18px;
  }

  .pathway-list li::before {
    top: 18px;
    left: 18px;
  }

  .doctor-cutout {
    height: 430px;
  }

  .hero-note {
    left: 0;
    right: auto;
    bottom: 0;
  }

  .doctor-preview,
  .profile-content,
  .bio-main,
  .bio-services,
  .team-card,
  .team-detail-main,
  .team-detail-side,
  .contact-panel,
  .hours-panel {
    padding: 22px;
  }

  .team-card,
  .team-detail-main,
  .team-detail-side {
    max-width: 330px;
    margin-inline: auto;
  }

  .network-grid article {
    grid-template-columns: 1fr;
  }

  .about-network-grid article,
  .about-network-grid p {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .hours-panel th,
  .hours-panel td {
    display: block;
    padding: 6px 0;
    text-align: left;
  }

  .site-footer {
    display: grid;
  }

  .footer-sitemap {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    display: grid;
    gap: 3px;
  }

  .footer-legal span {
    display: none;
  }

  .sitemap-group header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .sitemap-network {
    grid-template-columns: 1fr;
  }

  .sitemap-network::before,
  .sitemap-node-actions::before,
  .sitemap-node-actions::after {
    display: none;
  }

  .sitemap-node-actions {
    grid-template-columns: 1fr;
  }

  .sitemap-node,
  .sitemap-node--root {
    width: min(100%, 220px);
    min-height: 108px;
    margin-inline: auto;
  }

  .sitemap-node--root {
    min-height: 150px;
  }

  .sitemap-page a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sitemap-page a {
    padding: 14px 16px;
  }

  .map-embed {
    padding: 18px;
    border-radius: 14px;
  }

  .map-embed__copy h2 {
    font-size: 1.75rem;
  }

  .map-embed__frame,
  .map-embed iframe {
    min-height: 260px;
  }

  .booking-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-width: 132px;
    min-height: 50px;
    padding: 0 18px;
    transform: none;
  }
}

.quick-cards article,
.services-grid a,
.language-grid article,
.clinic-card,
.network-grid article,
.service-list a,
.doctor-preview,
.contact-panel,
.hours-panel,
.service-detail > div,
.service-detail aside,
.map-embed {
  transition: border-color 220ms ease, box-shadow 260ms ease, color 220ms ease, transform 260ms var(--ease-spring);
}

.quick-cards article:hover,
.services-grid a:hover,
.language-grid article:hover,
.clinic-card:hover,
.network-grid article:hover,
.service-list a:hover,
.doctor-preview:hover,
.contact-panel:hover,
.hours-panel:hover,
.service-detail > div:hover,
.service-detail aside:hover,
.map-embed:hover {
  border-color: rgba(188, 91, 27, 0.34);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.quick-cards span,
.services-grid span,
.language-grid span,
.clinic-tags span,
.service-detail aside a {
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease-spring);
}

.quick-cards article:hover span,
.services-grid a:hover span,
.language-grid article:hover span,
.clinic-card:hover .clinic-tags span:first-child {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.clinic-card img,
.network-grid img {
  transition: transform 420ms var(--ease-spring);
}

.clinic-card:hover img,
.network-grid article:hover img {
  transform: translateY(-3px) scale(1.04);
}

.service-list a:hover,
.service-detail aside a:hover,
.contact-panel a:hover {
  color: var(--teal-dark);
}

.contact-panel a,
.text-link {
  transition: color 180ms ease, transform 180ms ease;
}

.contact-panel a:hover,
.text-link:hover {
  transform: translateX(4px);
}

.doctor-preview img,
.profile-image img {
  box-shadow: 0 18px 42px rgba(23, 50, 77, 0.1);
  transition: box-shadow 700ms ease, transform 700ms var(--ease-spring);
}

.doctor-preview:hover img,
.profile-image:hover img {
  box-shadow: var(--shadow-lift);
  transform: scale(1.02);
}

.profile-content {
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.detail-grid section {
  transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ease-spring);
}

.detail-grid section:hover {
  background: #fff;
  border-color: rgba(188, 91, 27, 0.34);
  transform: translateY(-3px);
}

.cta-band {
  background-size: 150% 150%;
  box-shadow: var(--shadow);
  transition: background-position 700ms ease, box-shadow 260ms ease, transform 260ms var(--ease-spring);
}

.cta-band:hover {
  background-position: 100% 50%;
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.map-embed {
  box-shadow: 0 15px 38px rgba(23, 50, 77, 0.07);
}

.booking-float {
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-spring);
}

.booking-float:hover {
  background: var(--teal-dark);
  box-shadow: 0 20px 44px rgba(158, 74, 21, 0.34);
  transform: translateX(-4px);
}

.modal-overlay {
  display: grid;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: none;
}

.modal-overlay.is-open .modal-card {
  pointer-events: auto;
}

body:has(.modal-overlay.is-open) .booking-float {
  display: none;
}

.modal-card {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 260ms ease, transform 320ms var(--ease-spring), border-color 220ms ease, box-shadow 260ms ease;
}

.modal-overlay.is-open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  transition: background 180ms ease, transform 180ms var(--ease-spring);
}

.modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.registration-form input:not([type="radio"]),
.registration-form textarea,
.registration-form select {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.registration-form input:not([type="radio"]):focus,
.registration-form textarea:focus,
.registration-form select:focus {
  transform: translateY(-1px);
}

/* ── PREMIUM SCROLL REVEAL SYSTEM ───────────────────────────── */
.reveal {
  opacity: 0;
  filter: blur(3px);
  --reveal-y: 20px;
  --reveal-x: 0px;
  --reveal-scale: 1;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition: opacity 1200ms cubic-bezier(0.19, 1, 0.22, 1),
              transform 1200ms cubic-bezier(0.19, 1, 0.22, 1),
              filter 1000ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity, filter;
  transition-delay: calc(var(--reveal-index, 0) * 60ms);
}

/* Stagger indices or delays fallback for quick compatibility */
.quick-cards article.reveal,
.clinic-card.reveal,
.services-grid a.reveal,
.language-grid article.reveal,
.detail-grid section.reveal,
.h-svc-card.reveal,
.h-loc-card.reveal,
.h-step.reveal,
.h-stat.reveal,
.h-lang-pill.reveal,
.h-grand-card.reveal {
  transition-delay: calc(var(--reveal-index, 0) * 60ms);
}

/* Specific reveal directions */
.reveal-up {
  --reveal-y: 28px;
  --reveal-x: 0px;
  --reveal-scale: 1;
}

.reveal-down {
  --reveal-y: -28px;
  --reveal-x: 0px;
  --reveal-scale: 1;
}

.reveal-left {
  --reveal-y: 0px;
  --reveal-x: 28px;
  --reveal-scale: 1;
}

.reveal-right {
  --reveal-y: 0px;
  --reveal-x: -28px;
  --reveal-scale: 1;
}

.reveal-scale {
  --reveal-y: 12px;
  --reveal-x: 0px;
  --reveal-scale: 0.98;
}

/* Active visible state */
.reveal.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-x: 0px;
  --reveal-scale: 1;
  filter: blur(0);
}

.has-motion body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms var(--ease-out), transform 640ms var(--ease-spring);
}

.has-motion body.page-loaded {
  opacity: 1;
  transform: none !important;
}

.page-hero,
.h-hero,
.hero,
.grand-opening-hero {
  position: relative;
  isolation: isolate;
}

.page-hero::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 14% auto auto -7%;
  width: clamp(180px, 24vw, 340px);
  height: clamp(180px, 24vw, 340px);
  background: radial-gradient(circle, rgba(188, 91, 27, 0.18), transparent 68%);
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
  animation: softOrbit 14s ease-in-out infinite;
}

.page-hero > *,
.h-copy > *,
.hero-copy > * {
  animation-duration: 860ms;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-spring);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-cta,
.btn,
.h-btn,
.h-loc-btn {
  position: relative;
  overflow: hidden;
}

.nav-cta::before,
.btn::before,
.h-btn::before,
.h-loc-btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg);
  transition: left 680ms var(--ease-out);
  pointer-events: none;
}

.nav-cta:hover::before,
.btn:hover::before,
.h-btn:hover::before,
.h-loc-btn:hover::before {
  left: 130%;
}

.quick-cards article,
.services-grid a,
.language-grid article,
.team-card,
.clinic-card,
.h-svc-card,
.h-loc-card,
.h-step,
.contact-panel,
.hours-panel,
.service-detail > div,
.service-detail aside {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.quick-cards article::before,
.services-grid a::before,
.language-grid article::before,
.team-card::before,
.clinic-card::before,
.h-svc-card::before,
.h-loc-card::before,
.h-step::before,
.contact-panel::before,
.hours-panel::before,
.service-detail > div::before,
.service-detail aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(188, 91, 27, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.quick-cards article:hover::before,
.services-grid a:hover::before,
.language-grid article:hover::before,
.team-card:hover::before,
.clinic-card:hover::before,
.h-svc-card:hover::before,
.h-loc-card:hover::before,
.h-step:hover::before,
.contact-panel:hover::before,
.hours-panel:hover::before,
.service-detail > div:hover::before,
.service-detail aside:hover::before {
  opacity: 1;
}

.quick-cards article:hover,
.services-grid a:hover,
.language-grid article:hover,
.team-card:hover,
.clinic-card:hover,
.h-svc-card:hover,
.h-loc-card:hover,
.h-step:hover {
  rotate: 0.001deg;
}

.hero-media,
.doctor-preview,
.profile-image,
.h-doctor-photo,
.h-grand-card,
.map-embed {
  overflow: hidden;
}

.hero-media img,
.doctor-preview img,
.profile-image img,
.h-doctor-photo img,
.h-grand-card img {
  transition: transform 760ms var(--ease-spring), filter 560ms ease;
}

.doctor-preview:hover img,
.profile-image:hover img,
.h-doctor-card:hover .h-doctor-photo img,
.h-grand-card:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.modal-overlay {
  background:
    radial-gradient(circle at 20% 15%, rgba(188, 91, 27, 0.025), transparent 34%),
    radial-gradient(circle at 80% 82%, rgba(209, 40, 40, 0.02), transparent 30%),
    rgba(12, 27, 43, 0.055);
}

.modal-overlay.is-open {
  animation: modalBackdropIn 360ms ease both;
}

.modal-card {
  box-shadow: 0 28px 90px rgba(12, 27, 43, 0.28);
}

.modal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 0 34%, rgba(255, 255, 255, 0.36) 46%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: imageSheen 5.8s 900ms ease-in-out infinite;
  pointer-events: none;
}

.registration-form label {
  transition: transform 180ms var(--ease-spring), color 180ms ease;
}

.registration-form label:focus-within {
  color: var(--teal-dark);
  transform: translateX(3px);
}

.registration-source-options label:focus-within {
  transform: none;
}

.booking-float {
  will-change: transform;
}

.booking-float::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 62%);
  pointer-events: none;
}
/* Removed rigid legacy nth-child slide overrides to support custom directional reveal classes */

@keyframes softOrbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, 22px, 0) scale(1.12);
  }
}

@keyframes modalBackdropIn {
  from {
    backdrop-filter: blur(0.25px);
  }
  to {
    backdrop-filter: blur(0.25px);
  }
}

@keyframes pageFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes mediaIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes backgroundDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 96px 96px, -96px 96px, 0 0;
  }
}

@keyframes imageSheen {
  0%,
  58% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes noteFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes sitemapPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaShimmer {
  0%,
  40% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(200%);
  }
}

@media (max-width: 940px) {
  .site-nav {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top;
    transition: opacity 220ms ease, transform 260ms var(--ease-spring);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  body::before {
    display: none;
  }

  .reveal,
  .hero-copy > *,
  .hero-visual {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .modal-card {
    opacity: 1;
    filter: none;
  }

  .booking-float::before,
  .cta-band::before {
    animation: none;
  }
}

/* Danton Dental temporary site overrides */
.dental-site {
  --ink: #201214;
  --text: #3c2428;
  --muted: #6f5056;
  --blue: #7d0f14;
  --teal: #ee1c25;
  --teal-dark: #9e1818;
  --teal-soft: #fff0f1;
  --accent: #d12828;
  --accent-dark: #9e1818;
  --cream: #fff6f6;
  --bg: #fff9f9;
  --line: #f0c7cc;
  --shadow: 0 22px 55px rgba(125, 15, 20, 0.13);
  --shadow-lift: 0 28px 68px rgba(125, 15, 20, 0.18);
}

.dental-site .top-header.is-scrolled {
  border-bottom-color: rgba(238, 28, 37, 0.18);
}

.dental-site .utility-bar,
.dental-site .site-notice {
  background: #7d0f14;
}

.dental-site .utility-marquee {
  width: 100%;
  min-width: 0;
  animation: none;
}

.dental-site .utility-marquee-group {
  min-width: 100%;
  flex-wrap: wrap;
  row-gap: 4px;
}

.dental-site .utility-marquee-group[aria-hidden="true"] {
  display: none;
}

.dental-site .brand img,
.dental-site .footer-brand img {
  border-radius: 14px;
  background: #fff;
}

.dental-site .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(209, 40, 40, 0.24);
}

.dental-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(580px, 70vh, 720px);
  padding: clamp(44px, 6vw, 70px) max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(32, 18, 20, 0.44) 0%, rgba(32, 18, 20, 0.24) 40%, rgba(32, 18, 20, 0.08) 68%, rgba(32, 18, 20, 0) 100%),
    url("../assets/danton-dental-hero-bg.png") center center / cover no-repeat #f5f9fb;
}

.dental-site .h-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.dental-site .h-copy {
  max-width: 640px;
  padding: clamp(26px, 4.6vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(238, 28, 37, 0.18);
  border-radius: 24px;
  box-shadow: 0 30px 88px rgba(32, 18, 20, 0.24);
  backdrop-filter: blur(16px);
  border-color: rgba(238, 28, 37, 0.18);
}

.dental-site .h-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 10px;
  margin-bottom: 22px;
  border: 1px solid rgba(238, 28, 37, 0.28);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dental-site .h-badge-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
}

.dental-site .h-hero h1 {
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.dental-site .h-lead {
  max-width: 520px;
  min-height: 3.45em;
  margin: 0 0 30px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.72;
}

.dental-site .h-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.dental-site .h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.dental-site .h-btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 32px rgba(209, 40, 40, 0.26);
}

.dental-site .h-btn-outline {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.dental-site .h-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dental-site .h-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.81rem;
  font-weight: 800;
}

.dental-site .h-hero h1 em,
.dental-site .text-orange {
  color: var(--teal-dark);
}

.dental-site .h-stat strong {
  color: #fff;
}

.dental-site .h-stats {
  background: var(--ink);
}

.dental-site .h-stats-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.dental-site .h-stat {
  padding: clamp(22px, 4vw, 34px) 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: center;
}

.dental-site .h-stat:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.dental-site .h-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.dental-site .h-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dental-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.dental-split > div {
  max-width: 650px;
}

.dental-split h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.dental-split p {
  color: var(--muted);
  font-size: 1.02rem;
}

.dental-split figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.dental-split img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-page .page-hero {
  padding-top: 34px;
  padding-bottom: 18px;
}

.team-page .page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
}

.team-page .page-hero p:not(.eyebrow) {
  max-width: 58ch;
  font-size: 1rem;
}

.dental-team-list {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.dental-team-member {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  align-items: center;
  gap: 24px;
  min-height: 390px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #fff9f9 100%);
  box-shadow: 0 16px 36px rgba(125, 15, 20, 0.08);
}

.dental-team-member img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: initial;
  object-position: center bottom;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7f7 0%, var(--teal-soft) 100%);
}

.dental-team-member > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 26px) clamp(4px, 1vw, 16px);
}

.dental-team-member h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  line-height: 1.1;
}

.dental-team-member p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.55;
}

.dental-team-member ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.dental-team-member li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dental-site .site-footer {
  background: #201214;
}

.dental-site .booking-float {
  background: var(--accent);
}

@media (max-width: 900px) {
  .dental-split,
  .dental-team-member {
    grid-template-columns: 1fr;
  }

  .dental-site .h-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .dental-team-member img {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .dental-site .brand span {
    display: none;
  }

  .team-page .page-hero {
    padding-top: 22px;
    padding-bottom: 12px;
  }

  .dental-team-member {
    padding: 16px;
    gap: 16px;
    min-height: 0;
  }

  .dental-team-member img {
    max-height: none;
  }

  .dental-site .booking-float {
    display: none;
  }

  .dental-site .h-stats-inner {
    grid-template-columns: 1fr;
  }

  .dental-site .h-stat,
  .dental-site .h-stat:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}
