/* =============================================
   SMARTBUILD — Already Built Section (Мы уже построили)
   ============================================= */

.built {
  background-color: var(--color-alabaster);
  padding-bottom: 60px;
}

/* Header */
.built__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 var(--content-padding);
  margin-bottom: 60px;
}

.built__title {
  flex: 1;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -2.7px;
  color: var(--color-dark);
}

.built__description {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: var(--color-dark);
}

/* Grid: two columns */
.built__grid {
  display: flex;
  gap: 20px;
  padding: 0 var(--content-padding);
}

.built__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Small cards row (2 side by side) */
.built__row {
  display: flex;
  gap: 20px;
}

/* Project card */
.built__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  text-decoration: none;
  color: inherit;
}

.built__card--large {
  width: 100%;
  height: 600px;
}

.built__card--small {
  flex: 1;
  height: 400px;
}

.built__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image zoom on hover */
.built__card:hover .built__card-bg {
  transform: scale(1.12);
}

/* Gradient overlay */
.built__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 71.42%, rgba(0, 0, 0, 0.6) 98.17%), linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.28) 100%);
  z-index: 1;
  border-radius: var(--radius-md);
  transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Darkening on hover */
.built__card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 71.42%, rgba(0, 0, 0, 0.7) 98.17%), linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.built__card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px;
}

/* Status badge */
.built__card-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 6px;
  background-color: var(--color-graphite);
  border-radius: 20px;
  width: fit-content;
}

.built__card-status-dot {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.built__card-status-dot img {
  width: 6px;
  height: 6px;
}

.built__card-status-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.16px;
  color: var(--color-alabaster);
}

/* Card text content (bottom) */
.built__card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-white);
}

.built__card-title {
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  line-height: var(--h4-line-height);
  letter-spacing: var(--h4-letter-spacing);
}

.built__card-text {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
}

/* CTA button */
.built__cta {
  margin-top: 60px;
  padding: 0 var(--content-padding);
}
