/* Типографика Inter; акцент #2563eb; розовый франшизы sol-plus #ef0655 */

:root {
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --sol-pink: #ef0655;
  --sol-pink-hover: #d6054c;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Pribambas", var(--font-body);
  --bg: #f8fafc;
  --bg-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: var(--text);
  --border: rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 1120px;
}

@font-face {
  font-family: "Pribambas";
  src: url("./fonts/pribambas/Pribambas-Regular.woff2") format("woff2"),
    url("./fonts/pribambas/Pribambas-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("./patterns/finance_pattern_background.svg");
  background-repeat: repeat;
  background-size: 680px 900px;
  opacity: 0.045;
  filter: grayscale(1);
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
}

/* Header — «плавающая» капсула, sticky при скролле */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 200;
  margin: 0;
  padding: 0 16px;
  background: transparent;
  pointer-events: none;
}

.site-header .header__shell {
  pointer-events: auto;
  max-width: 900px;
  margin: 0 auto;
}

.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 10px 14px 10px 20px;
  background: linear-gradient(
    135deg,
    rgba(246, 250, 255, 0.82) 0%,
    rgba(232, 241, 255, 0.58) 42%,
    rgba(249, 252, 255, 0.72) 100%
  );
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(148, 163, 184, 0.12),
    0 16px 44px rgba(122, 162, 255, 0.18),
    0 8px 26px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.header__bar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(110px 34px at 14% 18%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(180px 58px at 84% 16%, rgba(190, 222, 255, 0.34) 0%, rgba(190, 222, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: -1;
}

.header__bar::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 7px;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  padding-left: 26px;
}

.logo picture {
  display: block;
  line-height: 0;
}

.logo__img {
  display: block;
  height: 42px;
  width: auto;
}

.logo__brand,
.logo__w1,
.logo__w2,
.logo__sub {
  display: none;
}

.header__nav-track {
  flex: 1 1 220px;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header__nav-track .nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
  padding: 10px 22px;
  margin: 0;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.74) 0%, rgba(230, 239, 251, 0.56) 100%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 4px 14px rgba(125, 154, 205, 0.10);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--brand-blue);
}

/* Кнопка в шапке — капсула, градиент, лёгкое свечение */
.btn--header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sol-pink) !important;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.btn--header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.82) 0%, rgba(228, 239, 255, 0.52) 100%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 4px 14px rgba(130, 167, 220, 0.10);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  z-index: -1;
}

.btn--header-cta:hover {
  color: var(--sol-pink-hover) !important;
}

.btn--header-cta:active {
  transform: scale(0.98);
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .header__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo cta"
      "nav nav";
    align-items: center;
    gap: 12px 10px;
    border-radius: 28px;
    padding: 12px 14px;
  }

  .header__bar > .logo {
    grid-area: logo;
    justify-self: start;
  }

  .header__bar > .btn--header-cta {
    grid-area: cta;
    justify-self: end;
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .header__bar > .header__nav-track {
    grid-area: nav;
    flex: unset;
    width: 100%;
  }

  .header__nav-track .nav {
    width: 100%;
    justify-content: center;
    border-radius: 22px;
    gap: 8px 14px;
    padding: 10px 14px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn--primary {
  background: var(--brand-blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-blue-hover);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--brand-blue);
  border-color: rgba(37, 99, 235, 0.35);
}

.btn--ghost:hover {
  border-color: var(--brand-blue);
}

.btn--accent {
  background: var(--sol-pink);
  color: #fff;
}

.btn--accent:hover {
  background: var(--sol-pink-hover);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(circle at 16% 16%, rgba(239, 6, 85, 0.16), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 70% 82%, rgba(20, 184, 166, 0.14), transparent 34%),
    linear-gradient(135deg, #fff7fb 0%, #eef6ff 42%, #f7fff8 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 48%, rgba(255, 255, 255, 0.84) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.32), transparent 62%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.56) 100%),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 112px);
  z-index: 0;
}

.hero__marquee-bg {
  position: absolute;
  inset: -26px -10vw;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(-4deg);
}

.hero__marquee-row {
  position: absolute;
  left: -8vw;
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.075);
  animation: hero-marquee-left 34s linear infinite;
  will-change: transform;
}

.hero__marquee-row span {
  display: block;
}

.hero__marquee-row--one {
  top: 2%;
  color: rgba(239, 6, 85, 0.10);
}

.hero__marquee-row--two {
  top: 30%;
  color: rgba(37, 99, 235, 0.10);
  animation-name: hero-marquee-right;
  animation-duration: 39s;
}

.hero__marquee-row--three {
  top: 58%;
  color: rgba(20, 184, 166, 0.095);
  animation-duration: 43s;
}

.hero__marquee-row--four {
  top: 82%;
  color: rgba(15, 23, 42, 0.065);
  animation-name: hero-marquee-right;
  animation-duration: 47s;
}

@keyframes hero-marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-33.333%, 0, 0);
  }
}

