/* =============================================
   SIBERIA-EXPERT.COM — Main Stylesheet
   Palette: Navy #1A3A5C | Green #2E7D52 | White #FFFFFF | Light #F4F7F2 | Accent #3DAB6E
   ============================================= */

/* Шрифты подключаются через <link> в <head> index.html */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1A3A5C;
  --navy2:   #0F2540;
  --green:   #2E7D52;
  --green2:  #3DAB6E;
  --white:   #FFFFFF;
  --light:   #F4F7F2;
  --light2:  #EDF3EE;
  --gray:    #6B7280;
  --gray2:   #9CA3AF;
  --border:  #D1DFD6;
  --text:    #1C2B1E;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow: 0 2px 16px rgba(26,58,92,0.10);
  --shadow-lg: 0 8px 40px rgba(26,58,92,0.14);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.22; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green2);
  display: block;
  margin-bottom: 0.6rem;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.header-logo-sub {
  font-size: 0.65rem;
  color: var(--green);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--green2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-link:hover { color: var(--green); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--green); }
.nav-link.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-outline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 7px 18px;
  border-radius: var(--r-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-primary {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 7px 18px;
  border-radius: var(--r-sm);
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: var(--green2);
  transform: translateY(-1px);
}

.btn-primary-lg {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 14px 32px;
  border-radius: var(--r-md);
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-lg:hover {
  background: var(--green2);
  transform: translateY(-2px);
}

.btn-ghost-lg {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost-lg:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 10px 8px; font-size: 1rem; }
.mobile-menu .header-actions { margin-top: 12px; flex-direction: column; align-items: stretch; }
.mobile-menu .btn-primary,
.mobile-menu .btn-outline { text-align: center; justify-content: center; padding: 10px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 50%, #1e5c3a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 600px; height: 600px;
  background: rgba(61,171,110,0.18);
  top: -100px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-bg-orb-2 {
  width: 400px; height: 400px;
  background: rgba(26,58,92,0.35);
  bottom: -80px; left: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-left {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,171,110,0.15);
  border: 1px solid rgba(61,171,110,0.35);
  color: #7DD9A4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease both;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: #7DD9A4;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s 0.1s ease both;
}

.hero-title span {
  color: var(--green2);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeInDown 0.8s 0.2s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInDown 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInDown 0.8s 0.4s ease both;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green2);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  animation: fadeInRight 1s 0.2s ease both;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 28px;
}

.hero-card-main {
  position: relative;
  z-index: 2;
}

.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-card-float-1 {
  top: -18px; right: -20px;
  animation-delay: 0s;
}

.hero-card-float-2 {
  bottom: -18px; left: -20px;
  animation-delay: 2s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-card-icon {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-card-float-text strong {
  font-size: 0.82rem;
  color: var(--white);
  display: block;
}

.hero-card-float-text span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
}

.hero-expertise-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-expertise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
}

.expertise-check {
  width: 20px; height: 20px;
  background: rgba(61,171,110,0.25);
  border: 1px solid rgba(61,171,110,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--green2);
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}

/* =============================================
   NEWS SECTION
   ============================================= */
.news-section {
  background: var(--white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 20px;
}

.section-header-left {}

.section-title {
  color: var(--navy);
}

.section-desc {
  color: var(--gray);
  max-width: 520px;
  margin-top: 8px;
  font-size: 0.95rem;
}

.link-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.link-all:hover { color: var(--green2); }
.link-all:hover .arrow { transform: translateX(4px); }
.arrow { transition: transform var(--transition); }

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

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.news-card:hover {
  border-color: var(--green2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-top {
  padding: 24px 24px 0;
}

.news-card-tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--light2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.news-card:hover .news-card-title { color: var(--green); }

.news-card-excerpt {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.news-card-bottom {
  margin-top: auto;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--gray2);
  font-family: var(--font-mono);
}

.news-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  transition: var(--transition);
}

.news-card-link:hover { color: var(--navy); }

/* =============================================
   TRUST SECTION
   ============================================= */
.trust-section {
  background: var(--light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.trust-card:hover::before { transform: scaleX(1); }
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.trust-icon {
  width: 52px; height: 52px;
  background: var(--light2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.trust-card:hover .trust-icon {
  background: var(--green);
}

.trust-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-num span {
  color: var(--green);
}

.trust-label {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

/* =============================================
   CTA CONSULT SECTION
   ============================================= */
.cta-consult {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-consult-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(61,171,110,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-consult-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-consult-left {}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,171,110,0.15);
  border: 1px solid rgba(61,171,110,0.3);
  color: var(--green2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.cta-consult-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-consult-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.pain-icon {
  width: 22px; height: 22px;
  background: rgba(61,171,110,0.2);
  border: 1px solid rgba(61,171,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--green2);
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-consult-right {}

.consult-form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.form-title {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 0.9rem;
  padding: 10px 14px;
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green2);
  background: rgba(255,255,255,0.12);
}

.form-group select {
  cursor: pointer;
  color: rgba(255,255,255,0.7);
}

.form-group select option { background: var(--navy2); color: var(--white); }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--green2);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 10px;
}

/* =============================================
   EXPERTS SECTION
   ============================================= */
.experts-section {
  background: var(--white);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.expert-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.expert-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.expert-card:hover::after { transform: scaleX(1); }
.expert-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }

.expert-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--light2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.expert-card:hover .expert-avatar {
  border-color: var(--green2);
  background: var(--light);
}

.expert-name {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.expert-role {
  font-size: 0.78rem;
  color: var(--green);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.expert-desc {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 18px;
}

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.7rem;
  color: var(--navy);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
}

/* =============================================
   JOURNAL SECTION
   ============================================= */
.journal-section {
  background: var(--light);
}

.journal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.journal-visual {
  position: relative;
}

.journal-cover {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-cover-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(61,171,110,0.2) 0%, transparent 60%);
}

.journal-cover-top {
  position: relative;
  z-index: 1;
}

.journal-cover-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green2);
  margin-bottom: 12px;
}

.journal-cover-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.journal-cover-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

.journal-cover-issue {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}

.journal-cover-year {
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  position: absolute;
  bottom: 30px; right: 30px;
  line-height: 1;
}

.journal-float-badge {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: cardFloat 5s ease-in-out infinite;
}

.journal-float-badge strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  display: block;
  line-height: 1;
}

.journal-content {}

.journal-title {
  color: var(--navy);
  margin-bottom: 18px;
}

.journal-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.journal-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.journal-fact {
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 18px;
  border: 1px solid var(--border);
}

.journal-fact-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.journal-fact-label {
  font-size: 0.78rem;
  color: var(--gray);
}

/* =============================================
   CTA BOTTOM
   ============================================= */
.cta-bottom {
  background: linear-gradient(135deg, var(--green) 0%, var(--navy) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bottom-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-bottom-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-bottom-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-bottom-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 36px;
}

.cta-bottom-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy2);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img { height: 38px; }

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-contact-item {
  font-size: 0.82rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item a {
  color: var(--green2);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--white); }

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  line-height: 1.4;
}

.footer-link:hover { color: var(--green2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--green2); }

/* =============================================
   IMAGE SLOTS
   ============================================= */

/* Универсальный слот под изображение */
.img-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--light2);
  border: 2px dashed var(--border);
}

/* Заглушка-placeholder внутри слота */
.img-slot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray2);
  pointer-events: none;
  transition: opacity var(--transition);
}

.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.img-slot:hover img { transform: scale(1.04); }

/* Когда картинка загружена — прячем placeholder */
.img-slot.has-image .img-slot-placeholder { opacity: 0; }
.img-slot.has-image { border: none; background: transparent; }

.img-slot-icon {
  width: 44px; height: 44px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.img-slot-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray2);
}

