/* =========================
   Medera Global
   Clean master stylesheet
   Keeps current visuals
   ========================= */


/* =========================
   1) Design tokens
   ========================= */

:root{
  --brand-50:#ecf8f9;
  --brand-100:#d8f1f3;
  --brand-200:#b3e3e7;
  --brand-300:#86d0d6;
  --brand-400:#4fb7c0;
  --brand-500:#138a94;
  --brand-600:#0f7a84;
  --brand-700:#0c636b;
  --brand-800:#0a4f55;
  --brand-900:#083f43;

  --text:#0b1324;
  --muted:#3f4b63;
  --bg:#ffffff;
  --surface:#fbfdfe;

  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.08);

  /* Patient Journey tokens */
  --pj-ink:#0c1b2a;
  --pj-muted:rgba(12,27,42,0.68);
  --pj-line:rgba(12,27,42,0.12);
  --pj-card:rgba(255,255,255,0.9);
  --pj-shadow:0 18px 45px rgba(12,27,42,0.08);
  --pj-radius:22px;

  /* Alias used in PJH strip (keeps current output) */
  --brand-teal: var(--brand-500);
}


/* =========================
   2) Base reset and layout
   ========================= */
   
   @font-face {
  font-family: 'IBMPlexSans';
  src: url('/assets/fonts/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBMPlexSans';
  src: url('/assets/fonts/IBMPlexSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LibreBaskerville';
  src: url('/assets/fonts/LibreBaskerville-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LibreBaskerville';
  src: url('/assets/fonts/LibreBaskerville-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --font-serif: 'LibreBaskerville', serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --h1: clamp(40px, 4vw, 56px);
  --h2: clamp(30px, 2.6vw, 40px);
  --h3: 20px;
  --body: 16px;
}

body {
  font-family: 'IBMPlexSans', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'LibreBaskerville', serif;
}

*{ box-sizing:border-box; max-width:100%; }


  

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}
h1, h2, h3, h4{
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

h1{ font-size: var(--h1); }
h2{ font-size: var(--h2); }
h3{ font-size: var(--h3); line-height: 1.2; }

h1 em, h2 em, h3 em{
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  font-size: 0.94em;
}

body{
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.55;
}

.partner-card h3,
.partner-card .title{
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
}

.partner-card p{
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
}

/* =========================
   3) Typography
   ========================= */

h1,h2,h3{ font-weight:900; letter-spacing:-0.01em; margin:0; }
h1{ font-size:52px; line-height:1.05; margin-bottom:12px; }
h2{ font-size:36px; margin-bottom:10px; }
h3{ font-size:20px; }

.eyebrow{
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  opacity:.95;
}

.lead{
  font-size:18px;
  color:var(--muted);
  max-width:75ch;
  margin:10px 0 22px;
}
.lead.light{ color:#d7deea; }

.kicker{ color:var(--muted); margin:0 0 30px; }
.mutetext{ color:var(--muted); }

.hightlighth1{ color: rgba(78, 153, 214, 1); }


/* =========================
   4) Common components
   ========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}

.card{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius:18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.card-lg{ padding:22px; }

.icon{
  width:44px;
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--brand-100);
  margin-bottom:12px;
  font-size:22px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:none;
  border-radius:14px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
  box-shadow:var(--shadow);
  white-space:nowrap;
}
.btn-primary{ background:var(--brand-600); color:#fff; }
.btn-sm{ padding:10px 14px; font-size:14px; border-radius:12px; }

.btn-ghost{
  background: transparent;
  border: 1px solid rgba(19, 138, 148, 0.28);
}

.input{
  width:100%;
  border:1px solid rgba(15,23,42,.12);
  border-radius:12px;
  padding:12px 14px;
}


/* =========================
   5) Header and navigation
   ========================= */

header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.95);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))){
  header{
    background:rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

/* Legacy nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.iconnav{ display:flex; align-items:center; gap:8px; }

.wordmark{
  font-weight:800;
  font-size:22px;
  letter-spacing:.2px;
  display:flex;
  gap:6px;
}
.wordmark .m{ color:var(--text); }
.wordmark .g{ color:rgba(78, 153, 214, 1); }

.nav-links{
  display:flex;
  gap:20px;
  align-items:center;
  font-weight:600;
}

/* New header structure */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
}

.site-search{ margin:0; }

.search-input{
  width:min(360px, 44vw);
  padding:10px 12px;
  border-radius:12px;
}

.nav-center{
  display:flex;
  justify-content:center;
  gap:20px;
  padding:10px 0 14px;
  border-top:1px solid rgba(15,23,42,.06);
  flex-wrap:wrap;
  font-weight:600;
}


/* =========================
   6) Sections and backgrounds
   ========================= */

.section{ padding:56px 0; }

.solid{ background:var(--surface); color:var(--text); }
.solid.alt{ background:var(--brand-50); }

footer{
  background:var(--surface);
  border-top:1px solid rgba(15,23,42,.06);
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  align-items:start;
  gap:28px;
}
.footer-grid ul{ list-style:none; padding-left:0; margin:8px 0 0; }
.footer-grid li{ margin:6px 0; }

/* Prevent long footer text overflow */
footer a, footer p, footer li, footer small{
  overflow-wrap:anywhere;
  word-break:break-word;
}


/* =========================
   7) Parallax hero and motion
   ========================= */

.parallax-section{
  position:relative;
  overflow:hidden;
  min-height:60vh;
  display:flex;
  align-items:center;
}
.hero.parallax-section{ min-height:70vh; }

.parallax-bg{
  position:absolute;
  inset:-10% 0 -10% 0;
  z-index:0;
  will-change:transform;
}
.parallax-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Default overlay */
.parallax-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.parallax-content{
  position:relative;
  z-index:2;
  width:100%;
  color:#f3f6fa;
}
.parallax-content .muted{ color:#d7deea; }

/* Hero crop preference */
.hero .parallax-bg img{ object-position:center 10%; }

/* Hero safety override */
.hero.parallax-section .parallax-bg{ position:absolute; inset:0; z-index:0; }
.hero.parallax-section .parallax-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 10%;
  display:block;
}
.hero.parallax-section .parallax-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
}
.hero.parallax-section .parallax-content{ position:relative; z-index:2; }

.hero-inner{
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
  align-items:center;
}

/* About and Mission hero styling */
#about .parallax-overlay,
#mission .parallax-overlay{
  background:linear-gradient(180deg,rgba(8,15,30,.78),rgba(8,15,30,.68));
}
#about .parallax-content,
#mission .parallax-content{
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
#about .parallax-content .lead,
#about .parallax-content p,
#mission .parallax-content .lead,
#mission .parallax-content p{
  max-width:none;
  width:100%;
  line-height:1.75;
  font-size:18px;
}
#about h2,
#mission h2{ font-size:36px; }

