/* ==========================================================================
   SINGLE PORTFOLIO — AUTOMATIONS LAYOUT (single-portfolio-automations.php)
   Builds on portfolio-single.css (hero, buttons, FAQ are reused from there);
   this file only styles the automations-specific sections.
   ========================================================================== */

.single-portfolio--automations {
  background: #fff;
}

/* --------------------------------------------------------------------------
   Project details as cards (Role / Industry / Tools / Timeline)
   -------------------------------------------------------------------------- */
.single-portfolio--automations .automation-meta {
  background: #f5f7fa;
  padding: 56px 0;
}

.automation-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.automation-meta-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 26px 30px;
}

.automation-meta-card .meta-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.automation-meta-card .meta-value {
  font-size: 15px;
  color: #667085;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Centered text blocks: The challenge / Results & Performance
   -------------------------------------------------------------------------- */
.single-portfolio--automations .automation-block {
  padding: 60px 0;
  text-align: center;
}

.automation-block-inner {
  max-width: 760px;
  margin: 0 auto;
}

.automation-block-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  line-height: 1.3;
}

.automation-block-text {
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
}

.automation-block-text p {
  margin: 0 0 16px;
}

.automation-block-text p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Process banner — single full-width image
   -------------------------------------------------------------------------- */
.single-portfolio--automations .automation-screenshots {
  padding: 10px 0 60px;
}

.automation-banner {
  margin: 0 auto;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
}

.automation-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Our automation process — stacked cards
   -------------------------------------------------------------------------- */
.single-portfolio--automations .automation-process {
  padding: 40px 0 60px;
}

.automation-section-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 36px;
  line-height: 1.3;
}

.automation-process-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.automation-process-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 24px 28px;
}

.automation-process-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.automation-process-desc {
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
}

.automation-process-desc p {
  margin: 0 0 10px;
}

.automation-process-desc p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA card
   -------------------------------------------------------------------------- */
.single-portfolio--automations .automation-cta {
  padding: 20px 0 80px;
}

.automation-cta-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
  padding: 48px 40px;
  text-align: center;
}

.automation-cta-heading {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.automation-cta-subheading {
  color: #98a2b3;
  font-size: 16px;
  margin: 0 0 16px;
}

.automation-cta-text {
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 28px;
}

.single-portfolio--automations .automation-cta .btn-cta {
  display: inline-block;
  background: #1a1f36;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .single-portfolio--automations .automation-cta .btn-cta:hover {
    background: #0f1320;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 31, 54, 0.3);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .single-portfolio--automations .automation-meta {
    padding: 36px 0;
  }
  .automation-meta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .single-portfolio--automations .automation-block {
    padding: 44px 0;
  }
  .automation-block-heading,
  .automation-section-heading,
  .automation-cta-heading {
    font-size: 24px;
  }
  .automation-cta-card {
    padding: 36px 24px;
  }
}