/* Hero — фоновый слот */
.hero-img-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

/* Слот в карточке новости */
.news-card-img {
  width: 100%;
  height: 180px;
  margin-bottom: 0;
  border-radius: 0;
}

.news-card-img .img-slot-placeholder { font-size: 0.7rem; }

/* Слот аватара эксперта */
.expert-avatar-slot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 18px;
  flex-shrink: 0;
  border: 2px dashed var(--border);
}

.expert-avatar-slot.has-image { border: 2px solid var(--border); }
.expert-avatar-slot img { border-radius: 50%; }

.expert-avatar-slot .img-slot-placeholder { font-size: 1.6rem; gap: 0; }
.expert-avatar-slot .img-slot-label { display: none; }
.expert-avatar-slot .img-slot-icon {
  background: none;
  width: auto; height: auto;
  font-size: 1.8rem;
}

/* Gallery section */
.gallery-section {
  background: var(--light);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 200px;
  gap: 12px;
}

.gallery-item-1 { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery-item-2 { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item-4 { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item-5 { grid-column: 5 / 9; grid-row: 2 / 3; }
.gallery-item-6 { grid-column: 9 / 13; grid-row: 2 / 3; }

.gallery-item { height: 100%; }
.gallery-item .img-slot { height: 100%; border-radius: var(--r-md); }

/* About image slot */
.about-img-slot {
  width: 100%;
  aspect-ratio: 4/3;
}

/* Journal cover image slot */
.journal-cover-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.journal-cover-img img { opacity: 0.25; border-radius: var(--r-lg); }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-item-1,
  .gallery-item-2,
  .gallery-item-3,
  .gallery-item-4,
  .gallery-item-5,
  .gallery-item-6 { grid-column: auto; grid-row: auto; }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 180px);
  }
  .news-card-img { height: 140px; }
}