@keyframes hero-marquee-right {
  from {
    transform: translate3d(-33.333%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__marquee-row {
    animation: none;
  }
}

.hero__grid {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 24px;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero__panel {
  position: relative;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-card__kicker {
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-card__list {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stat-card__list li + li {
  margin-top: 8px;
}

.stat-card__link {
  font-weight: 700;
  color: var(--sol-pink);
  text-decoration: none;
}

.stat-card__link:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: clamp(48px, 7vw, 80px) 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section--dark {
  background: #0f172a;
  color: #e2e8f0;
}

.section__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section__title--on-dark {
  color: #fff;
}

.feature__title,
.post-card__title,
.article-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section__subtitle {
  margin: 0 0 32px;
  max-width: 60ch;
  color: var(--text);
  font-size: 1.05rem;
}

.section--dark .section__subtitle {
  color: inherit;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section__text {
  margin: 0;
  max-width: 56ch;
  color: var(--text-muted);
}

.link-arrow {
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__cta {
  text-align: right;
}

@media (max-width: 700px) {
  .split__cta {
    text-align: left;
  }
}

.fineprint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Cave gallery */
.section--cave-gallery {
  overflow: hidden;
  padding-bottom: 34px;
  background:
    radial-gradient(circle at 8% 10%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.section__head--gallery {
  align-items: flex-end;
  margin-bottom: 24px;
}

.section__eyebrow {
  margin: 0 0 8px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery__lead {
  max-width: 48ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cave-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cave-carousel::before,
.cave-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(120px, 12vw);
  height: 100%;
  pointer-events: none;
}

.cave-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, 0) 100%);
}

.cave-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f8fbff 0%, rgba(248, 251, 255, 0) 100%);
}

.cave-carousel__track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 6px 14px 18px;
  animation: cave-marquee 78s linear infinite;
}

.cave-carousel:hover .cave-carousel__track {
  animation-play-state: paused;
}

.cave-carousel__item {
  flex: 0 0 260px;
  height: 180px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #e0f2fe;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.cave-carousel__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

@keyframes cave-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 700px) {
  .section__head--gallery {
    display: block;
  }

  .gallery__lead {
    margin-top: 12px;
  }

  .cave-carousel__item {
    flex-basis: 220px;
    height: 152px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cave-carousel__track {
    overflow-x: auto;
    max-width: 100%;
    animation: none;
  }
}

/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.post-card:hover {
  box-shadow: var(--shadow);
}

.post-card__meta {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
}

.post-card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--brand-blue);
}

.post-card__excerpt {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.feature__text {
  margin: 0;
  font-size: 0.95rem;
  color: inherit;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 18px;
  margin-bottom: 12px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  padding-bottom: 8px;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item a {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Footer */
/* Блок блога — карточки с обложкой (как лента статей) */
.section--blog-feed {
  padding-top: clamp(48px, 7vw, 72px);
  padding-bottom: clamp(56px, 9vw, 96px);
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f7 55%, #e8edf3 100%);
}

.section__head--blog {
  align-items: center;
  margin-bottom: 32px;
}

.section__head--blog .section__title {
  margin-bottom: 0;
}

.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .article-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .article-cards {
    grid-template-columns: 1fr;
  }
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.22s ease, transform 0.18s ease;
}

.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.article-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.article-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(125deg, #dbeafe 0%, #fce7f3 45%, #e0e7ff 100%);
}

.article-card--stub .article-card__media {
  cursor: default;
  pointer-events: none;
}

.article-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 20px;
}

.article-card__meta {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.article-card__topic {
  color: var(--brand-blue);
  font-weight: 600;
}

.article-card__title {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.article-card__title a {
  color: var(--text);
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--brand-blue);
}

.article-card__excerpt {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.scroll-thermometer {
  --thermo-fill: 0.06;
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 240;
  width: 110px;
  pointer-events: none;
  transform: translateY(-50%);
}

.scroll-thermometer__stage {
  position: relative;
  filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.2));
}

.scroll-thermometer__svg {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.scroll-thermometer__body {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.scroll-thermometer__line,
.scroll-thermometer__ticks,
.scroll-thermometer__smile {
  fill: none;
  stroke: #111827;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-thermometer__ticks {
  stroke-width: 3;
}

.scroll-thermometer__smile {
  stroke-width: 5;
}

.scroll-thermometer__arm {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 12;
  stroke-linecap: round;
}

.scroll-thermometer__num,
.scroll-thermometer__label {
  fill: #111827;
  font-family: var(--font-body);
  font-weight: 800;
}

.scroll-thermometer__num {
  font-size: 17px;
}

.scroll-thermometer__label {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.scroll-thermometer__mercury {
  fill: #e11d48;
  transform: scaleY(var(--thermo-fill));
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.12s linear;
}

.scroll-thermometer__shard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 12px;
  border-radius: 70% 35% 65% 40%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(173, 232, 244, 0.88));
  border: 2px solid rgba(17, 24, 39, 0.76);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
  transition: transform 0.58s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

.scroll-thermometer.is-exploded .scroll-thermometer__svg {
  opacity: 0.18;
  filter: blur(1px);
  transform: scale(0.84) rotate(-7deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard {
  opacity: 1;
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--1 {
  transform: translate(-80px, -92px) scale(1) rotate(-32deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--2 {
  transform: translate(52px, -88px) scale(0.9) rotate(48deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--3 {
  transform: translate(-104px, -10px) scale(1.05) rotate(18deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--4 {
  transform: translate(82px, -16px) scale(1) rotate(-58deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--5 {
  transform: translate(-60px, 74px) scale(0.95) rotate(72deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--6 {
  transform: translate(62px, 76px) scale(1.06) rotate(-18deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--7 {
  transform: translate(-12px, -124px) scale(0.82) rotate(104deg);
}

.scroll-thermometer.is-exploded .scroll-thermometer__shard--8 {
  transform: translate(8px, 116px) scale(0.92) rotate(-108deg);
}

@media (max-width: 1180px) {
  .scroll-thermometer {
    width: 82px;
    left: 6px;
    opacity: 0.82;
  }
}

@media (max-width: 760px) {
  .scroll-thermometer {
    display: none;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 320;
  width: min(900px, calc(100% - 84px));
  transform: translateX(-50%);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px 14px 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.06);
}

.cookie-banner__text {
  margin: 0;
  color: #111827;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cookie-banner__text a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.cookie-banner__close {
  flex-shrink: 0;
  min-width: 106px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #3690ff 0%, #1d74f5 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(29, 116, 245, 0.24);
}

.cookie-banner__close:hover {
  filter: brightness(1.05);
}

@media (max-width: 900px) {
  .cookie-banner {
    bottom: 14px;
    width: calc(100% - 24px);
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .cookie-banner__close {
    width: 100%;
  }
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  background: #fff;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__main {
  display: grid;
  gap: 10px;
  min-width: min(560px, 100%);
}

.footer__about {
  margin: 0;
}

.footer__inner a {
  color: var(--brand-blue);
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  font-weight: 600;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__company {
  width: min(520px, 100%);
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(239, 6, 85, 0.05));
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: var(--text);
}

.footer__company-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__company-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__company-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
}

.footer__company-label {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.72);
}

.footer__company-value {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.92);
}

.footer__company-mail {
  font-weight: 800;
  text-decoration: none;
}

.footer__company-mail:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footer__company-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Архив и одиночная запись (WP) */
.site-archive {
  padding-bottom: 48px;
}

.single-wrap .entry-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.single-wrap .entry-meta {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.single-wrap .entry-content {
  font-size: 1.05rem;
}

.single-wrap .entry-content img {
  max-width: 100%;
  height: auto;
}