#about.parallax-section,
#mission.parallax-section{ min-height:560px; }

#about .parallax-content .container,
#mission .parallax-content .container{
  padding-top:100px;
  padding-bottom:100px;
}
#about .parallax-content .container > *:first-child,
#mission .parallax-content .container > *:first-child{ margin-top:0; }
#about .parallax-content .container > *:last-child,
#mission .parallax-content .container > *:last-child{ margin-bottom:0; }


/* =========================
   8) Reveal animations
   ========================= */

.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s ease,transform .6s ease;
}
.reveal.in{ opacity:1; transform:none; }

.reveal-delay-1{ transition-delay:.08s; }
.reveal-delay-2{ transition-delay:.16s; }

.reveal-x{
  opacity:0;
  transform:translateX(-18px);
  transition:opacity .6s ease,transform .6s ease;
}
.reveal-x.in{ opacity:1; transform:none; }


/* =========================
   9) Modal
   ========================= */

.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(8,15,30,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:80;
}
.modal{
  background:#fff;
  color:var(--text);
  width:min(820px,94vw);
  border-radius:22px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  border:1px solid rgba(15,23,42,.08);
  max-height:90vh;
  overflow:auto;
}
.modal header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.08);
  position:sticky;
  top:0;
  background:#fff;
  border-radius:22px 22px 0 0;
}
.modal h3{ margin:0; font-size:22px; font-weight:800; }
.modal .content{ padding:18px; }
.modal .grid-ops{ display:grid; grid-template-columns:1fr; gap:10px; }

.chip{
  display:block;
  background:var(--brand-50);
  border:1px solid var(--brand-200);
  padding:10px 12px;
  border-radius:12px;
  font-weight:600;
}

.close{
  appearance:none;
  border:0;
  background:transparent;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  border-radius:10px;
  padding:4px 8px;
}
.close:hover{ background:#f3f6fa; }


/* =========================
   10) Journal contact CTA
   ========================= */

.journal-contact-cta{
  margin-top:24px;
  margin-bottom:24px;
  text-align:center;
}

.contact-callout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--brand-600);
  background:var(--brand-50);
  border:1px solid rgba(15, 23, 42, .08);
  box-shadow:var(--shadow);
  text-decoration:none;
}
.contact-callout:hover{ transform:translateY(-1px); }

@media (max-width:480px){
  .contact-callout{ width:100%; max-width:360px; }
}


/* =========================
   11) Contact layout tweaks
   ========================= */

@media (max-width:820px){
  #contact .grid{ grid-template-columns:1fr !important; }
  #contact form{ width:100%; }
  #contact .card{ width:100%; }
}


/* =========================
   12) Doctors list (homepage simple cards)
   ========================= */

.doctor-card{ display:block; }
.doctor-card-inner{ display:flex; gap:14px; align-items:center; }
.doctor-photo{
  width:72px;
  height:72px;
  border-radius:16px;
  object-fit:cover;
  flex:0 0 72px;
  border:1px solid rgba(15,23,42,.08);
}
.doctor-cta{
  margin-top:10px;
  font-size:14px;
  font-weight:700;
  color:var(--brand-600);
}
.doctor-cta:hover{ text-decoration:underline; }

@media (max-width:480px){
  .doctor-card-inner{ align-items:flex-start; }
  .doctor-photo{ width:64px; height:64px; flex:0 0 64px; }
}


/* =========================
   13) Treatment Areas (older block)
   ========================= */

.ta-top-icons{
  display:flex;
  justify-content:center;
  gap:28px;
  margin-bottom:16px;
}

.ta-icon{
  width:92px;
  height:92px;
  border-radius:999px;
  display:grid;
  place-items:center;
  border:2px solid currentColor;
  background:transparent;
}

.ta-icon svg{ width:44px; height:44px; }

