:root {
  --bg: #efebe2;
  --bg-soft: #f7f4ee;
  --text: #111111;
  --muted: #57524a;
  --gold: #f6b015;
  --gold-dark: #c98700;
  --white: #ffffff;
  --line: rgba(17, 17, 17, .1);
  --shadow: 0 24px 70px rgba(17, 17, 17, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
}

img,
picture {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.container {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 235, 226, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 245px;
  height: auto;
  display: block;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 10px 30px rgba(17, 17, 17, .05);
}

.nav a {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #25221f;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.nav a:hover {
  color: #111;
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(246, 176, 21, .22);
  transform: translateY(-1px);
}

.header-phone {
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(17, 17, 17, .18);
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.header-phone:hover {
  background: #1d1b17;
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(17, 17, 17, .24);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 72px;
  background:
    radial-gradient(circle at 50% 34%, rgba(246, 176, 21, .14), transparent 34%),
    linear-gradient(180deg, #efebe2 0%, #ebe6dc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42), transparent 58%),
    radial-gradient(circle at 12% 86%, rgba(17, 17, 17, .045), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b77c00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(246, 176, 21, .12);
}

.hero h1 {
  margin: 0 auto;
  max-width: 780px;
  color: #111;
  font-size: clamp(56px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.075em;
}

.hero-text {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.btn {
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 17, 17, .12);
}

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover {
  background: #ffbd24;
}

.btn-light {
  background: rgba(255, 255, 255, .78);
  color: #111;
  border-color: rgba(17, 17, 17, .12);
}

.btn-light:hover {
  color: #fff;
  background: #111;
  border-color: #111;
}

.direct-contact {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #5a554c;
  font-weight: 900;
}

.direct-contact a {
  color: #111;
  text-decoration: none;
}

.hero-media {
  width: min(100%, 1120px);
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 28px;
  background: transparent;
  box-shadow:
    0 34px 84px rgba(17, 17, 17, .18),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.hero-media:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 176, 21, .36);
  box-shadow:
    0 44px 104px rgba(17, 17, 17, .23),
    0 0 0 1px rgba(255, 255, 255, .1) inset;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-points {
  position: relative;
  width: min(100%, 1120px);
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 62px rgba(17, 17, 17, .09);
}

.hero-points div {
  padding: 22px 26px;
  border-right: 1px solid rgba(17, 17, 17, .1);
  transition: background .22s ease, transform .22s ease;
}

.hero-points div:hover {
  background: rgba(255, 255, 255, .98);
  transform: translateY(-2px);
}

.hero-points div:last-child {
  border-right: 0;
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  color: #111;
  font-size: 24px;
  line-height: 1;
}

.hero-points span {
  color: #5b574f;
  font-weight: 800;
}

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head span,
.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-head h2,
.material-layout h2,
.request-info h2 {
  margin: 0;
  color: #111;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.05em;
}

.section-head p,
.material-layout p,
.request-info p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.step,
.request-form {
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 26px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 50px rgba(17, 17, 17, .06);
}

.service-card,
.step {
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.service-card:hover,
.step:hover,
.request-form:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 176, 21, .3);
  box-shadow: 0 24px 60px rgba(17, 17, 17, .1);
}

.service-card span {
  color: var(--gold-dark);
  font-size: 18px;
  font-weight: 900;
}

.service-card h3,
.step h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.service-card p,
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-dark {
  background: #111;
  color: #fff;
}

.material-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.section-dark h2,
.section-dark p {
  color: #fff;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.material-list div {
  min-height: 74px;
  padding: 20px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.material-list div:hover {
  transform: translateY(-2px);
  background: rgba(246, 176, 21, .14);
  border-color: rgba(246, 176, 21, .36);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #111;
  color: var(--gold);
}

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

.request-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.contact-box {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 24px;
  background: #111;
  color: #fff;
}

.contact-box span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .64);
}

.contact-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 30px;
}

.contact-box a {
  color: #fff;
  text-decoration: none;
}

.request-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: #2b2823;
  font-size: 14px;
  font-weight: 900;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 14px;
  background: #fff;
  color: #111;
  padding: 15px 16px;
  outline: none;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: rgba(246, 176, 21, .72);
  box-shadow: 0 0 0 4px rgba(246, 176, 21, .14);
}

.full-field {
  grid-column: 1 / -1;
}

.policy {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.policy input {
  width: auto;
}

.policy a {
  color: #111;
  font-weight: 900;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 44px 0;
  background: #111;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 34px;
  align-items: start;
}

.footer-logo {
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--gold);
}

.footer a {
  display: block;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
}

.float-viber {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(17, 17, 17, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.float-viber:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(17, 17, 17, .24);
}

.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
}

.hero-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 700ms cubic-bezier(.2,.8,.2,1),
    transform 700ms cubic-bezier(.2,.8,.2,1),
    filter 700ms cubic-bezier(.2,.8,.2,1);
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 205px;
  }

  .nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
    width: 48px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 16px;
    background: #111;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  .site-header.menu-open .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    z-index: 20;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(17, 17, 17, .96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  }

  .site-header.menu-open .nav a {
    justify-content: center;
    color: #fff;
  }

  .hero {
    padding: 46px 0 52px;
  }

  .hero h1 {
    font-size: clamp(46px, 9vw, 70px);
  }

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

  .hero-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-points div:nth-child(2) {
    border-right: 0;
  }

  .hero-points div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(17, 17, 17, .1);
  }

  .cards-grid,
  .steps,
  .material-layout,
  .request-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1280px);
  }

  .brand img {
    width: 178px;
  }

  .hero {
    padding-top: 34px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .direct-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    border-radius: 20px;
  }

  .hero-points {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .hero-points div {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, .1);
  }

  .hero-points div:last-child {
    border-bottom: 0;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .float-viber {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-anim.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
