:root {
  --paper: #ffffff;
  --paper-2: #f6f8f6;
  --ink: #14211b;
  --ink-soft: #3c4a43;
  --muted: #6d7873;
  --line: #e2e8e3;
  --accent: #1f5c3a;
  --accent-dark: #17492e;
  --forest: #144534;
  --white: #ffffff;
  --sans: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--accent);
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 15px;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.nav a:hover { border-color: var(--accent); color: var(--ink); }

.lang {
  border: 1px solid var(--line);
  padding: 6px 12px !important;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.lang:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: clamp(72px, 12vh, 140px) 0 clamp(48px, 7vw, 76px);
  background:
    linear-gradient(200deg, rgba(10, 38, 27, 0.90) 0%, rgba(10, 38, 27, 0.58) 46%, rgba(10, 38, 27, 0.94) 100%),
    url("img/hero.jpg") center 42% / cover no-repeat;
  color: var(--white);
}

.hero .wrap { width: min(var(--max), calc(100% - 48px)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bfe0cc;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #bfe0cc;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 17ch;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: #ffffff;
  box-shadow: inset 0 -0.16em 0 rgba(120, 190, 150, 0.55);
}

.hero-lead {
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--accent-dark);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: #e7f2eb; transform: translateY(-1px); }

.btn-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- facts strip ---------- */

.facts {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }

.fact strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.fact span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 8vw, 104px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.kicker .no {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.section h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

.section p { color: var(--ink-soft); margin: 0 0 16px; }

.section-head p { max-width: 52ch; }

/* ---------- services ---------- */

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

.service {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: clamp(24px, 3vw, 34px);
}

.service .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.service h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
}

.service p { font-size: 15px; margin: 0; }

.arrangements {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- gallery band ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 clamp(56px, 7vw, 88px);
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery figure:hover img { transform: scale(1.03); }

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(to top, rgba(10, 38, 27, 0.78), rgba(10, 38, 27, 0));
}

/* ---------- places ---------- */

.places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.place {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}

.place .cn-small {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.place h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.place p { font-size: 15px; margin: 0; }

/* ---------- dark band ---------- */

.band {
  background: var(--forest);
  color: var(--white);
  padding: clamp(52px, 7vw, 84px) 0;
}

.band .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.band .kicker { color: #a8d2b8; border-bottom-color: rgba(255, 255, 255, 0.18); }

.band h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin: 0 0 18px;
}

.band p { color: rgba(255, 255, 255, 0.78); }

.license-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}

.license-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 14px;
}

.license-list span:first-child { color: rgba(255, 255, 255, 0.6); }
.license-list span:last-child { text-align: right; }

/* ---------- contact ---------- */

.contact {
  text-align: center;
  padding: clamp(70px, 9vw, 116px) 0;
  background: var(--paper-2);
}

.contact .kicker { justify-content: center; border-bottom: 0; padding-bottom: 0; }

.contact h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 20px;
}

.contact p { max-width: 48ch; margin: 0 auto 30px; color: var(--ink-soft); }

.mail-link {
  display: inline-block;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  word-break: break-all;
}

.mail-link:hover { color: var(--accent-dark); }

.contact-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- legal ---------- */

.legal {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 56px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
}

.legal h3 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}

.legal p { margin: 0 0 8px; color: var(--muted); }

.legal a { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 24px 0;
  font-size: 12.5px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #ffffff; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .fact:nth-child(2n) { border-right: 0; }
  .section-head { grid-template-columns: 1fr; }
  .services, .places { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child { grid-column: span 2; }
  .band .wrap, .legal-grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; font-size: 13px; }
}

@media (max-width: 620px) {
  .nav a:not(.lang) { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child { grid-column: auto; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
}
