@font-face {
  font-family: "Caesar Local";
  src: url("./fonts/caesar-dressing-cyrillic.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --gold: #e9b306;
  --sand: #e7c567;
  --brown: #5c1f11;
  --brown-soft: #702713;
  --ink: #17130f;
  --paper: #f3d984;
  --cream: #fff4c7;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--sand);
  color: var(--ink);
  font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

body::selection {
  background: var(--brown);
  color: var(--gold);
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

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

h2 {
  color: var(--brown);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

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

.display-font,
.display-title {
  font-family: "Caesar Local", "Century Gothic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  background: var(--gold);
  min-height: 142px;
}

main,
.site-footer {
  width: 100%;
  max-width: 100%;
}

.site-header::after {
  position: absolute;
  inset: auto 0 -13px;
  height: 22px;
  background: var(--sand);
  clip-path: polygon(
    0 56%,
    2% 37%,
    5% 59%,
    8% 42%,
    11% 63%,
    15% 45%,
    19% 57%,
    24% 39%,
    28% 62%,
    33% 44%,
    38% 58%,
    42% 41%,
    47% 60%,
    52% 40%,
    58% 63%,
    64% 43%,
    69% 58%,
    74% 37%,
    80% 60%,
    86% 39%,
    91% 59%,
    96% 42%,
    100% 55%,
    100% 100%,
    0 100%
  );
  content: "";
}

.header-inner {
  min-height: 142px;
  display: grid;
  grid-template-columns: minmax(250px, 365px) 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand-link {
  display: block;
  text-decoration: none;
}

.header-logo {
  width: min(100%, 365px);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 42px);
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav a,
.header-phone {
  text-decoration: none;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 4px;
  background: var(--brown);
  clip-path: polygon(0 45%, 20% 20%, 38% 70%, 61% 24%, 78% 62%, 100% 42%, 100% 100%, 0 100%);
  content: "";
  opacity: 0;
  transform: translateY(3px);
  transition: 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.header-phone {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.9vw, 2.65rem);
  line-height: 1;
  white-space: nowrap;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 34px;
  color: var(--brown);
  font-size: 0.84rem;
  font-weight: 700;
}

.page-intro {
  position: relative;
  padding: clamp(58px, 8vw, 110px) 0 clamp(46px, 7vw, 88px);
}

.page-intro::before,
.page-intro::after {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 15px solid var(--gold);
  border-radius: 52% 45% 55% 42%;
  content: "";
  opacity: 0.8;
}

.page-intro::before {
  top: 34%;
  right: -44px;
  transform: rotate(26deg);
}

.page-intro::after {
  bottom: -20px;
  left: -47px;
  transform: rotate(-19deg);
}

.page-intro-inner {
  display: block;
}

.page-intro-split .page-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-title {
  max-width: 1050px;
  margin-bottom: 34px;
  color: var(--brown);
  font-size: clamp(3.3rem, 7.4vw, 7.3rem);
  line-height: 0.88;
  text-shadow: 12px 6px 0 var(--gold);
}

.lead {
  max-width: 790px;
  font-size: clamp(1.03rem, 1.5vw, 1.28rem);
  font-weight: 700;
}

.rough-photo {
  position: relative;
  padding: 13px;
  background: var(--brown);
  clip-path: polygon(
    1% 3%,
    12% 0,
    25% 2%,
    38% 0,
    52% 2%,
    66% 0,
    79% 2%,
    91% 0,
    99% 3%,
    100% 16%,
    98% 31%,
    100% 48%,
    98% 63%,
    100% 81%,
    98% 98%,
    83% 100%,
    67% 98%,
    52% 100%,
    35% 98%,
    17% 100%,
    1% 97%,
    2% 81%,
    0 66%,
    2% 49%,
    0 31%
  );
}

.rough-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(1% 1%, 23% 0, 39% 2%, 62% 0, 79% 2%, 99% 1%, 100% 27%, 98% 54%, 100% 76%, 99% 99%, 75% 98%, 48% 100%, 20% 98%, 1% 100%, 2% 75%, 0 52%, 2% 25%);
}

.intro-photo {
  min-height: 330px;
}

.content-section {
  padding: clamp(50px, 7vw, 90px) 0;
}

.content-section.compact {
  padding-top: 20px;
}

.content-narrow {
  max-width: 980px;
}

.content-narrow p,
.content-narrow li {
  max-width: 900px;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 0.65rem;
}

.content-section li::before {
  position: absolute;
  top: 0.72em;
  left: 5px;
  width: 22px;
  height: 7px;
  background: var(--brown);
  clip-path: polygon(0 20%, 100% 0, 92% 100%, 5% 77%);
  content: "";
}

.rough-panel {
  padding: clamp(26px, 4vw, 52px);
  background: var(--brown);
  color: var(--gold);
  clip-path: polygon(1% 3%, 9% 1%, 18% 3%, 28% 0, 40% 2%, 52% 0, 65% 2%, 77% 0, 89% 2%, 99% 1%, 100% 14%, 98% 29%, 100% 46%, 98% 63%, 100% 79%, 98% 98%, 84% 100%, 69% 98%, 53% 100%, 39% 98%, 23% 100%, 1% 97%, 2% 82%, 0 65%, 2% 48%, 0 30%);
}

.rough-panel h2,
.rough-panel h3,
.rough-panel a {
  color: var(--gold);
}

.rough-panel p:last-child {
  margin-bottom: 0;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 26px;
  border: 0;
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(2% 7%, 15% 2%, 29% 5%, 43% 1%, 58% 5%, 72% 2%, 87% 6%, 98% 3%, 100% 50%, 97% 96%, 82% 99%, 67% 95%, 51% 99%, 35% 95%, 18% 99%, 2% 95%, 0 51%);
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-dark {
  background: var(--brown);
  color: var(--gold);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #732813;
}

.rough-panel a.button {
  color: var(--brown);
}

.rough-panel a.button-dark {
  color: var(--gold);
}

.home-hero {
  position: relative;
  min-height: 720px;
  padding: clamp(72px, 9vw, 130px) 0 50px;
}

.home-title {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin-bottom: 15px;
  color: var(--brown);
  font-size: clamp(4.2rem, 9.2vw, 8.9rem);
  line-height: 0.78;
  text-shadow: 15px 7px 0 var(--gold);
}

.home-city {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: 20px;
  margin-left: 25px;
  color: var(--brown);
  font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
  text-shadow: none;
  text-transform: none;
}

.hero-hands {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: min(58vw, 850px);
  z-index: 1;
}

.home-lead-panel {
  position: relative;
  z-index: 3;
  width: min(52%, 660px);
  margin: 55px 0 0 auto;
  min-height: 350px;
  padding: clamp(34px, 5vw, 70px);
}

.home-lead-panel h2 {
  color: var(--gold);
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.home-cards {
  position: relative;
  padding: 75px 0 50px;
}

.home-cards::before {
  position: absolute;
  top: 10px;
  left: 3vw;
  width: 165px;
  height: 165px;
  border: 22px solid var(--brown);
  border-radius: 48% 55% 46% 52%;
  content: "";
  opacity: 0.9;
  transform: rotate(23deg);
}

.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 14px 14px 32px;
  background: var(--brown);
  color: var(--gold);
  text-decoration: none;
  clip-path: polygon(1% 2%, 15% 0, 30% 2%, 46% 0, 62% 2%, 79% 0, 99% 2%, 100% 18%, 98% 36%, 100% 53%, 98% 70%, 100% 98%, 81% 100%, 63% 98%, 47% 100%, 28% 98%, 1% 100%, 2% 80%, 0 61%, 2% 43%, 0 23%);
  transition: transform 170ms ease;
}

.feature-card:nth-child(2) {
  background: var(--gold);
  color: var(--brown);
  transform: translateY(10px) rotate(-0.5deg);
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-7px) rotate(0.3deg);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  clip-path: polygon(1% 2%, 24% 0, 43% 2%, 63% 0, 84% 2%, 99% 0, 100% 97%, 78% 100%, 52% 98%, 27% 100%, 0 98%);
}

.feature-card h2 {
  margin: 26px 20px 14px;
  color: inherit;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  text-transform: uppercase;
}

.feature-card p {
  margin: 0 20px;
  font-weight: 700;
}

.important-note {
  max-width: 920px;
  margin: 45px auto 0;
  text-align: center;
}

.phone-cta {
  position: relative;
  padding: clamp(65px, 9vw, 125px) 0 clamp(75px, 10vw, 130px);
  text-align: center;
}

.phone-cta h2 {
  color: var(--brown);
  font-size: clamp(2.2rem, 5.5vw, 5.3rem);
  text-transform: uppercase;
}

.big-phone {
  display: inline-block;
  margin: 10px auto 30px;
  padding: 18px 55px;
  background: var(--gold);
  color: var(--brown);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
  text-decoration: none;
  clip-path: polygon(4% 8%, 19% 2%, 35% 6%, 52% 1%, 70% 6%, 87% 2%, 98% 10%, 100% 50%, 97% 92%, 82% 98%, 65% 94%, 48% 99%, 29% 95%, 10% 99%, 1% 90%, 0 50%);
}

.phone-cta p {
  font-size: clamp(1.45rem, 3vw, 2.8rem);
}

.site-footer {
  position: relative;
  padding: 70px 0 28px;
  background: var(--brown);
  color: var(--gold);
}

.site-footer::before {
  position: absolute;
  inset: -17px 0 auto;
  height: 25px;
  background: var(--brown);
  clip-path: polygon(0 65%, 4% 30%, 9% 62%, 15% 28%, 21% 65%, 27% 35%, 34% 68%, 40% 26%, 47% 64%, 54% 32%, 61% 68%, 67% 29%, 74% 62%, 81% 33%, 88% 69%, 94% 27%, 100% 58%, 100% 100%, 0 100%);
  content: "";
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.5fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.footer-brand img {
  width: 230px;
  height: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 340px;
  font-size: 0.86rem;
}

.footer-phone {
  font-size: 1.15rem;
  font-weight: 700;
}

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

.footer-nav div {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-nav a {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  padding-top: 48px;
  margin-top: 45px;
  border-top: 1px solid rgb(233 179 6 / 35%);
  font-size: 0.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 70px);
}

.service-grid,
.info-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-card,
.info-card,
.faq-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 6px solid var(--brown);
  background: rgb(255 244 199 / 30%);
  clip-path: polygon(1% 2%, 12% 0, 25% 2%, 39% 0, 55% 2%, 70% 0, 86% 2%, 99% 1%, 100% 20%, 98% 39%, 100% 59%, 98% 80%, 99% 98%, 84% 100%, 68% 98%, 49% 100%, 31% 98%, 14% 100%, 1% 98%, 2% 78%, 0 60%, 2% 39%, 0 20%);
}

.service-card:nth-child(even),
.info-card:nth-child(3n),
.faq-card:nth-child(even) {
  background: var(--gold);
}

.service-card h2,
.info-card h2,
.faq-card h2,
.faq-card h3 {
  color: var(--brown);
  font-size: 1.5rem;
}

.faq-card p:last-child,
.service-card p:last-child,
.info-card p:last-child {
  margin-bottom: 0;
}

.faq-grid {
  margin-top: 38px;
}

.section-kicker {
  color: var(--brown);
  font-size: clamp(2.2rem, 5.5vw, 5.6rem);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 58px;
}

.step {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.step-number {
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  border: 16px solid var(--brown);
  border-radius: 52% 45% 51% 47%;
  background: var(--gold);
  color: var(--brown);
  font-family: "Caesar Local", "Century Gothic", sans-serif;
  font-size: 4.2rem;
  line-height: 1;
  transform: rotate(-5deg);
}

.step:nth-child(even) .step-number {
  border-color: var(--gold);
  background: var(--brown);
  color: var(--gold);
  transform: rotate(5deg);
}

.step h2 {
  margin-top: 10px;
}

.contact-box {
  margin-top: 25px;
}

.checklist {
  max-width: 1050px;
  margin: 80px auto 0;
  padding: clamp(34px, 6vw, 70px);
  border: 12px solid var(--gold);
  background: var(--gold);
  color: var(--brown);
  clip-path: polygon(1% 2%, 10% 0, 23% 2%, 38% 0, 53% 2%, 69% 0, 84% 2%, 99% 1%, 100% 20%, 98% 41%, 100% 60%, 98% 81%, 99% 99%, 83% 97%, 67% 100%, 50% 98%, 32% 100%, 16% 98%, 1% 100%, 2% 80%, 0 61%, 2% 39%, 0 18%);
}

.checklist h2 {
  color: var(--brown);
  text-align: center;
}

.checklist li::before {
  top: 0.1em;
  width: 25px;
  height: 25px;
  border: 4px solid var(--brown);
  background: transparent;
  clip-path: none;
}

.brand-boundary {
  margin-bottom: 45px;
  font-size: 1.06rem;
  font-weight: 700;
}

.price-note {
  font-size: 1.25rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 6px solid var(--brown);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgb(255 244 199 / 28%);
}

th,
td {
  padding: 16px 18px;
  border-bottom: 2px solid rgb(92 31 17 / 35%);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--brown);
}

.max-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 45px;
}

.max-actions {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.qr-link {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.qr-link img {
  width: 170px;
  height: 170px;
  border: 8px solid var(--gold);
  background: var(--cream);
}

.job-card {
  max-width: 760px;
}

.job-card p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.job-card .button {
  min-width: 190px;
}

.detail-block {
  scroll-margin-top: 30px;
}

.requisites th {
  width: 32%;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
}

.contact-details {
  font-size: 1.12rem;
}

.contact-details a {
  font-weight: 700;
}

.map-frame {
  min-height: 420px;
  border: 10px solid var(--brown);
  background: var(--gold);
  clip-path: polygon(1% 2%, 19% 0, 38% 2%, 56% 0, 77% 2%, 99% 1%, 100% 20%, 98% 43%, 100% 65%, 98% 99%, 80% 97%, 60% 100%, 39% 98%, 20% 100%, 1% 98%, 2% 75%, 0 52%, 2% 28%);
}

.map-frame iframe {
  width: 100%;
  min-height: 400px;
  border: 0;
}

.site-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.site-form label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-weight: 700;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 4px solid var(--brown);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  padding: 14px 16px;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 5px solid var(--gold);
  outline-offset: 2px;
}

.site-form .captcha-field input {
  max-width: 220px;
}

.site-form .consent-field {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.site-form .consent-field input[type="checkbox"] {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  appearance: none;
  place-content: center;
  border: 4px solid var(--brown);
  background: var(--cream);
  cursor: pointer;
}

.site-form .consent-field input[type="checkbox"]::before {
  width: 22px;
  height: 12px;
  border-bottom: 5px solid var(--brown);
  border-left: 5px solid var(--brown);
  content: "";
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 120ms ease;
}

.site-form .consent-field input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.site-form .consent-field a {
  font-weight: 700;
}

.consent-error {
  display: none;
  margin: -6px 0 0 57px;
  color: var(--brown);
  font-weight: 700;
}

.consent-error.is-visible {
  display: block;
}

.site-form button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.form-note {
  max-width: 680px;
  margin-top: 15px;
  font-size: 0.82rem;
  font-style: italic;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.form-result-page {
  display: grid;
  min-height: 100vh;
  align-items: center;
}

.form-result-page .content-section {
  width: 100%;
}

.form-result-page .rough-panel {
  margin-top: 30px;
}

.policy-copy h2 {
  margin-top: 2.4rem;
  font-size: 1.7rem;
}

.policy-copy .table-wrap {
  margin: 24px 0 30px;
}

.policy-copy table {
  min-width: 680px;
}

.policy-copy .policy-contact-table table {
  min-width: 0;
}

.policy-contact-table th {
  width: 32%;
}

.policy-updated {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 3px solid var(--brown);
  font-weight: 700;
}

.documents-panel {
  padding: clamp(30px, 5vw, 58px);
}

.documents-panel h2 {
  color: var(--gold);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
}

.document-list li {
  margin: 0;
  padding: 0;
}

.document-list li::before {
  display: none;
}

.rough-panel .document-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 18px;
  border: 4px solid var(--gold);
  background: var(--cream);
  color: var(--brown);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.rough-panel .document-link:hover,
.rough-panel .document-link:focus-visible {
  background: #fff9df;
  transform: translateY(-3px);
}

.document-type {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--gold);
  color: var(--brown);
  font-size: 0.84rem;
  font-weight: 700;
}

.document-link strong,
.document-link small {
  display: block;
}

.document-link strong {
  line-height: 1.25;
}

.document-link small {
  margin-top: 6px;
  color: var(--ink);
}

.document-open {
  font-size: 0.82rem;
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: auto;
  max-width: 1120px;
  margin-inline: auto;
  padding: 22px 24px;
  border: 6px solid var(--gold);
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 16px 50px rgb(45 13 7 / 35%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  color: var(--gold);
  font-size: 1.18rem;
}

.cookie-banner p {
  margin: 5px 0 0;
}

.cookie-banner a {
  color: var(--gold);
  font-weight: 700;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner .button-secondary {
  background: var(--cream);
  color: var(--brown);
}

.spiral {
  display: block;
  width: 115px;
  height: 115px;
  border: 18px solid currentColor;
  border-radius: 56% 44% 58% 42%;
  transform: rotate(28deg);
}

.spiral::after {
  display: block;
  width: 42px;
  height: 42px;
  margin: 17px;
  border: 10px solid currentColor;
  border-radius: 50%;
  content: "";
}

.spiral-gold {
  color: var(--gold);
}

.spiral-brown {
  color: var(--brown);
}

.centered {
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: minmax(230px, 310px) auto;
    padding: 22px 0 30px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    order: 3;
  }

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

  .page-intro-split .page-intro-inner {
    grid-template-columns: 1fr;
  }

  .intro-photo {
    max-width: 760px;
    min-height: 360px;
  }

  .home-hero {
    min-height: 740px;
  }

  .home-lead-panel {
    width: min(60%, 610px);
  }

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

  .feature-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(100%, 590px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    width: auto;
    max-width: var(--container);
    margin-left: max(14px, env(safe-area-inset-left));
    margin-right: max(14px, env(safe-area-inset-right));
  }

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

  .site-header {
    min-height: auto;
  }

  .header-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px 0 30px;
  }

  .header-logo {
    width: 280px;
    max-width: 100%;
    margin-inline: auto;
  }

  .header-phone {
    grid-row: 2;
    justify-self: center;
    font-size: 2.15rem;
  }

  .main-nav {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    text-align: center;
  }

  .main-nav a:last-child {
    grid-column: 1 / -1;
  }

  .breadcrumbs {
    padding-top: 27px;
    overflow-wrap: anywhere;
  }

  .page-intro {
    padding: 52px 0 46px;
  }

  .display-title {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: clamp(1.85rem, 9vw, 4.1rem);
    line-height: 0.94;
    text-shadow: 7px 4px 0 var(--gold);
  }

  .home-hero {
    min-height: 0;
    padding: 58px 0 0;
  }

  .home-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
    line-height: 0.84;
    letter-spacing: 0.015em;
    text-shadow: 8px 5px 0 var(--gold);
  }

  .home-city {
    margin-top: 16px;
    margin-left: 0;
    font-size: clamp(1.25rem, 6vw, 1.8rem);
  }

  .hero-hands {
    position: relative;
    inset: auto;
    width: 100vw;
    max-width: none;
    margin: 42px 0 0 calc(50% - 50vw);
    opacity: 0.96;
  }

  .home-lead-panel {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-top: -20px;
  }

  .home-lead-panel h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .card-grid,
  .service-grid,
  .info-grid,
  .faq-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .feature-card h2 {
    margin-inline: 14px;
    overflow-wrap: anywhere;
  }

  .feature-card p {
    margin-inline: 14px;
  }

  .rough-panel,
  .service-card,
  .info-card,
  .faq-card {
    padding: 26px 22px;
  }

  .intro-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .section-kicker,
  .phone-cta h2 {
    overflow-wrap: anywhere;
  }

  .phone-cta {
    padding-inline: 10px;
  }

  .big-phone {
    width: 100%;
    padding-inline: 10px;
    font-size: clamp(2rem, 10.5vw, 3.4rem);
  }

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

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-nav > div:last-child {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .footer-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .footer-meta > span {
    width: 100%;
    justify-self: stretch;
  }

  .footer-nav a {
    overflow-wrap: anywhere;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-number {
    width: 82px;
    height: 82px;
    border-width: 9px;
    font-size: 2.4rem;
  }

  .step h2 {
    margin-top: 0;
    font-size: 1.65rem;
  }

  .step > div {
    width: 100%;
    min-width: 0;
  }

  .contact-box {
    width: 100%;
    margin-inline: 0;
  }

  .max-cta {
    grid-template-columns: 1fr;
  }

  .requisites th {
    width: auto;
  }

  .requisites,
  .requisites table,
  .requisites tbody,
  .requisites tr,
  .requisites th,
  .requisites td {
    display: block;
    width: 100%;
  }

  .requisites tr {
    padding: 14px 16px;
    border-bottom: 2px solid rgb(92 31 17 / 35%);
  }

  .requisites th,
  .requisites td {
    padding: 3px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .job-card .button,
  .site-form button {
    width: 100%;
    min-width: 0;
  }

  .site-form .captcha-field input {
    max-width: 100%;
  }

  .consent-error {
    margin-left: 0;
  }

  .policy-copy .policy-data-table,
  .policy-copy .policy-data-table table,
  .policy-copy .policy-data-table tbody,
  .policy-copy .policy-data-table tr,
  .policy-copy .policy-data-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .policy-copy .policy-data-table {
    overflow: visible;
  }

  .policy-copy .policy-data-table thead {
    display: none;
  }

  .policy-copy .policy-data-table tr {
    padding: 14px 16px;
    border-bottom: 3px solid var(--brown);
  }

  .policy-copy .policy-data-table td {
    padding: 6px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .policy-copy .policy-data-table td::before {
    display: block;
    color: var(--brown);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .policy-copy .policy-contact-table,
  .policy-copy .policy-contact-table table,
  .policy-copy .policy-contact-table tbody,
  .policy-copy .policy-contact-table tr,
  .policy-copy .policy-contact-table th,
  .policy-copy .policy-contact-table td {
    display: block;
    width: 100%;
  }

  .policy-copy .policy-contact-table tr {
    padding: 14px 16px;
    border-bottom: 2px solid rgb(92 31 17 / 35%);
  }

  .policy-copy .policy-contact-table th,
  .policy-copy .policy-contact-table td {
    padding: 3px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .document-list {
    grid-template-columns: 1fr;
  }

  .rough-panel .document-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .document-open {
    grid-column: 2;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    width: calc(100% - 28px);
    padding: 18px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner button {
    width: 100%;
  }

  .contact-details,
  .form-note {
    overflow-wrap: anywhere;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 330px;
  }
}

@media (max-width: 390px) {
  .header-logo {
    width: min(250px, 100%);
  }

  .main-nav {
    gap: 10px 12px;
    font-size: 0.92rem;
  }

  .footer-nav {
    gap: 22px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
