:root {
  --font-sans: "Raleway", sans-serif;
}

/* HEADER */
.header {
  background-color: var(--secondStyleColor);
  color: var(--textColor2);
}
.headerWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.headerButton {
  transition: 0.2s all linear;
  padding: 10px 20px;
  border: none;
  text-transform: uppercase;
  background-color: var(--textColor2);
  color: var(--textColor1);
  cursor: pointer;
  border-radius: var(--borderRadius);
}
.headerButton:hover {
  transform: translateY(-2px);
}
.ham {
  display: none;
}

.nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-left: 0;
  margin: 0;
}

.nav li {
  list-style: none;
}

.nav a {
  color: var(--textColor2);
  text-decoration: none;
  transition: 0.2s all linear;
  -webkit-transition: 0.2s all linear;
  -moz-transition: 0.2s all linear;
  -ms-transition: 0.2s all linear;
  -o-transition: 0.2s all linear;
  position: relative;
  font-weight: 600;
}

.nav a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background-color: var(--textColor2);
  transition: 0.2s all linear;
}

.nav a:hover::after {
  width: 100%;
}

.stopScroll {
  overflow: hidden;
}
.logo {
  position: relative;
  z-index: 1000;
  font-weight: 800;
  font-size: 24px;
  color: var(--textColor2);
  text-decoration: none;
}

@media (max-width: 800px) {
  .headerWrapper {
    padding: 0 20px;
  }
  .headerButton {
    display: none;
  }
  .nav {
    position: fixed;
    inset: 0;
    background-color: var(--bodyBG);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
    -moz-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
    -ms-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
    -o-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
  }
  .nav.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
  .header:has(.nav.active) .logo {
    color: var(--textColor1);
  }
  .header:has(.nav.active) .nav a {
    color: var(--textColor1);
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    z-index: 1000;
  }
  .hamRotate.active {
    transform: rotate(45deg);
  }
  .hamRotate180.active {
    transform: rotate(180deg);
  }
  .line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: var(--textColor2);
    stroke-width: 5.5;
    stroke-linecap: round;
  }
  .header:has(.nav.active) .line {
    stroke: var(--textColor1);
  }
  .ham7 .top {
    stroke-dasharray: 40 82;
  }
  .ham7 .middle {
    stroke-dasharray: 40 111;
  }
  .ham7 .bottom {
    stroke-dasharray: 40 161;
  }
  .ham7.active .top {
    stroke-dasharray: 17 82;
    stroke-dashoffset: -62px;
  }
  .ham7.active .middle {
    stroke-dashoffset: 23px;
  }
  .ham7.active .bottom {
    stroke-dashoffset: -83px;
  }
  .ham8 .top {
    stroke-dasharray: 40 160;
  }
}

.hero-11 {
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-11 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.hero-lerft {
  display: flex;
  flex-direction: column;
  gap: 20px;
  img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--borderRadius);
    object-position: top;
  }
}

.hero-gight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: auto;
  gap: 20px;
  img {
    height: 500px;
    width: 500px;
    object-position: top;
    border-radius: var(--borderRadius);
    object-fit: cover;
  }
  a {
    padding: 12px 20px;
    background-color: var(--secondStyleColor);
    width: fit-content;
    border-radius: var(--borderRadius);
    color: var(--bodyBG);
    font-weight: 900;
    font-size: 24px;
    transition: 0.2s all linear;
  }
  a:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 800px) {
  .hero-lerft img {
    display: none;
  }
  .hero-lerft {
    justify-content: center;
    h1,
    p {
      text-align: center;
    }
  }
  .hero-11 .container {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  .hero-gight img {
    width: 100%;
  }
  .hero-gight a {
    margin: 0 auto;
  }
}

:root {
  --scrollbarBg: rgba(255, 255, 255, 0.1);
  --itemBgColor: transparent;
}
.swiper {
  padding-bottom: 10px !important;
}

.toc .swiper-slide {
  width: fit-content;
}

.toc h2 {
  white-space: nowrap;
  margin: 0 !important;
  text-align: center;
}

.toc {
  background-color: transparent;
}

.toc a {
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--textColor1);
  transition: color 0.3s ease-in-out;
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -ms-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  border: 2px dotted var(--secondStyleColor);
  padding: 10px 20px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  background-color: var(--itemBgColor);
}

