:root {
  --milk: #fff8ed;
  --paper: #fffdf7;
  --aqua: #cbeeed;
  --aqua-strong: #a8dddb;
  --teal: #236d6b;
  --teal-deep: #164d4c;
  --coral: #ef6e68;
  --coral-deep: #a64240;
  --butter: #f6d784;
  --peach: #f7c8b8;
  --sage: #d8e5c8;
  --warm: #7b514c;
  --line: rgba(35, 109, 107, .2);
  --shadow: 0 24px 60px rgba(123, 81, 76, .14);
  --radius-xl: clamp(28px, 4vw, 64px);
  --radius-lg: clamp(22px, 3vw, 42px);
  --container: min(1440px, calc(100% - 48px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--milk); }
body {
  margin: 0;
  color: var(--teal-deep);
  background:
    radial-gradient(circle at 92% 4%, rgba(203, 238, 237, .75), transparent 24rem),
    var(--milk);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
section, footer { scroll-margin-top: 92px; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--teal-deep);
  border-radius: 12px;
  transform: translateY(-160%);
  pointer-events: none;
}
.skip-link:focus-visible { transform: translateY(0); pointer-events: auto; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 78px;
  padding: 12px max(24px, calc((100vw - 1440px) / 2));
  background: rgba(255, 248, 237, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  text-decoration: none;
}
.brand-mark { width: 48px; height: 48px; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  letter-spacing: .02em;
}
.brand-copy small {
  margin-top: 6px;
  color: var(--warm);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a, .footer-links a {
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}
.desktop-nav a { position: relative; padding: 14px 0; }
.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 2px;
  background: var(--coral);
  content: "";
  transition: right .22s ease;
}
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  color: var(--teal-deep);
  background: var(--aqua);
  border-radius: 999px;
  font-weight: 900;
}
.open-status i {
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(239, 110, 104, .13);
}
.lang-switch {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-switch button {
  width: 38px;
  height: 36px;
  padding: 0;
  color: var(--teal-deep);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: var(--paper); background: var(--teal); }
.header-call {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--paper);
  background: var(--coral-deep);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--teal);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
  transition: transform .2s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 16px;
  left: 16px;
  display: grid;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  min-height: 48px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
}
.mobile-menu a:last-child { border: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  width: var(--container);
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 104px) 0;
}
.hero-copy { max-width: 690px; padding-left: clamp(0px, 2vw, 28px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--teal);
  font-size: clamp(.69rem, 1vw, .78rem);
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow > span:first-child { color: var(--coral); font-size: .74rem; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .96; }
h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 6.25vw, 7.8rem);
  letter-spacing: -.065em;
}
h1 span, h1 em { display: block; }
h1 em { color: var(--coral-deep); font-weight: 400; }
.hero-intro {
  max-width: 580px;
  margin: 30px 0 26px;
  color: var(--warm);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px 16px 16px 4px;
  font-size: .83rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(123, 81, 76, .12); }
.button-primary { color: var(--paper); background: var(--coral-deep); }
.button-secondary, .button-light { color: var(--teal-deep); background: var(--paper); border-color: var(--line); }
.quiet-note, .demo-note { color: var(--warm); font-size: .72rem; }
.quiet-note { margin: 18px 0 0; }

.hero-portal { position: relative; min-width: 0; }
.portal-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.05;
  background: var(--aqua);
  border: 12px solid var(--paper);
  border-radius: 54% 54% 28px 28px / 30% 30% 28px 28px;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.portal-frame::after {
  position: absolute;
  z-index: 5;
  inset: 14px;
  border: 1px solid rgba(255, 253, 247, .72);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.portal-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.portal-shutter {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 51%;
  color: rgba(22, 77, 76, .54);
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent),
    var(--aqua);
  border: 1px solid rgba(35, 109, 107, .15);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 7rem);
  transition: transform 1s cubic-bezier(.22,.72,.2,1);
}
.portal-shutter-left { left: 0; transform: translateX(-86%); }
.portal-shutter-right { right: 0; transform: translateX(86%); }
body:not(.is-ready) .portal-shutter-left { transform: translateX(0); }
body:not(.is-ready) .portal-shutter-right { transform: translateX(0); }
.portal-badge {
  position: absolute;
  z-index: 6;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  padding: 14px 17px;
  color: var(--teal-deep);
  background: rgba(255, 253, 247, .94);
  border-radius: 18px 18px 18px 5px;
  box-shadow: 0 12px 30px rgba(123, 81, 76, .16);
  backdrop-filter: blur(10px);
}
.portal-badge > span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--paper); background: var(--coral); border-radius: 50%; }
.portal-badge p { display: grid; gap: 3px; margin: 0; }
.portal-badge small { color: var(--warm); font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.portal-badge strong { font-family: Georgia, serif; font-size: 1.05rem; }

.threshold {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: var(--container);
  margin: 0 auto clamp(100px, 12vw, 180px);
}
.threshold article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 5px;
}
.threshold article:nth-child(2) { background: var(--peach); }
.threshold article:nth-child(3) { background: var(--butter); }
.threshold-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(22,77,76,.3); border-radius: 50%; font-size: 1.2rem; }
.threshold p { display: grid; gap: 4px; margin: 0; }
.threshold strong { font-size: .88rem; }
.threshold small { color: var(--warm); font-size: .7rem; }

