:root {
  --bg-cream: #f2eeea;
  --text-brown: #8e6f5f;
  --text-brown-dark: #6f5244;
  --accent: #D5AF9B;
}

body {
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  background: var(--bg-cream);
  color: var(--text-brown);
}

.container {
  max-width: 1286px;
}

@media (min-width: 1500px) {
  .container {
    max-width: 1500px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.brand-text {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

.navbar>.container {
  align-items: flex-start;
}

.navbar {
  padding-top: 24px;
  padding-bottom: 24px;
}

.burger-btn {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.brand-logo {
  width: 172px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-brown-dark);
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 18px;
}

.nav-link {
  color: var(--text-brown);
  font-weight: 300;
  font-size: 18px;
}

.nav-link:hover {
  color: var(--text-brown-dark);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-brown-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 24px;
}

.hero {
  padding: 70px 0 120px;
}

.hero-title {
  font-size: 48px;
  font-weight: 600;
  color: var(--text-brown);
  margin-bottom: 18px;
}

.hero-title-strong {
  font-weight: 700;
}

.hero-title-light {
  font-weight: 400;
}

.hero-subtitle {
  font-size: 24px;
  color: #AA8A7D;
  margin-bottom: 32px;
  max-width: 420px;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-radius: 25px;
  padding: 35px 145px;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  border: none;
  box-shadow: 0px 0px 20px rgba(213, 175, 155, 0.25);
}

.btn-accent:hover {
  background: #c79e90;
  color: #fff;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-cta-mobile {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.phone-pill-mobile {
  justify-content: center;
  gap: 16px;
  font-size: 24px;
}

.about {
  background: #fff url("assets/about.png") no-repeat right center;
  background-size: contain;
  padding: 100px 0;
}

.about-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.about-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  margin-bottom: 24px;
  max-width: 420px;
}

.about-divider {
  width: 120px;
  height: 1px;
  background: #e6c8ba;
  margin-bottom: 24px;
}

.about-text {
  font-size: 18px;
  line-height: 1.6;
  color: #AA8A7D;
  margin-bottom: 16px;
  max-width: 480px;
}

.about-text strong {
  color: var(--text-brown-dark);
  font-weight: 600;
}

.prices {
  background: #fff url("assets/price.png") no-repeat left center;
  background-size: contain;
  padding: 100px 0 110px;
}

.prices-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.prices-subtitle {
  font-size: 24px;
  color: #a6887a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prices-subtitle img {
  width: 14px;
  height: auto;
  margin-top: 3px;
  display: block;
}

.prices-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-brown-dark);
  margin-bottom: 10px;
}

.prices-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  color: #AA8A7D;
  font-size: 18px;
  line-height: 1.6;
}

.prices-list li {
  position: relative;
  padding-left: 12px;
}

.prices-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #c2a294;
}

.prices-text {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  margin-bottom: 16px;
}

.clients {
  background: #fff;
  padding: 95px 0 110px;
}

.clients-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 36px;
}

.clients-grid {
  row-gap: 30px;
}

.clients-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.clients-icon {
  flex: 0 0 auto;
}

.clients-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-brown-dark);
  margin-bottom: 8px;
}

.clients-card-text {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  margin-bottom: 0;
}

.advantages {
  background: var(--bg-cream);
  padding: 95px 0 110px;
}

.advantages-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-brown);
  text-transform: uppercase;
  margin-bottom: 36px;
}

.advantages-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 10px 24px rgba(176, 138, 118, 0.08);
  height: 100%;
}

.advantages-icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
}

.advantages-card-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-brown-dark);
  margin-bottom: 8px;
}

.advantages-card-text {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  margin-bottom: 0;
}

.process {
  background: var(--bg-cream);
  padding: 95px 0 110px;
}

.process-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-brown);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  max-width: 520px;
  margin-bottom: 18px;
}

.process-lead {
  font-size: 24px;
  color: var(--text-brown-dark);
  margin-bottom: 22px;
}

.process-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(176, 138, 118, 0.08);
  height: 100%;
}

.process-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.process-step {
  font-size: 48px;
  font-weight: 500;
  color: #d9b7a6;
  margin-bottom: 0;
}

.process-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-brown-dark);
  margin-bottom: 0;
}

.process-card-text {
  font-size: 18px;
  line-height: 1.5;
  color: #a6887a;
  margin-bottom: 0;
}