.toc a:active,
.toc a:hover,
.toc a:focus {
  color: #fff;
  background-color: rgba(17, 17, 17, 0.2);
}

.toc .swiper-wrapper {
  padding-top: 20px;
  padding-bottom: 24px;
}

.toc-swiper .swiper-scrollbar {
  background: var(--scrollbarBg);
  height: 4px;
  border-radius: 2px;
}

.toc-swiper .swiper-scrollbar-drag {
  background: var(--secondStyleColor);
  border-radius: 2px;
  width: 20%;
}

.toc.wrapper {
  margin: 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.toc-swiper {
  max-width: calc(var(--maxWidthContainer) - 40px);
}

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

@media screen and (max-width: 750px) {
  .toc.wrapper {
    margin-left: auto;
  }
  .swiper-horizontal > .swiper-scrollbar,
  .swiper-scrollbar.swiper-scrollbar-horizontal {
    width: 90% !important;
    margin: 0 auto;
  }
}

.aboutWrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-left a {
  padding: 15px 20px;
  background-color: var(--secondStyleColor);
  border-radius: var(--borderRadius);
  width: fit-content;
  color: var(--textColor2);
  font-weight: 900;
  text-transform: uppercase;
}
.about-right {
  display: flex;
  align-items: center;
  gap: 20px;
  .a_img {
    height: 400px;
    object-position: top;
    border-radius: var(--borderRadius);
    img {
      border-radius: inherit;
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: top;
    }
  }
}
@media (max-width: 800px) {
  .aboutWrapper {
    display: flex;
    flex-direction: column;
  }
  .about-right {
    display: flex;
    flex-direction: column;
  }
  .about-right {
    width: 100%;
  }
  .a_img {
    width: 100%;
  }
}

.plansWrapper {
  display: flex;
  flex-direction: column;
}
.planshead {
  margin-bottom: 45px;
}

.priceBitton {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  border: none;
  border-radius: var(--borderRadius);
  color: var(--textColor2);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 20px;
  background-color: var(--secondStyleColor);
  transition: 0.3s all linear;
  &&:hover {
    transform: translateY(-2px);
  }
}

/* ===== Новая интересная секция цен ===== */

.pricing-alt {
  padding: 0 20px 40px;
  color: var(--textColor1);
}

.pricing-alt__title {
  font-size: 32px;
  text-align: center;
  font-weight: 700;
}

.pricing-alt__subtitle {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.7;
}

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

.plan {
  position: relative;
  border-radius: var(--borderRadius);
  padding: 22px 42px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 2px solid var(--secondStyleColor);
  transition: 0.2s all linear;
  &&:hover {
    transform: translateY(-2px);
  }
  &&::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background-color: transparent;
    border: 2px solid var(--secondStyleColor);
    border-radius: 50%;
  }
}

.plan--main {
  padding: 26px 26px 28px;
  background-color: var(--secondStyleColor);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  color: var(--textColor2);
  .plan__dot {
    background: var(--textColor2);
  }
}

.plan__badge {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(12, 5, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.plan__name {
  font-size: 20px;
  font-weight: 600;
}

.plan__desc {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.8;
}

.plan__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.plan__price {
  font-size: 30px;
  font-weight: 700;
}

.plan__period {
  font-size: 12px;
  opacity: 0.8;
}

.plan__features {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan__dot {
  margin-top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.plan__button {
  border-radius: 999px;
  border: none;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    opacity 0.12s ease;
}

.plan__button--main {
  background: #0b0517;
  color: #f5e9ff;
  box-shadow: 0 12px 30px rgba(5, 1, 15, 0.9);
}

.plan__button--main:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(5, 1, 15, 1);
}

.plan__button--ghost {
  background: transparent;
  color: #ffe2ff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.plan__button--ghost:hover {
  background: rgba(0, 0, 0, 0.2);
}

.plan__button:not(.plan__button--main):not(.plan__button--ghost) {
  background: rgba(5, 1, 15, 0.9);
  color: #ffffff;
}

.plan__button:not(.plan__button--main):not(.plan__button--ghost):hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7);
}

.plan__note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.85;
}

