:root {
  --teal: #0e5f5a;
  --teal-dark: #123c39;
  --ivory: #f7f2ea;
  --mint: #e5f2ef;
  --white: #ffffff;
  --ink: #172826;
  --muted: #5d6d69;
  --gold: #c99b52;
  --border: #d8e3df;
  --shadow: 0 18px 45px rgba(18, 60, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#about,
#appointment,
#care,
#credentials,
#research,
#publications {
  scroll-margin-top: 142px;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 155, 82, 0.58);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.section-nav {
  position: sticky;
  top: 72px;
  z-index: 19;
  background: var(--ivory);
  backdrop-filter: blur(12px);
}

.section-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav-inner::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 7px 12px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.section-nav a:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 18px rgba(18, 60, 57, 0.08);
  transform: translateY(-1px);
}

.section-nav a:focus-visible {
  outline: 3px solid rgba(201, 155, 82, 0.58);
  outline-offset: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-size: 0.8rem;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 18px);
  min-width: 0;
  margin-left: auto;
}

.quick-contact-links {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  gap: 10px;
}

.button.button-compact {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.quick-call-link {
  gap: 8px;
}

.quick-call-link svg,
.quick-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.quick-icon-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-icon-button:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 22px rgba(18, 60, 57, 0.1);
  transform: translateY(-1px);
}

.quick-whatsapp-link {
  color: var(--white);
  background: #128c7e;
  border-color: #128c7e;
}

.quick-whatsapp-link:hover {
  color: var(--white);
  background: #0e756a;
  border-color: #0e756a;
}

.social-links.quick-social-links {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-top: 0;
}

