:root {
  --paper: #f3efe7;
  --paper-soft: #faf7f1;
  --stone: #d8d0c2;
  --stone-deep: #b7ad9d;
  --ink: #22352e;
  --forest: #28483b;
  --forest-deep: #1f3b31;
  --moss: #71806c;
  --water: #b9ceca;
  --amber: #9f5b42;
  --white: #fffdf8;
  --line: rgba(34, 53, 46, 0.2);
  --display: "Bodoni Moda", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --header-h: 76px;
  --page-pad: clamp(22px, 4.4vw, 86px);
  --content-max: 1780px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--white);
  background: var(--forest);
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  clip-path: inset(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  min-height: var(--header-h);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(34, 53, 46, 0.13);
  background: rgba(243, 239, 231, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  min-height: 44px;
  gap: 6px;
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.brand-kind {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2.5vw, 48px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(34, 53, 46, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--forest);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  width: 38px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--forest);
}

.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 180ms ease, background 180ms ease;
}

.header-call:hover {
  color: var(--white);
  background: var(--forest);
}

.header-call svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  padding: 20px var(--page-pad) 28px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 300ms var(--ease), opacity 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 28px;
}

.mobile-menu .mobile-menu-phone {
  margin-top: 12px;
  border-bottom: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  width: 100%;
  min-height: calc(100svh - var(--header-h));
  max-height: 1080px;
  padding: clamp(56px, 6.5vw, 118px) var(--page-pad) clamp(82px, 7vw, 122px);
  gap: clamp(42px, 5.5vw, 112px);
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.68), transparent 34%),
    linear-gradient(120deg, var(--paper-soft), var(--paper));
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  width: min(100%, 720px);
  justify-self: end;
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  color: rgba(34, 53, 46, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
}

.eyebrow-line {
  width: min(120px, 12vw);
  height: 1px;
  background: var(--line);
}

.hero h1,
.services h2,
.visit h2,
.faq h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 11.4ch;
  font-size: clamp(56px, 5.45vw, 112px);
  line-height: 0.96;
}

html[lang="ru"] .hero h1 {
  max-width: 12.4ch;
  font-size: clamp(51px, 5.1vw, 105px);
}

.hero-lead {
  max-width: 570px;
  margin: clamp(26px, 3.2vw, 48px) 0 0;
  color: rgba(34, 53, 46, 0.78);
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: clamp(28px, 3.4vw, 48px);
}

.primary-action,
.wide-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  gap: 32px;
  padding: 0 9px 0 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-action .action-arrow,
.wide-action > span:last-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--amber);
  transition: transform 220ms var(--ease), background 220ms ease;
}

.primary-action:hover .action-arrow,
.wide-action:hover > span:last-child {
  background: var(--forest);
  transform: rotate(45deg);
}

.text-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: rgba(34, 53, 46, 0.76);
  font-size: 13px;
  font-weight: 600;
}

.confirmation-note {
  max-width: 460px;
  margin: 22px 0 0;
  color: rgba(34, 53, 46, 0.55);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  width: min(100%, 980px);
  justify-self: start;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  border-radius: 46% 46% 14px 14px / 28% 28% 14px 14px;
  background: var(--stone);
  box-shadow: 0 30px 80px rgba(39, 61, 52, 0.12);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-image-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(40, 72, 59, 0.09), transparent 54%, rgba(159, 91, 66, 0.06));
  pointer-events: none;
}

.condensation-ring {
  position: absolute;
  z-index: 1;
  top: -5%;
  left: -8%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(40, 72, 59, 0.27);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.13), 0 0 45px rgba(112, 139, 126, 0.12);
  animation: exhale 7s var(--ease) infinite;
}

.hero-visual-label {
  position: absolute;
  z-index: 3;
  right: clamp(-18px, -1.8vw, -8px);
  bottom: 7%;
  margin: 0;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(31, 59, 49, 0.64);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(34, 53, 46, 0.5);
  transform: translateX(-50%);
}

