@charset "UTF-8";
/* ==========================================================================
   TOPページ専用スタイル / index.html
   デザイン参考データ（sample.png）の構成・意匠に準拠
   ========================================================================== */

/* ==========================================================================
   1. ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  margin-top: var(--header-h);
  background: #fff;
  overflow: hidden;
  padding-bottom: 260px;
}

/* 右側に敷くメインビジュアル写真 */
.hero__photo {
  position: absolute;
  right: 0;
  width: 62%;
  /* 縦はエリアにぴったり収まっていてトリミング余地がないため、
     エリアごと上へ伸ばして被写体を上に送る（数値を上げるほど高く）*/
  top: -70px;
  height: calc(100% + 70px);
  background: linear-gradient(160deg, #f1efe9 0%, #e8e5dd 100%);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 電球と手が診断カードに隠れないよう、被写体を左へ振り切る
     （100% = 画像の右端をエリア右端に合わせる＝これ以上は左に寄らない上限） */
  object-position: 100% center;
  display: block;
}
/* 左端の直線的な切れ目を消して背景の白に溶け込ませる */
.hero__photo {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26%);
}

/* 左から白くフェードさせて文字を読ませる */
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    #fff 0%, #fff 34%, rgba(255, 255, 255, .92) 44%,
    rgba(255, 255, 255, .55) 54%, rgba(255, 255, 255, .12) 66%,
    rgba(255, 255, 255, 0) 76%);
}

.hero__inner { position: relative; z-index: 1; padding-top: 104px; }
.hero__body { max-width: 780px; }

/* ＼ 古い照明をLEDに替えて ／ */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 2px;
  height: 30px;
  background: var(--navy);
  border-radius: 2px;
}
.hero__eyebrow::before { transform: rotate(-22deg); }
.hero__eyebrow::after { transform: rotate(22deg); }

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 1.4rem + 5vw, 6rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero__line { display: block; }
.hero__title em { font-style: normal; color: var(--gold); }

.hero__sub {
  font-size: clamp(1.5rem, 1.3rem + .5vw, 1.9rem);
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 40px;
}

/* --- ヒーロー下の4枚カード --- */
.hcards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 660px;
}

.hcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 20px 12px 18px;
  box-shadow: var(--shadow-xs);
}

.hcard__icon { color: var(--gold); margin-bottom: 12px; }
.hcard__icon svg { width: 34px; height: 34px; }

.hcard__title {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}
.hcard__text { font-size: 1.16rem; line-height: 1.7; color: var(--ink-muted); }

/* --- 31年バッジ --- */
.hero__badge {
  position: absolute;
  right: 12px; top: 20px;
  z-index: 3;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--gold) inset, 0 10px 30px rgba(6, 33, 63, .28);
  text-align: center;
}
.hero__badge-top,
.hero__badge-btm { font-size: 1.15rem; letter-spacing: .1em; color: var(--gold-400); }
.hero__badge-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 4.4rem;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero__badge-num i { font-style: normal; }
.hero__badge-num small { font-size: 1.5rem; font-weight: 700; }

/* --- 電気代節約診断カード --- */
.diag {
  position: absolute;
  right: 0; bottom: -186px;
  z-index: 3;
  width: min(420px, 42vw);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 16px 46px rgba(6, 33, 63, .18);
  background: #fff;
}

.diag__head {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 13px 16px 15px;
}
/* ＼ ／ の飾り */
.diag__head::before,
.diag__head::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 2px; height: 17px;
  background: #fff;
  border-radius: 2px;
}
.diag__head::before { left: calc(50% - 108px); transform: rotate(-22deg); }
.diag__head::after { left: calc(50% + 106px); transform: rotate(22deg); }

.diag__body { padding: 22px 26px 22px; }

.diag__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.7rem + 1.8vw, 3.2rem);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  letter-spacing: .04em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.diag__title em { font-style: normal; color: var(--gold); }

.diag__checks { display: grid; gap: 9px; margin-bottom: 20px; }
.diag__checks li {
  position: relative;
  padding-left: 32px;
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
}
/* チェックボックス */
.diag__checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .18em;
  width: 18px; height: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
}
.diag__checks li::after {
  content: "";
  position: absolute;
  left: 4px; top: .42em;
  width: 10px; height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.diag__note {
  margin-top: 10px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--ink-muted);
}
.diag__cta { margin: 0; }