.faq {
  background: #fff;
  padding: 124px 0 99px;
}

.faq-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.faq-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  margin-bottom: 24px;
}

.faq-item {
  background: #fff;
  border: 1px solid #f1e1d8;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(176, 138, 118, 0.08);
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.faq-button {
  position: relative;
  background: transparent;
  color: var(--text-brown-dark);
  font-size: 24px;
  font-weight: 500;
  padding: 18px 64px 18px 22px;
  box-shadow: none;
}

.faq-button:focus {
  box-shadow: none;
}

.faq-button::after {
  display: none;
}

.faq-button:not(.collapsed) {
  background: transparent;
  color: var(--text-brown-dark);
  box-shadow: none;
}

.faq-body {
  padding: 0 22px 18px 22px;
  font-size: 18px;
  line-height: 1.55;
  color: #a6887a;
}

.faq-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #d9b7a6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-button[aria-expanded="true"] .faq-icon {
  background: transparent;
  border: 1px solid #d9b7a6;
}

.faq-button[aria-expanded="true"] .faq-icon::before,
.faq-button[aria-expanded="true"] .faq-icon::after {
  background: #d9b7a6;
}

.faq-button[aria-expanded="true"] .faq-icon::before {
  transform: rotate(45deg);
}

.faq-button[aria-expanded="true"] .faq-icon::after {
  transform: rotate(-45deg);
}

.contact {
  background: var(--bg-cream) url("assets/callback.png") no-repeat left center;
  background-size: contain;
  padding: 132px 0 52px;
}

.contact-content {
  max-width: 520px;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-brown);
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
  margin-bottom: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #d9c3b6;
  padding: 10px 0;
  font-size: 18px;
  color: var(--text-brown-dark);
  outline: none;
}

.contact-input::placeholder {
  color: #b89b8d;
}

.contact-button {
  margin-top: 6px;
  background: #fff;
  border: 1px solid #e3cfc4;
  border-radius: 14px;
  padding: 16px 164px;
  color: var(--text-brown-dark);
  font-weight: 600;
  font-size: 24px;
  width: auto;
}

.contact-consent {
  margin-top: 10px;
  font-size: 18px;
  color: #a6887a;
}

.contact-consent p {
  margin-bottom: 6px;
}

.contact-consent ul {
  margin: 0;
  padding-left: 16px;
}

.contact-consent li {
  margin-bottom: 4px;
}

.consent-item {
  list-style: none;
  margin-bottom: 6px;
}

.consent-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding-left: 24px;
  margin-left: -24px;
  line-height: 1.6;
  cursor: pointer;
}

.consent-label a {
  color: #a29a8e;
  text-decoration: none;
}

.consent-label a:hover {
  color: var(--text-brown);
}

.consent-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  width: 18px;
  height: 18px;
  border: 1px solid #d9c3b6;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.consent-checkbox:checked + .consent-box {
  background: var(--accent);
  border-color: var(--accent);
}

.consent-box::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.consent-checkbox:checked + .consent-box::after {
  opacity: 1;
}

.site-footer {
  background: var(--bg-cream);
  padding: 20px 0 28px;
  color: #a6887a;
  font-size: 12px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: #a6887a;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 1100;
  background: #fff;
  border: 1px solid #f1e1d8;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(176, 138, 118, 0.12);
  padding: 18px 22px;
  width: auto;
  max-width: min(720px, calc(100% - 48px));
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #a6887a;
}

.cookie-banner-button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-banner-button:hover {
  background: #c79e90;
  color: #fff;
}

.doc-page {
  padding: 80px 0 100px;
  background: var(--bg-cream);
}

.doc-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 10px 24px rgba(176, 138, 118, 0.08);
}

.doc-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.doc-back:hover {
  color: #c79e90;
}

.doc-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-brown-dark);
  margin-bottom: 18px;
}

