body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
}

.hero-article {
  padding: 200px 0 180px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(11, 30, 45, 0.88),
    rgba(26, 51, 68, 0.85) 35%,
    rgba(47, 80, 112, 0.78) 70%,
    rgba(160, 77, 43, 0.7) 100%
  );
}
.hero-article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 30, 60, 0.92),
    rgba(120, 80, 50, 0.15)
  );
}
.hero-article .container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-article h1,
.hero-article h2,
.hero-article p,
.hero-article li,
.hero-article strong {
  color: #ffffff !important;
}
.hero-article h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 48px;
}
.hero-article h2 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 32px;
}
.hero-article p {
  font-size: 20px;
  line-height: 1.7;
  margin: 24px 0;
}
.hero-article ul {
  list-style: none;
  padding-left: 0;
  margin: 32px 0;
}
.hero-article li {
  font-size: 20px;
  line-height: 1.7;
  margin: 18px 0;
  position: relative;
  padding-left: 42px;
}
.hero-article li:before {
  content: "✓";
  color: #ff8c38;
  font-weight: 900;
  font-size: 28px;
  position: absolute;
  left: 0;
  top: -4px;
}
.hero-article .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-article .intro-img img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 140, 56, 0.3);
}

.article-cont {
  padding: 120px 0 160px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.article {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px 60px;
  box-sizing: border-box;
}
.article h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  color: #0a3d62;
  margin: 64px 0 32px;
  position: relative;
}
.article h2:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(135deg, #ff8c38, #e63946);
  border-radius: 3px;
}
.article h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: #004c80;
  margin: 48px 0 24px;
}
.article p {
  font-size: 18px;
  line-height: 1.7;
  color: #1e2a38;
  margin: 20px 0;
}

.article ul {
  list-style: none;
  padding-left: 0;
  margin: 28px 0;
}
.article li {
  font-size: 18px;
  line-height: 1.7;
  color: #1e2a38;
  margin: 16px 0;
  position: relative;
  padding-left: 38px;
}
.article li:before {
  content: "✓";
  color: #ff8c38;
  font-weight: 900;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -2px;
}

@media (max-width: 1000px) {
  .hero-article .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-article .intro-img img {
    height: 400px;
  }
}
@media (max-width: 768px) {
  .hero-article {
    padding: 180px 30px 140px;
  }
  .hero-article h1 {
    font-size: 38px;
  }
  .hero-article h2 {
    font-size: 32px;
  }
  .article {
    padding: 0 30px;
  }
}
@media (max-width: 540px) {
  .hero-article {
    padding: 150px 15px 120px;
  }
  .hero-article h1 {
    font-size: 34px;
  }
  .article {
    padding: 0 15px;
  }
}

.full-img img {
  width: 90%;
  display: block;
  margin: 0px auto;
  border-radius: 20px;
}

.article h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  color: #0a3d62;
  margin: 64px 0 32px;
  position: relative;
}

.article li {
  list-style: none;
  font-size: 18px;
  line-height: 1.7;
  color: #1e2a38;
  margin: 16px 0;
  position: relative;
  padding-left: 38px;
}
.article p {
  font-size: 18px;
  line-height: 1.7;
  color: #1e2a38;
  margin: 16px 0;
}
.article li:before {
  content: "✓";
  color: #ff8c38;
  font-weight: 900;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -2px;
}

.strong-text {
  font-weight: 600;
}

.article section:nth-child(2n + 1) {
  margin: 56px 0;
  padding: 44px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 4px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ff8c38, #e63946, #a0522d, #8b4513) border-box;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.14);
}

.article section img {
 display: block;
 width:100%;
 border-radius: 30px;
 max-height: 390px;
 object-fit: cover;
 object-position: top;
}

@media (max-width: 700px) {

  .hero-article{
    max-height: 400px ;
  }
  .article h2 {
    margin: 20px 0 40px;
    font-size: 28px;
  }

  .article section:nth-child(2n+1) {
    padding: 20px;
    margin: 35px 0 0px;
  
  }

    .article section:nth-child(2n) {
      padding: 20px;}

  .article h3 {
    font-size: 22px;
  }

  .full-img img {
    width: 100%;
  }
}

/* BLOG */

