/* ================================================================
   OBSIDIAN MINIMAL - УЛЬТРА-МИНИМАЛИЗМ БЕЗ НЕОНА
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&family=Crimson+Pro:wght@600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Work Sans', system-ui, sans-serif;
  line-height: 1.6;
  color: #cbd5e1;
  background: #0f0f0f;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ================================================================
   HEADER - ГОРИЗОНТАЛЬНАЯ КОМПОНОВКА В ОДИН РЯД
   ================================================================ */
header {
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.75rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 4rem;
  align-items: center;
}

/* Логотип слева - компактный */
.site-brand {
  display: flex;
  align-items: center;
}

.site-logo {
  font-family: 'Crimson Pro', serif;
  font-size: 1.625rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.site-logo:hover {
  color: #e2e8f0;
}

/* Навигация - горизонтально в центре */
#top_menus {
  display: flex;
  gap: 2.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

#top_menus .nav-link {
  font-family: 'Work Sans', sans-serif;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0;
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#top_menus .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #cbd5e1;
  transition: width 0.2s ease;
}

#top_menus .nav-link:hover,
#top_menus .current-menu-item .nav-link {
  color: #ffffff;
}

#top_menus .nav-link:hover::before,
#top_menus .current-menu-item .nav-link::before {
  width: 100%;
}

/* Tagline по центру между лого и меню */
.header-tagline {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Контакты справа - минималистичные */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.header-phone,
.header-email {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.header-phone:hover,
.header-email:hover {
  color: #ffffff;
}

/* ================================================================
   HERO SECTION - АСИММЕТРИЧНЫЙ LAYOUT
   ================================================================ */
.hero-section {
  background: #0f0f0f;
  padding: 4.5rem 3.5rem 4.5rem;
  position: relative;
  border-bottom: 1px solid #2a2a2a;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, #64748b 0%, transparent 100%);
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content h1 {
  font-family: 'Crimson Pro', serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 850px;
}

.hero-content p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
}

/* ================================================================
   FEATURES SECTION - MODERN GRID LAYOUT
   ================================================================ */
.features-section {
  background: #0f0f0f;
  padding: 6rem 3.5rem;
  border-bottom: 1px solid #2a2a2a;
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, #64748b 0%, transparent 100%);
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: start;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
  color: #ffffff;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.25px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   BANNER SECTION - CYCLING IMAGE WITH OVERLAY TEXT
   ================================================================ */
.banner-section {
  background: #0f0f0f;
  padding: 0;
  border-bottom: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
}

.banner-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 500px;
}

.banner-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.85) contrast(1.1);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.banner-section:hover .banner-image img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(0.9) contrast(1.15);
}

.banner-content {
  padding: 4rem 3.5rem;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 500px;
}

.banner-content h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.banner-content p {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
}

.banner-content p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   ABOUT SECTION - CLEAN CONTENT BLOCK
   ================================================================ */
.about-section {
  background: #0f0f0f;
  padding: 6rem 3.5rem;
  border-bottom: 1px solid #2a2a2a;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-content {
  text-align: left;
}

.about-content h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2rem 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.about-content p {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   CTA SECTION - CALL TO ACTION
   ================================================================ */
.cta-section {
  background: #1a1a1a;
  padding: 6rem 3.5rem;
  border-bottom: 1px solid #2a2a2a;
  position: relative;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 1px;
  background: linear-gradient(270deg, #64748b 0%, transparent 100%);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.cta-content p {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 3rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-button.primary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #64748b;
}

.cta-button.primary:hover {
  background: #64748b;
  color: #ffffff;
  border-color: #64748b;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: #cbd5e1;
  border: 2px solid transparent;
  border-bottom: 2px solid #475569;
}

.cta-button.secondary:hover {
  color: #ffffff;
  border-bottom-color: #cbd5e1;
}

/* ================================================================
   POST LIST - 3 COLUMNS GRID
   ================================================================ */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3.5rem;
  max-width: 1400px;
  margin: 5.5rem auto;
  padding: 0 3.5rem;
}

/* Карточка поста - строгий минимализм */
.post-item {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.post-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #64748b;
  transition: width 0.3s ease;
}

.post-item:hover::after {
  width: 100%;
}

.post-featured-image {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #1a1a1a;
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(0.3) brightness(0.9) contrast(1.1);
}

.post-item:hover .post-featured-image img {
  transform: scale(1.03);
  filter: grayscale(0) brightness(1) contrast(1.15);
}

.post-item h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.25px;
}

