:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-alt: #e9ecef;
  --text: #24272b;
  --muted: #5d6570;
  --accent: #d0643b;
  --brand: #18a5e2;
  --border: #d9dde2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

main {
  background-color: #f4f5f7;
  background-image:
    linear-gradient(115deg, rgba(247, 248, 249, 0.88) 0%, rgba(236, 238, 241, 0.85) 46%, rgba(236, 238, 241, 0.82) 100%),
    url("images/site-background.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-attachment: fixed;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #cfcfcf;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  min-height: 68px;
  position: relative;
}

.header-meta {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
}

.header-meta p {
  margin: 0;
  color: #2d3137;
  font-size: 0.85rem;
  line-height: 1.2;
}

.header-meta a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.2;
}

.header-meta a:hover {
  color: #b55431;
}

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

.logo {
  text-decoration: none;
  color: #000;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-secondary {
  justify-content: center;
  padding: 11px 0 13px;
  background: #dde2e7;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid #cbd2d9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.nav-secondary a {
  color: #2d3137;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: 6px;
}

.nav-secondary a:hover {
  color: var(--accent);
  background: rgba(208, 100, 59, 0.1);
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header-mark {
  width: 340px;
  height: 96px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transform: scaleX(1.06) scaleY(0.94);
  transform-origin: center;
}

.hero {
  padding: 96px 0 82px;
  background: transparent;
  border-bottom: none;
}

.hero-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2 {
  margin: 0 0 14px;
  font-family: "Oswald", Arial, sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 820px;
  color: #000;
}

.hero-title {
  margin: 0 auto;
  padding: 0 12px;
  max-width: min(920px, 100%);
  text-align: center;
}

.hero-title-main,
.hero-title-sub {
  display: block;
  color: #1e2329;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-title-main {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  white-space: nowrap;
}

.hero-title-sub {
  margin-top: 6px;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  color: #2a3038;
}

.hero-subtitle-line {
  color: #2d3137;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  text-align: center;
  max-width: 780px;
  margin: 16px auto 0;
  line-height: 1.55;
  white-space: normal;
}

.hero-text.hero-subtitle-line {
  color: #2d3137;
  display: block;
  max-width: 780px;
  margin: 16px auto 0;
  text-align: center;
}

.hero-proof {
  margin: 12px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.5;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

.hero-text,
.section-text {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.hero-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn {
  display: inline-block;
  margin-top: 28px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(208, 100, 59, 0.25);
}

.section {
  padding: 66px 0;
}

#services.section {
  padding-top: 42px;
  background: transparent;
}

#services h2,
#services .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.service-groups {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.service-card {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.3rem;
}

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

.service-copy {
  line-height: 1.5;
  text-wrap: balance;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
  color: var(--muted);
  line-height: 1.4;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mount-list li::before {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1;
}

.mount-list li {
  min-height: 20px;
  display: flex;
  align-items: center;
  padding-left: 22px;
}

.project-list li,
.service-list li {
  min-height: 20px;
  display: flex;
  align-items: center;
  padding-left: 22px;
}

.project-list li::before,
.service-list li::before {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1;
}

.mount-list li:nth-child(1)::before { content: "♨"; }
.mount-list li:nth-child(2)::before { content: "💧"; }
.mount-list li:nth-child(3)::before { content: "⚡"; }
.mount-list li:nth-child(4)::before { content: "🌀"; }
.mount-list li:nth-child(5)::before { content: "🤖"; }
.mount-list li:nth-child(6)::before { content: "❄"; }
.mount-list li:nth-child(7)::before { content: "🚰"; }
.mount-list li:nth-child(8)::before { content: "💦"; }

.project-list li:nth-child(1)::before { content: "📋"; }
.project-list li:nth-child(2)::before { content: "📐"; }
.project-list li:nth-child(3)::before { content: "∑"; }
.project-list li:nth-child(4)::before { content: "⚙"; }
.project-list li:nth-child(5)::before { content: "🧾"; }
.project-list li:nth-child(6)::before { content: "🗂"; }
.project-list li:nth-child(7)::before { content: "📘"; }
.project-list li:nth-child(8)::before { content: "🧭"; }

.service-list li:nth-child(1)::before { content: "🔍"; }
.service-list li:nth-child(2)::before { content: "🧰"; }
.service-list li:nth-child(3)::before { content: "🎛"; }
.service-list li:nth-child(4)::before { content: "🗓"; }
.service-list li:nth-child(5)::before { content: "🚨"; }
.service-list li:nth-child(6)::before { content: "🛡"; }
.service-list li:nth-child(7)::before { content: "📒"; }
.service-list li:nth-child(8)::before { content: "💬"; }

.advantages-grid {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}

#advantages h2 {
  text-align: center;
}

#advantages.section {
  padding-top: 0;
  padding-bottom: 54px;
  scroll-margin-top: 92px;
}

#steps.section,
#production.section,
#contacts.section {
  padding-top: 54px;
  padding-bottom: 54px;
}

