/* ===========================================================
   ТриАтур — стили внутренних страниц (новость, контакты, отзывы)
   Использует токены и компоненты из styles-v3.css
   =========================================================== */

/* ---------- Шапка страницы / хлебные крошки ---------- */
.page-hero { padding-top: clamp(22px, 3.4vw, 40px); padding-bottom: clamp(6px, 1.4vw, 14px); }
.crumbs { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--ink-60); margin-bottom: 18px; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: #0674ec; }
.crumbs .sep { color: var(--ink-40); }
.crumbs .cur { color: var(--ink); }
.page-head h1 { font-size: clamp(30px, 5vw, 58px); letter-spacing: -.03em; }
.page-head h1 .o { color: var(--orange); }
.page-lead { color: var(--ink-60); margin-top: 14px; font-size: clamp(16px, 1.7vw, 19px); max-width: 60ch; }

.tag-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); padding: 6px 14px; border-radius: 999px;
  font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600);
}

/* ===========================================================
   О НАС
   =========================================================== */
.about-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.about-intro .txt h2 { font-size: clamp(26px, 3.4vw, 42px); text-transform: none; }
.about-intro .txt h2 .o { color: var(--orange); }
.about-intro .txt p { color: var(--ink-60); margin-top: 16px; font-size: 16.5px; }
.about-intro .txt p + p { margin-top: 12px; }
.about-intro .sign { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.about-intro .sign .av { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #FF9A4D, var(--orange)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.about-intro .sign b { display: block; }
.about-intro .sign span { color: var(--ink-40); font-size: 13.5px; font-weight: 700; }
.about-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--sh-card); border: 1px solid var(--glass-brd-soft); }
.about-media img, .about-media .ph { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd); border-radius: var(--r-md); padding: 12px 18px;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); box-shadow: var(--sh-soft);
}
.about-media .badge b { color: var(--orange-600); font-size: 22px; }
.about-media .badge span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--ink-60); }

/* таймлайн истории */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.tl {
  border-radius: var(--r-lg); padding: 24px;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft); position: relative;
}
.tl .yr { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--orange); letter-spacing: -.02em; }
.tl h3 { font-size: 17px; margin-top: 8px; }
.tl p { color: var(--ink-60); font-size: 14px; margin-top: 6px; }

/* команда */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.tm {
  border-radius: var(--r-lg); overflow: hidden; text-align: center; padding: 28px 22px;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tm:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.tm .av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue)); }
