
  .categories-section {
    padding: 100px 6% 140px;
    background: var(--gradient-section-light);
  }

  .categories-container {
    max-width: 1440px;
    margin: 0 auto;
  }

  .categories-section h2 {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 64px 0;
    background: linear-gradient(90deg, 
      #003A6B 0%, 
      #1A4E8A 30%, 
      #2563A6 60%, 
      #3B82F6 80%, 
      #FF7A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.35s ease;
    cursor: pointer;
    background: var(--color-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px);
  }

  .category-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .category-card:nth-child(1)  { transition-delay: 0.1s; }
  .category-card:nth-child(2)  { transition-delay: 0.2s; }
  .category-card:nth-child(3)  { transition-delay: 0.3s; }
  .category-card:nth-child(4)  { transition-delay: 0.4s; }
  .category-card:nth-child(5)  { transition-delay: 0.5s; }
  .category-card:nth-child(6)  { transition-delay: 0.6s; }
  .category-card:nth-child(7)  { transition-delay: 0.7s; }
  .category-card:nth-child(8)  { transition-delay: 0.8s; }
  .category-card:nth-child(9)  { transition-delay: 0.9s; }
  .category-card:nth-child(10) { transition-delay: 1.0s; }
  .category-card:nth-child(11) { transition-delay: 1.1s; }
  .category-card:nth-child(12) { transition-delay: 1.2s; }

  .category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
  }

  .category-image-wrapper {
    position: relative;
    flex: 1;
    min-height: 260px;
    overflow: hidden;
  }

  .category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .category-card:hover .category-img {
    transform: scale(1.08);
  }

  .price-plaque {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(26, 78, 138, 0.88);
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    z-index: 2;
    backdrop-filter: blur(4px);
  }

  .category-name-bg {
    background: linear-gradient(135deg, 
      #003A6B 0%, 
      #1A4E8A 50%, 
      #2563A6 100%);
    color: white;
    padding: 20px 24px;
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
  }

  .category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 1;
  }

  .category-card:hover .category-overlay {
    background: rgba(0,0,0,0.38);
  }

  .btn-details {
    position: absolute;
    top: 50%;
    right: -140px;
    transform: translateY(-50%);
    background: var(--gradient-btn-primary);
    color: white;
    padding: 14px 40px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(255,122,0,0.45);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
    opacity: 0;
    z-index: 3;
    white-space: nowrap;
  }

  .category-card:hover .btn-details {
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 1;
  }

  .btn-details:hover {
    background: var(--gradient-btn-primary-hover);
    transform: translate(50%, -50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(255,122,0,0.55);
  }

  /* Мобильная версия — по 2 в ряд до 640px */
  @media (max-width: 1024px) {
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .category-card { transition-delay: 0.15s !important; }
  }

  @media (max-width: 640px) {
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);  
    }
    .category-image-wrapper {
      min-height: 200px;
    }
    .btn-details {
      padding: 12px 32px;
      font-size: 15px;
    }
  }

@media (max-width: 1024px) {
.categories-grid {
  grid-template-columns: repeat(2, 1fr);
}
.category-card {
  transition-delay: 0.15s !important;
}
}

@media (max-width: 640px) {
.categories-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;                    
}
.category-image-wrapper {
  min-height: 180px;           
}
.price-plaque {
  padding: 6px 12px;
  font-size: 12px;              
  top: 10px;
  left: 10px;
}
.category-name-bg {
  padding: 14px 16px;
  font-size: 15px;             
}
.btn-details {
  padding: 10px 24px;
  font-size: 14px;
}
}

@media (max-width: 480px) {
.categories-grid {
  grid-template-columns: repeat(2, 1fr);  
  gap: 10px;                              
}
.category-image-wrapper {
  min-height: 160px;
}
.price-plaque {
  font-size: 11px;
  padding: 5px 10px;
}
.category-name-bg {
  font-size: 12px;
  padding: 12px 14px;
}
}






