

@media (max-width: 2560px) and (min-width: 1920px){
.hero-title {
  font-weight: 600;
  font-size: 98px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: #f7f7f7;
}
.section {
  padding: 80px 0;
}
h2 {
  margin-bottom: 80px;
}
.card-content {
  height: 600px;
}
.stage-title {
  font-size: 42px;
}
.stage-description {
  font-size: 28px;
}
.advantage-card-1 {
  min-height: 40em;
}
.advantage-card-2 {
    min-height: 45rem;
}
.advantage-card-3 {
  min-height: 50rem;
}
.case-cta-title {
font-size: 44px;
}
.faq-question {
font-size: 30px;
}
}
@media (max-width: 1920px) {
.section {
  padding: 60px 0;
}
h2 {
  margin-bottom: 60px;
}
}
@media (max-width: 1600px) {
.section {
  padding: 60px 0;
}
h2 {
  margin-bottom: 60px;
}
      .hero-title {
    font-size: 68px;
  }
  .hero-description p:nth-child(1) {
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 30px;
}
.card-content {
    display: flex
;
    padding: 40px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    align-self: stretch;
    position: relative;
    z-index: 2;
    height: 445px;
}
.stage-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #0f2746;
    margin-bottom: 70px;
}
.stage-description {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #434343;
    margin-bottom: 70px;
}
.advantage-card-1 {
    min-height: 30em;
}
.advantage-card-2 {
    min-height: 35rem;
}
.advantage-card-3 {
    min-height: 40rem;

}
.form-question {
    font-size: 28px;
}
.radio-text{
  font-size: 16px;
}
.case-cta-title{font-size: 28px;}
.faq-question {
    font-size: 22px;
}
}
@media (max-width: 1280px){
  p{
    font-size: 14px;
  }
    .benefits-grid {
    gap: 10px;
}
    .card-content {
     padding: 20px;
    }
    h3 {
        font-size: 26px;
    }
        .card-content {
        padding: 40px 20px !important;
                height: 460px !important;
    
                
      }
      .advantage-card{padding: 40px 20px !important; 
                   gap: 40px !important;}
      .advantage-number {
    width: 2.75rem !important;
    height: 2.75rem !important;
  font-size: 14px !important;
 
  }

  
.advantage-content {
    gap: 10px !important;
}
.advantage-card-1 {
        min-height: 30em;
    }
        .advantage-card-2 {
        min-height: 33rem;
    }
        .advantage-card-3 {
        min-height: 39rem;
    }
    .case-card {
    padding: 30px !important;
    }
        .faq-question {
        font-size: 16px !important;
    }
}
/* ===== ГЛАВНАЯ СЕКЦИЯ ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0f2746;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 400px;
  width: 110%;
  height: 110%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 200px;
  align-content: space-between;
  justify-content: space-between;
}



.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: flex-end;
}

.hero-dot {
  width: 1.25rem;
  height: 1.25rem;
  background: #c20a38;
  border-radius: 50%;
}

.hero-feature-text {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  text-align: right;
  color: #f7f7f7;
  max-width: 260px;
}

.hero-description p:nth-child(1) {
  font-size: 28px;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 30px;
}

.hero-description p:nth-child(2) {
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  margin: 0;
}

.btn-primary {
  align-self: end;
}


@media (max-width: 1440px) {
  .hero-content {
    grid-template-columns: 1fr 300px;
    gap: 200px;
  }

  .hero-title {
    font-size: 72px;
  }

  .hero-feature-text {
    font-size: 16px;
    max-width: 240px;
  }

  .hero-description p:nth-child(1) {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .hero-description p:nth-child(2) {
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
.section {
  padding: 60px 0;
}
h2 {
  margin-bottom: 60px;
}
      .hero-title {
    font-size: 68px;
  }
  .hero-description p:nth-child(1) {
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 30px;
}
.card-content {
    display: flex
;
    padding: 40px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    align-self: stretch;
    position: relative;
    z-index: 2;
    height: 445px;
}
.stage-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #0f2746;
    margin-bottom: 70px;
}
.stage-description {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #434343;
    margin-bottom: 70px;
}
.advantage-card-1 {
    min-height: 30em;
}
.advantage-card-2 {
    min-height: 35rem;
}
.advantage-card-3 {
    min-height: 40rem;

}
.form-question {
    font-size: 28px;
}
.radio-text{
  font-size: 16px;
}
.case-cta-title{font-size: 28px;}
.faq-question {
    font-size: 22px;
}

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 90px;
  }

  .hero-feature {
    order: 0;
  }
  .hero-title {
    font-size: 64px;
    order: 1;
  }
  .hero-description {
    order: 2;
  }
  .btn-primary {
    order: 3;
    align-self: flex-start;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 56px;
  }
}
@media (max-width: 425px) {
  .hero-title {
    font-size: 46px;
  }
  .hero-description p:nth-child(1) {
    font-size: 20px;
  }
  .hero-description p:nth-child(2) {
    font-size: 16px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .hero-feature {
    padding-bottom: 20px;
  }
  .hero-feature-text {
    font-size: 14px;
    max-width: 140px;
  }
  .hero-dot {
    width: 1rem;
    height: 1rem;
    background: #c20a38;
    border-radius: 50%;
  }
}
@media (max-width: 375px) {
  .hero-title {
    font-size: 42px;
  }
}
/* ===== КОНТАКТНАЯ ФОРМА ===== */
.contact {
  background: #0f2746;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info {
  text-align: center;
}

