:root {
  --bg: #f3f0e8;
  --ink: #102019;
  --muted: #67756f;
  --line: #ded6c6;
  --panel: #fffaf0;
  --dark: #0b1713;
  --green: #1f8a5a;
  --mint: #9be8b9;
  --gold: #c89b4f;
  --radius: 8px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); min-width: 320px; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 20px clamp(22px, 5vw, 72px) auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(11, 23, 19, .82);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(155, 232, 185, .55);
  border-radius: var(--radius);
  color: #fffaf0;
  background: linear-gradient(135deg, rgba(155,232,185,.18), rgba(200,155,79,.1));
  font-weight: 900;
  font-size: 15px;
}
.brand strong { display: block; font-size: 17px; line-height: 1.1; }
.brand small { display: block; margin-top: 3px; color: rgba(255,250,240,.52); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
nav { display: flex; gap: 30px; color: rgba(255,250,240,.72); font-weight: 800; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { color: #fff; }

.hero {
  position: relative;
  min-height: 900px;
  display: grid;
  grid-template-columns: minmax(460px,.82fr) minmax(620px,1.18fr);
  column-gap: clamp(48px, 5vw, 92px);
  row-gap: 34px;
  align-items: center;
  padding: 130px clamp(28px, 5vw, 88px) 58px;
  overflow: hidden;
  color: #fffaf0;
  background:
    radial-gradient(circle at 15% 20%, rgba(31,138,90,.22), transparent 32rem),
    radial-gradient(circle at 82% 15%, rgba(200,155,79,.16), transparent 30rem),
    linear-gradient(135deg, #08120f, #10251f 52%, #08120f);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .72;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--mint); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 8.8em; margin-bottom: 28px; font-size: clamp(50px, 4.7vw, 78px); line-height: 1.08; letter-spacing: 0; }
h1 span { display: block; }
.hero-lead { max-width: 620px; color: rgba(255,250,240,.75); font-size: clamp(17px, 1.18vw, 21px); line-height: 1.78; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: var(--radius); text-decoration: none; font-weight: 900; }
.button.primary { background: linear-gradient(135deg, var(--mint), #46c884); color: #07110f; }
.button.secondary { border: 1px solid rgba(255,250,240,.18); background: rgba(255,250,240,.08); color: #fffaf0; }

.hero-about {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 6px;
}
.hero-about article {
  min-height: 160px;
  padding: 24px 26px;
  border: 1px solid rgba(255,250,240,.14);
  border-top-color: rgba(155,232,185,.45);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 31, 26, .88), rgba(6, 16, 13, .78));
  box-shadow: 0 20px 54px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
}
.hero-about span {
  display: block;
  margin-bottom: 16px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.hero-about p {
  margin: 0;
  color: rgba(255,250,240,.7);
  font-size: 15px;
  line-height: 1.76;
}

.dashboard { overflow: hidden; border: 1px solid rgba(255,250,240,.16); border-radius: var(--radius); background: rgba(255,250,240,.07); box-shadow: 0 34px 100px rgba(0,0,0,.34); backdrop-filter: blur(14px); transform: translateY(2px); }
.dashboard-head { height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid rgba(255,250,240,.16); color: rgba(255,250,240,.62); }
.dashboard-head span { width: 10px; height: 10px; border-radius: 50%; background: #ef6f6c; }
.dashboard-head span:nth-child(2) { background: #e7b954; }
.dashboard-head span:nth-child(3) { background: #69d487; }
.dashboard-head strong { margin-left: 8px; }
.dashboard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dashboard-caption { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,250,240,.16); }
.dashboard-caption span { padding: 16px; text-align: center; color: rgba(255,250,240,.76); border-left: 1px solid rgba(255,250,240,.12); }
.dashboard-caption span:first-child { border-left: 0; }

.section { padding: clamp(74px, 8vw, 124px) clamp(24px, 5vw, 88px); }
.section-title { max-width: 900px; margin-bottom: 36px; }
.section-title .eyebrow { color: var(--green); }
h2 { margin-bottom: 16px; color: var(--ink); font-size: clamp(34px, 3.7vw, 58px); line-height: 1.12; }
.section-title p, .service-grid p, .case-card p, .delivery-grid p, .contact-card p { color: var(--muted); line-height: 1.78; }
.about-content { display: grid; gap: 22px; padding: clamp(24px,4vw,40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 14px 42px rgba(33,45,39,.07); }
.about-content p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.service-grid, .delivery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.service-grid article, .delivery-grid div, .case-card, .contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 14px 42px rgba(33,45,39,.07); }
.service-grid article, .delivery-grid div { min-height: 245px; padding: 26px; }
.service-grid span { color: var(--green); font-weight: 900; }
.service-grid h3 { margin: 28px 0 12px; font-size: 22px; }

.cases-section { background: #fffaf0; border-block: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filters button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: #5f6d67; cursor: pointer; }
.filters button.is-active { background: var(--dark); color: #fffaf0; border-color: var(--dark); font-weight: 900; }
.case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.case-card { display: flex; flex-direction: column; overflow: hidden; min-height: 416px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(33,45,39,.14); }
.case-image { height: 184px; background: #ebe4d6; border-bottom: 1px solid var(--line); }
.case-image img { width: 100%; height: 100%; object-fit: cover; }
.case-content { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.case-category { width: max-content; padding: 6px 10px; border-radius: var(--radius); background: #e4f3e9; color: var(--green); font-size: 12px; font-weight: 900; }
.case-card h3 { margin: 18px 0 12px; font-size: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags span { padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--radius); color: #52615c; background: #fffdf8; font-size: 12px; }

.delivery-section { background: var(--bg); }
.delivery-grid strong { display: block; margin-bottom: 16px; color: var(--green); font-size: 21px; }
.contact-card { display: grid; grid-template-columns: minmax(0,.86fr) minmax(360px,1fr); gap: clamp(28px,5vw,70px); align-items: start; padding: clamp(28px,5vw,56px); color: #fffaf0; background: linear-gradient(135deg,#07110f,#10241e 58%,#1b604c); }
.contact-card h2, .contact-card p, .contact-card .eyebrow { color: #fffaf0; }
.contact-card h2 { font-size: clamp(36px,4vw,56px); }
.contact-info { display: grid; gap: 14px; }
.contact-info address, .contact-info div { display: grid; gap: 10px; padding: 20px; border: 1px solid rgba(255,250,240,.18); border-radius: var(--radius); background: rgba(255,250,240,.08); font-style: normal; }
.contact-info strong { color: #fffaf0; font-size: 15px; }
.contact-info span, .contact-info a { display: block; color: rgba(255,250,240,.78); line-height: 1.75; text-decoration: none; }
.contact-info a:hover { color: #fffaf0; }
footer { display: flex; justify-content: space-between; gap: 14px; padding: 28px clamp(24px,5vw,88px); color: var(--muted); border-top: 1px solid var(--line); }

dialog { width: min(1060px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--body); box-shadow: 0 32px 120px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(7,17,15,.72); backdrop-filter: blur(10px); }
[data-close] { position: sticky; top: 14px; float: right; z-index: 3; width: 40px; height: 40px; margin: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.9); font-size: 28px; cursor: pointer; }
[data-modal-body] { padding: clamp(22px,4vw,46px); }
.modal-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.modal-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 84px; }
  .hero-about { grid-template-columns: 1fr; margin-top: 0; }
  .hero-about article { min-height: auto; }
  .service-grid, .delivery-grid, .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-header { position: absolute; inset: 12px; }
  nav { display: none; }
  .hero { padding: 104px 20px 72px; }
  h1 { max-width: 100%; font-size: clamp(34px,9.2vw,46px); }
  .hero-lead { font-size: 16px; line-height: 1.75; }
  .hero-about { margin-top: 26px; }
  .hero-about article { padding: 20px; }
  .service-grid, .delivery-grid, .case-grid, .contact-card, .modal-gallery { grid-template-columns: 1fr; }
  .dashboard-caption { grid-template-columns: 1fr; }
  .dashboard-caption span { border-left: 0; border-top: 1px solid rgba(255,250,240,.12); }
  .dashboard-caption span:first-child { border-top: 0; }
  footer { display: grid; }
}