.main-info-section {
position: relative;
padding: 120px 6% 140px;
background: var(--gradient-hero);
color: white;
overflow: hidden;
isolation: isolate;
}
.main-info-stripes {
position: absolute;
inset: 0;
overflow: hidden;
transform: skewY(-8deg);
transform-origin: 0;
background: linear-gradient(135deg, #003A6B 0%, #1A4E8A 50%, #2563A6 100%);
opacity: 0.45;
z-index: 1;
}
.main-info-stripes span {
position: absolute;
height: 120px;
opacity: 0.6;
filter: brightness(1.1);
}
.main-info-stripes :nth-child(1) { width: 40%; left: -10%; top: 10%; background: #3B82F6; }
.main-info-stripes :nth-child(2) { width: 35%; right: -5%; bottom: 15%; background: #60A5FA; }
.main-info-stripes :nth-child(3) { width: 45%; left: 20%; bottom: -20%; background: #2563A6; }
.main-info-content {
position: relative;
z-index: 3;
max-width: 1400px;
margin: 0 auto;
}
.main-info-content h2 {
font-size: 44px;
font-weight: 800;
text-align: center;
margin: 0 0 64px 0;
background: linear-gradient(90deg,
  #ffffff 0%,
  #f0f4ff 30%,
  #fff7e6 60%,
  #ffffff 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
text-shadow:
  0 0 20px rgba(255, 255, 255, 0.8),
  0 0 40px rgba(255, 255, 255, 0.4);
}
.main-flex {
display: flex;
gap: 28px;
flex-wrap: wrap;
justify-content: center;
align-items: stretch;
}
.content-box {
flex: 1;
min-width: 340px;
background: rgba(255,255,255,0.08);
backdrop-filter: blur(12px);
border-radius: 20px;
padding: 32px 28px;
border: 1px solid rgba(255,255,255,0.12);
box-shadow: 0 12px 40px rgba(0,0,0,0.3);
transition: all 0.35s ease;
}
.content-box:hover {
transform: translateY(-8px);
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.content-box p {
font-size: 17px;
line-height: 1.65;
margin: 0 0 20px;
color: rgba(255,255,255,0.92);
}
.info {
display: flex;
align-items: center;
gap: 24px;
margin-top: 32px;
}
.btn-consult {
background: linear-gradient(90deg, #FF7A00, #FF9C40);
color: white;
padding: 16px 36px;
border-radius: 12px;
border: none;
font-weight: 700;
font-size: 17px;
box-shadow: 0 8px 24px rgba(255,122,0,0.4);
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
}
.btn-consult:hover {
background: linear-gradient(90deg, #FF9C40, #FFB366);
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(255,122,0,0.55);
}

.tent-pluses {
margin-top: 28px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}
.tent-top-row,
.tent-bottom-row {
grid-column: 1 / -1;
display: grid;
grid-template-columns: subgrid;
gap: 28px;
}
.tent-big-logo {
grid-column: 1 / 2;
background: rgba(255,255,255,0.06);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.12);
border-radius: 20px;
padding: 28px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.35s ease;
}
.tent-big-logo:hover {
transform: translateY(-8px);
background: rgba(255,255,255,0.11);
border-color: rgba(96,165,250,0.3);
}
.tent-big-logo img {
width: 100%;
max-width: 240px;
height: auto;
object-fit: contain;
}
.advantage-card {
background: rgba(255,255,255,0.06);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 20px;
transition: all 0.35s ease;
display: flex;
align-items: stretch;
overflow: hidden;
}
.advantage-card:hover {
transform: translateY(-10px);
background: rgba(255,255,255,0.12);
border-color: rgba(96,165,250,0.4);
box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.advantage-icon {
width: 100px;
flex: 0 0 100px;
display: flex;
align-items: center;
justify-content: center;
padding: 20px 0 20px 24px;
}
.advantage-icon img {
width: 64px;
height: 64px;
border-radius: 50%;
background: rgba(255,255,255,0.15);
padding: 12px;
box-sizing: border-box;
}
.advantage-divider {
width: 1px;
background: rgba(255,255,255,0.18);
margin: 20px 0;
flex: 0 0 1px;
}
.advantage-content {
flex: 1;
padding: 24px 28px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
}
.advantage-content h3 {
font-size: 20px;
font-weight: 800;
margin: 0 0 12px 0;
background: linear-gradient(90deg, #ffffff 0%, #f0f4ff 40%, #fff7e6 70%, #ffffff 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 12px rgba(255,255,255,0.7);
}
.advantage-content span {
font-size: 15px;
line-height: 1.6;
color: rgba(255,255,255,0.88);
}
.tent-main-advantage {
grid-column: 2 / 4;
}
.tent-main-advantage .advantage-icon {
width: 120px;
flex: 0 0 120px;
}
.tent-main-advantage .advantage-icon img {
width: 80px;
height: 80px;
padding: 16px;
}
.tent-main-advantage .advantage-content h3 {
font-size: 26px;
margin-bottom: 16px;
}
.tent-main-advantage .advantage-content span {
font-size: 17px;
}
.thumbs-swiper {
margin: 16px 0 0;
width: 100%;
}
.thumbs-swiper .swiper-slide {
opacity: 0.7;
transition: opacity 0.3s;
}
.thumbs-swiper .swiper-slide-thumb-active {
opacity: 1;
}
.thumbs-swiper img {
width: 100%;
height: 80px;
object-fit: cover;
border-radius: 8px;
cursor: pointer;
border: 2px solid transparent;
transition: border 0.3s;
}
.thumbs-swiper .swiper-slide-thumb-active img {
border-color: #FF9C40;
}
@media (max-width: 1024px) {
.main-flex {
  flex-direction: column;
  gap: 40px;
}
.tent-pluses {
  grid-template-columns: repeat(2, 1fr);
}
.tent-big-logo,
.tent-main-advantage {
  grid-column: auto;
}
.advantage-card {
  flex-direction: column;
}
.advantage-divider {
  width: 100%;
  height: 1px;
  margin: 0 20px;
}
.advantage-icon {
  padding: 24px 0 16px;
  justify-content: center;
}
.advantage-content {
  text-align: center;
  padding: 16px 24px 24px;
}
}
@media (max-width: 768px) {
.main-info-content h2 {
  font-size: 36px;
  line-height: 1.2;
}
.content-box {
  padding: 28px 20px;
}
.info {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.btn-consult {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 16px;
}
.tent-pluses {
  grid-template-columns: 1fr;
  margin-top: 60px;
}
.tent-big-logo img {
  max-width: 280px;
}
.tent-main-advantage {
  padding: 36px 28px;
}
.tent-main-advantage .advantage-content h3 {
  font-size: 24px;
}
.thumbs-swiper .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  transform: none !important;
}
.thumbs-swiper .swiper-slide {
  width: 100% !important;
  margin: 0 !important;
}
.thumbs-swiper img {
  height: 70px !important;
}
}
@media (max-width: 480px) {
.main-info-section {
  padding: 80px 4% 100px;
}
.main-info-content h2 {
  font-size: 32px;
  margin-bottom: 48px;
}
.content-box {
  padding: 24px 16px;
}
.btn-consult {
  padding: 14px 20px;
  font-size: 15px;
}
.tent-pluses {
  margin-top: 48px;
  gap: 24px;
}
.tent-big-logo {
  padding: 24px;
}
.tent-big-logo img {
  max-width: 240px;
}
.tent-main-advantage {
  padding: 28px 20px;
}
.advantage-icon {
  width: 90px;
  flex: 0 0 90px;
  padding: 16px 0 16px 16px;
}
.advantage-icon img {
  width: 56px;
  height: 56px;
  padding: 10px;
}
.thumbs-swiper img {
  height: 60px;
}
}



  .projects-section {
    padding: 100px 6% 140px;
    background: var(--color-gray-100);
  }
  .projects-container {
    max-width: 1440px;
    margin: 0 auto;
  }
  .projects-section h2 {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 64px 0;
    background: linear-gradient(90deg,
      #003A6B 0%,
      #1A4E8A 30%,
      #2563A6 60%,
      #3B82F6 80%,
      #FF7A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(50px);
    text-decoration: none;
    color: inherit;
  }
  .project-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .project-card:nth-child(1)  { transition-delay: 0.10s; }
  .project-card:nth-child(2)  { transition-delay: 0.15s; }
  .project-card:nth-child(3)  { transition-delay: 0.20s; }
  .project-card:nth-child(4)  { transition-delay: 0.25s; }
  .project-card:nth-child(5)  { transition-delay: 0.30s; }
  .project-card:nth-child(6)  { transition-delay: 0.35s; }
  .project-card:nth-child(7)  { transition-delay: 0.40s; }
  .project-card:nth-child(8)  { transition-delay: 0.45s; }
  .project-card:nth-child(9)  { transition-delay: 0.50s; }
  .project-card:nth-child(10) { transition-delay: 0.55s; }
  .project-card:nth-child(11) { transition-delay: 0.60s; }
  .project-card:nth-child(12) { transition-delay: 0.65s; }
  .project-card:nth-child(13) { transition-delay: 0.70s; }
  .project-card:nth-child(14) { transition-delay: 0.75s; }
  .project-card:nth-child(15) { transition-delay: 0.80s; }
  .project-card:nth-child(16) { transition-delay: 0.85s; }
  .project-card:nth-child(17) { transition-delay: 0.90s; }
  .project-card:nth-child(18) { transition-delay: 0.95s; }
  .project-card:nth-child(19) { transition-delay: 1.00s; }
  .project-card:nth-child(20) { transition-delay: 1.05s; }
  .project-card:nth-child(21) { transition-delay: 1.10s; }
  .project-card:nth-child(22) { transition-delay: 1.15s; }
  .project-card:nth-child(23) { transition-delay: 1.20s; }
  .project-card:nth-child(24) { transition-delay: 1.25s; }

  .project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.20);
  }
  .project-image-wrapper {
    position: relative;
    flex: 1;
    min-height: 260px;
    overflow: hidden;
  }
  .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .project-card:hover .project-img {
    transform: scale(1.08);
  }
  .project-top-plaques {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
  }
  .hit-plaque,
  .project-info {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
  }
  .hit-plaque {
    background: var(--color-accent-500);
  }
  .project-info {
    background: rgba(26,78,138,0.88);
    font-weight: 600;
    font-size: 14.5px;
  }
  .project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    z-index: 1;
  }
  .project-card:hover .project-overlay {
    background: rgba(0,0,0,0.38);
  }
  .project-name-bg {
    background: linear-gradient(135deg, #003A6B 0%, #1A4E8A 50%, #2563A6 100%);
    color: white;
  height: 90px;
    padding: 20px 24px;
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    z-index: 2;
  }
  .btn-details {
    position: absolute;
    top: 50%;
    right: -160px;
    transform: translateY(-50%);
    background: var(--gradient-btn-primary);
    color: white;
    padding: 14px 40px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(255,122,0,0.45);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
    opacity: 0;
    z-index: 3;
    white-space: nowrap;
  }
  .project-card:hover .btn-details {
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 1;
  }
  .btn-details:hover {
    background: var(--gradient-btn-primary-hover);
    transform: translate(50%, -50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(255,122,0,0.55);
  }

  @media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card { transition-delay: 0.15s !important; }
  }
  @media (max-width: 640px) {
    .projects-grid { grid-template-columns: 1fr; gap: 28px; }
    .project-image-wrapper { min-height: 220px; }
    .hit-plaque, .project-info {
      padding: 6px 12px;
      font-size: 13px;
      height: 32px;
    }
    .project-info { font-size: 13px; }
    .project-name-bg { font-size: 17px; padding: 16px 20px; }
    .btn-details { padding: 12px 32px; font-size: 15px; }
  }
  @media (max-width: 480px) {
    .projects-section { padding: 80px 5% 100px; }
    .projects-section h2 { font-size: 36px; margin-bottom: 48px; }
    .project-top-plaques { top: 12px; left: 12px; right: 12px; }
  }




  .services-section {
    position: relative;
    min-height: 80vh;
    padding: 120px 6% 140px;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
    isolation: isolate;
  }

  #services-stripes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: skewY(-10deg);
    transform-origin: 0 0;
    background: linear-gradient(135deg, #1A4E8A 0%, #2563A6 50%, #3B82F6 100%);
    opacity: 0;
    animation: fadeInSimple 1.6s var(--anim-easing) forwards;
    z-index: 1;
  }

  #services-stripes span {
    position: absolute;
    height: 180px;
    opacity: 0;
    filter: brightness(1.1) contrast(1.05);
    animation: fadeInSimple 1.2s var(--anim-easing) forwards;
  }

  #services-stripes :nth-child(1) { width: 40%; left: -10%; top: 15%; background: #3B82F6; animation-delay: 0.2s; }
  #services-stripes :nth-child(2) { width: 35%; right: -5%; top: 40%; background: #60A5FA; animation-delay: 0.3s; }
  #services-stripes :nth-child(3) { width: 45%; left: 20%; bottom: -10%; background: #2563A6; animation-delay: 0.4s; }

  @media (max-width: 880px) {
    #services-stripes span { height: 140px; }
  }

  .services-container {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    margin: 0 auto;
  }

  .services-section h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 80px;
    background: linear-gradient(90deg, #ffffff 0%, #f0f4ff 30%, #fff7e6 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255,255,255,0.6);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(60px);
    display: flex;
    flex-direction: column;
  }

  .service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .service-card:nth-child(1) { transition-delay: 0.3s; }
  .service-card:nth-child(2) { transition-delay: 0.45s; }
  .service-card:nth-child(3) { transition-delay: 0.6s; }

  .service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    border-color: rgba(255,122,0,0.4);
  }

  .service-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
  }

  .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .service-card:hover .service-img {
    transform: scale(1.12);
  }

  .service-content {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .service-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--color-accent-400);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }

  .service-content p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    margin: 0 0 28px;
    flex: 1;
  }

  /* Новый уникальный стиль кнопки — стабильный и красивый */
  .service-btn {
    background: var(--gradient-btn-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(255,122,0,0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
    width: auto;
    min-width: 220px;
    margin: 0 auto;
    align-self: center;
  }

  .service-btn:hover {
    transform: translateY(-6px);
    background: var(--gradient-btn-primary-hover);
    box-shadow: 0 16px 40px rgba(255,122,0,0.55);
  }

  @media (max-width: 1024px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .service-card { transition-delay: 0.3s !important; }
  }

  @media (max-width: 640px) {
    .services-grid {
      grid-template-columns: 1fr;
    }
    .services-section {
      padding: 80px 5% 100px;
    }
    .services-section h2 {
      font-size: 38px;
      margin-bottom: 60px;
    }
    .service-image-wrapper {
      height: 220px;
    }
    .service-content h3 {
      font-size: 24px;
    }
    .service-content p {
      font-size: 16px;
    }
    .service-btn {
      min-width: 200px;
      padding: 14px 28px;
      font-size: 16px;
    }
  }



  .stages-section {
    padding: 100px 6% 120px;
    background: var(--color-gray-100);
  }
  .stages-container {
    max-width: 1440px;
    margin: 0 auto;
  }
  .stages-section h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 80px;
    background: linear-gradient(90deg,
      #003A6B 0%,
      #1A4E8A 30%,
      #2563A6 60%,
      #3B82F6 80%,
      #FF7A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .stages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
  }

  .stage-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .stage-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .stage-card:nth-child(1)  { transition-delay: 0.2s; }
  .stage-card:nth-child(2)  { transition-delay: 0.3s; }
  .stage-card:nth-child(3)  { transition-delay: 0.4s; }
  .stage-card:nth-child(4)  { transition-delay: 0.5s; }
  .stage-card:nth-child(5)  { transition-delay: 0.6s; }
  .stage-card:nth-child(6)  { transition-delay: 0.7s; }
  .stage-card:nth-child(7)  { transition-delay: 0.8s; }
  .stage-card:nth-child(8)  { transition-delay: 0.9s; }

  .stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  }

  .stage-image-wrapper {
    height: 180px;
    overflow: hidden;
  }

  .stage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .stage-card:hover .stage-img {
    transform: scale(1.08);
  }

  .stage-content {
    padding: 20px 16px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .stage-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--color-primary-700);
    line-height: 1.3;
  }

  .stage-number-plaque {
    width: 100%;
    background: var(--color-accent-500);
    color: white;
    padding: 12px 0;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255,122,0,0.3);
  }

  /* Десктоп — картинка слева, текст + номер справа */
  @media (min-width: 769px) {
    .stage-card {
      flex-direction: row;
      height: 180px;
      text-align: left;
    }

    .stage-image-wrapper {
      width: 40%;
    }

    .stage-content {
      width: 60%;
      padding: 24px 20px;
      align-items: flex-start;
      justify-content: center;
    }

    .stage-number-plaque {
      position: absolute;
      top: 12px;
      right: 12px;
      width: auto;
      min-width: 48px;
      height: 48px;
      padding: 0;
      border-radius: 50%;
      font-size: 26px;
      line-height: 48px;
      box-shadow: 0 6px 16px rgba(255,122,0,0.4);
    }

    .stage-content h3 {
      margin: 0;
    }

    /* Сетка десктоп */
    .stage-row-1,
    .stage-row-2 {
      grid-column: span 2;
    }
    .stage-row-3 {
      grid-column: span 3;
    }
  }

  @media (max-width: 768px) {
    .stages-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .stage-row-1,
    .stage-row-2,
    .stage-row-3 {
      grid-column: span 1;
    }

    .stage-card {
     position: relative;          
  min-height: 120px;           
  height: auto;
    }

    .stage-image-wrapper {
      height: 160px;
    }

    .stage-content {
     position: relative;          
  padding-bottom: 70px;        
  display: block;
    }

    .stage-content h3 {
      font-size: 18px;
      margin-bottom: 12px;
    }

    .stage-number-plaque {
      position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0 0 20px 20px;   
  padding: 14px 0;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1); 
  z-index: 2;
    }
  }

  @media (max-width: 480px) {
    .stages-grid {
      grid-template-columns: 1fr 1fr;
    }
    .stages-section {
      padding: 80px 5% 100px;
    }
    .stages-section h2 {
      font-size: 38px;
      margin-bottom: 60px;
    }
    .stage-image-wrapper {
      height: 140px;
    }
    .stage-content h3 {
      font-size: 12px;
  text-align: left;
    }
    .stage-number-plaque {
      font-size: 20px;
      padding: 10px 0;
    }
  }


  

.gallery-section {
  position: relative;
  padding: 120px 6% 140px;
  background: var(--gradient-hero);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

#gallery-stripes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: skewY(-10deg);
  transform-origin: 0 0;
  background: linear-gradient(135deg, #1A4E8A 0%, #2563A6 50%, #3B82F6 100%);
  opacity: 0;
  animation: fadeInSimple 1.6s var(--anim-easing) forwards;
  z-index: 1;
}

#gallery-stripes span {
  position: absolute;
  height: 180px;
  opacity: 0;
  filter: brightness(1.1) contrast(1.05);
  animation: fadeInSimple 1.2s var(--anim-easing) forwards;
}

#gallery-stripes :nth-child(1) { width: 40%; left: -10%; top: 15%; background: #3B82F6; animation-delay: 0.2s; }
#gallery-stripes :nth-child(2) { width: 35%; right: -5%; top: 40%; background: #60A5FA; animation-delay: 0.3s; }
#gallery-stripes :nth-child(3) { width: 45%; left: 20%; bottom: -10%; background: #2563A6; animation-delay: 0.4s; }

@media (max-width: 880px) {
  #gallery-stripes span { height: 140px; }
}

.gallery-container {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
}

.breadcrums {
  font-size: 16px;
  margin-bottom: 40px;
  text-align: center;
  color: rgba(255,255,255,0.85);
}

.breadcrums a {
  color: var(--color-accent-400);
  text-decoration: none;
}

.breadcrums a:hover {
  text-decoration: underline;
}

.gallery-section h1 {
  font-size: 52px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px;
  background: linear-gradient(90deg, #ffffff 0%, #f0f4ff 30%, #fff7e6 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255,255,255,0.6);
}

.main-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 60px 0;
}

.main-video-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transition: all 0.35s ease;
  cursor: pointer;
}