.hero-scroll span {
  position: relative;
  display: block;
  width: 58px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll span::after {
  position: absolute;
  inset: 0;
  background: var(--forest);
  content: "";
  animation: scroll-cue 2.6s ease-in-out infinite;
}

.hero-scroll small {
  font-size: 8px;
  letter-spacing: 0.18em;
}

@keyframes exhale {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  48% { opacity: 0.95; transform: scale(1.03); }
}

@keyframes scroll-cue {
  0% { transform: translateX(-105%); }
  54%, 100% { transform: translateX(105%); }
}

.fact-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-ribbon p {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 96px;
  gap: 20px;
  margin: 0;
  padding: 18px clamp(12px, 2vw, 34px);
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fact-ribbon p:first-child {
  border-left: 0;
}

.fact-index {
  color: var(--amber);
  font-size: 10px;
}

.services {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 10vw, 190px) var(--page-pad);
  color: var(--white);
  background:
    radial-gradient(circle at 94% 18%, rgba(134, 153, 121, 0.28), transparent 24%),
    radial-gradient(circle at 6% 78%, rgba(176, 127, 83, 0.14), transparent 24%),
    var(--forest-deep);
}

.services::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.services-head,
.service-list {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: clamp(38px, 7vw, 130px);
  padding-bottom: clamp(70px, 8vw, 132px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.services-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -4px;
  color: rgba(255, 255, 255, 0.62);
}

.services h2 {
  max-width: 14ch;
  font-size: clamp(54px, 6.2vw, 116px);
  line-height: 0.94;
}

.services-head > p:last-child {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(15px, 1.1vw, 19px);
}

.thermal-path {
  position: absolute;
  z-index: 1;
  top: 18%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.thermal-path span {
  position: sticky;
  top: 24vh;
  display: block;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04), 0 0 30px rgba(255, 255, 255, 0.18);
}

.service-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  min-height: min(800px, 86vh);
  gap: clamp(50px, 8vw, 150px);
  padding: clamp(82px, 8vw, 140px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.service-chapter:nth-child(even) {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.08fr);
}

.service-chapter:nth-child(even) .service-media {
  order: 2;
}

.service-chapter:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-media {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px 110px 10px 10px;
  background: var(--moss);
  box-shadow: 0 28px 70px rgba(7, 22, 17, 0.24);
}

.service-chapter:nth-child(even) .service-media {
  border-radius: 110px 10px 10px 10px;
}

.service-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(0.96);
  transition: transform 900ms var(--ease), filter 600ms ease;
}

.service-chapter:hover .service-media img {
  filter: saturate(0.95) contrast(1);
  transform: scale(1.025);
}

.service-copy {
  position: relative;
  min-width: 0;
  padding: 46px 0 0;
}

.service-number {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--display);
  font-size: 20px;
}

.service-material {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 112px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.service-copy > p:not(.service-material) {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.1vw, 19px);
}

.service-link,
.social-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  gap: 24px;
  margin-top: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(110px, 10vw, 190px) var(--page-pad);
  gap: clamp(70px, 9vw, 180px);
}

.visit-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 50px);
}

.visit h2,
.faq h2,
.contact h2 {
  font-size: clamp(48px, 5.25vw, 100px);
  line-height: 0.98;
}

.visit-intro > p:last-child {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(34, 53, 46, 0.7);
  font-size: clamp(15px, 1.1vw, 19px);
}

.visit-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.visit-steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 184px;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.visit-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.visit-steps li > span {
  color: var(--amber);
  font-family: var(--display);
  font-size: 22px;
}

.visit-steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.visit-steps p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(34, 53, 46, 0.65);
  font-size: 14px;
}

.wide-action {
  width: 100%;
  margin-top: 38px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  padding: clamp(100px, 9vw, 170px) var(--page-pad);
  gap: clamp(60px, 9vw, 180px);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-heading {
  max-width: 650px;
  justify-self: end;
}

.faq h2 {
  max-width: 11ch;
}

.faq-list {
  width: 100%;
  max-width: 920px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 92px;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 500;
}

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

.faq summary > span:last-child {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 220ms var(--ease), color 180ms ease, background 180ms ease;
}

.faq details[open] summary > span:last-child {
  color: var(--white);
  background: var(--forest);
  transform: rotate(45deg);
}

.faq details > p {
  max-width: 760px;
  margin: -10px 70px 0 0;
  padding: 0 0 32px;
  color: rgba(34, 53, 46, 0.68);
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  padding: clamp(90px, 8vw, 150px) var(--page-pad);
  gap: clamp(36px, 5vw, 86px);
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.5), transparent 26%),
    var(--water);
}

.contact-panel,
.map-wrap {
  min-width: 0;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  justify-self: end;
}

.contact h2 {
  max-width: 11ch;
}

.contact-lines {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(34, 53, 46, 0.26);
}

.contact-lines > * {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: baseline;
  min-height: 70px;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(34, 53, 46, 0.26);
}

.contact-lines span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-lines strong {
  font-size: 14px;
  font-weight: 500;
}

.contact .primary-action {
  min-width: min(100%, 330px);
}

.contact .social-action {
  border-bottom-color: rgba(34, 53, 46, 0.38);
  color: var(--ink);
}

.map-wrap {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(34, 53, 46, 0.22);
  border-radius: 10px 90px 10px 10px;
  background: var(--paper-soft);
  box-shadow: 0 30px 80px rgba(34, 53, 46, 0.14);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 46vw, 700px);
  border: 0;
  background: var(--stone);
}

.map-fallback {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 80px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}

