/*Блок дополнительного css для главной страницы*/



  .bd-placeholder-img 
  {font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }
  @media (min-width: 768px)
  {
    .bd-placeholder-img-lg 
    {font-size: 3.5rem;}
  }
  .body 
  {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: #121212;
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow: hidden;
  }
  .split-text-container 
  {
    display: flex;
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .text-part 
  {
    display: inline-block;
    position: relative;
    transform: translateX(0);
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode:forwards;
  }
  .text-part.left 
  {
    transform: translateX(-200%);
    animation-name: slide-in-left;
  }
  .text-part.right 
  {
    transform: translateX(200%);
    animation-name: slide-in-right;
  }
  @keyframes slide-in-left 
  {
    0% {transform: translateX(-200%);}
    100% {transform: translateX(0);}
  }
  @keyframes slide-in-right
  {
    0% {transform: translateX(200%);}
    100% {transform: translateX(0);}
  }
  a 
  {
    background-image: linear-gradient(#fc6005);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
  }
  a:hover 
  {
    background-size: 100% 2px;
  }
  /* --- Социальные иконки в правом нижнем углу --- */
  .social-icons 
  {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
  }
  .social-icons ul 
  {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }
  .social-icons ul li 
  {
    position: relative;
  }
  .social-icons ul li a 
  {
    text-decoration: none;
    color: #aaa;
    font-size: 2.4em;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  .social-icons ul li a:hover 
  {
    transform: scale(1.2);
  }
  /* WhatsApp */
  .social-icons ul li:nth-child(1) a:hover 
  {
    color: #0077ff;
  }
  /* ВКонтакте */
  .social-icons ul li:nth-child(2) a:hover 
  {
    color: #0077ff;
  }
  /* Тень для контраста */
  .social-icons ul li a 
  {
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
  }

/* Mobile overrides for the homepage */
@media (max-width: 768px) {
  .split-text-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: clamp(18px, 5.5vw, 28px);
  }

  .text-part.left,
  .text-part.right {
    transform: none;
    animation: none;
  }

  .social-icons {
    right: 14px;
    bottom: 14px;
  }
  .social-icons ul li a {
    font-size: 1.8em;
  }
}

/* Homepage hero typography / spacing */
.layers .layer__header {
	padding: 0 16px;
}

.layers__title {
	font-size: clamp(34px, 6.5vw, 80px);
	line-height: 1.05;
	margin: 0 auto 16px;
	max-width: 18ch;
	text-align: center;
}

/* Make the colored first letters responsive too */
.layers__title span {
	font-size: 1.4em !important;
}

/* Ensure header overlay doesn't cover hero on short screens */
@media (max-width: 992px) {
	.layers {
		padding-top: 90px;
	}
}