.main-video-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.main-video-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Модальные окна для видео */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255,255,255,0.2);
}

.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 0 10px black;
}

.close-modal:hover {
  color: var(--color-accent-500);
}

.portfolio-gallery {
  margin-top: 100px;
}

.portfolio-gallery h2 {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 60px;
  background: linear-gradient(90deg, #ffffff 0%, #f0f4ff 40%, #fff7e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
  cursor: pointer;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:nth-child(1) { transition-delay: 0.2s; }
.gallery-item:nth-child(2) { transition-delay: 0.3s; }
.gallery-item:nth-child(3) { transition-delay: 0.4s; }
.gallery-item:nth-child(4) { transition-delay: 0.5s; }
.gallery-item:nth-child(5) { transition-delay: 0.6s; }
.gallery-item:nth-child(6) { transition-delay: 0.7s; }
.gallery-item:nth-child(7) { transition-delay: 0.8s; }
.gallery-item:nth-child(8) { transition-delay: 0.9s; }
.gallery-item:nth-child(9) { transition-delay: 1.0s; }
.gallery-item:nth-child(10) { transition-delay: 1.1s; }
.gallery-item:nth-child(11) { transition-delay: 1.2s; }
.gallery-item:nth-child(12) { transition-delay: 1.3s; }
.gallery-item:nth-child(13) { transition-delay: 1.4s; }
.gallery-item:nth-child(14) { transition-delay: 1.5s; }
.gallery-item:nth-child(15) { transition-delay: 1.6s; }
.gallery-item:nth-child(16) { transition-delay: 1.7s; }

.gallery-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 16px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .main-videos {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .main-videos {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item img {
    height: 160px;
  }
  .gallery-section {
    padding: 80px 5% 100px;
  }
  .gallery-section h1 {
    font-size: 36px;
  }
  .portfolio-gallery h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item img {
    height: 140px;
  }
}




  .seo-section {
    padding: 100px 0 120px; 
    background: var(--color-gray-100);
  }
  .seo-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
  }
  .seo-section h2 {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 64px;
    background: linear-gradient(90deg,
      #003A6B 0%,
      #1A4E8A 30%,
      #2563A6 60%,
      #3B82F6 80%,
      #FF7A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .seo-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-800);
    max-width: 1440px;
    margin: 0 auto 80px;
  }
  .seo-content p {
    margin: 0 0 24px;
  }
  .seo-content ul {
    list-style: none;
    padding-left: 0;
    margin: 32px 0;
  }
  .seo-content li {
    margin: 16px 0;
    position: relative;
    padding-left: 36px;
  }
  .seo-content li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--color-accent-500);
    font-size: 24px;
    line-height: 1;
  }
  .seo-content .strong-text {
    font-weight: 700;
    color: var(--color-primary-700);
  }
  .info-box {
    display: flex;
    gap: 56px;
    margin: 100px 0;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(26,78,138,0.04) 0%, rgba(59,130,246,0.04) 100%);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
  }
  .info-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, rgba(26,78,138,0.08) 0%, rgba(59,130,246,0.08) 100%);
  }
  .info-box > div {
    flex: 1;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .info-box .img-wrapper {
    flex: 1;
    min-width: 420px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: all 0.5s ease;
  }
  .info-box .img-wrapper:hover {
    transform: scale(1.02);
  }
  .info-box .img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,58,107,0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .info-box .img-wrapper:hover::after {
    opacity: 1;
  }
  .info-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
  }
  .info-box .img-wrapper:hover img {
    transform: scale(1.08);
  }
  .info-box h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 24px;
    color: var(--color-primary-700);
  }
  .hr-accent {
    background: linear-gradient(90deg, transparent, #FF7A00, transparent);
    height: 6px;
    width: 80%;
    margin: 80px auto;
    border-radius: 3px;
    opacity: 0.7;
  }
  .certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
  }
  .certificate-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    cursor: pointer;
  }
  .certificate-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .certificate-item:nth-child(1) { transition-delay: 0.2s; }
  .certificate-item:nth-child(2) { transition-delay: 0.3s; }
  .certificate-item:nth-child(3) { transition-delay: 0.4s; }
  .certificate-item:nth-child(4) { transition-delay: 0.5s; }
  .certificate-item:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  }
  .certificate-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  @media (max-width: 1024px) {
    .info-box {
      flex-direction: column;
      gap: 40px;
      padding: 32px;
    }
    .info-box .img-wrapper {
      min-height: 420px;
    }
    .certificates-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 640px) {
    .seo-section {
      padding: 80px 5% 100px;
    }
    .seo-section h2 {
      font-size: 26px;
      margin-bottom: 48px;
    }
   .seo-section p {
      font-size: 16px;
      margin-bottom: 48px;
    }
    .certificates-grid {
      grid-template-columns: 1fr 1fr;
    }
    .seo-container {
      padding: 0 5%;
    }
  }

