:root {
  --bg: #f4f0ea;
  --bg-soft: #faf7f2;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --ink: #171716;
  --muted: #5f605c;
  --line: rgba(33, 34, 32, 0.12);
  --line-strong: rgba(33, 34, 32, 0.24);
  --brand: #1f2429;
  --brand-soft: #2c3237;
  --accent: #ae7b43;
  --accent-soft: rgba(174, 123, 67, 0.14);
  --shadow: 0 18px 60px rgba(24, 24, 21, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(180deg, #f8f5f0 0%, #f0ece6 100%);
  font-family: "IBM Plex Sans", sans-serif;
  text-rendering: optimizeLegibility;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-shell {
  min-height: 100vh;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  backdrop-filter: blur(22px);
  background: rgba(248, 245, 240, 0.9);
  border-bottom: 1px solid rgba(33, 34, 32, 0.08);
  box-shadow: 0 14px 36px rgba(24, 24, 21, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.brand-logo {
  width: 154px;
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.section-heading h2,
.hero-copy h1,
.quality-copy h2,
.brief-copy h2 {
  font-family: "Manrope", sans-serif;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.header-phone,
.footer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.messenger-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(33, 34, 32, 0.12);
  background: rgba(255, 255, 255, 0.54);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease,
    box-shadow 220ms ease;
}

.messenger-link-wide {
  min-width: 48px;
}

.messenger-link:hover,
.messenger-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(174, 123, 67, 0.34);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(24, 24, 21, 0.1);
}

.messenger-icon-links {
  gap: 9px;
}

.messenger-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(33, 34, 32, 0.1);
  background: #f8f4ed;
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(24, 24, 21, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease,
    box-shadow 220ms ease;
}

.messenger-icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.messenger-icon-link:hover,
.messenger-icon-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(24, 24, 21, 0.1);
}

.mobile-messenger-strip {
  display: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease, color 220ms ease;
  cursor: pointer;
}

.header-cta-short {
  display: none;
}

.header-cta,
.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 36, 41, 0.18);
}

.header-cta:hover,
.button-primary:hover,
.header-cta:focus-visible,
.button-primary:focus-visible {
  transform: translateY(-1px);
  background: var(--brand-soft);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(33, 34, 32, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

.hero-section .button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f5f1;
}

.hero-section .button-secondary:hover,
.hero-section .button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

.button-block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 600;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.quality-copy h2,
.brief-copy h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-section,
.advantages-section,
.solutions-section,
.process-section,
.quality-section,
.gallery-section,
.brief-section {
  position: relative;
  overflow: clip;
}

.hero-section {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 92px 0 78px;
  color: #f7f5f1;
  background: #1f2327;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 35, 39, 0.9) 0%, rgba(31, 35, 39, 0.68) 42%, rgba(31, 35, 39, 0.14) 100%),
    linear-gradient(180deg, rgba(31, 35, 39, 0.18) 0%, rgba(31, 35, 39, 0.74) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-draft-lines {
  position: absolute;
  right: -6%;
  top: 22px;
  width: min(46vw, 680px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 26px;
  align-items: end;
}

.hero-copy {
  max-width: 720px;
}

.hero-section .eyebrow {
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(24, 27, 30, 0.42);
  color: rgba(255, 218, 176, 0.96);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.42);
}

.solution-stats span,
.brief-panel-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(33, 34, 32, 0.08);
  background: rgba(255, 255, 255, 0.54);
  padding: 9px 13px;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-copy h1 {
  margin: 0;
  font-size: 5.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: inherit;
}

.hero-text,
.quality-copy p,
.brief-copy p,
.solutions-copy p,
.advantage-card p,
.section-heading p,
.process-card p,
.quality-item p,
.form-note,
.faq-list p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(247, 245, 241, 0.82);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgba(174, 123, 67, 0.45);
  text-underline-offset: 6px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  max-width: 780px;
}

.hero-points li {
  min-height: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: rgba(247, 245, 241, 0.9);
}

.solution-meta strong,
.advantage-card h3,
.process-card h3,
.quality-item h3,
.gallery-placeholder strong,
.gallery-caption strong {
  font-family: "Manrope", sans-serif;
}

.advantages-section,
.process-section,
.solutions-section,
.gallery-section {
  padding: 94px 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.advantage-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.advantage-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.advantage-card h3,
.quality-item h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.advantage-card p,
.quality-item p {
  margin: 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 30px;
  align-items: start;
}

.solutions-copy {
  position: sticky;
  top: 120px;
}

.solutions-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.solution-tags span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(33, 34, 32, 0.1);
}

.solution-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(33, 34, 32, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.solution-card-large {
  grid-column: 1 / -1;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-card-large img {
  aspect-ratio: 16 / 8.5;
}

.solution-meta {
  display: grid;
  gap: 8px;
  padding: 22px 24px 24px;
}

.solution-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.solution-stats span {
  background: rgba(244, 240, 234, 0.84);
}

.solution-meta strong {
  font-size: 1.08rem;
}

.solution-meta span,
.gallery-caption span {
  color: var(--muted);
}

.process-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 0 0;
}

.process-rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 68px;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(174, 123, 67, 0.72), transparent),
    linear-gradient(90deg, rgba(33, 34, 32, 0.08), rgba(33, 34, 32, 0.08));
}

.process-node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 22px;
}

.process-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(174, 123, 67, 0.24);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.92), rgba(244, 240, 234, 0.88)),
    var(--bg);
  box-shadow: 0 18px 42px rgba(24, 24, 21, 0.12);
}

