:root {
  --primary: #1F4E79;
  --primary-hover: #163A5A;
  --primary-light: #DCEAF5;
  --background: #FFFFFF;
  --background-soft: #F5F7FA;
  --text: #2F3A45;
  --text-muted: #6B7682;
  --border: #D9E1E8;
  --success: #4F8A5B;
  --warning: #C98A2E;
  --container: 1160px;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(31, 78, 121, 0.08);
  --footer-gap: 5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--background); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.section { padding: 5rem 0; }
#main-content > section:last-of-type { padding-bottom: var(--footer-gap); }
.hero { padding: 1.25rem 0 0; }
.section-soft { background: var(--background-soft); }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 700; margin-bottom: 1rem; }
.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.05rem .5rem .7rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(31, 78, 121, .12);
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  overflow: hidden;
  isolation: isolate;
  animation: hero-badge-float 4.5s ease-in-out infinite;
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .95) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: hero-badge-shine 3.4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.hero-badge > * { position: relative; z-index: 2; }
.hero-badge-stars { color: #F2A93B; font-size: .95rem; letter-spacing: -1px; }
@keyframes hero-badge-shine {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(160%); }
}
@keyframes hero-badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-badge::before { animation: none; }
}
h1, h2, h3 { color: var(--primary); line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--text); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217,225,232,.8); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .55rem 0; }
.header-bar .button { padding: .5rem 1.05rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; color: var(--primary); }
.social-link img, .social-link svg { width: 1.6rem; height: 1.6rem; }
.brand { display: inline-flex; align-items: center; max-width: min(100%, 18rem); }
.brand-logo { display: block; width: 100%; height: auto; max-height: 3.25rem; }
.desktop-only { display: flex; align-items: center; gap: 1rem; }
.phone-link { font-weight: 700; color: var(--primary); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.35rem; border-radius: 12px; font-weight: 700; transition: .2s ease; border: 1px solid transparent; }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { border-color: var(--border); background: #fff; color: var(--primary); }
.button-secondary:hover { border-color: var(--primary); }
.social-links { display: flex; align-items: center; gap: .75rem; }
.social-links a { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; color: var(--primary); transition: transform .2s ease, opacity .2s ease; }
.header-actions .social-links a { width: 2rem; height: 2rem; }
.social-links a:hover,
.social-links a:focus-visible { transform: translateY(-1px); opacity: .8; }
.social-links svg, .social-links img { width: 100%; height: 100%; object-fit: contain; }
.nav-toggle { display: none; background: none; border: 0; padding: 0; }
.nav-toggle span { display: block; width: 1.5rem; height: 2px; background: var(--primary); margin: .28rem 0; }
.site-nav { flex: 1 1 auto; border-top: 0; }
.nav-inner { display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem; }
.menu { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; font-weight: 500; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown[open] .submenu, .nav-dropdown:hover .submenu { display: grid; }
.submenu { display: none; position: absolute; top: calc(100% + .75rem); left: 0; min-width: 18rem; padding: .9rem; margin: 0; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); gap: .55rem; }
.submenu a { display: block; padding: .45rem .5rem; border-radius: 10px; }
.submenu a:hover { background: var(--background-soft); color: var(--primary); }
.menu a,
.nav-dropdown summary { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .55rem .95rem; border-radius: 12px; color: var(--text); font-weight: 500; transition: background-color .2s ease, color .2s ease; }
.info-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f4e79, #2f6ea3);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  box-shadow: 0 8px 16px rgba(31, 78, 121, .2);
  white-space: nowrap;
}

.about-credential {
  margin-top: -.35rem;
  margin-bottom: .85rem;
}

