/* Root color palette — adjust to match the actual Luxury Medical Group logo */
:root {
  --lm-primary: #b89a5a;
  --lm-primary-dark: #8a6f3b;
  --lm-bg: #020617;
  --lm-surface: #0f172a;
  --lm-surface-soft: #111827;
  --lm-text: #f9fafb;
  --lm-muted: #9ca3af;
  --lm-accent: #38bdf8;
  --lm-border: #1f2937;
  --lm-radius: 18px;
  --lm-radius-lg: 24px;
  --lm-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
  --lm-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--lm-font-sans);
  background: radial-gradient(circle at top, #1f2933 0, #020617 45%, #000 100%);
  color: var(--lm-text);
  line-height: 1.6;
}

/* Layout helpers */

.lm-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lm-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.lm-main {
  padding-top: 96px;
}

/* Header / Nav */

.lm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.lm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.lm-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--lm-text);
}

.lm-logo-img {
  height: 42px;
  width: auto;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.9);
  padding: 4px 6px;
}

.lm-logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.lm-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.lm-nav a {
  color: var(--lm-muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.lm-nav a:hover {
  color: var(--lm-text);
  border-color: rgba(184, 154, 90, 0.6);
}

.lm-nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 154, 90, 0.7);
  background: linear-gradient(135deg, rgba(184, 154, 90, 0.25), rgba(15, 23, 42, 0.5));
}

/* Hero */

.lm-hero {
  padding: 4.5rem 0 3.5rem;
}

.lm-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.lm-hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lm-hero-content p {
  color: var(--lm-muted);
  max-width: 36rem;
}

.lm-hero-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--lm-muted);
}

.lm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Buttons */

.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.lm-btn-primary {
  background: linear-gradient(135deg, var(--lm-primary), var(--lm-primary-dark));
  border-color: rgba(0, 0, 0, 0.8);
  color: #050816;
  font-weight: 600;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.65);
}

.lm-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.lm-btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--lm-text);
  background: transparent;
}

.lm-btn-ghost:hover {
  border-color: var(--lm-primary);
  background: rgba(15, 23, 42, 0.9);
}

.lm-btn-full {
  width: 100%;
}

/* Hero card / forms */

.lm-hero-card {
  background: radial-gradient(circle at top left, rgba(184, 154, 90, 0.16), rgba(15, 23, 42, 0.98));
  border-radius: var(--lm-radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--lm-shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.lm-hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.lm-hero-card p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  color: var(--lm-muted);
}

.lm-intake-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.lm-intake-form input,
.lm-intake-form select,
.lm-intake-form textarea {
  margin-top: 0.25rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--lm-text);
  font-family: var(--lm-font-sans);
  font-size: 0.85rem;
}

.lm-intake-form textarea {
  border-radius: 12px;
  resize: vertical;
}

.lm-intake-form input:focus,
.lm-intake-form select:focus,
.lm-intake-form textarea:focus {
  outline: none;
  border-color: var(--lm-primary);
  box-shadow: 0 0 0 1px rgba(184, 154, 90, 0.4);
}

.lm-small {
  font-size: 0.78rem;
  color: var(--lm-muted);
}

/* Sections */

.lm-section {
  padding: 3.75rem 0;
}

.lm-section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
}

.lm-section-title {
  font-size: 1.7rem;
  text-align: center;
  margin: 0 0 2.2rem;
}

/* Grid / cards */

.lm-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.lm-card {
  background: var(--lm-surface-soft);
  border-radius: var(--lm-radius);
  border: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.lm-card-outline {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 1));
}

.lm-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.lm-card p {
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--lm-muted);
}

/* Lists */

.lm-list {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
  font-size: 0.86rem;
  color: var(--lm-muted);
}

.lm-list li {
  margin-bottom: 0.25rem;
}

/* Profiles */
/* ===== Founder bio: consistent typography + collapse ===== */
.bio-card .bio-text p{
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--lm-muted);
  font-weight: 400;
}

.bio-card .bio-text{
  position: relative;
  overflow: hidden;
  max-height: 190px;
  transition: max-height .25s ease;
}

