@charset "UTF-8";
/* ==========================================================================
   あさひ野工務店 ／ デジリスタ 制作デモ
   ※ cafe（kinoma）とは別設計。見出しは太ゴシック、角丸は最小、直線基調。
   1. トークン  2. ベース  3. レイアウト  4. パーツ  5. ヘッダー/フッター
   6. ページ個別  7. 動き  8. レスポンシブ
   ========================================================================== */

/* ---------- 1. トークン ---------- */
:root {
  --bg:        #f4f2ee;   /* オフホワイト */
  --bg-2:      #e9e5de;
  --bg-3:      #dcd6cc;
  --paper:     #ffffff;
  --ink:       #23292f;   /* 墨 */
  --ink-2:     #5d666f;
  --ink-3:     #8b939b;
  --brand:     #26333f;   /* 濃紺（墨がかった） */
  --brand-2:   #344554;
  --brand-pale:#e3e7ea;
  --accent:    #c2703a;   /* 木・レンガの橙茶 */
  --accent-2:  #d98b52;
  --line:      #d8d3c9;
  --line-2:    #e6e1d8;

  --radius:    4px;
  --radius-lg: 6px;
  --shadow:    0 1px 2px rgba(20,30,40,.05), 0 6px 20px rgba(20,30,40,.07);
  --shadow-lg: 0 2px 6px rgba(20,30,40,.07), 0 20px 50px rgba(20,30,40,.12);

  --wrap:      1180px;
  --wrap-nr:   780px;
  --gap:       clamp(16px, 2.6vw, 28px);
  --sec:       clamp(60px, 9vw, 120px);

  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --num:  "Barlow Condensed", "Arial Narrow", var(--sans);

  --hd-h: 74px;
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent); }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.4em; padding-left: 1.4em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.45; letter-spacing: .02em; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- 3. レイアウト ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--nr { width: min(100% - 40px, var(--wrap-nr)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--bg-2); }
.sec--dark { background: var(--brand); color: #dfe4e8; }
.sec--dark h2, .sec--dark h3 { color: #fff; }

/* セクション見出し：左寄せ＋番号＋横罫（cafeの中央明朝とは別物） */
.shead { margin-bottom: clamp(30px, 4.5vw, 52px); display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.shead__no {
  font-family: var(--num); font-size: 13px; font-weight: 700;
  letter-spacing: .22em; color: var(--accent);
  border: 1px solid var(--accent); padding: 3px 10px; flex: none;
}
.shead__ja { font-size: clamp(21px, 3.1vw, 31px); }
.shead__en { font-size: 12px; letter-spacing: .26em; color: var(--ink-3); text-transform: uppercase; font-weight: 500; }
.shead__lead { flex-basis: 100%; margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.shead--center { justify-content: center; text-align: center; }
.shead--center .shead__lead { text-align: center; }

.hd2 {
  font-size: clamp(19px, 2.6vw, 25px);
  padding-left: 16px; margin-bottom: 26px;
  border-left: 5px solid var(--accent);
}
.hd3 { font-size: 17px; margin-bottom: 12px; color: var(--brand); }

/* ---------- 4. パーツ ---------- */
/* ボタン：角丸なし、太字 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 16px 36px;
  background: var(--brand); color: #fff; border: 2px solid var(--brand);
  border-radius: 2px;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--brand); border-color: var(--brand); }
.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn--wide { width: 100%; max-width: 360px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btns--center { justify-content: center; }

/* 数値バー（工務店らしい信頼指標） */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats__i { padding: 26px 14px; text-align: center; border-right: 1px solid var(--line); }
.stats__i:last-child { border-right: 0; }
.stats__n { font-family: var(--num); font-size: clamp(30px, 5vw, 46px); font-weight: 700; line-height: 1; color: var(--brand); letter-spacing: .02em; }
.stats__n small { font-size: .42em; margin-left: .25em; font-weight: 500; color: var(--ink-2); font-family: var(--sans); }
.stats__l { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; letter-spacing: .08em; }

/* 施工事例カード（このサイトの主役） */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.work {
  background: var(--paper); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
a.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work__fig { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); position: relative; }
.work__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.work:hover .work__fig img { transform: scale(1.05); }
.work__tag {
  position: absolute; left: 0; top: 0;
  background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; padding: 6px 14px;
}
.work__b { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.work__t { font-size: 17px; margin-bottom: 8px; }
.work__d { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 0 0 16px; flex: 1; }
.work__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line-2); padding-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.work__meta b { color: var(--ink-3); font-weight: 500; margin-right: .4em; }

/* 理由カード */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.reason { background: var(--paper); border-top: 4px solid var(--accent); padding: 30px 26px; box-shadow: var(--shadow); }
.reason__no { font-family: var(--num); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--accent); display: block; margin-bottom: 12px; }
.reason__t { font-size: 18px; margin-bottom: 12px; }
.reason__d { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; margin: 0; }

/* 画像＋文章 */
.media { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.media + .media { margin-top: clamp(48px, 7vw, 84px); }
.media--rev .media__fig { order: 2; }
.media__fig { margin: 0; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-3); }
.media__no { font-family: var(--num); font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--accent); display: block; margin-bottom: 12px; }
.media__t { font-size: clamp(20px, 2.7vw, 27px); margin-bottom: 16px; }
.media__d { color: var(--ink-2); font-size: 15px; }

/* 流れ（横並びステップ） */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.flow li {
  background: var(--paper); border-left: 4px solid var(--brand);
  padding: 22px 26px; display: grid; grid-template-columns: 76px 1fr; gap: 4px 20px; align-items: start;
}
.flow__no { font-family: var(--num); font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1.1; grid-row: span 2; }
.flow__t { font-size: 17px; font-weight: 700; }
.flow__d { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* テーブル */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { width: 9em; font-weight: 700; color: var(--brand); white-space: nowrap; background: var(--bg-2); }
.tbl td { color: var(--ink-2); }

/* 料金表 */
.price { width: 100%; border-collapse: collapse; font-size: 15px; }
.price th, .price td { padding: 15px 14px; border: 1px solid var(--line); }
.price thead th { background: var(--brand); color: #fff; font-weight: 700; text-align: center; letter-spacing: .06em; }
.price tbody th { background: var(--bg-2); color: var(--brand); text-align: left; white-space: nowrap; }
.price td { text-align: right; font-family: var(--num); font-size: 17px; color: var(--ink); }
.price td small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); display: block; }

/* 注記 */
.note { background: var(--bg-2); border-left: 4px solid var(--accent); padding: 20px 22px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.note > :last-child { margin-bottom: 0; }

.capbox { border: 1px solid var(--line); background: var(--paper); }
.capbox__t { background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; padding: 13px 20px; margin: 0; }
.capbox__b { padding: 24px 22px; font-size: 14.5px; color: var(--ink-2); }
.capbox__b > :last-child { margin-bottom: 0; }

/* お客様の声 */
.voice { background: var(--paper); border: 1px solid var(--line-2); padding: 26px 24px; }
.voice__q { font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 12px; line-height: 1.7; }
.voice__d { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin: 0 0 14px; }
.voice__n { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line-2); padding-top: 12px; margin: 0; }

/* FAQ */
.faq { border-top: 2px solid var(--brand); }
.faq__i { border-bottom: 1px solid var(--line); background: var(--paper); }
.faq__q {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 48px 22px 20px; position: relative;
  font-size: 16px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; font-family: var(--num); font-size: 17px; color: var(--accent); flex: none; }
.faq__q::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .25s;
}
.faq__i[open] .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { display: flex; gap: 14px; padding: 0 48px 24px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.faq__a::before { content: "A"; font-family: var(--num); font-size: 17px; color: var(--brand); flex: none; }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- 5. ヘッダー / フッター ---------- */
.demobar {
  background: #1a2128; color: #dfe4e8;
  font-size: 12.5px; line-height: 1.7; padding: 9px 20px; text-align: center;
}
.demobar p { margin: 0; display: inline; }
.demobar strong { color: #f0a868; font-weight: 700; }
.demobar a { color: #f0a868; text-decoration: underline; text-underline-offset: 3px; margin-left: .6em; white-space: nowrap; }
.demobar a:hover { color: #fff; }

.hd { position: sticky; top: 0; z-index: 80; background: rgba(244,242,238,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd__in { width: min(100% - 32px, 1280px); margin-inline: auto; height: var(--hd-h); display: flex; align-items: center; gap: 20px; }
.hd__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); }
.hd__mark { width: 40px; height: 40px; flex: none; }
.hd__name { font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1.25; display: block; }
.hd__sub { font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); display: block; margin-top: 3px; }

.gnav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.gnav a { font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding-block: 8px; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--accent); }

.hd__tel { text-align: right; line-height: 1.2; }
.hd__tel a { font-family: var(--num); font-size: 22px; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.hd__tel small { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; }

.burger { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .3s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 70; background: var(--bg); padding: 26px 28px 40px; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; visibility: hidden; }
.drawer[data-open="true"] { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 30px; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: flex; align-items: baseline; gap: 14px; padding: 18px 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.drawer li a small { font-size: 10.5px; letter-spacing: .18em; color: var(--ink-3); font-weight: 400; }
.drawer__info { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-top: 26px; }

.crumb { font-size: 12.5px; color: var(--ink-3); padding: 16px 0; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumb a { color: var(--ink-2); }

.phead { background: var(--brand); color: #fff; padding-block: clamp(44px, 6.5vw, 78px); }
.phead__en { display: block; font-family: var(--num); font-size: 12.5px; letter-spacing: .3em; color: var(--accent-2); margin-bottom: 12px; font-weight: 700; }
.phead__ja { font-size: clamp(25px, 4vw, 37px); color: #fff; }
.phead__lead { margin-top: 18px; color: #bcc5cd; font-size: 15px; }

.ft { background: #1a2128; color: #a8b1b9; padding-block: clamp(48px, 7vw, 74px) 0; font-size: 14px; }
.ft a { color: #cfd6dc; }
.ft a:hover { color: #f0a868; }
.ft__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.ft__name { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .06em; margin-bottom: 6px; }
.ft__sub { font-size: 11px; letter-spacing: .2em; color: #79828a; margin-bottom: 20px; }
.ft__addr { font-size: 13.5px; line-height: 2; margin: 0; }
.ft__h { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .08em; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 11px; font-size: 13.5px; }
.ft__bar { margin-top: clamp(34px, 5vw, 52px); border-top: 1px solid #2d353d; padding-block: 22px 26px; font-size: 12px; color: #79828a; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.ft__credit a { text-decoration: underline; text-underline-offset: 3px; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--line); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 11px 4px 13px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.mbar a + a { background: var(--accent); color: #fff; }
.mbar svg { width: 19px; height: 19px; }

.totop { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.totop[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--accent); }
.totop svg { width: 17px; height: 17px; }

/* ---------- 6. ページ個別 ---------- */
/* ヒーロー：左に太いコピー、右に写真（cafeの全面かぶせとは別構成） */
.hero { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.hero__in { width: min(100% - 40px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 76px); }
.hero__t { font-size: clamp(27px, 4.6vw, 50px); line-height: 1.35; color: #fff; letter-spacing: .01em; }
.hero__t em { font-style: normal; color: var(--accent-2); }
.hero__d { margin: 22px 0 0; font-size: clamp(14px, 1.7vw, 16px); color: #c3ccd4; max-width: 26em; }
.hero__btns { margin-top: 30px; }
.hero .btn { background: var(--accent); border-color: var(--accent); }
.hero .btn:hover { background: #fff; border-color: #fff; color: var(--brand); }
.hero .btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.hero .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--brand); }
.hero__fig { margin: 0; box-shadow: var(--shadow-lg); }
.hero__note { font-size: 11.5px; color: #8e99a3; margin-top: 18px; }

.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gal figure { margin: 0; overflow: hidden; background: var(--bg-3); aspect-ratio: 4/3; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal figure:hover img { transform: scale(1.05); }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }

.cta { background: var(--accent); color: #fff; padding-block: clamp(50px, 8vw, 88px); text-align: center; }
.cta__t { color: #fff; font-size: clamp(21px, 3.2vw, 31px); margin-bottom: 16px; }
.cta__d { color: #fbe6d5; font-size: 15px; max-width: 36em; margin-inline: auto; margin-bottom: 32px; }
.cta .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta .btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn--ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }
.cta__tel { display: block; margin-top: 30px; }
.cta__tel a { color: #fff; font-family: var(--num); font-size: clamp(28px, 4.5vw, 38px); font-weight: 700; letter-spacing: .04em; }
.cta__tel small { display: block; font-size: 12.5px; color: #fbe6d5; letter-spacing: .1em; margin-top: 4px; }

/* フォーム */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field__l { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.field__req { font-size: 10.5px; letter-spacing: .1em; background: var(--accent); color: #fff; padding: 3px 8px; }
.field__opt { font-size: 10.5px; letter-spacing: .1em; background: var(--bg-3); color: var(--ink-2); padding: 3px 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(38,51,63,.12); }
.field__help { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.check input { width: 17px; height: 17px; margin-top: 4px; flex: none; accent-color: var(--brand); }

/* ---------- 7. 動き ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.9,.28,1); }
.rv.is-in { opacity: 1; transform: none; }
.rv--d1 { transition-delay: .09s; }
.rv--d2 { transition-delay: .18s; }
.rv--d3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 8. レスポンシブ ---------- */
@media (max-width: 1080px) {
  .hd__tel { display: none; }
  .works, .reasons, .gal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__fig { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__i:nth-child(2n) { border-right: 0; }
  .stats__i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ft__top { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
  :root { --hd-h: 62px; }
  .gnav { display: none; }
  .burger { display: block; }
  .works, .reasons, .gal, .media, .info { grid-template-columns: 1fr; }
  .media--rev .media__fig { order: 0; }
  .mbar { display: grid; }
  body { padding-bottom: 62px; }
  .totop { bottom: 74px; right: 14px; }
  .demobar { font-size: 11.5px; text-align: left; }
  .demobar a { display: inline-block; margin-left: 0; }
  .ft__top { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 54px 1fr; padding: 18px 18px; }
  .tbl th { width: 7em; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .wrap, .wrap--nr { width: calc(100% - 34px); }
  .btn { padding: 15px 26px; }
  .btns .btn { width: 100%; max-width: none; }
  .reason { padding: 24px 20px; }
}
@media print {
  .demobar, .hd, .mbar, .totop, .cta, .drawer { display: none !important; }
  body { background: #fff; padding: 0; }
  .rv { opacity: 1; transform: none; }
}
