/* Улучшенный CSS */
:root {
  --container-max-width: 1200px;
  --container-padding: 20px;
  --primary-color: #0d48c5;
  --secondary-color: #ff092c;
  --accent-color: #4b6af7;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #0d0d2b;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "GothamPro", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: whitesmoke;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Типографика */
h1,
h2,
h3,
h4 {
  font-family: "Neumann", serif;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* Кнопки */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: "GothamPro", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary-color), #1e6bf5);
  color: var(--text-light);
  box-shadow: var(--shadow);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.button--secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow);
}

.button--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 9, 44, 0.1);
  box-shadow: var(--shadow-hover);
}

/* Стили бургер-кнопки */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-line {
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Анимация бургера при активации */
.burger.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--secondary-color);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.burger.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  background: var(--accent-color);
}


/* HEADER */
.header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a3e 50%, #2d2b55 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    url(../img/hero.jpg) no-repeat 80% center / cover,
    radial-gradient(circle at 20% 80%, rgba(13, 72, 197, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 9, 44, 0.1) 0%, transparent 50%);
  opacity: 0.3;
  z-index: 1;
}

.header__top-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(13, 72, 197, 0.1);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__logo-image {
  max-width: 150px;
  height: auto;
}

.header__brand {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.header__title {
  font-family: "OldEngMT", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary-color);
  margin: 0;
  line-height: 1;
}

