/* CHAIRMAN 523 — main.css */
/* Base glassmorphism and typography в critical-CSS (inline в <head>) */

.section { padding: 96px 0; }
@media (max-width: 1024px) { .section { padding: 72px 0; } }
@media (max-width: 768px)  { .section { padding: 56px 0; } }

.section-light { background: var(--bg-light); color: var(--ink-dark); }
.section-dark  { background: var(--bg-dark); color: var(--ink-light); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--ink-dark); }

/* ============ HEADER / MOBILE NAV ============ */
header.site .burger {
  background: none; border: 1px solid rgba(245,243,239,0.12);
  border-radius: 8px; width: 40px; height: 40px;
  font-size: 20px; color: var(--ink-light); cursor: pointer;
}
#mobile-nav {
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(11,11,13,0.96);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  z-index: 99; padding: 32px 0; overflow-y: auto;
}
#mobile-nav .container { display: flex; flex-direction: column; gap: 20px; font-size: 20px; }
#mobile-nav .btn { margin-top: 12px; justify-content: center; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #0B0B0D 0%, #151311 100%);
}
.hero-bg-pic {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.38; filter: blur(2px) saturate(0.9);
  transform: translateY(var(--parallax-y, 0));
  transition: transform .1s linear;
}
.hero-bg-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-text .overline {
  letter-spacing: 0.32em; font-size: 12px; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
}
.hero-text h1 {
  max-width: 14ch;
  background: linear-gradient(180deg, #F5F3EF 0%, #C8C2B3 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-text .lead {
  font-size: 18px; line-height: 1.55; margin: 20px 0 28px;
  color: rgba(245,243,239,0.80); max-width: 52ch;
}
.hero-cta {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 22px; max-width: 560px;
  flex-wrap: wrap;
}
.hero-cta .price {
  display: flex; flex-direction: column; line-height: 1;
  padding-right: 24px; border-right: 1px solid rgba(245,243,239,0.14);
}
@media (max-width: 480px) { .hero-cta .price { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(245,243,239,0.14); padding-bottom: 16px; width: 100%; } }
.hero-cta .price-value {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 54px); font-weight: 500;
  font-variant-numeric: tabular-nums; color: var(--ink-light);
  letter-spacing: -0.02em;
}
.hero-cta .price-label {
  font-size: 12px; color: rgba(245,243,239,0.55); margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-cta .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.brand-quote {
  margin-top: 36px; font-size: 14px; font-style: italic;
  color: rgba(245,243,239,0.5); max-width: 40ch;
}
.brand-quote span { font-style: normal; color: var(--accent); }

.hero-product picture img {
  width: 100%; max-width: 560px; margin-left: auto;
  /* Transparent PNG — мягкая «засветка под креслом» вместо прямоугольной тени */
  filter:
    drop-shadow(0 30px 40px rgba(0,0,0,0.55))
    drop-shadow(0 12px 18px rgba(0,0,0,0.35));
  object-fit: contain;
  animation: hero-float 9s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-product picture img { animation: none; }
}
@media (max-width: 960px) {
  .hero-product picture img { margin: 0 auto; max-width: 380px; }
}

.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(245,243,239,0.85); font-variant-numeric: tabular-nums;
}
.phone-icon { color: var(--accent); font-size: 14px; }
@media (max-width: 760px) { .phone-num { display: none; } }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 12px; color: rgba(11,11,13,0.7); font-size: 18px; }
.section-dark .section-head .lead { color: rgba(245,243,239,0.75); }

/* ============ MATERIALS ============ */
.materials-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1024px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .materials-grid { grid-template-columns: 1fr; } }
.material {
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .24s ease-out, box-shadow .24s ease-out;
}
.material:hover { transform: translateY(-4px); }
.material picture img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--r-sm); margin-bottom: 8px;
}
.material h3 { color: var(--ink-dark); }
.material p  { color: rgba(11,11,13,0.72); font-size: 15px; margin: 0; }

.micro-cta { margin-top: 36px; text-align: center; }
.micro-cta a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px dashed rgba(179,142,101,0.5);
  padding-bottom: 2px;
}
.micro-cta a:hover { border-bottom-style: solid; }
.section-dark .micro-cta a { color: var(--accent); }

