@layer design-system, reset, base, utilities, components, layout, overrides;
@import "https://unpkg.com/open-props" layer(design-system);

:root {
  --blue: #2563eb;
  --purple: #6d28d9;
  --bg: #f8fafc;
  --section-1: #eef2ff;
  --section-2: #f5f3ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}



/* ========= ЕДИНЫЙ СТИЛЬ ДЛЯ h2 ========= */
.page h2 {
  font-size: 48px ;
  font-weight: 800 ;
  line-height: 1.1 ;
  margin: 0 0 48px 0 ;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 35%,
    #06b6d4 65%,
    #5eead4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 768px) {
  h2 {
    font-size: 36px !important;
    margin: 0 0 36px 0 !important;
  }
}
@media (max-width: 480px) {
  h2 {
    font-size: 32px !important;
  }
}

/* ========= HERO ========= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 12vh 0 0;
  overflow: visible;
  isolation: isolate;
}
#stripes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: skewY(-12deg);
  transform-origin: 0;
  background: linear-gradient(150deg, #53f 15%, #05d5ff 70%, #a6ffcb 94%);
}
#stripes span {
  position: absolute;
  height: 40px;
}
#stripes :nth-child(1) {
  width: 50%;
  left: 50%;
  top: 40px;
  background: #4c29ff;
}
#stripes :nth-child(2) {
  width: 14%;
  right: 0;
  bottom: 40px;
  background: #2be7ff;
}
#stripes :nth-child(3) {
  width: 25%;
  bottom: 0;
  right: 0;
  background: #a1ffc8;
}
@media (min-width: 670px) {
  #stripes span {
    height: 150px;
  }
  #stripes :nth-child(1) {
    top: 0;
  }
  #stripes :nth-child(2) {
    width: 16.66667%;
    top: 300px;
    bottom: auto;
    background: #0dcfff;
  }
  #stripes :nth-child(3) {
    width: 33.33333%;
    right: auto;
    background: #11bdff;
  }
}
@media (min-width: 880px) {
  #stripes span {
    height: 190px;
  }
  #stripes :nth-child(1) {
    width: 33.33333%;
    left: -16.66666%;
    background: #53f;
  }
  #stripes :nth-child(2) {
    width: 33.33333%;
    top: 0;
    left: 16.66666%;
    right: auto;
    background: #4553ff;
  }
  #stripes :nth-child(3) {
    width: 33.33333%;
    left: 49.99999%;
    bottom: auto;
    background: #4f40ff;
  }
  #stripes :nth-child(4) {
    width: 33.33333%;
    top: 380px;
    right: -16.66666%;
    background: #25ddf5;
  }
  #stripes :nth-child(5) {
    width: 33.33333%;
    bottom: 0;
    background: #1fa2ff;
  }
}

/* === КЛЮЧЕВОЙ БЛОК — ШИРИНА 1440px === */
.hero-content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-image {
  flex-shrink: 0;
  width: 620px;
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  margin-bottom: -300px;
}
.hero-content {
  max-width: 620px;
  margin-top: 8vh;
  flex-shrink: 0;
}
.hero-content .h1, .hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin: 0 0 20px;
}
.hero-content p {
  font-size: 22px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  margin: 0 0 36px;
}
.ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  text-decoration: none;
  color: #fff;
  padding: 25px 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
  cursor: pointer;
  transition: 0.2s;
}
.btn-primary:hover {
  transform: translateY(-4px);
}
.btn-secondary {
  padding: 18px 36px;
  border-radius: 14px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10vh 6% 8vh;
    min-height: 90vh;
  }
  .hero-content-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 0 6%;
    gap: 32px;
  }
  .hero-image {
    order: -1;
    width: 100%;
    max-width: 260px;
  }
  .hero-image img {
    margin-bottom: 0;
  }
  .hero-content {
    max-width: none;
    margin-top: 0;
  }
  .hero-content .h1, .hero-content h1 {

    font-size: 32px;
    margin-bottom: 16px;
  }
  .hero-content p {
    font-size: 17px;
    margin: 0 0 24px;
    line-height: 1.5;
  }
  .ctas {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 32px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 20px 36px;
    font-size: 18px;
    border-radius: 16px;
  }
}