/* PCでは横長2カラムにして、写真と重なる面積を減らす */
@media (min-width: 1360px) {
  /* 幅は「4枚カード(660px)に被らない残り幅」を上限にする */
  .diag { width: min(620px, calc(100% - 680px)); }
  .diag__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: center;
    column-gap: 24px;
    padding: 20px 26px;
  }
  .diag__title {
    text-align: left;
    font-size: clamp(2.2rem, 1.2rem + 1.5vw, 2.9rem);
    margin-bottom: 12px;
  }
  .diag__checks { gap: 7px; margin-bottom: 0; }
  .diag__checks li { font-size: 1.34rem; line-height: 1.5; }
  .diag__note { margin-top: 9px; }
  /* ＼ ／ の飾りは横長になった見出し幅に合わせて広げる */
  .diag__head::before { left: calc(50% - 128px); }
  .diag__head::after { left: calc(50% + 126px); }
}

/* --- ゴールドの診断ボタン --- */
.dbtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  padding: 12px 54px 12px 70px;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #cda44e 0%, #b8892f 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(184, 137, 47, .3);
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.dbtn:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); }

.dbtn__badge {
  position: absolute;
  left: 7px; top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  border: 1px solid var(--gold-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.dbtn__label {
  font-size: clamp(1.7rem, 1.4rem + .8vw, 2.1rem);
  letter-spacing: .06em;
}

.dbtn__arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.dbtn--lg { min-height: 72px; padding: 14px 62px 14px 82px; }
.dbtn--lg .dbtn__badge { left: 9px; width: 60px; height: 60px; font-size: 1.05rem; }
.dbtn--lg .dbtn__arrow { width: 36px; height: 36px; right: 16px; }

/* ==========================================================================
   2. こんなお悩み、ありませんか？
   ========================================================================== */
.trouble__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 44px;
}

.trouble__item {
  padding: 0 16px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.trouble__item:first-child { border-left: none; }

.trouble__fig {
  margin: 0 0 16px;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.trouble__fig .ph { aspect-ratio: 4 / 3; }
.trouble__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trouble__cap {
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy);
}

.trouble__lead {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
}
.trouble__lead em {
  font-style: normal;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ==========================================================================
   3. 診断内容を少しご紹介！
   ========================================================================== */
.dpanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 34px 26px;
  box-shadow: var(--shadow-xs);
}

.dpanel__head {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 -34px 26px;
  padding-right: 34px;
}

/* 左端のネイビーのリボンラベル */
.dpanel__label {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 13px 34px 13px 34px;
  border-radius: var(--r) 0 0 0;
  flex: none;
}
.dpanel__label::after {
  content: "";
  position: absolute;
  right: -20px; top: 0;
  border-style: solid;
  border-width: 25px 0 25px 20px;
  border-color: transparent transparent transparent var(--navy-900);
}

.dpanel__title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
}

.dpanel__body {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 26px;
  align-items: center;
}

.qcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.qcard { display: flex; flex-direction: column; }

.qcard__no {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.qcard__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 14px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qcard__text {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 14px;
  flex: 1;
}

.qcard__choices { display: flex; gap: 8px; }
.qcard__yes,
.qcard__no-btn {
  flex: 1;
  border-radius: 4px;
  padding: 8px 4px;
  font-size: 1.3rem;
  font-weight: 700;
}
.qcard__yes { background: var(--gold); color: #fff; }
.qcard__no-btn { background: #eceef1; color: var(--ink-muted); }

.dpanel__aside { display: flex; align-items: center; gap: 16px; }
.dpanel__clip { flex: none; color: var(--gold); }
.dpanel__aside-text { font-size: 1.32rem; line-height: 1.85; color: var(--navy); font-weight: 500; }

.dpanel__note { text-align: center; margin-top: 18px; font-size: 1.15rem; color: var(--ink-muted); }

/* ==========================================================================
   4. 照明を見直すと、こんなに変わります！
   ========================================================================== */
.bcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.bcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 30px 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.bcard__icon { display: block; color: var(--gold); margin-bottom: 14px; }
.bcard__title { font-size: 1.65rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.bcard__text { font-size: 1.3rem; line-height: 1.8; color: var(--ink-muted); }
.bcard__text sub { font-size: .75em; }

/* ==========================================================================
   5. 対応サービス
   ========================================================================== */
.scards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.scard__link { display: block; color: inherit; padding-bottom: 20px; }
.scard__link:hover { color: inherit; }

.scard__fig { margin: 0 0 14px; }
.scard__fig .ph { aspect-ratio: 4 / 3; }
.scard__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scard__title {
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  padding: 0 8px;
  line-height: 1.5;
}
.scard__text { font-size: 1.22rem; line-height: 1.7; color: var(--ink-muted); text-align: center; }

/* ==========================================================================
   6. ご相談から施工までの流れ
   ========================================================================== */
.fsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }

.fstep {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 30px 16px 24px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.fstep:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
  transform: translateY(-50%) rotate(45deg);
}

.fstep__num {
  position: absolute;
  left: 50%; top: -16px;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.fstep__title { font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.fstep__icon { display: block; color: var(--gold); margin-bottom: 12px; }
.fstep__text { font-size: 1.2rem; line-height: 1.75; color: var(--ink-muted); }

/* ==========================================================================
   7. 浜中電設が選ばれる理由
   ========================================================================== */
.rcols { display: grid; grid-template-columns: repeat(3, 1fr); }

.rcol {
  padding: 6px 30px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.rcol:first-child { border-left: none; }

.rcol__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.rcol__icon { flex: none; color: var(--gold); }

.rcol__title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.4rem + .7vw, 2.1rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
}
.rcol__num {
  font-style: normal;
  font-size: 1.7em;
  color: var(--gold);
  margin-right: 2px;
}

.rcol__text { font-size: 1.3rem; line-height: 1.9; color: var(--ink-muted); }

/* ==========================================================================
   8. 最終CTA
   ========================================================================== */
.fcta {
  background: var(--navy-800);
  color: #fff;
  padding: 58px 0;
  margin-top: 76px;
}

.fcta__inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.fcta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.3rem + 1.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .03em;
  text-align: center;
  margin-bottom: 22px;
}
.fcta__title em { font-style: normal; color: var(--gold-400); }

.fcta__btn { display: flex; justify-content: center; }
.fcta__btn .dbtn { min-width: min(440px, 100%); }

.fcta__note { text-align: center; margin-top: 12px; font-size: 1.2rem; color: rgba(255, 255, 255, .78); }

.fcta__card {
  background: #fff;
  border-radius: var(--r);
  padding: 26px 30px 24px;
  text-align: center;
  color: var(--ink);
}

.fcta__card-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }

.fcta__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.fcta__tel-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
}
.fcta__tel-num {
  font-size: clamp(2.6rem, 1.9rem + 1.8vw, 3.6rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
  line-height: 1.2;
}
.fcta__tel:hover .fcta__tel-num { color: var(--gold); }

.fcta__hours { font-size: 1.28rem; color: var(--ink-muted); }

/* ==========================================================================
   9. 屋号バンド
   ========================================================================== */
.namestrip { background: var(--cream); padding: 30px 0; }

.namestrip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.namestrip__lead {
  display: block;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.namestrip__co {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.7rem + 2vw, 3.6rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .06em;
  line-height: 1.25;
}

.namestrip__chips { display: flex; gap: 14px; flex-wrap: wrap; }
.namestrip__chips li {
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 9px 22px;
  background: #fff;
}

/* ==========================================================================
   10. レスポンシブ
   ========================================================================== */
@media (max-width: 1240px) {
  .hero__photo { width: 56%; }
  .diag { width: min(380px, 40vw); bottom: -170px; }
  .hero__badge { width: 116px; height: 116px; right: 4px; }
  .hero__badge-num { font-size: 3.8rem; }
}

@media (max-width: 1024px) {
  /* 写真は横幅いっぱいの帯にして、下端を白へ溶かしてから本文へつなげる */
  .hero {
    --hero-photo-h: clamp(240px, 40vw, 360px);
    padding-bottom: 40px;
  }
  .hero__photo {
    position: relative;
    top: 0;
    width: 100%;
    height: var(--hero-photo-h);
    -webkit-mask-image: linear-gradient(180deg, #000 54%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 54%, transparent 100%);
  }
  .hero__photo img { object-position: center; }
  .hero__veil { display: none; }
  .hero__inner {
    padding-top: 0;
    margin-top: calc(var(--hero-photo-h) * -.17);
  }
  .hero__body { max-width: none; }
  .hcards { max-width: none; }
  /* バッジは写真の高さを基準に、写真の右上へ乗せる */
  .hero__badge {
    top: calc(var(--hero-photo-h) * -.83 + 14px);
    right: 16px; width: 104px; height: 104px;
  }
  .hero__badge-num { font-size: 3.4rem; }

  .diag {
    position: static;
    width: min(520px, 100%);
    margin: 34px auto 0;
  }
  .diag__head::before { left: calc(50% - 112px); }
  .diag__head::after { left: calc(50% + 110px); }

  .trouble__list { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .trouble__item:nth-child(3n+1) { border-left: none; }

  .dpanel__body { grid-template-columns: 1fr; }
  .dpanel__aside { justify-content: center; }

  .bcards { grid-template-columns: repeat(2, 1fr); }
  .scards { grid-template-columns: repeat(3, 1fr); }

  .fsteps { grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
  .fstep:nth-child(3)::after { display: none; }

  .rcols { grid-template-columns: 1fr; gap: 26px; }
  .rcol { border-left: none; border-top: 1px solid var(--line); padding-top: 26px; }
  .rcol:first-child { border-top: none; padding-top: 6px; }

  .fcta__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .hero { --hero-photo-h: clamp(210px, 52vw, 300px); padding-bottom: 28px; }
  .hero__badge {
    top: calc(var(--hero-photo-h) * -.84 + 10px);
    right: 10px; width: 88px; height: 88px;
  }
  .hero__badge-num { font-size: 2.8rem; }
  .hero__badge-top,
  .hero__badge-btm { font-size: 1rem; }

  .hero__eyebrow {
    gap: 14px;
    margin-bottom: 12px;
    font-size: clamp(1.35rem, .75rem + 1.7vw, 1.7rem);
  }
  .hero__eyebrow::before,
  .hero__eyebrow::after { height: 22px; }
  /* 「明るく快適な暮らしへ」が1行に収まるところまで詰める */
  .hero__title {
    font-size: clamp(2.5rem, .3rem + 6.4vw, 4.4rem);
    letter-spacing: .02em;
    margin-bottom: 18px;
  }
  .hero__sub { margin-bottom: 26px; }

  .hcards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hcard { padding: 16px 10px 14px; }
  .hcard__icon svg { width: 28px; height: 28px; }

  .diag__body { padding: 18px 18px; }
  .diag__checks li { font-size: 1.32rem; }
  .diag__head::before { left: 22px; }
  .diag__head::after { right: 22px; left: auto; }

  .dbtn { padding: 12px 44px 12px 64px; min-height: 58px; }
  .dbtn__badge { left: 6px; width: 46px; height: 46px; font-size: .9rem; }
  .dbtn__arrow { width: 26px; height: 26px; right: 12px; }
  .dbtn--lg { min-height: 62px; padding: 12px 48px 12px 68px; }
  .dbtn--lg .dbtn__badge { left: 7px; width: 50px; height: 50px; font-size: .92rem; }

  .trouble__list { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .trouble__item { padding: 0 10px; }
  .trouble__item:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .trouble__item:nth-child(odd) { border-left: none; }
  .trouble__cap { font-size: 1.28rem; }

  .dpanel { padding: 0 16px 20px; }
  .dpanel__head { flex-direction: column; align-items: flex-start; gap: 14px; margin: 0 -16px 20px; padding-right: 16px; }
  .dpanel__label { font-size: 1.32rem; padding: 10px 22px; border-radius: var(--r) 0 0 0; }
  .dpanel__label::after { border-width: 21px 0 21px 16px; right: -16px; }
  .dpanel__title { padding-left: 16px; font-size: 1.6rem; }
  .qcards { grid-template-columns: 1fr; gap: 14px; }
  .dpanel__aside { flex-direction: column; text-align: center; gap: 10px; }
  .dpanel__clip svg { width: 66px; height: 66px; }

  .bcards { grid-template-columns: 1fr; gap: 14px; }
  .bcard { display: grid; grid-template-columns: 62px 1fr; gap: 4px 16px; text-align: left; padding: 20px 20px; }
  .bcard__icon { grid-row: span 2; margin: 0; align-self: center; }
  .bcard__icon svg { width: 40px; height: 40px; }

  .scards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .scard__title { font-size: 1.3rem; }
  .scard__text { font-size: 1.15rem; }

  .fsteps { grid-template-columns: 1fr; gap: 34px; }
  .fstep:not(:last-child)::after {
    right: auto; top: auto;
    left: 50%; bottom: -22px;
    transform: translateX(-50%) rotate(135deg);
  }
  .fstep:nth-child(3)::after { display: block; }

  .fcta { padding: 44px 0; margin-top: 52px; }
  .fcta__card { padding: 22px 20px 20px; }

  .namestrip { padding: 24px 0; }
  .namestrip__inner { justify-content: center; text-align: center; }
  .namestrip__chips { justify-content: center; }
  .namestrip__chips li { font-size: 1.2rem; padding: 7px 16px; }
}

@media (max-width: 420px) {
  .namestrip__chips li { flex: 1; text-align: center; padding: 7px 8px; }
}
