/* Дентал Студио — clinic UI, composition after mir-dentalia */

:root {
  --deep: #4b2080;
  --deep-2: #3a1868;
  --royal: #6b3aa0;
  --purple: #8b62c4;
  --cta: #5a2d8c;
  --cta-hover: #3a1868;
  --cta-bar: #e8def6;
  --cta-bar-ink: #1e1233;
  --lavender: #d4c4ec;
  --mist: #f3eef9;
  --bg: #f8f5fc;
  --surface: #ffffff;
  --ink: #1e1233;
  --muted: #6a5a80;
  --line: #e4d8f2;
  --focus: #6b3aa0;
  --success: #215c45;
  --success-bg: #e8f5ee;
  --error: #8f2440;
  --error-bg: #fdecef;
  --header-top-h: 114px;
  --header-bottom-h: 69px;
  --radius: 30px;
  --radius-sm: 0.4rem;
  --shadow: 0 18px 50px rgba(75, 32, 128, 0.12);
  --shadow-soft: 0 10px 40px rgba(75, 32, 128, 0.08);
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --max: 1230px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-menu-open,
html.is-menu-open body {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 26px;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 400;
}

main {
  flex: 1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--royal);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--cta);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--deep);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - 60px, var(--max));
  margin-inline: auto;
}

.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;
}

/* Header — two rows like the prototype */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  position: relative;
  z-index: 80;
  background: var(--surface);
  min-height: var(--header-top-h);
  padding: 22px 0 15px;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 77px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex: none;
  color: inherit;
}

.logo:hover {
  opacity: 0.92;
  color: inherit;
}

.logo-seal {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 6px 18px rgba(75, 32, 128, 0.18);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--deep);
}

.logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 420px) {
  .logo-seal {
    width: 56px;
    height: 56px;
  }

  .logo-name {
    font-size: 0.92rem;
  }
}

.header-info {
  display: none;
}

.header-helpers {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  flex: none;
}

.header-call-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  background: var(--deep);
  color: #fff;
  margin-left: auto;
}

.header-call-icon:hover,
.header-call-icon:focus-visible {
  background: var(--cta);
  color: #fff;
}

.header-call-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-toggle-bars {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: #fff;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-bottom-inner {
  display: flex;
  align-items: center;
  min-height: 0;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 60;
  background: var(--deep-2);
  padding: calc(var(--header-top-h) + 1.1rem) 1.35rem 2rem;
  overflow: auto;
}

.site-nav.is-open .header-bottom-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-list a,
.nav-list .nav-btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.85rem;
  text-align: left;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0 0.2rem;
  line-height: 1.2;
  cursor: pointer;
}

.nav-list a:hover,
.nav-list .nav-btn:hover,
.nav-list a.is-active,
.nav-list .nav-btn[aria-expanded="true"] {
  color: var(--lavender);
}

.nav-sub {
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0 0 0 0.7rem;
  display: none;
}

.has-sub.is-open .nav-sub {
  display: block;
}

.nav-sub a {
  font-weight: 500;
  font-size: 0.92rem;
  color: #f4eef1;
}

.nav-mobile-extra {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.nav-mobile-extra .btn {
  width: 100%;
  height: 46px;
  min-height: 46px;
  font-size: 15px;
  line-height: 16px;
}

.nav-mobile-phone {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
}

.nav-mobile-phone-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-mobile-phone:hover {
  color: var(--lavender);
}

.messenger-links {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.messenger-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: none;
}

.messenger-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.messenger-link--viber {
  color: #7360f2;
}

.messenger-link--whatsapp {
  color: #25d366;
}

.messenger-link--telegram {
  color: #2aabee;
}

.messenger-link:hover,
.messenger-link:focus-visible {
  background: var(--mist);
}

.messenger-links--nav .messenger-link:hover,
.messenger-links--nav .messenger-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  display: none;
}

.header-phone-btn span {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-sizing: border-box;
  height: 46px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--royal);
  border-color: var(--royal);
}

.btn-outline:hover {
  background: var(--mist);
  color: var(--deep);
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--lavender);
}

.btn-ghost:hover {
  background: var(--mist);
  color: var(--deep);
}

.btn-light {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--mist);
  color: var(--deep);
}

.btn-lg {
  height: 46px;
  min-height: 46px;
  padding-inline: 24px;
  font-size: 15px;
  line-height: 16px;
}

