﻿:root {
  --bg: #f6f6f6;
  --surface: #ffffff;
  --surface-muted: #f1f1f1;
  --text: #1f1f1f;
  --text-soft: #5f5f5f;
  --accent: #f2c94c;
  --accent-hover: #e7bb37;
  --border: #e5e5e5;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shadow-soft: 0 16px 38px rgba(31, 31, 31, 0.08);
  --shadow-hover: 0 22px 44px rgba(31, 31, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at -10% -10%, rgba(242, 201, 76, 0.24), transparent),
    radial-gradient(1100px 560px at 110% 0%, rgba(31, 31, 31, 0.09), transparent),
    var(--bg);
  line-height: 1.58;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1450px, calc(100% - 48px));
  margin-inline: auto;
}

.header-shell,
.hero-shell,
.section .container,
.footer-shell,
.about-grid,
.contacts-grid {
  max-width: 1280px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f3f3f3 0%, #f8f8f8 100%);
}

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

.section-head-row {
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-note {
  margin: 0;
  color: var(--text-soft);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7b661f;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Unbounded", "Manrope", sans-serif;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: 0.01em;
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--accent);
  color: #1f1f1f;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-dark {
  background: #1f1f1f;
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: var(--border);
  color: #1f1f1f;
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: #1f1f1f;
  width: 100%;
}

.card-surface {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
  background: rgba(246, 246, 246, 0.85);
}

.header-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f1f1f;
  color: #f2c94c;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.brand-title {
  font-family: "Unbounded", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #1f1f1f;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  color: #474747;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #1f1f1f;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.circle-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.header-call {
  margin-left: 2px;
}

.nav-backdrop {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  position: relative;
  min-height: min(940px, 95vh);
  display: flex;
  align-items: flex-end;
  padding: 90px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(12, 12, 12, 0.62) 0%, rgba(12, 12, 12, 0.38) 54%, rgba(12, 12, 12, 0.2) 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 24px;
  align-items: end;
}

.hero-card {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: var(--shadow-hover);
  padding: clamp(24px, 3vw, 42px);
}

.hero-card h1 {
  max-width: 760px;
}

.hero-text {
  max-width: 700px;
  color: #464646;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-actions-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.hero-badges li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-metrics {
  display: grid;
  gap: 12px;
}

.metric-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.metric-value {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.metric-label {
  margin-top: 6px;
  color: var(--text-soft);
  font-weight: 600;
}

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

.catalog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: grid;
  gap: 12px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.catalog-icon {
  width: 64px;
  height: 64px;
}

.catalog-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

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

.about-media {
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-content {
  padding: clamp(22px, 2.5vw, 34px);
  display: grid;
  align-content: center;
  gap: 12px;
}

.about-content p {
  color: var(--text-soft);
}

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

.adv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.adv-card p {
  color: var(--text-soft);
}

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

.showroom-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

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

.gallery-item {
  border: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

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

.delivery-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.delivery-card p {
  color: var(--text-soft);
}

.delivery-card-cta {
  background: linear-gradient(160deg, #fff 0%, #fff5d8 100%);
}

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

.faq-list details {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 10px;
  color: var(--text-soft);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
}

.contacts-card {
  padding: clamp(22px, 2.5vw, 34px);
  display: grid;
  gap: 14px;
}

.contact-row {
  color: #3f3f3f;
}

.phone-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.phone-list a {
  text-decoration: none;
  font-weight: 700;
}

.contact-actions-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contacts-media {
  overflow: hidden;
}

.contacts-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 38px 0;
  background: #f3f3f3;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(460px, 1fr) auto;
  align-items: start;
  gap: 20px;
}

.footer-brand {
  margin-right: 0;
}

.footer-copy {
  margin-top: 10px;
  color: var(--text-soft);
}

.footer-legal {
  display: grid;
  gap: 6px;
  color: #3f3f3f;
}

.footer-legal a {
  color: inherit;
}

.footer-socials {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.58);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: min(560px, 100%);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-dialog p {
  color: var(--text-soft);
}

.lead-form {
  margin-top: 14px;
  display: grid;
  gap: 11px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font: inherit;
}

.lead-form input:focus-visible {
  border-color: #c2ab5d;
  outline: 2px solid rgba(242, 201, 76, 0.35);
  outline-offset: 1px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.consent-label {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
}

.consent-label input {
  margin-top: 2px;
}

.form-target {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.form-status {
  min-height: 1.2em;
  color: #a42923;
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.82);
  padding: 20px;
}

.lightbox[hidden],
.modal[hidden] {
  display: none !important;
}

.lightbox-image {
  width: min(1200px, 100%);
  max-height: calc(100vh - 44px);
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  background: #fff;
}

.mobile-bottom-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 180;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-hover);
  backdrop-filter: blur(10px);
}

.mobile-bottom-bar__btn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #1f1f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.mobile-bottom-bar__btn svg,
.mobile-bottom-bar__btn img {
  width: 20px;
  height: 20px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  .header-actions .circle-btn:nth-child(2) {
    display: none;
  }

  .hero-shell,
  .about-grid,
  .contacts-grid,
  .delivery-grid,
  .footer-shell,
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-shell {
    align-items: stretch;
  }

  .footer-shell {
    gap: 26px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 96px 20px 28px;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: right 0.3s ease;
    z-index: 130;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 4px;
    border-bottom: 1px solid #efefef;
  }

  body.nav-open .site-nav {
    right: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(10, 10, 10, 0.44);
    transition: opacity 0.3s ease;
    z-index: 125;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-shell,
  .about-grid,
  .contacts-grid,
  .delivery-grid,
  .footer-shell,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-bottom-bar {
    display: grid;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 70px 0;
  }

  .header-shell {
    min-height: 78px;
  }

  .header-actions .circle-btn:nth-child(3) {
    display: none;
  }

  .hero-card {
    border-radius: 22px;
  }

  .hero-actions-row .btn,
  .contact-actions-row .btn,
  .lead-form .btn {
    width: 100%;
  }

  .catalog-grid,
  .work-grid,
  .showroom-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item img,
  .showroom-gallery img {
    height: 220px;
  }

  .about-media img,
  .contacts-media img {
    min-height: 260px;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .brand-title {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .brand-title {
    display: none;
  }

  .hero-actions-row {
    gap: 10px;
  }

  .hero-badges li {
    width: 100%;
    text-align: center;
  }

  .modal-dialog {
    padding: 20px;
  }
}