.contact-title {
  margin-bottom: 20px;
}

.contact-description {
  font-size: 18px;
  opacity: 0.9;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
  margin-bottom: 30px;
  text-align: center;
  color: #0f2746;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f2746;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #dc2336;
}

.form-group input::placeholder {
  color: #999999;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
  color: #0f2746;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: #c20a38;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background: #a0083a;
}

/* ===== СЕКЦИЯ ПРОЕКТОВ ===== */
.projects,
.projects-showcase {
  background: #f7f7f7;
  color: #0f2746;
}

.projects-title {
  margin-bottom: 40px;
  color: #0f2746;
  font-size: 64px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -1.28px;
}

.projects-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.projects-carousel {
  position: relative;
}

.projects-grid {
  display: flex;
  gap: 20px;
  width: 100%;
}
.project-card {
  flex: 50%;
}
.project-info {
  padding-top: 20px;
  padding-right: 200px;
}

.project-description {
  margin-top: 30px;
}

.project-image {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  object-fit: cover;
}

.projects-nav,
.navigation-arrows {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-self: start;
}

.arrow-btn {
  width: 110px;
  height: 60px;
  display: flex;
  background: #dc2336;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.arrow-btn:hover {
  transform: translateY(-2px);
}

.arrow-btn svg {
  display: block;
}

.mobile-arrow {
  display: none;
  width: 110px;
  height: 60px;
  background: #dc2336;
  border-radius: 6px;
  position: relative;
}

.mobile-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}

.mobile-arrow-left::before {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #f7f7f7;
  margin-left: -2px;
}

