.content-section,
.hero-section,
.page-hero {
  padding: var(--section-space-lg) 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 840px;
  padding: 0;
  color: #ffffff;
  background: #16130f;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 14, 10, 0.42), rgba(18, 14, 10, 0.06) 34%, rgba(18, 14, 10, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.02) 44%, rgba(0, 0, 0, 0.32));
  z-index: 0;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

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

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  color: #8d6a3e;
  letter-spacing: 0.16em;
}

.section-title {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;

}

.section-desc {
  margin: 16px 0 0;
  font-size: 18px;
  color: #55504a;
}

.hero-section .section-title {
  color: #ffffff;
  font-size: 54px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
  line-height: 1.3;
}

.hero-section .section-desc {
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.btn--primary {
  color: #1c1712;
  background: #ffffff;
}

.btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
}

.service-intro {
  background: #ffffff;
}

.service-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 42px;
  max-width: 820px;
  margin: 42px auto 0;
}

.service-card {
  position: relative;
  overflow: visible;
  display: grid;
  grid-column: span 6;
  gap: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-card--featured {
  grid-row: span 2;
}

.service-card--offset {
  transform: translateY(72px);
}

.service-card__media {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(245, 245, 242, 0.98), rgba(202, 197, 189, 0.72)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.56) 0 1px, transparent 1px 100%);
  background-size: auto, 44px 44px;
}

.service-card__media img,
.gallery-card__media img,
.promotion-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card--featured .service-card__media {
  min-height: 250px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.95), transparent 18%),
    linear-gradient(135deg, #f4f2ed, #5a554e);
}

.service-card__media--closet {
  background:
    linear-gradient(90deg, rgba(42, 47, 52, 0.95) 0 76%, rgba(228, 223, 214, 0.9) 76% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 100%);
  background-size: auto, 48px 48px;
}

.service-card__media--living {
  background:
    radial-gradient(circle at 66% 48%, rgba(80, 104, 132, 0.7), transparent 18%),
    linear-gradient(135deg, #10141b, #343c4a);
}

.service-card__media--bookshelf {
  background:
    repeating-linear-gradient(90deg, rgba(124, 96, 62, 0.16) 0 22px, rgba(255, 255, 255, 0.4) 22px 44px),
    linear-gradient(135deg, #f3eee7, #d8ccbb);
}

.service-card__body {
  width: 78%;
  min-height: 136px;
  margin-top: -1px;
  padding: 20px 0 0;
  background: #ffffff;
}

.service-card:nth-child(even) .service-card__body {
  margin-left: auto;
  padding-left: 0;
}

.service-card__title {
  margin: 0;
  color: #111111;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.service-card__text {
  margin-top: 14px;
  font-size: 13px;
  color: #2f2f2f;
}

.gallery {
  background: #f4f4f4;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 34px;
  margin-top: 48px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 0;
  border-radius: 0;
  background: #222;
}

.gallery-card__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.48)),
    linear-gradient(135deg, #7f7569, #2b2f32);
}

.gallery-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
}

.gallery-card__media--soft {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 18% 80%, #b7aa97, transparent 30%),
    linear-gradient(135deg, #877563, #2c2824);
}

.gallery-card__media--kitchen {
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 58px),
    linear-gradient(135deg, #837d72, #333436);
}

.gallery-card__media--dark {
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.4)),
    linear-gradient(90deg, #20252c 0 72%, #c4ab72 72% 75%, #2c3037 75% 100%);
}

.gallery-card__body,
.gallery-card__title {
  position: relative;
  z-index: 1;
}

.gallery-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 34px;
  color: #ffffff;
}

.gallery-card__body span {
  font-size: 12px;
  font-weight: 700;
}

.gallery-card__title {
  margin: 0;
  padding: 28px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
}

.gallery-card__body .gallery-card__title {
  padding: 0;
  font-size: 32px;
}

.promotion-list {
  background: #ffffff;
}

.promotion-list__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.7fr;
  gap: 18px;
  max-width: 900px;
  margin: 46px auto 0;
}

.promotion-card {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  border-radius: 8px;
  color: #ffffff;
  background: #2f3338;
}

.promotion-card__image {
  z-index: 0;
}

.promotion-card--large {
  grid-column: span 1;
}

.promotion-card--contact,
.promotion-card--notice {
  grid-column: span 1;
  min-height: 180px;
}

.promotion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.52));
}

.promotion-card--door::before {
  background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.46));
}

.promotion-card--hardware::before {
  background: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.54));
}

.promotion-card--contact::before,
.promotion-card--notice::before {
  background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.58));
}

.promotion-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding: 28px;
}

.promotion-card__body span {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.promotion-card__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.promotion-card__text {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section {
  min-height: 330px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(48, 38, 29, 0.82), rgba(48, 38, 29, 0.12)),
    url("../images/online_bg.jpg") center 44% / cover no-repeat;
}

.cta-section .section-title {
  color: #ffffff;
  font-size: 36px;
}

.cta-section .section-desc {
  color: rgba(255, 255, 255, 0.88);
}

.cta-section__inner {
  display: grid;
  align-content: center;
  min-height: 330px;
  gap: 26px;
}