.tm:nth-child(3n-1) .av { background: linear-gradient(135deg, #FF9A4D, var(--orange)); }
.tm:nth-child(3n) .av { background: linear-gradient(135deg, #38C0A0, #15998A); }
.tm h3 { font-size: 18px; }
.tm .role { color: var(--orange-600); font-weight: 800; font-size: 13px; margin-top: 4px; }
.tm p { color: var(--ink-60); font-size: 13.5px; margin-top: 8px; }

/* ===========================================================
   СЕРТИФИКАТЫ
   =========================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.cert {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
  display: flex; flex-direction: column;
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 0;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--sh-pop); }
.cert .doc {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  background: #fff; border-bottom: 1px solid var(--glass-brd-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 26px;
}
.cert .doc::before { content: ""; position: absolute; inset: 14px; border: 2px solid var(--blue-100); border-radius: 8px; }
.cert .doc::after { content: ""; position: absolute; inset: 20px; border: 1px solid var(--blue-100); border-radius: 6px; }
.cert .doc .crest { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue-900)); box-shadow: 0 10px 22px rgba(12,92,144,.3); }
.cert .doc .dtitle { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 15px; text-align: center; color: var(--ink); letter-spacing: -.01em; }
.cert .doc .dlines { position: relative; width: 70%; display: flex; flex-direction: column; gap: 7px; }
.cert .doc .dlines i { height: 5px; border-radius: 3px; background: var(--blue-100); display: block; }
.cert .doc .dlines i:nth-child(2) { width: 80%; margin-inline: auto; }
.cert .doc .dlines i:nth-child(3) { width: 60%; margin-inline: auto; }
.cert .doc .seal { position: absolute; right: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-size: 9px; font-weight: 800; text-transform: uppercase; transform: rotate(-12deg); background: rgba(255,106,0,.06); text-align: center; line-height: 1.1; }
.cert .doc .zoom { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--glass-brd); display: grid; place-items: center; color: var(--blue); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.cert:hover .doc .zoom { opacity: 1; transform: none; }
.cert .cmeta { padding: 18px 20px 20px; }
.cert .cmeta h3 { font-size: 18px; }
.cert .cmeta .issuer { color: var(--ink-60); font-size: 13.5px; font-weight: 700; margin-top: 5px; }
.cert .cmeta .yr { display: inline-block; margin-top: 10px; background: var(--blue-100); color: var(--blue-700); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }

/* лицензии / доверие — полоса */
.licenses { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.lic {
  border-radius: var(--r-lg); padding: 24px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
}
.lic .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #38C0A0, #15998A); box-shadow: 0 8px 18px rgba(21,153,138,.3); }
.lic:nth-child(1) .ic { background: linear-gradient(135deg, var(--blue-light), var(--blue)); box-shadow: 0 8px 18px rgba(22,133,200,.3); }
.lic:nth-child(2) .ic { background: linear-gradient(135deg, #FF9A4D, var(--orange)); box-shadow: 0 8px 18px rgba(255,106,0,.3); }
.lic h3 { font-size: 17px; }
.lic p { color: var(--ink-60); font-size: 14px; margin-top: 6px; }
.lic .num { color: var(--ink); font-weight: 800; font-size: 14px; margin-top: 8px; }

/* ===========================================================
   НОВОСТЬ (детальная)
   =========================================================== */
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; color: var(--ink-60); font-weight: 700; font-size: 14px; }
.article-meta .m { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .m svg { color: var(--blue); }
.article-meta .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }

.article-cover {
  border-radius: var(--r-xl); overflow: hidden; margin: clamp(20px, 3vw, 32px) 0;
  aspect-ratio: 16 / 7; border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-card);
}
.article-cover img, .article-cover .ph { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.article {
  border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 50px);
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
}
.article > *:first-child { margin-top: 0; }
.article p { margin-bottom: 18px; font-size: 17.5px; line-height: 1.78; color: var(--ink); }
.article .lead { font-size: 21px; font-weight: 600; line-height: 1.6; }
.article h2 { font-size: clamp(23px, 3vw, 31px); margin: 34px 0 14px; }
.article h3 { font-size: 20px; margin: 26px 0 10px; }
.article a.inline { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article ul.dots { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.article ul.dots li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.6; }
.article ul.dots li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.18); }
.pull {
  margin: 28px 0; padding: 22px 26px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.5); border-left: 4px solid var(--orange);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.4vw, 25px); line-height: 1.4; color: var(--ink);
}
.callout {
  margin: 26px 0; padding: 20px 22px; border-radius: var(--r-lg); display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(42,169,224,.14), rgba(22,133,200,.1));
  border: 1px solid rgba(42,169,224,.3);
}
.callout .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; display: grid; place-items: center; }
.callout b { display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.callout p { margin: 0; font-size: 15px; color: var(--ink-60); }

.share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--glass-brd-soft); flex-wrap: wrap; }
.share span { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); margin-right: 4px; }
.share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-brd-soft); color: var(--ink); transition: transform .2s, background .2s, color .2s; }
.share a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* боковая колонка статьи */
.aside-card {
  border-radius: var(--r-lg); padding: 22px;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
  position: sticky; top: 96px;
}
.aside-card h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 16px; }
.aside-card .ar { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--glass-brd-soft); }
.aside-card .ar:first-of-type { border-top: none; }
.aside-card .ar .th { flex: none; width: 64px; height: 56px; border-radius: 12px; overflow: hidden; }
.aside-card .ar .th img, .aside-card .ar .th .ph { width: 100%; height: 100%; object-fit: cover; }
.aside-card .ar a { font-weight: 700; font-size: 14px; line-height: 1.35; transition: color .2s; }
.aside-card .ar a:hover { color: var(--blue); }
.aside-card .ar .d { font-size: 12px; color: var(--ink-40); font-weight: 600; margin-top: 4px; }