.mobile-arrow-right::before {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #f7f7f7;
  margin-left: 2px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #dc2336;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #c41e30;
  transform: scale(1.1);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ (ЗАЧЕМ ЛЕНДИНГ) ===== */
.why-landing-section {
  background: #f7f7f7;
}

.why-landing-title {
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.benefit-card {
  position: relative;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.card-content {
  display: flex;
  padding: 40px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  align-self: stretch;
  position: relative;
  z-index: 2;
  
}
@media (max-width: 1440px) {
.card-content {
  display: flex;
  padding: 40px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  align-self: stretch;
  position: relative;
  z-index: 2;
  height: 445px;
}  
}

.card-description {
  color: #f7f7f7;
}

/* Card specific background overrides */
.card-fast-launch .card-background {
  background: linear-gradient(135deg, #dc2336 0%, #c20a38 50%, #5c051b 100%);
}

.card-single-offer .card-background {
  background: #050f1b;
}

.card-economy .card-background {
  background: #0f2746;
}

/* ===== ПРОМО СЕКЦИЯ ===== */
.promotional-section {
  background: #0f2746;
  position: relative;
}

.promotional-content {
  display: flex;
  width: 50%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4vh;
  padding: 80px 0;
}

.promotional-title {
  color: #f7f7f7;
}

.promotional-description {
  color: #f7f7f7;
}

.promotional-graphics {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  flex-shrink: 0;
}

.promotional-svg {
  width: 100%;
  height: 100%;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.stages {
  background: #f7f7f7;
  color: #0f2746;
}

.stages-title {
  margin-bottom: 40px;
}

.stages-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.stage-description {
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #434343;
    margin-bottom: 70px;
}
.stages-visual {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wireframe-container {
  width: 100%;
  max-width: 300px;
}

.wireframe {
  width: 100%;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 20px;
  color: #0f2746;
}

.wireframe-header,
.wireframe-categories,
.wireframe-banner,
.wireframe-catalog,
.wireframe-manufacturers,
.wireframe-footer {
  margin-bottom: 15px;
  padding: 10px;
  background: #e0e0e0;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
}

.wireframe-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.nav-item {
  background: #d0d0d0;
  padding: 5px;
  border-radius: 3px;
  font-size: 10px;
}

.wireframe-search {
  display: flex;
  gap: 10px;
}

.search-bar {
  flex: 1;
  height: 20px;
  background: #d0d0d0;
  border-radius: 3px;
}

.cart-icon {
  width: 20px;
  height: 20px;
  background: #d0d0d0;
  border-radius: 3px;
}

.category-btn {
  display: inline-block;
  background: #d0d0d0;
  padding: 5px;
  margin: 2px;
  border-radius: 3px;
  font-size: 8px;
}

.banner-main {
  background: #d0d0d0;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.banner-arrows {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.banner-side {
  display: flex;
  gap: 5px;
}

.side-image {
  width: 30px;
  height: 30px;
  background: #d0d0d0;
  border-radius: 3px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 10px;
}

.catalog-item {
  background: #d0d0d0;
  padding: 5px;
  border-radius: 3px;
}

.item-image {
  width: 100%;
  height: 20px;
  background: #b0b0b0;
  border-radius: 2px;
  margin-bottom: 3px;
}

.item-price {
  font-size: 8px;
  text-align: center;
}

.manufacturers-logos {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.logo-placeholder {
  width: 20px;
  height: 20px;
  background: #d0d0d0;
  border-radius: 3px;
}

.stages-info {
  text-align: center;
}

.stage-number {
  font-size: 48px;
  font-weight: 700;
  color: #dc2336;
  margin-bottom: 20px;
}

.stage-title {
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #0f2746;
  margin-bottom: 70px;
}



.stage-line {
  width: 6px;
  height: 20%;
  background: #dc2336;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: -2px;
  z-index: 10;
}
.stage-line-static {
  background: #0f2746;
  width: 2px;
  height: 100%;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
}
.line {
  position: relative;
}

.download-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #dc2336;
  border-radius: 4px;
  background: #f7f7f7;
  color: #dc2336;
  font-family: "Manrope", -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease, opacity 0.3s ease;
  width: fit-content;
  min-height: 44px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.download-button:hover {
  background: #dc2336;
  color: #f7f7f7;
}

.download-button:hover .download-icon path {
  stroke: #f7f7f7;
}

.download-icon {
  flex-shrink: 0;
}

.stage-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.stages-counter {
  font-weight: 600;
  color: #dc2336;
}

/* ===== WORK STAGES SECTION ===== */
.work-stages-section {
  background: #f7f7f7;
  color: #0f2746;
}

.work-stages-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.work-stages-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
}

.work-stages-content {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 20px;
  align-items: start;
}

.work-stages-left {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.work-stages-right {
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 30px;
  height: 100%;
}

.stages-mobile-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.stage-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.stage-nav-btn:hover {
  background-color: rgba(220, 35, 54, 0.1);
}

.stage-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Work stages overlay animation support */
.work-stages-content {
  position: relative;
}

.work-stages-right * {
  transition: none !important;
}

/* Ensure proper positioning for overlay animation */
.work-stages-right {
  position: relative !important;
  overflow: hidden !important;
}

/* ===== ПРЕИМУЩЕСТВА КОМПАНИИ ===== */
.advantages-section {
  background: #f7f7f7;
  color: #0f2746;
  position: relative;
}

.advantages-container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 6.77%;
  position: relative;
  z-index: 2;
}

.advantages-h2 {
  margin-bottom: 20px;
  max-width: 60%;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.875rem;
  align-items: stretch;
}

.advantage-card {
  background: #e8e8e8;
  border-radius: 13px;
  padding: 40px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex !important;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}



.advantage-card-2 {
  background: #dfe8eb;
  color: #0f2746;
}

.advantage-card-3 {
  background: #c20a38;
  color: #f7f7f7;
  cursor: pointer;
  transition: all 0.3s ease;
}
@media (max-width: 1440px) {
.advantage-card-1 {
  min-height: 31em;
}

.advantage-card-2 {
  min-height: 37rem;
}

.advantage-card-3 {
  min-height: 42rem;
}
}
.advantage-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
}

.advantage-card-3:hover {
  background: #a0083a;
  transform: translateY(-0.5rem);
  box-shadow: 0 0.75rem 2.1875rem rgba(194, 10, 56, 0.3);
}

.advantage-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.advantage-card-3 .advantage-title {
  color: #f7f7f7;
}

.advantage-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

.advantage-card-3 .advantage-text p {
  color: #f7f7f7;
}

.advantage-number {
  bottom: 1.875rem;
  right: 1.875rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f2746;
  background: #f7f7f7;
  align-self: flex-end;
}

.advantage-bg {
  position: absolute;
  top: 0;
  left: 400px;
  width: 110%;
  height: 110%;
  z-index: 1;
}

.advantages-section > .container {
  position: relative;
  z-index: 2;
  overflow: overlay;
}
/* Background decorative elements for advantages section */
.advantages-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Frameworks Section */
.frameworks-section {
  background: #f7f7f7;
  color: #0f2746;
  position: relative;
  overflow: hidden;
}

.frameworks-section > h2 {
  width: 70%;
}

.frameworks-description {
  margin: 0 0 60px 0;
}

.frameworks-carousel-wrapper {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
  row-gap: 40px;
}

.frameworks-grid {
  grid-column: 1 / 6;
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
  width: 100%;
}
.framework-cta {
  background: #ffffff;
  grid-column: 6 / 7;
  padding: 70px 20px;
}

@media (max-width: 1440px) {
  .frameworks-carousel-wrapper {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  row-gap: 40px;
}

.frameworks-grid {
  grid-column: 1 / 5;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
  width: 100%;
}
.framework-cta {
  background: #ffffff;
  grid-column: 5 / 6;
  padding: 50px 10px !important;
}
.framework-card {
    background: #ffffff;
    border-radius: 0.9375rem;
    padding: 10px;
}
}
.framework-card {
  background: #ffffff;
  border-radius: 0.9375rem;
  padding: 1.875rem;
  text-align: center;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375rem;
  min-width: 12.5rem;
  min-height: 28rem;
  height: auto;
  justify-content: flex-start;
  opacity: 0;
  animation: slideInFromRight 0.6s ease forwards;
  overflow: hidden;
}

.framework-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15);
}

.framework-icon {
  width: auto;
  height: auto;
  min-width: 3.75rem;
  min-height: 3.75rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a3b4e;
  position: relative;
  overflow: hidden;
}

.framework-icon img {
  width: 3.125rem;
  height: 3.125rem;
  object-fit: contain;
}

.framework-icon.bitrix {
  background: #ffffff;
}

.framework-icon.wordpress {
  background: #ffffff;
}

.framework-icon.tilda {
  background: #ffffff;
}

.framework-icon.joomla {
  background: #ffffff;
}

.framework-icon.modx {
  background: #ffffff;
}

.icon-cta {
  background: #c20a38;
  color: #f7f7f7;
}

.framework-title {
font-weight: 500;
font-size: 22px;
line-height: 140%;
letter-spacing: -0.02em;
color: #0f2746;
    align-self: flex-start;
        text-align: left;


}

.framework-description {
font-weight: 500;
font-size: 14px;
line-height: 140%;
letter-spacing: -0.02em;
color: rgba(0, 0, 0, 0.4);
    align-self: flex-start;
        text-align: left;


}



.framework-button {
  display: flex;
  border-radius: 10px;
  border: 1px solid #434343;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 14px 20px;
  color: #434343;
      align-self: flex-start;
  background: #ffffff;

}

.framework-button:hover {
  background: #434343;
  color: #f7f7f7;
}


.frameworks-navigation {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-self: start;
}


.nav-button {
  width: 110px;
  height: 60px;
  display: flex;
  background: #dc2336;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.nav-button:hover {
  transform: translateY(-2px);
}

.arrow-btn svg {
  display: block;
}
.frameworks-bg-element {
  position: absolute;
  bottom: 50px;
  right: 100px;
  z-index: 1;
  opacity: 0.3;
}

/* Framework Card Animations */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-100px);
  }
}