.btn-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

/* Notice ticker */

.header-notice {
  overflow: hidden;
  background: var(--deep-2);
  color: #f8eef1;
  font-size: 14px;
  font-weight: 500;
  line-height: 44px;
  height: 44px;
}

.header-notice-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: notice-ticker 28s linear infinite;
}

.header-notice:hover .header-notice-track {
  animation-play-state: paused;
}

.header-notice-item {
  margin: 0;
  white-space: nowrap;
}

@keyframes notice-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hero — full-width slider */

.hero {
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  background: var(--deep);
}

.hero-slider-track {
  display: grid;
}

.hero-slide {
  position: relative;
  min-height: 18.5rem;
  height: auto;
  display: flex;
  align-items: center;
  padding: 2.2rem 0 4.6rem;
}

.hero-slider[data-slider="fade"] .hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-slider[data-slider="fade"] .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-slide-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(75, 32, 128, 0.92) 0%, rgba(90, 45, 140, 0.62) 48%, rgba(75, 32, 128, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  width: 100%;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  color: var(--lavender);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.hero h1,
.hero-slide-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 5vw, 3rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(20, 8, 28, 0.18);
  overflow-wrap: break-word;
}

.hero-lede {
  color: #f4eef1;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 34rem;
  margin: 0 0 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.advantage-band {
  position: relative;
  z-index: 2;
  margin-top: -3.4rem;
}

.advantage-card {
  background: var(--surface);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
  padding: 1.15rem 1rem;
  display: grid;
  gap: 1.1rem;
}

.advantage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
}

.advantage-ico {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--royal);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex: none;
}

.advantage-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--royal);
}

.advantage-title b {
  color: var(--cta);
  font-weight: 700;
}

/* Sections */

.section {
  padding: 2.6rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.4rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--royal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  font-size: 35px;
  color: var(--ink);
}

.services-section .section-title {
  text-align: center;
}

.lede {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40rem;
  margin: 0 0 1rem;
}

.section-muted {
  background: var(--surface);
}

.section-cta {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #f4eef6;
}

.section-cta .section-title,
.section-cta .lede {
  color: var(--ink);
}

.services-section .section-title {
  margin-bottom: 0.55rem;
}

.services-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.services-columns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.services-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  color: inherit;
  margin-bottom: 0.45rem;
}

.services-top:hover {
  color: inherit;
}

.services-photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--mist);
}

.services-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  padding-right: 18px;
  color: var(--deep);
}

.services-lead {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.services-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-menu li {
  border-top: 1px solid var(--line);
}

.services-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0;
  color: var(--royal);
  font-size: 0.92rem;
  font-weight: 500;
}

.services-menu a:hover {
  color: var(--cta);
}

.visit-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.visit-steps li {
  background: var(--surface);
  border-radius: 0.65rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.visit-steps span {
  display: block;
  font-weight: 800;
  color: var(--cta);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.visit-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--deep);
}

.visit-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--surface);
  border-radius: 0.55rem;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep);
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-item a {
  font-weight: 700;
}

.price-howto {
  background: var(--mist);
  border-radius: 0.65rem;
  padding: 1.2rem 1.25rem 1.3rem;
  margin-bottom: 1.6rem;
}

.price-howto h2 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: var(--deep);
}

.price-howto ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--muted);
}

.price-howto li + li {
  margin-top: 0.5rem;
}

.visit-guide-grid {
  display: grid;
  gap: 1.1rem;
}

.visit-guide-grid article {
  background: var(--surface);
  border-radius: 0.65rem;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.visit-guide-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--deep);
}

.visit-guide-grid p {
  margin: 0;
  color: var(--muted);
}

.related-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.related-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.related-list a {
  color: var(--royal);
  font-weight: 700;
}

.related-list .price {
  margin-left: auto;
  color: var(--royal);
  font-weight: 800;
  white-space: nowrap;
}

.about-grid,
.split {
  display: grid;
  gap: 1.4rem;
}

.about-photo {
  margin: 0;
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow-soft);
  min-height: 14rem;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.hours-card,
.contact-card {
  background: var(--mist);
  border-radius: 0.65rem;
  padding: 1.2rem 1.25rem;
  color: var(--ink);
}

.phone-xl {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: var(--deep);
  display: block;
}