.about-home-credential {
  margin: 0 0 .8rem;
}
.menu a:hover, .nav-dropdown summary:hover, .text-link:hover { color: var(--primary); }
.menu a.is-active,
.nav-dropdown summary.is-active { background: #eef1f4; color: var(--primary); }
.submenu a.is-active { background: #eef1f4; color: var(--primary); }
.hero-grid, .intro-grid, .content-grid, .medical-layout, .cta-banner { display: grid; gap: 2rem; }
.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(18rem, .88fr); align-items: center; gap: 1rem; }
.hero-content { margin-bottom: 1rem; }
.hero-title { max-width: none; font-size: clamp(1.95rem, 4vw, 3rem); }
.hero-copy { max-width: 60ch; font-size: 1.08rem; color: var(--text-muted); }
.hero-actions, .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-actions .button, .cta-actions .button { padding: .7rem 1.2rem; }
.cta-banner-actions .button { padding: .58rem 1.05rem; min-height: 2.7rem; }
.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.portrait-frame { position: relative; padding: 0; background: transparent; box-shadow: none; overflow: visible; }
.portrait-frame::before, .portrait-frame::after { content: none; }
.portrait-frame img { width: min(100%, 32rem); max-height: 34rem; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center top; border-radius: 0; background: transparent; margin-left: auto; }
.hero-visual .portrait-frame::before {
  content: "";
  position: absolute;
  inset: 4% 6% 0 2%;
  background:
    radial-gradient(circle at 32% 24%, var(--primary-light) 0%, rgba(220, 234, 245, .55) 50%, transparent 72%);
  border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%;
  z-index: 0;
}
.hero-visual .portrait-frame::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 2%;
  width: 62%;
  height: 18%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(31, 78, 121, .3), transparent 72%);
  filter: blur(20px);
  z-index: 0;
}
.hero-visual .portrait-frame img { position: relative; z-index: 1; filter: drop-shadow(0 22px 28px rgba(31, 78, 121, .18)); }
.portrait-frame-compact { margin-bottom: 1.25rem; }
.intro-grid { grid-template-columns: 1fr .8fr; align-items: start; }
.panel, .card, .sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.check-list, .footer-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .footer-list li { position: relative; padding-left: 1.5rem; margin-bottom: .9rem; }
.check-list li::before, .footer-list li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--success); position: absolute; left: 0; top: .55rem; }
.footer-list.compact li { margin-bottom: .6rem; }
.card-grid { display: grid; gap: 1.5rem; }
.about-home-grid { display: grid; grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: center; }
.about-home-visual { display: flex; justify-content: center; }
.about-home-photo { width: min(100%, 24rem); aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; display: block; border: 0; border-radius: 999px; box-shadow: 0 10px 24px rgba(31, 78, 121, 0.10); }
.about-home-content { display: grid; gap: 0; }
.about-home-content h2 { margin-bottom: .2rem; }
.about-home-intro { font-size: 1.05rem; color: var(--primary); font-weight: 600; max-width: 48rem; }
.about-home-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.3rem; }
.about-home-chips .chip { display: inline-flex; align-items: center; padding: .42rem .9rem; border-radius: 999px; background: var(--primary-light); color: var(--primary); font-size: .82rem; font-weight: 700; }
.about-home-copy { max-width: 48rem; }
.pathology-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.pathology-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(31, 78, 121, .16); }
.pathology-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--radius) - 4px); margin-bottom: 1rem; }

.pathology-list-image {
  max-height: 11rem;
  width: 100%;
  object-fit: cover;
}

.article-cover img {
  width: min(100%, 44rem);
  margin: 0 auto;
}

.featured-pathologies-shell { display: grid; gap: 1.5rem; }
.featured-pathologies-header h2 { margin-bottom: 0; }
.featured-pathologies-viewport { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x proximity; }
.featured-pathologies-viewport::-webkit-scrollbar { display: none; }
.featured-pathologies-track { display: flex; gap: 1.5rem; width: max-content; }
.featured-pathology-card { flex: 0 0 clamp(18rem, 30vw, 24rem); min-height: 100%; scroll-snap-align: start; }
.featured-pathology-card .text-link { margin-top: auto; }