/* ============ ENGINEERING ============ */
.eng-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .eng-grid { grid-template-columns: 1fr; } }
.eng-img picture img {
  width: 100%; border-radius: var(--r);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.eng-list-wrap h2 { max-width: 18ch; }
.eng-list-wrap .lead { margin: 16px 0 32px; color: rgba(245,243,239,0.75); }
.specs { margin: 0 0 32px; padding: 0; }
.specs > div {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid rgba(245,243,239,0.08);
}
.specs dt { font-weight: 500; color: var(--ink-light); font-size: 16px; margin: 0; }
.specs dd { margin: 0; color: rgba(245,243,239,0.8); font-size: 16px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .specs > div { grid-template-columns: 1fr; gap: 4px; } .specs dd { color: rgba(245,243,239,0.7); } }

/* ============ DAY ============ */
.section-day { background: linear-gradient(90deg, #120F0C 0%, #0B0B0D 50%, #0D0E10 100%); }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .day-grid { grid-template-columns: 1fr; } }
.day-card {
  padding: 32px 28px; display: flex; flex-direction: column; gap: 16px;
  min-height: 280px;
  transition: transform .24s ease-out;
}
.day-card:hover { transform: translateY(-4px); }
.day-icon { font-size: 32px; color: var(--accent); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(179,142,101,0.08); }
.day-card h3 { color: var(--ink-light); }
.day-card p  { color: rgba(245,243,239,0.76); margin: 0; }

/* ============ BRAND ============ */
.section-brand { background: var(--bg-light); }
.brand-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .brand-grid { grid-template-columns: 1fr; } }
.brand-text h2 { max-width: 15ch; }
.brand-text .lead { color: rgba(11,11,13,0.72); margin: 16px 0 32px; max-width: 54ch; }
.brand-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .brand-facts { grid-template-columns: 1fr; } }
.brand-fact { padding: 20px; }
.brand-fact h3 { font-size: 18px; margin-bottom: 6px; }
.brand-fact p { font-size: 14px; color: rgba(11,11,13,0.7); margin: 0; }
.brand-photo { position: relative; }
.brand-photo img {
  width: 100%; border-radius: var(--r);
  box-shadow: 0 40px 90px -40px rgba(20,18,16,0.35);
  aspect-ratio: 3/2; object-fit: cover;
}
.photo-caption {
  display: block; margin-top: 10px; font-size: 12px; color: rgba(26,24,22,0.55);
}

/* ============ DELIVERY ============ */
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .delivery-grid { grid-template-columns: 1fr; } }
.delivery-card { padding: 32px; min-height: 220px; display: flex; flex-direction: column; gap: 12px; }
.delivery-card .num {
  font-family: var(--font-display); font-size: 42px; font-weight: 500;
  color: rgba(245,243,239,0.28); line-height: 1;
}
.delivery-card h3 { color: var(--ink-light); }
.delivery-card p { color: rgba(245,243,239,0.76); margin: 0; }

/* ============ B2B ============ */
.section-b2b { background: var(--bg-light); }
.b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .b2b-grid { grid-template-columns: 1fr; } }
.b2b-text h2 { max-width: 20ch; }
.b2b-text .lead { color: rgba(11,11,13,0.72); margin: 16px 0 28px; }
.b2b-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.b2b-list li {
  padding-left: 24px; position: relative;
  font-size: 16px; color: rgba(11,11,13,0.82); line-height: 1.5;
}
.b2b-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 10px; height: 2px; background: var(--accent);
}
.b2b-list li strong { color: var(--ink-dark); display: inline-block; margin-right: 4px; }
.b2b-note { font-size: 13px; color: rgba(11,11,13,0.55); }