.ta-icon-1{ color:#138a94; }
.ta-icon-2{ color:#2b7bbb; }
.ta-icon-3{ color:#0ea5a5; }

.ta-title{ text-align:center; margin-top:0; }

.ta-subtitle{
  text-align:center;
  max-width:70ch;
  margin:10px auto 0;
  color:var(--muted);
}

.ta-grid{
  margin-top:36px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:34px 48px;
}

.ta-col h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:800;
  color:#0b3b5a;
}

.ta-col ul{ margin:0; padding-left:18px; }

.ta-col li{ margin:7px 0; color:#0f5b7a; }

.ta-col a{
  text-decoration:underline;
  text-underline-offset:3px;
}

.ta-actions{
  margin-top:34px;
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.ta-btn-outline{
  background:#fff;
  color:var(--brand-700);
  border:2px solid var(--brand-700);
  box-shadow:none;
}

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

@media (max-width:560px){
  .ta-top-icons{ gap:16px; }
  .ta-icon{ width:76px; height:76px; }
  .ta-icon svg{ width:38px; height:38px; }
  .ta-grid{ grid-template-columns:1fr; }
}


/* =========================
   14) Treatments (legacy cards)
   ========================= */

.treatments{
  background: linear-gradient(180deg, var(--surface), #ffffff);
}

.treatments-head{
  text-align:center;
  margin-bottom:26px;
}

.treatments-icons{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-bottom:14px;
}

/* Explicitly hidden in current build */
.treatments-icons{ display:none; }

.treatments-icon{
  width:74px;
  height:74px;
  border-radius:999px;
  display:grid;
  place-items:center;
  border:2px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow);
}
.treatments-icon svg{
  width:34px;
  height:34px;
  color: var(--brand-600);
}

.ti-a{ border-color: rgba(19,138,148,.30); }
.ti-b{ border-color: rgba(78,153,214,.28); }
.ti-c{ border-color: rgba(142,84,255,.22); }

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

@media (max-width:980px){
  .treatments-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width:640px){
  .treatments-grid{ grid-template-columns: 1fr; }
  .treatments-head{ text-align:left; }
  .treatments-icons{ justify-content:flex-start; }
}

.treat-card{
  display:block;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.treat-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.treat-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.treat-top h3{ margin:0; }
.treat-top p{ margin:6px 0 0; }

.treat-badge{
  width:56px;
  height:56px;
  border-radius:16px;
  display:grid;
  place-items:center;
  flex:0 0 56px;
  border:1px solid rgba(15,23,42,.10);
}

.treat-badge svg{
  width:26px;
  height:26px;
  color:#0b1324;
  opacity:.92;
}

.tb-urology{
  background: linear-gradient(180deg, rgba(19,138,148,.16), rgba(19,138,148,.06));
  border-color: rgba(19,138,148,.22);
}
.tb-dental{
  background: linear-gradient(180deg, rgba(78,153,214,.16), rgba(78,153,214,.06));
  border-color: rgba(78,153,214,.22);
}
.tb-hair{
  background: linear-gradient(180deg, rgba(242,153,74,.18), rgba(242,153,74,.06));
  border-color: rgba(242,153,74,.22);
}
.tb-wellness{
  background: linear-gradient(180deg, rgba(142,84,255,.14), rgba(142,84,255,.06));
  border-color: rgba(142,84,255,.20);
}
.tb-coming{
  background: linear-gradient(180deg, rgba(15,122,132,.10), rgba(15,122,132,.04));
  border-color: rgba(15,122,132,.18);
}

.treat-list{
  margin:14px 0 10px;
  padding-left:18px;
  color:var(--muted);
}
.treat-list li{ margin:6px 0; }

.treat-cta{
  font-weight:800;
  color:var(--brand-600);
  margin-top:8px;
}

.treat-coming{
  background: linear-gradient(180deg, #ffffff, var(--brand-50));
}
.treat-note{ margin:12px 0 14px; color:var(--muted); }


/* =========================
   15) Treatments redesign (accordion cards)
   ========================= */

.treatments.treatments-redesign{ padding:72px 0; }

.treatments.treatments-redesign .treatments-head h2{
  margin:0;
  text-align:center;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing:-0.02em;
}

.treatments.treatments-redesign .treatments-head .kicker{
  margin:14px auto 0;
  max-width:78ch;
  text-align:center;
  opacity:0.85;
  font-size:16px;
  line-height:1.7;
}

.treatments.treatments-redesign .treatments-grid{
  margin-top:32px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
}

.treatments.treatments-redesign .treat-card{
  width:min(360px, 100%);
  flex:0 0 360px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius:18px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.07);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.treatments.treatments-redesign .treat-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.09);
}

/* Badge hidden in redesign */
.treatments.treatments-redesign .treat-badge{ display:none; }

/* Header row is icon slot + title */
.treatments.treatments-redesign .treat-top{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:12px;
  align-items:start;
}

.treatments.treatments-redesign .treat-top > div{ min-width:0; }

.treatments.treatments-redesign .treat-top h3{
  margin:0;
  font-size:18px;
  letter-spacing:-0.01em;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.treatments.treatments-redesign .treat-card.treat-wide .treat-top h3{ font-size:16px; }

.treatments.treatments-redesign .treat-icon-slot{
  width:54px;
  height:54px;
  border-radius:14px;
  border: 1px solid rgba(0,0,0,0.06);
  display:grid;
  place-items:center;
  background:#fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.treatments.treatments-redesign .treat-icon{
  width:30px;
  height:30px;
  object-fit:contain;
  display:block;
}

.treatments.treatments-redesign .treat-accordion{ display:grid; gap:10px; }

.treatments.treatments-redesign .treat-drop{
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.78);
  border-radius:14px;
  padding:0;
  overflow:hidden;
}

.treatments.treatments-redesign .treat-drop-title{
  list-style:none;
  padding:12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  font-weight:600;
  position:relative;
  padding-right:44px;
}
.treatments.treatments-redesign .treat-drop-title::-webkit-details-marker{ display:none; }

/* Premium chevron */
.treatments.treatments-redesign .treat-drop-title::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:9px;
  height:9px;
  border-right:2px solid rgba(11,19,36,.55);
  border-bottom:2px solid rgba(11,19,36,.55);
  transform: translateY(-55%) rotate(45deg);
  transition: transform 180ms ease, opacity 180ms ease;
  opacity:.9;
}
.treatments.treatments-redesign details[open] > .treat-drop-title::after{
  transform: translateY(-45%) rotate(-135deg);
}

.treatments.treatments-redesign .treat-drop-icon{ opacity:0.6; transition: transform 160ms ease; }
.treatments.treatments-redesign details[open] .treat-drop-icon{ transform: rotate(180deg); }

.treat-drop-body{ padding:10px 0 2px; }
.treat-drop-body p{
  margin:0;
  color: rgba(0,0,0,0.72);
  line-height:1.55;
}

.treatments.treatments-redesign .treat-list{
  margin:0;
  padding:0 12px 12px 30px;
  opacity:0.88;
  line-height:1.6;
  font-size:14px;
}
.treatments.treatments-redesign .treat-list a{ text-decoration:none; color:inherit; }
.treatments.treatments-redesign .treat-list a:hover{ text-decoration:underline; }

.treatments.treatments-redesign .tb-prostate{ background: rgba(19,138,148,0.10); }
.treatments.treatments-redesign .tb-bladder{ background: rgba(79,140,255,0.10); }
.treatments.treatments-redesign .tb-renal{ background: rgba(255,167,92,0.12); }
.treatments.treatments-redesign .tb-testicular{ background: rgba(84,197,147,0.12); }
.treatments.treatments-redesign .tb-reconstructive{ background: rgba(90,99,120,0.10); }

.treatments.treatments-redesign .treatments-grid > .treat-card:last-child{ flex-basis:420px; }

@media (max-width:980px){
  .treatments.treatments-redesign .treat-card{ width:min(420px, 100%); }
}

@media (max-width:560px){
  .treatments.treatments-redesign{ padding:54px 0; }
  .treatments.treatments-redesign .treat-top{ grid-template-columns:52px 1fr; }
  .treatments.treatments-redesign .treat-icon-slot{ width:52px; height:52px; }
  .treatments.treatments-redesign .treat-top h3{ font-size:16px; line-height:1.2; }

  .treatments.treatments-redesign .treat-card,
  .treatments.treatments-redesign .treatments-grid > .treat-card:last-child{
    flex-basis:100%;
  }
}

/* Only the last wide card */
.treatments.treatments-redesign .treat-card.treat-wide{
  width:min(760px, 100%);
  margin-left:auto;
  margin-right:auto;
}
.treatments.treatments-redesign .treat-card.treat-wide .treat-top{
  grid-template-columns:54px 1fr;
  align-items:center;
}
.treatments.treatments-redesign .treat-card.treat-wide .treat-accordion{ max-width:520px; }


/* =========================
   16) Doctor pages (Zurich hero and Baniel hero)
   ========================= */

.doctor-backlink{ display:inline-block; margin-bottom:14px; }

.doctor-hero-zurich{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius:18px;
  background: rgba(255,255,255,0.75);
  padding:26px;
}

.doctor-hero-grid{
  display:grid;
  grid-template-columns:1.25fr 0.75fr;
  gap:22px;
  align-items:start;
}

.doctor-eyebrow{ margin:0 0 10px 0; }
.doctor-name{ margin:0; letter-spacing:-0.02em; }
.doctor-title{ margin:8px 0 0 0; font-weight:650; }
.doctor-lead{ margin:14px 0 0 0; max-width:70ch; }

.doctor-hero-meta{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 16px;
}
.meta-item{ display:grid; gap:2px; }
.meta-item strong{ font-weight:650; }

.doctor-cta-row{ margin-top:16px; display:flex; gap:10px; flex-wrap:wrap; }

.doctor-subnav{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(0,0,0,0.06);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.doctor-subnav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(0,0,0,0.035);
}
.doctor-subnav a:hover{ background: rgba(0,0,0,0.06); }

.doctor-cred-card{
  border-radius:16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  padding:16px;
}
.cred-topline{ display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.cred-dot{ width:10px; height:10px; border-radius:999px; background: rgba(19,138,148,0.75); }
.cred-list{ margin:10px 0 0 18px; }
.cred-links{ margin-top:12px; }
.text-link{ text-decoration:underline; }
.cred-fineprint{ margin-top:12px; }

.doctor-block{
  margin-top:14px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius:18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.75);
}
.doctor-h2{ margin-top:0; letter-spacing:-0.01em; }
.doctor-list{ margin-top:10px; }
.inline-cta{ margin-top:14px; }

.logo-row{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.logo-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
}
.logo-chip img{ height:28px; width:auto; display:block; }

.doctor-final-cta{ margin-top:14px; }
.doctor-final-cta-inner{
  padding: clamp(18px, 2.2vw, 24px);
  border-radius:18px;
  border: 1px solid rgba(19, 138, 148, 0.18);
  background: rgba(19, 138, 148, 0.06);
}

/* Baniel hero layout (final version) */
.doctor-baniel .doctor-wide{
  max-width:1240px;
  padding-left:14px;
  padding-right:14px;
}
.doctor-wide{ overflow-x:hidden; }

.doctor-hero{
  border-radius:22px;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  padding: clamp(18px, 2.4vw, 28px);
}

.doctor-hero-inner{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(14px, 2.2vw, 26px);
  align-items:start;
}

.doctor-kicker{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.doctor-kicker-line{ width:34px; height:2px; background: rgba(19, 138, 148, 0.65); border-radius:2px; }

.doctor-id{
  display:grid;
  grid-template-columns:104px 1fr;
  gap:16px;
  align-items:center;
}

.doctor-photo{
  width:104px;
  height:104px;
  border-radius:18px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(19, 138, 148, 0.06);
}
.doctor-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.doctor-name{
  margin:0;
  letter-spacing:-0.02em;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height:1.05;
}

.doctor-title{
  margin:10px 0 0 0;
  font-weight:650;
  font-size: clamp(16px, 1.4vw, 18px);
}

.doctor-lead{ margin:16px 0 0 0; max-width:72ch; }

.doctor-hero-actions{ margin-top:16px; display:flex; gap:10px; flex-wrap:wrap; }

.doctor-hero-facts{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 16px;
  padding-top:18px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.fact{ display:grid; gap:2px; }
.fact strong{ font-weight:650; }

/* Rail */
.doctor-rail{ position:sticky; top:16px; min-width:0; width:100%; }

.rail-card{
  border-radius:18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  padding:16px;
}

.rail-header{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.rail-dot{ width:10px; height:10px; border-radius:999px; background: rgba(19, 138, 148, 0.75); }

.rail-list{ margin:10px 0 0 0; }
.rail-linkrow{ margin-top:12px; }
.rail-note{ margin-top:12px; }

.rail-logos{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}
.rail-logos .logo-chip{ padding:12px 14px; }

/* Typography width control in doctor content */
.doctor-block-main{ min-width:0; }
.doctor-block-main p,
.doctor-block-main li{ max-width:70ch; }
.doctor-block-main h2{
  font-size:22px;
  line-height:1.2;
  margin-bottom:10px;
}

.doctor-divider{
  height:1px;
  background: rgba(0,0,0,0.06);
  margin:18px 0;
}

/* Procedure pages using doctor layout */
.procedure-hero-inner,
.doctor-hero-inner{
  grid-template-columns: minmax(0, 1fr) 380px;
}
.procedure-hero-main,
.doctor-hero-main{ min-width:0; }
.procedure-rail,
.doctor-rail{ min-width:0; width:100%; }

/* Subnav horizontal scroller */
.doctor-subnav{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
  padding-bottom:6px;
  scrollbar-width:none;
}
.doctor-subnav::-webkit-scrollbar{ display:none; }
.doctor-subnav a{ flex:0 0 auto; white-space:nowrap; }

@media (max-width:520px){
  .doctor-id{ grid-template-columns:84px 1fr; }
  .doctor-photo{ width:84px; height:84px; border-radius:16px; }
  .doctor-subnav{ gap:8px; }
  .doctor-subnav a{ padding:8px 10px; font-size:14px; }
}

@media (max-width:980px){
  .doctor-hero-inner,
  .procedure-hero-inner{
    grid-template-columns:1fr;
  }
  .doctor-hero-facts{ grid-template-columns:1fr; }
  .doctor-rail,
  .procedure-rail{
    position:static;
    top:auto;
  }
}


/* =========================
   17) Doctors list page cards (bigger card style)
   ========================= */

.card.doctor-card-inner{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:22px 24px;
}

.card.doctor-card-inner .doctor-photo{
  width:96px;
  height:96px;
  flex:0 0 96px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid rgba(15,23,42,.08);
}

.card.doctor-card-inner .doctor-info{ min-width:0; padding-top:4px; }
.card.doctor-card-inner .doctor-name{ margin:0; font-size:34px; line-height:1.05; }
.card.doctor-card-inner .doctor-meta{ margin:6px 0 0; }
.card.doctor-card-inner .doctor-cta{
  margin:10px 0 0;
  color:var(--brand-600);
  font-weight:700;
}

@media (max-width:480px){
  .card.doctor-card-inner{ align-items:flex-start; }
  .card.doctor-card-inner .doctor-photo{
    width:72px;
    height:72px;
    flex:0 0 72px;
  }
}


/* =========================
   18) About page blocks
   ========================= */

.page-hero{ padding:64px 0 28px; }

.page-title{
  margin:0;
  font-size: clamp(34px, 4vw, 48px);
  line-height:1.1;
  letter-spacing:-0.02em;
}

.page-subtitle{
  margin:14px 0 0;
  max-width:66ch;
  opacity:0.88;
  font-size:18px;
  line-height:1.6;
}

.section-soft{ background: rgba(19, 138, 148, 0.06); }

.section-title{
  margin:0 0 18px;
  font-size:22px;
  letter-spacing:-0.01em;
}

.mv-text{
  margin:0;
  max-width:78ch;
  font-size:16px;
  line-height:1.8;
  opacity:0.92;
}

.team-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:16px;
  align-items:stretch;
}

.team-card{
  padding:18px 16px 16px;
  border-radius:18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  display:flex;
  flex-direction:column;
  gap:10px;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}
.team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.team-avatar{
  width:92px;
  height:92px;
  border-radius:999px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(19, 138, 148, 0.08);
}
.team-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.team-head{ display:grid; gap:4px; margin-top:6px; }

.team-name{ margin:0; font-size:18px; letter-spacing:-0.01em; }
.team-role{ margin:0; font-size:13px; line-height:1.4; opacity:0.78; }

.team-meta{ margin:0; font-size:14px; line-height:1.5; opacity:0.88; }

.team-label{
  display:block;
  font-size:12px;
  letter-spacing:0.02em;
  text-transform:uppercase;
  opacity:0.7;
  margin-bottom:2px;
}

.team-link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#138a94;
  font-weight:600;
  text-decoration:none;
  padding-top:10px;
}
.team-link:hover{ text-decoration:underline; }


/* =========================
   19) Social links
   ========================= */

.social-links{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:14px;
  margin-top:10px;
}

.social-link{
  width:50px;
  height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  border:none;
  border-radius:0;
  text-decoration:none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-link img{
  width:45px;
  height:45px;
  display:block;
  object-fit:contain;
}

.social-link:hover{
  transform: translateY(-2px);
  opacity:0.85;
}


/* =========================
   20) Partners
   ========================= */

.partners-wrap{ padding:56px 0; }
.partners-head{ max-width:720px; margin:0 0 18px; }
.partners-title{ margin:0 0 8px; }
.partners-title em{ font-style:italic; opacity:0.9; }
.partners-sub{ margin:0; opacity:0.78; }

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

.partner-card{
  border-radius:18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  overflow:hidden;
}

.partner-card-link{ display:block; color:inherit; text-decoration:none; }
.partner-card-link:focus-visible{
  outline:2px solid rgba(19,138,148,0.35);
  outline-offset:3px;
  border-radius:16px;
}

.partner-media{
  aspect-ratio:16 / 9;
  background: rgba(0,0,0,0.03);
  overflow:hidden;
}
.partner-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.01);
}

.partner-body{ padding:16px 16px 18px; }

.partner-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}

.partner-name{
  margin:0;
  font-size:18px;
  font-weight:750;
  line-height:1.15;
}

.partner-chip{
  flex:0 0 auto;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border: 1px solid rgba(19,138,148,0.22);
  background: rgba(19,138,148,0.10);
  white-space:nowrap;
}

.partner-meta{ margin:8px 0 0; font-size:13px; opacity:0.75; }
.partner-desc{ margin:10px 0 0; opacity:0.85; }

.partner-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.72);
  opacity:0.9;
}