/* ===========================================================
   КОНТАКТЫ
   =========================================================== */
.contacts-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(20px, 2.6vw, 38px); align-items: start; }
.offices { display: flex; flex-direction: column; gap: 16px; }
.office {
  border-radius: var(--r-lg); padding: 24px;
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
}
.office .ohead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.office .ohead > div { min-width: 0; }
.office .obadge { flex: none; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #FF9A4D, var(--orange)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(255,106,0,.3); }
.office:nth-child(2) .obadge { background: linear-gradient(135deg, var(--blue-light), var(--blue)); box-shadow: 0 8px 18px rgba(22,133,200,.3); }
.office h3 { font-size: 20px; white-space: nowrap; }
.office .osub { font-size: 13px; font-weight: 700; color: var(--ink-40); }
.office .orow { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 15px; }
.office .orow svg { flex: none; color: var(--blue); margin-top: 3px; }
.office .orow a { font-weight: 700; }
.office .orow a:hover { color: var(--blue); }
.office .ometro { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-60); }
.office .ometro .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

.map {
  position: relative; min-height: 100%; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-card);
  background:
    radial-gradient(circle at 30% 30%, rgba(42,169,224,.25), transparent 50%),
    radial-gradient(circle at 70% 65%, rgba(255,106,0,.16), transparent 50%),
    linear-gradient(135deg, #dceaf6, #c7dcee);
  min-height: 420px;
  display: grid; place-items: center;
}
.map::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(12,92,144,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,92,144,.12) 1px, transparent 1px);
  background-size: 46px 46px;
}
.map .pin { position: absolute; transform: translate(-50%, -100%); color: var(--orange); filter: drop-shadow(0 6px 8px rgba(7,38,62,.3)); }
.map .pin.p1 { left: 38%; top: 44%; }
.map .pin.p2 { left: 64%; top: 62%; color: var(--blue); }
.map .map-note {
  position: relative; z-index: 2; background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 13.5px; color: var(--ink-60);
  display: inline-flex; align-items: center; gap: 9px;
}
.map .map-note .tag { background: rgba(22,133,200,.12); color: var(--blue-900); padding: 3px 9px; border-radius: 6px; font-size: 11px; letter-spacing: .04em; }

