:root {
  --ink: #121110;
  --ink-soft: #3f3d38;
  --muted: #66635c;
  --line: #dddcd6;
  --line-soft: #ebeae5;
  --paper: #fff;
  --paper-warm: #f5f5f1;
  --night: #121110;
  --night-soft: #1d1c1a;
  --green: #4f7800;
  --green-light: #a8cf60;
  --green-pale: #f0f6e4;
  --purple: #800080;
  --purple-pale: #f7edf7;
  --focus: #005fcc;
  --radius: 12px;
  --content: 1180px;
  --gutter: clamp(20px, 4vw, 36px);
  --section-space: clamp(72px, 9vw, 112px);
  --shadow: 0 18px 45px rgba(18, 17, 16, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, dl, dd { margin-top: 0; }
h1, h2, h3 { font-family: "Jost", sans-serif; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: #fff;
  background: var(--night);
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.section-container {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
}
.section-eyebrow {
  margin-bottom: 16px;
  color: var(--purple);
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-container h2,
.references-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 220, 214, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}
.header-navigation {
  width: min(100%, var(--content));
  min-height: 72px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header-brand-link { flex: none; padding-block: 8px; }
.header-brand-logo { width: 132px; height: auto; }
.header-menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.header-menu-link {
  position: relative;
  padding-block: 25px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.header-menu-link::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.header-menu-link:hover::after { transform: scaleX(1); }
.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.language-switcher [aria-current="page"] { color: var(--ink); }
.language-switcher a:hover { color: var(--green); }
.header-menu-cta {
  padding: 12px 18px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.header-menu-cta:hover { background: #416400; }
.menu-toggle { display: none; }

.hero-section {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: clamp(68px, 8vw, 104px) var(--gutter) clamp(76px, 9vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: center;
}
.hero-kicker {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-kicker span {
  color: var(--purple);
  font-family: "Jost", sans-serif;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-title {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero-description {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
}
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.path-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top-width: 3px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.path-card-healthcare { border-top-color: var(--green); background: var(--green-pale); }
.path-card-it { border-top-color: var(--ink); background: var(--paper-warm); }
.path-card-kicker {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.path-card strong { margin-bottom: 8px; font-family: "Jost", sans-serif; font-size: 18px; }
.path-card > span:last-child { margin-top: auto; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.hero-stats {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.hero-stats div { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.hero-stats dt { font-family: "Jost", sans-serif; font-size: 34px; font-weight: 900; line-height: 1; }
.hero-stats dd { max-width: 180px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--night);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 38px 28px 80px;
}
.hero-visual-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: linear-gradient(#292825 1px, transparent 1px), linear-gradient(90deg, #292825 1px, transparent 1px);
  background-size: 38px 38px;
}
.hero-pillar { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pillar-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-pillar-healthcare { color: var(--green-light); }
.hero-pillar-it { color: #d26bd2; }
.hero-pillar strong { color: #fff; font-family: "Jost", sans-serif; font-size: 17px; }
.hero-pillar > span:last-child { margin-top: 5px; color: #aaa69e; font-size: 12px; }
.hero-connector { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.hero-connector span { width: 7px; height: 7px; border-radius: 50%; background: #43413d; }
.hero-connector b { width: 54px; height: 54px; border: 1px solid #373632; border-radius: 50%; background: #201f1d; display: grid; place-items: center; font-family: "Jost", sans-serif; font-size: 22px; }
.hero-visual-note {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #34332f;
  background: #1a1917;
  color: #d3d0c9;
  font-size: 13px;
}
.hero-visual-note span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green-light); }

.about-section { border-block: 1px solid var(--line-soft); background: var(--paper-warm); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 110px); align-items: start; }
.about-copy { padding-top: 30px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.about-copy .lead { color: var(--ink); font-size: 20px; line-height: 1.55; }

.healthcare-section { background: #fff; }
.section-heading-row {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr);
  gap: 48px;
  align-items: end;
}
.section-heading-row > p { margin-bottom: 5px; color: var(--muted); line-height: 1.7; }
.clinic-list { border-top: 1px solid var(--line); }
.clinic-card {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
}
.clinic-media { min-height: 235px; overflow: hidden; border-radius: 9px; background: var(--paper-warm); }
.clinic-media img { width: 100%; height: 100%; object-fit: cover; }
.clinic-media-contain img { object-fit: contain; }
.clinic-card-body { padding-block: 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr); gap: 0 42px; align-content: start; }
.clinic-number { grid-column: 1 / -1; margin-bottom: 18px; color: var(--green); font-family: "Jost", sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.clinic-card h3 { margin-bottom: 14px; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; }
.clinic-card-body > p:not(.clinic-number) { margin-bottom: 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.clinic-services { grid-column: 2; grid-row: 2 / span 3; margin: 0; padding: 0; list-style: none; }
.clinic-services li { padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 13px; }
.clinic-services li::before { content: "•"; margin-left: -18px; margin-right: 10px; color: var(--green); }
.clinic-action { justify-self: start; color: var(--green); font-size: 14px; font-weight: 700; }
.clinic-action:hover { text-decoration: underline; text-underline-offset: 4px; }

.it-section { background: var(--night); color: #fff; }
.it-layout { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr); gap: clamp(56px, 8vw, 110px); }
.it-section .section-eyebrow { color: var(--green-light); }
.it-intro { position: sticky; top: 112px; align-self: start; }
.it-intro h2 { margin-bottom: 24px; }
.it-intro > p:not(.section-eyebrow) { max-width: 490px; margin-bottom: 30px; color: #c6c3bc; font-size: 17px; line-height: 1.7; }
.button { min-height: 48px; padding: 13px 20px; border: 0; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 700; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--green-light); }
.button-primary { width: 100%; background: var(--green); color: #fff; }
.button-primary:hover { background: #416400; }
.it-service-list { margin: 0; padding: 0; border-top: 1px solid #34322f; list-style: none; }
.it-service-list li { padding: 28px 0; border-bottom: 1px solid #34322f; display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.it-service-list li > span { color: var(--green-light); font-family: "Jost", sans-serif; font-size: 12px; font-weight: 900; }
.it-service-list h3 { margin-bottom: 7px; font-size: 20px; }
.it-service-list p { margin-bottom: 0; color: #aaa69e; font-size: 14px; line-height: 1.65; }

.references-section { border-bottom: 1px solid var(--line); background: var(--paper-warm); }
.references-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1fr .6fr; gap: 60px; align-items: end; }
.references-heading > p { margin-bottom: 5px; color: var(--muted); line-height: 1.7; }
.case-list { border-top: 1px solid var(--line); }
.case-item { min-height: 102px; padding: 22px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr auto; gap: 22px; align-items: center; transition: padding .2s ease, background .2s ease; }
.case-item:hover { padding-inline: 16px; background: #fff; }
.case-index { color: var(--green); font-family: "Jost", sans-serif; font-size: 12px; font-weight: 900; }
.case-item strong { display: block; margin-bottom: 7px; font-family: "Jost", sans-serif; font-size: 20px; }
.case-item small { color: var(--muted); font-size: 13px; }
.case-item > span:last-child { font-size: 20px; }
.more-references { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(56px, 8vw, 110px); }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:not(.section-eyebrow) { color: var(--muted); line-height: 1.7; }
.contact-details { margin-top: 34px; font-style: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 28px; }
.contact-details div { padding-top: 14px; border-top: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-details a { color: var(--green); font-weight: 700; }
.contact-details p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.contact-form { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-warm); }
.form-heading { margin-bottom: 26px; }
.form-heading h3 { margin-bottom: 6px; font-size: 25px; }
.form-heading p, .form-help { color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #aaa79e;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--focus); outline: 3px solid rgba(0, 95, 204, .18); }
.form-help { margin: 7px 0 0; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--green); font-size: 13px; font-weight: 600; text-align: center; }
.privacy-note { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.privacy-note summary { color: var(--ink-soft); cursor: pointer; font-weight: 600; }
.privacy-note p { margin: 10px 0 0; }

.site-footer { background: var(--night); color: #b8b4ac; }
.footer-container { width: min(100%, var(--content)); margin-inline: auto; padding: 56px var(--gutter) 32px; }
.footer-main { padding-bottom: 38px; border-bottom: 1px solid #34322f; display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { max-width: 340px; }
.footer-logo { width: 150px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.65; }
.footer-nav { display: flex; gap: 72px; }
.footer-nav div { min-width: 120px; display: flex; flex-direction: column; gap: 11px; }
.footer-nav span { margin-bottom: 5px; color: #77746e; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.footer-nav a { font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #77746e; font-size: 12px; }
.footer-language-switcher { display: flex; gap: 7px; font-weight: 700; letter-spacing: .08em; }
.footer-language-switcher [aria-current="page"] { color: #d4d1ca; }
.footer-language-switcher a:hover { color: #fff; }

@media (max-width: 1020px) {
  .header-menu { gap: 18px; }
  .header-menu-cta { display: none; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .about-layout, .section-heading-row, .references-heading { grid-template-columns: 1fr; }
  .about-copy { max-width: 720px; padding-top: 0; }
  .section-heading-row, .references-heading { gap: 22px; }
  .section-heading-row > p, .references-heading > p { max-width: 620px; }
  .clinic-card-body { grid-template-columns: 1fr; }
  .clinic-services { grid-column: 1; grid-row: auto; margin-bottom: 22px; }
  .it-layout, .contact-layout { gap: 56px; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 72px; }
  .header-navigation { min-height: 68px; }
  .header-brand-logo { width: 118px; }
  .menu-toggle {
    min-width: 74px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
  }
  .menu-toggle-icon { width: 18px; display: grid; gap: 5px; }
  .menu-toggle-icon span { height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header-menu {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 10px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 18px 30px rgba(18, 17, 16, .08);
  }
  .header-menu.is-open { display: flex; }
  .header-menu-link { min-height: 54px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .header-menu-link::after { display: none; }
  .language-switcher { min-height: 52px; padding-top: 16px; font-size: 13px; }
  .header-menu-cta { margin-top: 14px; display: block; text-align: center; }

  .hero-section { padding-top: 56px; }
  .hero-title { font-size: clamp(42px, 11vw, 58px); }
  .hero-paths { grid-template-columns: 1fr; }
  .path-card { min-height: 150px; }
  .hero-visual { min-height: 390px; }
  .clinic-card { grid-template-columns: 1fr; }
  .clinic-media { min-height: 260px; }
  .it-layout, .contact-layout { grid-template-columns: 1fr; }
  .it-intro { position: static; }
  .contact-copy > p:not(.section-eyebrow) { max-width: 640px; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; --section-space: 68px; }
  .hero-section { padding-top: 46px; gap: 46px; }
  .hero-kicker { max-width: 270px; line-height: 1.5; }
  .hero-title { font-size: clamp(39px, 12vw, 51px); line-height: 1.02; }
  .hero-description { font-size: 16px; }
  .hero-stats { gap: 18px; }
  .hero-stats div { grid-template-columns: 1fr; gap: 6px; }
  .hero-stats dd { max-width: 145px; }
  .hero-visual { min-height: 335px; padding: 24px 12px 74px; }
  .hero-pillar-icon { width: 58px; height: 58px; }
  .hero-pillar strong { font-size: 14px; }
  .hero-connector b { width: 44px; height: 44px; font-size: 18px; }
  .hero-visual-note { right: 16px; bottom: 16px; left: 16px; }
  .section-container h2, .references-heading h2 { font-size: 36px; }
  .about-copy .lead { font-size: 18px; }
  .clinic-media { min-height: 215px; }
  .clinic-card-body { padding-inline: 2px; }
  .clinic-card h3 { font-size: 28px; }
  .case-item { grid-template-columns: 42px 1fr auto; gap: 10px; }
  .case-item small { line-height: 1.5; }
  .contact-details { grid-template-columns: 1fr; }
  .form-two-columns { grid-template-columns: 1fr; gap: 0; }
  .contact-form { margin-inline: -4px; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-nav { width: 100%; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
