/* ============================================
   RESOLVE SERVICE — СТРАНИЦА ТЕХНОЛОГИЙ
   ============================================ */

/* === 1. TECH HERO === */
.tech-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: #0a0a0a;
}

.tech-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tech-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5) saturate(0.8);
}

.tech-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle, rgba(166, 138, 100, 0.15) 1.5px, transparent 1.5px),
    linear-gradient(
      to right,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.5) 50%,
      rgba(10, 10, 10, 0.3) 100%
    );
  background-size:
    24px 24px,
    100% 100%;
  z-index: 2;
}

.tech-hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
}

.tech-hero-content h1 {
  font-family: var(--font-head);
  font-size: 72px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 30px;
  font-weight: 400;
}

.tech-hero-sub {
  font-size: 18px;
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 600px;
}

.tech-hero-stats {
  display: flex;
  gap: 60px;
  margin-bottom: 50px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tech-stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.tech-stat-label {
  font-size: 12px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* === 2. TECH CARDS === */
.tech-cards {
  padding: 120px 0;
  background: var(--ivory);
}

.tech-cards h2 {
  font-family: var(--font-head);
  font-size: 56px;
  margin-bottom: 15px;
  font-weight: 400;
}

.tech-section-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 70px;
  line-height: 1.7;
}

.tech-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.tech-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #fff;
  padding: 50px;
  border: 1px solid var(--light-gray);
  position: relative;
  transition: all 0.4s var(--easing);
}

.tech-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(166, 138, 100, 0.1);
}

.tech-card-number {
  position: absolute;
  top: 30px;
  right: 40px;
  font-family: var(--font-head);
  font-size: 120px;
  color: rgba(166, 138, 100, 0.1);
  font-weight: 400;
  line-height: 1;
  z-index: 1;
}

.tech-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 450px;
}

.tech-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--easing);
}

.tech-card:hover .tech-card-image img {
  transform: scale(1.05);
}

.tech-card-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.tech-card-content h3 {
  font-family: var(--font-head);
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--black);
  font-weight: 400;
}

.tech-card-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 35px;
}

.tech-card-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 30px;
  border-top: 1px solid var(--light-gray);
}

.tech-detail-block h4 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--black);
  margin-bottom: 12px;
  font-weight: 600;
}

.tech-detail-block p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.tech-detail-block ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.tech-detail-block ol li {
  counter-increment: step;
  padding: 10px 0 10px 40px;
  position: relative;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  border-bottom: 1px dashed rgba(229, 229, 229, 0.5);
}

.tech-detail-block ol li:last-child {
  border-bottom: none;
}

.tech-detail-block ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
}

/* === 3. INNOVATIONS (TIMELINE) === */
.innovations {
  padding: 120px 0;
  background: #fff;
}

.innovations h2 {
  font-family: var(--font-head);
  font-size: 56px;
  margin-bottom: 15px;
  font-weight: 400;
}

.innovations-timeline {
  margin-top: 70px;
  position: relative;
  padding-left: 40px;
}

.innovations-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--gold) 0%,
    var(--light-gray) 100%
  );
}

.innovation-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 60px;
}

.innovation-step:last-child {
  padding-bottom: 0;
}

.innovation-icon {
  position: absolute;
  left: -40px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(166, 138, 100, 0.15);
}

.innovation-content {
  flex: 1;
  background: var(--ivory);
  padding: 30px 35px;
  border-left: 3px solid var(--gold);
  transition: all 0.3s ease;
}

.innovation-content:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(166, 138, 100, 0.1);
}

.innovation-content h4 {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--black);
  margin-bottom: 12px;
  font-weight: 600;
}

.innovation-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* === 4. RESPONSIVE === */
@media (max-width: 1024px) {
  .tech-hero-content h1 {
    font-size: 56px;
  }

  .tech-hero-stats {
    gap: 40px;
  }

  .tech-stat-value {
    font-size: 40px;
  }

  .tech-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .tech-card-number {
    font-size: 80px;
  }

  .tech-card-image {
    min-height: 350px;
  }

  .innovations-timeline {
    padding-left: 30px;
  }

  .innovations-timeline::before {
    left: 15px;
  }

  .innovation-icon {
    left: -30px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .tech-hero {
    min-height: 70vh;
    padding: 120px 0 80px;
  }

  .tech-hero-content h1 {
    font-size: 42px;
  }

  .tech-hero-sub {
    font-size: 16px;
  }

  .tech-hero-stats {
    flex-direction: column;
    gap: 25px;
  }

  .tech-cards,
  .innovations {
    padding: 80px 0;
  }

  .tech-cards h2,
  .innovations h2 {
    font-size: 40px;
  }

  .tech-card {
    padding: 30px 25px;
  }

  .tech-card-content h3 {
    font-size: 32px;
  }

  .tech-card-number {
    font-size: 60px;
    top: 20px;
    right: 25px;
  }

  .tech-card-image {
    min-height: 280px;
  }

  .innovation-step {
    gap: 20px;
    padding-bottom: 40px;
  }

  .innovation-content {
    padding: 25px;
  }

  .innovation-content h4 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .tech-hero-content h1 {
    font-size: 34px;
  }

  .tech-stat-value {
    font-size: 36px;
  }

  .tech-cards h2,
  .innovations h2 {
    font-size: 32px;
  }

  .tech-card-content h3 {
    font-size: 28px;
  }
}