.phone-xl:hover {
  color: var(--cta);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 1.5rem 0 0.4rem;
}

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

.prose.contract {
  max-width: 52rem;
}

.prose.contract p,
.prose.contract li {
  color: var(--ink);
  line-height: 1.65;
}

.prose.contract h2 {
  margin-top: 2rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.prose.contract ul {
  margin: 0.35rem 0 1rem 1.15rem;
  padding: 0;
}

.prose.contract li {
  margin: 0.28rem 0;
}

.prose.contract .contract-requisites p {
  margin: 0.15rem 0;
  color: var(--ink);
}

.prose.contract h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 1rem 0 0.5rem;
  color: var(--deep);
}

.prose.contract .contract-terms {
  margin: 0.4rem 0 1rem;
}

.prose.contract .contract-terms dt {
  font-weight: 800;
  color: var(--deep);
  margin-top: 0.85rem;
}

.prose.contract .contract-terms dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
  line-height: 1.65;
}

.prose.contract table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.prose.contract th,
.prose.contract td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.45rem;
  text-align: left;
  vertical-align: top;
  color: var(--ink);
}

.prose.contract th {
  font-weight: 800;
  color: var(--deep);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0;
}

.price-group {
  margin-bottom: 1.6rem;
}

.price-group-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed #ddcfd4;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row a,
.price-row span {
  color: var(--ink);
  font-weight: 500;
}

.price-row a:hover {
  color: var(--cta);
}

.price-row b {
  font-weight: 800;
  color: var(--royal);
  white-space: nowrap;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.78);
}

.crumbs a:hover {
  color: #fff;
}

.page-hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(75, 32, 128, 0.90) 0%, rgba(90, 45, 140, 0.72) 100%),
    url("../img/generated/page-hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 2.1rem 0 2.2rem;
}

.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 0.7rem;
  color: #fff;
  overflow-wrap: break-word;
}

.page-hero-lead,
.page-hero p {
  max-width: 44rem;
  margin: 0;
  color: #f3e8ef;
  font-weight: 500;
}

.page-hero-actions {
  margin-top: 1.1rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.service-price-badge {
  display: inline-block;
  margin: 0 0 0.85rem !important;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  font-weight: 800;
  font-size: 1.05rem;
}

.service-price-card {
  background: var(--mist);
  border-radius: 0.65rem;
  padding: 1.1rem 1.2rem;
  margin: 0 0 1.4rem;
}

.service-price-card-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.service-price-card-value {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--deep);
}

.service-price-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.service-item h2 a {
  color: inherit;
}

.service-item h2 a:hover {
  color: var(--cta);
}

.price-table a {
  color: inherit;
  font-weight: 700;
}

.price-table a:hover {
  color: var(--cta);
}

.service-layout {
  display: grid;
  gap: 1.6rem;
}

.side-menu {
  background: var(--surface);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-soft);
  padding: 0.6rem 0.55rem 0.8rem;
}

.side-menu-title {
  margin: 0.4rem 0.7rem 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.75rem;
  border-radius: 0.3rem;
  color: var(--royal);
  font-weight: 700;
  font-size: 0.92rem;
}

.side-menu a:hover,
.side-menu a.is-active {
  background: var(--mist);
  color: var(--cta);
}

.service-items {
  display: grid;
  gap: 0;
}

.service-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.service-item h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.service-item .price {
  color: var(--royal);
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.service-item p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.service-item p:last-child {
  margin-bottom: 0;
}

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.price-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--royal);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-tabs a:hover {
  border-color: var(--royal);
  color: var(--deep);
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin-bottom: 1.4rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 28rem;
}

.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: var(--deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.price-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.price-table tbody tr:hover {
  background: var(--mist);
}

.price-table td:last-child {
  font-weight: 800;
  color: var(--royal);
  white-space: nowrap;
}

.price-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.category-block {
  margin-bottom: 2rem;
}

.category-block h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.category-block .cat-lead {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

/* Contacts: map as full-bleed background, card on the left */

.contacts-map {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  overflow: hidden;
  background: #e4d6dc;
}

.contacts-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contacts-map-bg iframe {
  position: absolute;
  top: -8%;
  left: -6%;
  width: 155%;
  height: 116%;
  border: 0;
  pointer-events: none;
}

.contacts-map .clinic-map-pin {
  position: absolute;
  left: 71.5%;
  top: 50%;
  width: 56px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 10px 18px rgba(40, 24, 32, 0.35));
  pointer-events: none;
  z-index: 1;
}

.contacts-map .clinic-map-pin svg {
  display: block;
  width: 56px;
  height: auto;
}

.contacts-map-inner {
  position: relative;
  z-index: 2;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 2.4rem 0;
}

.contacts-white {
  background: var(--surface);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem 1.7rem;
  width: min(100%, 26.5rem);
}

.contacts-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.88rem;
}

