/* Лендинг и страницы темы «Проверка договора аренды». Сначала телефон, от 900 px две колонки. */
:root { --accent: #1f5f8b; --accent-dark: #174a6c; --bg: #f4f7fa; --card: #ffffff; --line: #d9e2ea; --risk: #b3261e; --ok: #2e7d4f; }
body.oniq { background: var(--bg); }
.cc, .o-top, .o-foot { max-width: 1040px; }
.cc-hero { display: grid; gap: 24px; padding-top: 4px; }
.cc-hero h1 { font-size: clamp(28px, 7.4vw, 46px); line-height: 1.1; }
.cc-hero .o-btn { margin-top: 4px; }

.cc-doc { display: grid; gap: 12px; align-content: center; }
.cc-doc__sheet { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 14px; box-shadow: 0 14px 34px rgba(20, 50, 80, 0.14); font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55; }
.cc-doc__sheet p { margin: 0 0 8px; }
.cc-doc__h { font-weight: 700; font-family: inherit; }
.cc-doc mark { background: #ffe1a8; padding: 1px 2px; border-radius: 3px; box-shadow: 0 0 0 2px #ffe1a8; }
.cc-flag { background: #fff6f4; border: 1.5px solid #f0b8b2; border-radius: 14px; padding: 14px 16px; margin-left: 18px; position: relative; }
.cc-flag::before { content: ""; position: absolute; left: 22px; top: -9px; width: 16px; height: 16px; background: #fff6f4; border-left: 1.5px solid #f0b8b2; border-top: 1.5px solid #f0b8b2; transform: rotate(45deg); }
.cc-flag__tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--risk); border-radius: 99px; padding: 3px 10px; margin-bottom: 6px; }
.cc-flag b { display: block; font-size: 18px; }
.cc-flag p { margin: 4px 0 0; font-size: 14px; }
.cc-flag__fix { color: var(--ok); font-weight: 700; }

.cc-pain__lead { color: var(--muted); font-size: 17px; margin: 0 0 14px; }
.cc-cards { display: grid; gap: 12px; }
.cc-cards article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.cc-cards b { display: block; font-size: 30px; line-height: 1.1; color: var(--risk); margin-bottom: 6px; letter-spacing: -0.02em; }
.cc-cards p { margin: 0; }

.cc-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.cc-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; min-height: 56px; }
.cc-steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }

.gal { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 12px; margin: 0 -20px; padding-inline: 20px; scrollbar-width: thin; }
.gal__item { flex: 0 0 min(80vw, 330px); margin: 0; scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(20, 50, 80, 0.12); }
.gal__item img { display: block; width: 100%; height: auto; }
.gal__item figcaption { padding: 10px 12px; font-size: 14px; font-weight: 700; }

.cc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cc-list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cc-list b { color: var(--accent); }

.cc-trust { display: grid; gap: 14px; }
.cc-trust > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.cc-trust h2 { margin-top: 0; font-size: 19px; }
.cc-trust p { margin: 0; }
.cc-final { text-align: center; padding: 26px 18px; border-radius: 20px; background: var(--accent); color: #fff; }
.cc-final h2, .cc-final p { color: #fff; }
.cc-final .o-btn { background: #fff; color: var(--accent); border-color: #fff; }

.o-prices .price-tier--full { border-width: 2px; }
.o-form-wrap .o-form { box-shadow: 0 10px 30px rgba(20, 50, 80, 0.08); }
.o-btn--main { background: var(--accent); border-color: var(--accent); }
.o-btn--main:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.o-btn:not(.o-btn--main):not(.o-btn--ghost) { color: var(--accent); border-color: var(--accent); }
.o-eyebrow { color: var(--accent); }

@media (min-width: 900px) {
  .cc-hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 44px; padding-top: 24px; }
  .gal { margin: 0; padding-inline: 2px; }
  .gal__item { flex-basis: 300px; }
  .cc-cards { grid-template-columns: repeat(3, 1fr); }
  .cc-steps { grid-template-columns: repeat(3, 1fr); }
  .cc-steps li { padding: 62px 16px 16px; }
  .cc-steps li::before { left: 16px; top: 16px; transform: none; }
  .cc-list { grid-template-columns: 1fr 1fr; }
  .cc-trust { grid-template-columns: 1fr 1fr; }
}