.services-section { width: var(--container); margin: 0 auto; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  column-gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .visit-intro h2, .social-copy h2, .contact-copy h2, .faq-heading h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 7rem);
  letter-spacing: -.06em;
}
.section-heading > p:last-child { max-width: 500px; margin: 0 0 8px; color: var(--warm); font-size: 1rem; }
.care-doors { display: grid; gap: 28px; }
.care-door {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  min-height: 600px;
  overflow: hidden;
  background: var(--aqua);
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 10px;
  isolation: isolate;
}
.care-door:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.care-door-surgery { background: var(--peach); }
.care-door-cardiology { background: var(--butter); }
.care-door-prevention { background: var(--sage); }
.door-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(34px, 6vw, 82px);
}
.door-number { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; border: 1px solid rgba(22, 77, 76, .35); border-radius: 50%; font-family: Georgia, serif; }
.door-kicker { margin: 34px 0 12px; color: var(--coral-deep); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.door-copy h3 { max-width: 10ch; font-size: clamp(2.5rem, 5.2vw, 6rem); letter-spacing: -.055em; }
.door-copy > p:not(.door-kicker) { max-width: 500px; margin: 20px 0 28px; color: var(--warm); }
.door-copy > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 48px;
  padding: 0 2px 8px;
  border-bottom: 1px solid currentColor;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}
.door-window {
  position: relative;
  min-width: 0;
  margin: 14px;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 12px);
}
.door-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.care-door::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: var(--aqua-strong);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transform-origin: right;
  transform: scaleX(0);
}
.care-door:nth-child(even)::after { transform-origin: left; }
.care-door:not(.is-visible)::after { transform: scaleX(1); }
.care-door.is-visible::after { transition: transform .85s cubic-bezier(.22,.72,.2,1); }

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(48px, 8vw, 120px);
  width: var(--container);
  margin: clamp(120px, 15vw, 220px) auto;
  padding: clamp(44px, 7vw, 90px);
  background: var(--teal);
  border-radius: var(--radius-xl) var(--radius-xl) 12px var(--radius-xl);
  color: var(--paper);
}
.visit-intro h2 { max-width: 11ch; color: var(--paper); }
.visit-intro > p:last-child { max-width: 500px; margin: 26px 0 0; color: var(--aqua); }
.visit-section .eyebrow { color: var(--paper); }
.visit-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.visit-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 253, 247, .24);
}
.visit-steps li:last-child { border-bottom: 1px solid rgba(255, 253, 247, .24); }
.visit-steps > li > span { display: grid; place-items: center; width: 52px; height: 52px; color: var(--teal-deep); background: var(--butter); border-radius: 50%; font-family: Georgia, serif; }
.visit-steps strong { font-family: Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 500; }
.visit-steps p { max-width: 420px; margin: 8px 0 0; color: var(--aqua); }