.contacts-white-phones {
  display: grid;
  gap: 0.25rem;
  margin: 0.85rem 0 0.9rem;
}

.contacts-white-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0;
  color: var(--ink);
}

.contacts-white .lede {
  margin-bottom: 0.4rem;
}

.contacts-white .section-title {
  margin-bottom: 0.55rem;
}

.contacts-white .section-kicker {
  margin-bottom: 0.45rem;
}

@media (max-width: 759px) {
  .contacts-map,
  .contacts-map-inner {
    min-height: 520px;
  }

  .contacts-map-bg iframe {
    top: 12%;
    left: 0;
    width: 160%;
    height: 110%;
  }

  .contacts-map .clinic-map-pin {
    left: 80%;
    top: 67%;
  }

  .contacts-map-inner {
    align-items: flex-start;
    padding: 1.4rem 0 2rem;
  }
}

.empty-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.8rem 0 0;
}

/* Form */

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

.field label,
.field .label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
}

.req {
  color: var(--cta);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dcc8d4;
  border-radius: 0.4rem;
  padding: 0.65rem 0.8rem;
  min-height: 44px;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--lavender);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(122, 58, 140, 0.18);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--error);
}

.field-error {
  display: none;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.field.is-invalid .field-error {
  display: block;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  min-height: 44px;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0;
  accent-color: var(--royal);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: 0.45rem;
  font-weight: 600;
}

.form-status.is-success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: var(--error-bg);
  color: var(--error);
}

#zapis,
.category-block {
  scroll-margin-top: 7.5rem;
}

.form-panel {
  background: var(--surface);
  border-radius: 0.65rem;
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.section-cta .form-panel .section-title {
  color: var(--ink);
}

.section-cta .form-panel .lede {
  color: var(--muted);
  opacity: 1;
}

#otzyv {
  scroll-margin-top: 7.5rem;
}

.reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.review-card {
  background: var(--surface);
  border-radius: 0.65rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.review-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}

.review-card-name {
  margin: 0;
  font-weight: 800;
  color: var(--deep);
}

.review-stars {
  margin: 0;
  color: var(--royal);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  line-height: 1;
}

.review-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.35rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-card-text {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.reviews-empty {
  background: var(--surface);
  border-radius: 0.65rem;
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.reviews-empty .lede {
  margin: 0;
}

.rating-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.rating-fieldset legend {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  padding: 0;
}

.rating-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.1rem;
}

.rating-picker input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.rating-picker label {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: #e4d0dc;
  cursor: pointer;
}

.rating-picker label:hover,
.rating-picker label:hover ~ label,
.rating-picker input:checked ~ label,
.rating-picker input:focus-visible + label {
  color: var(--royal);
}

.field.is-invalid .rating-picker label {
  color: #efc3c8;
}

.field.is-invalid .rating-picker input:checked ~ label {
  color: var(--error);
}

/* Footer */

.site-footer {
  background: var(--deep);
  color: #e8def6;
  margin-top: auto;
}

.footer-attention {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  background: #46363e;
  color: #f4eef1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-top {
  padding: 1.6rem 0 1.4rem;
}

.footer-menu {
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 1.3rem;
}

.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
}

.footer-menu-list a {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-menu-list a:hover {
  color: var(--lavender);
}

.footer-info {
  display: grid;
  gap: 1.2rem;
}

.footer-phones {
  display: grid;
  gap: 0.2rem;
}

.footer-phones a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-phones a:hover {
  color: var(--lavender);
}

.footer-hours {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: #d4b0c4;
}

.footer-hours b {
  color: #fff;
}

.footer-brand-note {
  margin: 0.75rem 0 0;
  color: #c9adc0;
  font-size: 0.88rem;
  max-width: 22rem;
}

.contacts-address {
  margin: 0 0 0.35rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  color: var(--deep);
}

.contacts-map-link {
  margin: 1rem 0 0;
}

.contacts-map-link a {
  font-size: 15px;
  font-weight: 600;
  line-height: 26px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 176, 196, 0.22);
  padding: 0.9rem 0 1.1rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: block;
  margin-right: auto;
}

