@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arsenal";
  src: url("/assets/fonts/arsenal-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arsenal";
  src: url("/assets/fonts/arsenal-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3efec;
  --bg-soft: #f8f5f3;
  --surface: #ffffff;
  --surface-strong: #fffaf7;
  --ink: #2f2932;
  --text: #4c444e;
  --muted: var(--text);
  --brand: #9c78b6;
  --brand-dark: #75518c;
  --brand-soft: #efe6f4;
  --brand-line: #d8c8e3;
  --border: rgba(117, 81, 140, 0.18);
  --shadow: 0 24px 70px rgba(68, 52, 76, 0.12);
  --shadow-soft: 0 14px 40px rgba(68, 52, 76, 0.08);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-height: 86px;

  /* Typography */
  --font-main: "Manrope", Arial, sans-serif;
  --font-heading: "Arsenal", Arial, sans-serif;
  --font-ui: var(--font-main);
  --font-brand: "Arsenal", Arial, sans-serif;

  --text-base: 16px;
  --text-base-mobile: 15px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-nav: 14px;
  --text-note: 15px;
  --text-card: 18px;
  --text-lead: clamp(18px, 2vw, 22px);
  --text-lead-mobile: 17px;

  --h1-size: clamp(40px, 5vw, 56px);
  --h1-size-mobile: clamp(34px, 10vw, 48px);
  --h2-size: clamp(32px, 4.2vw, 44px);
  --h2-size-mobile: clamp(30px, 9vw, 42px);
  --h3-size: 22px;
  --h-card-size: 20px;
  --h-price-card-size: 21px;
  --h-price-section-size: clamp(26px, 3vw, 38px);
  --h-text-page-size: 28px;

  --price-large-size: 30px;
  --price-row-size: 17px;
  --price-row-size-mobile: 16px;
  --price-row-value-size: 20px;
  --price-row-value-size-mobile: 20px;

  --contact-address-size: 24px;
  --contact-address-size-mobile: 21px;
  --brand-name-size: 27px;
  --brand-name-size-mobile: 24px;
  --brand-name-size-compact: 22.5px;
  --footer-brand-size: 18px;
  --brand-subtitle-size: 12px;

  --line-body: 1.6;
  --line-heading: 1.05;
  --line-brand: 1.15;
  --line-lead: 1.55;
  --line-tight: 1;
  --line-note: 1.4;
  --line-card-heading: 1.2;
  --line-price-card: 1.18;
  --line-price-row: 1.45;
  --line-contact-address: 1.25;
  --line-badge: 1.35;

  --tracking-heading: -.04em;
  --tracking-brand: .02em;
  --tracking-eyebrow: .13em;
  --tracking-caption: .12em;
  --tracking-contact-label: .11em;
  --text-transform-label: uppercase;

  --weight-regular: 400;
  --weight-medium: 650;
  --weight-nav: 640;
  --weight-prices-nav: 680;
  --weight-heading: 400;
  --weight-bold: 760;
  --weight-strong: 780;
  --weight-label: 800;
  --weight-badge: 820;
  --weight-pill: 840;
  --weight-caption: 850;
  --weight-number: 860;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  margin: 0;
  padding-top: var(--header-height);
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: var(--line-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  font-family: var(--font-ui);
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--brand-soft);
  color: var(--ink);
}

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

.narrow {
  width: min(100% - 40px, 860px);
  text-align: center;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(243, 239, 236, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(117, 81, 140, .12);
  box-shadow: 0 12px 36px rgba(68, 52, 76, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-logo,
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(117, 81, 140, 0.12);
}

.brand-text,
.footer-brand span {
  display: grid;
  line-height: var(--line-brand);
}

.brand-name {
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: var(--brand-name-size);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-brand);
}

.footer-brand strong {
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: var(--footer-brand-size);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-brand);
}

.brand-subtitle,
.footer-brand small {
  color: var(--muted);
  font-size: var(--brand-subtitle-size);
  letter-spacing: var(--tracking-brand);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .54);
}

