:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #151b22;
  --muted: #64707d;
  --line: #ded8cf;
  --burgundy: #7f3344;
  --teal: #246b67;
  --gold: #a47a35;
  --soft: #ede7dd;
  --shadow: 0 18px 54px rgba(21, 27, 34, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid rgba(222, 216, 207, 0.9);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--burgundy);
  border-radius: 8px;
  font-weight: 800;
}
.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: 11px; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 24px); font-size: 13px; font-weight: 700; }
.nav a { padding: 8px 0; color: #2a333d; }
.lang-link {
  padding: 7px 10px !important;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-weight: 800;
}
.nav-cta {
  padding: 10px 14px;
  color: #fff !important;
  background: var(--ink);
  border-radius: 7px;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}
.hero-copy { max-width: 820px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}
.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #303a45;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.36;
}
.hero-actions, .cta-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
}
.button.primary { color: #fff; background: var(--burgundy); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.hero-visual {
  align-self: stretch;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.hero-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(222, 216, 207, 0.85);
  border-radius: 8px;
}
.hero-badge strong { display: block; margin-bottom: 4px; }
.hero-badge span { color: var(--muted); font-size: 14px; }

.section {
  padding: clamp(62px, 8vw, 110px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.section.white { background: #fff; }
.section.soft { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 34px; }
h2 { margin: 0; font-size: clamp(27px, 3.5vw, 44px); line-height: 1.1; letter-spacing: 0; }
h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.2; }
.section-head p, .card p, .large-card p, .copy p, .legal-copy p, .article-card p { color: var(--muted); }

.cards-5, .expertise-grid, .news-grid {
  display: grid;
  gap: 16px;
}
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.expertise-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.card, .large-card, .article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(21, 27, 34, 0.05);
}
.card { min-height: 206px; padding: 21px; }
.large-card { min-height: 280px; padding: 24px; display: flex; flex-direction: column; }
.large-card a { margin-top: auto; color: var(--burgundy); font-weight: 800; }
.article-card { padding: 24px; }
.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: #fff;
  background: var(--teal);
  border-radius: 7px;
  font-weight: 800;
}
.large-card:nth-child(2n) .icon { background: var(--burgundy); }
.large-card:nth-child(3n) .icon { background: var(--gold); }

.recognition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 74px);
}
.publication-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.publication {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.publication strong { display: block; }
.publication span { display: block; color: var(--muted); font-size: 14px; }
.award {
  padding: 30px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.award .badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: #fff;
  background: var(--burgundy);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.award p { color: rgba(255, 255, 255, 0.76); }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.step { min-height: 190px; padding: 24px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step span { color: var(--burgundy); font-weight: 800; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.value {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}
.cabinet-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #b9b0a3;
  border-radius: 8px;
  text-align: center;
  padding: 24px;
}

.cabinet-photo {
  min-height: 330px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(21, 27, 34, 0.05);
}

.cabinet-photo img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}

.cabinet-photo figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
}

.cta {
  padding: clamp(62px, 8vw, 105px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}
.cta p { max-width: 760px; color: rgba(255, 255, 255, 0.76); font-size: 17px; }
.cta .button.secondary { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.34); }

.page-hero {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { max-width: 860px; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.detail-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.detail-card ul { margin: 0; padding-left: 18px; color: var(--muted); }

.legal {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 80px);
  padding: clamp(46px, 7vw, 82px) clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.legal h2 { font-size: clamp(24px, 3vw, 36px); }
.legal-copy { display: grid; gap: 12px; }
.legal-copy p { margin: 0; font-size: 14px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.75);
  background: #111820;
  font-size: 14px;
}
.site-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 4px; }
.site-footer span:last-child { text-align: right; }

@media (max-width: 1120px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero, .recognition, .split, .legal { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid, .news-grid, .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .site-header { padding: 12px 16px; }
  .brand { min-width: 0; }
  .brand span { max-width: 210px; }
  .nav { gap: 14px; font-size: 13px; }
  .hero { padding-top: 48px; grid-template-columns: 1fr; }
  .hero-visual { min-height: 330px; }
  .cards-5, .expertise-grid, .news-grid, .detail-grid, .values { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer span:last-child { text-align: left; }
}