/* Адаптив */

@media (max-width: 900px) {
  .planshead {
    margin-bottom: 32px;
  }
  .pricing-alt__grid {
    grid-template-columns: 1fr;
  }

  .plan--main {
    grid-row: auto;
  }
}

.reviewHeader {
  color: var(--textColor1);
  margin-bottom: 40px;
}

/* Masonry как на скрине */
.masonry {
  column-count: 3;
  column-gap: 28px;
}

.masonry-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  border-radius: var(--borderRadius);
  background: #fff;
  padding: 34px 32px 26px;
  margin: 0 0 28px;
  position: relative;
}

.quoteMark {
  width: 42px;
  height: 28px;
  display: inline-block;
  margin: 2px 0 18px;
}

/* две красные “галочки” */
.quoteMark::before,
.quoteMark::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 20px;
  height: 20px;
  background: var(--secondStyleColor);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.quoteMark::before {
  left: 32px;
}
.quoteMark::after {
  left: 56px;
  transform: scaleX(-1);
}

.text {
  margin: 0;
  color: var(--textColor2);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
}

.footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
  overflow: hidden;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 59, 48, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(30, 136, 255, 0.35),
      transparent 55%
    ),
    #f3f4f7;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meta {
  min-width: 0;
}

.name {
  margin: 0;
  font-weight: 800;
  font-size: 15px;
  color: var(--textColor2);
  line-height: 1.25;
}

.role {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--textColor2);
  font-weight: 600;
}

/* Точный “воздух” как в макете */
.masonry-card.tight .text {
  line-height: 1.85;
}

/* Адаптив */
@media (max-width: 1100px) {
  .masonry {
    column-count: 2;
  }
}
@media (max-width: 700px) {
  .masonry {
    column-count: 1;
  }
  .masonry-card {
    padding: 28px 22px 22px;
  }
  .quoteMark::before,
  .quoteMark::after {
    top: 28px;
  }
  .quoteMark::before {
    left: 22px;
  }
  .quoteMark::after {
    left: 46px;
  }
  .reviewHeader {
    margin-bottom: 20px;
  }
}

.featuresWrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feaItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  img {
    height: 500px;
    width: 400px;
    border-radius: var(--borderRadius);
    object-fit: cover;
    object-position: top;
  }
}
.feaWrap {
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .feaWrap {
    margin-bottom: 20px;
  }
  .featuresWrap {
    flex-direction: column;
    gap: 20px;
  }
  .feaItem {
    gap: 20px;
    img {
      width: 100%;
    }
  }
}

/* ===== HOW IT WORKS SECTION ALT (VARIANT 2) ===== */

.howSection-alt {
  padding: 80px 0;
  background: var(--bodyBG);
  color: var(--textColor1);
}

.howAltWrapper {
  max-width: var(--maxWidthContainer);
  margin: 0 auto;
}

/* Header */
.howAltHeader {
  max-width: 700px;
  margin: 0 auto 45px auto;
  text-align: center;
}

.howEyebrow {
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--secondStyleColor);
  font-weight: 600;
  margin-bottom: 10px;
}

.howTitle {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--textColor1);
}

.howSubtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #cfcfcf;
}

/* Timeline */
.howAltTimeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 28px;
}

.howAltLine {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--secondStyleColor),
    rgba(2, 255, 57, 0.05)
  );
}

/* Step */
.howAltStep {
  position: relative;
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}

.howAltDot {
  position: relative;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--secondStyleColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondStyleColor);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  z-index: 1;
  margin-left: -2px;
}

.howAltStepBody {
  border-radius: var(--borderRadius);
  padding: 18px 20px 18px 20px;
  border: 4px dotted var(--secondStyleColor);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
  transition: 0.18s ease;
}