.header__subtitle {
  font-family: "GothamPro", sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 300;
  color: var(--text-dark);
  margin: 5px 0 0 0;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.header__email {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Навигация */
.header__navigation {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(13, 72, 197, 0.95);
  transition: var(--transition);
  margin-top: 0;
}

.header__nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  list-style: none;
}

.header__nav-item {
  margin: 0;
}

.header__nav-item:not(:last-child) {
  margin-right: 20px;
}

.header__nav-link {
  display: block;
  padding: 5px 15px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.header__nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.header__nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
}

.header__nav-link:hover::before {
  width: 80%;
}

/* HERO */
.hero {
  padding: 200px 0 100px;
  position: relative;
  z-index: 2;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__header {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero__main-title {
  color: var(--text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__main-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin-top: 20px;
  border-radius: 2px;
}

.hero__quote {
  margin: 0;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero__quote:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-left-color: var(--secondary-color);
}

.hero__quote-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  margin: 0 0 10px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.hero__quote-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-align: right;
}

.hero__features {
  display: grid;
  gap: 25px;
}

.hero__feature {
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero__feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(13, 72, 197, 0.3);
}

.hero__feature-title {
  color: var(--text-light);
  margin-bottom: 15px;
}

.hero__feature-description {
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

.hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__decoration {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.hero__decoration-item {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  position: relative;
  animation: floatHero 4s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero__decoration-item--code {
  background: linear-gradient(135deg, var(--primary-color), #1e6bf5);
  animation-delay: 0s;
}

.hero__decoration-item--design {
  background: linear-gradient(135deg, var(--secondary-color), #ff4d6d);
  animation-delay: 1.3s;
}

.hero__decoration-item--creative {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  animation-delay: 2.6s;
}

@keyframes floatHero {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(120deg);
  }

  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

/* ABOUT SECTION */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(13, 72, 197, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 9, 44, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.about__header {
  text-align: start;
  margin-bottom: 60px;
}

.about__title {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.about__title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about__intro {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.about__mission,
.about__vision {
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
  padding-left: 20px;
}

.about__mission {
  background: rgba(13, 72, 197, 0.05);
  border-left: 4px solid var(--primary-color);
}

.about__vision {
  background: rgba(255, 9, 44, 0.05);
  border-left: 4px solid var(--secondary-color);
}

.about__mission:hover,
.about__vision:hover {
  transform: translateX(5px);
}

.about__quote {
  margin: 30px 0;
  padding: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 72, 197, 0.3);
  transition: var(--transition);
}

.about__quote:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(13, 72, 197, 0.4);
}

.about__quote-text {
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 15px 0;
  position: relative;
  z-index: 2;
}

.about__quote-author {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
  margin: 0;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.about__conclusion {
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  padding: 20px;
  background: rgba(255, 9, 44, 0.1);
  border-radius: 10px;
  border: 2px dashed rgba(255, 9, 44, 0.3);
  transition: var(--transition);
}

.about__conclusion:hover {
  background: rgba(255, 9, 44, 0.15);
  border-color: rgba(255, 9, 44, 0.5);
  transform: scale(1.02);
}

.about__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__decoration {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.about__decoration-item {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about__decoration-item--code {
  background: linear-gradient(135deg, var(--primary-color), #1e6bf5);
  animation-delay: 0s;
}

.about__decoration-item--design {
  background: linear-gradient(135deg, var(--secondary-color), #ff4d6d);
  animation-delay: 1s;
}

.about__decoration-item--creative {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* WHY SECTION */
.why {
  background-color: black;
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(13, 72, 197, 0.1) 0%, rgba(255, 9, 44, 0.1) 100%);
  z-index: -1;
}

.why::after {
  content: '';
  background-image: url(../img/why.png);
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.why__header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.why__title {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  margin-bottom: 73px;
}

.why__title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.why__intro {
  line-height: 1.8;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--secondary-color);
  background: rgba(255, 9, 44, 0.1);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 9, 44, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(255, 9, 44, 0.2);
  transition: var(--transition);
}

.why__intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 9, 44, 0.3);
  border-color: rgba(255, 9, 44, 0.5);
}

.why__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.why__benefit-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.why__benefit-title {
  color: var(--primary-color);
  text-align: center;
  margin: 0;
  padding: 15px 20px;
  background: rgba(13, 72, 197, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(13, 72, 197, 0.3);
  position: relative;
  overflow: hidden;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why__item {
  line-height: 1.7;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(153, 153, 153, 0.3);
  background: rgba(1, 16, 87, 0.2);
  box-shadow: 0 8px 25px rgba(75, 106, 247, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why__item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 15px 35px rgba(75, 106, 247, 0.5),
    0 0 20px rgba(100, 150, 255, 0.3);
  background: rgba(1, 16, 87, 0.3);
  border-color: rgba(100, 150, 255, 0.5);
}

.why__item-highlight {
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Neumann', serif;
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);
  display: block;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.why__item-highlight::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 0.7;
    transform: translateY(-50%) scale(1.2);
  }
}

/* PRICING */
.pricing {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.pricing__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing__title {
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
  position: relative;
}

.pricing__title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 37.8%;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.pricing-section {
  margin-bottom: 60px;
}

.pricing-section__title {
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
  padding-left: 20px;
}

.pricing-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.pricing__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  /* Это ключевое свойство для центрирования */
  justify-items: center;
  /* Дополнительное центрирование */
  width: 100%;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  min-height: 320px;
  width: 100%;
  /* Занимает всю доступную ширину ячейки */
  z-index: 1;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card__title {
  position: relative;
  margin-bottom: 20px;
  color: var(--primary-color);
  z-index: 1;
}

.pricing-card__title::after {
  content: '';
  width: 50%;
  position: absolute;
  left: 25%;
  bottom: -10px;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.pricing-card:hover .pricing-card__title::after {
  width: 100%;
  left: 0;
}

.pricing-card__description {
  margin-bottom: 25px;
  line-height: 1.5;
  color: var(--text-dark);
  flex-grow: 1;
}

.pricing-card__details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__timeline {
  color: var(--primary-color);
  font-weight: 500;
}

.pricing-card__timeline--discount {
  color: var(--secondary-color);
  font-weight: 700;
  animation: subtle-pulse 3s infinite;
}

.pricing-card__price {
  position: relative;
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 9, 44, 0.1);
  transition: var(--transition);
}

.pricing-card:hover .pricing-card__price {
  transform: scale(1.1);
  background: rgba(255, 9, 44, 0.2);
}

@keyframes subtle-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* FOOTER */
.footer {
  position: relative;
  background-color: black;
  color: var(--text-light);
  overflow: hidden;
  padding: 60px 0 30px;
}

.footer::before,
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 76% 50%;
  z-index: 1;
}

.footer::before {
  background-image: url(../img/morf2.png);
  background-size: contain;
  opacity: 0.2;
}


.footer__container {
  display: grid;
  grid-template-columns: auto auto;
  /* Меняем на auto вместо 1fr */
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: start;
  justify-content: start;
  /* Выравниваем всю сетку по левому краю */
  position: relative;
  z-index: 2;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  grid-column: 1;
  grid-row: 1;
  /* Добавляем максимальную ширину если нужно */
  max-width: 100%;
}

.footer__nav-title {
  color: var(--accent-color);
  margin: 0 0 20px;
  position: relative;
  display: inline-block;
}

.footer__nav-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__link {
  display: inline-block;
  font-size: 14px;
  color: var(--text-light);
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(153, 153, 153, 0.3);
  background: rgba(1, 16, 87, 0.3);
  box-shadow: 0 8px 32px rgba(75, 106, 247, 0.5);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.footer__link:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(75, 106, 247, 0.7),
    0 0 20px rgba(100, 150, 255, 0.4);
  background: rgba(1, 16, 87, 0.5);
  border-color: rgba(100, 150, 255, 0.6);
}

.footer__contacts-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  grid-column: 2;
  grid-row: 1;
}

.footer__contacts-title {
  color: var(--accent-color);
  margin: 0 0 20px;
  text-align: center;
  position: relative;
}

.footer__contacts-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  align-items: flex-start;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(1, 16, 87, 0.3);
  border: 1px solid rgba(153, 153, 153, 0.3);
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  min-width: 135px;
  box-sizing: border-box;
}

.footer__contact-link:hover {
  transform: translateX(5px) scale(1.05);
  background: rgba(1, 16, 87, 0.5);
  border-color: rgba(100, 150, 255, 0.6);
  box-shadow: 0 10px 30px rgba(75, 106, 247, 0.6);
}

.footer__contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition);
  animation: glowPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(75, 106, 247, 0.6));
}

@keyframes glowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(75, 106, 247, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(75, 106, 247, 0.9));
    }
}

.footer__contact-link:hover .footer__contact-icon {
  animation: none;
  transform: rotate(360deg) scale(1.2);
  filter: drop-shadow(0 0 20px rgba(75, 106, 247, 1));
}

.footer__contact-text {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.footer__info-section {
  grid-column: 1 / -1;
  /* Занимает всю ширину */
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-top: 20px;
}

.footer__info-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
  /* 50% ширины экрана */
  max-width: 600px;
  text-align: left;
}

.footer__copyright {
  font-family: 'GothamPro', sans-serif;
  font-size: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.footer__copyright-symbol {
  color: var(--accent-color);
  font-weight: bold;
}

.footer__email {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__email:hover {
  color: var(--accent-color);
}

.footer__legal {
  font-family: 'GothamPro', sans-serif;
  font-size: 11px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* Отступы для фиксированного header */
section {
  scroll-margin-top: 140px;
}

.personal {
  margin-top: 200px;
  padding-bottom: 80px;
}

.personal__list {
  margin-bottom: 20px;
}