/* ============================================================
   ООО «Гармония Трендов» — styles.css
   Дизайн-система: Inter (текст) + Manrope (заголовки/цифры/лого)
   ============================================================ */

:root {
  --bg: oklch(98% 0.004 255);
  --text: oklch(24% 0.015 255);
  --text-muted: oklch(45% 0.01 255);
  --text-muted-dark: oklch(30% 0.01 255);
  --label: oklch(50% 0.01 255);
  --navy: oklch(20% 0.02 255);
  --navy-card: oklch(26% 0.02 255);
  --navy-divider: oklch(35% 0.02 255);
  --navy-text-muted: oklch(76% 0.01 255);
  --nav-inactive: oklch(70% 0.01 255);
  --nav-active-bg: oklch(30% 0.03 45);
  --accent: oklch(60% 0.14 45);
  --accent-hover: oklch(54% 0.14 45);
  --accent-bg-light: oklch(94% 0.03 45);
  --accent-badge-bg: oklch(96% 0.03 45);
  --border: oklch(88% 0.005 255);
  --link: #c1560f;
  --link-hover: #a3480c;
  --white: #fff;

  --maxw: 1200px;
  --maxw-narrow: 900px;
  --radius-sm: 7px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 33, .04);
  --shadow: 0 6px 24px rgba(20, 24, 33, .07);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .font-head, .logo-mark, .stat-num, .step-num {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 .75rem;
}
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.lead { font-size: 1.15rem; color: var(--text-muted-dark); }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .05s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { background: transparent; color: #fff; border-color: var(--navy-divider); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-divider);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.logo-mark {
  height: 42px; width: auto; display: block; flex-shrink: 0;
}
.brand-name {
  color: #fff; font-family: "Manrope", sans-serif; font-weight: 700;
  font-size: .98rem; line-height: 1.1;
}
.brand-name span { display: block; color: var(--navy-text-muted); font-weight: 500; font-size: .82rem; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  color: var(--nav-inactive); font-size: .93rem; font-weight: 500;
  padding: .5rem .85rem; border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.active { background: var(--nav-active-bg); color: #fff; }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: .4rem; color: #fff;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .brand-name span { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-divider);
    padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; border-radius: var(--radius-sm); }
}

/* ---------- Hero banner (full-width image) ---------- */
.hero-banner { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% center; z-index: -2;
}
.hero-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,
    rgba(18,23,33,.95) 0%, rgba(18,23,33,.86) 34%,
    rgba(18,23,33,.55) 60%, rgba(18,23,33,.15) 82%, rgba(18,23,33,0) 100%);
}
.hero-content { position: relative; padding: 104px 24px 96px; }
.hero-content .eyebrow-light { color: var(--accent); }
.hero-content h1 {
  color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08;
  margin: 0 0 1.1rem; max-width: 19ch;
}
.hero-content .lead { color: rgba(255,255,255,.9); max-width: 46ch; }
.hero-content .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
@media (max-width: 760px) {
  .hero-content { padding: 72px 24px 64px; }
  .hero-banner::after {
    background: linear-gradient(180deg, rgba(18,23,33,.72) 0%, rgba(18,23,33,.88) 60%, rgba(18,23,33,.95) 100%);
  }
  .hero-bg { object-position: 68% center; }
}

/* ---------- Hero (legacy two-column, kept for reuse) ---------- */
.hero { padding: 84px 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); line-height: 1.08; margin: 0 0 1.1rem; }
.hero .lead { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-art {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 32px;
}
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 44px; }
}

