:root {
  --bg: #111312;
  --bg-soft: #191b1a;
  --text: #f4f1ec;
  --text-muted: #c8c1b6;
  --accent: #d8b982;
  --accent-dark: #a88653;
  --line: rgba(216, 185, 130, 0.32);
  --page: #f4f2ed;
  --card: #ffffff;
  --font-main: "Montserrat", Arial, Helvetica, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 32px; border: 1px solid var(--accent);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  transition: 0.25s ease; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #171717; }
.btn-primary:hover { background: #e5c995; }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { background: rgba(216, 185, 130, 0.12); }

.section-kicker {
  margin-bottom: 14px; color: var(--accent); font-size: 14px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.section-title {
  font-size: clamp(26px, 2.55vw, 41px); line-height: 1.12;
  font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.section-title span { color: var(--accent); }

/* Header */
.site-header {
  position: absolute; z-index: 20; top: 0; left: 0;
  width: 100%; padding: 28px 0;
}
.header-inner {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 36px; align-items: center;
}
.logo img { width: 100px; height: auto; }
.main-nav {
  display: flex; justify-content: flex-end; gap: 42px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.main-nav a {
  transition: color 0.25s ease;
}
.main-nav a:hover { color: var(--accent); }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 28px;
  border: 1px solid rgba(216, 185, 130, 0.48);
}
.language-switch button,
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(216, 185, 130, 0.32);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.language-switch button:last-child,
.language-switch a:last-child {
  border-right: 0;
}
.language-switch button.is-active,
.language-switch button:hover,
.language-switch a.is-active,
.language-switch a:hover {
  background: var(--accent);
  color: #171717;
}
.mobile-language-switch { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .btn { min-height: 42px; padding: 0 22px; font-size: 12px; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: var(--text); }

.home-page .site-header {
  position: fixed;
  z-index: 1000;
  padding: 8px 0;
  background: rgba(17, 19, 18, 0);
  border-bottom: 1px solid rgba(216, 185, 130, 0);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.home-page .site-header.is-scrolled,
.home-page .site-header:has(.main-nav.is-open) {
  background: rgba(17, 19, 18, 0.75);
  border-bottom-color: rgba(216, 185, 130, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page .header-inner {
  grid-template-columns: 120px 1fr auto;
  min-height: 92px;
}

.home-page .logo img {
  width: 92px;
}

.home-page .main-nav {
  display: grid;
  grid-template-columns: repeat(4, 86px) 78px;
  justify-content: end;
  align-items: center;
  gap: 32px;
}

.home-page .main-nav > a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.home-page .header-actions {
  width: 212px;
}

.home-page .header-actions .btn {
  width: 100%;
  white-space: nowrap;
}

/* Hero */
.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(17, 19, 18, 0.454) 0%,
    rgba(17, 19, 18, 0.315) 42%,
    rgba(17, 19, 18, 0.139) 100%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 80% 20%, rgba(216,185,130,0.12), transparent 32%);
  pointer-events: none;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero-dot.is-active {
  background: var(--accent);
}
.hero-content { position: relative; z-index: 3; max-width: 620px; padding-top: 80px; }
.hero-title {
  margin-bottom: 20px;
  font-size: clamp(58px, 5vw, 92px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-subtitle {
  margin-bottom: 30px; color: var(--accent); font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.12; text-transform: uppercase; letter-spacing: 0.14em;
}
.hero-text { max-width: 440px; margin-bottom: 42px; color: var(--text); font-size: 18px; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

/* Services */
.services {
  padding: 0 0 104px;
  background: var(--bg);
  border: none;
}

.services .container {
  padding-top: 96px;
  border-top: 1px solid rgba(216, 185, 130, 0.22);
}

.services-head {
  max-width: 820px;
  margin-bottom: 56px;
}

.services-head .section-title {
  font-size: clamp(29px, 2.55vw, 46px);
  line-height: 1.12;
}

.services-head p {
  margin-top: 24px;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  min-height: 310px;
  padding: 38px 30px 34px;
  border: 1px solid rgba(216, 185, 130, 0.28);
  background: rgba(255, 255, 255, 0.028);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 185, 130, 0.68);
  background: rgba(216, 185, 130, 0.065);
}

.service-number {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.25;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* Projects */
.projects {
  padding: 92px 0 96px;
  color: #171717;
  background: var(--page);
}

.projects .section-kicker,
.projects .section-title span {
  color: var(--accent-dark);
}

.projects-head {
  max-width: 860px;
  margin: 0 auto 52px;
  text-align: center;
}

.projects-intro {
  max-width: 760px;
  margin: 24px auto 0;
  color: #6b665f;
  font-size: 17px;
  line-height: 1.7;
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.tab {
  min-width: 150px;
  padding: 12px 22px;
  border: 1px solid #d7d0c4;
  background: transparent;
  color: #252525;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.tab.active,
.tab:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.project-card {
  background: #ffffff;
  border: 1px solid #ded8ce;
  transition: 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.project-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-card--footer-pinned .project-card-link {
  display: flex;
  flex-direction: column;
}

.project-card--footer-pinned .project-image {
  flex-shrink: 0;
}

.project-card--footer-pinned .project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-card--footer-pinned .project-footer {
  margin-top: auto;
}

.project-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #181a19;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-label {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 7px 12px;
  background: rgba(17, 19, 18, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body {
  padding: 28px 28px 30px;
}

.project-topline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body h3 {
  margin-bottom: 14px;
  color: #171717;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}

.project-description {
  margin-bottom: 20px;
  color: #5f5a54;
  font-size: 15.5px;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.project-tags span {
  padding: 5px 9px;
  border: 1px solid #ded8ce;
  color: #4f4b46;
  font-size: 12px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #e4ded5;
  color: #171717;
  font-size: 14px;
  font-weight: 700;
}

.project-arrow {
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1;
}

.projects-more {
  margin-top: 52px;
  text-align: center;
}

.projects-more-btn {
  color: #171717;
  border-color: var(--accent-dark);
}

.projects-more-btn:hover {
  background: var(--accent);
  color: #171717;
}

.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Advantages */
.advantages {
  padding: 96px 0 104px;
  background: var(--bg);
}

.advantages .container {
  padding-top: 0;
}

.advantages-head {
  max-width: 820px;
  margin-bottom: 56px;
}

.advantages-head .section-title span {
  color: var(--accent);
}

.advantages-head p {
  margin-top: 24px;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(216, 185, 130, 0.28);
  border-bottom: 1px solid rgba(216, 185, 130, 0.28);
}

.advantage-item {
  min-height: 310px;
  padding: 36px 28px 34px;
  border-right: 1px solid rgba(216, 185, 130, 0.22);
}

.advantage-item:last-child {
  border-right: none;
}

.advantage-number {
  display: block;
  margin-bottom: 50px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.advantage-item h3 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.25;
}

.advantage-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Contact */
.contact {
  padding: 96px 0 104px;
  background: var(--page);
  color: #171717;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 86px;
  align-items: start;
}

.contact .section-kicker {
  color: var(--accent-dark);
}

.contact .section-title {
  color: #171717;
}

.contact .section-title span {
  color: var(--accent-dark);
}

.contact-info p {
  max-width: 480px;
  margin: 28px 0 36px;
  color: #5f5a54;
  font-size: 18px;
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
  color: #171717;
  font-size: 18px;
  line-height: 1.5;
}

.contact-list a {
  color: #171717;
  transition: 0.25s ease;
}

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

.contact-note {
  max-width: 440px;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 134, 83, 0.32);
  color: #5f5a54;
  font-size: 15px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d7d0c4;
  background: #ffffff;
  color: #171717;
  padding: 18px 20px;
  outline: none;
  transition: 0.25s ease;
}

.contact-form select {
  appearance: none;
  color: #5f5a54;
  padding-right: 52px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%),
    linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 25px) 50%,
    calc(100% - 17px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.contact-form option {
  color: #171717;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a8278;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 2px rgba(168, 134, 83, 0.12);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form .btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 58px;
  border: none;
}

/* Footer */
.footer {
  padding: 8px 0;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid rgba(216, 185, 130, 0.24);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  min-height: 92px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.footer-logo {
  display: block;
  flex: 0 0 auto;
}

.footer-logo img {
  width: 76px;
  height: auto;
  display: block;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer-contacts {
  display: grid;
  min-height: 76px;
  gap: 4px;
  align-content: center;
  justify-items: start;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.35;
}

.footer-contacts a {
  color: var(--text-muted);
  transition: 0.25s ease;
}

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

.scroll-top-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(216, 185, 130, 0.52);
  background: rgba(17, 19, 18, 0.75);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover {
  border-color: var(--accent);
  background: rgba(17, 19, 18, 0.9);
}

/* Responsive */
@media (max-width: 1100px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .header-inner {
    grid-template-columns: 120px 1fr;
    gap: 28px;
  }

  .home-page .header-inner {
    grid-template-columns: 120px 1fr;
  }

  .logo img {
    width: 96px;
  }

  .home-page .logo img {
    width: 92px;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    justify-content: flex-end;
    gap: 24px;
    font-size: 12px;
  }

  .home-page .main-nav {
    grid-template-columns: repeat(4, 80px) 78px;
    gap: 16px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-title {
    font-size: clamp(48px, 7vw, 76px);
  }

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

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

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

  .advantage-item {
    border-right: 1px solid rgba(216, 185, 130, 0.22);
    border-bottom: 1px solid rgba(216, 185, 130, 0.22);
  }

  .advantage-item:nth-child(2n) {
    border-right: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-info {
    max-width: 760px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 8px 0;
    z-index: 1000;
  }

  .home-page .site-header {
    padding: 8px 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }

  .home-page .header-inner,
  .services-page .header-inner,
  .portfolio-page .header-inner,
  .project-detail-page .header-inner,
  .contact-page .header-inner {
    gap: 0 !important;
  }

  .home-page .logo img,
  .services-page .logo img,
  .portfolio-page .logo img,
  .project-detail-page .logo img,
  .contact-page .logo img {
    width: 74px !important;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 60;
    margin-left: 12px;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    transition: opacity 0.2s ease;
  }

  .menu-toggle span {
    margin: 5px 0;
  }

  .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 40;
    width: 100vw;
    min-height: 100vh;
    padding: 96px 32px;
    background: rgba(17, 19, 18, 0.85);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-left: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: opacity 0.25s ease;
    font-size: 18px;
  }

  .home-page .main-nav {
    display: flex;
    gap: 30px;
  }

  .home-page .main-nav > a {
    min-height: 0;
  }

  .main-nav a {
    width: auto;
    padding: 8px 0;
  }

  .main-nav > .language-switch {
    display: none;
  }

  .mobile-language-switch {
    display: inline-flex;
    position: relative;
    z-index: 60;
    flex: 0 0 auto;
    height: 30px;
    margin: 0 0 0 auto;
  }

  .mobile-language-switch button,
  .mobile-language-switch a {
    min-width: 34px;
    font-size: 10px;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 96px;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1.18;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 34px;
    font-size: 16px;
  }

  .hero-buttons {
    display: grid;
    gap: 14px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
  }

  .hero-dots {
    bottom: 28px;
  }

  .projects,
  .advantages,
  .contact {
    padding: 64px 0;
  }

  .services {
    padding: 0 0 64px;
  }

  .services .container {
    padding-top: 64px;
  }

  .services-head {
    margin-bottom: 38px;
  }

  .services-head .section-title {
    font-size: clamp(26px, 6.8vw, 34px);
  }

  .services-head p {
    font-size: 16px;
    line-height: 1.7;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    min-height: auto;
    padding: 30px 26px;
  }

  .service-number {
    margin-bottom: 36px;
  }

  .project-tabs {
    gap: 10px;
  }

  .tab {
    min-width: auto;
    padding: 10px 14px;
    font-size: 11px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-image {
    height: 260px;
  }

  .project-body {
    padding: 24px 22px 26px;
  }

  .advantages-head {
    margin-bottom: 40px;
  }

  .advantages-head p {
    font-size: 16px;
    line-height: 1.7;
  }

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

  .advantage-item {
    min-height: auto;
    padding: 30px 0;
    border-right: none;
    border-bottom: 1px solid rgba(216, 185, 130, 0.22);
  }

  .advantage-number {
    margin-bottom: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-info p {
    font-size: 16px;
    line-height: 1.7;
  }

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

  .footer {
    padding: 14px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
  }

  .footer-logo img {
    width: 64px;
  }

  .footer-brand {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    align-items: center;
  }

  .footer-brand p {
    display: block;
    max-width: none;
    font-size: 13px;
    line-height: 1.42;
  }

  .footer-contacts {
    display: none;
    grid-template-columns: 1fr;
    min-height: auto;
    justify-items: start;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(216, 185, 130, 0.16);
    font-size: 13px;
    line-height: 1.35;
  }

  .scroll-top-button {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}