.services-section {
  background-image: url("/userfiles/images/bg-gradient(4).jpg");
  background-size: cover;
  padding: 50px 6% 160px;
}
.services-container {
  max-width: 1440px;
  margin: 0 auto;
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.services-card figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
}
.services-card figure:hover {
  transform: translateY(-16px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}
.services-card .visual {
  height: 220px;
  overflow: hidden;
}
.services-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.services-card figure:hover img {
  transform: scale(1.1);
}
.services-card figcaption {
  padding: 24px 20px 8px;
  font-weight: 700;
  font-size: 19px;
  color: #1e293b;
}
.services-card .desc {
  padding: 0 20px 24px;
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .services-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

.channels-section {
  position: relative;
  padding: 140px 6% 100px;
  background: linear-gradient(
    135deg,
    #91f9d1 0%,
    #12d8fa 25%,
    #1ca4ff 50%,
    #4553ff 75%,
    #5533ff 100%
  );
  isolation: isolate;
  overflow: hidden;
}
/* Делает белым только этот конкретный h2 */
.channels-section h2.section-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
}
.channels-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.channels-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.channel-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: 0.4s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.channel-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.channel-card.big {
  height: 100%;
}
.channel-card.big .channel-img {
  height: 650px;
  flex-grow: 1;
  object-fit: cover;
}
.channel-card.big .channel-info {
  flex-shrink: 0;
  padding: 20px;
}
.channel-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.channel-info {
  padding: 20px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.channel-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.channel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-name {
  font-weight: 600;
  font-size: 13px;
  color: #1e293b;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.subscribe-btn {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}
.channel-card:hover .subscribe-btn {
  opacity: 1;
  visibility: visible;
}
.channel-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
  line-height: 1.25;
  flex-grow: 1;
}
.channel-card.big .channel-title {
  font-size: 27px;
}
.channel-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}
.channel-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.cases-section {
  padding: 140px 6% 100px;
  background: var(--section-1);
}
.cases-section h2.section-title {
  display: block;
  color: var(--purple);
  margin-bottom: 60px;
}
.cases-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.case-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}
.case-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.case-info {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-header-left {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.case-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-name {
  font-weight: 600;
  font-size: 11px;
  color: #1e293b;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.case-btn {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  border: none;
  padding: 6px 8px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}
.case-card:hover .case-btn {
  opacity: 1;
  visibility: visible;
}
.case-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
  line-height: 1.25;
  flex-grow: 1;
}
.case-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}
.case-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #475569;
}
.case-stats span {
  font-weight: 600;
  width: 32%;
  text-align: center;
}
@media (max-width: 1024px) {
  .cases-grid,
  .channels-right {
    grid-template-columns: repeat(2, 1fr);
  }
  .channels-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .channel-img,
  .case-img {
    height: 220px !important;
  }
}

/* МОБИЛЬНАЯ ВЕРСИЯ КАНАЛОВ — В ОДИН СТОЛБЕЦ */
@media (max-width: 768px) {
  .channels-container {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .channels-right {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .channel-card.big {
    height: auto;
  }
  .channel-card.big .channel-img {
    height: 280px !important;
  }
}

section {
  padding: 80px 6%;
}
section.bg-blue {
  background: var(--section-1);
}
section.bg-violet {
  background: var(--section-2);
}
h2.section-title {
  font-size: 48px;
  margin: 0 0 32px;
  color: var(--purple);
  text-align: center;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.show {
  display: flex;
}
.modal-card {
  width: 94%;
  max-width: 720px;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #999;
}
#services-popover {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  border: none;
  border-radius: 28px 28px 0 0;
  width: min(100%, 900px);
  height: 75vh;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.25);
  padding: 40px;
  text-align: center;
}
#services-popover::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

:root {
  --blue: #2563eb;
  --purple: #6d28d9;
  --bg: #f8fafc;
  --section-1: #eef2ff;
  --section-2: #f5f3ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
}

.hidden {
  display: none;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.executives-section {
  position: relative;
  padding: 140px 6% 120px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #ddd6fe 100%);
  overflow: hidden;
}
.executives-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(109, 40, 217, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(37, 99, 235, 0.12) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.executives-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ЛЕВЫЙ БЛОК */
.executives-left {
  flex: 0 1 400px;
  text-align: left;
}
.executives-left h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--purple);
  margin: 0 0 16px 0;
  line-height: 1.1;
}
.executives-left p {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.arrow-block {
  flex-shrink: 0;
  width: 300px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.arrow-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(124, 58, 237, 0.3));
}
@media (max-width: 1100px) {
  .arrow-block {
    display: none;
  }
}

/* ПРАВЫЙ БЛОК С КАРТОЧКАМИ */
.executives-right {
  flex: 1;
  margin: 0 auto;
  min-width: 600px;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.executive-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}
.executive-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.24);
}
.executive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.06),
    rgba(37, 99, 235, 0.06)
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.executive-card:hover::after {
  opacity: 1;
}

