:root {
  --bg: #f3f7f7;
  --paper: #ffffff;
  --ink: #0f2547;
  --muted: #5b6574;
  --line: #dce6e8;
  --green: #2f806f;
  --green-dark: #1f6f62;
  --green-soft: #eaf5ef;
  --blue: #1f6fb7;
  --blue-soft: #e8f4fb;
  --red: #df3f43;
  --red-soft: #fff0f0;
  --shadow: 0 14px 34px rgba(15, 37, 71, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f4f2;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.52;
}

a {
  color: inherit;
}

.wrap {
  width: min(1128px, calc(100% - 88px));
  margin: 0 auto;
}

.browser-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 22px auto;
  overflow: hidden;
  border: 1px solid #cfd4d7;
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 42px rgba(15, 37, 71, 0.12);
}

.browser-chrome {
  display: grid;
  grid-template-columns: 14px 14px 14px 34px 34px minmax(240px, 610px) 34px 34px;
  height: 48px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #d8dcde;
  background: linear-gradient(180deg, #f6f6f6, #eceeef);
  padding: 0 18px;
}

.traffic {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic.red { background: #ff5f57; }
.traffic.yellow { background: #ffbd2e; }
.traffic.green { background: #28c840; }

.chrome-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: #8a929a;
  font-size: 30px;
  line-height: 1;
}

.address-bar {
  width: min(610px, 42vw);
  height: 30px;
  border-radius: 10px;
  background: white;
}

.chrome-plus,
.chrome-copy {
  color: #66717e;
  font-size: 24px;
  text-align: center;
}

.chrome-copy {
  width: 17px;
  height: 17px;
  border: 1.8px solid #66717e;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 6;
  border-bottom: 1px solid var(--line);
  background: white;
}

.header-inner {
  display: grid;
  grid-template-columns: 318px minmax(0, 1fr) 220px;
  min-height: 92px;
  align-items: center;
  column-gap: 20px;
  row-gap: 12px;
}

.header-inner > .brand {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
}

.header-inner > .main-nav {
  grid-column: 2;
  justify-self: center;
}

.header-inner > .header-lang {
  grid-column: 3;
  justify-self: end;
  width: 220px;
}

.header-lang {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.lang-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switcher li {
  margin: 0;
  padding: 0;
}

.lang-badge {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: var(--muted);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lang-badge-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.lang-badge-fallback {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.lang-badge:hover,
.lang-badge:focus {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
}

.lang-badge:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 128, 111, 0.35);
}

.lang-badge.is-active {
  border-color: var(--green-dark);
  background: var(--green-soft);
  color: var(--green-dark);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 318px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mini-icon,
.notice-icon svg,
.icon svg,
.title-icon svg,
.emergency-mark svg,
.route-mark svg,
.whatsapp-link svg,
.prescription-art svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon svg {
  width: 28px;
  height: 28px;
}

.title-icon svg {
  width: 18px;
  height: 18px;
}

.notice-icon svg {
  width: 28px;
  height: 28px;
}

.emergency-mark svg,
.route-mark svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.2;
}

.prescription-art svg {
  width: 104px;
  height: 104px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 28px);
  min-width: 0;
}

.main-nav a {
  position: relative;
  color: #1f2e43;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a.is-active,
.main-nav a:hover,
.main-nav a:focus {
  color: var(--green-dark);
}

.main-nav a.is-active::after,
.main-nav a:hover::after,
.main-nav a:focus::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}

@media (min-width: 981px) {
  .main-nav {
    flex-wrap: nowrap;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e4eeee;
  background:
    linear-gradient(90deg, rgba(237, 248, 249, 0.96), rgba(245, 251, 252, 0.86)),
    linear-gradient(180deg, #edf8fb 0%, #f9fcfc 100%);
  height: 568px;
  padding: 42px 0 104px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr) 350px;
  min-height: 394px;
  align-items: start;
  gap: 14px;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 382px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  hyphens: none;
}

h1,
h2 {
  font-family: var(--serif);
}

h1 {
  max-width: 520px;
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
}

h2 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.2;
}

h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.3;
}

.lead {
  max-width: 470px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--green-dark);
  border-radius: 7px;
  background: white;
  color: var(--green-dark);
  font-weight: 800;
  padding: 12px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.button-row .button {
  min-width: 220px;
}

.button.primary {
  background: linear-gradient(180deg, #319180, var(--green-dark));
  color: white;
}

.button.primary.blue {
  border-color: #195f9f;
  background: linear-gradient(180deg, #287dc4, #195f9f);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: -20px;
  right: -70px;
  bottom: 0;
  left: 165px;
  min-height: 0;
  margin-top: 0;
  pointer-events: none;
}

.hero-visual img {
  position: absolute;
  right: 130px;
  bottom: -18px;
  width: min(1080px, 86vw);
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 28px rgba(15, 37, 71, 0.08));
  mix-blend-mode: multiply;
  opacity: 0.95;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.18) 32%, rgba(0, 0, 0, 0.7) 43%, #000 54%, #000 90%, transparent 100%);
}

.notice-card,
.hours-card,
.contact-card,
.action-card,
.service-card,
.prescription-card,
.emergency-panel,
.route-panel,
.contact-detail div {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.notice-card {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  margin-top: 20px;
  min-height: 304px;
  padding: 28px 28px 26px;
  position: relative;
  z-index: 3;
}

.notice-head {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.notice-icon,
.icon,
.title-icon,
.emergency-mark,
.route-mark {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
}

.notice-icon {
  width: 52px;
  height: 52px;
  background: #dff0f4;
  color: #145e72;
}

.notice-date {
  display: block;
  margin-bottom: 13px;
  color: var(--green-dark);
}

.notice-card h2 {
  margin: 0;
  font-size: 21px;
  white-space: nowrap;
}

.notice-card h3 {
  color: var(--ink);
  font-size: 18px;
}

.quick-actions {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

.section {
  padding: 18px 0;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-card {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 124px;
  align-items: center;
  column-gap: 18px;
  padding: 24px;
  text-decoration: none;
}

.action-card h3,
.action-card p {
  grid-column: 2;
}

.action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.icon {
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  font-size: 13px;
}

.soft-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.soft-blue {
  background: var(--blue-soft);
  color: #165f74;
}

.soft-red {
  background: #ffdede;
  color: var(--red);
}

.action-card.urgent {
  border-color: #f2d0d0;
}

.info-grid,
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hours-card,
.contact-card {
  padding: 24px 28px;
}

.hours-card h2,
.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  padding-bottom: 16px;
}

.title-icon {
  width: 28px;
  height: 28px;
  background: #eef7f4;
  color: var(--green-dark);
}

.hours-row,
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.hours-row strong,
.contact-row span {
  color: #27364c;
  font-weight: 500;
}

.hours-row span,
.contact-row strong {
  color: #233249;
  font-weight: 600;
  text-align: right;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 9px;
  min-width: 218px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--green-dark);
  border-radius: 7px;
  color: var(--green-dark);
  background: linear-gradient(180deg, #ffffff, var(--green-soft));
  box-shadow: 0 8px 18px rgba(31, 111, 98, 0.10);
  font-weight: 800;
  text-decoration: none;
}

.whatsapp-link:hover {
  background: linear-gradient(180deg, #f7fffb, #dff1e9);
}

.hours-card p,
.contact-card small {
  color: var(--muted);
}

.section-head.centered {
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
}

.section-head.centered h2 {
  margin-bottom: 4px;
}

.section-head.centered p {
  margin: 0;
  color: var(--muted);
}

.centered-icon {
  margin: 0 auto 6px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 138px;
  padding: 18px 14px;
  text-align: center;
}

.service-card .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  background: #edf6f1;
  color: var(--green-dark);
}

.extracted-badge {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.service-card .icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.service-card h3 {
  font-size: 16px;
}

.prescription-band,
.bottom-panels {
  padding: 14px 0 20px;
}

.prescription-card {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  align-items: center;
  gap: 26px;
  border-color: #b7d8cf;
  background: linear-gradient(90deg, #f4fbf8, #eff8f7);
  padding: 18px 28px;
}

.prescription-card h2 {
  margin-bottom: 8px;
}

.prescription-card p,
.prescription-card small {
  color: var(--muted);
}

.prescription-art {
  position: relative;
  display: grid;
  width: 112px;
  height: 108px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at 72% 78%, #dbeee6 0 24%, transparent 25%);
  color: var(--green-dark);
  transform: none;
}

.prescription-art img {
  display: block;
  width: 118px;
  height: 112px;
  object-fit: contain;
}

.prescription-art .paper {
  fill: #fffdf8;
  stroke: #8a9288;
}

.prescription-art .board {
  fill: #d4c7b8;
  stroke: #8a9288;
}

.prescription-art .clip {
  fill: none;
  stroke: #2d806f;
}

.prescription-art .bottle {
  fill: #e6f1e9;
  stroke: #2d806f;
}

.prescription-art .cap {
  fill: #f8fbf8;
  stroke: #2d806f;
}

.prescription-art .rx {
  fill: none;
  stroke: #7f867d;
}

.prescription-art svg {
  filter: drop-shadow(0 9px 9px rgba(15, 37, 71, 0.12));
}

.emergency-panel,
.route-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 160px;
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.emergency-panel {
  position: relative;
  overflow: hidden;
  border-color: #f0bfc0;
  background:
    linear-gradient(90deg, rgba(255, 247, 247, 0.96), rgba(255, 255, 255, 0.9)),
    var(--red-soft);
}

.ecg-line {
  position: absolute;
  right: 28px;
  top: 38px;
  width: 116px;
  height: auto;
  opacity: 0.78;
}

.emergency-panel > :not(.ecg-line) {
  position: relative;
  z-index: 1;
}

.emergency-panel h2 {
  color: #bf1f28;
}

.emergency-panel p,
.route-panel p {
  margin: 5px 0;
}

.emergency-mark {
  width: 72px;
  height: 72px;
  background: var(--red);
  color: white;
  box-shadow: 0 10px 22px rgba(223, 63, 67, 0.24);
}

.route-panel {
  position: relative;
  overflow: hidden;
  display: block;
  border-color: #bad4ea;
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.96), rgba(255, 255, 255, 0.78)),
    var(--blue-soft);
}

.map-line {
  position: absolute;
  right: -2px;
  top: 6px;
  width: 210px;
  height: auto;
  opacity: 0.95;
}

.route-panel > :not(.map-line) {
  position: relative;
  z-index: 1;
}

.route-layout {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 18px;
  align-items: center;
}

.route-copy {
  min-width: 0;
}

.route-copy h2 {
  margin-bottom: 7px;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 2;
  margin: 0;
}

.route-actions .button {
  min-width: 142px;
}

.route-mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: none;
  color: inherit;
  box-shadow: none;
  border-radius: 0;
}

address {
  color: #21334c;
  font-style: normal;
  font-weight: 700;
}

.page-hero {
  padding: 58px 0 36px;
  background: #eef7f4;
}

.page-hero .eyebrow,
.card-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-content {
  background: white;
}

.praxis-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(237, 248, 249, 0.96) 0%, rgba(244, 250, 249, 0.82) 42%, rgba(255, 255, 255, 0.08) 72%),
    #f7fbfa;
}

.praxis-hero-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  min-height: 300px;
  align-items: center;
  gap: 28px;
}

.praxis-hero-copy {
  position: relative;
  z-index: 2;
}

.praxis-hero-copy h1 {
  font-size: 58px;
}

.praxis-hero-media {
  height: 300px;
  margin-right: -54px;
}

.praxis-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.praxis-overview {
  padding: 34px 0 36px;
  background: white;
}

.praxis-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 46px;
  align-items: start;
}

.praxis-team > p {
  margin: 0 0 22px;
  color: var(--muted);
}

.praxis-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  object-position: center top;
}