.footer-logo img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.site-footer .footer-bottom a {
  color: #e8def6;
  font-size: 0.85rem;
}

.site-footer .footer-bottom a:hover {
  color: #fff;
}

.error-page {
  min-height: 55vh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

.error-code {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--royal);
  margin: 0;
}

/* Desktop */

@media (min-width: 760px) {
  .services-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .advantage-card {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.35rem 1.1rem 1.45rem;
    gap: 0.5rem;
  }

  .about-grid,
  .split,
  .form-row,
  .footer-info {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .about-photo {
    min-height: 100%;
  }

  .about-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .hero-slide {
    min-height: 720px;
    padding: 80px 0 140px;
  }

  .hero-content {
    margin: 0;
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit-steps,
  .visit-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .logo-seal {
    width: 80px;
    height: 80px;
  }

  .visit-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .visit-steps--service {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-dock {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .header-call-icon {
    display: none;
  }

  .header-phone-btn {
    display: none;
  }

  .header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    margin-left: 1.5rem;
    margin-right: auto;
    line-height: 1.25;
  }

  .header-info-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  .header-info-phone {
    color: var(--royal);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
  }

  .header-info-phone:hover {
    color: var(--cta);
  }

  .header-helpers {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    min-height: 77px;
  }

  .header-hours {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 14px;
    font-size: 14px;
    line-height: 20px;
    color: var(--ink);
  }

  .header-hours b {
    font-weight: 700;
  }

  .header-helpers-btns {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-cta {
    display: inline-flex;
    height: 46px;
    min-height: 46px;
    align-items: center;
    font-family: var(--font);
    font-size: 15px;
    line-height: 16px;
  }

  .header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--header-bottom-h);
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: static;
    background: var(--deep);
    min-height: var(--header-bottom-h);
    padding: 0;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
  }

  .nav-list > li {
    flex: none;
    display: flex;
    align-items: stretch;
  }

  .nav-list a,
  .nav-list .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--header-bottom-h);
    height: var(--header-bottom-h);
    padding: 0 0.15rem;
    text-align: center;
    font-family: var(--font);
    font-size: 19px;
    font-weight: 400;
    width: auto;
    line-height: 26px;
    white-space: nowrap;
  }

  .has-sub {
    position: relative;
  }

  .nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 17rem;
    padding: 0.35rem 0;
    background: var(--surface);
    border-radius: 0.45rem;
    box-shadow: var(--shadow);
    display: none;
    z-index: 20;
  }

  .has-sub:hover .nav-sub,
  .has-sub:focus-within .nav-sub,
  .has-sub.is-open .nav-sub {
    display: block;
  }

  .nav-sub a {
    color: var(--royal);
    font-weight: 700;
    padding: 0.75rem 1.1rem;
    font-size: 0.9rem;
    min-height: 0;
    height: auto;
    justify-content: flex-start;
  }

  .nav-sub a:hover,
  .nav-sub a.is-active {
    background: var(--mist);
    color: var(--cta);
  }

  .nav-mobile-extra {
    display: none;
  }

  .service-layout {
    grid-template-columns: 16.5rem 1fr;
    align-items: start;
  }

  .hero h1,
  .hero-slide-title {
    font-size: clamp(2.2rem, 4vw, 3.15rem);
    line-height: 1.15;
  }

  .doctor-hero {
    grid-template-columns: 1fr 16rem;
    align-items: end;
  }
}

/* Slider controls */

.hero-slider-ui {
  pointer-events: none;
}

.hero-slider-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.slider-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 88px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 7;
}

.slider-arrow--prev {
  left: 0.6rem;
}

.slider-arrow--next {
  right: 0.6rem;
}

.slider-arrow--dark {
  background: var(--mist);
  color: var(--deep);
}

.slider-arrow:hover {
  background: var(--cta);
  color: #fff;
}