.bio-card.expanded .bio-text{
  max-height: 2000px;
}

.bio-card:not(.expanded) .bio-text::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 72px;
  background: linear-gradient(
    to bottom,
    rgba(17,24,39,0),
    rgba(17,24,39,1)
  );
  pointer-events:none;
}

.bio-toggle{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
  color: var(--lm-text);
  cursor: pointer;
  font-size: 0.88rem;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}

.bio-toggle:hover{
  border-color: rgba(184, 154, 90, 0.55);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.bio-toggle .arrow{
  display:inline-block;
  transition: transform .2s ease;
}

.bio-card.expanded .bio-toggle .arrow{
  transform: rotate(180deg);
}

.lm-card-profile {
  text-align: left;
}
.lm-profile-img {
  box-shadow: 0 0 12px rgba(184, 154, 90, 0.55);


  width: 110px;             /* Bigger size */
  height: 110px;            /* Keep circle shape */
  border-radius: 50%;       
  object-fit: cover;        /* Proper crop */
  object-position: center top;  /* Shows more of the face/body */
  display: block;
  margin-bottom: 0.85rem;
  border: 3px solid rgba(184, 154, 90, 0.95); /* Gold ring */
}


.lm-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(184, 154, 90, 0.9), rgba(15, 23, 42, 1));
  color: #050816;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.lm-profile-role {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin-top: 0;
}

/* FAQ */

.lm-faq {
  max-width: 760px;
  margin: 0 auto;
}

.lm-faq-item + .lm-faq-item {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
}

.lm-faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.lm-faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lm-muted);
}

/* Contact grid */

.lm-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
}

/* Policy pages */

.lm-policy h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.lm-policy h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.lm-policy p,
.lm-policy li {
  font-size: 0.9rem;
  color: var(--lm-muted);
}

.lm-policy ul {
  padding-left: 1.1rem;
}

.lm-page .lm-section {
  padding-top: 3rem;
}

/* Links */

a {
  color: var(--lm-accent);
}

a:hover {
  text-decoration: underline;
}

.lm-link {
  text-decoration: none;
}

.lm-link:hover {
  text-decoration: underline;
}

/* Center text helper */

.lm-center {
  text-align: center;
}

.lm-section-note {
  margin-top: 1.5rem;
}

/* Footer */

.lm-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  background: #020617;
  padding: 1.6rem 0 2rem;
  margin-top: 1.5rem;
}

.lm-footer-inner {
  text-align: center;
  font-size: 0.82rem;
  color: var(--lm-muted);
}

.lm-footer-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lm-footer-links a {
  color: var(--lm-muted);
  text-decoration: none;
}

.lm-footer-links a:hover {
  color: var(--lm-text);
}

/* Responsive */

@media (max-width: 900px) {
  .lm-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .lm-nav {
    display: none; /* Simple mobile: you can add a burger menu later if you want */
  }

  .lm-header-inner {
    justify-content: space-between;
  }
}
@media (max-width: 900px) {
  .lm-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(2,6,23,.95);
    border-top: 1px solid rgba(184,154,90,.35);
    padding: .75rem;
    z-index: 60;
  }
}

@media (max-width: 600px) {
  .lm-hero {
    padding-top: 3.5rem;
  }

  .lm-hero-card {
    padding: 1.4rem 1.25rem 1.25rem;
  }
/* =========================
   Medical Leadership Grid (3-up)
   ========================= */

.lm-section-spacer { height: 28px; }

.leadership-grid{
  margin-top: 10px;
  text-align: center;
  gap: 1.5rem; /* matches your lm-grid gap */
}

.leader-card{
  background: var(--lm-surface-soft);
  border-radius: var(--lm-radius);
  border: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: flex=start;
}

.leader-photo-wrap{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(184,154,90,0.95);
  box-shadow: 0 0 12px rgba(184,154,90,0.55);
  background: rgba(15,23,42,0.9);
  margin: 0 auto 0.85rem;
}

.leader-photo-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Stack nicely on smaller screens */
@media (max-width: 900px){
  .lm-grid-3.leadership-grid{
    grid-template-columns: 1fr;
  }
}
/* Leadership row (3 across) */
.leadership-row{
  align-items: start;
}

/* Doctor card text spacing matches bio style */
.doctor-card{
  text-align: left;
}

.doctor-text p{
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--lm-muted);
}