.partner-cta{ display:inline-block; margin-top:14px; font-size:13px; opacity:0.75; }
.partner-card-link:hover .partner-cta{ opacity:1; }

.partners-foot{ margin-top:18px; display:flex; justify-content:flex-end; }

.partners-page-hero{ max-width:760px; margin-bottom:18px; }
.partners-grid-all{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width:980px){
  .partners-grid{ grid-template-columns:1fr; }
  .partners-foot{ justify-content:flex-start; }
  .partners-grid-all{ grid-template-columns:1fr; }
}


/* =========================
   21) Doctors homepage grid cards (image not cropped)
   ========================= */

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

.docs-home .doc-card{
  border-radius:22px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  overflow:hidden;
}

.docs-home .doc-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
}

.docs-home .doc-card-link:hover .doc-photo img{ transform: scale(1.02); }

.docs-home .doc-photo{
  background: rgba(0,0,0,0.03);
  padding:12px 12px 0;
}

.docs-home .doc-photo img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.docs-home .doc-body{ padding:14px 14px 16px; }

.docs-home .doc-name{
  margin:0;
  font-size:18px;
  font-weight:780;
  letter-spacing:-0.01em;
  line-height:1.15;
}

.docs-home .doc-role{ margin:8px 0 0; font-size:13px; opacity:0.72; }