.executive-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.executive-card:hover .executive-img {
  transform: scale(1.08);
}

.executive-info {
  padding: 28px 24px;
  text-align: center;
}
.executive-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.executive-role {
  font-size: 15px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 12px;
}
.executive-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 18px;
}
.executive-contact {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}
.executive-card:hover .executive-contact {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.executive-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}
.star {
  width: 19px;
  height: 19px;
  fill: #fbbf24;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 1100px) {
  .executives-container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  .executives-left {
    text-align: center;
  }
  .executives-left p {
    max-width: 100%;
  }
  .executives-right {
    grid-template-columns: 1fr;
    min-width: auto;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .executives-section {
    padding: 100px 6% 80px;
  }
  .executives-left h2 {
    font-size: 32px;
  }
  .executive-img {
    height: 220px;
  }
  .executives-right {
    margin-top: -220px;
  }
}

:root {
  --purple: #6d28d9;
  --muted: #475569;
}
.reviews-section {
  padding: 120px 5% 140px;
  background: #ffffff;
}
.reviews-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}
/* ДЕСКТОП */
.reviews-slider {
  flex: 1;
  min-width: 580px;
  max-width: 780px;
  position: relative;
}
.reviews-arrow {
  flex-shrink: 0;
  width: 300px;
}
.reviews-text {
  flex: 0 1 420px;
  text-align: right;
}

.reviews-pagination {
  position: static !important;
  margin-top: 30px;
  text-align: center;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 1100px) {
  .reviews-container {
    flex-direction: column;
    gap: 40px !important;
  }
  .reviews-text {
    order: -1;
    text-align: center;
    width: 100%;
    max-width: 600px;
  }
  .reviews-arrow {
    display: none;
  }
  .reviews-slider {
    min-width: auto !important;
    max-width: 100% !important;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .swiper {
    overflow: hidden !important;
    width: 100%;
  }
  .swiper-slide {
    width: 100% !important;
    padding: 0 !important;
    height: auto !important;
  }
  /* КАРТОЧКИ ОДИНАКОВОЙ ВЫСОТЫ */
  .swiper-wrapper {
    display: flex;
  }
  .swiper-slide {
    display: flex;
  }
  .review-card {
    width: 100%;
    height: 100% !important;
  }
  /* ТОЧКИ НИЖЕ НА МОБИЛЕ */
  .reviews-pagination {
    margin-top: 20px;
  }
}

.review-card {
  background: #ffffff;
  border: 2.5px dashed #cbd5e1;
  border-radius: 32px;
  padding: 44px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.35s ease;
}
.review-card:hover {
  border-color: #94a3b8;
  transform: translateY(-8px);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.review-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 10px;
}
.review-author {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
}
.review-company {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.review-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
  flex-grow: 1;
}
.review-rating {
  display: flex;
  gap: 7px;
}
.star-filled {
  width: 24px;
  height: 24px;
  fill: #fbbf24;
}
.reviews-pagination-bullet {
  background: #cbd5e1;
  width: 11px;
  height: 11px;
}
.reviews-pagination-bullet-active {
  background: var(--purple);
  transform: scale(1.4);
}
.reviews-text h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 16px;
  line-height: 1.1;
}
.reviews-text p {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .reviews-section {
    padding: 90px 5% 100px;
  }
  .reviews-text h2 {
    font-size: 32px;
  }
  .reviews-text p {
    font-size: 17.5px;
  }
  .review-card {
    padding: 36px 28px;
    border-radius: 28px;
    border-width: 2px;
  }
  .reviews-slider {
    margin-top: -220px;
  }
}

.guides-section {
  padding: 140px 6% 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 40%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}
.guides-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(109, 40, 217, 0.1),
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1), transparent 50%);
  pointer-events: none;
}
.guides-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.guides-title {
  text-align: center;
  margin-bottom: 70px;
}
.guides-title h2 {
  font-size: 42px;
  font-weight: 800;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 16px;
}
.guides-title p {
  font-size: 19px;
  color: #475569;
  max-width: 680px;
  margin: 0 auto;
}

.guides-slider-wrapper {
  position: relative;
  padding: 0 80px;
}
.guides-slider-wrapper .swiper {
  padding: 20px 0 90px;
}
.guides-slider-wrapper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.guides-slider-wrapper .swiper-slide {
  height: auto;
}

.guides-slider-wrapper .swiper-button-next,
.guides-slider-wrapper .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #199cf4;
  border-radius: 50%;
  z-index: 30;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.guides-slider-wrapper .swiper-button-next::before,