/* ---------- Stats strip (dark) ---------- */
.stats {
  background: var(--navy); color: #fff;
  padding: 52px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { text-align: left; }
.stat-num {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: .5rem;
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-label { color: var(--navy-text-muted); font-size: .9rem; line-height: 1.4; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.12rem; margin: .2rem 0 .5rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .96rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--accent-bg-light); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

.section-head { max-width: 620px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .5rem; }
.section-head p { color: var(--text-muted); margin: 0; }

/* ---------- Ozon expert badge ---------- */
.expert {
  display: flex; gap: 18px; align-items: center;
  background: var(--accent-badge-bg); border: 1px solid var(--accent-bg-light);
  border-radius: var(--radius); padding: 24px 28px;
}
.expert-check {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.expert-check svg { width: 24px; height: 24px; }
.expert h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.expert p { margin: 0; color: var(--text-muted-dark); font-size: .95rem; }

/* ---------- Dark partnership section ---------- */
.dark-section { background: var(--navy); color: #fff; }
.dark-section .eyebrow { color: var(--accent); }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dark-grid h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0 0 1rem; color: #fff; }
.dark-grid > div > p { color: var(--navy-text-muted); }
.dark-cards { display: grid; gap: 18px; }
.dark-card {
  background: var(--navy-card); border: 1px solid var(--navy-divider);
  border-radius: var(--radius); padding: 24px;
}
.dark-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; color: #fff; }
.dark-card p { margin: 0; color: var(--navy-text-muted); font-size: .94rem; }
@media (max-width: 820px) { .dark-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Article / inner pages ---------- */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .5rem; line-height: 1.1; }
.prose { font-size: 1.03rem; color: var(--text-muted-dark); }
.prose p { margin: 0 0 1.15rem; }
.prose p:first-of-type { font-size: 1.12rem; color: var(--text); }

/* ---------- Requisites card ---------- */
.reqs {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm);
}
.reqs h2 { font-size: 1.2rem; margin: 0 0 18px; }
.reqs dl { margin: 0; display: grid; grid-template-columns: 210px 1fr; gap: 10px 24px; }
.reqs dt { color: var(--label); font-size: .9rem; }
.reqs dd { margin: 0; color: var(--text); font-size: .96rem; }
@media (max-width: 620px) {
  .reqs dl { grid-template-columns: 1fr; gap: 2px; }
  .reqs dd { margin-bottom: 12px; }
}

/* ---------- Stepper ---------- */
.steps { position: relative; margin: 8px 0 0; padding: 0; list-style: none; }
.step { position: relative; padding: 0 0 34px 66px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center; z-index: 1;
}
.step::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 6px;
  width: 2px; background: var(--border);
}
.step:last-child::before { display: none; }
.step h3 { margin: .35rem 0 .35rem; font-size: 1.12rem; }
.step p { margin: 0; color: var(--text-muted); }

/* ---------- Callout ---------- */
.callout {
  background: var(--accent-bg-light); border: 1px solid var(--accent-badge-bg);
  border-radius: var(--radius); padding: 30px 32px;
}
.callout h2 { font-size: 1.35rem; margin: 0 0 .8rem; }
.callout p { color: var(--text-muted-dark); margin: 0 0 .9rem; }
.callout p:last-child { margin-bottom: 0; }
/* Нейтральный «деловой» вариант callout (без персиковой заливки) */
.callout.callout-alt {
  background: oklch(97% 0.006 255);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.callout.callout-alt .tag-accent {
  background: var(--white); color: var(--accent); border-color: var(--accent);
}

/* ---------- Team ---------- */
.profile { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start; }
.profile + .profile { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.6rem;
}
.avatar-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  object-position: center 18%;
  background: var(--accent-bg-light);
}
.profile-role { color: var(--accent); font-weight: 600; margin: 2px 0 12px; }
.profile h2 { font-size: 1.35rem; margin: 0; }
.profile .prose { font-size: 1rem; }
@media (max-width: 560px) {
  .profile { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-links { display: grid; gap: 14px; margin: 0 0 8px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.contact-link:hover { text-decoration: none; border-color: var(--accent); }
.contact-link .ci {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-bg-light); color: var(--accent);
  display: grid; place-items: center;
}
.contact-link .ci svg { width: 22px; height: 22px; }
.contact-link b { display: block; color: var(--text); font-weight: 600; }
.contact-link span { color: var(--text-muted); font-size: .9rem; }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--label); font-weight: 500; }
.form input, .form textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .75rem .9rem; background: var(--white); width: 100%;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg-light);
}
.form textarea { resize: vertical; min-height: 130px; }
.btn-block { width: 100%; justify-content: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-format { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.form-format legend { font-size: .9rem; color: var(--label); font-weight: 500; padding: 0; margin-bottom: 4px; }
.form label.radio { display: flex; align-items: center; gap: 10px; font-size: .98rem; color: var(--text); font-weight: 400; cursor: pointer; }
.form .radio input[type="radio"] {
  width: 18px; height: 18px; padding: 0; margin: 0;
  accent-color: var(--accent); box-shadow: none; flex-shrink: 0;
}
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { margin: 2px 0 0; font-size: .92rem; min-height: 1px; }
.form-status.ok { color: oklch(52% 0.13 150); font-weight: 500; }
.form-status.err { color: oklch(55% 0.19 25); font-weight: 500; }

/* ---------- CTA: обсудим сотрудничество ---------- */
.cta-section { background: oklch(96.5% 0.004 255); border-top: 1px solid var(--border); }
.cta-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start; }
.cta-intro h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0 0 1rem; }
.cta-intro > p { color: var(--text-muted); }
.cta-direct { margin-top: 1.3rem; color: var(--text); }
.cta-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
@media (max-width: 820px) {
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-form-wrap { padding: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-text-muted); padding: 52px 0 40px; }
.footer-top { display: flex; align-items: center; gap: .7rem; margin-bottom: 20px; }
.footer-top .logo-mark { height: 32px; }
.footer-top b { color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; }
.site-footer p { margin: 0 0 10px; font-size: .9rem; line-height: 1.6; max-width: 70ch; }
.site-footer a { color: #fff; }
.footer-meta { color: var(--nav-inactive); font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 6px 0 18px; }
.footer-divider { border: 0; border-top: 1px solid var(--navy-divider); margin: 22px 0; }

/* ---------- Tag row (markets / regions) ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  font-size: .88rem; font-weight: 500; color: var(--text-muted-dark);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: .4rem .95rem;
}
.tag-accent {
  color: var(--accent); border-color: var(--accent-bg-light);
  background: var(--accent-badge-bg); font-weight: 600;
}