.docs-home .doc-meta{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  font-size:12px;
  opacity:0.78;
}

.docs-home .doc-meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.docs-home .doc-pin{
  width:10px;
  height:10px;
  border-radius:999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(19,138,148,0.12);
}

.docs-home .doc-dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(0,0,0,0.22);
}

.docs-home .doc-more{
  margin-top:12px;
  font-size:13px;
  font-weight:650;
  color:#138a94;
}

.docs-home .docs-foot{
  display:flex;
  justify-content:flex-end;
}

@media (max-width:1100px){
  .docs-home .docs-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-home .docs-foot{ justify-content:flex-start; }
}

@media (max-width:560px){
  .docs-home .docs-grid{ grid-template-columns:1fr; }
}


/* =========================
   22) Patient Journey (homepage strip)
   ========================= */

.pjh-wrap{
  padding:56px 0 26px;
  background: rgba(19,138,148,0.05);
}

.pjh-head{ text-align:center; margin-bottom:26px; }

.pjh-title{
  margin:0;
  font-size:40px;
  letter-spacing:-0.02em;
  color: var(--pj-ink);
}
.pjh-title em{ font-style:italic; font-weight:500; color: rgba(12,27,42,0.75); }

.pjh-sub{ margin:10px auto 0; max-width:560px; color: var(--pj-muted); }

.pjh-strip{
  position:relative;
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:14px;
  align-items:start;
  padding:22px 6px 6px;
  color: var(--brand-teal);
}

.pjh-line{
  position:absolute;
  left:2%;
  right:2%;
  top:78px;
  height:2px;
  background: var(--pj-line);
  border-radius:999px;
}

.pjh-step{
  position:relative;
  text-decoration:none;
  color:inherit;
  display:grid;
  justify-items:center;
  padding:8px 8px 12px;
  border-radius:18px;
  color: var(--brand-teal);
}
.pjh-step:hover{ background: rgba(255,255,255,0.55); }

