/* about.css — уникальные блоки страницы «О компании» */

/* ---------- BREADCRUMBS ---------- */

/* ---------- ABOUT HERO ---------- */
.about-hero { padding: 22px 0 8px; }
.about-hero-card { position: relative; overflow: hidden; border-radius: 26px; background: var(--graphite); color: #fff; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; }
.ahc-text { padding: 54px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.ahc-text .eyebrow { color: var(--brand); margin-bottom: 14px; }
.about-hero-card .ahc-text h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; margin-bottom: 18px; color: #fff; }   /* color: иначе h1 родителя merchant перебивает на тёмный #111 (тёмный на тёмном) */
.ahc-text h1 em { font-style: normal; color: var(--brand); }
.ahc-text p { color: #b9bdc6; font-size: 17px; line-height: 1.6; max-width: 520px; margin-bottom: 28px; }
.ahc-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ahc-img { position: relative; background: linear-gradient(135deg, #2a2e36, #15171c); overflow: hidden; }
.ahc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; border-radius: 10px; }
.ahc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--graphite), transparent 38%); }

/* ---------- STATS ---------- */
.stats { padding: 30px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; }
.stat b { display: block; font-size: 42px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-ink); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; line-height: 1.35; }

/* ---------- STORY ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.story-text p { color: var(--ink-2); font-size: 16px; line-height: 1.72; margin-bottom: 18px; }
.story-text p strong { color: var(--ink); font-weight: 700; }
.story-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); box-shadow: var(--shadow-md); }
.story-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.story-media .ov { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); }
.story-media .ov .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.story-media .ov .ic svg { width: 22px; height: 22px; }
.story-media .ov b { display: block; font-size: 15px; }
.story-media .ov span { font-size: 13px; color: var(--ink-2); }

/* ---------- ADVANTAGES ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: .2s var(--ease); }
.adv:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.adv .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.adv .ic svg { width: 26px; height: 26px; }
.adv h3 { font-size: 18px; margin-bottom: 9px; }
.adv p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ---------- WAREHOUSE ---------- */
.warehouse { background: var(--surface); border-radius: 26px; padding: 46px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.wh-text .eyebrow { margin-bottom: 12px; }
.wh-text h2 { margin-bottom: 16px; }
.wh-text p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.wh-list { display: grid; gap: 13px; margin-top: 22px; }
.wh-list .li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); font-weight: 600; }
.wh-list .li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.wh-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; min-height: 360px; }
.wh-media .ph { border-radius: 16px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; border: 1px solid var(--line); }
.wh-media .ph img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 10px; }
.wh-media .ph.tall { grid-row: span 2; }

/* ---------- REQUISITES ---------- */
.info-cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px; }
.req-card h3 { font-size: 20px; margin-bottom: 22px; display: flex; align-items: center; gap: 11px; }
.req-card h3 svg { width: 22px; height: 22px; color: var(--brand-ink); }
.req-list { display: flex; flex-direction: column; }
.req-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.req-row:last-child { border-bottom: none; }
.req-row .k { color: var(--ink-2); }
.req-row .v { font-weight: 700; text-align: right; }

/* ---------- PRICE FORM ---------- */
.price-card { background: linear-gradient(135deg, var(--graphite), #23272f); color: #fff; border-radius: var(--radius); padding: 34px 36px; display: flex; flex-direction: column; }
.price-card .eyebrow { color: var(--brand); margin-bottom: 12px; }
.price-card h3 { font-size: 24px; margin-bottom: 10px; color: #fff; }   /* color: иначе h3 родителя merchant → тёмный на тёмном */
.price-card p { color: #b9bdc6; font-size: 15px; line-height: 1.55; margin-bottom: 24px; max-width: 420px; }
.price-form { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: #9aa0aa; font-weight: 600; }
.field input { height: 52px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; padding: 0 16px; font-size: 15px; outline: none; transition: .15s; }
.field input::placeholder { color: #7d828c; }
.field input:focus { border-color: var(--brand); background: rgba(255,255,255,.1); }
.price-form .btn { margin-top: 6px; height: 54px; }
.price-note { font-size: 12.5px; color: #7d828c; margin-top: 14px; line-height: 1.5; }
.price-form.done .field,
.price-form.done .btn { display: none; }
.form-ok { display: none; align-items: center; gap: 14px; background: rgba(31,138,69,.16); border: 1px solid rgba(31,138,69,.4); border-radius: 14px; padding: 20px; margin-top: 6px; }
.form-ok.show { display: flex; }
.form-ok .tk { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.form-ok .tk svg { width: 22px; height: 22px; color: #fff; }
.form-ok b { display: block; font-size: 16px; color: #fff; }
.form-ok span { font-size: 13.5px; color: #b9bdc6; }

/* ---------- CTA ---------- */

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .about-hero-card { grid-template-columns: 1fr; }
  .ahc-img { min-height: 240px; order: -1; }
  .ahc-img::after { background: linear-gradient(0deg, var(--graphite), transparent 60%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 30px; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .warehouse { grid-template-columns: 1fr; gap: 30px; }
  .info-cols { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  .ahc-text,
  .warehouse { padding: 32px 24px; }
  .stats-grid,
  .adv-grid { grid-template-columns: 1fr; }
  .wh-media { grid-template-columns: 1fr 1fr; min-height: 260px; }
  .req-card,
  .price-card { padding: 26px 22px; }
  .cta { padding: 32px 24px; }
}