/* =============================================
   SEO TEXT SECTION
   ============================================= */
.seo-section {
  background: var(--white);
  padding: 80px 0;
}

.seo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.seo-block h2, .seo-block h3 {
  color: var(--navy);
  margin-bottom: 14px;
}

.seo-block h3 { font-size: 1.15rem; margin-top: 24px; }

.seo-block p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { justify-content: flex-start; }
  .hero-card-stack { max-width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .journal-inner { grid-template-columns: 1fr; gap: 40px; }
  .journal-visual { max-width: 320px; }
}

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-consult-inner { grid-template-columns: 1fr; gap: 40px; }
  .seo-inner { grid-template-columns: 1fr; gap: 32px; }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .header-nav { display: none; }
  .burger { display: flex; }
  .btn-outline { display: none; }
}

/* =============================================
   IMAGE SLOTS
   ============================================= */

.img-slot {
  position: relative;
  overflow: hidden;
  background: var(--light2);
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray2);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-align: center;
  transition: var(--transition);
  user-select: none;
}

.img-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(46,125,82,0.04) 8px,
    rgba(46,125,82,0.04) 16px
  );
  pointer-events: none;
}

.img-slot-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.img-slot-label strong { color: var(--gray); font-size: 0.72rem; }
.img-slot-label span   { font-size: 0.65rem; color: var(--gray2); }

.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-md) - 2px);
}

/* Keep correct rounding when we place real images inside slots */
.news-card-img-slot img {
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.expert-photo-slot img {
  border-radius: 50%;
}

/* Sizes */
.hero-img-slot        { width: 100%; aspect-ratio: 16/9; max-height: 340px; }
.news-card-img-slot   { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-md) var(--r-md) 0 0; border-bottom: 2px dashed var(--border); border-left: none; border-right: none; border-top: none; }
.expert-photo-slot    { width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0; }
.expert-photo-slot svg { width: 28px; height: 28px; }
.journal-img-slot     { width: 100%; aspect-ratio: 3/4; max-height: 480px; border-radius: var(--r-lg); }
.article-img-slot     { width: 100%; aspect-ratio: 4/3; }
.banner-img-slot      { width: 100%; aspect-ratio: 21/6; border-radius: var(--r-lg); }

/* Gallery */
.img-gallery-row { display: grid; gap: 16px; margin-top: 32px; }
.img-gallery-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.img-gallery-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.img-gallery-row .img-slot { aspect-ratio: 4/3; }

