/* ============================================================
   SOLUTIONS PAGE STYLESHEET — ZEA AUTOMATION
   ============================================================ */

/* ── HERO BANNER ───────────────────────────────────────────── */
.sol-hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 45px;
  text-align: center;
}

.sol-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #070d18 0%, #0d1728 50%, #0b1f3a 100%);
  z-index: 0;
}

.sol-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 75% 35%, rgba(37,99,235,0.24) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 20% 75%, rgba(255,77,48,0.14) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 55%);
}

.sol-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("../images/hero_iot.jpg") center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.sol-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.sol-hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.sol-hero .gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(56, 189, 248, 0.35));
}

/* ── MAIN SOLUTIONS LIST ───────────────────────────────────── */
.sol-main {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.sol-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.85);
  margin-bottom: 45px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-card:hover {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(15, 23, 42, 0.03);
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.25);
}

/* Alternate row */
.sol-card-alt {
  grid-template-columns: 1.15fr 1fr;
}

.sol-card-alt .sol-card-visual {
  order: 2;
}

.sol-card-alt .sol-card-body {
  order: 1;
}

/* Visual */
.sol-card-visual {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: #0f172a;
}

.sol-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.sol-card:hover .sol-card-visual img {
  transform: scale(1.04);
}

/* Body */
.sol-card-body {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sol-card-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2B5DF5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sol-card-title {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.sol-card-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FF4D30;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sol-card-body p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 16px;
}

.sol-card-body p:last-child {
  margin-bottom: 0;
}

/* ── CTA BANNER ────────────────────────────────────────────── */
.sol-cta-section {
  padding: 0 0 70px;
  background: #f8fafc;
}

.sol-cta-card {
  background: linear-gradient(135deg, #070d18 0%, #0f172a 100%);
  border-radius: 20px;
  padding: 50px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px rgba(7, 13, 24, 0.25);
  position: relative;
  overflow: hidden;
}

.sol-cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.sol-cta-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.sol-cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 0;
}

.sol-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── RESPONSIVE BREAKPOINTS ────────────────────────────────── */
@media (max-width: 991px) {
  .sol-card,
  .sol-card-alt {
    grid-template-columns: 1fr;
  }

  .sol-card-alt .sol-card-visual {
    order: 1;
  }

  .sol-card-alt .sol-card-body {
    order: 2;
  }

  .sol-card-visual {
    min-height: 280px;
    max-height: 340px;
  }

  .sol-card-body {
    padding: 32px 28px;
  }

  .sol-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .sol-cta-content p {
    margin: 0 auto;
  }

  .sol-cta-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .sol-hero {
    padding: 105px 0 35px;
  }

  .sol-card-body {
    padding: 24px 20px;
  }

  .sol-card-visual {
    min-height: 220px;
  }

  .sol-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