@media (max-width: 640px) {
.info-box {
  padding: 24px 20px;
  gap: 24px;
  margin: 48px 0;
  overflow: hidden; 
}
.info-box > div {
  min-width: 0;
  width: 100%;
}
.info-box .img-wrapper {
  min-width: 0;
  width: 100%;
  min-height: 220px;
}
.info-box h2 {
  font-size: 22px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.info-box p {
  font-size: 16px;
  line-height: 1.6;
}

}


  .faq-section {
    padding: 100px 6% 120px;
    background: var(--color-gray-100);
  }

  .faq-container {
    max-width: 1440px;
    margin: 0 auto;
  }

  .faq-section h2 {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 80px;
    background: linear-gradient(90deg,
      #003A6B 0%,
      #1A4E8A 30%,
      #2563A6 60%,
      #3B82F6 80%,
      #FF7A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-content: start; /* карточки начинаются сверху, не растягивают ряд */
  }

  .faq-entry {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden; /* ответ не вылезает за карточку */
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
    align-self: start; /* карточка не растягивается по высоте ряда */
    height: auto;
  }

  .faq-entry.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.9s cubic-bezier(0.22,1,0.36,1);
  }

  .faq-entry:nth-child(1) { transition-delay: 0.1s; }
  .faq-entry:nth-child(2) { transition-delay: 0.2s; }
  .faq-entry:nth-child(3) { transition-delay: 0.3s; }
  .faq-entry:nth-child(4) { transition-delay: 0.4s; }
  .faq-entry:nth-child(5) { transition-delay: 0.5s; }
  .faq-entry:nth-child(6) { transition-delay: 0.6s; }
  .faq-entry:nth-child(7) { transition-delay: 0.7s; }
  .faq-entry:nth-child(8) { transition-delay: 0.8s; }
  .faq-entry:nth-child(9) { transition-delay: 0.9s; }
  .faq-entry:nth-child(10) { transition-delay: 1.0s; }

  .faq-entry:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  }

  .faq-q-title {
    padding: 24px 32px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
  }

  .faq-arrow {
    font-size: 24px;
    color: var(--color-accent-500);
    transition: transform 0.3s ease;
  }

  .faq-entry.open .faq-arrow {
    transform: rotate(90deg);
  }

  .faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.4s ease;
    padding: 0 32px;
  }

  .faq-entry.open .faq-body {
    max-height: 800px; /* увеличил, если ответы длинные — не будет обрезаться */
    padding: 0 32px 32px;
  }

  .faq-body p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-gray-700);
  }

  @media (max-width: 1024px) {
    .faq-grid {
      grid-template-columns: 1fr;
    }
    .faq-entry {
      transition-delay: 0.2s !important;
    }
  }

  @media (max-width: 640px) {
    .faq-section {
      padding: 80px 5% 100px;
    }
    .faq-section h2 {
      font-size: 36px;
      margin-bottom: 60px;
    }
    .faq-q-title {
      padding: 20px 24px;
      font-size: 18px;
    }
    .faq-body {
      padding: 0 24px 24px;
    }
    .faq-body p {
      font-size: 16px;
    }
  }