.map-fallback p {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
}

.map-fallback > span {
  color: rgba(34, 53, 46, 0.66);
  font-size: 12px;
}

.map-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1.4fr) auto;
  align-items: end;
  gap: clamp(28px, 6vw, 110px);
  padding: clamp(58px, 6vw, 100px) var(--page-pad);
  color: rgba(255, 255, 255, 0.76);
  background: var(--forest-deep);
}

.footer-brand {
  display: grid;
  gap: 5px;
}

.footer-brand span {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(34px, 3vw, 58px);
  line-height: 1;
}

.footer-brand small {
  font-size: 8px;
  letter-spacing: 0.2em;
}

.site-footer > p {
  max-width: 790px;
  margin: 0;
  font-size: 10px;
}

.floating-action {
  position: fixed;
  z-index: 90;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(25, 47, 38, 0.24);
  cursor: pointer;
}

.floating-whatsapp {
  left: max(18px, env(safe-area-inset-left));
  color: var(--white);
  background: #2f6a52;
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.back-to-top {
  right: max(18px, env(safe-area-inset-right));
  color: var(--white);
  background: var(--forest);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 240ms var(--ease), visibility 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 780ms var(--ease), transform 780ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1900px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-image-frame {
    max-height: 820px;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-pad: clamp(24px, 3.6vw, 44px);
  }

  .desktop-nav {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: 10px;
  }

  .header-call span {
    display: none;
  }

  .header-call {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.2vw, 74px);
  }

  html[lang="ru"] .hero h1 {
    font-size: clamp(48px, 5.7vw, 68px);
  }

  .services-head {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .service-chapter,
  .service-chapter:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 60px;
  }

  .service-chapter:nth-child(even) {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  }

  .service-copy h3 {
    font-size: clamp(54px, 7vw, 76px);
  }

  .contact-lines > * {
    grid-template-columns: 94px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
    --page-pad: clamp(18px, 4.4vw, 34px);
  }

  .site-header {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .header-call {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: grid;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    padding: 44px var(--page-pad) 72px;
    gap: 44px;
  }

  .hero-copy {
    width: 100%;
    justify-self: stretch;
  }

  .hero h1,
  html[lang="ru"] .hero h1 {
    max-width: 12ch;
    font-size: clamp(47px, 10.4vw, 76px);
  }

  html[lang="ru"] .hero h1 {
    max-width: 13ch;
  }

  .hero-lead {
    max-width: 600px;
    margin-top: 22px;
    font-size: 16px;
  }

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

  .hero-visual {
    width: 100%;
    justify-self: stretch;
  }

  .hero-image-frame {
    aspect-ratio: 1.18 / 1;
    border-radius: 42% 42% 10px 10px / 22% 22% 10px 10px;
  }

  .hero-image-frame img {
    object-position: 59% center;
  }

  .condensation-ring {
    top: -8%;
    left: 3%;
    width: 66%;
  }

  .hero-visual-label {
    right: 12px;
    bottom: 12px;
  }

  .hero-scroll {
    display: none;
  }

  .fact-ribbon {
    grid-template-columns: 1fr;
    padding: 0 var(--page-pad);
  }

  .fact-ribbon p {
    min-height: 64px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact-ribbon p:first-child {
    border-top: 0;
  }

  .services-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-head .section-kicker {
    grid-column: auto;
  }

  .services h2 {
    max-width: 12ch;
    font-size: clamp(50px, 9.8vw, 78px);
  }

  .services-head > p:last-child {
    max-width: 570px;
  }

  .thermal-path {
    left: 30px;
    opacity: 0.5;
  }

  .service-chapter,
  .service-chapter:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
    padding: 76px 0;
  }

  .service-chapter:nth-child(even) .service-media {
    order: 0;
  }

  .service-media,
  .service-chapter:nth-child(even) .service-media {
    aspect-ratio: 1.38 / 1;
    border-radius: 8px 74px 8px 8px;
  }

  .service-copy {
    padding: 42px 0 0 38px;
  }

  .service-number {
    right: auto;
    left: 0;
  }

  .service-copy h3 {
    font-size: clamp(54px, 13vw, 86px);
  }

  .visit,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .visit-intro {
    position: static;
  }

  .visit {
    gap: 52px;
  }

  .faq {
    gap: 54px;
  }

  .faq-heading {
    max-width: none;
    justify-self: start;
  }

  .faq h2 {
    max-width: 12ch;
  }

  .faq-list {
    max-width: none;
  }

  .contact-panel {
    max-width: none;
    justify-self: stretch;
  }

  .map-wrap {
    width: 100%;
    border-radius: 8px 60px 8px 8px;
  }

  .map-wrap iframe {
    height: min(62vw, 560px);
    min-height: 390px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 18px;
  }

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

  .brand-kind {
    font-size: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch {
    min-height: 42px;
  }

  .lang-button {
    width: 34px;
    height: 34px;
  }

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

  .hero {
    padding-top: 34px;
    padding-bottom: 58px;
    gap: 34px;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .eyebrow {
    gap: 12px;
  }

  .eyebrow-line {
    flex: 1;
    width: auto;
  }

  .hero h1,
  html[lang="ru"] .hero h1 {
    max-width: 11.8ch;
    font-size: clamp(45px, 13.6vw, 64px);
    line-height: 0.98;
  }

  html[lang="ru"] .hero h1 {
    max-width: 12.8ch;
    font-size: clamp(42px, 12.8vw, 59px);
  }

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

  .primary-action {
    width: 100%;
  }

  .text-action {
    min-height: 44px;
    justify-content: center;
  }

  .confirmation-note {
    margin-top: 14px;
  }

  .hero-image-frame {
    aspect-ratio: 0.96 / 1;
    border-radius: 43% 43% 8px 8px / 18% 18% 8px 8px;
  }

  .hero-image-frame img {
    object-position: 64% center;
  }

  .hero-visual-label {
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 10px 12px;
    font-size: 8px;
  }

  .fact-ribbon p {
    gap: 16px;
    font-size: 10px;
    line-height: 1.4;
  }

  .services {
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .services h2 {
    font-size: clamp(45px, 13vw, 61px);
    line-height: 0.98;
  }

  .services-head {
    padding-bottom: 58px;
  }

  .thermal-path {
    display: none;
  }

  .service-chapter,
  .service-chapter:nth-child(even) {
    gap: 26px;
    padding: 58px 0;
  }

  .service-media,
  .service-chapter:nth-child(even) .service-media {
    aspect-ratio: 1.15 / 1;
    border-radius: 6px 56px 6px 6px;
  }

  .service-copy {
    padding: 36px 0 0;
  }

  .service-number {
    top: 0;
    right: 0;
    left: auto;
  }

  .service-copy h3 {
    font-size: clamp(50px, 18vw, 72px);
  }

  .service-copy > p:not(.service-material) {
    margin-top: 18px;
    font-size: 14px;
  }

  .service-link {
    width: 100%;
    gap: 16px;
    font-size: 9px;
  }

  .visit,
  .faq,
  .contact {
    padding-top: 88px;
    padding-bottom: 94px;
  }

  .visit h2,
  .faq h2,
  .contact h2 {
    font-size: clamp(43px, 12.6vw, 58px);
    line-height: 1;
  }

  .visit {
    gap: 40px;
  }

  .visit-intro > p:last-child {
    margin-top: 22px;
    font-size: 14px;
  }

  .visit-steps {
    margin-top: 0;
  }

  .visit-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 0;
    gap: 16px;
    padding: 26px 0;
  }

  .visit-steps h3 {
    font-size: 28px;
  }

  .visit-steps p {
    margin-top: 10px;
    font-size: 12px;
  }

  .faq {
    gap: 38px;
  }

  .faq summary {
    grid-template-columns: minmax(0, 1fr) 40px;
    min-height: 76px;
    gap: 14px;
    font-size: 16px;
  }

  .faq summary > span:last-child {
    width: 40px;
    height: 40px;
  }

  .faq details > p {
    margin-right: 0;
    padding-bottom: 26px;
    font-size: 12px;
  }

  .contact {
    gap: 46px;
  }

  .contact-lines {
    margin-top: 32px;
  }

  .contact-lines > * {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 7px;
    padding: 18px 0;
  }

  .contact-lines strong {
    font-size: 13px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .contact .social-action {
    width: 100%;
  }

  .map-wrap {
    border-radius: 6px 46px 6px 6px;
  }

  .map-wrap iframe {
    min-height: 360px;
    height: 96vw;
    max-height: 480px;
  }

  .map-fallback {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 14px 16px;
  }

  .map-fallback p {
    font-size: 16px;
  }

  .map-fallback > span {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 10px;
  }

  .map-fallback a {
    grid-column: 2;
    grid-row: 1;
    font-size: 9px;
  }

  .site-footer {
    padding-bottom: 104px;
  }

  .floating-action {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-right: 12px;
    padding-left: 14px;
  }

  .brand-kind {
    display: none;
  }

  .hero h1,
  html[lang="ru"] .hero h1 {
    font-size: 43px;
  }

  html[lang="ru"] .hero h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .primary-action,
  .wide-action {
    gap: 14px;
    font-size: 10px;
  }

  .service-copy h3 {
    font-size: 56px;
  }

  .visit h2,
  .faq h2,
  .contact h2 {
    font-size: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .condensation-ring {
    opacity: 0.68;
    transform: none;
  }
}