.hero-section {
  background: linear-gradient(180deg, var(--ivory), #ffffff 88%);
  padding: 48px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.portrait-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  justify-self: end;
}

.portrait-frame {
  overflow: hidden;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-image {
  display: block;
  width: 100%;
  height: clamp(360px, 42vw, 500px);
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  background: var(--mint);
}

.portrait-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-copy {
  max-width: 680px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--teal-dark);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 500;
  overflow-wrap: break-word;
}

h2 {
  max-width: 100%;
  font-size: 2.55rem;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

h3 {
  font-size: 1.2rem;
}

.credential-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 16px 0 0;
  color: var(--teal);
  font-weight: 800;
  line-height: 1.35;
}

.credential-line span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.credential-line span:not(:last-child)::after {
  content: ",";
}

.lead,
.section-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #334743;
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

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

.button-primary:hover {
  background: #0a4f4b;
}

.button-secondary {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
}

.full-width {
  width: 100%;
}

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

.chips {
  margin-top: 26px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.service-topic-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 12px;
  color: var(--teal-dark);
  background: linear-gradient(180deg, var(--white), #fbfdfc);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-topic-nav a:hover,
.service-topic-nav a[aria-current="page"] {
  border-color: var(--teal);
  box-shadow: 0 8px 18px rgba(18, 60, 57, 0.08);
  transform: translateY(-1px);
}

#care h2 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.care-accordion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-top: 28px;
}

.care-accordion-item:first-child {
  grid-column: span 2;
}

.care-accordion-item,
.care-accordion-row {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(180deg, var(--white), #fbfdfc);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 60, 57, 0.07);
}

.care-accordion-item::before,
.care-accordion-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
}

.care-accordion-item[open] {
  border-color: #bedbd5;
  box-shadow: 0 18px 40px rgba(18, 60, 57, 0.1);
}

.care-accordion-item summary,
.care-accordion-row {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 20px 24px;
  color: var(--teal-dark);
  background: transparent;
  font-size: 1rem;
  font-weight: 800;
}

.care-accordion-row {
  background: linear-gradient(180deg, var(--white), #fbfdfc);
}

.care-accordion-item[open] summary {
  color: var(--teal-dark);
  background: linear-gradient(135deg, var(--mint), #f8fcfb);
}

.care-accordion-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 68px;
}

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

.care-accordion-item summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--teal);
  background: var(--mint);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.care-accordion-item[open] summary::after {
  content: "-";
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.care-summary-text {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.care-summary-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.care-summary-title {
  color: var(--teal-dark);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  font-weight: 900;
  line-height: 1.18;
}

.care-accordion-item[open] .care-summary-label {
  color: #53726d;
}

.care-accordion-item[open] .care-summary-title {
  color: var(--teal-dark);
}

.care-accordion-body {
  padding: 0 22px 22px 24px;
  background: linear-gradient(180deg, #f7fbfa, var(--white));
}

.care-accordion-body::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 18px;
  background: var(--border);
}

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

.care-list > li {
  position: relative;
  min-width: 0;
  padding: 12px 14px 12px 34px;
  color: var(--teal-dark);
  background: #f8fcfb;
  border: 1px solid #cfe3de;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
}

.care-list > li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 14px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 999px;
}

.care-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.care-list ul li,
.care-list-grid li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.care-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.care-list-grid > li {
  position: static;
  padding-left: 11px;
}

.care-list-grid > li::before {
  content: none;
}

.trust-strip {
  padding: 22px 0;
  background: var(--teal-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-grid div {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.78);
  border-left: 2px solid var(--gold);
}

.trust-grid strong {
  color: var(--white);
}

.content-band {
  padding: 72px 0;
  background: var(--ivory);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 48px;
  align-items: start;
}

.section-copy p:not(.eyebrow),
.clean-list,
.timeline,
.publication-list {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-copy p:not(.eyebrow) {
  max-width: 760px;
}

.profile-summary {
  padding: 24px;
}

.profile-summary p:last-of-type {
  margin-bottom: 0;
}

.summary-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.summary-credentials span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.profile-summary,
.appointment-panel {
  background: linear-gradient(180deg, var(--white), #fbfdfc);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.appointment-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.appointment-panel h2 {
  max-width: 100%;
  margin-bottom: 16px;
  font-size: 1.72rem;
}

.visit-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.visit-row {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.visit-row span {
  color: var(--muted);
}

.visit-row strong {
  color: var(--teal-dark);
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-block {
  padding: 72px 0;
}

#care {
  padding-bottom: 36px;
}

#credentials {
  padding-top: 36px;
}

#credentials .section-block {
  padding: 0;
}

.section-block h2 {
  margin-bottom: 26px;
}

.credential-layout,
.split-grid,
.research-grid {
  display: grid;
  gap: 22px;
}

.credential-layout,
.split-grid,
.research-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-layout + .split-grid {
  margin-top: 22px;
}

.info-block,
.detail-panel,
.research-highlights div {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), #fbfdfc);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 60, 57, 0.07);
}

.info-block::before,
.detail-panel::before,
.research-highlights div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
}

.info-block {
  padding: 24px;
}

.info-block h3 {
  margin-bottom: 16px;
}

.timeline,
.clean-list,
.publication-list {
  margin: 0;
  padding-left: 20px;
}

.timeline {
  display: grid;
  gap: 16px;
  list-style: none;
  padding-left: 0;
}

.timeline li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.timeline strong {
  color: var(--teal-dark);
}

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

.research-section .section-lead {
  margin-bottom: 16px;
}

.research-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.scholar-profile-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0 16px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid #cbe0db;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.scholar-profile-link:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 22px rgba(18, 60, 57, 0.1);
  transform: translateY(-1px);
}

.scholar-profile-link svg {
  width: 20px;
  height: 20px;
  color: #4285f4;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.research-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.research-highlights div {
  padding: 22px;
}

.research-highlights div:first-child {
  background: linear-gradient(135deg, var(--mint), #f8fcfb);
  border-color: #bedbd5;
}

.research-highlights div:not(:first-child) {
  background: linear-gradient(180deg, var(--mint), #fbfdfc);
  border-color: #cbe0db;
}

.research-highlights strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.8rem;
}

.research-highlights span {
  color: var(--muted);
}

.research-highlights div:first-child strong {
  color: var(--teal-dark);
}

.research-highlights div:first-child span {
  color: #4d655f;
}

.detail-panel {
  margin-top: 22px;
  padding: 0;
}

.detail-panel + .research-grid {
  margin-top: 28px;
}

.detail-panel summary {
  position: relative;
  cursor: pointer;
  min-height: 64px;
  padding: 20px 68px 20px 24px;
  color: var(--teal-dark);
  font-weight: 800;
  list-style: none;
}

.detail-panel summary::-webkit-details-marker {
  display: none;
}

.detail-panel summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--teal);
  background: var(--mint);
  border: 1px solid #cbe0db;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-50%);
}

.detail-panel[open] summary {
  color: var(--teal-dark);
  background: linear-gradient(135deg, var(--mint), #f8fcfb);
}

.detail-panel[open] summary::after {
  content: "-";
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.service-page {
  background: var(--white);
}

.service-hero {
  padding: 56px 0 46px;
  background: linear-gradient(180deg, var(--ivory), #ffffff 88%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.service-page h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(180deg, var(--white), #fbfdfc);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
}

.service-card h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

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

.service-body {
  padding: 44px 0 72px;
}

.service-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

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

.service-content-grid .info-block h2 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.publication-list {
  display: grid;
  gap: 12px;
  padding: 20px 28px 24px 48px;
  background: linear-gradient(180deg, #f8fcfb, var(--white) 18%);
}

.publication-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  padding: 20px 24px 24px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--teal-dark);
  background: var(--mint);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid #cbe0db;
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.social-link:hover {
  border-color: currentColor;
  box-shadow: 0 10px 22px rgba(18, 60, 57, 0.1);
  transform: translateY(-1px);
}

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

.social-link.instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-link.facebook {
  color: #1877f2;
}

.social-link.instagram {
  color: #c13584;
}

.social-link.linkedin {
  color: #0a66c2;
}

.social-link.google-scholar {
  color: #4285f4;
}

.social-link.google-scholar svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link.x-twitter {
  color: #111111;
}

.footer {
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--teal-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  text-align: center;
  font-size: 0.9rem;
}

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

.mobile-action {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
  }

  .header-actions {
    gap: 12px;
  }

  .two-column,
  .credential-layout,
  .split-grid,
  .research-grid,
  .service-hero-grid,
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 32px;
  }

  .portrait-panel {
    max-width: 320px;
  }

  .trust-grid,
  .research-highlights {
    grid-template-columns: 1fr 1fr;
  }

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

  .appointment-panel {
    position: static;
  }

  .portrait-image {
    height: 390px;
  }
}

@media (max-width: 760px) {
  .header-actions {
    gap: 6px;
  }

  .quick-contact-links,
  .social-links.quick-social-links {
    gap: 5px;
  }

  .button.button-compact.quick-call-link,
  .quick-icon-button,
  .social-link {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  .quick-call-link span {
    display: none;
  }

  .quick-call-link svg,
  .quick-icon-button svg {
    width: 17px;
    height: 17px;
  }

  .social-link svg {
    width: 19px;
    height: 19px;
  }

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

  .portrait-panel {
    max-width: 420px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  #about,
  #appointment,
  #care,
  #credentials,
  #research,
  #publications {
    scroll-margin-top: 116px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .section-nav {
    top: 64px;
  }

  .section-nav-inner {
    width: 100%;
    min-height: 46px;
    padding-inline: 14px;
  }

  .section-nav a {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.84rem;
  }

  .profile-summary {
    padding: 20px 18px;
  }

  .profile-summary h2 {
    font-size: 1.62rem;
  }

  .summary-credentials {
    gap: 8px;
  }

  .summary-credentials span {
    max-width: 100%;
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.82rem;
    white-space: normal;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-section {
    padding-top: 34px;
  }

  .hero-grid {
    gap: 28px;
    overflow: hidden;
  }

  .portrait-panel {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-copy,
  .credential-line,
  .lead {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  #care h2 {
    font-size: 1.95rem;
  }

  .lead,
  .section-lead {
    font-size: 1.03rem;
  }

  .actions {
    display: none;
  }

  .portrait-image {
    height: 320px;
  }

  .trust-grid,
  .research-highlights {
    grid-template-columns: 1fr;
  }

  .care-accordion {
    grid-template-columns: 1fr;
  }

  .care-accordion-item:first-child {
    grid-column: auto;
  }

  .care-accordion {
    gap: 12px;
  }

  .care-accordion-item summary,
  .care-accordion-row {
    min-height: 88px;
    padding: 17px 18px 17px 20px;
  }

  .care-accordion-item summary {
    padding-right: 58px;
  }

  .care-accordion-item summary::after {
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
  }

  .care-accordion-body {
    padding: 0 18px 18px 20px;
  }

  .care-summary-title {
    font-size: 1.08rem;
  }

  .care-list > li {
    padding-right: 12px;
  }

  .content-band,
  .section-block {
    padding: 48px 0;
  }

  .service-hero {
    padding: 40px 0 34px;
  }

  .service-page h1 {
    max-width: calc(100vw - 28px);
    font-size: 2.42rem;
  }

  .service-body {
    padding: 36px 0 54px;
  }

  .service-card {
    padding: 20px 18px;
  }

  #care {
    padding-bottom: 28px;
  }

  #credentials {
    padding-top: 28px;
  }

  .research-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .publication-list {
    padding-left: 34px;
    padding-right: 18px;
  }

  .detail-panel + .research-grid {
    margin-top: 22px;
  }

  .footer-inner {
    display: grid;
    justify-items: center;
  }

  .mobile-action {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: block;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
}

@media (max-width: 500px) {
  .brand span:last-child {
    display: none;
  }

  .header-actions {
    width: calc(100vw - 80px);
    flex: 0 0 calc(100vw - 80px);
    max-width: calc(100vw - 80px);
    overflow-x: auto;
    overflow-y: hidden;
    contain: paint;
    scrollbar-width: none;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 360px) {
  .site-header,
  .header-actions {
    gap: 5px;
  }

  .site-header {
    padding-inline: 12px;
  }

  .quick-contact-links {
    gap: 4px;
  }

  .social-links.quick-social-links {
    gap: 4px;
  }

  .button.button-compact.quick-call-link,
  .quick-icon-button,
  .social-link {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
  }

  .quick-call-link svg,
  .quick-icon-button svg {
    width: 16px;
    height: 16px;
  }

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