/* ============================================
   RCube Medical Tourism — Design System
   Navy + Gold, editorial serif headings
   ============================================ */

:root {
  --navy-950: #08101f;
  --navy-900: #0b1c33;
  --navy-800: #12253f;
  --navy-700: #1b3355;
  --navy-600: #2b4a75;
  --ink: #14233c;
  --muted: #5c6b81;
  --muted-light: #8a96a8;
  --gold: #c1893f;
  --gold-dark: #a4712f;
  --gold-light: #e3b673;
  --cream: #faf8f5;
  --paper: #f6f5f2;
  --line: #e6e3dc;
  --white: #ffffff;

  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow-soft: 0 12px 30px -14px rgba(11, 28, 51, 0.18);
  --shadow-card: 0 1px 2px rgba(11, 28, 51, 0.06), 0 10px 24px -12px rgba(11, 28, 51, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  display: inline-block;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #cdd7e6; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
}
.section--navy .section-head p { color: #a9b6c9; }

h2 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.accent { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline-dark { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); }
.btn-outline-navy { background: transparent; border-color: var(--navy-700); color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-outline-gold { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-950); }
.btn-whatsapp { background: #25a866; color: var(--white); }
.btn-whatsapp:hover { background: #1f8f56; }
.btn-block { width: 100%; justify-content: center; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1340px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-text { line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.28rem; display: block; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.6rem; letter-spacing: 0.12em; color: var(--gold-light); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: #cdd7e6;
  font-size: 0.88rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--white); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang-switch { color: #cdd7e6; font-size: 0.85rem; display:flex; align-items:center; gap:4px; white-space:nowrap; }
.site-header .container { gap: 18px; }
.header-actions .btn { padding: 11px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  font-size: 1.6rem; line-height: 1;
}

@media (max-width: 1140px) {
  .main-nav { position: fixed; inset: 76px 0 0 0; background: var(--navy-900); flex-direction: column; padding: 30px 28px; gap: 22px; transform: translateX(100%); transition: transform .25s ease; overflow-y:auto; align-items: flex-start; }
  .main-nav a { font-size: 1.05rem; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .header-actions .btn-gold { display: none; }
}

/* ============ Hero (split) ============ */
.hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0 56px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4vw, 3.15rem);
  margin: 14px 0 20px;
}
.hero p.lead { color: #b7c2d4; font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3.1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Page hero (inner pages, split with breadcrumb) */
.page-hero { background: var(--navy-900); color: var(--white); padding: 40px 0 0; }
.breadcrumb { font-size: 0.85rem; color: #93a1b8; padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--white); }
.page-hero .container.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 30px 0 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 12px 0 16px; }
.page-hero p.lead { color: #b7c2d4; max-width: 480px; margin-bottom: 0; }
.page-hero-media { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/9.6; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-noimg { padding-bottom: 44px; }

/* Feature strip under hero image */
.feat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -30px; position: relative; z-index: 2;
}
.feat-strip.in-hero { margin-top: 34px; }
.feat-item { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.feat-item .ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(193,137,63,0.5); display:flex; align-items:center; justify-content:center; color: var(--gold); }
.feat-item > div { min-width: 0; }
.feat-item strong { display: block; font-size: 0.88rem; color: var(--white); margin-bottom: 3px; line-height: 1.3; }
.feat-item span { font-size: 0.8rem; color: #9fabc0; line-height: 1.4; }

/* Trust bar (white floating card) */
.trust-bar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin: -40px auto 0;
  max-width: var(--container);
  padding: 30px 28px;
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ico { color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; color: var(--navy-900); margin-bottom: 3px; font-size: 0.98rem; }
.trust-item span { color: var(--muted); font-size: 0.87rem; }

/* Icon badges (line icons in circles) */
.ico-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* Card grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card h3 { margin: 18px 0 8px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.card .learn { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }

/* Numbered process */
.steps-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  position: relative;
}
.step { text-align: center; padding: 0 6px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600;
  margin: 0 auto 16px;
  position: relative; z-index: 2;
}
.step strong { display: block; color: var(--navy-900); margin-bottom: 6px; font-size: 1rem; }
.step span { color: var(--muted); font-size: 0.88rem; }
.steps-row.has-line::before {
  content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
  z-index: 1;
}

/* Treatment carousel-style cards */
.treatment-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.treatment-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.treatment-card .thumb img { width:100%; height:100%; object-fit: cover; }
.treatment-card .body { padding: 20px 20px 22px; }
.treatment-card .num { color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; }

/* Split content block */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); font-size: 0.98rem; }
.check-list .tick { color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }

/* Stat band */
.stat-band {
  background: var(--navy-900); color: var(--white);
  border-radius: var(--radius);
  padding: 26px 34px;
  display: flex; flex-wrap: wrap; gap: 22px;
  justify-content: space-between;
}
.stat-band .stat { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.stat-band .stat strong { color: var(--gold-light); font-family: var(--serif); }

/* CTA banner */
.cta-banner {
  background: var(--navy-900); color: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.cta-banner p { color: #aab7cb; margin: 0; max-width: 420px; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner.with-media { background-size: cover; background-position: center; position: relative; overflow:hidden; }
.cta-banner.with-media::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(8,16,31,0.94) 30%, rgba(8,16,31,0.55) 100%); }
.cta-banner.with-media > * { position: relative; z-index: 1; }

/* Final contact CTA (footer top) */
.final-cta {
  background: var(--navy-900); color: var(--white);
  padding: 46px 0;
}
.final-cta .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.final-cta h3 { color: var(--white); font-size: 1.7rem; }
.final-cta .contact-list { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; color: #cdd7e6; }
.final-cta .contact-list li { display: flex; gap: 10px; align-items: center; }
.final-cta .qr { display:flex; flex-direction:column; align-items:center; gap:8px; font-size:0.82rem; color:#9fabc0; }
.final-cta .qr img { width: 92px; height: 92px; border-radius: 6px; background: white; padding: 6px; }
.final-cta .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.final-cta .media img { width:100%; height:100%; object-fit:cover; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fabc0; padding: 56px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; font-family: var(--sans); font-weight: 600; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-brand p { font-size: 0.9rem; margin: 14px 0 18px; max-width: 280px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #253652; display:flex; align-items:center; justify-content:center; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.newsletter-form { display: flex; margin-top: 8px; border-radius: 6px; overflow: hidden; border: 1px solid #253652; }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: 11px 14px; color: var(--white); font-size: 0.9rem; }
.newsletter-form input::placeholder { color: #6d7c95; }
.newsletter-form button { background: var(--gold); border: none; padding: 0 16px; color: var(--navy-950); }
.footer-bottom { border-top: 1px solid #1c2b45; padding-top: 20px; display:flex; justify-content:space-between; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--white); }

/* Contact page specifics */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.15fr 0.95fr; gap: 40px; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-info li .ico { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.contact-info li strong { display: block; color: var(--navy-900); margin-bottom: 4px; font-size: 0.98rem; }
.contact-info li span { color: var(--muted); font-size: 0.92rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 1px; }
.privacy-note { font-size: 0.8rem; color: var(--muted-light); text-align: center; margin-top: 10px; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/2.6; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.world-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.world-mini div { background: var(--paper); border-radius: 6px; padding: 10px; text-align:center; font-size: 0.78rem; color: var(--muted); }

.talk-strip {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 30px; display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap: wrap;
}
.talk-strip .left { display:flex; gap:16px; align-items:center; }
.talk-strip h4 { margin:0 0 4px; font-size:1.05rem; color: var(--navy-900); font-family: var(--sans); font-weight:600; }
.talk-strip p { margin:0; color: var(--muted); font-size:0.9rem; }
.talk-strip .actions { display:flex; gap:12px; flex-wrap: wrap; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 26px; }
.team-card { text-align: center; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.team-card strong { display:block; color: var(--navy-900); }
.team-card span { display:block; color: var(--muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero .container, .page-hero .container.split, .split, .final-cta .container, .contact-grid { grid-template-columns: 1fr; }
  .grid-4, .steps-row, .feat-strip, .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row.has-line::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2, .team-grid, .feat-strip, .trust-bar { grid-template-columns: 1fr; }
  .trust-bar { margin-top: -24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner, .talk-strip { flex-direction: column; align-items: flex-start; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.center-text { text-align: center; }
.pill-nowrap { white-space: nowrap; }

/* ============================================
   Brand logo (real RCube logo badge)
   ============================================ */
.brand-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: transparent;
}
.brand-logo--sm { width: 46px; height: 46px; }

@media (max-width: 620px) {
  .brand-logo { width: 40px; height: 40px; }
}

/* ============================================
   Trust bar photo thumbnails
   ============================================ */
.trust-thumb {
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line);
}

/* ============================================
   Cards with a photo header
   ============================================ */
.card--photo { padding: 0 0 26px; overflow: hidden; }
.card--photo .card-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 0;
}
.card--photo .card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card--photo .ico-circle {
  margin: -28px 0 0 26px;
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: 0 2px 10px -4px rgba(11,28,51,0.25);
}
.card--photo h3,
.card--photo p,
.card--photo .learn { margin-left: 26px; margin-right: 26px; }
.card--photo h3 { margin-top: 14px; }

/* ============================================
   Specialty treatment card photos
   ============================================ */
.treatment-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   Text contrast — true black body copy on light
   cards so descriptions read clearly (#000)
   ============================================ */
.card p,
.card--photo p,
.treatment-card .body p,
.treatment-card p,
.trust-item span,
.step span,
.check-list li,
.contact-info li span,
.options-desc {
  color: #000000;
}

.card h3,
.card--photo h3,
.treatment-card h3,
.trust-item strong,
.step strong,
.contact-info li strong {
  color: #000000;
}

/* keep the gold "Learn More" links and eyebrows as-is */
.card .learn,
.card--photo .learn { color: var(--gold-dark); }

/* Specialty cards sit on navy; their body panel is white,
   so force true black there too */
.treatment-card .body h3,
.treatment-card .body p { color: #000000; }

/* Balance specialty treatment cards now that "Learn More"
   has been removed from the 6 specialty cards */
.section .grid-3 .card .check-list { margin-bottom: 0; }
.section .grid-3 .card { display: flex; flex-direction: column; }

/* ============================================
   Treatment specialties grid — cards size to
   their own content now that "Learn More" is
   removed, so no dead space under short cards
   ============================================ */
.specialty-grid { align-items: start; }
.specialty-grid .card { padding: 26px 26px 24px; }
.specialty-grid .card .check-list { margin: 14px 0 0; }
.specialty-grid .card .check-list li:last-child { margin-bottom: 0; }
.specialty-grid .card h3 { margin-bottom: 2px; }

/* ============================================
   Prevent horizontal scroll caused by the
   off-canvas mobile nav sitting off-screen
   ============================================ */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 1140px) {
  .main-nav { visibility: hidden; }
  .main-nav.open { visibility: visible; }
}

/* ================================================================
   RESPONSIVE OVERHAUL
   Inline grid-template-columns in the HTML used to beat the media
   queries, which squeezed cards into unreadable columns on phones.
   These utility classes replace those inline styles.
   ================================================================ */

/* Auto-fitting card grids — never squeeze below a readable width */
.cards-5,
.cards-6,
.cards-4 {
  display: grid;
  gap: 24px;
}
.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cards-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1200px) {
  .cards-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cards-5,
  .cards-6,
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 560px) {
  .cards-5,
  .cards-6,
  .cards-4 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Specialty treatment cards: full-width stacked rows on phones,
   with the photo kept at a sane height so nothing looks stretched */
@media (max-width: 560px) {
  .treatment-card .thumb { aspect-ratio: 16 / 9; }
  .treatment-card .body { padding: 18px 20px 20px; }
  .treatment-card .body h3 { font-size: 1.05rem; }
  .treatment-card .body p { font-size: 0.95rem; }
}

/* Specialty section header: stack the "View All" button under the
   heading instead of letting it crowd the title */
@media (max-width: 720px) {
  .section--navy .container > div[style*="justify-content:space-between"] {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* ================================================================
   TEAM OF DOCTORS — one section, responsive at every width
   ================================================================ */
.team-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.team-intro__card { text-align: center; padding: 34px 24px; }

.team-wrap { width: 100%; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 0;
}
.team-card {
  text-align: center;
  min-width: 0;
}
.team-card img {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 14px;
  display: block;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(11,28,51,0.35);
}
.team-card strong {
  display: block;
  color: #000000;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 4px;
}
.team-card span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 980px) {
  .team-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 34px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .team-card img { max-width: 170px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .team-card img { max-width: 132px; margin-bottom: 10px; }
  .team-card strong { font-size: 0.98rem; }
  .team-card span { font-size: 0.82rem; }
}

/* ================================================================
   General mobile safety — buttons, headings, stat bands
   ================================================================ */
@media (max-width: 560px) {
  .btn { padding: 13px 20px; font-size: 0.94rem; }
  .cta-banner .actions .btn,
  .talk-strip .actions .btn { width: 100%; justify-content: center; }
  .cta-banner, .talk-strip { padding: 28px 22px; }
  .cta-banner h3 { font-size: 1.35rem; }
  .stat-band { padding: 22px 20px; gap: 16px; }
  .stat-band .stat { font-size: 0.9rem; }
  .section-head h2 { font-size: 1.6rem; }
  .container { padding: 0 20px; }
}

/* Treatment Specialties grid (treatments.html) — own responsive definition
   now that the inline column override has been removed */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
@media (max-width: 1000px) {
  .specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .specialty-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