/* форма */
.cform {
  border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 34px);
  background: var(--glass-strong); -webkit-backdrop-filter: var(--blur-lg); backdrop-filter: var(--blur-lg);
  border: 1px solid var(--glass-brd); box-shadow: var(--sh-pop);
}
.cform h3 { font-size: 24px; }
.cform > p { color: var(--ink-60); margin-top: 8px; font-size: 15px; }
.cform .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cform .fld { display: flex; flex-direction: column; gap: 6px; }
.cform .fld.full { grid-column: 1 / -1; }
.cform label { font-size: 12.5px; font-weight: 800; color: var(--ink-60); padding-left: 4px; }
.cform input, .cform textarea, .cform select {
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; color: var(--ink);
  background: rgba(255,255,255,.62); border: 1.5px solid var(--glass-brd-soft); border-radius: 14px;
  padding: 13px 16px; outline: none; transition: border-color .2s, background .2s; width: 100%;
}
.cform textarea { min-height: 120px; resize: vertical; border-radius: 18px; }
.cform input:focus, .cform textarea:focus, .cform select:focus { border-color: var(--blue-light); background: #fff; }
.cform .err { border-color: #e0463f !important; }
.cform .fmsg { font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.cform .checkrow { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--ink-60); }
.cform .checkrow input { width: auto; accent-color: var(--orange); margin-top: 2px; }
.cform .submit { margin-top: 20px; }
.cform .ok {
  margin-top: 16px; padding: 16px 18px; border-radius: 14px; display: none; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(56,192,160,.18), rgba(21,153,138,.12)); border: 1px solid rgba(21,153,138,.4); color: #0c5c4f; font-weight: 700;
}
.cform .ok.show { display: flex; }
.cform .ok svg { flex: none; }

/* мессенджеры */
.msg-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.msg-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #fff; transition: transform .2s; }
.msg-btn:hover { transform: translateY(-2px); }
.msg-btn.tg { background: #2AABEE; }
.msg-btn.wa { background: #25D366; }
.msg-btn.vk { background: #0077FF; }

/* ===========================================================
   ОТЗЫВЫ (страница)
   =========================================================== */
.rating-card {
  border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 34px); margin-bottom: clamp(24px, 3vw, 40px);
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-brd-soft); box-shadow: var(--sh-soft);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.rating-big { text-align: center; }
.rating-big b { font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 7vw, 78px); letter-spacing: -.03em; display: block; line-height: 1; }
.rating-big .stars { color: #FFB100; letter-spacing: 2px; font-size: 18px; margin-top: 6px; }
.rating-big .cnt { color: var(--ink-60); font-weight: 700; font-size: 13.5px; margin-top: 6px; }
.rating-bars { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rating-bars .br { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink-60); }
.rating-bars .br .lbl { width: 14px; text-align: right; }
.rating-bars .br .track { flex: 1; height: 8px; border-radius: 999px; background: rgba(12,92,144,.12); overflow: hidden; }
.rating-bars .br .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #FF9A4D, var(--orange)); }
.rating-meta { text-align: center; }
.rating-meta .src { display: flex; flex-direction: column; gap: 8px; }
.rating-meta .src .s { font-size: 13px; font-weight: 700; color: var(--ink-60); display: flex; align-items: center; gap: 8px; justify-content: flex-start; }
.rating-meta .src .s b { color: var(--ink); }

.filter-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 32px); }
.fchip {
  cursor: pointer; border: 1px solid var(--glass-brd-soft);
  background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  padding: 9px 17px; border-radius: 999px; font-family: var(--font-body); font-weight: 800; font-size: 14px; color: var(--ink-60);
  transition: all .2s;
}
.fchip:hover { color: var(--ink); }
.fchip.active { background: linear-gradient(135deg, #FF8A3D, var(--orange)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255,106,0,.3); }

.reviews-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.reviews-page .rev { animation: revIn .45s var(--ease) both; }
@keyframes revIn { from { transform: translateY(14px); } to { transform: none; } }
.rev .badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: rgba(22,133,200,.1); color: var(--blue-900); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.rev .ver { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #15998A; }
.load-more { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 40px); }
.empty-note { text-align: center; color: var(--ink-60); font-weight: 700; padding: 40px 0; grid-column: 1 / -1; }

/* ===========================================================
   АДАПТИВ внутренних страниц
   =========================================================== */
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .contacts-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .licenses { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .reviews-page { grid-template-columns: 1fr 1fr; }
  .rating-card { grid-template-columns: auto 1fr; }
  .rating-meta { grid-column: 1 / -1; border-top: 1px solid var(--glass-brd-soft); padding-top: 18px; }
  .rating-meta .src { flex-direction: row; justify-content: center; gap: 22px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .reviews-page { grid-template-columns: 1fr; }
  .cform .fgrid { grid-template-columns: 1fr; }
  .rating-card { grid-template-columns: 1fr; text-align: center; }
  .rating-bars { max-width: 280px; margin-inline: auto; }
  .article-cover { aspect-ratio: 4 / 3; }
  .timeline { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}
