:root {
  --paper: #f6f0e7;
  --paper-2: #fffdf9;
  --sand: #e7d9c4;
  --gold: #a57c43;
  --gold-dark: #78572d;
  --ink: #24211e;
  --muted: #6b6258;
  --line: rgba(56, 45, 32, .14);
  --shadow: 0 18px 55px rgba(69, 48, 24, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(246,240,231,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-dark); font-size: 12px; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.navlinks { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.navlinks a { text-decoration: none; font-size: 13px; font-weight: 650; color: #4b4238; }
.navlinks a:hover { color: var(--gold-dark); }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 47px; border: 1px solid var(--gold); border-radius: 999px; padding: 12px 20px; text-decoration: none; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: white; }
.btn-primary:hover { background: #40372e; }
.btn-outline { color: var(--ink); background: transparent; }

.hero { padding: 76px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1,h2,h3,p { margin-top: 0; }
h1 { margin: 18px 0; max-width: 700px; font-size: clamp(42px, 5.6vw, 70px); line-height: .99; letter-spacing: -.06em; }
h1 em { color: var(--gold-dark); font-family: Georgia, serif; font-weight: 500; }
.lead { max-width: 590px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.hero-note span { color: var(--gold-dark); font-size: 18px; }

.hero-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.art-panel { position: relative; width: min(100%, 430px); min-height: 400px; border-radius: 48% 48% 26px 26px; overflow: hidden; background: radial-gradient(circle at 74% 21%, rgba(255,255,255,.95), transparent 24%), linear-gradient(145deg, #e8d7bd, #b6a184 55%, #6f5944); box-shadow: var(--shadow); }
.art-panel:before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 20.5%, transparent 43%), repeating-linear-gradient(90deg, transparent 0 70px, rgba(255,255,255,.18) 71px 73px); }
.art-window { position: absolute; right: 7%; top: 9%; width: 45%; height: 55%; border: 8px solid rgba(255,255,255,.52); background: linear-gradient(155deg, rgba(244,232,211,.72), rgba(75,82,79,.38)); box-shadow: inset 0 0 0 2px rgba(86,68,48,.16); }
.art-window:after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 4px solid rgba(255,255,255,.45); }
.art-desk { position: absolute; bottom: 0; left: 0; right: 0; height: 29%; background: linear-gradient(180deg, #6e5540, #3b2c22); }
.art-laptop { position: absolute; bottom: 20%; left: 11%; width: 45%; height: 28%; border: 7px solid #292521; border-bottom-width: 12px; border-radius: 7px; background: linear-gradient(140deg, #ece1ce, #bca88c); transform: skewY(-5deg); box-shadow: 0 12px 20px rgba(0,0,0,.2); }
.art-cup { position: absolute; bottom: 21%; right: 12%; width: 50px; height: 54px; border-radius: 4px 4px 14px 14px; background: #201e1b; box-shadow: 0 9px 12px rgba(0,0,0,.2); }
.art-cup:after { content: ""; position: absolute; right: -15px; top: 9px; width: 18px; height: 24px; border: 5px solid #201e1b; border-left: 0; border-radius: 0 20px 20px 0; }
.art-badge { position: absolute; left: 2%; bottom: 5%; padding: 14px 18px; background: rgba(255,253,249,.94); border: 1px solid rgba(165,124,67,.4); border-radius: 16px; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; }
.art-badge strong { display: block; color: var(--gold-dark); font-size: 22px; }

section { padding: 74px 0; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { margin: 14px 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.section-head p { color: var(--muted); font-size: 16px; }

.two-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.path-card { min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.iconbox { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #efe2cf; color: var(--gold-dark); font-size: 22px; margin-bottom: 22px; }
h3 { font-size: 23px; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 12px; }
.path-card p { color: var(--muted); font-size: 15px; }
.path-card .btn { margin-top: auto; }

.section-soft { background: #eee5d8; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); padding: 25px; box-shadow: 0 12px 32px rgba(69,48,24,.05); display: flex; flex-direction: column; }
.card .tag { display: inline-block; align-self: flex-start; padding: 5px 10px; margin-bottom: 16px; background: #efe2cf; border-radius: 999px; color: var(--gold-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price { margin: 8px 0 16px; font-size: 32px; font-weight: 850; letter-spacing: -.05em; }
.card p,.card li { color: var(--muted); font-size: 14px; }
.card ul { padding-left: 19px; margin: 0 0 24px; }
.card li { margin: 7px 0; }
.card .btn { margin-top: auto; }
.featured { border: 1.5px solid var(--gold); box-shadow: 0 17px 42px rgba(126,88,39,.13); position: relative; }
.feature-label { position: absolute; top: -12px; right: 20px; padding: 5px 11px; border-radius: 999px; background: var(--gold-dark); color: white; font-size: 11px; font-weight: 800; }

.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: start; }
.split h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.05em; }
.split-intro { color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.service { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: rgba(255,253,249,.75); display: flex; flex-direction: column; }
.service .iconbox { margin-bottom: 15px; width: 42px; height: 42px; }
.service h3 { font-size: 18px; }
.service p { margin-bottom: 17px; color: var(--muted); font-size: 14px; flex-grow: 1; }
.text-link { color: var(--gold-dark); font-weight: 800; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(120,87,45,.35); padding-bottom: 3px; align-self: flex-start; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.feature-item .iconbox { margin-bottom: 0; flex-shrink: 0; width: 42px; height: 42px; }
.feature-item h3 { margin-top: 5px; font-size: 18px; }
.feature-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

/* --- ОБНОВЛЕННЫЙ БЛОК ФОТОГРАФИИ --- */
.about-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center; /* Выравниваем по центру, чтобы фото смотрелось лучше */
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-image {
  width: 150px;
  height: 150px;
  min-width: 150px; /* Запрещаем сетке сжимать или растягивать */
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Сдвигаем фокус вверх, чтобы лицо не обрезалось */
  display: block;
}
.about-card p { color: var(--muted); margin-bottom: 16px; }

.faq { max-width: 850px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--gold-dark); font-size: 23px; line-height: 1; }
details[open] summary:after { content: "−"; }
details p { margin: 12px 30px 0 0; color: var(--muted); font-size: 14px; }

.contact { background: var(--ink); color: white; border-radius: 30px; padding: clamp(28px, 5vw, 58px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.contact h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.05em; margin: 12px 0; }
.contact p { color: #d7cec3; max-width: 600px; margin-bottom: 0; }
.contact .eyebrow { color: #d7b783; }
.contact .btn { white-space: nowrap; background: #ead8bb; border-color: #ead8bb; color: var(--ink); }

footer { padding: 35px 0; color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
.legal { max-width: 720px; margin-top: 24px; font-size: 11px; line-height: 1.5; opacity: 0.7; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 15px; }
  .navlinks { gap: 12px 18px; }
  .hero-grid,.split { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .hero-art { min-height: 370px; }
  .art-panel { min-height: 350px; }
  .cards { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact .btn { justify-self: start; }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .navlinks { gap: 10px 14px; }
  .navlinks a { font-size: 12px; }
  .hero { padding: 42px 0 38px; }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(39px, 12vw, 56px); }
  .lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-art { min-height: 315px; }
  .art-panel { min-height: 300px; }
  section { padding: 54px 0; }
  .two-paths,.service-list { grid-template-columns: 1fr; }
  .path-card { min-height: auto; padding: 24px; }

  /* Мобильная версия карточки с фото */
  .about-card {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: center;
  }
  .about-image {
    width: 130px;
    height: 130px;
    min-width: 130px;
    margin: 0 auto 15px;
  }

  .contact .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*:before,*:after { transition: none !important; }
}