.tools-section {
  background: var(--surface-1);
  padding: var(--space-12) var(--space-4);
  overflow: hidden;
}

@media (min-width: 1100px) {
  .tools-section {
    padding: var(--space-16) 80px;
  }
}

.tools-section__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-12);
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1100px) {
  .tools-section__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1040px;
    gap: var(--space-12);
  }

  .tools-section__text {
    order: -1;
  }
}

.tools-section__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 520px;
}

.tools-section__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

@media (min-width: 768px) {
  .tools-section__title {
    font-size: 3rem;
  }
}

.tools-section__title span {
  color: var(--brand);
}

.tools-section__body {
  font-size: var(--text-body-lg);
  color: var(--text-2);
  line-height: 1.65;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
}

.tool-chip svg {
  width: 16px;
  height: 16px;
  color: var(--brand-strong);
  flex-shrink: 0;
}

.tool-chip span {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
}

.tools-section__visual {
  position: relative;
  flex-shrink: 0;
}

.tools-section .mockup-phone__frame {
  animation: mockup-float 4.2s ease-in-out infinite;
}

.tools-section__peek {
  position: absolute;
  bottom: -28px;
  right: -40px;
  z-index: 2;
}

.tools-section__peek .mockup-phone__frame {
  animation: mockup-float 3.8s ease-in-out infinite;
  animation-delay: 0.8s;
}

@media (max-width: 1099px) {
  .tools-section__peek {
    position: static;
    margin: var(--space-3) auto 0;
    width: fit-content;
  }
}

@media (max-width: 767px) {
  .tools-section {
    padding: var(--space-6) var(--space-4);
  }
  .tools-section__inner {
    gap: var(--space-8);
  }
}