.guides-slider-wrapper .swiper-button-prev::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: radial-gradient(
    circle at center,
    rgba(109, 40, 217, 0.15),
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
}
.guides-slider-wrapper .swiper-button-prev {
  left: -50px;
}
.guides-slider-wrapper .swiper-button-next {
  right: -50px;
}
.guides-slider-wrapper .swiper-button-next:after,
.guides-slider-wrapper .swiper-button-prev:after {
  font-size: 20px;
  color: #199cf4;
  font-weight: 900;
}
.guides-slider-wrapper .swiper-button-prev:after {
  content: "←";
}
.guides-slider-wrapper .swiper-button-next:after {
  content: "→";
}
.guides-slider-wrapper .swiper-button-next:hover,
.guides-slider-wrapper .swiper-button-prev:hover {
  background: #199cf4;
}
.guides-slider-wrapper .swiper-button-next:hover:after,
.guides-slider-wrapper .swiper-button-prev:hover:after {
  color: #fff;
}

.guide-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
  height: 100%;
  text-decoration: none !important;
}
.guide-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
.guide-img-wrapper {
  height: 220px;
  overflow: hidden;
}
.guide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.guide-card:hover .guide-img {
  transform: scale(1.08);
}
.guide-info {
  padding: 24px;
}
.guide-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px;
}
.guide-meta {
  font-size: 13px;
  color: #64748b;
}
.guide-author {
  font-weight: 600;
}

.guides-slider-wrapper .swiper-pagination {
  position: static;
  margin-top: -50px;
}
.guides-slider-wrapper .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  background: #cbd5e1;
  opacity: 1;
}
.guides-slider-wrapper .swiper-pagination-bullet-active {
  background: #6d28d9;
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .guides-slider-wrapper {
    padding: 0 70px;
  }
}
@media (max-width: 768px) {
  .guides-section {
    padding: 110px 6% 80px;
  }
  .guides-title h2 {
    font-size: 34px;
  }
  .guides-slider-wrapper {
    padding: 0 55px;
    margin-top: -50px;
  }
  .guide-img-wrapper {
    height: 200px;
  }
  .guides-slider-wrapper .swiper-button-prev {
    left: -35px;
  }
  .guides-slider-wrapper .swiper-button-next {
    right: -35px;
  }
}
@media (max-width: 480px) {
  .guides-slider-wrapper {
    padding: 0 45px;
  }
  .guides-slider-wrapper .swiper-button-prev {
    left: -25px;
  }
  .guides-slider-wrapper .swiper-button-next {
    right: -25px;
  }
}

.contact-section {
  padding: 140px 6% 120px;
  background: #fff;
  color: #0f172a;
}
.contact-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left {
  max-width: 560px;
}
.contact-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #475569;
}

.contact-socials {
  margin: 32px 0 40px;
  display: flex;
  gap: 20px;
}
.contact-socials a {
  display: inline-block;
  transition: transform 0.3s;
}
.contact-socials a:hover {
  transform: translateY(-6px);
}
.contact-socials img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s;
}
.contact-socials a:hover img {
  box-shadow: 0 16px 40px rgba(109, 40, 217, 0.3);
}

.contact-btn {
  padding: 18px 52px;
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.35s;
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.35);
}
.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(124, 58, 237, 0.5);
}
.contact-btn:active {
  transform: translateY(-2px);
}

.contact-form {
  background: #f8fafc;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  font-size: 16px;
  outline: none;
  transition: border 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #7c3aed;
}
.form-submit {
  width: 100%;
  padding: 18px;
  background: #7c3aed;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}
.form-submit:hover {
  background: #6d28d9;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
}
.form-privacy {
  font-size: 12px;
  color: #64748b;
  margin-top: 16px;
  text-align: center;
}
.form-privacy a {
  color: #7c3aed;
  text-decoration: underline;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .contact-left,
  .contact-right {
    max-width: 680px;
    margin: 0 auto;
  }
  .contact-socials {
    justify-content: center;
  }
}
.contact-right{
  width: 100%;
    height: 500px;
}

.contact-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;

}





@media (max-width: 768px) {

  .contact-right{
      height: 300px;
  }
  .contact-section {
    padding: 100px 6% 100px;
  }
  .contact-title {
    font-size: 38px;
  }
  .contact-socials {
    gap: 16px;
    margin: 28px 0 36px;
  }
  .contact-btn {
    padding: 16px 44px;
    font-size: 17px;
  }
}


.case-card a{
  width: 100%;
  height: 100%;
}


