:root {
  --paper: #f7f4ec;
  --paper-deep: #eee9de;
  --white: #fffefb;
  --ink: #17322f;
  --muted: #61726e;
  --teal: #0d665f;
  --teal-dark: #074b46;
  --teal-soft: #dbece7;
  --blue: #2164a7;
  --gold: #d7aa64;
  --line: rgba(23, 50, 47, 0.13);
  --shadow: 0 24px 60px rgba(20, 55, 51, 0.12);
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --page: min(1180px, calc(100% - 48px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  padding-bottom: 118px;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.3;
  background-image: radial-gradient(rgba(13, 102, 95, 0.08) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid #e5ae47;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 20px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-decoration: none;
  line-height: 1.05;
}
.brand__logo { width: 148px; height: auto; }
.brand small { display: block; margin-left: 6px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: 0.15em; }

.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover { color: var(--teal); }

.hero {
  width: var(--page);
  min-height: 690px;
  margin: 0 auto 70px;
  padding: 68px 64px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(13, 102, 95, 0.1);
  border-radius: 48px;
  background:
    linear-gradient(118deg, rgba(255, 254, 251, 0.98) 0%, rgba(245, 249, 245, 0.94) 49%, rgba(222, 239, 234, 0.9) 100%);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "ЛОРИЯ";
  position: absolute;
  right: -22px;
  bottom: -66px;
  color: rgba(13, 102, 95, 0.05);
  font-family: Georgia, serif;
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 470px;
  height: 470px;
  right: -80px;
  top: 40px;
  border-radius: 50%;
  background: rgba(13, 102, 95, 0.12);
  filter: blur(4px);
}
.hero__content { position: relative; z-index: 2; align-self: center; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero h1 { max-width: 670px; }
.hero__seo-title { display: block; margin-bottom: 10px; color: var(--teal); font-family: Arial, sans-serif; font-size: clamp(17px, 1.7vw, 22px); font-weight: 800; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; }
.hero__doctor { display: block; font-size: clamp(52px, 5.4vw, 78px); }
h2 { font-size: clamp(40px, 4.7vw, 66px); }
.hero__role { margin: 24px 0 4px; color: var(--teal); font-size: 23px; font-weight: 800; }
.hero__lead { max-width: 620px; margin: 8px 0 32px; color: #34514d; font-size: clamp(22px, 2.25vw, 31px); line-height: 1.35; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__facts span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.66); color: var(--muted); font-size: 12px; font-weight: 700; }
.hero__portrait { position: absolute; z-index: 1; right: 2%; bottom: 0; width: 46%; height: 96%; display: flex; align-items: flex-end; justify-content: center; }
.hero__portrait-shape { position: absolute; inset: 18% 3% 5%; border-radius: 46% 54% 18% 82% / 48% 38% 62% 52%; background: linear-gradient(145deg, #cce6df, #9fcfc5); }
.hero__portrait img { position: relative; width: min(100%, 520px); max-height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 28px 25px rgba(20, 55, 51, 0.15)); }

.section { width: var(--page); margin: 0 auto; padding: 92px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading > p:last-child { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading--row > p:last-child { max-width: 420px; margin: 0; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { min-height: 220px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 254, 251, 0.76); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(13, 102, 95, 0.28); box-shadow: 0 18px 44px rgba(20, 55, 51, 0.09); }
.service-card--featured { background: var(--teal); color: white; }
.service-card span { display: block; color: var(--gold); font-size: 13px; font-weight: 800; }
.service-card h3 { margin: 42px 0 8px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.15; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-card--featured p { color: rgba(255,255,255,0.72); }
.price-note { margin: 24px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold); color: var(--muted); font-size: 14px; }

.schedule { padding-top: 40px; }
.schedule__card { padding: 54px; display: grid; grid-template-columns: 0.9fr 1.5fr auto; gap: 42px; align-items: center; border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.schedule h2 { font-size: clamp(36px, 4vw, 52px); }
.schedule .eyebrow { color: #91d2c3; }
.schedule__hours { margin: 0; }
.schedule__hours div { padding: 12px 0; display: flex; justify-content: space-between; gap: 22px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.schedule__hours div:last-child { border-bottom: 0; }
.schedule__hours dt { color: rgba(255,255,255,0.62); }
.schedule__hours dd { margin: 0; font-weight: 800; white-space: nowrap; }
.text-link { color: #b9ded5; font-size: 14px; font-weight: 800; text-decoration: none; }

.location { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; }
.location__info address { max-width: 460px; margin: 30px 0; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.35; }
.location__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--teal); color: white; }
.button--primary:hover { background: var(--teal-dark); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,0.45); color: var(--teal); }
.map-shell { min-height: 460px; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--teal-soft); box-shadow: var(--shadow); }
.map-shell iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.map-placeholder { position: absolute; inset: 0; width: 100%; border: 0; display: grid; place-content: center; gap: 6px; background: radial-gradient(circle at 50% 45%, #f3faf7 0 11%, #d5eae4 12% 28%, #c5dfd9 29% 29.5%, #e3f0ec 30% 48%, #c7dfd9 49% 49.5%, #dcebe7 50%); color: var(--ink); cursor: pointer; }
.map-placeholder__pin { width: 55px; height: 55px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); color: var(--gold); font-size: 13px; box-shadow: 0 14px 30px rgba(13,102,95,0.24); }
.map-placeholder__pin::first-letter { transform: rotate(45deg); }
.map-placeholder strong { font-family: Georgia, serif; font-size: 25px; }
.map-placeholder small { color: var(--muted); }
.map-shell.is-loaded .map-placeholder { display: none; }

.office { padding-top: 110px; }
.office-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; grid-template-rows: 330px 330px; gap: 16px; }
.media-card, .video-card { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius-md); background: #d9e8e4; cursor: zoom-in; }
.media-card img, .video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.media-card:hover img, .video-card:hover img { transform: scale(1.035); }
.media-card--wide { grid-column: span 2; }
.media-card--portrait { grid-row: span 2; }
.video-card { display: block; cursor: pointer; color: white; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(8,41,38,0.84)); }
.video-card__play { position: absolute; z-index: 2; left: 24px; top: 24px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--teal); box-shadow: 0 10px 25px rgba(0,0,0,0.18); }
.video-card > span:last-child { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; text-align: left; }
.video-card strong, .video-card small { display: block; }
.video-card strong { font-family: Georgia, serif; font-size: 25px; }
.video-card small { margin-top: 3px; color: rgba(255,255,255,0.7); }

.certificates { overflow: hidden; }
.certificate-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 32%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 4px 0 20px; }
.certificate-strip button { min-height: 340px; position: relative; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); scroll-snap-align: start; cursor: zoom-in; }
.certificate-strip img { width: 100%; height: 290px; object-fit: contain; filter: saturate(0.82); transition: transform 200ms ease, filter 200ms ease; }
.certificate-strip button:hover img { transform: scale(1.02); filter: saturate(1); }
.certificate-strip span { position: absolute; right: 22px; top: 20px; padding: 5px 9px; border-radius: 999px; background: var(--teal); color: white; font-size: 11px; font-weight: 800; }
.swipe-hint { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.reviews { padding-top: 100px; }
.rating-badge { min-width: 220px; padding: 18px 22px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.62); }
.rating-badge strong { grid-row: span 2; font-family: Georgia, serif; font-size: 36px; }
.rating-badge span { color: #d99a2b; font-size: 15px; letter-spacing: 0.05em; }
.rating-badge small { color: var(--muted); font-size: 11px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,254,251,0.8); }
.review-card header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 22px; }
.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 12px; font-weight: 900; }
.review-card header a, .review-card header strong { display: block; color: var(--ink); font-size: 15px; font-weight: 800; }
.review-card header time { display: block; color: var(--muted); font-size: 11px; }
.stars { color: #d99a2b; font-size: 12px; letter-spacing: 0.03em; }
.review-card p { margin: 0 0 14px; color: #405753; line-height: 1.65; }
.review-card__text { position: relative; max-height: 112px; overflow: hidden; }
.review-card__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(transparent, var(--white)); }
.review-card.is-expanded .review-card__text { max-height: none; }
.review-card.is-expanded .review-card__text::after { display: none; }
[data-review-toggle] { padding: 5px 0; border: 0; background: none; color: var(--teal); font-size: 12px; font-weight: 900; cursor: pointer; }
.reviews-cta { margin-top: 18px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: var(--radius-md); background: var(--teal-soft); }
.reviews-cta p { margin: 0; font-family: Georgia, serif; font-size: 22px; }

.faq { padding-top: 100px; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-list details { padding: 0 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,254,251,0.82); }
.faq-list summary { padding: 20px 34px 20px 0; position: relative; color: var(--ink); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--teal); font-size: 25px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 0 21px; color: var(--muted); line-height: 1.65; }
.faq-list details a { color: var(--teal); font-weight: 800; }

.final-cta { margin-top: 30px; padding: 64px; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0c5f58, #0a443f); color: white; }
.final-cta h2 { max-width: 720px; }
.final-cta .eyebrow { color: #a2d8cc; }
.final-cta__details { align-self: end; padding-left: 30px; border-left: 1px solid rgba(255,255,255,0.16); }
.final-cta__details p, .final-cta__details address { margin: 8px 0; color: rgba(255,255,255,0.74); }

.site-footer { width: var(--page); margin: 0 auto; padding: 50px 0 30px; display: grid; grid-template-columns: 1fr 2fr auto; gap: 35px; align-items: end; color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }
.brand--footer .brand__logo { width: 132px; }

.contact-bar {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 16px;
  width: min(760px, calc(100% - 32px));
  min-height: 86px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 26px;
  background: rgba(255,254,251,0.9);
  box-shadow: 0 20px 50px rgba(20,55,51,0.22);
  backdrop-filter: blur(18px);
}
.contact-action { min-width: 0; padding: 12px 16px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 19px; font: inherit; text-decoration: none; cursor: pointer; }
.contact-action--appointment { min-height: 68px; background: linear-gradient(135deg, #6759d8, #8055c8); color: white; box-shadow: 0 10px 24px rgba(103, 89, 216, 0.28); }
.contact-action--appointment strong { font-size: 22px; line-height: 1.2; }

dialog { padding: 0; border: 0; background: transparent; }
dialog::backdrop { background: rgba(4, 24, 22, 0.8); backdrop-filter: blur(8px); }
.appointment-dialog { width: min(92vw, 520px); max-width: 520px; color: var(--ink); }
.appointment-dialog__card { position: relative; padding: 42px; border-radius: 24px; background: #fffefb; box-shadow: 0 24px 80px rgba(0,0,0,0.35); }
.appointment-dialog__card h2 { margin: 0; font-size: clamp(28px, 5vw, 38px); }
.appointment-dialog__card p { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.appointment-dialog__close { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f0ede8; color: var(--ink); font: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.appointment-dialog__phone { margin-top: 22px; padding: 16px; border-radius: 15px; background: #f0ede8; color: var(--ink); font-size: clamp(23px, 5vw, 28px); font-weight: 800; letter-spacing: 0.02em; line-height: 1.2; text-align: center; }
.appointment-dialog__actions { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.appointment-dialog__action { min-height: 52px; padding: 12px 16px; display: grid; place-items: center; border: 0; border-radius: 15px; font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.appointment-dialog__action--call { background: var(--teal); color: white; }
.appointment-dialog__action--copy { background: #ece9fb; color: #5145b5; }
.media-dialog, .video-dialog { max-width: min(92vw, 1240px); max-height: 90vh; overflow: visible; border-radius: 18px; }
.media-dialog img { max-width: 90vw; max-height: 86vh; border-radius: 14px; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,0.35); }
.video-dialog video { width: min(90vw, 1100px); max-height: 85vh; display: block; border-radius: 14px; background: #071411; box-shadow: 0 24px 80px rgba(0,0,0,0.4); }
.media-dialog__close { position: absolute; z-index: 2; right: -14px; top: -14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

@media (max-width: 980px) {
  .hero { min-height: 640px; padding: 50px 42px; grid-template-columns: 1fr 0.75fr; }
  .hero__doctor { font-size: clamp(46px, 6.5vw, 64px); }
  .hero__portrait { right: -2%; width: 48%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule__card { grid-template-columns: 1fr 1.35fr; }
  .schedule__card .text-link { grid-column: 2; }
  .location { gap: 35px; }
  .office-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 280px 280px; }
  .media-card--portrait { grid-row: auto; }
  .video-card { grid-column: span 2; }
  .certificate-strip { grid-auto-columns: 42%; }
  .site-footer { grid-template-columns: 1fr 2fr; }
  .site-footer > p:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --page: min(calc(100% - 28px), 620px); }
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 94px; font-size: 16px; }
  .site-header { height: 72px; }
  .brand__logo { width: 112px; }
  .brand small { margin-left: 4px; font-size: 7px; }
  .desktop-nav { display: none; }
  .hero { min-height: 760px; margin-bottom: 30px; padding: 38px 24px 0; display: block; border-radius: 30px; }
  .hero::after { right: -5px; bottom: -20px; font-size: 96px; }
  .hero__content { position: relative; z-index: 3; }
  .hero__doctor { font-size: clamp(42px, 12vw, 58px); }
  .hero__seo-title { max-width: 280px; font-size: 14px; }
  .hero__role { margin-top: 16px; font-size: 18px; }
  .hero__lead { max-width: 330px; margin-top: 6px; font-size: 20px; }
  .hero__facts { display: none; }
  .hero__portrait { right: -6%; bottom: 0; width: 78%; height: 57%; }
  .hero__portrait-shape { inset: 10% 2% 2%; }
  .hero__glow { width: 300px; height: 300px; right: -80px; top: 320px; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading > p:last-child { margin-top: 14px; font-size: 16px; }
  .section-heading--row { display: block; }
  .section-heading--row > p:last-child { margin-top: 15px; }
  h2 { font-size: clamp(37px, 10vw, 52px); }
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { min-height: 160px; padding: 22px; }
  .service-card h3 { margin-top: 25px; }
  .schedule { padding-top: 15px; }
  .schedule__card { padding: 31px 24px; grid-template-columns: 1fr; gap: 25px; border-radius: 26px; }
  .schedule__card .text-link { grid-column: auto; }
  .schedule__hours div { display: block; }
  .schedule__hours dd { margin-top: 3px; }
  .location { display: block; }
  .location__info { margin-bottom: 28px; }
  .location__info address { margin: 20px 0; font-size: 27px; }
  .location__actions { display: grid; }
  .map-shell, .map-shell iframe { min-height: 360px; }
  .office { padding-top: 75px; }
  .office-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 220px 240px; gap: 9px; }
  .media-card--wide { grid-column: span 2; }
  .media-card--portrait { grid-row: auto; }
  .media-card, .video-card { border-radius: 17px; }
  .video-card__play { left: 16px; top: 16px; width: 50px; height: 50px; }
  .video-card > span:last-child { left: 17px; bottom: 15px; }
  .certificate-strip { grid-auto-columns: 82%; }
  .certificate-strip button { min-height: 320px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .rating-badge { margin-top: 25px; width: fit-content; }
  .review-card { min-height: auto; padding: 22px; }
  .review-card header { grid-template-columns: auto 1fr; }
  .review-card .stars { grid-column: 2; }
  .reviews-cta { padding: 23px; display: block; }
  .reviews-cta .button { margin-top: 16px; min-width: 110px; }
  .final-cta { padding: 36px 24px; display: block; border-radius: 26px; }
  .final-cta__details { margin-top: 30px; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); }
  .site-footer { padding-bottom: 28px; display: block; }
  .site-footer p { margin-top: 18px; }
  .contact-bar { left: 0; bottom: 0; width: 100%; min-height: 82px; padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); grid-template-columns: 1fr; transform: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .contact-action { padding: 10px; border-radius: 16px; }
  .contact-action--appointment { min-height: 61px; }
  .contact-action--appointment strong { font-size: 19px; }
  .appointment-dialog__card { padding: 36px 24px 28px; }
  .media-dialog__close { right: 2px; top: -52px; }
}

@media (max-width: 390px) {
  .hero { min-height: 720px; }
  .hero__portrait { width: 86%; height: 54%; }
  .hero__doctor { font-size: 40px; }
  .hero__lead { font-size: 18px; }
  .appointment-dialog__actions { grid-template-columns: 1fr; }
}

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