.process-marker span {
  position: absolute;
  top: -12px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.process-marker svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-card {
  min-height: 244px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(33, 34, 32, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at top right, rgba(174, 123, 67, 0.1), transparent 42%);
  box-shadow: var(--shadow);
}

.process-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.process-card p {
  margin: 0;
}

.process-kicker {
  margin: 0 0 18px !important;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quality-section {
  padding: 108px 0;
  background: linear-gradient(180deg, #20252a 0%, #171b1f 100%);
  color: #f8f4ef;
}

.quality-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: screen;
}

.quality-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.quality-copy {
  max-width: 530px;
}

.quality-copy p {
  color: rgba(248, 244, 239, 0.74);
}

.quality-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-item {
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.quality-item p {
  color: rgba(248, 244, 239, 0.78);
}

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

.gallery-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(33, 34, 32, 0.1);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.gallery-placeholder {
  position: relative;
  display: grid;
  align-content: end;
  gap: 10px;
  aspect-ratio: 4 / 3;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(20, 23, 25, 0.98), rgba(40, 44, 48, 0.88)),
    linear-gradient(120deg, rgba(174, 123, 67, 0.1), transparent 40%);
}

.gallery-placeholder::before,
.gallery-placeholder::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.gallery-placeholder::after {
  inset: auto 26px 26px auto;
  width: 92px;
  height: 92px;
  border-radius: 18px 0 18px 0;
  border-color: rgba(174, 123, 67, 0.54);
}

.gallery-placeholder span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-placeholder strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.45rem;
  max-width: 240px;
  line-height: 1.08;
}

.gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.brief-section {
  padding: 26px 0 100px;
}

.brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.brief-copy {
  padding: 24px 0 0;
  max-width: 540px;
}

.brief-mini-card {
  margin-top: 30px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 34, 32, 0.08);
}

.brief-mini-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brief-mini-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.18rem;
}

.brief-mini-card p {
  margin: 0;
  color: var(--muted);
}

.brief-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.brief-points li {
  padding-left: 18px;
  position: relative;
}

.brief-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.brief-panel {
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(32, 37, 42, 0.98), rgba(23, 27, 31, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(24, 24, 21, 0.16);
  color: #f7f5f1;
}

.brief-panel-head {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.brief-panel-head p {
  margin: 0;
  color: rgba(247, 245, 241, 0.7);
  line-height: 1.66;
}

.brief-panel-tag {
  width: fit-content;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(247, 245, 241, 0.78);
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form label {
  display: grid;
  gap: 10px;
}

.lead-form span {
  font-size: 0.94rem;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f5f1;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(247, 245, 241, 0.48);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(174, 123, 67, 0.6);
  box-shadow: 0 0 0 4px rgba(174, 123, 67, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(247, 245, 241, 0.64);
}

.contact-shortcuts {
  display: grid;
  gap: 10px;
}

.brief-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #f7f5f1;
}

.brief-panel .button-secondary:hover,
.brief-panel .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.faq-wrap {
  margin-top: 28px;
}

.faq-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 244, 238, 0.72)),
    radial-gradient(circle at top left, rgba(174, 123, 67, 0.14), transparent 38%);
  border: 1px solid rgba(33, 34, 32, 0.08);
  box-shadow: var(--shadow);
}

.faq-heading {
  max-width: 360px;
}

.faq-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 2.25rem;
  line-height: 1.08;
}

.faq-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 34, 32, 0.08);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 58px 20px 22px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--accent);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(33, 34, 32, 0.08);
  background: rgba(248, 245, 240, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-contacts {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(33, 34, 32, 0.12);
  padding: 12px 18px;
  color: var(--brand);
  font-weight: 700;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(174, 123, 67, 0.34);
  background: rgba(255, 255, 255, 0.72);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.64), transparent 34%),
    rgba(23, 25, 26, 0.58);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop[hidden] {
  display: none;
}

.lead-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.88)),
    radial-gradient(circle at top right, rgba(174, 123, 67, 0.16), transparent 36%);
  box-shadow: 0 34px 90px rgba(12, 14, 15, 0.24);
  transform: translateY(18px) scale(0.98);
  transition: transform 240ms ease;
}

.modal-backdrop.is-open .lead-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33, 34, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.modal-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-copy {
  max-width: 440px;
  margin-bottom: 24px;
}

.modal-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 2.15rem;
  line-height: 1.08;
}

.modal-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.lead-modal .lead-form {
  gap: 14px;
}

.lead-modal .lead-form span {
  color: var(--brand);
}

