/* ==========================================================================
   ЭНЕРГОСТОР — главная страница
   Один файл стилей, без сборки и зависимостей.
   ========================================================================== */

:root {
  --blue: #0b549f;
  --blue-dark: #094a8c;
  --cyan: #1abcfe;
  --ink: #000;
  --muted: #747474;
  --muted-2: #a4a4a4;
  --bg: #f6f6f6;
  --card: #fff;
  --line: #e6e6e6;
  --line-soft: #ededed;
  --radius: 0px;
  --container: 1200px;
  --font: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.07);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #fff;
  padding: 12px 20px;
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius);
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }

.btn--ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--text {
  padding: 0 10px;
  background: none;
  color: var(--ink);
  text-decoration: none;
}
.btn--text:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.topbar {
  border-bottom: 1px solid #f1f1f1;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease);
  max-height: 48px;
}
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.topbar__address { display: flex; align-items: center; gap: 6px; }

.topbar__contacts { display: flex; align-items: center; gap: 22px; }

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
}
.topbar__link:hover { color: var(--blue); }

.topbar__phone { text-decoration: none; color: var(--ink); font-weight:500; }
.topbar__phone:hover { color: var(--blue); }

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 72px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { width: 176px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}

.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__chevron { transition: transform 0.2s var(--ease); }
.nav__item--mega.is-open .nav__chevron { transform: rotate(180deg); }

.navbar__actions { display: flex; align-items: center; gap: 18px; }

.navbar__phone {
  font-size: 16px;
  font-weight:500;
  text-decoration: none;
  white-space: nowrap;
}
.navbar__phone:hover { color: var(--blue); }

/* Мегаменю */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  width: min(920px, calc(100vw - 48px));
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 28px;
}

.mega__item {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  transition: background-color 0.15s var(--ease);
}
.mega__item:hover { background: var(--bg); }

.mega__title { display: block; font-size: 15px; font-weight:500; }
.mega__desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.mega__all {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 12px 0;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}
.mega__all:hover { text-decoration: underline; }