.blog-cont {
  padding: 160px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.container-blog {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.blog-cont a {
  text-decoration: none !important;
  color: inherit;
}

.blog__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
.blog__title-wrap {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.blog__main-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  color: #000000;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.4s ease-out 0.4s forwards;
}
.blog__subtitle {
  font-size: 26px;
  line-height: 1.5;
  color: #1e2a38;
  margin: 20px 0 0;
  max-width: 680px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.4s ease-out 0.8s forwards;
}
.blog__main-btn {
  margin-top: 32px;
  padding: 18px 44px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff !important;
  /*         background:linear-gradient(135deg,#2c5f7a,#46728a); */
  background-color: #1e88e5;

  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(44, 95, 122, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.4s ease-out 1.1s forwards;
  transition: all 0.4s;
}
.blog__main-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 95, 122, 0.5);
}

.blog__card,
.articles__card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 4px solid transparent;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(
        rgba(255, 255, 255, 0.88),
        rgba(255, 255, 255, 0.88)
      )
      padding-box,
    linear-gradient(135deg, #2c5f7a, #46728a, #1e88e5, #ffc107) border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.45s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
}
.blog__card:hover,
.articles__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}
.blog__card-img,
.articles__card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}
.blog__card-content,
.articles__card-content {
  padding: 28px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog__card-title,
.articles__card-title {
  font-size: 18px;
  font-weight: 800;
  color: #004c80;
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog__card-text,
.articles__card-text {
  font-size: 17px;
  line-height: 1.6;
  color: #1e2a38;
  flex-grow: 1;
  margin-bottom: 20px;
}
.blog__card-btn,
.articles__card-btn {
  margin-top: auto;
  padding: 16px 20px;
  background-color: #ffc107;
  /*   background:linear-gradient(135deg,#ff8c38,#e63946,#a0522d,#8b4513); */
  color: #000000;
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.blog__card:hover .blog__card-btn,
.articles__card:hover .articles__card-btn {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Анимации появления */
.blog__header > .blog__card:nth-of-type(1) {
  animation-delay: 0.9s;
}
.blog__header > .blog__card:nth-of-type(2) {
  animation-delay: 1.1s;
}
.blog__grid .blog__card:nth-child(1) {
  animation-delay: 1.3s;
}
.blog__grid .blog__card:nth-child(2) {
  animation-delay: 1.5s;
}
.blog__grid .blog__card:nth-child(3) {
  animation-delay: 1.7s;
}
.blog__grid .blog__card:nth-child(4) {
  animation-delay: 1.9s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-floating-img {
  position: absolute;
  top: 50%;
  right: -220px;
  transform: translateY(-50%);
  width: 820px;
  height: 100%;
  background: url("") center/cover no-repeat;
  border-radius: 32px;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: all 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-cont.animated .blog-floating-img {
  right: 20px;
  opacity: 0.15;
}

/* Адаптив */
@media (max-width: 1200px) {
  .container-blog {
    padding: 0 40px;
  }
  .blog__header {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .blog__title-wrap {
    grid-column: 1/-1;
    text-align: center;
    align-items: center;
  }
  .blog__subtitle {
    font-size: 19px;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .container-blog {
    padding: 0 30px;
  }
  .blog__header {
    grid-template-columns: 1fr;
  }
  .blog__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .container-blog {
    padding: 0 20px;
  }
  .blog-cont {
    padding: 90px 0;
  }
  .blog__main-title {
    font-size: 36px;
  }
  .blog__subtitle {
    font-size: 17px;
    margin: 16px 0 0;
  }
  .blog__main-btn {
    margin-top: 28px;
    padding: 16px 36px;
    font-size: 17px;
  }
  .blog__card-img,
  .articles__card-img {
    height: 160px;
  }
  .blog__card-content,
  .articles__card-content {
    padding: 24px 20px;
  }
  .blog__card-title,
  .articles__card-title {
    font-size: 20px;
  }
  .blog__card-text,
  .articles__card-text {
    font-size: 16.5px;
  }
}
@media (max-width: 540px) {
  .container-blog {
    padding: 0 15px;
  }
  .blog__grid {
    grid-template-columns: 1fr;
  }
  .blog__card-img {
    height: 200px;
  }
  .blog__main-btn {
    min-width: auto;
    width: 100%;
    max-width: 320px;
  }
  .blog__subtitle {
    font-size: 16px;
  }
}

.articles-hero {
  background-image: url("/userfiles/images/svo-chinyat-tehniku.webp");
  background-size: cover;
  background-repeat: no-repeat;
  /*   background:linear-gradient(135deg,rgba(11,30,45,.96),rgba(26,51,68,.93) 30%,rgba(47,80,112,.86) 65%,rgba(160,77,43,.82)); */

  position: relative;
  overflow: hidden;
}
.articles-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 30, 60, 0.9),
    rgba(120, 80, 50, 0.15)
  );
  pointer-events: none;
}
.articles-hero .container-articles {
  padding: 150px;
  min-height: 500px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.articles__main-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffbb66, #ffcc88, #ffaa44, #ff9933);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.4s ease-out 0.4s forwards;
}
.articles__subtitle {
  font-size: 26px;
  line-height: 1.5;
  color: #000000;
  max-width: 680px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.4s ease-out 0.8s forwards;
  margin: 24px 0;
}

.container-articles .articles__subtitle {

  color: #ffffff;

}


.articles-blog__subtitle {
  color: #fff;
}
.articles__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.articles__title-wrap {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 50px;
}
.articles-cont {
  padding: 160px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.container-articles {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
.articles__card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
}
.articles__card-content {
  padding: 32px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.articles__card-title {
  font-size: 20px;
  font-weight: 800;
  color: #004c80;
  line-height: 1.3;
  margin-bottom: 14px;
}
.articles__card-text {
  font-size: 17px;
  line-height: 1.6;
  color: #1e2a38;
  flex-grow: 1;
  margin-bottom: 20px;
}
.articles__card-btn {
  margin-top: auto;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ff8c38, #e63946, #a0522d, #8b4513);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.articles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.articles__header > .articles__card:nth-of-type(1) {
  animation-delay: 1s;
}
.articles__header > .articles__card:nth-of-type(2) {
  animation-delay: 1.2s;
}
.articles__grid .articles__card:nth-child(1) {
  animation-delay: 1.4s;
}
.articles__grid .articles__card:nth-child(2) {
  animation-delay: 1.6s;
}
.articles__grid .articles__card:nth-child(3) {
  animation-delay: 1.8s;
}
.articles__grid .articles__card:nth-child(4) {
  animation-delay: 2s;
}
.articles__grid .articles__card:nth-child(5) {
  animation-delay: 2.2s;
}
.articles__grid .articles__card:nth-child(6) {
  animation-delay: 2.4s;
}
.articles__grid .articles__card:nth-child(7) {
  animation-delay: 2.6s;
}
.articles__grid .articles__card:nth-child(8) {
  animation-delay: 2.8s;
}

@media (max-width: 1200px) {
  .articles-hero {
    padding: 140px 40px;
  }
  .articles__header {
    grid-template-columns: 1fr 1fr;
  }
  .articles__title-wrap {
    grid-column: 1/-1;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .articles-hero {
    padding: 120px 0;
  }
  .articles__header {
    grid-template-columns: 1fr;
  }
  .articles__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .articles-hero {
    padding: 100px 0;
  }
  .articles__main-title {
    font-size: 42px;
  }
  .articles__subtitle {
    font-size: 22px;
  }
  .articles__card-img {
    height: 200px;
  }
  .articles-cont {
    padding: 100px 0;
  }
}
@media (max-width: 540px) {
  .articles-hero {
    padding: 80px 0;
  }
  .articles__main-title {
    font-size: 36px;
  }
  .articles__grid {
    grid-template-columns: 1fr;
  }
}

/* BLOG */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  margin: 40px 0px !important;
}

thead {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.article th {
  color: white;
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 17px;
}

tbody tr:nth-child(even):not(.t431__oddrow) {
  background-color: #f8f9fa;
}

tbody tr:hover:not(.t431__oddrow):not(.t431__evenrow) {
  background-color: #e3f2fd;
  transition: background-color 0.3s ease;
}

tbody td:last-child {
  font-weight: 700 !important;
  color: #ff0000;
}

.article td {
  padding: 14px 12px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  font-size: 17px;
}

/* Стили для подзаголовков категорий */
td[colspan="4"] {
  background-color: var(--header--);
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 18px 12px;
  font-size: 1.1rem;
  letter-spacing: 0.8px;
}

/* Эффект при наведении на строки с данными */
tbody tr:not([class*="oddrow"]):not([class*="evenrow"]):hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  th,
  td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  td[colspan="4"] {
    font-size: 1rem;
    padding: 14px 8px;
  }
}

@media (max-width: 760px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    min-width: 180px;
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  td[colspan="4"] {
    font-size: 0.95rem;
    padding: 12px 8px;
  }

  .price-sec h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  th,
  td {
    min-width: 200px;
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  td[colspan="4"] {
    font-size: 0.9rem;
    padding: 10px 6px;
  }
}
