:root {
  --bs-primary: #B06030;
  --bs-primary-rgb: 176, 96, 48;
  --bs-link-color: #A85828;
  --bs-link-hover-color: #B06030;
  --bs-link-color-rgb: 168, 88, 40;
  --bs-link-hover-color-rgb: 176, 96, 48;
  --bs-pagination-color: #A85828;
  --bs-pagination-hover-color: #B06030;
  --bs-pagination-focus-color: #B06030;
  --bs-pagination-active-bg: #B06030;
  --bs-pagination-active-border-color: #B06030;
  --bs-body-bg: #F7F4F1;
  --bs-body-color: #383838;
  --bs-secondary-color: #5c534e;
  --bs-tertiary-color: #5c534e;
  --bs-heading-color: #383838;
  --bs-emphasis-color: #383838;
  --bs-border-color: #E6DDD6;
  --bs-focus-ring-color: rgba(176, 96, 48, 0.35);
  --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.65;
  --site-nav-height: 5rem;
  --site-graphite: #383838;
  --site-cream: #F7F4F1;
  --site-copper: #B06030;
  --site-copper-dark: #A85828;
  --site-line: #E6DDD6;
  --site-shadow: 0 16px 40px rgba(56, 56, 56, 0.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-nav-height);
}

section[id] {
  scroll-margin-top: var(--site-nav-height);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--site-cream);
  color: var(--site-graphite);
  letter-spacing: -0.011em;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
.h5 {
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.btn {
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: 1rem;
  min-height: 2.75rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

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

.btn-primary {
  --bs-btn-bg: #B06030;
  --bs-btn-border-color: #B06030;
  --bs-btn-hover-bg: #A85828;
  --bs-btn-hover-border-color: #A85828;
  --bs-btn-active-bg: #8C4A22;
  --bs-btn-active-border-color: #8C4A22;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: #B06030;
  --bs-btn-disabled-border-color: #B06030;
  --bs-btn-disabled-color: #fff;
  box-shadow: 0 8px 20px rgba(176, 96, 48, 0.22);
}

.btn-outline-primary {
  --bs-btn-color: #A85828;
  --bs-btn-border-color: #B06030;
  --bs-btn-hover-bg: #B06030;
  --bs-btn-hover-border-color: #B06030;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #A85828;
  --bs-btn-active-border-color: #A85828;
  --bs-btn-active-color: #fff;
  background: #fff;
}

.btn-link {
  --bs-btn-color: #A85828;
  --bs-btn-hover-color: #B06030;
  --bs-btn-active-color: #8C4A22;
  --bs-btn-focus-shadow-rgb: 176, 96, 48;
}

a:not(.btn),
a:not(.btn):visited,
.link-primary,
.link-primary:visited {
  color: #A85828;
}

a:not(.btn):hover,
a:not(.btn):focus,
a:not(.btn):active,
.link-primary:hover,
.link-primary:focus,
.link-primary:active {
  color: #B06030;
}

.site-navbar {
  min-height: var(--site-nav-height);
  background: rgba(247, 244, 241, 0.88);
  backdrop-filter: blur(16px);
  border-top: 4px solid #B06030;
  border-bottom: 1px solid rgba(230, 221, 214, 0.9);
  box-shadow: 0 8px 24px rgba(56, 56, 56, 0.04);
  --bs-navbar-color: #A85828;
  --bs-navbar-hover-color: #B06030;
  --bs-navbar-active-color: #A85828;
  --bs-navbar-brand-color: #383838;
  --bs-navbar-brand-hover-color: #383838;
  --bs-navbar-toggler-border-color: #E6DDD6;
}

.navbar-brand img {
  height: 3.35rem;
  width: auto;
}

.nav-link,
.nav-link:visited {
  color: #A85828;
  font-weight: 560;
  padding: 0.7rem 0.85rem;
  min-height: 2.75rem;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
  color: #B06030;
}

.nav-link.active {
  font-weight: 700;
}

@media (min-width: 992px) {
  .nav-link {
    position: relative;
  }

  .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 2px;
    background: #B06030;
  }
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    padding: 0;
    border: 1px solid #E6DDD6;
    border-radius: 0.8rem;
    background: #fff;
  }

  .navbar-toggler-icon {
    width: 1.15rem;
    height: 2px;
    background-image: none;
    background-color: #383838;
    position: relative;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 1.15rem;
    height: 2px;
    background: #383838;
  }

  .navbar-toggler-icon::before {
    top: -6px;
  }

  .navbar-toggler-icon::after {
    top: 6px;
  }

  .navbar-collapse {
    padding-bottom: 0.75rem;
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38rem;
  padding: 5.5rem 0;
  color: #fff;
  background: #383838 url("/img/hero.jpg") 72% center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(56, 56, 56, 0.94) 0%, rgba(56, 56, 56, 0.82) 38%, rgba(56, 56, 56, 0.28) 78%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 650;
}

.hero .lead {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  color: rgba(247, 244, 241, 0.92);
  font-size: 1.2rem;
  line-height: 1.55;
}

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

.btn-hero-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.72);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #383838;
  --bs-btn-active-bg: #F7F4F1;
  --bs-btn-active-color: #383838;
  background: transparent;
}