.pjh-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(12,27,42,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 24px rgba(12,27,42,0.06);
}
.pjh-icon img{ width:30px; height:30px; display:block; }
.pjh-icon svg{ display:block; width:40px; height:40px; }

.pjh-dot{
  margin-top:10px;
  width:34px;
  height:34px;
  border-radius:999px;
  background: rgba(19,138,148,0.18);
  border: 1px solid rgba(19,138,148,0.30);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:2;
}
.pjh-dot span{
  font-size:12px;
  font-weight:700;
  color: rgba(12,27,42,0.80);
}

.pjh-text{ text-align:center; margin-top:10px; }
.pjh-name{ font-weight:700; color: var(--pj-ink); font-size:14px; }
.pjh-desc{ margin-top:4px; color: var(--pj-muted); font-size:13px; }

@media (max-width:980px){
  .pjh-strip{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap:18px;
    padding-top:10px;
    color: var(--brand-teal);
  }
  .pjh-line{ display:none; }
}


/* =========================
   23) Patient Journey page (two versions kept)
   ========================= */

/* Version A */
.pj-page{ background: rgba(12,27,42,0.02); max-width:1100px; }
.pj-hero{
  padding:54px 0 24px;
  background: radial-gradient(1200px 420px at 50% -40px, rgba(19,138,148,0.12), transparent 60%);
  text-align:center;
}
.pj-h1{
  margin:0;
  font-size:52px;
  letter-spacing:-0.03em;
  color: var(--pj-ink);
}
.pj-lead{
  margin:12px auto 0;
  max-width:720px;
  color: var(--pj-muted);
  font-size:16px;
  opacity:0.75;
}
.pj-cta{ margin-top:18px; }

.pj-body{ padding:26px 0 64px; }

.pj-grid{
  display:grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap:20px;
  align-items:start;
}

.pj-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(12,27,42,0.10);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
  overflow:hidden;
  margin-bottom:16px;
}

.pj-card-head{
  width:100%;
  background:transparent;
  border:0;
  padding:18px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  cursor:pointer;
  text-align:left;
}

.pj-num{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(12,27,42,0.04);
  border: 1px solid rgba(12,27,42,0.10);
  font-weight:800;
  color: rgba(12,27,42,0.72);
}

.pj-title{ font-weight:800; color: var(--pj-ink); font-size:18px; }
.pj-subtitle{ margin-top:4px; color: var(--pj-muted); font-size:14px; }

.pj-chevron{
  margin-left:auto;
  width:18px;
  height:18px;
  border-right:2px solid rgba(12,27,42,0.45);
  border-bottom:2px solid rgba(12,27,42,0.45);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.pj-card-head[aria-expanded="true"] .pj-chevron{ transform: rotate(-135deg); }

.pj-card-body{
  padding:0 18px 18px;
  color: rgba(12,27,42,0.76);
  display:none;
}
.pj-card-body p{ margin:12px 0; }
.pj-card-body ul{ margin:10px 0 0 18px; }
.pj-note{ color: rgba(12,27,42,0.62); font-size:13px; }

.pj-body-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap:14px;
  align-items:start;
}

.pj-sidebox{
  border: 1px solid rgba(12,27,42,0.10);
  background: rgba(255,255,255,0.6);
  border-radius:16px;
  padding:14px;
}
.pj-sidebox-title{ font-weight:800; margin-bottom:8px; color: var(--pj-ink); }
.pj-badges{ margin:0 0 0 18px; color: rgba(12,27,42,0.74); }

.pj-actions{ margin-top:10px; display:flex; justify-content:flex-end; }
.pj-link{ text-decoration:none; color: rgba(12,27,42,0.70); font-weight:700; }
.pj-link:hover{ text-decoration:underline; }

.pj-aside{ position:sticky; top:18px; }
.pj-aside-card{
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(12,27,42,0.10);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow);
  padding:18px;
}
.pj-aside-title{ margin:0 0 10px; font-weight:900; color: var(--pj-ink); }
.pj-aside-card p{ margin:0 0 10px; color: rgba(12,27,42,0.76); }
.pj-aside-card ul{ margin:0 0 14px 18px; color: rgba(12,27,42,0.74); }
.pj-aside-link{ font-weight:800; text-decoration:none; }
.pj-aside-link:hover{ text-decoration:underline; }

@media (max-width:980px){
  .pj-grid{ grid-template-columns:1fr; }
  .pj-aside{ position:static; }
  .pj-body-grid{ grid-template-columns:1fr; }
  .pj-h1{ font-size:40px; }
}

/* Version B timeline layout */
.pj-layout{ display:grid; grid-template-columns: 1.35fr 0.65fr; gap:28px; align-items:start; }
.pj-timeline{ position:relative; }
.pj-timeline::before{
  content:"";
  position:absolute;
  left:24px;
  top:18px;
  bottom:18px;
  width:2px;
  background: rgba(19, 138, 148, 0.18);
  border-radius:2px;
}

.pj-step{ position:relative; margin:0 0 14px; }
.pj-step::before{
  content:"";
  position:absolute;
  left:16px;
  top:22px;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#fff;
  border:2px solid rgba(19, 138, 148, 0.35);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pj-step-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 18px 18px 58px;
  border-radius:16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  cursor:pointer;
}

.pj-step-left{ display:flex; align-items:center; gap:14px; }
.pj-step-num{ font-size:30px; opacity:0.25; letter-spacing:0.02em; }
.pj-step-title{ font-size:18px; font-weight:650; }
.pj-step-sub{ font-size:14px; opacity:0.7; margin-top:3px; }
.pj-step-cta{ font-size:14px; opacity:0.65; white-space:nowrap; }

.pj-step-panel{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transform: translateY(-4px);
  transition: max-height 320ms ease, opacity 220ms ease, transform 220ms ease;
  margin-top:0;
  margin-left:58px;
  border-radius:16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.pj-step-panel.is-open{
  opacity:1;
  transform: translateY(0);
  margin-top:10px;
}

.pj-panel-inner{ padding:16px 16px 18px; }
.pj-panel-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:16px; }
.pj-panel-kicker{ margin:0 0 10px; opacity:0.85; }
.pj-bullets{ margin:0 0 10px; padding-left:18px; }
.pj-bullets li{ margin:6px 0; }
.pj-panel-note{ margin:0; opacity:0.7; }

.pj-mini-list{ list-style:none; padding:0; margin:0 0 10px; }
.pj-mini-list li{ display:flex; gap:10px; align-items:flex-start; margin:8px 0; opacity:0.85; }
.pj-mini-dot{
  width:18px;
  height:18px;
  border-radius:999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(19, 138, 148, 0.10);
  margin-top:2px;
  flex:0 0 auto;
}