.team-card div {
  border-top: 1px solid #edf2f2;
  padding: 14px 14px 16px;
}

.team-card h3 {
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 18px;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.praxis-values {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.praxis-values h2 {
  font-size: 22px;
}

.value-list {
  display: grid;
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.value-item:first-child {
  padding-top: 10px;
}

.value-item:last-child {
  border-bottom: 0;
}

.value-item .icon {
  width: 58px;
  height: 58px;
}

.value-item h3 {
  color: var(--green-dark);
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 36px;
  font-size: 28px;
}

.inline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-top: 24px;
}

.contact-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.contact-detail div {
  padding: 18px;
}

.contact-detail span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-detail strong,
.contact-detail small {
  display: block;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}

.footer-grid > .footer-brand {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
}

.footer-grid > nav {
  grid-column: 2;
  justify-self: center;
}

.footer-brand .brand-mark {
  width: 54px;
  height: 54px;
}

.footer-brand strong {
  font-size: 18px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer nav a {
  text-decoration: none;
}

.mockup-note {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 12px 20px 16px;
  text-align: center;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 14px;
    align-items: center;
  }

  .header-inner > .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
  }

  .header-inner > .header-lang {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: auto;
    flex-shrink: 0;
  }

  .header-inner > .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  .hero-grid,
  .prescription-card,
  .praxis-hero-grid,
  .praxis-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .praxis-hero-media {
    height: 260px;
    margin: 0 -24px;
    order: 2;
  }

  .praxis-values {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 28px;
  }

  .footer-grid > .footer-brand,
  .footer-grid > nav {
    grid-column: auto;
    justify-self: start;
  }

  .footer-grid > nav {
    justify-self: stretch;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .lang-switcher {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .hero-visual {
    min-height: 250px;
    order: 2;
  }

  .notice-card {
    order: 3;
  }

  .card-grid.four,
  .info-grid,
  .bottom-grid,
  .service-strip,
  .praxis-team-grid,
  .inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 0;
    padding: 14px 0;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 21px;
  }

  .main-nav {
    gap: 12px;
  }

  .header-lang {
    width: auto;
    justify-content: flex-end;
    justify-self: end;
  }

  .lang-badge {
    width: 32px;
    height: 32px;
  }

  .lang-badge-img {
    width: 22px;
    height: 22px;
  }

  .button {
    width: 100%;
  }

  .hero {
    height: auto;
    padding: 34px 0 72px;
  }

  .hero-visual {
    min-height: 210px;
  }

  .hero-visual img {
    inset: -18px -16px -22px -16px;
    width: calc(100% + 32px);
    height: calc(100% + 40px);
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 19px;
  }

  .card-grid.four,
  .info-grid,
  .bottom-grid,
  .service-strip,
  .praxis-team-grid,
  .inline-grid,
  .contact-detail {
    grid-template-columns: 1fr;
  }

  .praxis-hero-copy h1 {
    font-size: 42px;
  }

  .praxis-hero-grid {
    min-height: 0;
    gap: 20px;
    padding-top: 30px;
  }

  .praxis-hero-media {
    height: 220px;
  }

  .quick-actions {
    margin-top: -34px;
  }

  .action-card {
    min-height: 108px;
  }

  .hours-row,
  .contact-row {
    display: grid;
  }

  .hours-row span,
  .contact-row strong {
    text-align: left;
  }

  .route-layout {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .route-actions {
    grid-column: 1;
    margin-left: 0;
  }
}