/* Use the same circular image style for doctor */
.leader-photo-wrap{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(184,154,90,0.95);
  box-shadow: 0 0 12px rgba(184,154,90,0.55);
  background: rgba(15,23,42,0.9);
  margin-bottom: 0.85rem;
}

.leader-photo-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Mobile: stack */
@media (max-width: 900px){
  .lm-grid-3.leadership-row{
    grid-template-columns: 1fr;
  }
}
/* Make the leadership row uniform */
.leadership-row .lm-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.leadership-row .lm-profile-img{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* If Dr Pic has a white “photo border”, zoom/crop it a bit */
.leadership-row .doctor-card .lm-profile-img{
  transform: scale(1.12);
}
/* Doctor image alignment: left on desktop + mobile */
.doctor-card .lm-profile-img{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* If any flex centering is happening on mobile, force left */
@media (max-width: 900px){
  .leadership-row .lm-card{
    align-items: flex-start !important;
  }
}
/* Make all leadership cards same behavior + align Read more at bottom */
.leadership-row .bio-card{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.leadership-row .bio-toggle{
  margin-top: auto; /* pushes button to bottom */
}
/* Force left alignment for doctor photo (especially on mobile) */
.doctor-card .lm-profile-img{
  margin: 0 0 0.85rem 0 !important; /* NOT centered */
}

/* Ensure cards don't center contents on mobile */
@media (max-width: 900px){
  .leadership-row .lm-card{
    align-items: flex-start !important;
    text-align: left !important;
  }
}
/* ===== FIX: Doctor photo left on mobile + kill accidental centering ===== */

/* Always left-align profile images inside cards (prevents auto-centering) */
.lm-card-profile .lm-profile-img{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* On mobile, make sure cards aren't centering children */
@media (max-width: 900px){
  .leadership-row .lm-card,
  .leadership-row .lm-card-profile{
    align-items: flex-start !important;
    text-align: left !important;
    justify-items: start !important;
  }

  /* extra-hard override for doctor specifically */
  .doctor-card .lm-profile-img{
    margin: 0 0 0.85rem 0 !important;
  }
}
/* ===== FINAL OVERRIDE: leadership photos LEFT on mobile ===== */

/* If doctor uses the wrapper, this is what's centering it (margin:auto) */
@media (max-width: 900px){
  .leadership-row .leader-photo-wrap{
    margin: 0 0 0.85rem 0 !important;   /* remove auto-centering */
  }

  /* If doctor uses lm-profile-img directly, force left too */
  .leadership-row .lm-profile-img{
    margin: 0 0 0.85rem 0 !important;
  }

  /* Prevent any card from centering children */
  .leadership-row .lm-card,
  .leadership-row .lm-card-profile{
    align-items: flex-start !important;
    text-align: left !important;
    justify-items: start !important;
  }
  /* Leadership headshots: wrapper controls the circle */
.leadership-row .leader-photo-wrap{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(184,154,90,.95);
  box-shadow: 0 0 12px rgba(184,154,90,.55);
  background: rgba(15,23,42,.9);
  margin: 0 0 .85rem 0; /* LEFT aligned */
}

/* Make the image fill the wrapper cleanly */
.leadership-row .leader-photo-wrap img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 22%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none;
}

/* Zoom Dr. Nat only to crop out the white border */
.leadership-row .leader-photo-wrap img.doctor-img{
  transform: scale(1.24);
  transform-origin: 50% 35%;
  object-position: 50% 20%;
}

/* Mobile: force left alignment (kills centering) */
@media (max-width: 900px){
  .leadership-row .lm-card{
    align-items: flex-start !important;
    text-align: left !important;
  }
  .leadership-row .leader-photo-wrap{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

}

}
