.copilot-wrapper {
  background-color: #f8f9fb;
  padding: 96px 0;
}

.copilot-frame {
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  padding: 64px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.copilot-accordion {
  flex: 1;
  min-width: 320px;
  max-width: 640px;
  text-align: left;
  margin-right: auto; 
}

.copilot-css-visual {
  flex: 1;
  min-width: 280px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
  text-align: center;
}

.section-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 32px;
  text-align: center;
}

.copilot-block {
  border-top: 1px solid #eee;
}

.copilot-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.copilot-toggle i:first-child {
  margin-right: 12px;
  color: #009C8F;
}

.copilot-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 14px;
  color: #444;
  padding: 0 0 0 28px;
  font-family: 'Montserrat', sans-serif;
}

.copilot-block.active .copilot-content {
  max-height: 120px;
  padding-bottom: 16px;
}

/* CSS-макет справа */
.css-mockup {
  background-color: #f4f7fa;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-family: 'Courier New', monospace;
}

.css-header {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
}

.css-bubble {
  background-color: #fff;
  border-left: 4px solid #009C8F;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.copilot-cta {
  margin-top: 86px;
  text-align: center;
}

.copilot-btn {
  background-color: #009C8F;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copilot-btn:hover {
  background-color: ##33B6A2;
}


/* 📱 Адаптация */
@media (max-width: 1024px) {
  .copilot-frame {
    flex-direction: column;
    gap: 48px;
    padding: 48px;
  }

  .copilot-css-visual {
    text-align: center;
  }

  .css-mockup {
    margin: 0 auto;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .copilot-frame {
    flex-direction: column;
    padding: 48px;
    gap: 48px;
  }

  .copilot-accordion {
    max-width: 100%;
  }

  .section-title {
    font-size: 24px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
  }

  .copilot-css-visual {
    text-align: center;
  }

  .css-mockup {
    padding: 24px;
    font-size: 13px;
    border-radius: 12px;
    box-shadow: none;
    margin: 0 auto;
    max-width: 100%;
  }

  .css-bubble {
    font-size: 13px;
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .copilot-btn {
    width: 100%;
    max-width: 320px;
    margin: 16px auto 0;
  }
}

@media (max-width: 768px) {
  .copilot-content p {
    text-align: center;
  }
}


