/* menshikov.pro — B&W Classic Design System */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

/* ─── Tokens ─── */
:root {
  --bg:      #FFFFFF;
  --bg-soft: #F4F4F4;
  --bg-dark: #0A0A0A;
  --ink:     #0A0A0A;
  --ink-55:  rgba(10,10,10,.55);
  --ink-30:  rgba(10,10,10,.30);
  --ink-12:  rgba(10,10,10,.12);

  --font: 'Manrope', system-ui, sans-serif;
  --r: 0px;
  --nav-h: 64px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Container ─── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--ink-12);
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-size: 15px; font-weight: 800; letter-spacing: -.01em;
  color: var(--ink);
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
}
.nav__links a:not(.btn) {
  font-size: 14px; font-weight: 500; color: var(--ink-55);
  transition: color .15s;
}
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; font-family: var(--font);
  font-size: 14px; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; border-radius: var(--r);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--accent {
  background: var(--ink);
  color: #fff !important;
  border-color: var(--ink);
}
.btn--accent:hover { background: #333; border-color: #333; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--dark {
  display: block; width: 100%; text-align: center;
  background: var(--ink); color: #fff !important; border-color: var(--ink);
  padding: 12px 20px; margin-bottom: 10px;
}
.btn--dark:hover { background: #333; }

.btn--outline-dark {
  display: block; width: 100%; text-align: center;
  background: transparent; color: var(--ink); border-color: var(--ink-30);
  padding: 12px 20px;
}
.btn--outline-dark:hover { border-color: var(--ink); }

/* ─── Section labels ─── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-55); margin-bottom: 16px;
}
.section-head { margin-bottom: 48px; }
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--ink-55); max-width: 560px; }

/* ─── Hero ─── */
.hero { padding: 80px 0; }
.hero__inner {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start;
}
.hero__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-55); margin-bottom: 20px;
}
.hero__name {
  font-size: clamp(48px, 6vw, 80px); font-weight: 900;
  letter-spacing: -.035em; line-height: 1;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 18px; color: var(--ink-55); max-width: 480px; line-height: 1.65;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  background: var(--bg-dark); padding: 48px 40px;
  display: flex; flex-direction: column; gap: 40px;
}
.hero__stat-num {
  font-size: 40px; font-weight: 900; letter-spacing: -.03em;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.hero__stat-label {
  font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.50);
}

/* ─── About ─── */
.about { padding: 0; background: var(--bg-soft); overflow: hidden; }
.about__grid {
  display: grid; grid-template-columns: 380px 1fr; align-items: stretch;
}
.about__photo {
  background: var(--bg-soft);
}
.about__photo img {
  width: 100%; display: block;
}
.about__text { padding: 72px 64px; }
.about__text h2 {
  font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: 24px;
}
.about__text p { font-size: 16px; color: var(--ink-55); line-height: 1.7; margin-bottom: 16px; }
.about__creds { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.about__cred {
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding: 14px 0; border-top: 1px solid var(--ink-12);
}
.about__cred:last-child { border-bottom: 1px solid var(--ink-12); }

/* ─── Services ─── */
.services { padding: 96px 0; }
.service-list { display: flex; flex-direction: column; }
.service-item {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr 24px; gap: 24px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--ink-12);
  transition: background .15s, padding .15s, margin .15s;
}
.service-item:last-child { border-bottom: 1px solid var(--ink-12); }
.service-item__link {
  position: absolute; inset: 0; z-index: 1;
}
.service-item:hover {
  background: var(--bg-soft);
  margin: 0 -24px; padding-left: 24px; padding-right: 24px;
}
.service-item__num {
  font-size: 13px; font-weight: 700; color: var(--ink-30); letter-spacing: .06em;
}
.service-item__name {
  font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px;
}
.service-item__desc { font-size: 14px; color: var(--ink-55); line-height: 1.55; }
.service-item__arrow { font-size: 18px; color: var(--ink-30); transition: color .15s; }
.service-item:hover .service-item__arrow { color: var(--ink); }