.three-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-link { color: var(--primary); font-weight: 700; }
.home-section { padding: 3.5rem 0; }
.testimonials-section { overflow: hidden; }
.home-decor { position: relative; overflow: hidden; }
.home-decor::before, .home-decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 78, 121, .07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.home-decor::before { width: 26rem; height: 26rem; top: -10rem; right: -8rem; }
.home-decor::after { width: 20rem; height: 20rem; bottom: -9rem; left: -7rem; background: radial-gradient(circle, rgba(31, 78, 121, .05), transparent 70%); }
.home-decor > .container { position: relative; z-index: 1; }
.testimonials-shell { display: grid; gap: 1.5rem; }
.testimonials-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.doctoralia-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .2s ease, transform .2s ease;
}
.doctoralia-badge:hover, .doctoralia-badge:focus-visible { border-color: var(--primary); transform: translateY(-1px); }
.doctoralia-badge img { height: 1.15rem; width: auto; }

.section-intro { margin: .15rem 0 0; color: var(--text-muted); max-width: 64ch; font-size: 1rem; }
.about-rich-content h1 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); margin-bottom: .55rem; }
.testimonials-controls { display: flex; gap: .75rem; flex-wrap: wrap; }
.testimonials-control { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--primary); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: .2s ease; }
.testimonials-control:hover, .testimonials-control:focus-visible { border-color: var(--primary); background: var(--primary-light); outline: none; }
.testimonials-marquee { display: grid; gap: 1.25rem; width: 100vw; margin-left: calc(50% - 50vw); padding: 0; }
.testimonials-row { overflow: hidden; }
.testimonials-marquee-track { display: flex; gap: 1.5rem; width: max-content; will-change: transform; }
.testimonials-row-right .testimonials-marquee-track { animation: testimonials-slide-right 70s linear infinite; }
.testimonials-row-left .testimonials-marquee-track { animation: testimonials-slide-left 74s linear infinite; }
.marquee-card { flex: 0 0 clamp(16rem, 26vw, 21rem); min-height: 100%; scroll-snap-align: start; padding: .72rem; }
@media (min-width: 801px) {
  .testimonials-marquee-static { width: 100%; margin-left: 0; }
  .testimonials-marquee-static .testimonials-marquee-track { width: 100%; justify-content: center; flex-wrap: nowrap; animation: none; }
  .testimonials-marquee-static .marquee-card { flex: 1 1 0; min-width: 0; max-width: 21rem; }
  .testimonials-marquee-static .marquee-card[aria-hidden="true"] { display: none; }
}
.stars {
  --rating: 5;
  --rating-percent: calc(var(--rating) / 5 * 100%);
  letter-spacing: .1em;
  margin-bottom: .45rem;
  font-size: 1.1rem;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, #f4b400 var(--rating-percent), #d0d6de var(--rating-percent));
  -webkit-background-clip: text;
  background-clip: text;
}
.testimonial-card { position: relative; overflow: hidden; border-radius: 18px; box-shadow: 0 4px 16px rgba(31, 78, 121, .07); background: #fff; border: 1px solid #dde4eb; transition: transform .25s ease, box-shadow .25s ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(31, 78, 121, .15); }
.testimonial-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), #5a9bd0); }
.testimonial-quote { color: #4d5f70; font-size: 13px !important; line-height: 1.2; margin: 0; font-style: italic !important; }
.testimonial-author { display: flex; align-items: center; gap: .5rem; margin-top: .55rem; }
.testimonial-avatar { width: 1.55rem; height: 1.55rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e4edf6, #c4d5e7); color: var(--primary); font-weight: 700; font-size: .62rem; border: 1px solid #b9cadb; flex-shrink: 0; }
.testimonial-author-name { color: var(--primary); font-size: clamp(.76rem, .95vw, .88rem); font-weight: 700; line-height: 1.15; }

@keyframes testimonials-slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes testimonials-slide-right {
  from { transform: translateX(calc(-50% - 0.75rem)); }
  to { transform: translateX(0); }
}
.cta-banner { position: relative; grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem); align-items: end; gap: 1.25rem; padding: clamp(1.4rem, 2.6vw, 2.1rem); border-radius: calc(var(--radius) + 6px); overflow: hidden; background: linear-gradient(135deg, #002A50 0%, #DCEAF5 100%); box-shadow: 0 22px 50px rgba(31, 78, 121, 0.18); }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 24% 30%, rgba(255,255,255,.16), transparent 32%), radial-gradient(circle at 72% 18%, rgba(255,255,255,.10), transparent 26%); pointer-events: none; }
.cta-banner-content { position: relative; z-index: 1; display: grid; gap: 1.5rem; max-width: 40rem; padding-right: 0; }
.cta-banner h2, .cta-banner-text, .cta-banner-text :is(p, li, strong, em, a, span) { color: #fff; }
.cta-banner-text p { font-size: 1.05rem; max-width: 34rem; color: #fff; }
.cta-banner .button-primary { background: #fff; color: var(--primary); }
.cta-banner .button-primary:hover { background: rgba(255,255,255,.92); }
.cta-banner .button-secondary { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; }
.cta-banner .button-secondary:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.18); }
.cta-banner-visual { position: relative; z-index: 1; display: flex; justify-content: flex-end; align-self: end; min-height: 100%; }
.cta-banner-visual img { width: min(100%, 18rem); max-height: 18.5rem; object-fit: contain; object-position: right bottom; margin: 0 0 -1.8rem auto; filter: drop-shadow(0 18px 30px rgba(12, 39, 83, 0.24)); }
.faq-section { padding-top: 2.2rem; padding-bottom: 2.75rem; }
.faq-shell { display: grid; gap: 1rem; }
.faq-eyebrow { margin-bottom: 0; }
.faq-title { margin-bottom: .55rem; font-size: clamp(1.85rem, 3vw, 2.65rem); }
.faq-list { display: grid; gap: .9rem; }
.faq-item {
  background: #fff;
  border: 1px solid #c7d4df;
  border-left: 3px solid var(--primary-light);
  border-radius: 20px;
  padding: .15rem 1.25rem;
  transition: border-left-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover, .faq-item[open] { border-left-color: var(--primary); box-shadow: 0 10px 26px rgba(31, 78, 121, .09); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  cursor: pointer;
  color: #1f3f5f;
  font-size: clamp(.98rem, 1.4vw, 1.2rem);
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item .faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding-bottom: 0;
}
.faq-item .faq-answer p {
  margin-bottom: 0;
  color: #4a5e73;
  font-size: 1.02rem;
}
.faq-item[open] .faq-answer {
  height: auto;
  opacity: 1;
  padding-bottom: .85rem;
}
.narrow-copy { max-width: 70ch; }
.page-hero { padding-bottom: 2rem; }
.appointment-hero { padding-top: 2.5rem; }
@media (min-width: 801px) {
  .appointment-hero { text-align: center; }
  .appointment-hero .container { max-width: 44rem; margin-inline: auto; }
}
.page-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.article-content h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

.breadcrumbs ol { display: flex; gap: .75rem; list-style: none; padding: 0; margin: 0 0 1.5rem; color: var(--text-muted); font-size: .92rem; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; margin-right: .75rem; }
.content-grid, .medical-layout { grid-template-columns: 1.2fr .8fr; align-items: start; }
.medical-content section { margin-bottom: 2rem; }
.rich-content ul, .medical-content ul { padding-left: 1.2rem; }
.sticky-card { position: sticky; top: 7.5rem; }
.full-width { width: 100%; }
.cta-inline { margin-top: 2rem; }
.site-footer { padding: 1.5rem 0 2rem; background: transparent; }
.footer-shell {
  background: #2e4a64;
  color: rgba(255, 255, 255, .92);
  border-radius: 22px;
  padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1rem, 2.4vw, 2.2rem);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer .footer-brand { display: inline-flex; align-items: center; max-width: min(100%, 12.5rem); }
.site-footer .footer-brand .brand-logo { width: 100%; height: auto; max-height: 2.6rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem 2rem;
}
.footer-nav a { color: rgba(255, 255, 255, .95); font-weight: 500; }
.footer-divider { border-top: 1px solid rgba(176, 202, 224, .6); margin: .9rem 0 .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .9); }
.footer-legal-links { display: flex; align-items: center; gap: .45rem; }
.footer-legal-links a { color: rgba(255, 255, 255, .9); }
.footer-legal-links span { opacity: .85; }
.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; }
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(15rem, .85fr); }
  .portrait-frame img { width: min(100%, 28rem); max-height: 30rem; }
}
@media (max-width: 1024px) { .three-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .intro-grid, .content-grid, .medical-layout { grid-template-columns: 1fr; } }

@media (max-width: 860px) { .about-home-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero { padding-bottom: 2.5rem; }
  .hero-grid, .cta-banner { grid-template-columns: 1fr; }
  .hero-visual, .cta-banner-visual { justify-content: center; }
  .hero-content { display: contents; text-align: center; }
  .hero-badge { order: -2; justify-self: center; }
  .hero-visual { order: -1; margin-bottom: 1.5rem; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual .portrait-frame img {
    width: min(72%, 18rem);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 28px;
    box-shadow: 0 20px 32px rgba(31, 78, 121, .22);
    filter: none;
  }
  .cta-banner {
    padding: clamp(1.15rem, 4vw, 1.7rem);
    background:
      linear-gradient(130deg, rgba(0, 42, 80, .92) 0%, rgba(19, 76, 122, .74) 100%),
      url("/images/marta_couloir_central.webp") center top / cover no-repeat;
  }
  .cta-banner-content { max-width: none; }
  .cta-banner-visual { display: none; }
  .faq-item { border-radius: 16px; }
}
@media (max-width: 800px) { .desktop-only { display: none; } .nav-toggle { display: inline-block; } .site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255,255,255,.98); border-top: 1px solid rgba(217,225,232,.8); } .site-nav.is-open { display: block; } .header-bar { position: relative; flex-wrap: wrap; } .nav-inner { align-items: flex-start; padding: 1rem 0 1.5rem; } .menu { flex-direction: column; align-items: stretch; width: 100%; padding: 0; } .menu a, .nav-dropdown summary { width: 100%; justify-content: flex-start; } .submenu { position: static; display: grid; margin-top: .75rem; min-width: 100%; box-shadow: none; } .two-cols, .three-cols { grid-template-columns: 1fr; } .home-section { padding: 3rem 0; } .testimonials-header { align-items: flex-start; flex-direction: column; } .marquee-card { flex-basis: min(85vw, 20rem); } .section { padding: 4rem 0; } .hero { padding: 2rem 0 2.5rem; } h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); } .hero-title { font-size: clamp(1.85rem, 7vw, 2.55rem); } }