.doc-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.6;
  color: #a6887a;
}

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

  .hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 63vw;
    height: auto;
    max-height: 100%;
  }

  .prices .row {
    justify-content: flex-end;
  }

  .prices .col-lg-5 {
    margin-left: auto;
  }

  .contact .row {
    justify-content: flex-end;
  }

  .contact .col-lg-6 {
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 40px 0 80px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta-mobile .btn-accent {
    font-size: 18px;
    padding: 25px 0;
  }

  .hero-visual {
    margin: 40px auto 0;
  }

  .about {
    background: #fff;
    padding: 0;
    padding-top: 60px;
  }

  .about-title,
  .prices-title,
  .clients-title,
  .advantages-title,
  .process-title,
  .faq-title,
  .contact-title {
    font-size: 28px;
  }

  .about-title {
    margin-bottom: 30px;
  }

  .about-lead {
    font-size: 16px;
  }

  .prices {
    padding: 0;
    padding-top: 60px;
    background: #fff;
  }

  .prices-subtitle {
    font-size: 18px;
  }

  .prices-subtitle img {
    width: 10px;
  }

  .clients {
    padding: 60px 0;
  }

  .clients-title {
    margin-bottom: 24px;
  }

  .clients-card {
    gap: 16px;
  }

  .advantages {
    padding: 0;
    padding-top: 60px;
  }

  .advantages-title {
    margin-bottom: 24px;
  }

  .advantages-card {
    padding: 22px 24px;
  }

  .process {
    padding: 60px 0;
  }

  .process-title {
    font-size: 28px;
  }

  .process-lead {
    font-size: 18px;
  }

  .process-card-title {
    font-size: 24px;
  }

  .process-step {
    font-size: 48px;
  }

  .process-card-text {
    font-size: 16px;
  }

  .faq {
    padding: 35px 0 60px;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-button {
    font-size: 18px;
  }

  .faq-body {
    font-size: 16px;
  }

  .contact {
    background: var(--bg-cream);
    padding: 60px 0;
  }

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

  .contact-title {
    font-size: 28px;
  }

  .contact-subtitle {
    font-size: 16px;
  }

  .contact-input {
    font-size: 16px;
  }

  .contact-button {
    width: 100%;
    font-size: 18px;
    padding: 16px;
  }

  .contact-consent {
    font-size: 16px;
  }

  .brand-logo {
    width: 154px;
  }

  .footer-row {
    flex-direction: column;
    gap: 10px;
  }

  .navbar {
    position: relative;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: auto;
    right: 12px;
    width: 50%;
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 12px 28px rgba(176, 138, 118, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
  }

  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-nav {
    align-items: flex-end;
    gap: 12px;
  }

  .nav-link {
    font-size: 16px;
    font-weight: 500;
    text-align: right;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .about-title,
  .prices-title,
  .clients-title,
  .advantages-title,
  .process-title,
  .faq-title,
  .contact-title {
    font-size: 28px;
  }

  .about-lead,
  .prices-subtitle,
  .process-lead {
    font-size: 18px;
  }

  .about-text,
  .prices-lead,
  .prices-list,
  .advantages-card-text,
  .clients-card-text {
    font-size: 16px;
  }

  .about-divider {
    width: 90px;
  }

  .prices-text,
  .process-card-text,
  .faq-body {
    font-size: 16px;
  }

  .prices-list li {
    padding-left: 10px;
  }

  .clients-card {
    gap: 12px;
  }

  .clients-card-title {
    font-size: 18px;
  }

  .clients-icon svg {
    width: 56px;
    height: 56px;
  }

  .advantages-card {
    padding: 18px;
    border-radius: 16px;
  }

  .advantages-card-title {
    font-size: 18px;
  }

  .advantages-icon {
    width: 50px;
    height: 50px;
  }

  .process-subtitle {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .process-card {
    padding: 18px 16px;
  }

  .process-step {
    font-size: 48px;
  }

  .process-card-title {
    font-size: 24px;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-button {
    font-size: 18px;
    padding: 16px 58px 16px 18px;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }

  .faq-body {
    padding: 0 18px 16px 18px;
  }

  .contact {
    padding: 70px 0 70px;
  }

  .contact-image {
    display: none;
  }

  .contact-content {
    max-width: 100%;
    margin-top: 0;
  }

  .contact-subtitle {
    font-size: 16px;
  }

  .contact-input {
    font-size: 16px;
  }

  .contact-button {
    border-radius: 16px;
    font-size: 18px;
    padding: 16px;
  }

  .footer-row {
    align-items: flex-start;
    gap: 6px;
  }

  .footer-row a {
    order: 1;
  }

  .footer-row span {
    order: 2;
  }

  .cookie-banner {
    left: 12px;
    transform: translateX(0%);
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .doc-page {
    padding: 60px 0 70px;
  }

  .doc-card {
    padding: 28px 24px;
  }

  .doc-title {
    font-size: 26px;
  }

  .doc-pre {
    font-size: 16px;
  }
}