﻿:root {
  --primary: #cc785c;
  --primary-active: #a9583e;
  --ink: #141413;
  --body: #3d3d3a;
  --muted: #6c6a64;
  --hairline: #e6dfd8;
  --canvas: #faf9f5;
  --soft: #f5f0e8;
  --card: #efe9de;
  --cream: #e8e0d2;
  --dark: #181715;
  --dark2: #252320;
  --teal: #5db8a6;
  --amber: #e8a55a;
  --shadow: 0 22px 60px rgba(37, 35, 32, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 245, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--canvas), 0 0 0 4px var(--hairline);
  flex: 0 0 auto;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.niche-links { display: flex; gap: 6px; flex-wrap: wrap; }
.niche-links a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.niche-links a:hover { color: var(--primary); text-decoration-color: var(--primary); }
.links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.links a { padding: 8px 2px; border-bottom: 1px solid transparent; }
.links a:hover { color: var(--primary); border-color: var(--primary); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(204, 120, 92, .22);
}
.btn:hover { background: var(--primary-active); }
.btn.secondary { background: #fff; color: var(--ink); box-shadow: none; border: 1px solid var(--hairline); }
.mobile-menu { display: none; }

.hero { padding: 84px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; color: var(--primary); margin-bottom: 18px; }
.h1, .h2, .h3 { font-family: Georgia, "Times New Roman", serif; color: var(--ink); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.h1 { font-size: clamp(44px, 7vw, 76px); }
.h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
.h3 { font-size: 28px; line-height: 1.18; }
.lead { font-size: 20px; color: var(--body); max-width: 690px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-card { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset: auto -80px -80px auto; width: 260px; height: 260px; border-radius: 50%; background: rgba(204, 120, 92, .18); }
.hero-card .portrait { margin: 0 auto; }
.portrait, .avatar, .profile-photo { background: linear-gradient(145deg, var(--cream), #f7efe5); display: grid; place-items: center; overflow: hidden; }
.portrait { width: 200px; height: 300px; max-width: 100%; border-radius: 20px; position: relative; padding: 0; margin-inline: auto; }
.portrait img { width: 200px; height: 300px; max-width: 100%; object-fit: contain; object-position: center; z-index: 1; }
.avatar img, .profile-photo img { width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { background: rgba(250, 249, 245, .72); border: 1px solid rgba(230, 223, 216, .8); border-radius: 16px; padding: 14px; }
.stat b { display: block; color: var(--ink); font-size: 24px; }

.section { padding: 78px 0; }
.soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 32px; }
.section-head p { max-width: 560px; margin: 0; }
.cards, .specialists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: 26px; min-height: 210px; }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--canvas); display: grid; place-items: center; margin-bottom: 18px; color: var(--primary); font-weight: 900; }
.niches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.niche { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 18px; padding: 28px; }
.person { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; box-shadow: 0 14px 32px rgba(37, 35, 32, .06); }
.avatar { height: 220px; }
.person-body { padding: 20px; }
.person-body p { margin: .4rem 0; }
.price { color: var(--primary); font-weight: 800; }
.dark { background: var(--dark); color: #faf9f5; }
.dark .h2, .dark .h3 { color: #faf9f5; }
.dark p { color: #c7c2ba; }
.chart { display: flex; align-items: end; gap: 18px; height: 320px; padding: 28px; background: var(--dark2); border-radius: 20px; border: 1px solid rgba(255,255,255,.08); }
.bar { flex: 1; min-width: 42px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, var(--primary), var(--amber)); position: relative; display: flex; align-items: flex-end; justify-content: center; color: #fff; font-weight: 800; padding-bottom: 10px; }
.bar span { position: absolute; bottom: -34px; color: #aaa; font-size: 13px; }

.crumbs { padding-top: 28px; color: var(--muted); font-size: 14px; }
.profile { display: grid; grid-template-columns: 360px 1fr; gap: 38px; align-items: start; }
.profile-photo { height: 460px; border-radius: 24px; box-shadow: var(--shadow); }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.tag { background: var(--card); border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 13px; color: var(--ink); }
.timeline { display: grid; gap: 14px; margin-top: 24px; }
.step { background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 18px; }

.map { height: 420px; border-radius: 24px; background: linear-gradient(135deg, #efe9de 25%, transparent 25%) 0 0 / 70px 70px, linear-gradient(225deg, #efe9de 25%, transparent 25%) 0 0 / 70px 70px, var(--soft); border: 1px solid var(--hairline); position: relative; overflow: hidden; }
.road { position: absolute; background: #fff; border: 1px solid var(--hairline); box-shadow: 0 8px 20px rgba(37,35,32,.06); }
.road.r1 { width: 120%; height: 58px; left: -10%; top: 54%; transform: rotate(-12deg); }
.road.r2 { width: 56px; height: 120%; left: 48%; top: -10%; transform: rotate(10deg); }
.pin { position: absolute; left: 55%; top: 38%; transform: translate(-50%, -50%); background: var(--primary); color: #fff; border-radius: 18px; padding: 14px 18px; font-weight: 800; box-shadow: 0 18px 34px rgba(204,120,92,.32); }
.pin::after { content: ""; position: absolute; left: 22px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.info { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 20px; padding: 28px; }
.footer { padding: 42px 0; border-top: 1px solid var(--hairline); background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }

@media (max-width: 980px) {
  .hero-grid, .profile, .contact-grid { grid-template-columns: 1fr; }
  .cards, .specialists { grid-template-columns: repeat(2, 1fr); }
  .niches { grid-template-columns: 1fr; }
  .links { display: none; }
  .links.is-open {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .mobile-menu { display: inline-flex; }
  .section-head { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portrait { height: 320px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1180px); }
  .hero { padding: 52px 0; }
  .cards, .specialists, .stats, .footer-grid { grid-template-columns: 1fr; }
  .chart { gap: 8px; padding: 18px; overflow: auto; }
  .bar { min-width: 54px; }
  .profile-photo { height: 320px; }
  .h1 { font-size: 42px; }
}