.howAltStepTitle {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.howAltStepText {
  font-size: 14px;
  line-height: 1.6;
  color: #d4d4d4;
}

.howAltStepBody:hover {
  border-color: var(--secondStyleColor);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 700px) {
  .howAltTimeline {
    padding-left: 18px;
  }

  .howAltLine {
    left: 10px;
  }

  .howAltStep {
    gap: 12px;
  }

  .howAltStepBody {
    padding: 16px 16px;
  }
}

.galeryhead {
  margin-bottom: 45px;
}
.galleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
}
.imageContainer {
  width: 390px;
  height: 560px;
  border-radius: var(--borderRadius);
  margin-bottom: 20px;
  img {
    border-radius: inherit;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.galleryItem {
  h3 {
    margin-bottom: 10px;
  }
}
@media (max-width: 800px) {
  .galleryGrid {
    display: flex;
    flex-direction: column;
  }
  .imageContainer {
    width: 100%;
    height: 330px;
  }
}

.banner-section {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  h2 {
    text-transform: uppercase;
    text-align: center;
  }
}
.banner-section img {
  position: absolute;
  width: 120%;
  height: 120%;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  object-position: 50% 20%;
  filter: blur(15px);
  opacity: 0.2;
}

.containerFAQ {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq h2 {
  text-align: center;
}

.faq > div {
  border-radius: var(--borderRadius);
}

#faq {
  border-radius: var(--borderRadius);
  padding: var(--sectionPadding);
}

.accord__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 32px;
  border: 4px solid var(--secondStyleColor);
  border-radius: var(--borderRadius);
}

.accord__item h3,
.accord__item p {
  margin-bottom: 0;
  margin: 0;
  color: var(--textColor1);
}

.accord__item > div:first-child > p {
  font-weight: 900;
  color: var(--textColor1) !important;
  font-size: 24px !important;
  margin-bottom: 0;
}

.accord__item > div:first-child {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.accord__item > div:last-child {
  max-height: 0;
  visibility: hidden;
  transition: 0.3s all linear;
}

.accord__item > div:last-child p {
  color: var(--textColor1) !important;
  text-align: left;
}

.show {
  visibility: visible !important;
}

.accord__item div + div {
  transition: max-height 0.3s ease;
  overflow: hidden;
  /* padding: 20px; padding будет учтен в scrollHeight */
  box-sizing: border-box; /* важно! */
}

.accord__item div + div p {
  transition: margin-top 0.3s ease;
  visibility: hidden;
  margin: 0;
}

.accord__item div + div.show p {
  visibility: visible;
  opacity: 1;
}

div.show {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .accord__item {
    padding: 32px 16px;
  }
}

.site-footer {
  color: var(--textColor1);

  margin-top: 60px;
  padding: 28px 0 22px;
  background-color: var(--bodyBG);
  border-top: 0.3px solid var(--secondStyleColor);
  color: var(--footer-muted);
  position: relative;
  backdrop-filter: blur(18px);
}

/* Layout */

.footer-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 22px;
}

/* Brand */

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main .logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--textColor1);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Links & Address */

.site-footer a,
.site-footer address {
  position: relative;
  color: var(--textColor1);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 2px 0;
  text-transform: uppercase;
  transition: color 0.22s ease, transform 0.22s ease, text-shadow 0.22s ease,
    opacity 0.22s ease;
}

.site-footer address {
  font-style: normal;
  color: rgba(209, 213, 219, 0.8);
}

/* ≡ ХОВЕР БЕЗ ЛИНИИ — МЯГКОЕ НЕОНОВОЕ СВЕЧЕНИЕ */

.site-footer a:hover {
  transform: translateY(-2px);
}

/* Social */

.footer-social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  i {
    color: var(--secondStyleColor);
    font-size: 24px;
  }
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #e5e7eb;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease, box-shadow 0.18s ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
}

/* Contacts */

.footer-contacts address {
  font-style: normal;
}

/* Links */

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  align-items: flex-start;
}

.footer-links a:hover {
  color: var(--secondStyleColor);
}

/* Bottom */

.footer-bottom {
  padding-top: 14px;
  color: var(--textColor1);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p span {
  color: var(--footer-accent);
  font-weight: 700;
}

@media (max-width: 900px) {
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .footer-main {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contacts,
  .footer-links {
    align-items: center;
  }

  .site-footer {
    margin-top: 40px;
    padding: 22px 0 18px;
  }
}