.post-item h3 a {
  color: #ffffff;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.post-item h3 a:hover {
  border-bottom-color: #64748b;
}

.post-item p {
  margin: 0 0 2rem 0;
  color: #94a3b8;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.post-item > a:last-of-type {
  align-self: flex-start;
  margin: 0 0 1.5rem 0;
  background: transparent;
  color: #cbd5e1;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.post-item > a:last-of-type::after {
  content: '→';
  margin-left: 0.5rem;
  transition: margin-left 0.2s ease;
}

.post-item > a:last-of-type:hover {
  color: #ffffff;
}

.post-item > a:last-of-type:hover::after {
  margin-left: 0.75rem;
}

/* ================================================================
   PAGINATION
   ================================================================ */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 5.5rem auto 7rem;
  font-weight: 600;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.875rem;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #3a3a3a;
}

.next.page-numbers,
.prev.page-numbers {
  background: transparent;
  border-color: transparent;
  color: #cbd5e1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8125rem;
}

.next.page-numbers:hover,
.prev.page-numbers:hover {
  color: #ffffff;
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */
.breadcrumbs {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 3.5rem;
  font-size: 0.875rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumbs a {
  color: #94a3b8;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs span {
  color: #475569;
}

/* ================================================================
   PAGE CONTENT - ШИРОКИЙ ФОРМАТ
   ================================================================ */
.page-content {
  max-width: 1000px;
  margin: 4rem auto 7rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.page-content .post-featured-image {
  height: auto;
  margin: 0 0 4rem 0;
  max-height: 550px;
}

.page-content .post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.page-content h1 {
  font-family: 'Crimson Pro', serif;
  font-size: 3.75rem;
  margin: 0 0 2.5rem 0;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.page-content .content {
  padding: 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.page-content .content p {
  margin-bottom: 2rem;
}

.page-content .content h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2.5rem;
  margin: 4rem 0 1.75rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.75px;
}

.page-content .content h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.875rem;
  margin: 3rem 0 1.25rem;
  color: #f1f5f9;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.page-content .content ul,
.page-content .content ol {
  margin: 2rem 0 2rem 2rem;
  line-height: 1.8;
}

.page-content .content li {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.page-content .content a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #475569;
  transition: border-color 0.2s ease;
}

.page-content .content a:hover {
  border-bottom-color: #cbd5e1;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.error-404-content {
  max-width: 700px;
  margin: 10rem auto;
  padding: 0;
  text-align: center;
  background: transparent;
  border: none;
}

.error-404-content h1 {
  font-family: 'Crimson Pro', serif;
  font-size: 12rem;
  color: #2a2a2a;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1;
  letter-spacing: -6px;
}

.error-404-content h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.75px;
}

.error-404-content p {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.error-404-content a {
  background: transparent;
  color: #ffffff;
  padding: 0;
  border-radius: 0;
  font-weight: 700;
  display: inline-block;
  transition: all 0.2s ease;
  border-bottom: 2px solid #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.error-404-content a:hover {
  border-bottom-color: #ffffff;
}

/* ================================================================
   FOOTER - МИНИМАЛИСТИЧНАЯ СТРУКТУРА В ОДИН РЯД
   ================================================================ */
footer {
  background: #0a0a0a;
  border-top: 1px solid #2a2a2a;
  padding: 4.5rem 3.5rem 3rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, #64748b 0%, transparent 100%);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Crimson Pro', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-description {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 420px;
}

/* Контакты в футере */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-contact-item svg {
  flex-shrink: 0;
  stroke: #64748b;
  transition: stroke 0.2s ease;
  width: 16px;
  height: 16px;
}

.footer-contact-item:hover {
  color: #cbd5e1;
}

.footer-contact-item:hover svg {
  stroke: #94a3b8;
}

.footer-contact-item.footer-address {
  cursor: default;
}

.footer-contact-item.footer-address:hover {
  color: #94a3b8;
}

.footer-contact-item.footer-address:hover svg {
  stroke: #64748b;
}

.footer-center {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 1.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Меню в футере */
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #cbd5e1;
}

.footer-right {
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: left;
  padding-top: 4rem;
  margin-top: 4rem;
  border-top: 1px solid #1a1a1a;
  color: #475569;
  font-size: 0.8125rem;
  letter-spacing: 0.3px;
}

.footer-bottom a {
  color: #64748b;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #94a3b8;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

/* Планшеты */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 2.5rem;
    gap: 2.5rem;
    grid-template-columns: auto 1fr auto;
  }

  .header-tagline {
    display: none;
  }

  .hero-section {
    padding: 4rem 2.5rem;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  #top_menus {
    gap: 2rem;
  }

  .post-list {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2.5rem;
    gap: 2rem 2.5rem;
    margin: 4.5rem auto;
  }

  .banner-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .banner-image {
    min-height: 400px;
    order: 1;
  }

  .banner-content {
    padding: 3.5rem 2.5rem;
    min-height: auto;
    order: 2;
  }

  .banner-content h2 {
    font-size: 2.25rem;
  }

  .page-content {
    margin: 3.5rem auto 6rem;
    padding: 0 2.5rem;
  }

  .page-content h1 {
    font-size: 3rem;
  }

  .footer-container {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    padding: 0 2.5rem;
  }

  .footer-right {
    grid-column: 1 / -1;
  }

  .features-section {
    padding: 4.5rem 2.5rem;
  }

  .features-grid {
    gap: 3rem;
  }

  .about-section {
    padding: 4.5rem 2.5rem;
  }

  .about-content h2 {
    font-size: 2.25rem;
  }

  .cta-section {
    padding: 4.5rem 2.5rem;
  }

  .cta-content h2 {
    font-size: 2.25rem;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  header {
    padding: 1.5rem 0;
  }

  .header-container {
    padding: 0 2rem;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .site-brand {
    justify-content: center;
  }

  .site-logo {
    font-size: 1.5rem;
  }

  #top_menus {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }

  #top_menus .nav-link {
    font-size: 0.8125rem;
  }

  .header-actions {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .header-phone,
  .header-email {
    font-size: 0.8125rem;
  }

  .hero-section {
    padding: 3.5rem 2rem;
    text-align: center;
  }

  .hero-section::after {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-content h1 {
    font-size: 2.25rem;
    max-width: 100%;
  }

  .hero-content p {
    font-size: 1rem;
    max-width: 100%;
  }

  .features-section {
    padding: 4rem 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-card h3 {
    font-size: 1.375rem;
  }

  .about-section {
    padding: 4rem 2rem;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .cta-section {
    padding: 4rem 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
    padding: 1rem 2rem;
  }

  .post-list {
    grid-template-columns: 1fr;
    padding: 0 2rem;
    gap: 3rem;
    margin: 3.5rem auto;
  }

  .banner-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .banner-image {
    min-height: 350px;
    order: 1;
  }

  .banner-content {
    padding: 3rem 2rem;
    min-height: auto;
    order: 2;
  }

  .banner-content h2 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .post-featured-image {
    height: 220px;
  }

  .post-item h3 {
    font-size: 1.375rem;
  }

  .page-content {
    margin: 3rem auto 5rem;
    padding: 0 2rem;
  }

  .page-content h1 {
    font-size: 2.5rem;
  }

  .page-content .content {
    font-size: 1rem;
  }

  .page-content .content h2 {
    font-size: 2rem;
  }

  .page-content .content h3 {
    font-size: 1.5rem;
  }

  .breadcrumbs {
    padding: 0 2rem;
    font-size: 0.8125rem;
    margin: 2.5rem auto 0;
  }

  .error-404-content {
    margin: 7rem auto;
    padding: 0 2rem;
  }

  .error-404-content h1 {
    font-size: 8rem;
  }

  .error-404-content h2 {
    font-size: 2rem;
  }

  footer {
    padding: 3.5rem 2rem 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0;
  }

  .footer-contacts {
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .footer-contact-item {
    font-size: 0.8125rem;
  }

  .footer-menu {
    gap: 1rem;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 1.375rem;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .hero-content p {
    font-size: 0.9375rem;
  }

  .post-featured-image {
    height: 200px;
  }

  .post-item h3 {
    font-size: 1.25rem;
  }

  .page-content h1 {
    font-size: 2rem;
  }

  .error-404-content h1 {
    font-size: 6rem;
  }

  .error-404-content h2 {
    font-size: 1.75rem;
  }

  .footer-brand {
    font-size: 1.5rem;
  }

  .features-section {
    padding: 3.5rem 1.5rem;
  }

  .banner-image {
    min-height: 300px;
  }

  .banner-content {
    padding: 2.5rem 1.5rem;
  }

  .banner-content h2 {
    font-size: 1.75rem;
  }

  .about-section {
    padding: 3.5rem 1.5rem;
  }

  .about-content h2 {
    font-size: 1.75rem;
  }

  .cta-section {
    padding: 3.5rem 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }
}

/* ================================================================
   УТИЛИТЫ
   ================================================================ */

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 120px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}