@keyframes slideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Responsive Design for Frameworks Section */

@media (max-width: 1440px) {
  .frameworks-container {
    padding: 0 6.77%;
  }

  .frameworks-main-title {
    font-size: 56px;
    letter-spacing: -1.12px;
  }

  .frameworks-description {
    font-size: 20px;
    letter-spacing: -0.4px;
  }


  .framework-icon {
    width: auto;
    height: auto;
    min-width: 4.375rem;
    min-height: 4.375rem;
    font-size: 1.75rem;
    padding: 0.9375rem;
  }

  .framework-title {
    font-size: 1.375rem;
    letter-spacing: -0.0275em;
  }

  .framework-description {
    font-size: 0.9375rem;
    letter-spacing: -0.3px;
  }
}

@media (max-width: 1024px) {
  .frameworks-container {
    padding: 0 20px;
  }

  .frameworks-main-title {
    font-size: 48px;
    letter-spacing: -0.96px;
  }

  .frameworks-description {
    font-size: 18px;
    letter-spacing: -0.36px;
    margin-bottom: 60px;
  }

  .frameworks-grid {
    gap: 25px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .framework-card {
    min-width: calc(50% - 0.78125rem);
    max-width: calc(50% - 0.78125rem);
  }

  .framework-card {
    padding: 1.5625rem;
    min-height: 22rem;
    height: auto;
  }

  .framework-icon {
    width: auto;
    height: auto;
    min-width: 3.75rem;
    min-height: 3.75rem;
    font-size: 1.5rem;
    padding: 0.625rem;
  }

  .framework-title {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
  }

  .framework-description {
    font-size: 0.875rem;
    letter-spacing: -0.28px;
  }

  .frameworks-navigation {
    gap: 15px;
  }

  .nav-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
  }
  /* Card specific background overrides */
.card-fast-launch .card-background {
  background: linear-gradient(170.05deg, #DC2336 36.45%, #5C051B 77.27%);
}
}

@media (max-width: 768px) {
  .frameworks-container {
    padding: 0 20px;
  }

  .frameworks-main-title {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .frameworks-description {
    font-size: 16px;
    letter-spacing: -0.32px;
    margin-bottom: 50px;
  }

  .frameworks-grid {
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .framework-card {
    min-width: 100%;
    max-width: 100%;
  }

  .framework-card {
    padding: 1.25rem;
    min-height: 19rem;
    height: auto;
  }

  .framework-icon {
    width: auto;
    height: auto;
    min-width: 3.125rem;
    min-height: 3.125rem;
    font-size: 1.25rem;
    padding: 0.5rem;
  }

  .framework-title {
    font-size: 1.125rem;
    letter-spacing: -0.0225em;
  }

  .framework-description {
    font-size: 0.875rem;
    letter-spacing: -0.28px;
  }

  .frameworks-navigation {
    gap: 12px;
  }

  .nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .frameworks-bg-element {
    display: none;
  }
}

@media (max-width: 480px) {
  .frameworks-container {
    padding: 0 16px;
  }

  .frameworks-main-title {
    font-size: 28px;
    letter-spacing: -0.56px;
  }

  .frameworks-description {
    font-size: 14px;
    letter-spacing: -0.28px;
    margin-bottom: 40px;
  }

  .framework-card {
    padding: 1rem;
    min-height: 16.5rem;
    height: auto;
  }

  .framework-icon {
    width: auto;
    height: auto;
    min-width: 2.8125rem;
    min-height: 2.8125rem;
    font-size: 1.125rem;
    padding: 0.375rem;
  }

  .framework-title {
    font-size: 1rem;
    letter-spacing: -0.02em;
  }

  .framework-description {
    font-size: 0.8125rem;
    letter-spacing: -0.26px;
  }

  .frameworks-navigation {
    gap: 10px;
  }

  .nav-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }
}

/* Calculator Section */
.calculator-section {
  background: #f7f7f7;
  color: #0f2746;
  position: relative;
}

.calculator-container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 6.77vw;
}

.calculator-content {
  display: flex;
  gap: 8.33vw;
  align-items: flex-start;
}

.calculator-left {
  width: 56.25vw;
  max-width: 33.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-shrink: 0;
}

.calculator-title {
  color: #0f2746;
  font-size: clamp(2rem, 6.67vw, 4rem);
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.02em;
  margin: 0;
}

.calculator-description {
  color: #0f2746;
  font-size: clamp(1.25rem, 2.92vw, 1.75rem);
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.01em;
  margin: 0;
}

.calculator-right {
  flex: 1;
  position: relative;
}

.calculator-form {
  position: relative;
}

.step-indicator {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.step-number {
  color: #dc2336;
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}

.step-line {
  width: 0.125rem;
  height: 2.5rem;
  background: #dc2336;
  margin-left: 1.25rem;
}

.form-content {
  margin-left: 5rem;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 31.25rem;
}

.form-question {
  color: #0f2746;
  font-size: clamp(1.5rem, 3.96vw, 2.375rem);
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.01em;
  margin: 0;
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-circle {
  width: 0.9375rem;
  height: 0.9375rem;
  flex-shrink: 0;
  position: relative;
  border: 0.125rem solid #434343;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.radio-circle svg {
  width: 0.9375rem;
  height: 0.9375rem;
  display: none;
}

.radio-option input[type="radio"]:checked + .radio-circle {
  background: #c20a38;
  border-color: #c20a38;
}

.radio-option input[type="radio"]:checked + .radio-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.375rem;
  height: 0.375rem;
  background: #f7f7f7;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radio-text {
  color: #0f2746;
  font-size: clamp(1rem, 2.29vw, 1.375rem);
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.01em;
  width: 100%;
}

.next-button {
  display: flex;
  padding: 1.375rem 3.125rem;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  border-radius: 0.625rem;
  border: 0.0625rem solid #434343;
  background: transparent;
  color: #0f2746;
  font-family: "Manrope", -apple-system, Roboto, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.71vw, 1.625rem);
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.next-button:hover {
  background: #434343;
  color: #f7f7f7;
}

.next-button:active {
  background: #2a2a2a;
  color: #f7f7f7;
}

/* Responsive Design for Calculator Section */

@media (max-width: 1440px) {
  .calculator-container {
    padding: 0 6.77vw;
  }

  .calculator-content {
    gap: 6.25vw;
  }

  .calculator-left {
    width: 51.39vw;
    max-width: 28.75rem;
  }

  .calculator-title {
    font-size: clamp(2rem, 5.83vw, 3.5rem);
    letter-spacing: -0.02em;
  }

  .calculator-description {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    letter-spacing: -0.01em;
  }

  .form-content {
    margin-left: 4.375rem;
    max-width: 28.125rem;
  }

  .form-question {
    font-size: clamp(1.5rem, 3.33vw, 2rem);
    letter-spacing: -0.01em;
  }

  .radio-text {
    font-size: clamp(1rem, 2.08vw, 1.25rem);
    letter-spacing: -0.01em;
  }

  .next-button {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    letter-spacing: -0.01em;
    padding: 1.25rem 2.8125rem;
  }
}

@media (max-width: 1024px) {
  .calculator-container {
    padding: 0 2.08vw;
  }

  .calculator-content {
    flex-direction: column;
    gap: 5.21vw;
  }

  .calculator-left {
    width: 100%;
    max-width: none;
  }

  .calculator-title {
    font-size: clamp(2rem, 4.69vw, 3rem);
    letter-spacing: -0.02em;
  }

  .calculator-description {
    font-size: clamp(1.25rem, 1.95vw, 1.25rem);
    letter-spacing: -0.01em;
  }

  .step-indicator {
    position: relative;
    width: auto;
    height: auto;
    margin-bottom: 1.25rem;
  }

  .form-content {
    margin-left: 0;
    width: 100%;
    max-width: 37.5rem;
  }

  .form-question {
    font-size: clamp(1.5rem, 2.73vw, 1.75rem);
    letter-spacing: -0.01em;
  }

  .radio-text {
    font-size: clamp(1rem, 1.76vw, 1.125rem);
    letter-spacing: -0.01em;
  }
}

@media (max-width: 768px) {
  .calculator-container {
    padding: 0 2.6vw;
  }

  .calculator-content {
    gap: 5.21vw;
  }

  .calculator-title {
    font-size: clamp(1.5rem, 4.69vw, 2.25rem);
    letter-spacing: -0.02em;
  }

  .calculator-description {
    font-size: clamp(1rem, 2.34vw, 1.125rem);
    letter-spacing: -0.01em;
  }

  .step-number {
    font-size: clamp(2rem, 5.21vw, 2.5rem);
  }

  .step-line {
    height: 1.875rem;
  }

  .form-content {
    gap: 1.875rem;
  }

  .form-question {
    font-size: clamp(1.25rem, 3.13vw, 1.5rem);
    letter-spacing: -0.01em;
  }

  .radio-options {
    gap: 0.9375rem;
  }

  .radio-text {
    font-size: clamp(0.875rem, 2.08vw, 1rem);
    letter-spacing: -0.01em;
  }

  .next-button {
    padding: 1.125rem 2.5rem;
    font-size: clamp(1rem, 2.6vw, 1.25rem);
    letter-spacing: -0.01em;
  }
}

@media (max-width: 480px) {
  .calculator-container {
    padding: 0 3.33vw;
  }

  .calculator-content {
    gap: 6.25vw;
  }

  .calculator-title {
    font-size: clamp(1.25rem, 5.83vw, 1.75rem);
    letter-spacing: -0.02em;
  }

  .calculator-description {
    font-size: clamp(0.875rem, 3.33vw, 1rem);
    letter-spacing: -0.01em;
  }

  .step-number {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }

  .step-line {
    height: 1.5625rem;
  }

  .form-content {
    gap: 1.5625rem;
  }

  .form-question {
    font-size: clamp(1rem, 4.17vw, 1.25rem);
    letter-spacing: -0.01em;
  }

  .radio-text {
    font-size: clamp(0.75rem, 2.92vw, 0.875rem);
    letter-spacing: -0.01em;
  }

  .next-button {
    padding: 1rem 2.1875rem;
    font-size: clamp(0.875rem, 3.75vw, 1.125rem);
    letter-spacing: -0.01em;
  }
}

/* ===== ЧТО ТАКОЕ ЛЕНДИНГ ===== */
.what-is-landing {
  background: #f7f7f7;
  color: #0F2746;
}


.read-more-link {
  color: #A38F8F;
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* ===== КЕЙСЫ ===== */
.cases {
  background: #DFE8EB;
  color: #0f2746;
  border-radius: 20px;
}

.cases-title {
  margin-bottom: 40px;
  color: #0f2746;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.case-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 60px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



.case-card-title {
  margin-bottom: 40px;
  color: #0f2746;
}

.case-card-description {
  opacity: 0.9;
  line-height: 1.6;
  color: #0f2746;
}

.case-cta-button {
  background: #c20a38;
  border: none;
  cursor: pointer;
  color: #f7f7f7;
  text-align: left;
  transition: all 0.3s ease;
      background-image: url(https://optilo.ru/media/original_images/Frame_678.svg);
      background-blend-mode: overlay;
}

.case-cta-button:hover {
  background: #a0083a;
  background-image: url(https://optilo.ru/media/original_images/Frame_678.svg);
      background-blend-mode: overlay;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(194, 10, 56, 0.3);
}

.case-cta-title {

  margin-bottom: 40px;


line-height: 100%;

letter-spacing: -0.02em;

color: #F7F7F7;
}

.case-cta-description {
  color: #f7f7f7;
}

/* ===== ДРУГИЕ УСЛУГИ ===== */
.other-services {
  background: #0f2746;
}

.other-services-title {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-title {
  margin-bottom: 16px;
  color: #0f2746;
}

.service-card-description {
  margin-bottom: 20px;
  opacity: 0.9;
  color: #0f2746;
}

.service-card-button {
  background: transparent;
  color: #dc2336;
  border: 2px solid #dc2336;
}

.service-card-button:hover {
  background: #dc2336;
  color: white;
}

.services-navigation {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #dc2336;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: #c20a38;
  transform: scale(1.1);
}

.services-divider {
  width: 100%;
  height: 1px;
  background: #2a3b4e;
  margin-top: 30px;
}

/* ===== FAQ ===== */
.faq {
  background: #F7F7F7;
  color: #0F2746;
}
.faq-title {
  margin-bottom: 40px;
}

.faq-accordion {
}

.faq-item {
    border: 1px solid #DDDDDD;
  border-radius: 10px;
  margin: 10px 0;
}

.faq-question {
      display: flex
;
    flex-direction: row;
    justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 25px 40px;
font-weight: 700;
line-height: 120%;
letter-spacing: -0.02em;
color: #0F2746;
}
.active > .faq-question{
  border-bottom: 1px solid #DDDDDD;
  padding: 25px 40px;
}
.faq-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-content {
  padding: 25px 40px;
}

.faq-subsection {
  margin-bottom: 30px;
}

.faq-subtitle {
  margin-bottom: 12px;
  color: #dc2336;
  font-size: 16px;
  font-weight: 600;
}



/* ===== АНИМАЦИИ ===== */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes slideOutToRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Mobile styles for projects */
@media (max-width: 480px) {
  

  .projects-container {
    padding: 0 4%;
  }

  .projects-title {
    font-size: 2rem;
    letter-spacing: -0.04rem;
    margin-bottom: 2rem;
  }

  .navigation-arrows {
    margin-top: 2rem;
  }

  .download-button {
    font-size: 12px;
    padding: 8px 12px;
  }

  .work-stages-left {
    padding: 20px;
    min-height: 300px;
  }

  .work-stages-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .work-stages-container {
    padding: 0 20px;
  }

  .stages-mobile-navigation {
    display: flex !important;
  }

  .download-button {
    font-size: 13px;
    padding: 10px 16px;
  }

  .arrow-btn {
    padding: 0.5rem;
  }
}

/* Mobile-specific styles for advantages section */
@media (max-width: 767px) {
  .advantages-container {
    padding: 0 4%;
  }

  .advantages-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 3vh;
  }

  .advantages-grid {
    gap: 1.25rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr !important;
  }

  .advantage-card {
    padding: 1.5rem;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .advantage-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
  }

  .advantage-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .advantage-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
  }

  .advantage-text p {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }

  .advantage-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    bottom: 1.25rem;
    right: 1.25rem;
    position: absolute;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .projects-container {
    padding: 0 6%;
  }

  .projects-title {
    font-size: 3.5rem;
    letter-spacing: -0.07rem;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stages-content {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-content {
    flex-direction: row;
    gap: 60px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }



  .projects-container {
    padding: 0 8%;
  }

  .projects-title {
    font-size: 4rem;
    letter-spacing: -0.08rem;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }

  .advantage-text {
    display: block;
    flex-grow: unset;
  }
}
