:root {
  --brand: #2c4c45;
  --brand-dark: #203430;
  --accent: #aac7b0;
  --text: #1f2a28;
  --muted: #5c6b67;
  --muted-soft: #8d9994;
  --surface: #f3efe5;
  --border: rgba(32, 52, 48, 0.1);
  --bg: #f8f5ef;
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, #f8f5ef 0%, #f3efe5 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brand-dark);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-header.minimal {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(248, 241, 231, 0.92);
  border: 1px solid rgba(15, 27, 43, 0.12);
  box-shadow: 0 12px 28px rgba(15, 27, 43, 0.14);
  color: var(--brand);
}

.monogram {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 14px;
}

.header-cta:hover,
.header-cta:focus {
  border-color: var(--brand);
  color: var(--brand);
}

.minimal-hero {
  padding: 96px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 540px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  margin: 0 0 12px;
  font-weight: 500;
  line-height: 1.1;
}

.lede {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-note {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(32, 52, 48, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(32, 52, 48, 0.28);
}

.btn-secondary {
  background: rgba(44, 76, 69, 0.08);
  color: var(--brand-dark);
  border-color: rgba(44, 76, 69, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(44, 76, 69, 0.16);
}




.hero-portrait {
  display: flex;
  justify-content: center;
}

.portrait-card {
  position: relative;
  background: var(--surface);
  border-radius: calc(var(--radius-lg) + 8px);
  padding: 36px 36px 44px;
  box-shadow: 0 32px 68px rgba(32, 52, 48, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(160deg, rgba(44, 76, 69, 0.12), rgba(236, 217, 191, 0.2));
  z-index: -1;
  filter: blur(0.4px);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: calc(var(--radius-lg) + 20px);
  background: radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.55), transparent 70%);
  opacity: 0.75;
  z-index: -2;
}

.portrait-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, rgba(243, 239, 229, 0.8));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: rgba(44, 76, 69, 0.08);
  filter: blur(22px);
  opacity: 0.7;
}

.avatar {
  position: relative;
  width: 208px;
  height: 208px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;
  border: 5px solid #ffffff;
  box-shadow: 0 18px 44px rgba(32, 52, 48, 0.25);
}

.portrait-card figcaption {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 18px;
  font-weight: 500;
}

.surface-card {
  background: rgba(243, 239, 229, 0.95);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 44px rgba(32, 52, 48, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.story-card {
  display: grid;
  gap: 28px;
}

.story-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #243431;
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #243431;
}

.story-body {
  display: grid;
  gap: 18px;
  font-size: 18px;
  line-height: 1.85;
  color: #394743;
}

.story-body p {
  margin: 0;
}

.surface-card address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  letter-spacing: 0.01em;
}

.surface-card a:hover,
.surface-card a:focus {
  opacity: 0.8;
}

.hospital-card {
  display: grid;
  gap: 32px;
}

.hospital-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hospital-head h2 {
  margin: 0;
}

.hospital-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}


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

.hospital-block {
  display: grid;
  gap: 10px;
}

.hospital-block h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.hospital-block p {
  margin: 0;
}

.hospital-contacts p {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 17px;
}

.hospital-contacts span {
  min-width: 80px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted-soft);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.contact-actions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 18px;
}

.contact-actions a {
  position: relative;
  padding-bottom: 4px;
}

.contact-actions a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.contact-actions a:hover::after,
.contact-actions a:focus::after {
  transform: scaleX(1);
}

.dim {
  color: var(--muted);
}

.fine {
  font-size: 13px;
  margin: 0;
}

.site-footer {
  padding: 24px 0 48px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 960px) {
  .hero-grid {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    order: -1;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    align-self: stretch;
    justify-content: center;
  }

  .minimal-hero {
    padding: 72px 0 48px;
  }

  .surface-card {
    padding: 32px;
  }

  .hospital-grid {
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .avatar {
    width: 180px;
    height: 180px;
    border-width: 4px;
  }

  .hospital-contacts span {
    min-width: 68px;
  }
}
.hero-copy,
.hero-portrait {
  animation: fade-up 0.8s cubic-bezier(.25, .8, .25, 1) both;
}

.hero-portrait {
  animation-delay: 0.2s;
}

.surface-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s ease both;
}

#contact .surface-card {
  animation-delay: 0.15s;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, transparent 90%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