.band {
  padding: 5.5rem 0;
}

.band-white {
  background: #fff;
}

.section-kicker {
  margin-bottom: 0.4rem;
  color: #A85828;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.card {
  --bs-card-bg: #fff;
  --bs-card-border-color: #E6DDD6;
  --bs-card-cap-bg: #fff;
  --bs-card-color: #383838;
  border: 1px solid #E6DDD6;
  border-radius: 1.15rem;
  box-shadow: var(--site-shadow);
}

.lift-card {
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(56, 56, 56, 0.09);
}

.card-mark {
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: #B06030;
}

.trust-card .card-body {
  text-align: center;
}

.trust-icon {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0.15rem auto 0.85rem;
  color: #B06030;
}

.trust-card .h5 {
  margin-bottom: 0.4rem;
  color: #B06030;
  font-size: 1.2rem;
}

.trust-card p {
  font-size: 0.92rem;
}

.trust-card {
  border-bottom: 4px solid #B06030;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.trust-card p:last-child,
.step-card p:last-child,
.faq-card p:last-child {
  color: #5c534e;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(176, 96, 48, 0.12);
  color: #A85828;
  font-weight: 700;
}

.price-card p:last-child {
  color: #5c534e;
}

.price-card .price {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(176, 96, 48, 0.14);
  color: #A85828;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.more-link::after {
  content: "→";
  display: inline-block;
  animation: more-link-pulse 1.8s ease-in-out infinite;
}

a.more-link:hover,
a.more-link:focus,
a.more-link:focus-visible,
a.more-link:active {
  background: #B06030;
  color: #fff;
  text-decoration: none;
}

.more-link:hover::after,
.more-link:focus-visible::after {
  animation: none;
  transform: translateX(3px);
}

@keyframes more-link-pulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(4px);
    opacity: 0.55;
  }
}

.portrait-frame {
  display: block;
}

.contact-portrait {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 1.15rem;
}

.portrait {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
  border-radius: 1.35rem;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 992px) {
  .media-row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 3rem;
    align-items: start;
    margin-right: 0;
    margin-left: 0;
  }

  .media-row > .col-lg-7,
  .media-row > .media-col {
    display: contents;
  }

  .media-row h2 {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .media-row .reason-list {
    grid-column: 1;
    grid-row: 2;
  }

  .media-row .portrait-frame {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    width: 16.5rem;
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 1.35rem;
  }

  .media-row .portrait {
    width: 16.5rem;
    height: 22rem;
    border-radius: 1.35rem;
    object-fit: cover;
    object-position: center top;
  }

  .contact-layout {
    align-items: flex-start;
  }

  .contact-form-col {
    order: 1;
  }

  .contact-aside {
    order: 2;
  }

  .contact-form-col .consultation-form {
    margin-top: 0;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-heading {
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.reason-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  padding: 1rem 1.1rem;
  border: 1px solid #E6DDD6;
  border-radius: 0.95rem;
  background: #fff;
}

.invite {
  padding-bottom: 0.5rem;
}

.invite .card {
  border: 0;
  background: #383838;
  color: #F7F4F1;
}

.invite h2,
.invite p {
  color: #F7F4F1;
}

.invite h2 {
  font-size: calc(1.325rem + 0.9vw);
}

#uslugi .invite {
  margin-top: 2.75rem;
  padding-bottom: 0;
}

.invite p {
  max-width: 38rem;
  color: rgba(247, 244, 241, 0.86);
}

.contact-facts {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.contact-facts li {
  display: grid;
  gap: 0.1rem;
}

.contact-facts span {
  color: #8a817b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.consultation-form {
  margin-top: 0.5rem;
  padding: 1.25rem;
  border: 1px solid #E6DDD6;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: var(--site-shadow);
}

.form-label {
  font-weight: 650;
}

.required-mark {
  color: var(--site-copper);
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 3rem;
  border-color: #E6DDD6;
  border-radius: 0.8rem;
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: #B06030;
  box-shadow: 0 0 0 0.2rem rgba(176, 96, 48, 0.16);
}

.form-check-input {
  width: 1.15rem;
  height: 1.15rem;
}

.form-check-input:checked {
  background-color: #B06030;
  border-color: #B06030;
}

.form-check-input:focus {
  border-color: #B06030;
  box-shadow: 0 0 0 0.2rem rgba(176, 96, 48, 0.16);
}

#captcha-image {
  display: block;
  border: 1px solid #E6DDD6;
  border-radius: 0.8rem;
  background: #F7F4F1;
}

.consultation-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#consultation-status:focus {
  outline: 2px solid #A85828;
  outline-offset: 2px;
}

