:root {
  --ink: #161b19;
  --ink-2: #2b3330;
  --muted: #56625d;
  --accent: #2f4840;
  --accent-hover: #3d5d53;
  --accent-tint: #e5ece9;
  --greige: #d8d0c9;
  --line: #dbe2df;
  --white: #ffffff;
  --bg-services: #eef2f0;
  --bg-before: #1a2320;
  --bg-reviews: #fafbfa;
  --bg-insta: #e3eae6;
  --bg-contact: #f5f7f6;
  --bg-footer: #121816;
  --display: "Jost", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
  --sec-y: 88px;
  --nav-h: 72px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 12px;
  --shadow: 0 14px 32px rgba(22, 32, 28, 0.07);
  --shadow-soft: 0 6px 18px rgba(22, 32, 28, 0.045);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

figure {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--white {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn--white:hover {
  background: #eef2f0;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--outline {
  background: var(--white);
  border-color: #b9c6c0;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent);
}

.icon-tile--dark {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--greige);
}

.topbar {
  background: var(--bg-footer);
  color: #c9d3cf;
  font-size: 13.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 40px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-item svg {
  color: var(--greige);
}

.topbar-item:hover {
  color: var(--white);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e7ece9;
  transition: box-shadow 0.25s ease;
}

.nav.is-scrolled {
  box-shadow: 0 6px 20px rgba(22, 32, 28, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-h);
}

.nav-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.nav-logo img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.mobile-menu-head,
.menu-actions,
.menu-contact {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone svg {
  color: var(--accent);
}

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

.btn--nav {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  margin-left: 4px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 17, 15, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, calc(100vh - 112px), 780px);
  padding-top: 64px;
  padding-bottom: 56px;
  background: #0d1210;
  color: var(--white);
  isolation: isolate;
}

.hero-photos {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  background: var(--bg-footer);
}

.hero-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--a img {
  object-position: 30% 55%;
}

.hero-photo--c img {
  object-position: 45% 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 58% 52% at 50% 52%, rgba(10, 15, 13, 0.6), rgba(10, 15, 13, 0) 100%),
    linear-gradient(180deg, rgba(10, 15, 13, 0.26) 0%, rgba(10, 15, 13, 0.34) 45%, rgba(10, 15, 13, 0.74) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  max-width: 620px;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 52px;
}

.hero-proof li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-align: left;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-proof svg {
  flex: 0 0 auto;
  color: var(--greige);
}

.hero-proof strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-proof small {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
}

.head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.head h2,
.about-text h2,
.before-intro h2 {
  font-size: clamp(1.875rem, 2.9vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.head p {
  margin-top: 14px;
  font-size: 17.5px;
  color: var(--muted);
}

.section--about {
  background: var(--white);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  max-height: 680px;
  border-radius: var(--r);
  overflow: hidden;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.about-text p {
  margin-top: 16px;
  color: var(--muted);
}

.about-text h2 + p {
  margin-top: 18px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.check-list li > span {
  min-width: 0;
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent);
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: var(--r);
  background: var(--bg-contact);
  border: 1px solid #e3e9e6;
}

.guarantee img {
  width: 64px;
  height: auto;
  flex: 0 0 auto;
}

.about-text .guarantee p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.guarantee strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.section--services {
  background: var(--bg-services);
}

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

.service-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 3 / 4.3;
  border-radius: var(--r);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--bg-before);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0) 38%, rgba(10, 15, 13, 0.55) 62%, rgba(10, 15, 13, 0.86) 100%);
}

.service-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  padding: 20px 18px 20px;
}

.service-title {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.service-text {
  display: block;
  min-height: 4.35em;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.service-card:hover img {
  transform: scale(1.04);
}

.section--before {
  background: var(--bg-before);
  color: var(--white);
}

.before {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.before-intro h2 {
  color: var(--white);
}

.before-intro > p {
  margin-top: 14px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.76);
}

.before-tabs {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.before-tab {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.before-tab strong {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

.before-tab span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}

.before-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.before-tab.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.before-tab.is-active span {
  color: var(--muted);
}

.before-tab:focus-visible,
.btn:focus-visible,
.menu a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 208, 201, 0.9);
}

.before-panel {
  display: none;
}

.before-panel.is-active {
  display: block;
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pair-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 4.7;
  border-radius: var(--r);
  overflow: hidden;
  background: #26302d;
}

.pair-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair-photo figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: rgba(14, 19, 17, 0.78);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.pair-photo + .pair-photo figcaption {
  background: var(--white);
  color: var(--ink);
}

.pair-note {
  margin-top: 18px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
}

.section--reviews {
  background: var(--bg-reviews);
}

.reco-card {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.reco-frame iframe {
  display: block;
  width: 100%;
  height: 225px;
  border: 0;
}

.reco-frame--tall {
  display: none;
}

.reco-frame--tall iframe {
  max-width: 400px;
  height: 985px;
  margin-left: auto;
  margin-right: auto;
}

.quote {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.quote footer {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.quote footer strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.section--insta {
  background: var(--bg-insta);
}

.section--contact {
  background: var(--bg-contact);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: stretch;
}

.info-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.info-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 240px;
  overflow: hidden;
}

.info-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.info-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0) 45%, rgba(10, 15, 13, 0.78) 100%);
}

.info-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.info-photo figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.info-photo figcaption span {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
}

.info-list {
  display: grid;
  gap: 14px;
  padding: 24px 24px 26px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.info-text small {
  font-size: 13px;
  color: var(--muted);
}

.info-text a,
.info-text span {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-text a:hover {
  color: var(--accent);
}

.form-card {
  min-width: 0;
  max-width: 100%;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

#contact-form {
  max-width: 100%;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin-bottom: 18px;
}

.field label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #c3cec9;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
  height: 50px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field textarea {
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.5;
  resize: vertical;
}

.field textarea::placeholder {
  color: #6c7873;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 72, 64, 0.16);
}

.ms-recaptcha-notice {
  text-align: center;
}

.footer {
  background: var(--bg-footer);
  color: #b4c0bb;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-top: 72px;
}

.footer-logo {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  line-height: 0;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 17px;
  color: var(--white);
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-col a {
  color: #b4c0bb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact a,
.footer-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact span:not(.icon-tile) {
  min-width: 0;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 14px;
  color: #8f9c97;
}

.menu a.is-current {
  color: var(--accent);
  font-weight: 700;
}

.btn--accent:hover,
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 32, 28, 0.16);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

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

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs span[aria-hidden="true"] {
  opacity: 0.5;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 46vh, 450px);
  padding-top: 72px;
  padding-bottom: 56px;
  background: #0f1513;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.page-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.page-hero--stripes .page-hero-photo img {
  object-position: 50% 30%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 15, 13, 0.84) 0%, rgba(10, 15, 13, 0.58) 48%, rgba(10, 15, 13, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 15, 13, 0) 40%, rgba(10, 15, 13, 0.5) 100%);
}

.page-hero .crumbs {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(2.125rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.45);
}

.page-hero p {
  max-width: 600px;
  margin-top: 16px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.section--svc {
  background: var(--bg-services);
}

.svc-list {
  display: grid;
  gap: 24px;
}

.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.svc-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.svc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 48px;
}

.svc-body h2 {
  font-size: clamp(1.625rem, 2.3vw, 2.125rem);
  line-height: 1.15;
}

.svc-body p {
  margin-top: 14px;
  color: var(--muted);
}

.svc-body .check-list {
  width: 100%;
  margin-top: 22px;
}

.svc-body .btn {
  margin-top: 28px;
}

.section--area {
  background: var(--white);
}

.area {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 824px;
  text-align: center;
}

.area h2,
.cta-band h2,
.story-text h2 {
  font-size: clamp(1.875rem, 2.9vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.area p {
  margin-top: 14px;
  font-size: 17.5px;
  color: var(--muted);
}

.area .area-places {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
  color: var(--ink);
}

.area .btn {
  margin-top: 28px;
}

.cta-band {
  background: var(--bg-before);
  color: var(--white);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 600px;
  margin-top: 12px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.section--story {
  background: var(--white);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.story-photo,
.map-photo {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
}

.story-photo {
  align-self: stretch;
  min-height: 480px;
  max-height: 640px;
}

.story-photo img,
.map-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.story-photo::after,
.map-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0) 50%, rgba(10, 15, 13, 0.78) 100%);
}

.story-photo figcaption,
.map-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.story-photo figcaption strong,
.map-photo figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.story-photo figcaption span,
.map-photo figcaption span {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
}

.story-text p {
  margin-top: 16px;
  color: var(--muted);
}

.story-text h2 + p {
  margin-top: 18px;
}

.section--way {
  background: var(--bg-services);
}

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

.way-card,
.aside-card,
.nkg-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.way-card {
  min-width: 0;
  overflow: hidden;
}

.way-card figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.way-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.way-body {
  padding: 22px 24px 26px;
}

.way-body h3,
.nkg-body h3 {
  font-size: 21px;
  line-height: 1.25;
}

.way-body p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}

.nkg-card {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 28px 32px;
}

.nkg-card img {
  width: 116px;
  flex: 0 0 auto;
}

.nkg-body {
  min-width: 0;
}

.nkg-body p {
  margin-top: 6px;
  font-size: 16px;
  color: var(--muted);
}

.check-list--row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 16px;
}

.section--quotes {
  background: var(--bg-reviews);
}

.quote-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
}