/* Mobile: center section headers to match the hero instead of the abrupt
   left-aligned text every section fell back to once it stacked to 1 column */
@media (max-width: 800px) {
  .testimonials-header { align-items: center; text-align: center; }
  .testimonials-header .testimonials-controls { justify-content: center; }
  .doctoralia-badge { margin-inline: auto; }
  .about-home-content { text-align: center; }
  .about-home-copy { text-align: left; }
  .about-home-credential { display: flex; justify-content: center; }
  .about-home-chips { justify-content: center; }
  .featured-pathologies-header { align-items: center; }
  .faq-eyebrow, .faq-title { text-align: center; }
}
@media (max-width: 800px) { :root { --footer-gap: 4rem; } }
@media (max-width: 800px) { .footer-top { align-items: flex-start; flex-direction: column; } .footer-nav { gap: .6rem 1rem; } .footer-bottom { flex-direction: column; } .footer-legal-links { flex-wrap: wrap; } }
.about-page-section { padding-top: 3rem; padding-bottom: 2.75rem; }
#main-content > .about-page-section:last-of-type { padding-bottom: 2.75rem; }
.about-content-grid { grid-template-columns: minmax(0, 1.55fr) minmax(18rem, .7fr); gap: 3rem; }
.about-main-column { display: grid; gap: 0; }
.about-page-section .sticky-card { position: static; top: auto; }
.about-aside-mobile { display: none; margin: 0 0 2rem; }
.about-aside-desktop { display: block; }
.about-rich-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.about-rich-content h2:first-child { margin-top: 0; }
.about-rich-content h3 { margin-top: 1.25rem; margin-bottom: .75rem; color: var(--text); font-size: 1.1rem; }
.about-rich-content p strong:first-child { color: var(--primary); }
.about-rich-content ul { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.about-rich-content li { margin-bottom: .7rem; }
.portrait-card-clean { background: transparent; border: 0; box-shadow: none; padding: 0; }
.portrait-frame-clean img {
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  object-position: center center;
  margin: 0 auto;
}
.about-aside-copy { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 1024px) {
  .about-content-grid { grid-template-columns: 1fr; }
  .about-aside-desktop { display: none; }
  .about-aside-mobile { display: block; max-width: 24rem; margin-inline: auto; }
}


.article-hero { padding-top: 1rem; padding-bottom: .5rem; }
.article-meta { display: flex; gap: .9rem; flex-wrap: wrap; color: var(--text-muted); font-size: .95rem; margin-bottom: 1rem; }
.article-meta span { position: relative; }
.article-meta span + span::before { content: "•"; margin-right: .9rem; color: var(--border-strong, var(--border)); }
.article-intro { font-size: 1.08rem; color: var(--text-muted); max-width: none; width: 100%; }
.blog-hero .article-intro { max-width: 100%; }
.blog-article-shell { width: min(calc(100% - 2rem), var(--container)); }
.article-shell { display: grid; gap: 1rem; }
.article-section { padding-top: .5rem; padding-bottom: 2.75rem; }
#main-content > .article-section:last-of-type { padding-bottom: 2.75rem; }
#main-content > .faq-section:last-of-type { padding-bottom: 2.75rem; }
.article-cover { margin: 0; overflow: hidden; }
.article-cover img { width: 100%; border: 0; border-radius: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.article-highlights h2, .article-sources h2, .article-cta-card h2 { margin-bottom: .75rem; }
.article-highlights ul, .article-sources ol { margin: 0; padding-left: 1.2rem; }
.article-highlights li, .article-sources li { margin-bottom: .7rem; }
.article-content { display: block; }
.article-content h2 { margin-top: .9rem; margin-bottom: .4rem; }
.article-content h3 { margin-top: .6rem; margin-bottom: .3rem; color: var(--text); }
.article-content p { margin: 0 0 .5rem; }
.article-content ul,
.article-content ol { margin: 0 0 .6rem; }
.article-content p + ul, .article-content p + ol { margin-top: -.25rem; }
.article-content strong { color: var(--primary); }
.article-cta-band { margin: .25rem 0; }
.article-cta-card { background: linear-gradient(135deg, rgba(31, 78, 121, .08), rgba(220, 234, 245, .75)); border-color: rgba(31, 78, 121, .12); }
.article-cta-card p:last-of-type { margin-bottom: 0; }
.article-cta-band .cta-actions { margin-top: 1.25rem; }
.article-sources a { color: var(--primary); font-weight: 600; }
.article-sources a:hover { color: var(--primary-hover); }
@media (max-width: 800px) {
  .article-meta { gap: .5rem .9rem; }
  .article-cover { margin: 0; }
}

.article-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 1rem;
  align-items: stretch;
}

.article-cover.panel {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-cover.panel img {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 20rem;
  object-fit: cover;
}

.article-highlights.panel {
  height: 100%;
}

.article-caption {
  margin-top: .75rem;
  color: var(--text-muted);
  font-size: .92rem;
}





.appointment-intro {
  text-align: center;
  font-size: 1.2rem;
  max-width: 100%;
}

.appointment-call-btn .button-icon {
  filter: brightness(0) invert(1);
}

.appointment-address {
  font-size: .92rem;
  color: var(--text-muted);
}

.appointment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.appointment-card {
  display: grid;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: none;
  padding: .9rem .85rem;
}

.appointment-logo-wrap {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appointment-logo {
  width: auto;
  max-width: 13rem;
  max-height: 3rem;
  object-fit: contain;
}

.appointment-meta {
  margin: 0;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.appointment-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: .3rem;
}

.button-icon {
  width: 1rem;
  height: 1rem;
}

.appointment-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .35rem;
}

.appointment-card h2 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.appointment-call-btn {
  min-height: 2.5rem;
  padding: .5rem .9rem;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: .4rem;
}

.appointment-call-btn span {
  line-height: 1;
}

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

@media (max-width: 900px) {
  .article-lead-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
  }
}