.lead-modal .lead-form input,
.lead-modal .lead-form select,
.lead-modal .lead-form textarea {
  border-color: rgba(33, 34, 32, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.lead-modal .lead-form input::placeholder,
.lead-modal .lead-form textarea::placeholder {
  color: rgba(33, 34, 32, 0.42);
}

.lead-modal .lead-form input:focus,
.lead-modal .lead-form select:focus,
.lead-modal .lead-form textarea:focus {
  background: #fff;
}

.lead-modal .button-secondary {
  border-color: rgba(33, 34, 32, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--brand);
}

.modal-open {
  overflow: hidden;
}

.scroll-top {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 55;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(40, 45, 49, 0.94), rgba(25, 29, 32, 0.94));
  color: #f7f5f1;
  box-shadow: 0 20px 46px rgba(24, 24, 21, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  border-color: rgba(174, 123, 67, 0.64);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-phone {
    font-size: 0.92rem;
  }

  .hero-grid,
  .solutions-grid,
  .quality-grid,
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .solutions-copy {
    position: static;
  }

  .advantage-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .faq-panel {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 0 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .brand-logo {
    width: 122px;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .header-phone {
    justify-self: center;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
  }

  .messenger-links {
    display: none;
  }

  .messenger-link {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .messenger-link-wide {
    min-width: 44px;
  }

  .header-cta {
    order: 2;
    padding: 11px 16px;
    font-size: 0.84rem;
    border: 2px solid rgba(244, 240, 234, 0.88);
    background: linear-gradient(180deg, #252b30, #171b1f);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 36, 41, 0.18);
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    background: linear-gradient(180deg, #2e353b, #1d2227);
    color: #fff;
  }

  .header-cta-full {
    display: none;
  }

  .header-cta-short {
    display: inline;
  }

  .mobile-messenger-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 42px;
    margin-top: 0;
    background: linear-gradient(180deg, var(--brand), #171b1f);
    border-top: 1px solid rgba(33, 34, 32, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .mobile-messenger-strip .messenger-icon-link {
    width: 34px;
    height: 34px;
  }

  .mobile-messenger-strip .messenger-icon-link svg {
    width: 19px;
    height: 19px;
  }

  .hero-section {
    min-height: 78vh;
    padding: 56px 0 58px;
  }

  .hero-copy h1 {
    font-size: 3rem;
    line-height: 1.05;
  }

  .hero-section .eyebrow {
    padding: 8px 10px;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .section-heading h2,
  .quality-copy h2,
  .brief-copy h2,
  .solutions-copy h2 {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .hero-points,
  .advantage-grid,
  .gallery-grid,
  .solution-showcase {
    grid-template-columns: 1fr;
  }

  .solution-card-large {
    grid-column: auto;
  }

  .solution-card-large img,
  .solution-card img {
    aspect-ratio: 4 / 3;
  }

  .solution-stats {
    gap: 8px;
  }

  .process-map {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .process-rail {
    left: 34px;
    right: auto;
    top: 26px;
    bottom: 28px;
    width: 2px;
    height: auto;
    background:
      linear-gradient(180deg, transparent, rgba(174, 123, 67, 0.72), transparent),
      linear-gradient(180deg, rgba(33, 34, 32, 0.08), rgba(33, 34, 32, 0.08));
  }

  .process-node {
    grid-template-columns: 70px 1fr;
    align-items: start;
    gap: 14px;
  }

  .process-marker {
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .process-marker span {
    width: 26px;
    height: 26px;
    top: -8px;
    right: -6px;
    font-size: 0.66rem;
  }

  .process-marker svg {
    width: 25px;
    height: 25px;
  }

  .process-card {
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }

  .advantages-section,
  .solutions-section,
  .process-section,
  .gallery-section,
  .quality-section,
  .brief-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .brief-panel {
    padding: 22px;
  }

  .faq-panel {
    padding: 24px 18px;
    border-radius: 26px;
    gap: 20px;
  }

  .faq-heading h2 {
    font-size: 2rem;
  }

  .faq-list summary {
    padding: 18px 52px 18px 18px;
  }

  .faq-list p {
    padding: 0 18px 18px;
  }

  .footer-contacts {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-footer {
    padding: 28px 0 92px;
    background:
      radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 46%),
      linear-gradient(180deg, #f6f2ec 0%, #eee9e1 100%);
  }

  .footer-inner {
    justify-items: center;
    gap: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-brand .brand-copy small {
    display: inline;
    font-size: 0.76rem;
    text-align: center;
  }

  .footer-contacts {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: 12px;
  }

  .footer-phone {
    font-size: 1.22rem;
  }

  .messenger-links-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .messenger-links-footer .messenger-icon-link {
    width: 42px;
    height: 42px;
  }

  .footer-cta {
    width: min(100%, 340px);
    padding: 14px 18px;
    background: var(--brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(31, 36, 41, 0.15);
  }

  .lead-modal {
    padding: 28px 20px 22px;
    border-radius: 26px;
  }

  .modal-copy h2 {
    font-size: 1.82rem;
  }

  .scroll-top {
    bottom: 18px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 112px;
  }

  .brand-copy small {
    display: none;
  }

  .header-phone {
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 10px 13px;
    font-size: 0.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
