/* ALTAFORMA — витрина. Без сборщиков и CDN: один файл, системные шрифты. */

:root {
  --brand: #e7501e;
  --brand-dark: #c33f13;
  --brand-soft: #fdefe9;
  --ink: #17130f;
  --ink-2: #3d372f;
  --muted: #6f675b;
  --line: #e6dfd5;
  --bg: #fbf9f6;
  --surface: #ffffff;
  --shadow: 0 1px 2px rgba(23, 19, 15, .05), 0 12px 32px -12px rgba(23, 19, 15, .14);
  --radius: 14px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.stack > * + * { margin-top: 16px; }

/* --- шапка --- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); }
.nav a.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.header__cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 550; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink-2); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn--lg { padding: 14px 26px; font-size: 16px; }

/* --- герой --- */
.hero { padding: 84px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 100px;
}
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); margin: 20px 0 0; }
.hero__lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.fact strong { display: block; font-size: 30px; letter-spacing: -.03em; }
.fact span { font-size: 14px; color: var(--muted); }

.hero__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow);
}
.hero__card img { height: 74px; width: auto; margin: 0 auto 24px; }
.hero__card img.hero__product {
  height: auto; width: 100%; margin: 0 0 22px;
  border-radius: 10px; background: #fff;
}
.hero__card p { color: var(--muted); font-size: 15px; text-align: center; }
.marks { display: grid; gap: 10px; margin-top: 24px; }
.marks a, .marks span {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-weight: 550;
}
.marks a:hover { border-color: var(--brand); color: var(--brand); }
.marks .soon { color: var(--muted); font-weight: 400; font-size: 13px; }

/* --- секции --- */
.section { padding: 76px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section__head p { color: var(--muted); margin-top: 14px; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
a.card:hover { border-color: #d6cdbf; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media {
  aspect-ratio: 4 / 5; background: linear-gradient(135deg, #f3efe8, #e9e2d7);
  display: flex; align-items: center; justify-content: center;
  color: #b3a795; font-size: 13px; letter-spacing: .04em;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 20px; }
.card__count { font-size: 13px; color: var(--muted); }
.card__body p { color: var(--muted); font-size: 15px; }
.card__more { margin-top: auto; padding-top: 12px; color: var(--brand); font-size: 15px; font-weight: 550; }

.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 650; font-size: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 28px; color: var(--ink-2); }
.bullets li::before {
  content: ""; position: absolute; left: 6px; top: 10px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--brand);
}

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px 22px;
}
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; font-size: 16px; }

.cta {
  background: var(--ink); color: #fff; border-radius: 20px;
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta p { color: rgba(255, 255, 255, .68); margin-top: 12px; max-width: 46ch; }
.cta .btn--ghost { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.cta .btn--ghost:hover { border-color: #fff; }

/* --- подвал --- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 76px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: var(--brand); }
.footer img { height: 24px; margin-bottom: 16px; }
.footer__note { color: var(--muted); font-size: 14px; max-width: 34ch; }
.footer__bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}

.breadcrumbs { font-size: 14px; color: var(--muted); padding-top: 32px; }
.breadcrumbs a:hover { color: var(--brand); }

.page-head { padding: 40px 0 48px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 46px); }
.page-head p { color: var(--muted); margin-top: 16px; max-width: 60ch; font-size: 18px; }

.prose p + p { margin-top: 16px; }
.prose { color: var(--ink-2); }

.contact-list { display: grid; gap: 20px; }
.contact-list div { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-list span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.contact-list strong { font-size: 19px; font-weight: 600; }

.notice {
  border: 1px dashed #d9cfbe; background: #fffaf2; color: #8a6a3a;
  border-radius: var(--radius); padding: 16px 18px; font-size: 15px;
}

/* --- адаптив --- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__facts { gap: 24px; }
}