/* Dark variant */
.img-slot-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.4);
}
.img-slot-dark::before {
  background: repeating-linear-gradient(
    45deg,
    transparent, transparent 8px,
    rgba(255,255,255,0.03) 8px, rgba(255,255,255,0.03) 16px
  );
}
.img-slot-dark .img-slot-label strong { color: rgba(255,255,255,0.55); }
.img-slot-dark .img-slot-label span   { color: rgba(255,255,255,0.3); }

/* When a real image is inserted, remove the dashed placeholder overlay */
.img-slot.has-img {
  background: transparent;
  border-style: solid;
  border-color: rgba(209,223,214,0.65);
}

.img-slot.has-img::before {
  display: none;
}

.img-slot.has-img.news-card-img-slot {
  border-bottom-style: solid;
}

/* =============================================
   INNER PAGES (about, articles, lists)
   ============================================= */

.page-hero {
  padding-top: 132px;
  padding-bottom: 56px;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 50%, #1e5c3a 100%);
  color: var(--white);
}

.page-hero .section-label { color: #8de1b0; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; max-width: 900px; }
.page-hero-lead { color: rgba(255,255,255,0.76); max-width: 760px; font-size: 0.98rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

.page-section { padding: 64px 0; }
.page-section.alt { background: var(--light); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--gray);
  font-family: var(--font-mono);
}

.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.prose { max-width: 780px; }
.prose h2 { color: var(--navy); margin: 32px 0 14px; font-size: 1.45rem; }
.prose h3 { color: var(--navy); margin: 24px 0 10px; font-size: 1.15rem; }
.prose p { color: var(--gray); font-size: 0.94rem; line-height: 1.75; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: var(--gray); font-size: 0.94rem; line-height: 1.7; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green); font-weight: 500; }
.prose a:hover { color: var(--navy); }
.prose blockquote {
  border-left: 3px solid var(--green2);
  padding: 14px 18px;
  margin: 20px 0;
  background: var(--light2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text);
  font-style: italic;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  position: sticky;
  top: 92px;
}

.sidebar-card h3 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-link {
  font-size: 0.84rem;
  color: var(--gray);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: var(--transition);
  line-height: 1.4;
}
.sidebar-link:hover { background: var(--light2); color: var(--green); }

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.list-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-card:hover {
  border-color: var(--green2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.list-card-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.list-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
}

.list-card p { font-size: 0.86rem; color: var(--gray); flex: 1; }
.list-card-date { font-size: 0.75rem; color: var(--gray2); font-family: var(--font-mono); }

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

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
}

.info-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.1rem; }
.info-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

.timeline { display: grid; gap: 16px; margin-top: 24px; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-year {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--green);
  font-size: 1.2rem;
}
.timeline-item p { font-size: 0.9rem; color: var(--gray); }

.faq-grid { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  background: var(--white);
}
.faq-item h3, .faq-item h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.faq-item p { font-size: 0.86rem; color: var(--gray); margin: 0; }

.toc-card, .author-box, .callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
}

.callout { border-left: 3px solid var(--green2); background: var(--light2); }
.callout strong { color: var(--navy); }

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

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
}
.doc-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.doc-card p { font-size: 0.86rem; color: var(--gray); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 18px;
  background: var(--white);
}
.step-num {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.step p { font-size: 0.86rem; color: var(--gray); margin: 0; }

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.issue-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  min-height: 160px;
}
.issue-card .list-card-tag { margin-bottom: 8px; display: block; }
.issue-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .list-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .issue-grid { grid-template-columns: 1fr; }
}

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

/* =============================================
   END IMAGE SLOTS
   ============================================= */

@media (max-width: 600px) {
  .img-gallery-row.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-img-slot { aspect-ratio: 4/3; }
  .banner-img-slot { aspect-ratio: 4/3; }
  .expert-photo-slot { width: 68px; height: 68px; }
}

@media (max-width: 600px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .journal-facts { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-card-float { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .cta-bottom-actions { flex-direction: column; align-items: center; }
}