.slider-dots {
  pointer-events: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5.2rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.slider-dots--dark {
  position: static;
  margin-top: 1rem;
}

.slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dots--dark .slider-dot {
  background: var(--lavender);
}

.slider-dot.is-active {
  background: #fff;
}

.slider-dots--dark .slider-dot.is-active {
  background: var(--cta);
}

.is-single .slider-arrow,
.is-single .slider-dots {
  display: none;
}

/* Doctors */

.doctors-section .section-title {
  margin-bottom: 1.4rem;
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 960px) {
  .doctors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .doctors-grid.doctors-grid--fit {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  }
}

.doctor-card {
  min-width: 0;
  height: 100%;
  display: flex;
}

.doctor-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  color: inherit;
  background: var(--surface);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding-bottom: 1rem;
}

.doctor-card-link:hover {
  color: inherit;
}

.doctor-card-photo {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4.2;
  background: var(--mist);
  overflow: hidden;
}

.doctor-card-photo img,
.doctor-card-photo .doctor-placeholder,
.doctor-hero-photo .doctor-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-placeholder {
  display: block;
}

.doctor-card-name {
  margin: 0.9rem 1rem 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
  min-height: 2.6em;
}

.doctor-card-role {
  margin: 0 1rem 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta);
  min-height: 1.2em;
}

.doctor-card-post,
.doctor-card-edu {
  margin: 0 1rem 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.doctor-card-post {
  min-height: 3.9em;
}

.doctor-card-edu {
  min-height: 2.6em;
}

.doctor-card-post b {
  color: var(--ink);
}

.doctor-card-blurb {
  margin: auto 1rem 0;
  padding-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--royal);
  font-weight: 600;
}

.doctors-section .section-title {
  margin-bottom: 1.4rem;
}

.doctor-hero {
  display: grid;
  gap: 1.4rem;
}

.doctor-hero-text p {
  margin: 0.35rem 0;
  color: #f3e8ef;
  font-weight: 500;
  overflow-wrap: break-word;
}

.doctor-hero-photo {
  margin: 0;
  max-width: 16rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.doctor-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.doctor-card-photo img.doctor-photo--contain,
.doctor-hero-photo img.doctor-photo--contain {
  object-fit: contain;
  object-position: center;
  background: #f4f4f4;
}

/* Appointment dialog — composition after prototype modal */

.dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dialog.is-open {
  display: flex;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(49, 40, 44, 0.45);
}

.dialog-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  color: var(--deep);
}

body.is-dialog-open {
  overflow: hidden;
}

.mobile-dock {
  display: none;
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(75, 32, 128, 0.1);
}

.mobile-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 0.6rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-dock-call {
  background: var(--mist);
  color: var(--deep);
  border-color: var(--lavender);
}

.mobile-dock-book {
  background: var(--cta);
  color: #fff;
}

.mobile-dock-call:hover {
  color: var(--deep);
}

.mobile-dock-book:hover {
  color: #fff;
  background: var(--cta-hover);
}

body.is-dialog-open .mobile-dock,
html.is-menu-open .mobile-dock {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 959px) {
  :root {
    --header-top-h: 72px;
    --header-bottom-h: 0px;
  }

  .header-notice {
    display: none;
  }

  .header-top {
    min-height: 0;
    padding: 8px 0;
  }

  .header-top-inner {
    min-height: 56px;
    justify-content: flex-start;
    gap: 0.65rem;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  .logo-tag {
    display: none;
  }

  .header-phone-btn {
    display: none;
  }

  .site-nav.is-open {
    padding: calc(var(--header-top-h) + 0.6rem) 1.15rem calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .container {
    width: min(100% - 32px, var(--max));
  }

  body {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-dock {
    display: grid;
  }

  .hero-slide {
    min-height: 0;
    height: auto;
    padding: 1.6rem 0 5.2rem;
    align-items: flex-start;
  }

  .hero h1,
  .hero-slide-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .hero-lede {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    min-height: 44px;
    width: 100%;
  }

  .advantage-band {
    margin-top: -2.6rem;
  }

  .slider-arrow {
    width: 44px;
    height: 56px;
    font-size: 1.5rem;
  }

  .slider-dots {
    bottom: 4rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .services-col,
  .visit-steps li,
  .contacts-white {
    width: 100%;
  }

  .contacts-map-inner {
    padding: 1.2rem 0 1.6rem;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 44px;
  }

  .field textarea {
    min-height: 6.5rem;
  }

  .nav-list a,
  .nav-list .nav-btn {
    min-height: 44px;
  }

  .dialog {
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }

  .dialog-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 28px 18px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
