* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: #3a3730;
  line-height: 1.7;
  background: #f6f3ee;
  font-size: 17px;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Шапка */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246,243,238,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6e2d8;
}
nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 80px;
}
.logo { font-weight: 700; font-size: 22px; letter-spacing: 0.01em; color: #3a3730; text-decoration: none; }
.logo span { color: #8a8a6a; }
.nav-links { display: none; }
@media (min-width: 1000px) { .nav-links { display: block; } }
nav a {
  color: #3a3730; text-decoration: none; margin-left: 22px;
  font-size: 15px; font-weight: 500;
}
nav a:hover { color: #8a8a6a; }

/* Герой */
.hero {
  padding: 100px 0 90px;
  background: linear-gradient(165deg, #efebe3 0%, #f6f3ee 65%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 820px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 24px; font-weight: 600;
}
.hero h1 em { font-style: italic; color: #8a8a6a; font-weight: 600; }
.hero p {
  font-size: clamp(18px, 2.1vw, 21px); color: #6a665c;
  max-width: 560px; margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}
.btn {
  display: inline-block;
  background: #8a8a6a; color: #fff;
  padding: 18px 40px; border-radius: 40px;
  text-decoration: none; font-weight: 600; font-size: 17px;
  border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(138,138,106,.35); }
.btn-ghost {
  background: transparent; color: #8a8a6a;
  border: 2px solid #8a8a6a; margin-left: 12px;
}
.btn-ghost:hover { box-shadow: none; background: #efebe3; }
.hero-photo {
  background: #efebe3;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: auto; display: block;
  border-radius: 16px;
}

/* Секции */
section { padding: 88px 0; }
h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  text-align: center; margin-bottom: 16px;
  letter-spacing: -0.02em; font-weight: 600;
}
.subtitle {
  text-align: center; color: #8a857a; margin-bottom: 56px;
  font-size: 17px; font-weight: 400;
}

/* Обо мне */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 820px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.about-text p { margin-bottom: 20px; font-size: 18px; color: #4a463e; line-height: 1.75; }
.about-quote {
  margin: 32px 0;
  padding: 26px 30px;
  background: #fff;
  border-left: 3px solid #8a8a6a;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #5a564a;
  font-size: 17px;
  line-height: 1.65;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 600px) {
  .about-photos {
    grid-template-columns: 1fr;
  }
}
.about-photos div {
  background: #efebe3;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  overflow: hidden;
}
.about-photos img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
}
.about-facts {
  background: #fff; border-radius: 24px; padding: 40px 36px;
  border: 1px solid #e6e2d8;
}
.about-facts h3 {
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em;
  color: #8a8a6a; margin-bottom: 24px; font-weight: 700;
}
.fact { display: flex; gap: 16px; margin-bottom: 22px; }
.fact:last-child { margin-bottom: 0; }
.fact-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: #efebe3; display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.fact-text { font-size: 16px; color: #4a463e; line-height: 1.55; }
.fact-text strong { display: block; font-size: 17px; margin-bottom: 3px; color: #3a3730; font-weight: 600; }

/* Как я работаю */
.how { background: #efebe3; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.how-item {
  background: #fff; border-radius: 18px; padding: 34px 32px;
  border: 1px solid #e6e2d8;
}
.how-item h3 { font-size: 21px; margin-bottom: 12px; font-weight: 600; color: #3a3730; }
.how-item p { color: #6a665c; font-size: 16px; line-height: 1.65; }

/* Принципы */
.principles { background: #fff; }
.principles-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 860px; margin: 0 auto;
}
@media (min-width: 720px) { .principles-grid { grid-template-columns: 1fr 1fr; } }
.principle {
  padding: 30px 34px;
  background: #f6f3ee;
  border-radius: 18px;
  border: 1px solid #e6e2d8;
}
.principle h3 { font-size: 20px; margin-bottom: 10px; font-weight: 600; color: #3a3730; }
.principle p { color: #6a665c; font-size: 16px; line-height: 1.65; }

/* Формат */
.format { background: #efebe3; }
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.format-item {
  text-align: center; padding: 34px 26px;
  background: #fff; border-radius: 18px;
  border: 1px solid #e6e2d8;
}
.format-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.format-item h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.format-item p { color: #6a665c; font-size: 15px; line-height: 1.6; }

/* Карьера */
.career { background: #fff; }
.timeline {
  max-width: 780px; margin: 0 auto;
  position: relative; padding-left: 32px;
}
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: #d6d0c2;
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid #8a8a6a;
}
.timeline-item.active::before {
  background: #8a8a6a; box-shadow: 0 0 0 5px rgba(138,138,106,.2);
}
.timeline-years {
  font-size: 14px; color: #8a8a6a; letter-spacing: 0.08em;
  font-weight: 700; margin-bottom: 6px;
}
.timeline-item h3 { font-size: 22px; margin-bottom: 4px; font-weight: 600; color: #3a3730; }
.timeline-place {
  font-size: 15px; color: #8a857a; margin-bottom: 8px;
  font-style: italic;
}
.timeline-role { font-size: 16px; color: #4a463e; }

/* С чем работаю */
.services { background: #efebe3; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: #fff; border-radius: 20px; padding: 38px 34px;
  border: 1px solid #e6e2d8;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(70,70,50,.08); }
.card-num {
  font-size: 14px; color: #8a8a6a; letter-spacing: 0.12em;
  font-weight: 700; margin-bottom: 20px;
}
.card h3 { font-size: 22px; margin-bottom: 14px; font-weight: 600; }
.card p { color: #6a665c; font-size: 16px; line-height: 1.65; }

/* Блог */
.blog { background: #fff; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #f6f3ee; border-radius: 20px; overflow: hidden;
  border: 1px solid #e6e2d8;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(70,70,50,.1); }
.blog-card-body { padding: 30px 30px 34px; }
.blog-tag {
  font-size: 13px; color: #8a8a6a; letter-spacing: 0.1em;
  font-weight: 700; margin-bottom: 12px;
  text-transform: uppercase;
}
.blog-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600; line-height: 1.35; }
.blog-card p { color: #6a665c; font-size: 15px; line-height: 1.6; }

/* Страница статьи */
.article { background: #fff; padding: 60px 0 80px; }
.article-inner { max-width: 720px; margin: 0 auto; }
.article h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2; font-weight: 600;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.article-meta {
  font-size: 15px; color: #8a857a;
  margin-bottom: 40px;
}
.article-content p { font-size: 18px; color: #4a463e; margin-bottom: 22px; line-height: 1.8; }
.article-content h2 { font-size: 28px; text-align: left; margin: 40px 0 20px; font-weight: 600; }
.article-content h3 { font-size: 22px; margin: 32px 0 16px; font-weight: 600; }
.article-content blockquote {
  margin: 32px 0;
  padding: 26px 30px;
  background: #f6f3ee;
  border-left: 3px solid #8a8a6a;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #5a564a;
  font-size: 17px;
}
.article-content ul { margin: 20px 0 20px 28px; }
.article-content li { font-size: 18px; color: #4a463e; margin-bottom: 10px; }
.article-back {
  display: inline-block;
  margin-top: 40px;
  color: #8a8a6a;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.article-back:hover { text-decoration: underline; }

/* FAQ */
.faq { background: #efebe3; }
.faq-list { max-width: 860px; margin: 0 auto; }
details.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6e2d8;
  margin-bottom: 16px;
  overflow: hidden;
}
details.faq-item summary {
  padding: 24px 32px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #3a3730;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 26px;
  color: #8a8a6a;
  font-weight: 400;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .faq-content {
  padding: 0 32px 28px;
  font-size: 17px;
  color: #6a665c;
  line-height: 1.7;
}

/* Образование */
.education { background: #fff; }
.edu-summary {
  max-width: 860px; margin: 0 auto 48px;
  background: #f6f3ee; border-radius: 20px;
  padding: 38px 42px;
  border: 1px solid #e6e2d8;
}
.edu-summary ul { list-style: none; }
.edu-summary li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: 17px; color: #4a463e;
  line-height: 1.6;
}
.edu-summary li:last-child { margin-bottom: 0; }
.edu-summary li::before {
  content: "✓"; position: absolute; left: 0;
  color: #8a8a6a; font-weight: 700; font-size: 17px;
}
details.edu-details {
  max-width: 860px; margin: 0 auto;
  background: #f6f3ee;
  border-radius: 16px;
  border: 1px solid #e6e2d8;
  overflow: hidden;
}
details.edu-details + details.edu-details { margin-top: 16px; }
details.edu-details summary {
  padding: 24px 32px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #3a3730;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.edu-details summary::-webkit-details-marker { display: none; }
details.edu-details summary::after {
  content: "+";
  font-size: 26px;
  color: #8a8a6a;
  font-weight: 400;
}
details.edu-details[open] summary::after { content: "−"; }
details.edu-details .edu-content { padding: 0 32px 32px; }
details.edu-details .edu-content ul { list-style: none; }
details.edu-details .edu-content li {
  position: relative; padding-left: 30px; margin-bottom: 16px;
  font-size: 16px; color: #4a463e;
  line-height: 1.65;
}
details.edu-details .edu-content li:last-child { margin-bottom: 0; }
details.edu-details .edu-content li::before {
  content: "—"; position: absolute; left: 0;
  color: #8a8a6a; font-weight: 700;
}
details.edu-details .edu-content .edu-sub {
  font-size: 16px; color: #8a8a6a; font-weight: 700;
  margin: 24px 0 14px; padding-top: 16px;
  border-top: 1px solid #e6e2d8;
}
details.edu-details .edu-content .edu-sub:first-child {
  border-top: none; margin-top: 0; padding-top: 0;
}

/* Карусель */
.docs-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0 30px;
  scroll-snap-type: x mandatory;
}
.docs-track { display: flex; gap: 20px; padding: 0 4px; }
.doc-slide {
  flex: 0 0 auto;
  width: 280px;
  height: 360px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e2d8;
  box-shadow: 0 6px 20px rgba(70,70,50,.06);
  transition: transform .2s, box-shadow .2s;
}
.doc-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(70,70,50,.14);
}
.doc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) {
  .doc-slide { width: 220px; height: 280px; }
}

/* Плавающая навигация */
.float-nav {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 100;
}
.float-nav-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #8a8a6a;
  color: #fff;
  border: none;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(138,138,106,.4);
  transition: transform .2s;
  display: flex; align-items: center; justify-content: center;
}
.float-nav-toggle:hover { transform: scale(1.05); }
.float-nav.open .float-nav-toggle { transform: rotate(45deg); }
.float-nav-menu {
  position: absolute;
  right: 0; bottom: 74px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(70,70,50,.15);
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
  border: 1px solid #e6e2d8;
}
.float-nav.open .float-nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.float-nav-menu a {
  display: block;
  padding: 12px 26px;
  color: #3a3730;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background .15s;
}
.float-nav-menu a:hover { background: #f6f3ee; color: #8a8a6a; }

/* Кнопка "наверх" */
.scroll-top {
  position: fixed;
  right: 92px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #8a8a6a;
  border: 1px solid #e6e2d8;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(70,70,50,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .2s;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); color: #6f6f54; }
.scroll-top::before {
  content: "↑";
  font-weight: 700;
}
@media (max-width: 600px) {
  .scroll-top {
    right: 20px;
    bottom: 92px;
    width: 48px;
    height: 48px;
  }
}

/* CTA */
.cta {
  background: #54503f; color: #fff; text-align: center; padding: 96px 0;
}
.cta h2 { color: #fff; }
.cta p { color: #d6d0c2; margin-bottom: 36px; font-size: 18px; line-height: 1.6; }
.cta .btn { background: #fff; color: #54503f; }
.cta .btn:hover { box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.cta-note {
  margin-top: 20px; font-size: 15px; color: #b8b09c;
}
.cta-contacts {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.cta-contacts a {
  color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 500;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 30px;
  transition: background .15s;
}
.cta-contacts a:hover { background: rgba(255,255,255,.15); }

/* Форма */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255,255,255,.08);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
}
.contact-form label {
  display: block;
  font-size: 15px;
  color: #e6e2d8;
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.95);
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 18px;
  color: #3a3730;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid #fff; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .btn { width: 100%; background: #fff; color: #54503f; }
.contact-form .checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: #d6d0c2;
  margin-bottom: 20px;
}
.contact-form .checkbox input { width: auto; margin: 3px 0 0; }
.form-success {
  display: none;
  background: rgba(255,255,255,.2);
  padding: 20px;
  border-radius: 14px;
  font-size: 17px;
  color: #fff;
  text-align: center;
}

/* Cookies */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  background: #3a3730;
  color: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.hidden { display: none; }
.cookie-banner a { color: #d6d0c2; }
.cookie-banner button {
  background: #8a8a6a;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

/* Футер */
footer {
  padding: 48px 0; text-align: center; color: #8a857a;
  font-size: 15px; border-top: 1px solid #e6e2d8;
}
footer a { color: #8a8a6a; text-decoration: none; font-weight: 500; }
footer a:hover { text-decoration: underline; }