@media (max-width: 768px) {
.faq-body {
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  transition: max-height 0.4s ease, padding 0.4s ease !important;
}

.faq-entry.open .faq-body {
  max-height: 800px !important; 
  padding: 0 24px 24px !important;
}

.faq-entry {
  overflow: hidden !important;
}

.faq-q-title {
  padding: 18px 20px !important;
  font-size: 17px !important;
}

.faq-body p {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
}


  .reviews-section {
    position: relative;
    padding: 120px 6% 140px;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
    isolation: isolate;
  }

  /* Полосы как в hero */
  #reviews-stripes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: skewY(-10deg);
    transform-origin: 0 0;
    background: linear-gradient(135deg, #1A4E8A 0%, #2563A6 50%, #3B82F6 100%);
    opacity: 0;
    animation: fadeInSimple 1.6s var(--anim-easing) forwards;
    z-index: 1;
  }

  #reviews-stripes span {
    position: absolute;
    height: 180px;
    opacity: 0;
    filter: brightness(1.1) contrast(1.05);
    animation: fadeInSimple 1.2s var(--anim-easing) forwards;
  }

  #reviews-stripes :nth-child(1) { width: 40%; left: -10%; top: 15%; background: #3B82F6; animation-delay: 0.2s; }
  #reviews-stripes :nth-child(2) { width: 35%; right: -5%; top: 40%; background: #60A5FA; animation-delay: 0.3s; }
  #reviews-stripes :nth-child(3) { width: 45%; left: 20%; bottom: -10%; background: #2563A6; animation-delay: 0.4s; }

  @media (max-width: 880px) {
    #reviews-stripes span { height: 140px; }
  }

  .reviews-container {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    margin: 0 auto;
  }

  .reviews-section h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 80px;
    background: linear-gradient(90deg, #ffffff 0%, #f0f4ff 30%, #fff7e6 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255,255,255,0.6);
  }

  /* Swiper обёртка */
  .reviews-swiper {
    padding: 0 0 60px;
  }

  .review-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 32px;
    height: 380px; /* фиксированная высота для всех карточек */
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(60px);
  }

  .review-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.22,1,0.36,1);
  }

  .review-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  }

  .review-rating {
    color: #FFCA28;
    font-size: 28px;
    margin-bottom: 16px;
  }

  .review-name-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
  }

  .review-name {
    font-weight: 700;
    color: var(--color-accent-400);
  }

  .review-date {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
  }

  .review-text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8; /* максимум 8 строк */
    -webkit-box-orient: vertical;
  }

  /* Навигация Swiper */
  .swiper-button-next,
  .swiper-button-prev {
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease !important;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: rgba(255,122,0,0.4) !important;
  }

  .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
  }

  .swiper-pagination-bullet-active {
    background: var(--color-accent-500) !important;
    opacity: 1 !important;
  }

  @media (max-width: 1024px) {
    .review-card {
      height: 420px;
    }
  }

  @media (max-width: 640px) {
    .reviews-section {
      padding: 80px 5% 100px;
    }

    .reviews-section h2 {
      font-size: 36px;
      margin-bottom: 60px;
    }

    .review-card {
      height: 380px;
      padding: 24px;
    }

    .review-q-title {
      font-size: 18px;
    }

    .review-text {
      font-size: 16px;
      -webkit-line-clamp: 7;
    }
  }