/* ─── Contact ─── */
.contact { padding: 96px 0; background: var(--bg-soft); }
.contact__head { max-width: 480px; margin-bottom: 48px; }
.contact__head h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.contact__head p { font-size: 16px; color: var(--ink-55); }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.contact-card {
  background: var(--bg); padding: 32px 28px;
  transition: background .15s;
}
.contact-card:hover { background: var(--ink); }
.contact-card__label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-30); margin-bottom: 10px; transition: color .15s;
}
.contact-card__value {
  font-size: 18px; font-weight: 700; color: var(--ink); transition: color .15s;
}
.contact-card:hover .contact-card__label { color: rgba(255,255,255,.4); }
.contact-card:hover .contact-card__value { color: #fff; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--ink-12); padding: 28px 0;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer__logo { font-size: 14px; font-weight: 800; color: var(--ink); }
.footer__copy { font-size: 13px; color: var(--ink-30); }
.footer__links, .footer__social { display: flex; gap: 20px; }
.footer__links a, .footer__social a {
  font-size: 13px; color: var(--ink-30); transition: color .15s;
}
.footer__links a:hover, .footer__social a:hover { color: var(--ink); }

/* ─── Service pages ─── */
.service-hero {
  background: var(--bg-soft); padding: 72px 0 64px;
  border-bottom: 1px solid var(--ink-12);
}
.service-hero__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink-55);
  margin-bottom: 32px; transition: color .15s;
}
.service-hero__back::before { content: '←'; }
.service-hero__back:hover { color: var(--ink); }
.service-hero__badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1.5px solid var(--ink-12); padding: 5px 12px;
  color: var(--ink-55); margin-bottom: 20px;
}
.service-hero__title {
  font-size: clamp(36px, 5vw, 60px); font-weight: 900;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 20px;
}
.service-hero__sub {
  font-size: 18px; color: var(--ink-55); max-width: 560px; line-height: 1.65;
}

.service-content { padding: 80px 0; }
.service-content__grid { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.service-content__main h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 40px 0 14px;
}
.service-content__main h2:first-child { margin-top: 0; }
.service-content__main p { font-size: 16px; color: var(--ink-55); line-height: 1.7; margin-bottom: 16px; }

.service-deliverables {
  border: 1px solid var(--ink-12); padding: 28px 32px; margin: 32px 0;
}
.service-deliverables h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-30); margin-bottom: 16px;
}
.service-deliverables ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.service-deliverables li {
  font-size: 15px; color: var(--ink-55); padding: 12px 0;
  border-top: 1px solid var(--ink-12); display: flex; gap: 12px; align-items: baseline;
}
.service-deliverables li::before {
  content: '—'; color: var(--ink-30); flex-shrink: 0; font-size: 13px;
}
.service-deliverables li:first-child { border-top: none; }

.service-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.service-cta-box { background: var(--bg-dark); padding: 32px 28px; margin-bottom: 2px; }
.service-cta-box h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.service-cta-box p { color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }

.service-meta-box { background: var(--bg-soft); padding: 24px 28px; }
.service-meta-box h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-30); margin-bottom: 14px;
}
.service-meta-box ul { list-style: none; display: flex; flex-direction: column; }
.service-meta-box li { border-top: 1px solid var(--ink-12); }
.service-meta-box li:first-child { border-top: none; }
.service-meta-box a {
  display: block; padding: 10px 0; font-size: 14px; font-weight: 600;
  color: var(--ink-55); transition: color .15s;
}
.service-meta-box a:hover { color: var(--ink); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo img { min-height: 420px; }
  .about__text { padding: 48px 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 2px; }
  .service-content__grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

@media (max-width: 640px) {
  .nav__links { display: none; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--ink-12); padding: 12px 24px 20px; z-index: 99; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--ink-12); width: 100%; }
  .nav__links .btn { margin-top: 16px; width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .hero { padding: 48px 0; }
  .hero__name { font-size: 44px; }
  .about, .services, .contact { padding: 64px 0; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer__links, .footer__social { justify-content: center; }
  .section-title { font-size: 28px; }
}