.desktop-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--text);
  font-size: var(--text-nav);
  font-weight: var(--weight-nav);
  transition: background .2s ease, color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-link {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-nav);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.icon-link,
.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 12px 26px rgba(68, 52, 76, 0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.icon-link img,
.float-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.icon-link:hover,
.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(68, 52, 76, 0.16);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 86px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .8), transparent 26%),
    radial-gradient(circle at 88% 26%, rgba(216, 200, 227, .5), transparent 30%),
    radial-gradient(circle at 58% 95%, rgba(255, 255, 255, .62), transparent 25%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: var(--text-transform-label);
}

.eyebrow::before {
  display: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: var(--line-heading);
  letter-spacing: var(--tracking-heading);
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: var(--h1-size);
  font-weight: var(--weight-heading);
}

h2 {
  margin-bottom: 18px;
  font-size: var(--h2-size);
  font-weight: var(--weight-heading);
}

h3 {
  margin-bottom: 12px;
  font-size: var(--h3-size);
  font-weight: var(--weight-heading);
}

.nowrap {
  white-space: nowrap;
}

.lead {
  max-width: 660px;
  color: var(--text);
  font-size: var(--text-lead);
  line-height: var(--line-lead);
}

.hero-actions,
.inline-actions,
.contact-actions,
.cta-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-actions--center,
.section-actions {
  justify-content: center;
}

.hero-phone-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--text-note);
  line-height: var(--line-note);
  text-align: center;
}

.hero-phone-note a {
  color: var(--brand-dark);
  font-weight: var(--weight-strong);
  white-space: nowrap;
}

.hero-phone-note a:hover,
.hero-phone-note a:focus-visible {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  font-family: var(--font-ui);
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: var(--weight-bold);
  line-height: var(--line-tight);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 34px rgba(117, 81, 140, .25);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--brand-dark);
}

.button--secondary {
  background: var(--surface);
  color: var(--brand-dark);
  border-color: var(--border);
}

.button--ghost {
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
  border-color: var(--border);
}

.button--ghost:hover,
.button--secondary:hover {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 585px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: none;
  display: none;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 620px);
  transform: rotate(-2deg);
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: 44% 56% 55% 45%;
  background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(239,230,244,.62));
  box-shadow: var(--shadow);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: 0 22px 70px rgba(117, 81, 140, 0.18);
}

.hero-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 170px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-card span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.hero-card strong {
  color: var(--ink);
  font-size: var(--text-card);
}

.hero-card--top {
  top: 74px;
  left: 0;
}

.hero-card--bottom {
  right: 0;
  bottom: 72px;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding: 58px 0;
}

.section--surface {
  background: rgba(255, 255, 255, .38);
}

.split-section,
.feature-row,
.contacts-grid,
.reviews-grid,
.faq-layout,
.equipment-layout,
.prices-layout {
  display: grid;
  gap: 44px;
}