/* forms (shared) */
.b2b-form, .final-form { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.b2b-form h3, .final-form h2 { margin-bottom: 6px; }
.b2b-form label, .final-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: rgba(11,11,13,0.65);
  text-transform: none; letter-spacing: 0;
}
.section-final-cta label { color: rgba(245,243,239,0.75); }
.b2b-form input, .b2b-form textarea,
.final-form input, .final-form textarea {
  font-family: var(--font-sans); font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(11,11,13,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  color: var(--ink-dark);
  transition: border-color .2s, background .2s;
}
.section-final-cta .final-form input, .section-final-cta .final-form textarea {
  background: rgba(245,243,239,0.06); color: var(--ink-light); border-color: rgba(245,243,239,0.18);
}
.b2b-form input:focus, .b2b-form textarea:focus,
.final-form input:focus, .final-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(179,142,101,0.18);
  background: rgba(255,255,255,0.9);
}
.section-final-cta .final-form input:focus, .section-final-cta .final-form textarea:focus { background: rgba(245,243,239,0.1); }
.b2b-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .b2b-form .row { grid-template-columns: 1fr; } }
.b2b-form .checkbox, .final-form .checkbox {
  flex-direction: row; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(11,11,13,0.7); cursor: pointer;
}
.section-final-cta .final-form .checkbox { color: rgba(245,243,239,0.7); }
.b2b-form .checkbox a, .final-form .checkbox a { color: var(--accent); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; top: -9999px !important; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.form-msg { font-size: 14px; min-height: 18px; margin-top: 4px; }
.form-msg.ok { color: #4B7F5D; }
.form-msg.err { color: #C0473B; }

/* ============ PRICE TABLE ============ */
.section-price { background: #0B0B0D; }
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  color: rgba(245,243,239,0.85);
}
.price-table th, .price-table td {
  padding: 18px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(245,243,239,0.08);
}
.price-table thead th {
  font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink-light);
  border-bottom: 1px solid rgba(245,243,239,0.2);
}
.price-table thead th span {
  display: block; font-family: var(--font-sans); font-size: 13px;
  color: rgba(245,243,239,0.55); margin-top: 4px; font-variant-numeric: tabular-nums;
}
.price-table th[scope="row"], .price-table tbody th { color: var(--ink-light); font-weight: 500; white-space: nowrap; }
.price-table .highlight { background: rgba(179,142,101,0.06); }
.price-table thead .highlight { background: rgba(179,142,101,0.10); color: var(--accent); }
.price-table tbody .highlight { color: var(--ink-light); font-weight: 500; }
.price-table .caption, .caption {
  margin-top: 16px; font-size: 12px; color: rgba(245,243,239,0.5);
}
@media (max-width: 720px) {
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 12px 8px; }
}

/* ============ FAQ ============ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: 0; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; padding-right: 56px;
  font-size: 17px; font-weight: 500; color: var(--ink-dark);
  position: relative;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(20,18,16,0.03); }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 22px; color: var(--accent);
  transition: transform .24s ease-out;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  margin: 0; padding: 0 24px 24px;
  color: rgba(11,11,13,0.72); font-size: 15px; line-height: 1.55;
}

/* ============ FINAL CTA ============ */
.section-final-cta {
  position: relative; padding: 120px 0; min-height: 80vh;
  display: flex; align-items: center;
  background: #0B0B0D;
  overflow: hidden;
}
.final-bg { position: absolute; inset: 0; z-index: 0; }
.final-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; filter: blur(1px) saturate(0.85);
}
.section-final-cta::before {
  content:''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,13,0.8) 0%, rgba(11,11,13,0.78) 60%, rgba(11,11,13,0.92) 100%);
}
.section-final-cta .container { position: relative; z-index: 2; }
.final-form { max-width: 560px; margin: 0 auto; }
.final-form h2 { color: var(--ink-light); text-align: center; }
.final-form .lead { text-align: center; color: rgba(245,243,239,0.8); margin: 0 0 20px; }
.final-form label { color: rgba(245,243,239,0.7); }
.final-form .btn { margin-top: 8px; }
.guarantees { list-style: none; margin: 24px 0 0; padding: 0; font-size: 13px; color: rgba(245,243,239,0.6); }
.guarantees li { padding: 4px 0 4px 20px; position: relative; }
.guarantees li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 2px; background: var(--accent);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #08080A; color: rgba(245,243,239,0.6); padding: 64px 0 32px;
  border-top: 1px solid rgba(245,243,239,0.08); font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(245,243,239,0.85); margin: 0 0 14px;
}
.footer-col a, .footer-col p { display: block; margin: 0 0 8px; color: rgba(245,243,239,0.7); }
.footer-col a:hover { color: var(--accent); }
.footer-col .brand { color: var(--ink-light); margin-bottom: 12px; }
.footer-col .small { font-size: 12px; color: rgba(245,243,239,0.45); }

/* ============ REVEAL ============ */
[data-reveal], [data-reveal-stagger] > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
[data-reveal].reveal-in, [data-reveal-stagger].reveal-in > * { opacity: 1; transform: none; }
[data-reveal="delay"] { transition-delay: 0.14s; }
[data-reveal-stagger].reveal-in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].reveal-in > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-stagger].reveal-in > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger].reveal-in > *:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
  .hero-bg-pic { transform: none !important; }
  * { scroll-behavior: auto !important; }
}