#steps h2,
#steps .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#production h2,
#production .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#works.section {
  padding-top: 20px;
  padding-bottom: 54px;
  scroll-margin-top: 92px;
}

#works h2,
#works .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.works-block {
  margin-top: 12px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(208, 100, 59, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.28);
  padding: 12px 14px;
}

.works-links-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 12px;
}

.production-links-grid .works-block {
  min-height: 84px;
}

.works-title-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2d3137;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.works-title-btn:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.works-title-btn:focus-visible {
  outline: 2px solid rgba(208, 100, 59, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
  justify-items: start;
}

.work-card {
  background: rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: fit-content;
  padding: 0;
  box-shadow: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: zoom-in;
}

.work-media-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}

.work-media {
  position: relative;
  line-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.work-watermark {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 5;
  background: rgba(18, 20, 24, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 3px 4px;
  pointer-events: none;
}

.work-watermark.is-bright {
  background: rgba(18, 20, 24, 0.56);
  border-color: rgba(255, 255, 255, 0.42);
}

.work-watermark.is-dark {
  background: rgba(18, 20, 24, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.work-watermark-image {
  display: block;
  width: 40px;
  height: auto;
  opacity: 0.82;
}

.work-watermark.is-bright .work-watermark-image {
  opacity: 0.96;
}

.work-watermark.is-dark .work-watermark-image {
  opacity: 0.76;
}

.work-media > img {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: transparent;
  border: 0;
  display: block;
  border-radius: 0;
}

.work-card p {
  margin: 0;
  padding: 10px 12px 12px;
  color: #2d3137;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.4;
}

.work-card:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.works-empty {
  margin: 0;
  color: #6a717c;
  font-size: 0.95rem;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 24, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 450;
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal-dialog {
  width: min(980px, 94vw);
  max-height: 88vh;
  overflow: auto;
  background: #f4f6f8;
  border-radius: 12px;
  padding: 18px;
  position: relative;
}

.gallery-modal-title {
  margin: 0 0 14px;
  padding-right: 36px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.35rem;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  background: rgba(45, 49, 55, 0.12);
  color: #2d3137;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 120px);
  gap: 1px;
  justify-content: start;
}

.gallery-modal-grid .work-card {
  width: 120px;
  height: 120px;
  overflow: hidden;
}

.gallery-modal-grid .work-media,
.gallery-modal-grid .work-media > img {
  width: 120px;
  height: 120px;
}

.gallery-modal-grid .work-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-modal-grid[data-section^="production:"] .work-card,
.gallery-modal-grid[data-section^="production:"] .work-media,
.gallery-modal-grid[data-section^="production:"] .work-media > img {
  width: 120px;
  height: 120px;
}

.gallery-modal-grid[data-section^="production:"] .work-card {
  border-radius: 0;
  overflow: hidden;
}

.gallery-modal-grid[data-section^="production:"] .work-media {
  line-height: 0;
  overflow: hidden;
}

.gallery-modal-grid[data-section^="production:"] .work-media > img {
  display: block;
  object-fit: cover;
  object-position: top center;
  transform: translateZ(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 24, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 500;
  overflow: hidden;
}

.lightbox-photo-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  filter: blur(3px);
  transform: scale(1.03);
  z-index: 0;
}

.lightbox.with-photo-bg .lightbox-photo-backdrop {
  opacity: 1;
}

.lightbox > * {
  position: relative;
  z-index: 1;
}

.lightbox.with-photo-bg > .lightbox-btn {
  z-index: 2;
}

.lightbox-prev,
.lightbox-next {
  display: none !important;
}

.lightbox.open {
  display: flex;
  touch-action: none;
  overscroll-behavior: none;
}

.lightbox-media,
.lightbox-image {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.lightbox-media {
  position: relative;
  display: inline-block;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: block;
}

.lightbox-watermark {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(18, 20, 24, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.lightbox-watermark.is-bright {
  background: rgba(18, 20, 24, 0.62);
  border-color: rgba(255, 255, 255, 0.46);
}

.lightbox-watermark.is-dark {
  background: rgba(18, 20, 24, 0.26);
  border-color: rgba(255, 255, 255, 0.24);
}

.lightbox-watermark-image {
  display: block;
  width: 118px;
  height: auto;
  opacity: 0.88;
}

.lightbox-watermark.is-bright .lightbox-watermark-image {
  opacity: 0.98;
}

.lightbox-watermark.is-dark .lightbox-watermark-image {
  opacity: 0.82;
}

.lightbox-btn {
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-prev,
  .lightbox-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

.adv-item {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 18px 18px 16px;
  min-height: 150px;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.adv-item h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.adv-item h4::before {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(208, 100, 59, 0.12);
  border: 1px solid rgba(208, 100, 59, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Open Sans", Arial, sans-serif;
}

.advantages-grid .adv-item:nth-child(1) h4::before {
  content: "🛡";
}

.advantages-grid .adv-item:nth-child(2) h4::before {
  content: "⚙";
}

.advantages-grid .adv-item:nth-child(3) h4::before {
  content: "⏱";
}

.advantages-grid .adv-item:nth-child(4) h4::before {
  content: "✓";
}

.adv-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.adv-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.trust-strip {
  padding: 36px 0;
}

.trust-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.trust-grid li {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 14px;
}

.trust-grid h3 {
  margin: 0 0 6px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.2rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps-grid {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}

.step-item {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 18px 18px 16px;
  min-height: 168px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.step-item h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-item h4::before {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(208, 100, 59, 0.12);
  border: 1px solid rgba(208, 100, 59, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Open Sans", Arial, sans-serif;
}

.steps-grid .step-item:nth-child(1) h4::before {
  content: "📝";
}

.steps-grid .step-item:nth-child(2) h4::before {
  content: "📍";
}

.steps-grid .step-item:nth-child(3) h4::before {
  content: "📊";
}

.steps-grid .step-item:nth-child(4) h4::before {
  content: "🛠";
}

.step-item strong {
  display: inline-block;
  margin-bottom: 4px;
  color: #2f343c;
  font-size: 0.95rem;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.step-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.case-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.case-card {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 16px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.2rem;
}

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

.case-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.case-card li {
  margin-bottom: 4px;
}

.cta-band {
  background: transparent;
  color: var(--text);
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band .section-text {
  color: var(--muted);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.btn-light {
  background: #fff;
  color: #2f343c;
  border: 1px solid var(--border);
  margin-top: 0;
}

.btn-light:hover {
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.22);
}

.cards {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cards li {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 14px 14px 14px 16px;
  font-weight: 600;
}

.contacts {
  background: transparent;
}

#contacts h2,
#contacts .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.contact-links-centered {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  position: relative;
  padding: 12px 14px 12px 50px;
  border-radius: 10px;
  border: 1px solid rgba(208, 100, 59, 0.22);
  background: rgba(255, 255, 255, 0.28);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-item::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(208, 100, 59, 0.12);
  border: 1px solid rgba(208, 100, 59, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Open Sans", Arial, sans-serif;
  content: "";
}

.contact-links .contact-item:nth-child(1)::before {
  content: "📍";
}

.contact-links .contact-item:nth-child(2)::before {
  content: "☎";
}

.contact-links .contact-item:nth-child(3)::before {
  content: "✉";
}

.contact-item,
.contact-item a {
  margin: 0;
  color: #2d3137;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.38);
}

.footer {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer p {
  margin: 0;
  color: #7a828d;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  main {
    background-attachment: scroll;
  }

  .header-inner {
    padding: 12px 0;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    flex-direction: column;
    gap: 8px;
  }

  .header-meta {
    position: static;
    transform: none;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .brand {
    position: static;
    transform: none;
    flex: 0;
  }

  .nav {
    gap: 10px;
    justify-self: center;
  }

  .nav-secondary {
    padding: 8px 10px 10px;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .header-mark {
    width: 250px;
    height: 72px;
  }

  .hero {
    padding: 72px 0 62px;
  }

  .hero-subtitle-line {
    white-space: normal;
  }

  .hero-label {
    letter-spacing: 0.1em;
  }

  .hero-title {
    max-width: 100%;
    padding: 0 8px;
  }

  .hero-title-main {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    white-space: normal;
  }

  .hero-title-sub {
    font-size: clamp(1.2rem, 4.6vw, 1.65rem);
  }

  .hero-proof {
    font-size: 0.92rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-item {
    padding-left: 46px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

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

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

  .works-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .works-links-grid {
    grid-template-columns: 1fr;
  }

  .work-media > img {
    width: 84px;
    height: 84px;
    aspect-ratio: 1 / 1;
  }

  .work-media-grid {
    gap: 6px;
  }

  .work-watermark {
    padding: 2px 3px;
    top: 3px;
    left: 3px;
  }

  .work-watermark-image {
    width: 32px;
  }

  .gallery-modal-dialog {
    width: 96vw;
    padding: 14px;
  }

  .gallery-modal-grid {
    grid-template-columns: repeat(auto-fill, 84px);
    gap: 1px;
  }

  .gallery-modal-grid .work-card {
    width: 84px;
    height: 84px;
    overflow: hidden;
  }

  .gallery-modal-grid .work-media,
  .gallery-modal-grid .work-media > img {
    width: 84px;
    height: 84px;
  }

  .gallery-modal-grid[data-section^="production:"] .work-card,
  .gallery-modal-grid[data-section^="production:"] .work-media,
  .gallery-modal-grid[data-section^="production:"] .work-media > img {
    width: 84px;
    height: 84px;
  }

  .lightbox-btn {
    width: 38px;
    height: 38px;
  }

  .lightbox-watermark {
    padding: 4px 6px;
  }

  .lightbox-watermark-image {
    width: 98px;
  }
}