/* Бургер */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.15s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  display: none;
  padding: 8px 24px 28px;
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.mobile-menu.is-open { display: block; }
.mobile-menu__nav { display: grid; gap: 2px; }
.mobile-menu__nav a {
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 17px;
  text-decoration: none;
}
.mobile-menu__footer { display: grid; gap: 12px; padding-top: 22px; font-size: 13px; color: var(--muted); }
.mobile-menu__phone { font-size: 20px; font-weight:500; color: var(--ink); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  background: url("../img/hero-bg.webp") right center / cover no-repeat;
  opacity: 0.75;
}
.hero::after {
  background: linear-gradient(
    90deg,
    rgba(246, 246, 246, 0.98) 0%,
    rgba(246, 246, 246, 0.94) 34%,
    rgba(246, 246, 246, 0.55) 62%,
    rgba(246, 246, 246, 0.25) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  padding-top: 76px;
  padding-bottom: 56px;
}

.hero__title {
  max-width: 820px;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight:500;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.hero__lead {
  max-width: 690px;
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}
.hero__actions .btn--primary { min-width: 290px; }

/* Панель справа */
.hero-panel { display: flex; flex-direction: column; }

.hero-panel__stats {
  position: relative;
  padding: 30px 30px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.hero-panel__map {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: 84%;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.stats__num {
  display: block;
  font-size: 46px;
  font-weight:500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats__label { display: block; margin-top: 6px; font-size: 14px; color: var(--muted-2); }

.hero-panel__cta {
  position: relative;
  margin-top: 52px;
  padding: 30px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.hero-panel__avatar {
  position: absolute;
  top: -40px;
  left: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid var(--bg);
}

.hero-panel__cta-title {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.3;
}
.hero-panel__cta .btn { margin-top: 20px; }

/* Партнёры */
.partners { position: relative; z-index: 1; background: #fff; }

.partners__inner {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.partners__logo {
  width: 100%;
  height: 34px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s var(--ease);
}
.partners__logo:hover { opacity: 1; }

/* ---------- Секции ---------- */

.section { padding: 92px 0; }
.section--tight { padding: 0 0 88px; }

.section__head { max-width: 920px; margin-bottom: 38px; }

.section__head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section__title {
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight:500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section__lead {
  max-width: 780px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: #3a3a3a;
}

/* ---------- Карточки направлений ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 26px 26px 0;
  background: var(--card);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card); }

.card__title {
  font-size: 19px;
  font-weight:500;
  line-height: 1.35;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.chip {
  padding: 5px 9px;
  border: 1px solid #dcdcdc;
  font-size: 12px;
  line-height: 1.3;
  color: #555;
}

.card__img {
  align-self: center;
  margin-top: auto;
  width: 100%;
  height: 185px;
  padding: 22px 0;
  object-fit: contain;
}

.cta-bar {
  width: 100%;
  min-height: 80px;
  margin-top: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.cta-bar:hover { background: var(--blue-dark); }

/* ---------- Отрасли ---------- */

.industries { padding-top: 0; }

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 12px;
}

.industry { text-decoration: none; }

.industry__img {
  width: 100%;
  aspect-ratio: 361 / 496;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}
.industry:hover .industry__img { transform: scale(1.03); filter: saturate(1.05); }

.industry__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px 0;
}

.industry__title {
  max-width: 80%;
  font-size: 15px;
  font-weight:500;
  line-height: 1.35;
}

.industry__num { font-size: 13px; color: #555; }

/* ---------- Новости ---------- */

.news { padding-top: 0; }

.news__all {
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.news__all:hover { text-decoration: underline; text-underline-offset: 4px; }

.news__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  text-decoration: none;
  transition: box-shadow 0.25s var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-card); }

.news-card__img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #ececec;
}

.news-card__date {
  padding: 18px 20px 0;
  font-size: 12px;
  color: var(--muted-2);
}

.news-card__title {
  padding: 8px 20px 0;
  font-size: 16px;
  font-weight:500;
  line-height: 1.35;
}

.news-card__text {
  margin-top: auto;
  padding: 8px 20px 22px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.news-card:hover .news-card__title { color: var(--blue); }

/* ---------- Дисклеймер ---------- */

.disclaimer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Подвал ---------- */

.site-footer { padding-bottom: 44px; }

.footer-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.15fr 0.95fr 1.3fr;
  gap: 28px;
  padding: 40px 40px 44px;
  background: var(--cyan);
  color: #08222f;
}

.footer-card__brand img { width: 44px; height: 44px; }

.footer-card__tagline {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #10394d;
}

.footer-card__title {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight:500;
}

.footer-card ul { display: grid; gap: 8px; }

.footer-card a {
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  color: #08222f;
}
.footer-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-card__phone { font-size: 16px !important; font-weight:500; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Модальное окно ---------- */

.modal {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.modal::backdrop { background: rgba(12, 20, 28, 0.55); backdrop-filter: blur(3px); }

.modal__inner {
  position: relative;
  padding: 44px 44px 38px;
  background: #fff;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.modal__close:hover { color: var(--ink); }

.modal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--muted-2);
}

.modal__title {
  margin-top: 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight:500;
  line-height: 1.25;
}

.form { margin-top: 24px; display: grid; gap: 16px; }

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field { display: block; }
.field__label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.field__req { color: #c0392b; }

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field__input::placeholder { color: #b3b3b3; }
.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 84, 159, 0.12);
}
.field__input--area { resize: vertical; min-height: 92px; }
.field__input.is-invalid { border-color: #c0392b; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}
.check__input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid #c9c9c9;
  background: #fff;
  position: relative;
}
.check__input:checked + .check__box { border-color: var(--blue); }
.check__input:checked + .check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check__input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check a { color: var(--blue); text-decoration: none; }
.check a:hover { text-decoration: underline; }

.form__submit { margin-top: 4px; }

.form__note { font-size: 12px; color: var(--muted); }
.form__note a { color: var(--blue); text-decoration: none; }

.form__status { min-height: 18px; font-size: 13px; margin: 0; }
.form__status.is-error { color: #c0392b; }
.form__status.is-success { color: #1c7c3c; }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; }
  .navbar__inner { gap: 24px; }
  .nav { gap: 20px; }
  .navbar__phone { display: none; }
  .footer-card { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav, .navbar__actions .btn--ghost { display: none; }
  .burger { display: block; }
  .navbar__inner { min-height: 64px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(246, 246, 246, 0.96) 0%, rgba(246, 246, 246, 0.8) 55%, rgba(246, 246, 246, 0.95) 100%);
  }

  .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: none;
  }
  .hero-panel__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    padding: 26px;
    text-align: left;
  }
  .hero-panel__avatar {
    position: static;
    width: 56px;
    height: 56px;
    margin: 0 0 14px;
    border: 0;
  }
  .hero-panel__cta-title { margin-top: 0; font-size: 18px; }
  .hero-panel__cta .btn { margin-top: 20px; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
  .mega { width: min(640px, calc(100vw - 48px)); }
  .mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--tight { padding-bottom: 64px; }

  .topbar { display: none; }
  .logo__img { width: 148px; }

  .hero__inner { padding-top: 40px; padding-bottom: 40px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--text { width: auto; }

  .partners__inner { gap: 18px 22px; padding-top: 22px; padding-bottom: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners__logo { height: 26px; }

  .cards, .news__grid { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card__img { height: 160px; }
  .news-card__img { height: 210px; }
  .cta-bar { min-height: 64px; font-size: 16px; }

  .industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .industry__caption { gap: 8px; padding-top: 10px; }
  .industry__title { max-width: 100%; font-size: 13px; line-height: 1.3; }
  .industry__num { font-size: 12px; }

  .section__head--row { flex-direction: column; align-items: flex-start; gap: 12px; }

  .disclaimer { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  .footer-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 28px 24px 32px; }
  .footer-card__brand { grid-column: 1 / -1; }

  .modal__inner { padding: 32px 22px 26px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hero-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-panel__cta { margin-top: 46px; padding: 30px; text-align: center; }
  .hero-panel__avatar {
    position: absolute;
    top: -40px;
    left: 30px;
    width: 80px;
    height: 80px;
    margin: 0;
    border: 4px solid var(--bg);
  }
  .hero-panel__cta-title { margin-top: 26px; font-size: 20px; }
}

@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero__title { font-size: 27px; }
  .stats__num { font-size: 38px; }
  .hero-panel__cta { margin-top: 44px; padding: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Review fixes: readable labels, usable menus, and linked categories. */
:root { --muted-2: #676767; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu { max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
.mega { max-height: calc(100dvh - 130px); overflow-y: auto; }
.btn:disabled { opacity: .65; cursor: wait; }
@media (max-width: 768px) {
  .hero__actions .btn--primary { min-width: 0; }
  .hero__actions .btn--text { padding: 12px 0; text-align: left; }
}
