/* Лендинги группы «Экоала»: общий каркас для главной (/index.html) и трёх компаний (landings/page.php).
   Компании различаются цветом (--ac) и фото; всё остальное одинаково. Макет: «Макет-лендинги», 21.11.2026. */
:root {
  --bg: #F6F4EC; --panel: #FFFFFF; --tile: #EFECE0; --line: #E5E0D2;
  --ink: #221E19; --muted: #6B665C;
  --ac: #D94806; --ac-d: #B23A03; --ac-soft: #FCE8DA;
  --dark: #221E19; --on-dark: #F3F0DD; --on-dark-muted: #B9B3A2;
  --wrap: 1160px; --r: 24px;
}
body[data-co="altyn_tazalyk"] { --ac: #A8690A; --ac-d: #85520A; --ac-soft: #FAEED0; }
body[data-co="eco_service"]   { --ac: #0B7C93; --ac-d: #085F71; --ac-soft: #DBF0F4; }
body[data-co="group"]         { --ac: #221E19; --ac-d: #000000; --ac-soft: #EFECE0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Кнопки: одна залитая на экран */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border-radius: 14px; border: 1.5px solid transparent;
  font: 600 17px "Onest", sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-main { background: var(--ac); color: #fff; }
.btn-main:hover { background: var(--ac-d); }
.btn-line { background: transparent; border-color: #CFC9B8; color: var(--ink); }
.btn-line:hover { background: var(--tile); }
.btn-line.on-dark { border-color: rgba(243,240,221,.38); color: var(--on-dark); }
.btn-line.on-dark:hover { background: rgba(243,240,221,.1); }
.btn-s { height: 44px; padding: 0 18px; font-size: 15.5px; border-radius: 12px; }
.btn svg { display: block; flex-shrink: 0; }

/* Шапка */
.top { padding: 14px 0; }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 48px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand-co { padding-left: 12px; border-left: 1.5px solid var(--line); font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.menu { display: flex; gap: 22px; margin-left: 14px; font-size: 15.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.menu a:hover { color: var(--ink); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.top-tel { font-size: 17px; font-weight: 700; white-space: nowrap; }
.top-link { font-size: 15.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.top-link:hover { color: var(--ink); }

/* Первый экран */
.hero { padding: 36px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 16px;
  background: var(--ac-soft); color: var(--ac-d); font-size: 14.5px; font-weight: 600;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); display: block; }
.hero h1 { margin-top: 18px; font-size: 62px; line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--ac); display: block; }
.lead { margin-top: 20px; max-width: 520px; font-size: 19.5px; line-height: 1.45; color: var(--muted); }
.lead b { color: var(--ink); font-weight: 600; }
.hero-cta { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-tel { font-size: 15.5px; color: var(--muted); line-height: 1.3; }
.hero-tel a { display: block; font-size: 19px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.facts { margin-top: 38px; display: flex; gap: 0; }
.fact { padding: 0 26px; border-left: 1.5px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.fact > span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.hero-pic { position: relative; }
.hero-pic .ph { border-radius: 36px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--ac-soft); }
.hero-pic .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-pic .ph.wide { aspect-ratio: 16 / 10; }
.float {
  position: absolute; left: -22px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 13px 18px 13px 14px; border-radius: 18px; background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(34,30,25,.16); font-size: 15px; line-height: 1.25; font-weight: 600;
}
.float span { display: block; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.float .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--ac-soft); color: var(--ac-d); display: grid; place-items: center; flex-shrink: 0; }

/* Разделы */
.sec { padding: 68px 0; }
.sec-h { max-width: 720px; margin-bottom: 34px; }
.sec-h h2 { font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.sec-h p { margin-top: 12px; font-size: 18.5px; color: var(--muted); }
.card { background: var(--panel); border-radius: var(--r); padding: 26px; }
.ic-box { width: 48px; height: 48px; border-radius: 14px; background: var(--ac-soft); color: var(--ac-d); display: grid; place-items: center; }
.card h3 { margin-top: 18px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.card p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Кабинет клиента */
.cab { background: var(--dark); color: var(--on-dark); border-radius: 36px; padding: 52px 56px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; overflow: hidden; }
.cab h2 { font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.cab > div > p { margin-top: 14px; font-size: 18.5px; color: var(--on-dark-muted); max-width: 520px; }
.cab ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; }
.cab li { display: flex; gap: 13px; align-items: flex-start; font-size: 17px; line-height: 1.35; }
.cab li svg { flex-shrink: 0; margin-top: 2px; color: #E9B04B; }
.cab li span { display: block; font-size: 15px; color: var(--on-dark-muted); }
.phone { width: 300px; margin-bottom: -110px; border-radius: 38px 38px 0 0; padding: 12px 12px 0; background: #3A342C; box-shadow: 0 0 0 1.5px rgba(243,240,221,.14); }
.phone-in { background: var(--bg); color: var(--ink); border-radius: 28px 28px 0 0; padding: 20px 14px 26px; min-height: 420px; }
.phone-t { font-size: 13px; color: var(--muted); }
.phone-h { margin: 2px 0 14px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.prow { background: #fff; border-radius: 16px; padding: 12px 13px; margin-bottom: 9px; display: flex; gap: 11px; align-items: center; }
.prow .pi { width: 36px; height: 36px; border-radius: 11px; background: var(--ac-soft); color: var(--ac-d); display: grid; place-items: center; flex-shrink: 0; }
.prow > div:nth-child(2) { flex: 1; min-width: 0; }
.prow b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.prow span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow em { margin-left: auto; flex-shrink: 0; font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 8px; background: var(--tile); white-space: nowrap; }
.prow em.go { background: var(--ac); color: #fff; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--r); background: var(--panel); counter-increment: st; }
.step::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 18px; font-weight: 700; }
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.step p { margin-top: 7px; font-size: 15.5px; color: var(--muted); }

/* Техника */
.fleet { background: var(--panel); border-radius: 36px; padding: 40px 44px 34px; }
.fleet-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.fleet-top h2 { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.fleet-top p { margin-top: 8px; font-size: 17px; color: var(--muted); max-width: 560px; }
.fleet-n { font-size: 68px; font-weight: 800; letter-spacing: -.04em; line-height: .9; color: var(--ac); white-space: nowrap; }
.fleet-n small { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); text-align: right; }
.fleet-row { margin-top: 30px; display: flex; align-items: flex-end; gap: 26px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.fleet-row::-webkit-scrollbar { display: none; }
.fleet-row img { height: 104px; width: auto; flex-shrink: 0; }
.fleet-road { height: 3px; border-radius: 2px; background: var(--tile); }
.fleet-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* Заявка и контакты */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
.ask h2 { font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.ask-lead { margin-top: 12px; font-size: 18.5px; color: var(--muted); max-width: 480px; }
.contacts { margin-top: 30px; display: grid; gap: 4px; }
.crow { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-top: 1.5px solid var(--line); }
.crow:first-child { border-top: 0; }
.crow .ci { width: 46px; height: 46px; border-radius: 14px; background: var(--panel); color: var(--ink); display: grid; place-items: center; }
.crow b { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; }
.crow span { display: block; font-size: 14.5px; color: var(--muted); }
.form { background: var(--panel); border-radius: 30px; padding: 30px; box-shadow: 0 16px 50px rgba(34,30,25,.07); }
.form h3 { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.form > p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.fld { margin-top: 16px; }
.fld label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; }
.fld label i { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: 400 17px "Onest", sans-serif; color: var(--ink); outline: none;
}
.fld textarea { height: 92px; padding: 13px 16px; resize: vertical; line-height: 1.4; }
.fld input:focus, .fld textarea:focus { border-color: var(--ac); background: #fff; }
.form .btn { width: 100%; margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15.5px; line-height: 1.4; }
.form-msg b { display: block; font-size: 17px; }
.st-sent .form-msg.ok { display: block; background: #E3F3E6; color: #17552A; }
.st-error .form-msg.err { display: block; background: #FBE6E2; color: #8A1E12; }
.st-sent .form .fld, .st-sent .form .btn, .st-sent .form-note { display: none; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
/* ловушка для ботов: поле website людям не видно */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Подвал */
.foot { margin-top: 28px; background: var(--dark); color: var(--on-dark-muted); padding: 44px 0 34px; font-size: 15.5px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot img { height: 44px; width: auto; }
.foot p { margin-top: 14px; max-width: 320px; line-height: 1.45; }
.foot h4 { margin: 4px 0 12px; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.foot a { display: block; padding: 5px 0; color: var(--on-dark-muted); }
.foot a:hover { color: var(--on-dark); }
.foot a.cur { color: var(--on-dark); font-weight: 600; }
.foot-b { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(243,240,221,.14); font-size: 14px; }

/* Нижняя кнопка на телефоне */
.bar { display: none; }

/* ── Главная группы ── */
.cos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.co {
  --c: #D94806; --cs: #FCE8DA;
  display: flex; flex-direction: column; background: var(--panel); border-radius: 30px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.co:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(34,30,25,.12); }
.co.at { --c: #A8690A; --cs: #FAEED0; }
.co.es { --c: #0B7C93; --cs: #DBF0F4; }
.co-pic { background: var(--cs); padding: 26px 22px 0; height: 168px; display: flex; align-items: flex-end; justify-content: center; }
.co-pic img { height: 118px; width: auto; }
.co-b { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.co-city { font-size: 14.5px; font-weight: 600; color: var(--c); }
.co h3 { margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.co-f { margin: 16px 0 20px; display: flex; gap: 22px; }
.co-f div b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.co-f div > span { font-size: 13.5px; color: var(--muted); }
.co-go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 18px; border-radius: 14px; background: var(--cs); color: var(--c); font-size: 16.5px; font-weight: 600; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: 30px; background: var(--panel); }
.door.dk { background: var(--dark); color: var(--on-dark); }
.door .ic-box { flex-shrink: 0; width: 56px; height: 56px; border-radius: 17px; }
.door.dk .ic-box { background: rgba(243,240,221,.12); color: var(--on-dark); }
.door h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.door p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.door.dk p { color: var(--on-dark-muted); }
.door .btn { margin-left: auto; flex-shrink: 0; }

/* ── Планшет ── */
@media (max-width: 1020px) {
  .menu { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero h1 { font-size: 50px; }
  .hero-pic .ph { aspect-ratio: 16 / 10; }
  .float { left: 16px; bottom: 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab { grid-template-columns: minmax(0, 1fr); padding: 40px 36px 0; gap: 36px; }
  .phone { margin: 0 auto; }
  .ask { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cos { grid-template-columns: minmax(0, 1fr); }
  .doors { grid-template-columns: minmax(0, 1fr); }
}

/* ── Телефон ── */
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 84px; }
  body[data-co="group"] { padding-bottom: 0; }
  body[data-co="group"] .top-r .btn-main { display: inline-flex; }
  .wrap { padding: 0 16px; }
  .top { padding: 10px 0; }
  .top .wrap { gap: 10px; }
  .brand img { height: 32px; }
  .brand-co { font-size: 15px; padding-left: 10px; }
  .top-tel, .top-r .btn-main, .top-link, .top-r .lg { display: none; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand-co { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .top-r .btn-s { height: 40px; padding: 0 14px; font-size: 14.5px; }
  .hero { padding: 14px 0 20px; }
  .hero .wrap { gap: 22px; }
  .eyebrow { height: 28px; font-size: 13px; padding: 0 11px; }
  .hero h1 { margin-top: 14px; font-size: 37px; line-height: 1.04; }
  .lead { margin-top: 14px; font-size: 17px; }
  .hero-cta { margin-top: 22px; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .hero-tel { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .hero-tel a { font-size: 18px; }
  .facts { margin-top: 26px; }
  .fact { padding: 0 14px; flex: 1; }
  .fact b { font-size: 26px; }
  .fact > span { font-size: 13px; line-height: 1.25; }
  .cab, .ask { grid-template-columns: minmax(0, 1fr); }
  .hero-pic .ph { border-radius: 26px; aspect-ratio: 4 / 3; }
  .float { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 16px; font-size: 14px; }
  .float span { font-size: 12.5px; }
  .sec { padding: 40px 0; }
  .sec-h { margin-bottom: 22px; }
  .sec-h h2, .cab h2, .ask h2 { font-size: 28px; }
  .sec-h p, .cab > div > p, .ask-lead { font-size: 16.5px; margin-top: 8px; }
  .grid3, .grid2, .steps { grid-template-columns: 1fr; gap: 10px; }
  .card { padding: 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .card .ic-box { width: 44px; height: 44px; border-radius: 13px; grid-row: span 2; }
  .card h3 { margin-top: 1px; font-size: 18px; }
  .card p { margin-top: 4px; font-size: 15px; }
  .step { padding: 18px 18px 18px 70px; }
  .step::before { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; font-size: 17px; }
  .step h3 { margin-top: 0; font-size: 17.5px; }
  .step p { font-size: 15px; margin-top: 4px; }
  .cab { border-radius: 26px; padding: 28px 20px 0; gap: 26px; }
  .cab ul { margin: 20px 0 22px; gap: 12px; }
  .cab li { font-size: 16px; }
  .cab .btn { width: 100%; }
  .phone { width: 100%; max-width: 300px; margin-bottom: 0; }
  .phone-in { min-height: 0; padding-bottom: 18px; }
  .fleet { border-radius: 26px; padding: 24px 20px 20px; }
  .fleet-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fleet-top h2 { font-size: 26px; }
  .fleet-top p { font-size: 15.5px; }
  .fleet-n { font-size: 48px; display: flex; align-items: baseline; gap: 10px; }
  .fleet-n small { margin: 0; text-align: left; }
  .fleet-row { margin-top: 20px; gap: 18px; margin-right: -20px; padding-right: 20px; }
  .fleet-row img { height: 66px; }
  .contacts { margin-top: 18px; }
  .crow b { font-size: 17.5px; }
  .form { border-radius: 24px; padding: 20px; }
  .form h3 { font-size: 20px; }
  .foot { padding: 30px 0 24px; margin-top: 12px; }
  .foot .wrap { grid-template-columns: 1fr; gap: 22px; }
  .foot-b { padding-top: 18px; }
  .bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px 14px; background: rgba(246,244,236,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); transition: transform .25s;
  }
  .bar .btn-main { flex: 1; height: 54px; }
  .bar .btn-line { width: 54px; height: 54px; padding: 0; background: var(--panel); }
  .bar.off { transform: translateY(110%); }
  .co-pic { height: 130px; padding-top: 18px; }
  .co-pic img { height: 96px; }
  .co-b { padding: 18px 18px 20px; }
  .co h3 { font-size: 23px; }
  .co-f { margin: 12px 0 16px; }
  .door { flex-wrap: wrap; padding: 20px; border-radius: 24px; gap: 14px; }
  .door > div:nth-child(2) { flex: 1; min-width: 0; }
  .door .btn { width: 100%; margin: 0; }
}