.split-section {
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.section-heading p {
  max-width: 610px;
  color: var(--muted);
  font-size: var(--text-card);
}

.section-heading--sticky {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.section-heading--center {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--center p {
  margin-inline: auto;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.price-card,
.procedure-step-body,
.contact-card,
.reviews-panel,
.text-panel,
.cta-panel,
.prices-nav-card,
.price-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
}

.info-card {
  min-height: 250px;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card--compact {
  min-height: 190px;
}

.info-card--about {
  display: flex;
  flex-direction: column;
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.info-card-head h3 {
  margin: 0;
  font-size: var(--h-card-size);
  line-height: var(--line-card-heading);
}

.info-card-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.info-card-link {
  margin-top: 14px;
}

.info-card p,
.procedure-step-body li,
.text-panel p,
.equipment-copy p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--brand-dark);
  font-weight: var(--weight-strong);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: grid;
  align-content: space-between;
  min-height: 230px;
  padding: 26px;
  background: var(--surface);
}

.price-card--accent {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.price-card--accent h3,
.price-card--accent strong,
.price-card--accent a {
  color: #fff;
}

.price-card h3 {
  font-size: var(--h-price-card-size);
  line-height: var(--line-price-card);
}

.price-card-bottom {
  display: grid;
  gap: 12px;
}

.price-card strong {
  color: var(--brand-dark);
  font-size: var(--price-large-size);
  line-height: var(--line-tight);
}

.price-card a {
  color: var(--brand-dark);
  font-weight: var(--weight-strong);
}

.complexes-section {
  overflow: hidden;
}

.complex-slider {
  position: relative;
  background: transparent;
}

.complex-slider + .section-actions {
  margin-top: 24px;
}

.complex-track {
  display: flex;
  gap: 18px;
  background: transparent;
  margin-inline: -2px;
  padding: 4px 2px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.complex-track::-webkit-scrollbar {
  display: none;
}

.complex-track:focus-visible {
  outline: 3px solid var(--brand-line);
  outline-offset: 8px;
  border-radius: var(--radius-md);
}

.complex-slide {
  flex: 0 0 min(340px, calc((100% - 36px) / 3));
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transform: translateZ(0);
}

.complex-slide picture,
.complex-slide img {
  display: block;
}

.complex-slide img {
  width: 100%;
  aspect-ratio: 667 / 1000;
  object-fit: cover;
}

.complex-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.complex-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: var(--brand-dark);
  box-shadow: var(--shadow-soft);
  line-height: var(--line-tight);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.complex-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.complex-arrow:hover,
.complex-arrow:focus-visible {
  transform: translateY(-2px);
  background: var(--surface);
}

.complex-arrow:disabled {
  opacity: .38;
  cursor: default;
  transform: none;
}

.complex-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.complex-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-line);
  transition: width .2s ease, background .2s ease;
}

.complex-dot.is-active {
  width: 30px;
  background: var(--brand);
}

.feature-row {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
}

.feature-row--hero {
  position: relative;
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-media--floating::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 42%;
  height: 42%;
  border-radius: 28px;
  background: var(--brand-soft);
}

.feature-copy p {
  color: var(--muted);
  font-size: var(--text-card);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px var(--brand-soft);
}

.procedure-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.procedure-timeline::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 31px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand-line), var(--brand-line), transparent);
}

.procedure-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-width: 0;
}

.procedure-step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}

.procedure-step-marker span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: var(--text-base);
  font-weight: var(--weight-number);
}

