/* Automation section */
.automation-section {
  padding: 0 0 160px;
}

.automation__top {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 87px;
  align-items: center;
  margin-bottom: 10px;
}

.automation__media {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-height: 300px;
  cursor: pointer;
}
.automation__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.automation__media:hover > img {
  transform: scale(1.08);
}
.automation__cta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  height: 42px;
  border-radius: 50px;
  background: rgba(255,255,255,0.8);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  backdrop-filter: blur(2px);
  transition: background-color 0.2s ease;
  width: 200px;
}
.automation__cta:hover {
  background: #ffffff;
}
.automation__cta img {
  width: 14px;
  height: auto;
}
.automation__corner {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.3s ease;
}
.automation__corner:hover {
  background: #ffffff;
  transform: rotate(45deg);
}
.automation__corner img {
  width: 15px;
  height: auto;
}

.automation__title {
  margin: 0 0 30px;
  color: var(--text);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
}
.automation__title span {
  color: #4FA6F2;
  display: block;
}
.automation__text {
  margin: 0;
  color: var(--text);
  opacity: 0.8;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
}

.automation__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.a-feature {
  background: #ffffff;
  border-radius: 25px;
  padding: 40px 15px 40px 40px;
  min-height: 195px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.a-feature__title {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
}
.a-feature__text {
  margin: 0;
  color: var(--text);
  opacity: 0.8;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
}

.automation__media:hover .automation__cta {
  background: #ffffff;
}
.automation__media:hover .automation__corner {
  background: #ffffff;
  transform: rotate(45deg);
}