html {
  min-height: 100%;
  height: auto;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
  font-size: 20px;
}
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7f3ef;
  color: #3d2c1e;
  flex: 1 0 auto;
}
body::before {
  content: '';
  position: fixed;
  z-index: -1;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: url('img/main-bg.jpg') center center/cover no-repeat;
  filter: blur(5px) brightness(1.08) saturate(1.1);
  opacity: 0.65;
  pointer-events: none;
}
#app, .header, .main-content, .footer, .container, .form-card, .left {
  position: relative;
  z-index: 1;
}
.header {
  width: 100%;
  background: #fff8f1;
  box-shadow: 0 2px 12px rgba(176, 141, 87, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8c6b3f;
  letter-spacing: 1px;
  flex: 0 0 auto;
}
.nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}
.header {
  justify-content: flex-start;
}
.nav a {
  text-decoration: none;
  color: #3d2c1e;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav a.active, .nav a:hover {
  background: #b08d57;
  color: #fff;
}
.burger {
  display: none;
  font-size: 2.8rem;
  letter-spacing: 0.25em;
  cursor: pointer;
  color: #b08d57;
  margin-left: 18px;
  flex: 0 0 auto;
}
.main-content {
  padding: 48px 16px 32px 16px;
  align-items: center;
  justify-content: flex-start;
  flex: 1 0 auto;
}
.stub-text {
  margin-top: 24px;
  font-size: 1.2rem;
  color: #7d6a54;
  background: #f3e7d9;
  padding: 24px 18px;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
}
h1 {
  color: #b08d57;
  font-size: 2.3rem;
  margin-bottom: 0.5em;
}
.footer {
  width: 100%;
  background: #fff8f1;
  color: #8c6b3f;
  text-align: center;
  padding: 18px 0 12px 0;
  font-size: 1.1rem;
  margin-top: auto;
  box-shadow: 0 -2px 12px rgba(176, 141, 87, 0.07);
  flex-shrink: 0;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  min-height: calc(100vh - 64px - 48px); /* 64px header, 48px footer */
  gap: 56px;
}
.left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 0 24px 18px;
  background: rgba(255, 248, 241, 0.90);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(176, 141, 87, 0.10);
  backdrop-filter: blur(5px);
  max-width: 560px;
  min-width: 320px;
  width: 100%;
  margin-right: 0;
  font-size: 1.08em;
}
.company {
  font-size: 2.5rem;
  font-weight: 700;
  color: #8c6b3f;
  margin-bottom: 18px;
}
.subtitle {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #3d2c1e;
}
.desc {
  font-size: 1.15rem;
  color: #6d5c48;
  margin-bottom: 0;
  max-width: 420px;
}
.form-card {
  flex: 1;
  background: #fff8f1;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(176, 141, 87, 0.10);
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 370px;
  align-items: stretch;
  justify-content: center;
  /* text-align: center; */
}
.form-card form {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}
.form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #8c6b3f;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.form-card p {
  font-size: 1.15rem;
  color: #7d6a54;
  margin-bottom: 18px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #8c6b3f;
}
input, textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #e0c9a6;
  background: #f3e7d9;
  font-size: 1.1rem;
  font-family: inherit;
  transition: border 0.2s;
  outline: none;
  resize: none;
}
input:focus, textarea:focus {
  border: 1.5px solid #b08d57;
}
button[type="submit"] {
  margin-top: 10px;
  padding: 13px 0;
  background: linear-gradient(90deg, #b08d57 60%, #8c6b3f 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(176, 141, 87, 0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #8c6b3f 60%, #b08d57 100%);
  box-shadow: 0 4px 16px rgba(176, 141, 87, 0.18);
}
.success-message {
  color: #3d7a3d;
  background: #eafbe7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 1rem;
  text-align: center;
  display: none;
}
.about-block {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 248, 241, 0.92);
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(176, 141, 87, 0.10);
  padding: 40px 32px 32px 32px;
  font-size: 1.15em;
}
.about-block h1 {
  font-size: 2.2rem;
  color: #b08d57;
  margin-bottom: 0.7em;
}
.about-block h2 {
  font-size: 1.4rem;
  color: #8c6b3f;
  margin-top: 2em;
  margin-bottom: 0.7em;
}
.about-block p {
  margin-bottom: 1.1em;
  color: #3d2c1e;
}
.about-list {
  margin: 0 0 1.5em 0;
  padding-left: 1.2em;
  list-style: disc inside;
}
.about-list li {
  margin-bottom: 0.7em;
  line-height: 1.5;
}
.about-motto {
  margin-top: 2.5em;
  font-size: 1.25rem;
  color: #8c6b3f;
  font-weight: 700;
  text-align: center;
  background: #f3e7d9;
  border-radius: 12px;
  padding: 18px 12px;
  box-shadow: 0 2px 12px rgba(176, 141, 87, 0.07);
}
.main-about {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 1em;
  color: #3d2c1e;
}
.main-about .subtitle {
  font-size: 1.1rem;
  color: #8c6b3f;
  margin-bottom: 0.5em;
}
.main-about-list {
  margin: 0 0 0.7em 0;
  padding-left: 1em;
  list-style: disc inside;
  font-size: 0.98em;
}
.main-about-list li {
  margin-bottom: 0.4em;
  line-height: 1.4;
}
.main-about-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.main-about-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}
.company, .form-card h2 {
  font-size: 2.1rem;
  color: #b08d57;
  font-weight: 700;
  margin-bottom: 0.5em;
  text-align: center;
}
.form-card h2 {
  margin-top: 0;
}
.left, .main-about, .main-about-list, .form-card, .form-card h2, .form-card p, label, input, button, .company {
  font-size: 0.97em;
}
.mobile-reverse {
  display: flex;
  flex-direction: row;
}
.stages-list {
  list-style: decimal inside;
  margin: 0 0 1.5em 0;
  padding-left: 1.2em;
  font-size: 0.97em;
}
.stages-list li {
  margin-bottom: 1.1em;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .stages-list {
    font-size: 0.93em;
    padding-left: 0.5em;
  }
  .stages-list li {
    margin-bottom: 0.8em;
  }
}
@media (max-width: 900px) {
  html, body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  .container {
    display: block !important;
    flex-direction: unset !important;
    gap: 0 !important;
    align-items: unset !important;
    justify-content: unset !important;
    min-height: unset !important;
  }
  .left, .form-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 4vw !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  .main-content, .left, .form-card, .about-block, .stub-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .left, .form-card, .about-block {
    padding: 12px 4vw;
    border-radius: 0;
  }
  .mobile-reverse {
    display: flex !important;
    flex-direction: column !important;
  }
  .mobile-reverse > .form-card {
    order: 1 !important;
  }
  .mobile-reverse > .left {
    order: 2 !important;
  }
}
@media (max-width: 600px) {
  html, body, .container, .main-content, .form-card, .left {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .main-content,
  .container,
  .form-card {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 600px) {
  .form-card {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}
@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }
}
@media (max-width: 800px) {
  .header {
    flex-wrap: wrap;
    padding: 0 18px 0 10px;
    min-height: 56px;
  }
  .logo {
    flex: 0 0 auto;
    z-index: 102;
  }
  .burger {
    display: block;
    z-index: 102;
    margin-left: auto;
    margin-right: 0;
    font-size: 2.8rem;
    letter-spacing: 0.25em;
  }
  .nav {
    display: none;
    position: static;
    width: 100%;
    max-width: none;
    left: 0;
    top: auto;
    transform: none;
    box-shadow: none;
    z-index: 999;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: none;
    overflow-y: visible;
  }
  .nav.open {
    display: flex;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    background: #fff8f1;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(176, 141, 87, 0.10);
    z-index: 999;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  @media (max-width: 480px) {
    .nav {
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      max-width: none !important;
      transform: none !important;
    }
  }
  .nav a {
    width: 100%;
    text-align: center;
    padding: 18px 0;
    border-radius: 0;
    font-size: 1.15rem;
    border-bottom: 1px solid #e0c9a6;
  }
  .nav a:last-child {
    border-bottom: none;
  }
}
@media (max-width: 700px) {
  .about-block {
    padding: 18px 6vw 18px 6vw;
    font-size: 1.05em;
  }
  .about-block h1 {
    font-size: 1.5rem;
  }
  .about-block h2 {
    font-size: 1.1rem;
  }
  .about-motto {
    font-size: 1.05rem;
    padding: 12px 4vw;
  }
  .main-about {
    font-size: 1.05em;
  }
  .main-about .subtitle {
    font-size: 1.1rem;
  }
}
.faq-list {
  margin: 0 auto;
  max-width: 800px;
  padding: 0;
}
.faq-item {
  margin-bottom: 18px;
  border-radius: 14px;
  background: #fff8f1;
  box-shadow: 0 2px 12px rgba(176, 141, 87, 0.07);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.08em;
  font-weight: 700;
  color: #8c6b3f;
  text-align: left;
  padding: 18px 22px 18px 22px;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #f3e7d9;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f7f3ef;
  color: #3d2c1e;
  font-size: 0.98em;
  padding: 0 22px;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-item .faq-answer ul, .faq-item .faq-answer p {
  margin: 16px 0 16px 0;
}
.faq-item .faq-answer ul {
  padding-left: 1.2em;
}
@media (max-width: 700px) {
  .faq-list {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .faq-question {
    font-size: 1em;
    padding: 14px 10px 14px 10px;
  }
  .faq-answer {
    font-size: 0.95em;
    padding: 0 10px;
  }
}
@media (max-width: 700px) {
  .logo img {
    height: 101px !important;
    max-width: 304px !important;
  }
}
@media (max-width: 480px) {
  .logo img {
    height: 68px !important;
    max-width: 203px !important;
  }
}
.small-btn {
  font-size: 0.95rem;
  padding: 13px 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
} 
@media (max-width: 600px) {
  .main-content, .about-block, .faq-list, .stages-list {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
} 
@media (max-width: 600px) {
  .form-card {
    padding: 18px 16px 18px 16px;
  }
} 
@media (max-width: 600px) {
  .about-block, .main-about, .faq-list, .stages-list {
    padding: 18px 16px 18px 16px !important;
    box-sizing: border-box;
  }
} 
@media (max-width: 600px) {
  .company {
    text-align: center;
    width: 100%;
    display: block;
  }
} 