.section--task {
  background: var(--bg-services);
}

.task-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.task-head .crumbs {
  justify-content: center;
  color: var(--muted);
}

.task-head h1 {
  margin-top: 12px;
  font-size: clamp(2.125rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.task-head p {
  margin-top: 14px;
  font-size: 17.5px;
  color: var(--muted);
}

.task-head p a {
  color: var(--accent);
  font-weight: 700;
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.offer-aside {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.aside-card {
  padding: 28px;
}

.aside-card h2,
.form-title {
  font-size: 22px;
  line-height: 1.25;
}

.form-title {
  margin-bottom: 22px;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.steps li > span:last-child {
  min-width: 0;
}

.steps strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.steps small {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}

.aside-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aside-rating strong {
  font-size: 16px;
}

.aside-card--proof blockquote {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.aside-name {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.aside-nkg {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.aside-nkg img {
  width: 52px;
  flex: 0 0 auto;
}

.aside-nkg strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
}

.aside-card--proof .btn {
  margin-top: 22px;
}

.contact--page {
  align-items: start;
}

.info-actions {
  display: grid;
  gap: 12px;
  padding: 0 24px 26px;
}

.section--map {
  background: var(--white);
}

.map-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
}

.map-frame {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.map-photo {
  min-height: 440px;
  border-radius: var(--r-lg);
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: rise 0.8s var(--ease) both;
  }
  .hero-content > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-content > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-content > :nth-child(4) {
    animation-delay: 0.24s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none) {
  .service-card:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .before-panel.is-active {
    animation: none;
  }
}

@media (max-width: 1240px) {
  .nav-phone span {
    display: none;
  }
  .nav-phone {
    width: 46px;
    height: 46px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
  }
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1060px) {
  .nav-inner {
    gap: 16px;
  }
  .nav-cta {
    margin-left: auto;
    gap: 10px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    width: min(380px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 0 24px 28px;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s var(--ease), visibility 0s linear 0s;
    box-shadow: -18px 0 40px rgba(12, 17, 15, 0.18);
  }
  .mobile-menu-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    background: var(--white);
    border-bottom: 1px solid #e7ece9;
  }
  .mobile-menu-head img {
    height: 38px;
    width: auto;
  }
  .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
  }
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 14px;
  }
  .menu a {
    height: 52px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
  }
  .menu-actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
  }
  .menu-contact {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }
  .menu-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
  }
  .menu-contact .icon-tile {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card {
    aspect-ratio: 16 / 11;
  }
  :root {
    --sec-y: 72px;
  }
  .topbar-item--ig {
    display: none;
  }
  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .about-photo {
    align-self: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 11;
  }
  .about-photo img {
    object-position: 50% 40%;
  }
  .before {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .before-intro {
    text-align: center;
  }
  .before-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .before-tab {
    padding: 13px 16px;
  }
  .before-stage {
    max-width: 760px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .info-photo {
    flex: 0 0 auto;
    height: 260px;
  }
}

@media (max-width: 760px) {
  .hero-photos {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-photo--a,
  .hero-photo--c {
    display: none;
  }
  .hero-photo--b img {
    object-position: 50% 30%;
  }
  .hero {
    align-items: flex-end;
    min-height: 0;
    padding-top: 220px;
    padding-bottom: 36px;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(10, 15, 13, 0.12) 0%, rgba(10, 15, 13, 0.45) 30%, rgba(10, 15, 13, 0.8) 62%, rgba(10, 15, 13, 0.9) 100%);
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-proof {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-top: 26px;
  }
  .hero-proof li {
    padding: 0 4px;
  }
  .hero-proof svg {
    width: 20px;
    height: 20px;
  }
  .hero-proof li > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }
  .hero-proof strong {
    font-size: 15px;
  }
  .hero-proof small {
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}

@media (max-width: 600px) {
  :root {
    --sec-y: 56px;
    --gutter: 18px;
    --nav-h: 64px;
  }
  body {
    font-size: 16px;
  }
  .topbar-item--mail {
    display: none;
  }
  .topbar-inner {
    gap: 22px;
  }
  .btn--nav {
    display: none;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .nav-logo img {
    height: 44px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .head {
    margin-bottom: 32px;
  }
  .head h2,
  .about-text h2,
  .before-intro h2 {
    font-size: 1.75rem;
  }
  .head p {
    font-size: 16px;
  }
  .check-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .guarantee {
    align-items: flex-start;
    padding: 14px 16px;
  }
  .guarantee img {
    width: 52px;
  }
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .service-card {
    aspect-ratio: 3 / 4.4;
  }
  .service-body {
    padding: 14px 13px;
  }
  .service-title {
    font-size: 17px;
  }
  .service-text {
    min-height: 0;
    font-size: 13px;
    line-height: 1.4;
  }
  .before-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .before-tab {
    padding: 11px 12px;
  }
  .before-tab strong {
    font-size: 14.5px;
  }
  .before-tab span {
    font-size: 12.5px;
  }
  .pair-photo {
    aspect-ratio: 3 / 4;
  }
  .pair-note {
    font-size: 15.5px;
    text-align: center;
  }
  .pair {
    gap: 8px;
  }
  .pair-photo figcaption {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 12.5px;
  }
  .reco-card {
    padding: 14px 0;
  }
  .reco-frame--wide {
    display: none;
  }
  .reco-frame--tall {
    display: block;
  }
  .quote {
    margin-top: 36px;
  }
  .center-actions .btn {
    width: 100%;
  }
  .form-card {
    padding: 22px 18px;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 56px;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  .reco-frame--wide iframe {
    height: 264px;
  }
}

@media (max-width: 1180px) {
  .check-list--row {
    flex-direction: column;
    gap: 8px;
  }
  .svc-body {
    padding: 36px 36px;
  }
}

@media (max-width: 980px) {
  .svc-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .svc-body {
    padding: 28px 26px 30px;
  }
  .story {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .story-photo {
    align-self: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 11;
  }
  .nkg-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nkg-card img {
    width: 88px;
  }
  .offer {
    grid-template-columns: minmax(0, 1fr);
  }
  .map-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .map-photo {
    min-height: 280px;
  }
  .page-hero {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .way-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .way-card figure {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .page-hero {
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 32px;
  }
  .page-hero::after {
    background: linear-gradient(180deg, rgba(10, 15, 13, 0.25) 0%, rgba(10, 15, 13, 0.6) 45%, rgba(10, 15, 13, 0.88) 100%);
  }
  .page-hero h1,
  .task-head h1 {
    font-size: 2rem;
  }
  .page-hero p {
    font-size: 16px;
  }
  .area h2,
  .cta-band h2,
  .story-text h2 {
    font-size: 1.75rem;
  }
  .svc-body {
    padding: 22px 18px 24px;
  }
  .svc-body .btn,
  .area .btn {
    width: 100%;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .nkg-card,
  .aside-card {
    padding: 22px 18px;
  }
  .task-head {
    margin-bottom: 28px;
  }
  .task-head p {
    font-size: 16px;
  }
  .map-frame iframe {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .service-text {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (max-width: 370px) {
  .service-body {
    padding: 12px 10px;
  }
  .service-title {
    font-size: 15px;
  }
  .service-text {
    font-size: 12.5px;
  }
}