.social-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(44px, 8vw, 120px);
  width: var(--container);
  margin: 0 auto clamp(120px, 14vw, 210px);
}
.social-copy h2 { max-width: 11ch; }
.social-copy > p:last-child { max-width: 560px; margin: 26px 0 0; color: var(--warm); }
.social-links { display: grid; align-content: center; gap: 14px; }
.social-links a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 6px;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.social-links a:hover { transform: translateX(5px); background: var(--aqua); }
.social-icon { display: grid; place-items: center; width: 56px; height: 56px; color: var(--paper); background: var(--coral); border-radius: 18px; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.social-links p { display: grid; gap: 3px; min-width: 0; margin: 0; }
.social-links small { color: var(--warm); }
.social-links strong { overflow-wrap: anywhere; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  padding: 18px;
  background: var(--peach);
  border-radius: var(--radius-xl) var(--radius-xl) 12px var(--radius-xl);
}
.contact-copy { padding: clamp(30px, 5vw, 72px); }
.contact-copy h2 { max-width: none; }
.contact-copy dl { display: grid; margin: 38px 0; }
.contact-copy dl > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(123,81,76,.22); }
.contact-copy dl > div:last-child { border-bottom: 1px solid rgba(123,81,76,.22); }
.contact-copy dt { color: var(--teal); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-copy dd { margin: 0; color: var(--warm); font-weight: 800; }
.contact-copy dd a { text-decoration: none; }
.demo-note { max-width: 500px; margin: 22px 0 0; }
.map-wrap { position: relative; min-height: 620px; overflow: hidden; background: var(--aqua); border-radius: calc(var(--radius-xl) - 10px); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 620px; border: 0; }
.map-fallback {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 253, 247, .94);
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  box-shadow: var(--shadow);
}
.map-fallback > span { display: grid; place-items: center; width: 46px; height: 46px; color: var(--paper); background: var(--coral-deep); border-radius: 50%; }
.map-fallback p { display: grid; gap: 2px; margin: 0; }
.map-fallback small { color: var(--warm); }
.map-fallback a { min-height: 44px; padding: 12px 14px; color: var(--paper); background: var(--teal); border-radius: 12px; font-size: .75rem; font-weight: 900; text-decoration: none; }

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 120px);
  width: var(--container);
  margin: clamp(120px, 14vw, 210px) auto;
}
.faq-heading h2 { max-width: 8ch; }
.faq-list { display: grid; align-content: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px 0;
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .2s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: -10px 60px 28px 0; color: var(--warm); }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 54px;
  border-top: 1px solid var(--line);
}
footer > p { color: var(--warm); font-size: .72rem; text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 20px; }