.procedure-step-body {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.procedure-step-body:hover {
  transform: translateY(-3px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.procedure-step-caption {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: var(--text-transform-label);
}

.procedure-step-body h3 {
  margin-bottom: 16px;
}

.procedure-step-body ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.procedure-step-body li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.procedure-step-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.reviews-grid {
  grid-template-columns: minmax(280px, 360px) minmax(300px, 760px);
  align-items: start;
  justify-content: space-between;
}

.reviews-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.inline-actions {
  margin-top: 26px;
}

.reviews-widget {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 1080px;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.reviews-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


.faq-layout {
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: var(--ink);
  font-weight: var(--weight-strong);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  display: inline-block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-soft);
  background-image:
    linear-gradient(var(--brand-dark), var(--brand-dark)),
    linear-gradient(var(--brand-dark), var(--brand-dark));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 2px, 2px 12px;
}

.faq-item[open] summary::after {
  background-image: linear-gradient(var(--brand-dark), var(--brand-dark));
  background-size: 12px 2px;
}

.faq-item p {
  margin: -4px 24px 24px;
  color: var(--muted);
}

.faq-answer-list {
  display: grid;
  gap: 8px;
  margin: -4px 24px 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.faq-answer-list li {
  position: relative;
  padding-left: 18px;
}

.faq-answer-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.contacts-grid {
  grid-template-columns: minmax(320px, .62fr) minmax(0, 1fr);
  align-items: stretch;
}

.contacts-grid--large {
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
}

.contact-card {
  padding: 34px;
  background: var(--surface);
}

.contact-card--large {
  padding: 38px;
}

.contact-address {
  color: var(--ink);
  font-size: var(--contact-address-size);
  font-weight: var(--weight-bold);
  line-height: var(--line-contact-address);
}

.contact-actions {
  margin-top: 28px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
}

.contact-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.contact-list dt {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-contact-label);
  text-transform: var(--text-transform-label);
}

.contact-list dd {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-card);
  font-weight: var(--weight-regular);
}

.map-card {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--brand-soft);
}

.map-card--large {
  min-height: 560px;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.yandex-map-widget {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.yandex-map-widget > a {
  position: absolute;
  left: 0;
  color: #eee;
  font-size: var(--text-xs);
  line-height: var(--line-tight);
  text-decoration: none;
}

.yandex-map-widget > a:nth-of-type(1) {
  top: 0;
}

.yandex-map-widget > a:nth-of-type(2) {
  top: 14px;
}

.yandex-map-widget > a:nth-of-type(3) {
  top: 28px;
}

.yandex-map-widget iframe {
  position: relative;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.cta-panel h2,
.cta-panel p,
.cta-panel .eyebrow {
  color: #fff;
}

.cta-panel p {
  max-width: 660px;
  opacity: .86;
}

.cta-panel .button--primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}

.cta-panel .button--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.36);
}

.cta-panel .cta-actions {
  display: grid;
  align-self: center;
  justify-self: end;
  width: min(100%, 340px);
  gap: 12px;
}

.cta-panel .cta-actions .button {
  width: 100%;
}

@media (max-width: 900px) {
  .cta-panel .cta-actions {
    justify-self: center;
    margin-inline: auto;
  }
}

.cta-phone-note {
  flex-basis: 100%;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: var(--text-note);
  line-height: var(--line-note);
  text-align: center;
}

.cta-phone-note a {
  color: #fff;
  font-weight: var(--weight-strong);
  white-space: nowrap;
}

.cta-phone-note a:hover,
.cta-phone-note a:focus-visible {
  text-decoration: underline;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 58px;
}

.page-hero > .container {
  position: relative;
}

.page-hero h1 {
  margin-inline: auto;
  font-size: var(--h1-size);
}

.page-hero .lead {
  margin-inline: auto;
}

.page-hero--equipment {
  padding-bottom: 78px;
}

.page-hero--equipment h1,
.page-hero--equipment .lead {
  margin-inline: 0;
}

.equipment-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 13px 17px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--brand-dark);
  box-shadow: var(--shadow-soft);
}

.equipment-reg-badge span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: var(--text-note);
  font-weight: var(--weight-number);
  line-height: var(--line-tight);
}

.equipment-reg-badge strong {
  font-size: var(--text-note);
  font-weight: var(--weight-badge);
  line-height: var(--line-badge);
}


.page-hero--equipment .equipment-reg-badge + .lead {
  margin-top: 18px;
}

.prices-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
}

.prices-layout > *,
.prices-sidebar,
.prices-nav-card,
.prices-nav-card nav,
.prices-content {
  min-width: 0;
  max-width: 100%;
}

.prices-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 22px);
}

.prices-nav-card {
  padding: 18px;
  background: rgba(255,255,255,.76);
}

.prices-nav-card nav {
  display: grid;
  gap: 8px;
}

.prices-nav-card a {
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--text);
  font-weight: var(--weight-prices-nav);
}

.prices-nav-card a:hover,
.prices-nav-card a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.prices-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.price-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
  overflow: hidden;
  background: var(--surface);
}

.price-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 28px;
  border-bottom: 1px solid var(--border);
}

.price-section-head h2 {
  margin: 0;
  font-size: var(--h-price-section-size);
}