.pj-side-card{
  position:sticky;
  top:110px;
  border-radius:18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  padding:18px;
}

.pj-side-title{ margin:0 0 10px; font-size:18px; }
.pj-side-title em{ font-style:italic; opacity:0.9; }
.pj-side-lead{ margin:0 0 12px; opacity:0.75; }
.pj-side-list{ margin:0 0 14px; padding-left:18px; }
.pj-side-list li{ margin:8px 0; }
.pj-side-cta{ margin-top:6px; }

.pj-step-head[aria-expanded="true"]{ border-color: rgba(19, 138, 148, 0.22); }
.pj-step:has(.pj-step-head[aria-expanded="true"])::before{
  background: rgba(19, 138, 148, 1);
  border-color: rgba(19, 138, 148, 1);
  box-shadow: 0 0 0 6px rgba(19, 138, 148, 0.14);
}

/* V2 cleanup to disable legacy visuals */
.pj-v2 .pj-timeline::before,
.pj-v2 .pj-timeline::after,
.pj-v2 .pj-step::before,
.pj-v2 .pj-step::after,
.pj-v2 .pj-step-head::before,
.pj-v2 .pj-step-head::after,
.pj-v2 .pj-step-left::before,
.pj-v2 .pj-step-left::after{
  content:none !important;
  display:none !important;
}

.pj-v2 .pj-dot,
.pj-v2 .pj-step-dot,
.pj-v2 .pj-timeline-dot{
  display:none !important;
}

.pj-step-icon{
  width:38px;
  height:38px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(19,138,148,0.10);
  border: 1px solid rgba(19,138,148,0.18);
  color: rgba(18, 64, 78, 0.9);
  flex:0 0 auto;
}

.pj-svg{ width:22px; height:22px; display:block; }

.pj-rail-dot{
  position:absolute;
  left:3px;
  top:0;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#138a94;
  box-shadow: 0 0 0 7px rgba(19,138,148,.14);
  display:grid;
  place-items:center;
}
.pj-rail-svg{ width:12px; height:12px; color:#fff; display:block; }

@media (max-width:980px){
  .pj-layout{ grid-template-columns:1fr; }
  .pj-side-card{ position:static; }
  .pj-panel-grid{ grid-template-columns:1fr; }
  .pj-h1{ font-size:38px; }
}


/* =========================
   24) Responsive breakpoints
   ========================= */

/* Header layout adjustments */
@media (max-width:820px){
  .topbar{ flex-wrap:wrap; }
  .topbar-right{ width:100%; }
  .search-input{ width:100%; }
  .nav-center{ justify-content:flex-start; }

  .nav{ flex-wrap:wrap; gap:12px; }
  .nav-links{ flex-wrap:wrap; justify-content:center; width:100%; row-gap:10px; }
  .wordmark{ font-size:18px; }

  h1{ font-size:38px; }
  h2{ font-size:28px; }

  /* Parallax motion off on mobile */
  .parallax-bg,
  .parallax-overlay{
    transform:none !important;
  }
  .parallax-bg img{ height:100%; }

  /* Safe area padding */
  .container{
    padding-left:max(16px, env(safe-area-inset-left));
    padding-right:max(16px, env(safe-area-inset-right));
  }

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

/* Small header polish for topbar + nav-center */
@media (max-width:560px){
  header .topbar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px 0;
  }

  header .topbar-right{ width:100%; gap:10px; }
  header .site-search{ width:100%; }

  header .search-input{
    width:100%;
    min-width:0;
  }

  header .topbar-right .btn{
    width:100%;
    justify-content:center;
  }

  header .nav-center{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:14px;
    padding:10px 0 12px;
    font-size:14px;
    white-space:nowrap;
  }

  header .nav-center a{
    display:inline-flex;
    align-items:center;
    padding:8px 10px;
    border-radius:999px;
    background: rgba(0,0,0,0.035);
  }

  header .nav-center a:active{ background: rgba(0,0,0,0.06); }

  header .nav-center::-webkit-scrollbar{ display:none; }
}

/* Extra small phones */
@media (max-width:480px){
  h1{ font-size:32px; }
  .btn{ width:100%; justify-content:center; }
  .nav-links{ gap:12px; font-size:14px; }

  footer .container > div:last-child{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}

@media (max-width:980px){
  #about.parallax-section,
  #mission.parallax-section{ min-height:520px; }

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

@media (max-width:640px){
  #about.parallax-section,
  #mission.parallax-section{ min-height:460px; }
}

@media (max-width:520px){
  .page-hero{ padding:44px 0 18px; }
  .section{ padding:40px 0; }
  .team-grid{ grid-template-columns:1fr; }
  .team-card{ padding:16px; }
}

#doctors .lead{
  max-width: 900px;
}

/* Doctors section intro card: restore padding */
#doctors .card{
  padding: 22px;
}

/* Contact spacing quick fix (homepage + /contact page) */
#contact.section{
  padding-top: 72px;
  padding-bottom: 84px;
}

#contact .grid{
  align-items: start;
  gap: 22px;
}

/* Ensure cards in contact have balanced inner padding */
#contact .card{
  padding: 22px;
}

#contact{
  margin-bottom: 10px;
}

/* Contact page spacing fix */
.page-contact .section{
  padding-top: 72px;
  padding-bottom: 84px;
}

.page-contact .grid{
  align-items: start;
  gap: 22px;
}

.page-contact .card{
  padding: 22px;
}

/* Doctors section – premium cards (Aversi-inspired) */
.docs-home .docs-head{
  max-width: 900px;
}

.docs-home .docs-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* If only 1 doctor, keep it nice and not too skinny */
.docs-home .docs-grid > .doc-card{
  max-width: 340px;
}

.docs-home .doc-card{
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.docs-home .doc-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

.docs-home .doc-card-link{
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Full width image block like reference */
.docs-home .doc-photo{
  aspect-ratio: 4 / 3;
  background: rgba(0,0,0,0.03);
  overflow: hidden;
}

.docs-home .doc-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 200ms ease;
}

.docs-home .doc-card-link:hover .doc-photo img{
  transform: scale(1.03);
}

.docs-home .doc-body{
  padding: 16px 16px 18px;
}

.docs-home .doc-name{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.docs-home .doc-role{
  margin: 8px 0 0;
  font-size: 13px;
  opacity: 0.72;
}

.docs-home .doc-meta{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  opacity: 0.78;
}

.docs-home .doc-meta-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.docs-home .doc-pin{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(19,138,148,0.12);
}

.docs-home .doc-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
}

.docs-home .doc-more{
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600);
}

