:root {
  --ink: #1c1a17;
  --muted: #716b63;
  --line: #e3ded6;
  --paper: #ffffff;
  --soft: #f7f4ef;
  --wood: #9b5f2e;
  --green: #315c46;
  --gold: #d8af72;
  --shadow: 0 18px 46px rgba(28, 26, 23, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(227, 222, 214, .8);
  backdrop-filter: blur(18px);
}
.header-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--wood));
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: #38332e;
}
.nav a { white-space: nowrap; }
.nav a:hover,
.text-link:hover { color: var(--wood); }
.header-phone {
  padding: 10px 14px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  white-space: nowrap;
}
.menu-button,
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide img { object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 18, 16, .72), rgba(19, 18, 16, .28) 52%, rgba(19, 18, 16, .04));
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 150px;
  color: #fff;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}
.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 19px;
  color: rgba(255, 255, 255, .86);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}
.button-primary {
  color: #fff;
  background: var(--wood);
}
.button-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .1);
}
.hero-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(780px, 88vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}
.hero-strip span {
  min-height: 78px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  font-weight: 800;
}

.quick-entry {
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.quick-item {
  min-height: 142px;
  padding: 26px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 4px;
}
.quick-item:last-child { border-right: 0; }
.quick-item span {
  color: var(--wood);
  font-size: 13px;
  font-weight: 800;
}
.quick-item strong {
  font-size: 22px;
  line-height: 1.2;
}
.quick-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}
.section-alt {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}
.section-head {
  margin-bottom: 34px;
}
.section-head.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.section-head h2,
.wide-banner h2,
.cta-section h2,
.footer h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-head p:not(.eyebrow),
.wide-banner p,
.cta-section p,
.footer p,
.contact-card p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.text-link {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.space-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 14px;
}
.space-card {
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.space-card:first-child { grid-row: span 2; }
.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.space-card:hover img { transform: scale(1.045); }
.space-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(0, 0, 0, .58), transparent);
}
.space-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.package-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #ddd;
}
.package-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.package-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .05));
}
.package-card div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}
.package-card strong {
  display: block;
  font-size: 25px;
}
.package-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .8);
}

.wide-banner {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.wide-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wide-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 16, .72), rgba(20, 18, 16, .12));
}
.wide-banner div {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.wide-banner p { color: rgba(255, 255, 255, .82); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-grid-list { grid-template-columns: repeat(3, 1fr); }
.case-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #ddd;
}
.case-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .05) 62%);
}
.case-card span,
.case-card em {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  color: #fff;
}
.case-card span {
  bottom: 58px;
  font-size: 22px;
  font-weight: 800;
}
.case-card em {
  bottom: 24px;
  color: rgba(255, 255, 255, .78);
  font-style: normal;
}

.news-list {
  display: grid;
  gap: 12px;
}
.news-item {
  display: grid;
  grid-template-columns: 132px minmax(180px, 1fr) 1.3fr;
  gap: 24px;
  align-items: center;
  min-height: 96px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item time {
  color: var(--wood);
  font-weight: 800;
}
.news-item strong {
  font-size: 22px;
  line-height: 1.25;
}
.news-item span { color: var(--muted); }
.news-list-page .news-item { grid-template-columns: 132px minmax(220px, 1fr) 1.6fr; }

.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: var(--green);
}
.cta-section .eyebrow { color: var(--gold); }
.cta-section p { color: rgba(255, 255, 255, .78); }

.page-hero,
.article-hero {
  padding: 104px max(20px, calc((100vw - 1180px) / 2)) 70px;
  background: var(--soft);
}
.page-hero h1,
.article-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
}
.page-hero p:not(.eyebrow),
.article-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.article-cover {
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 0;
}
.article-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
}
.rich-content {
  color: #332f2a;
  font-size: 17px;
}
.rich-content h2,
.rich-content h3 {
  margin: 34px 0 12px;
  line-height: 1.2;
}
.rich-content p,
.rich-content li { color: #4f4942; }
.rich-content img {
  margin: 26px 0;
  width: 100%;
  height: auto;
}
.side-panel,
.contact-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(28, 26, 23, .06);
}
.side-panel {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
}
.side-panel strong {
  font-size: 22px;
}
.side-panel span,
.contact-lines span {
  display: block;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.catalog-card {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.catalog-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.catalog-card div { padding: 24px; }
.catalog-card span {
  color: var(--wood);
  font-weight: 800;
}
.catalog-card h2 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.2;
}
.catalog-card p {
  margin: 0;
  color: var(--muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
}
.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.footer {
  background: #171512;
  color: #fff;
}
.footer-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  opacity: .72;
}
.footer-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.footer p { color: rgba(255, 255, 255, .72); }
.footer-contact {
  display: grid;
  gap: 8px;
  text-align: right;
}
.footer-contact a {
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}
.footer-contact span { color: rgba(255, 255, 255, .7); }
.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .45);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}
.mobile-dock { display: none; }

@media (max-width: 980px) {
  .header-shell {
    width: min(100% - 28px, 720px);
    min-height: 68px;
  }
  .nav,
  .header-phone { display: none; }
  .menu-button {
    display: inline-flex;
    border: 0;
    background: var(--green);
    color: #fff;
    padding: 10px 14px;
    font-weight: 800;
  }
  .mobile-nav {
    display: none;
    width: min(100% - 28px, 720px);
    margin: 0 auto 14px;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .mobile-nav.is-open {
    display: grid;
    gap: 10px;
  }
  .hero {
    min-height: 650px;
  }
  .hero-copy {
    width: calc(100% - 28px);
    padding: 70px 0 132px;
  }
  .hero p {
    font-size: 17px;
  }
  .hero-strip,
  .quick-entry,
  .package-grid,
  .case-grid,
  .catalog-grid,
  .contact-layout,
  .content-layout,
  .footer-content,
  .footer-bottom,
  .cta-section {
    grid-template-columns: 1fr;
  }
  .hero-strip {
    left: 14px;
    right: 14px;
    width: auto;
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-entry {
    width: calc(100% - 28px);
    margin-top: 28px;
  }
  .quick-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .section,
  .section-alt {
    width: 100%;
    padding: 68px 14px;
  }
  .section-head.split,
  .footer-content,
  .footer-bottom,
  .cta-section {
    display: grid;
    align-items: start;
  }
  .space-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .space-card:first-child { grid-row: auto; }
  .package-card,
  .package-card img { min-height: 360px; }
  .case-card,
  .case-card img { min-height: 360px; }
  .news-item,
  .news-list-page .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .page-hero,
  .article-hero {
    padding: 72px 14px 50px;
  }
  .article-cover {
    width: calc(100% - 28px);
  }
  .side-panel {
    position: static;
  }
  .footer-contact { text-align: left; }
  .mobile-dock {
    position: fixed;
    z-index: 40;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .mobile-dock a {
    min-height: 46px;
    display: grid;
    place-items: center;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    border-right: 1px solid var(--line);
  }
  .mobile-dock a:last-child { border-right: 0; }
}