.floating-whatsapp, .back-to-top {
  position: fixed;
  z-index: 90;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--paper);
  border: 4px solid var(--milk);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(123,81,76,.22);
}
.floating-whatsapp { left: 18px; background: var(--teal); font-size: 1.25rem; text-decoration: none; }
.back-to-top { right: 18px; background: var(--coral-deep); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (max-width: 1100px) {
  :root { --container: min(100% - 32px, 980px); }
  .site-header { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .desktop-nav, .header-call { display: none; }
  .open-status { min-width: 44px; padding: 0 12px; }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: .82fr 1.18fr; gap: 34px; }
  h1 { font-size: clamp(3.35rem, 7.4vw, 5.2rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .portal-frame { border-width: 8px; }
  .care-door { min-height: 520px; }
  .door-copy { padding: 44px; }
  .door-copy h3 { font-size: clamp(2.8rem, 5.8vw, 4.7rem); }
  .visit-section, .social-section, .faq-section { gap: 52px; }
  .contact-section { grid-template-columns: .9fr 1.1fr; }
  .contact-copy { padding: 34px; }
  .map-fallback { grid-template-columns: 42px 1fr; }
  .map-fallback a { grid-column: 1 / -1; text-align: center; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  html[lang="ru"] .care-door:nth-child(1),
  html[lang="ru"] .care-door:nth-child(4) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  html[lang="ru"] .care-door:nth-child(1) .door-copy h3,
  html[lang="ru"] .care-door:nth-child(4) .door-copy h3 {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .care-door,
  .care-door:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .care-door:nth-child(even) .door-window { order: 2; }
  .care-door:nth-child(even) .door-copy { order: 1; }
  .door-copy { min-height: 430px; padding: 36px; }
  .door-window { aspect-ratio: 4 / 3; min-height: 0; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 48px 0 26px; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; max-width: 11ch; }
  .hero-portal { order: 3; }
  .hero-intro { order: 4; margin-bottom: 0; }
  .hero-actions { order: 5; }
  .quiet-note { order: 6; }
  .portal-frame { max-height: 720px; aspect-ratio: 4 / 5; border-radius: 48% 48% 24px 24px / 23% 23% 24px 24px; }
  .portal-frame img { object-position: 50% 50%; }
  .portal-badge { right: 14px; bottom: 14px; }
  .threshold { grid-template-columns: 1fr; margin-top: 30px; }
  .threshold article { min-height: 88px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin-top: 24px; }
  .visit-section, .social-section, .contact-section, .faq-section { grid-template-columns: 1fr; }
  .visit-section { padding: 44px 30px; }
  .social-links { grid-template-columns: 1fr 1fr; }
  .social-links a { grid-template-columns: 54px 1fr; }
  .social-links a > b { display: none; }
  .contact-section { padding: 12px; }
  .map-wrap, .map-wrap iframe { min-height: 520px; }
  .faq-heading h2 { max-width: 11ch; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 24px); }
  .site-header { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy small, .open-status { display: none; }
  .header-actions { gap: 7px; }
  .lang-switch { height: 42px; }
  .lang-switch button { width: 34px; height: 34px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero { padding-top: 34px; gap: 24px; }
  .eyebrow { margin-bottom: 15px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); line-height: .93; }
  .hero-intro { font-size: .98rem; }
  .hero-actions { gap: 10px; }
  .button { min-height: 54px; }
  .portal-frame { aspect-ratio: 3 / 4; border-width: 6px; border-radius: 45% 45% 22px 22px / 18% 18% 22px 22px; }
  .portal-frame img { object-position: 50% 50%; }
  .portal-badge {
    gap: 8px;
    max-width: 186px;
    padding: 9px 11px;
    border-radius: 14px 14px 14px 4px;
  }
  .portal-badge > span { width: 31px; height: 31px; }
  .portal-badge small { font-size: .49rem; }
  .portal-badge strong { font-size: .9rem; }
  .portal-shutter { font-size: 3rem; }
  .threshold { gap: 8px; margin-bottom: 110px; }
  .threshold article { padding: 16px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .visit-intro h2, .social-copy h2, .contact-copy h2, .faq-heading h2 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.4rem);
    overflow-wrap: anywhere;
  }
  .section-heading > p:last-child { font-size: .93rem; }
  .care-doors { gap: 16px; }
  .care-door { border-radius: 28px 28px 28px 8px; }
  .door-copy { min-height: 370px; padding: 28px 24px; }
  .door-number { width: 48px; height: 48px; }
  .door-kicker { margin-top: 26px; font-size: .67rem; }
  .door-copy h3 { max-width: 100%; font-size: clamp(2.6rem, 12vw, 4rem); overflow-wrap: anywhere; }
  .door-copy > p:not(.door-kicker) { margin: 16px 0 22px; }
  .door-window { margin: 8px; border-radius: 22px; aspect-ratio: 4 / 3; }
  .door-window img { object-position: 50% 50%; }
  .visit-section { margin: 110px auto; padding: 34px 22px; border-radius: 30px 30px 8px 30px; }
  .visit-steps li { grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; }
  .visit-steps > li > span { width: 46px; height: 46px; }
  .visit-steps p { font-size: .9rem; }
  .social-section { margin-bottom: 110px; }
  .social-links { grid-template-columns: 1fr; }
  .social-links a { min-height: 82px; }
  .contact-copy { padding: 24px 12px 30px; }
  .contact-copy dl > div { grid-template-columns: 1fr; gap: 5px; }
  .contact-actions { display: grid; }
  .map-wrap, .map-wrap iframe { min-height: 440px; }
  .map-fallback { right: 10px; bottom: 10px; left: 10px; }
  .faq-section { margin: 110px auto; }
  .faq-list summary { min-height: 82px; font-size: 1.16rem; }
  .faq-list details p { margin-right: 0; }
  footer { grid-template-columns: 1fr; gap: 18px; padding-bottom: 94px; }
  footer > p { grid-column: auto; grid-row: auto; }
  .footer-links { justify-self: start; }
  .floating-whatsapp, .back-to-top { width: 50px; height: 50px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .floating-whatsapp { left: 12px; }
  .back-to-top { right: 12px; }
}

@media (max-width: 350px) {
  .brand-copy strong { font-size: .96rem; }
  .lang-switch button { width: 31px; }
  h1 { font-size: 2.88rem; }
  .portal-badge { max-width: 170px; }
  .portal-badge small { display: none; }
  .door-copy h3 { font-size: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .portal-shutter-left { transform: translateX(-86%) !important; }
  .portal-shutter-right { transform: translateX(86%) !important; }
  .care-door::after { transform: scaleX(0) !important; }
}