.docs-home .docs-foot{
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1100px){
  .docs-home .docs-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-home .docs-grid > .doc-card{
    max-width: none;
  }
  .docs-home .docs-foot{
    justify-content: flex-start;
  }
}

@media (max-width: 560px){
  .docs-home .docs-grid{
    grid-template-columns: 1fr;
  }
}

/* Doctors homepage: force bigger card and stable layout */
.docs-home .docs-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  justify-items: start;
}

/* Make the single card actually large */
.docs-home .doc-card{
  width: min(460px, 100%);
}

/* Make the image area taller (more like your reference) */
.docs-home .doc-photo{
  aspect-ratio: 4 / 5;
}

/* Keep full width but crop in a nicer way */
.docs-home .doc-photo img{
  object-position: center top;
}

/* Doctors card: merge photo into the card (no sharp inner edges) */
.docs-home .doc-card{
  overflow: hidden; /* ensures the image respects card rounding */
}

.docs-home .doc-photo{
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.docs-home .doc-photo img{
  border-radius: 0 !important;
  width: 100%;
  height: 100%;
  display: block;
}

/* Optional: make the top corners match card rounding */
.docs-home .doc-photo{
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  overflow: hidden;
}

/* Treatments: spread cards across full width */
.treatments.treatments-redesign .treatments-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  justify-content: stretch;
  align-items: stretch;
}

/* Let cards fill their grid cell */
.treatments.treatments-redesign .treat-card{
  width: 100% !important;
  flex: unset !important;
}

/* Make the last wide card span full row */
.treatments.treatments-redesign .treat-card.treat-wide{
  grid-column: 1 / -1;
  width: 100% !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 980px){
  .treatments.treatments-redesign .treatments-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .treatments.treatments-redesign .treat-card.treat-wide{
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px){
  .treatments.treatments-redesign .treatments-grid{
    grid-template-columns: 1fr;
  }
  .treatments.treatments-redesign .treat-card.treat-wide{
    grid-column: auto;
  }
}

/* Treatments group title */
.treatments-group-title{
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(11,19,36,0.92);
}

/* Treatments: balanced layout for current number of cards */
.treatments.treatments-redesign .treatments-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

/* Wide card spans both columns */
.treatments.treatments-redesign .treat-card.treat-wide{
  grid-column: 1 / -1 !important;
}

/* Mobile */
@media (max-width: 560px){
  .treatments.treatments-redesign .treatments-grid{
    grid-template-columns: 1fr !important;
  }
  .treatments.treatments-redesign .treat-card.treat-wide{
    grid-column: auto !important;
  }
}

/* Partners cards: show full image (no crop) but keep consistent size */
.partner-media{
  aspect-ratio: auto !important;   /* stop forced cropping box if any */
  height: 180px;                  /* pick a consistent media height */
  background: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-media img{
  width: 100%;
  height: 100%;
  object-fit: contain !important; /* key: no crop */
  object-position: center;
  transform: none !important;
}

/* Doctors section: mobile should use full width card */
@media (max-width: 560px){
  .docs-home .docs-grid{
    justify-items: stretch !important;
  }

  .docs-home .docs-grid > .doc-card{
    max-width: none !important;
    width: 100% !important;
  }

  .docs-home .doc-photo{
    aspect-ratio: 4 / 3 !important; /* looks more natural on mobile */
  }

  .docs-home .docs-foot .btn{
    width: 100%;
    justify-content: center;
  }
}

/* Doctors section: force correct mobile layout */
@media (max-width: 560px){
  .docs-home .docs-grid{
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
  }

  .docs-home .doc-card{
    width: 100% !important;
    max-width: none !important;
  }

  .docs-home .doc-photo{
    aspect-ratio: 4 / 3 !important;
  }

  .docs-home .docs-foot .btn{
    width: 100%;
    justify-content: center;
  }
}

.contact-grid{
  grid-template-columns: 1.3fr .7fr;
  align-items: start;
}

@media (max-width: 820px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .contact-grid .btn{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 820px){
  .contact-grid{ gap: 16px; }
  .contact-grid .card{ padding: 16px; }
  .contact-grid h3{ font-size: 18px; }
}

/* Submit application */
.sa-head { max-width: 760px; }
.sa-title { margin: 0; }
.sa-sub { margin: 10px 0 0; opacity: 0.78; }

.sa-card { margin-top: 16px; }
.sa-card-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.sa-lead { margin: 0 0 12px; font-weight: 600; }
.sa-points { margin: 0; padding-left: 18px; opacity: 0.82; }
.sa-points li { margin: 8px 0; }

.sa-actions{ display: grid; gap: 10px; align-content: start; }
.sa-btn{
  display: block;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.sa-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
  border-color: rgba(19,138,148,0.22);
}
.sa-btn-primary{
  border-color: rgba(19,138,148,0.26);
  background: rgba(19,138,148,0.08);
}
.sa-btn-sub{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.72;
}

.sa-note{
  margin-top: 4px;
  font-size: 14px;
  opacity: 0.78;
}

/* Mobile */
@media (max-width: 980px){
  .sa-card-inner{ grid-template-columns: 1fr; }
}

/* =========================================================
   Global typography alignment
   Make ALL titles + subtitles left aligned across the site
   ========================================================= */

/* Main headings */
h1, h2, h3, h4, h5, h6 {
  text-align: left !important;
}

/* Common subtitle patterns used across the site */
p.mutetext,
.mutetext,
.eyebrow,
.doctor-title,
.doctor-lead,
.pjh-sub,
.pj-lead,
.pj-step-sub,
.pj-panel-kicker,
.pj-panel-note,
.pj-side-lead,
.lead,
.sub,
.subtitle {
  text-align: left !important;
}

/* If you have centered section headers wrapped in a header block, force the wrapper too */
.pjh-head,
.pj-hero,
.section-head,
.section-header,
.hero,
.hero-copy {
  text-align: left !important;
}

/* Safety: if any of these elements were centered via auto margins, remove centering */
.pjh-title,
.pjh-sub,
.pj-h1,
.pj-lead {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Treatments: force the subtitle under the H2 to the left */
#treatments .pjh-sub,
#treatments .sub,
#treatments .subtitle,
#treatments p.mutetext,
#treatments .mutetext,
#treatments .section-sub,
#treatments .section-lead,
#treatments .treatments-sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Fallback: if the subtitle is simply the first <p> after the <h2> */
#treatments h2 + p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}