.page {
  padding: 3.25rem 0 5.5rem;
}

.page h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
}

.page h2 {
  margin-top: 3rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.page .contact-heading,
.band .contact-heading {
  max-width: none;
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.page .lead {
  max-width: 44rem;
  color: #5c534e;
}

.page .breadcrumb {
  margin-bottom: 1.4rem;
  --bs-breadcrumb-divider-color: #8a817b;
}

.page .breadcrumb-item,
.page .breadcrumb-item.active {
  color: #5c534e;
}

.page section {
  margin-top: 2.75rem;
}

.page section h2 {
  margin-top: 0;
}

.page ul:not(.contact-facts) {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.page ul:not(.contact-facts) li {
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-left: 3px solid #B06030;
  border-radius: 0 0.85rem 0.85rem 0;
  background: #fff;
}

.legal {
  max-width: 42rem;
}

.faq-item {
  margin-top: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid #E6DDD6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--site-shadow);
}

.faq-item h2 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.table-responsive {
  border: 1px solid #E6DDD6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--site-shadow);
}

.table {
  --bs-table-bg: #fff;
  --bs-table-color: #383838;
  --bs-table-border-color: #E6DDD6;
  --bs-table-striped-bg: #F7F4F1;
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  padding: 0.95rem 1.15rem;
}

.table thead th {
  background: #F7F4F1;
  font-weight: 680;
}

.site-footer {
  background: #383838;
  color: #F7F4F1;
  padding: 0;
}

.footer-main {
  padding: 4.25rem 0 3.25rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem 0.7rem;
  border-radius: 1rem;
  background: #F7F4F1;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 4.6rem;
}

.footer-lead {
  max-width: 16rem;
  margin: 0;
  color: rgba(247, 244, 241, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-label {
  margin: 0 0 1rem;
  color: #B06030;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links,
.footer-facts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-facts a,
.footer-facts li {
  color: rgba(247, 244, 241, 0.9);
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer .footer-links a,
.site-footer .footer-links a:visited,
.site-footer .footer-facts a,
.site-footer .footer-facts a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #FFFFFF;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus,
.site-footer .footer-links a:active,
.site-footer .footer-facts a:hover,
.site-footer .footer-facts a:focus,
.site-footer .footer-facts a:active {
  color: #B06030;
}

.footer-bottom {
  background: #2c2a28;
  border-top: 1px solid rgba(247, 244, 241, 0.08);
}

.footer-bottom p {
  margin: 0;
  padding: 0.95rem 0;
  color: rgba(247, 244, 241, 0.62);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 0;
    padding: 4.25rem 0 3.5rem;
    background-position: center;
  }

  .hero::before {
    background: rgba(56, 56, 56, 0.84);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .band {
    padding: 3.75rem 0;
  }

  .hero-actions .btn,
  .page .btn,
  .consultation-form .btn {
    width: 100%;
  }
}

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

  .btn,
  .lift-card,
  .nav-link,
  .more-link::after {
    transition: none;
    animation: none;
  }

  .btn:hover,
  .lift-card:hover {
    transform: none;
  }
}
