:root {
  --bg: #faf8f5;
  --white: #ffffff;
  --text: #1d1d1d;
  --muted: #66625d;
  --line: #e7dfd4;
  --accent: #c89a67;
  --accent-dark: #a9753f;
  --anthracite: #171a20;
  --anthracite-soft: #252a33;
  --shadow: 0 16px 40px rgba(24, 24, 24, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid { display: grid; gap: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--anthracite);
  border: 1.5px solid rgba(23,26,32,.18);
}
.btn-outline:hover { background: var(--anthracite); color: #fff; }
.eyebrow {
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 14px;
}
.section-intro { color: var(--muted); max-width: 760px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(200,154,103,.12);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-text strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: .03em;
}
.brand-text span { color: var(--muted); font-size: .92rem; }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav a { font-weight: 700; color: #30333a; }
.nav a:hover, .nav a.active { color: var(--accent-dark); }
.nav-toggle { display: none; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: linear-gradient(135deg, rgba(200,154,103,.16), rgba(23,26,32,.05));
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}
.hero::before { width: 420px; height: 420px; right: -100px; top: -80px; }
.hero::after { width: 300px; height: 300px; left: -80px; bottom: -60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.hero-copy p { color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: .95rem;
}
.hero-card {
  padding: 20px;
  background: linear-gradient(180deg, var(--anthracite) 0%, #252b35 100%);
  color: #fff;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(200,154,103,.26);
  border-radius: 28px;
}
.hero-panel {
  position: absolute;
  inset: auto 22px 22px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 24px;
}
.hero-logo { width: 120px; margin: 24px auto 10px; opacity: .95; }
.hero-small { color: rgba(255,255,255,.72); text-align: center; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; }
.hero-photo {
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background: #0f1217;
  margin-top: 24px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.stat {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stat strong { font-size: 2rem; display: block; margin-bottom: 6px; }
.service-grid, .reference-grid, .team-grid, .legal-grid, .contact-grid, .footer-grid {
  display: grid;
  gap: 24px;
}
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 28px; position: relative; overflow: hidden; }
.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(200,154,103,.14), rgba(200,154,103,0));
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}
.service-card h3 { margin-top: 8px; margin-bottom: 12px; }
.service-card ul { padding-left: 18px; margin: 0; color: var(--muted); }
.accent-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(200,154,103,.12);
  color: var(--accent-dark);
  font-weight: 800;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 460px;
  background: var(--anthracite);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 120px;
  height: 120px;
  background: rgba(200,154,103,.9);
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}
.content-card { padding: 34px; }
.list-check { list-style: none; padding: 0; margin: 20px 0 0; }
.list-check li { margin: 12px 0; padding-left: 28px; position: relative; }
.list-check li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}
.team-grid { grid-template-columns: repeat(2, 1fr); }
.team-card { overflow: hidden; }
.team-photo {
  aspect-ratio: 4 / 4.5;
  background: linear-gradient(135deg, #f0e6da, #e5d1bc);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.1rem;
}
.team-body { padding: 26px; }
.reference-grid { grid-template-columns: repeat(3, 1fr); }
.reference-card { overflow: hidden; }
.reference-media { aspect-ratio: 4 / 3; background: #e7e7e7; }
.reference-media img { width: 100%; height: 100%; object-fit: cover; }
.reference-body { padding: 22px; }
.contact-grid { grid-template-columns: .95fr 1.05fr; align-items: start; }
.contact-card, .form-card { padding: 30px; }
.contact-points { list-style: none; margin: 20px 0 0; padding: 0; }
.contact-points li { margin: 14px 0; color: var(--muted); }
label { display: block; font-weight: 700; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #d8d2c8;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 160px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { margin-bottom: 18px; }
.notice {
  margin-top: 16px;
  border-radius: 16px;
  padding: 14px 16px;
  background: #f7f1e9;
  color: #6f4c28;
}
.footer {
  margin-top: 70px;
  background: var(--anthracite);
  color: rgba(255,255,255,.85);
}
.footer-grid {
  grid-template-columns: 1.1fr .9fr .9fr;
  padding: 56px 0 32px;
}
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0 36px;
  color: rgba(255,255,255,.62);
}
.page-hero {
  padding: 68px 0 28px;
}
.page-hero-box {
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--anthracite) 0%, #2b313b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero-box::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  background: rgba(200,154,103,.18);
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}
.breadcrumbs { color: rgba(255,255,255,.7); margin-bottom: 10px; }
.legal-grid { grid-template-columns: 1fr 1fr; }
.legal-card { padding: 30px; }
.gallery-note {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: #fff7ef;
  border-radius: 0 16px 16px 0;
  color: #6c5c4a;
}
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .footer-grid, .legal-grid,
  .service-grid, .reference-grid, .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .nav {
    position: fixed;
    inset: 82px 16px auto 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.2rem;
  }
  .form-grid { grid-template-columns: 1fr; }
}
