.container {
  max-width: 1040px;
}

/* ── Hero ── */
.page-hero {
  padding: 72px 0 64px;
}

.page-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--brand);
  margin: 0 0 18px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .page-hero h1 {
    white-space: normal;
  }
}

.page-hero .hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 10px;
  max-width: 600px;
}

.page-hero .hero-goal {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
  font-style: italic;
  opacity: 0.85;
}

/* ── Services quick bar ── */
.services-bar {
  background: var(--brand);
  padding: 0;
}

.services-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.services-bar-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 253, 247, 0.88);
  border-right: 1px solid rgba(255, 253, 247, 0.08);
  border-bottom: 1px solid rgba(255, 253, 247, 0.08);
  cursor: default;
}

/* remove right border on last column, bottom border on last row */
.services-bar-item:nth-child(3n) {
  border-right: none;
}

.services-bar-item:nth-child(n+4) {
  border-bottom: none;
}

.services-bar-item svg {
  width: 18px;
  height: 18px;
  fill: var(--brand2);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .services-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-bar-item:nth-child(3n) {
    border-right: 1px solid rgba(255, 253, 247, 0.08);
  }

  .services-bar-item:nth-child(2n) {
    border-right: none;
  }

  .services-bar-item:nth-child(n+4) {
    border-bottom: 1px solid rgba(255, 253, 247, 0.08);
  }

  .services-bar-item:nth-child(n+5) {
    border-bottom: none;
  }
}

/* ── Shared section ── */
.section {
  padding: 64px 0;
}

.section-sm {
  padding: 0 0 56px;
}

.section-border {
  border-top: 1px solid rgba(176, 138, 69, 0.15);
}

.section-heading {
  font-size: clamp(22px, 3vw, 28px);
}

.section-sub {
  max-width: 640px;
}

/* ── Approach Cards ── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 760px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

.approach-card {
  background: var(--card);
  border: 1px solid rgba(176, 138, 69, 0.18);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.approach-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand2) 100%);
  border-radius: 20px 20px 0 0;
}

.approach-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand) 0%, #7a0a15 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(91, 7, 16, 0.25);
}

.approach-icon svg {
  width: 24px;
  height: 24px;
  fill: #FFFDF7;
}

.approach-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 10px;
}

.approach-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Partner note ── */
.partner-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(176, 138, 69, 0.07);
  border: 1px solid rgba(176, 138, 69, 0.2);
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.partner-note svg {
  width: 28px;
  height: 28px;
  fill: var(--brand2);
  flex-shrink: 0;
}

/* ── Conditions ── */
.conditions-card {
  background: var(--card);
  border: 1px solid rgba(176, 138, 69, 0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.conditions-header {
  padding: 26px 32px;
  background: linear-gradient(135deg, var(--brand) 0%, #7a0a15 100%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.conditions-header-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 253, 247, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conditions-header-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFDF7;
}

.conditions-header-text h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: #FFFDF7;
  margin: 0 0 2px;
  font-weight: 700;
}

.conditions-header-text p {
  font-size: 14px;
  color: rgba(255, 253, 247, 0.75);
  margin: 0;
}

.conditions-body {
  padding: 28px 32px 32px;
}

.conditions-body>p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0 0 26px;
  line-height: 1.7;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 16px;
}

@media (max-width: 700px) {
  .conditions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }
}

.condition-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: #3A3532;
  border-bottom: 1px solid rgba(176, 138, 69, 0.08);
  line-height: 1.45;
}

.condition-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  border-radius: 50%;
  margin-top: 5px;
}

.conditions-transplant {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(91, 7, 16, 0.05) 0%, rgba(176, 138, 69, 0.05) 100%);
  border: 1px solid rgba(176, 138, 69, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.conditions-transplant svg {
  width: 20px;
  height: 20px;
  fill: var(--brand2);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Procedures ── */
.procedures-section {
  padding: 0 0 60px;
}

.procedures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .procedures-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FibroScan card ── */
.fibroscan-card {
  background: linear-gradient(135deg, var(--brand) 0%, #7a0a15 100%);
  border-radius: 22px;
  padding: 36px 36px 32px;
  box-shadow: 0 16px 40px rgba(91, 7, 16, 0.25);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.fibroscan-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.05);
}

.fibroscan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 253, 247, 0.15);
  border: 1px solid rgba(255, 253, 247, 0.25);
  color: rgba(255, 253, 247, 0.9);
  padding: 5px 13px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.fibroscan-badge svg {
  width: 12px;
  height: 12px;
  fill: var(--brand2);
}

.fibroscan-card h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: #FFFDF7;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.3;
}

.fibroscan-card>p {
  font-size: 14.5px;
  color: rgba(255, 253, 247, 0.78);
  line-height: 1.7;
  margin: 0 0 20px;
}

.fibroscan-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.fibroscan-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 253, 247, 0.85);
  line-height: 1.5;
}

.fibroscan-facts li svg {
  width: 16px;
  height: 16px;
  fill: var(--brand2);
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* ── Endoscopy card ── */
.endo-card {
  background: var(--card);
  border: 1px solid rgba(176, 138, 69, 0.18);
  border-radius: 22px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.endo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.15) 0%, rgba(176, 138, 69, 0.05) 100%);
  border: 1.5px solid rgba(176, 138, 69, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.endo-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--brand2);
}

.endo-card h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: var(--brand);
  margin: 0 0 10px;
  font-weight: 700;
}

.endo-card>p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

.endo-procedures {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.endo-procedure-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.06) 0%, rgba(243, 231, 200, 0.4) 100%);
  border: 1px solid rgba(176, 138, 69, 0.14);
  border-radius: 12px;
}

.endo-procedure-num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: linear-gradient(135deg, var(--brand) 0%, #7a0a15 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #FFFDF7;
}

.endo-procedure-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 4px;
}

.endo-procedure-item p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Referrals ── */
.referral-card {
  background: var(--card);
  border: 1px solid rgba(176, 138, 69, 0.18);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.referral-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand2) 0%, var(--brand) 100%);
}

@media (max-width: 620px) {
  .referral-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px;
  }
}

.referral-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: linear-gradient(135deg, rgba(91, 7, 16, 0.08) 0%, rgba(176, 138, 69, 0.08) 100%);
  border: 1.5px solid rgba(176, 138, 69, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--brand);
}

.referral-content h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: var(--brand);
  margin: 0 0 12px;
  font-weight: 700;
}

.referral-content p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.referral-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  border: 1.5px solid rgba(91, 7, 16, 0.2);
  border-radius: 10px;
  padding: 10px 20px;
  transition: background 0.2s;
}

.referral-contact:hover {
  background: rgba(91, 7, 16, 0.05);
}

.referral-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--brand);
}


.cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand2);
  margin-bottom: 8px;
}


.btn-primary {
  display: inline-block;
  background: #FFFDF7;
  color: var(--brand);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255, 253, 247, 0.4);
  color: #FFFDF7;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.6);
}
