/* =========================================================
   Page-level components: services, hospitals, process,
   about, contact, legal
   ========================================================= */

/* ---------- Page intro without a hero ---------- */

.page-top {
  padding-top: clamp(140px, 15vw, 190px);
}

/* ---------- Services page ---------- */

.service-nav {
  position: sticky;
  top: 68px;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.service-nav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 11px 0;
  scrollbar-width: none;
}

.service-nav-inner::-webkit-scrollbar {
  display: none;
}

.service-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.service-nav a:hover,
.service-nav a.is-active {
  border-color: var(--line);
  background: var(--white);
  color: var(--teal);
}

.service-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(48px, 6vw, 84px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 140px;
}

.service-aside {
  position: sticky;
  top: 150px;
  align-self: start;
}

.service-number {
  color: var(--copper);
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.service-icon-lg {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 16px 0 18px;
  place-items: center;
  border-radius: 14px;
  background: var(--teal);
  color: var(--ivory);
}

.service-icon-lg svg {
  width: 24px;
  height: 24px;
}

.service-icon-lg span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.service-aside h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.service-tagline {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-aside .text-link {
  margin-top: 20px;
}

.service-body .lead {
  margin-top: 0;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

.service-columns h3 {
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

.hospital-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.hospital-pills > span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pill {
  border: 1px solid var(--line);
  background: var(--white);
}

.service-body .fineprint {
  margin-top: 18px;
}

/* ---------- Hospitals page ---------- */

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

.hospital-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.hospital-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 133, 85, 0.3);
  box-shadow: var(--shadow-sm);
}

.hospital-city {
  color: var(--copper);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hospital-card h3 {
  margin: 10px 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.hospital-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.62;
}

.hospital-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.hospital-card .tags span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(14, 59, 58, 0.06);
  color: var(--teal);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.2;
}

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

.criteria-card {
  padding-top: 18px;
  border-top: 2px solid var(--copper);
}

.criteria-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.criteria-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* ---------- Timeline ---------- */

.timeline {
  max-width: 1020px;
  margin-inline: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-num {
  color: var(--copper);
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.timeline-time {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(14, 59, 58, 0.06);
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.timeline-content p {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.timeline-content p + p {
  margin-top: 10px;
}

/* ---------- Checklist ---------- */

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.checklist-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--teal);
}

/* ---------- Fees ---------- */

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

.fee-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fee-card--dark {
  background: var(--teal);
  color: var(--ivory);
}

.fee-card h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fee-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.fee-card--dark p {
  color: rgba(247, 243, 236, 0.72);
}

.fee-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  list-style: none;
}

.fee-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.fee-list li:last-child {
  border-bottom: 0;
}

.fee-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
}

.fee-list--not li::before {
  content: "—";
  color: var(--copper);
  font-weight: 600;
}

.fee-card--dark .fee-list li {
  border-color: rgba(247, 243, 236, 0.12);
  color: rgba(247, 243, 236, 0.72);
}

.fee-card--dark .fee-list li::before {
  color: var(--copper-2);
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

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

.value-card {
  padding-top: 18px;
  border-top: 2px solid var(--copper);
}

.value-card h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.value-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.role-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.role-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
}

.role-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
}

.role-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.role-arrow {
  color: var(--copper);
  font-size: 1.3rem;
  text-align: center;
}

.membership-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--teal);
  color: var(--ivory);
}

.membership-band h2 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.membership-band p {
  max-width: 680px;
  color: rgba(247, 243, 236, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.form-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 59, 58, 0.08);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.checkbox-field input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.form-status {
  min-height: 1.2em;
  margin-top: 14px;
  color: var(--teal);
  font-size: 0.8rem;
}

.form-status.is-error {
  color: #b3542a;
  font-weight: 600;
}

.contact-panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--teal);
  color: var(--ivory);
}

.contact-panel h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
}

.contact-item:last-of-type {
  border-bottom: 0;
}

.contact-item .icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(247, 243, 236, 0.1);
  color: var(--copper-2);
}

.contact-item .icon svg {
  width: 17px;
  height: 17px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(247, 243, 236, 0.5);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  color: var(--ivory);
  font-size: 0.9rem;
  line-height: 1.55;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--copper-2);
}

.contact-panel .fineprint {
  margin-top: 22px;
  color: rgba(247, 243, 236, 0.5);
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.next-step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.next-step strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
}

.next-step p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* ---------- Legal ---------- */

.legal {
  max-width: 840px;
  margin-inline: auto;
}

.legal h2 {
  margin: 48px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal .notice {
  margin: 24px 0;
}

.legal-meta {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Page-specific hero image positions ---------- */

.hero--services .hero-media img {
  object-position: center 42%;
}

.hero--hospitals .hero-media img {
  object-position: center 55%;
}

.hero--process .hero-media img {
  object-position: center 45%;
}

.hero--about .hero-media img {
  object-position: center 50%;
}

.hero--contact .hero-media img {
  object-position: center 45%;
}