.price-section-head span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-pill);
}

.price-table {
  display: grid;
  min-width: 0;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(117, 81, 140, .1);
}

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

.price-row > * {
  min-width: 0;
}

.price-row span {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--text);
  font-size: var(--price-row-size);
  line-height: var(--line-price-row);
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.price-row strong {
  color: var(--brand-dark);
  font-size: var(--price-row-value-size);
  font-weight: 700;
  white-space: nowrap;
}


.equipment-layout {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
}

.equipment-copy {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.equipment-copy p {
  font-size: var(--text-card);
}

.equipment-layout--solo {
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
}

.equipment-layout--solo .equipment-copy {
  position: static;
}

.text-panel {
  padding: 34px;
}

.text-panel p {
  font-size: var(--text-card);
}

.text-page {
  max-width: 850px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.text-page h2 {
  margin-top: 36px;
  font-size: var(--h-text-page-size);
}

.text-page h2:first-child {
  margin-top: 0;
}

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

.text-page a {
  color: var(--brand-dark);
  font-weight: var(--weight-bold);
}

.site-footer {
  padding: 60px 0 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
}

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


.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column strong {
  margin-bottom: 6px;
  color: #fff;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .52);
  font-size: var(--text-nav);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
}

@media (max-width: 1023px) {
  .reviews-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .reviews-widget {
    border-radius: 22px;
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .header-contacts {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: 0;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: var(--header-height) 0 auto;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    background: rgba(243, 239, 236, .96);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu-inner {
    display: grid;
    gap: 10px;
    padding: 20px 0 26px;
  }

  .mobile-menu a:not(.button) {
    padding: 15px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    color: var(--ink);
    font-weight: var(--weight-bold);
  }

  .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 640px;
    margin-inline: auto;
  }

  .price-cards,
  .cards-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .procedure-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .procedure-timeline::before {
    display: none;
  }

  .complex-slide {
    flex-basis: min(360px, calc((100% - 18px) / 2));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1023px) {
  .prices-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .prices-sidebar {
    display: none;
  }

  .prices-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

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

  .brand-logo,
  .footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-contacts .phone-link,
  .header-contacts .icon-link {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .hero {
    padding: 50px 0 62px;
  }

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

  .hero-card--top {
    top: 26px;
  }

  .hero-card--bottom {
    bottom: 24px;
  }

  .section {
    padding: 66px 0;
  }

  .section--compact {
    padding: 48px 0;
  }

  .split-section,
  .feature-row,
  .contacts-grid,
  .contacts-grid--large,
  .reviews-grid,
  .faq-layout,
  .equipment-layout,
  .prices-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading--sticky,
  .equipment-copy,
  .prices-sidebar {
    position: static;
  }

  .prices-content,
  .price-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cards-grid--three {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    flex: 1 1 220px;
  }

  .map-card,
  .map-card--large {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: var(--text-base-mobile);
  }

  .header-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: var(--brand-name-size-mobile);
  }

  .hero,
  .page-hero {
    padding-top: 38px;
  }

  h1 {
    font-size: var(--h1-size-mobile);
  }

  h2 {
    font-size: var(--h2-size-mobile);
  }

  .lead {
    font-size: var(--text-lead-mobile);
  }

  .hero-actions,
  .inline-actions,
  .contact-actions,
  .cta-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }


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

  .hero-photo {
    border-radius: 30px;
  }

  .hero-card {
    min-width: 138px;
    padding: 13px 14px;
  }

  .hero-card strong {
    font-size: var(--text-note);
  }

  .price-cards,
  .cards-grid--two,
  .cards-grid--four {
    grid-template-columns: 1fr;
  }

  .procedure-timeline {
    max-width: 760px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .procedure-timeline::before {
    display: block;
    left: 31px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--brand-line), var(--brand-line), transparent);
  }

  .procedure-step {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }


  .procedure-step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .procedure-timeline::before {
    left: 26px;
  }

  .procedure-step-marker {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .procedure-step-marker span {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    font-size: var(--text-nav);
  }

  .complex-track {
    gap: 14px;
  }

  .complex-slide {
    flex-basis: 84%;
    border-radius: 22px;
  }

  .complex-controls {
    gap: 14px;
  }

  .complex-arrow {
    width: 44px;
    height: 44px;
  }

  .info-card,
  .price-card,
  .procedure-step-body,
  .contact-card,
  .text-panel,
  .cta-panel,
  .text-page {
    padding: 22px;
    border-radius: 22px;
  }

  .info-card {
    min-height: auto;
  }

  .price-card {
    min-height: 190px;
  }

  .price-section-head {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
  }

  .price-section-head h2 {
    min-width: 0;
  }

  .price-section-head span {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
  }

  .price-row span {
    font-size: var(--price-row-size-mobile);
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    line-break: auto;
  }

  .price-row strong {
    justify-self: end;
    font-size: var(--price-row-value-size-mobile);
    white-space: nowrap;
  }

  .contact-address {
    font-size: var(--contact-address-size-mobile);
  }

  .map-card,
  .map-card--large {
    min-height: 360px;
    border-radius: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 410px) {
  .container,
  .narrow {
    width: min(100% - 20px, var(--container));
  }

  .complex-slide {
    flex-basis: 100%;
  }

  .complex-controls {
    margin-top: 14px;
  }

  .price-section-head {
    padding: 18px;
  }

  .price-row {
    padding: 11px 18px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: var(--brand-name-size-compact);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

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


/* Reviews widget height is intentionally fixed on all breakpoints. */
.reviews-widget {
  height: 1080px !important;
  min-height: 1080px !important;
}

.reviews-widget iframe {
  height: 1080px !important;
  min-height: 1080px !important;
}


@media (max-width: 680px) {
  .page-hero--prices .hero-actions {
    width: min(100%, 340px);
    margin-inline: auto;
    justify-content: stretch;
  }

  .page-hero--prices .hero-actions .button {
    width: 100%;
  }
}


/* Center CTA buttons as soon as the CTA panel switches to the stacked layout. */
@media (max-width: 900px) {
  .cta-panel {
    justify-items: stretch;
  }

  .cta-panel .cta-actions {
    width: min(100%, 340px);
    justify-self: center;
    margin-inline: auto;
  }
}


/* Final CTA layout: real grid columns, then centered stacked layout. */
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: center;
  justify-content: normal;
}

.cta-panel .cta-actions {
  width: 100%;
  justify-self: end;
  align-self: center;
}

@media (max-width: 900px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .cta-panel .cta-actions {
    grid-column: 1 / -1;
    width: min(100%, 340px) !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Main hero stacked buttons use the same visual width as the prices page buttons. */
@media (max-width: 680px) {
  .hero .hero-actions {
    width: min(100%, 340px);
    margin-inline: auto;
    justify-content: stretch;
  }

  .hero .hero-actions .button {
    width: 100%;
  }
}


@media (max-width: 680px) {
  .equipment-reg-badge {
    align-items: flex-start;
    width: 100%;
    border-radius: 22px;
    text-align: left;
  }
}


/* Equipment page stacked hero buttons match the main and prices pages. */
@media (max-width: 680px) {
  .page-hero--equipment .hero-actions {
    width: min(100%, 340px);
    margin-inline: auto;
    justify-content: stretch;
  }

  .page-hero--equipment .hero-actions .button {
    width: 100%;
  }
}


/* Equipment page: keep the apparatus description inside the hero section. */
.equipment-hero-details {
  position: relative;
  margin-top: 64px;
}

.equipment-copy--inline {
  position: static;
  max-width: 860px;
}

@media (max-width: 680px) {
  .equipment-hero-details {
    margin-top: 42px;
  }
}
