/* =====================================================
   OUR SOLUTION PAGE — our-solution.css
   ===================================================== */

/* ── Shared layout ──────────────────────────────────── */
.solution-container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Hero ───────────────────────────────────────────── */
.solution-hero {
  display: flex;
  align-items: flex-start;
}

.solution-hero-img {
  flex: 0 0 50%;
  min-width: 0;
  overflow: hidden;
}

.solution-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  /* Natural height — image is shorter than the text column, dark navy shows below. */
}

.solution-hero-text {
  flex: 0 0 50%;
  min-width: 0;
  box-sizing: border-box;
  /* Avada computed 8%/12% relative to the column width (~50% of row).
     In flexbox, % padding resolves against the flex container (full row width),
     so we halve the percentages to get the same pixel result. */
  padding: 4% 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-h1 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--senseye-white);
  margin: 0 0 20px;
}

.solution-hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--senseye-text);
  margin: 0;
}

/* ── Quote row ──────────────────────────────────────── */
.solution-quote-row {
  display: flex;
  align-items: flex-start;
}

.solution-quote-text {
  flex: 0 0 50%;
  min-width: 0;
  box-sizing: border-box;
  /* Avada uses 12%/8% (top-bottom/left-right) of column width.
     Translating to flex container: 6% top-bottom, 4% left-right. */
  padding: 6% 4%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-quote {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--senseye-white);
  text-align: center;
  margin: 0;
}

.solution-quote-img {
  flex: 0 0 50%;
  min-width: 0;
  overflow: hidden;
}

.solution-quote-img img {
  display: block;
  width: 100%;
  height: auto;
  /* Natural height — image aspect ratio naturally matches the row height. */
}

/* ── How It Works ───────────────────────────────────── */
.solution-how {
  padding: 70px 0 35px;
}

.solution-how-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
}

.solution-how-title {
  flex: 0 0 40%;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.16;
  color: var(--senseye-white);
  margin: 0;
}

.solution-how-intro {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  color: var(--senseye-text);
  font-weight: 400;
  margin: 0;
  padding-top: 6px;
}

.solution-steps {
  display: flex;
  gap: 0;
}

.solution-step {
  flex: 1;
  padding: 0 24px 0 0;
}

.solution-step:last-child {
  padding-right: 0;
}

.solution-step-icon {
  font-size: 32px;
  color: var(--senseye-teal);
  margin-bottom: 16px;
  display: block;
}

.solution-step-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--senseye-white);
  margin: 0 0 12px;
}

.solution-step p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--senseye-white);
  margin: 0;
}

/* ── CTA ────────────────────────────────────────────── */
.solution-cta {
  padding: 60px 0 70px;
  text-align: center;
}

.solution-cta-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--senseye-white);
  margin: 0 auto 32px;
  max-width: 900px;
}

.solution-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--senseye-teal);
  color: var(--senseye-white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1.5px solid var(--senseye-teal);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.solution-btn:hover {
  background: var(--senseye-navy-deep);
  border-color: var(--senseye-teal);
  color: var(--senseye-white);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .solution-container {
    padding: 0 24px;
  }

  .solution-hero {
    flex-direction: column;
  }

  .solution-hero-img {
    flex: none;
    height: 260px;
  }

  .solution-hero-text {
    flex: none;
    padding: 30px 24px;
  }

  .solution-h1 {
    font-size: 28px;
  }

  .solution-quote-row {
    flex-direction: column-reverse;
  }

  .solution-quote-text {
    flex: none;
    padding: 30px 24px;
  }

  .solution-quote {
    font-size: 22px;
    text-align: left;
  }

  .solution-quote-img {
    flex: none;
    height: 260px;
  }

  .solution-how {
    padding: 40px 0 20px;
  }

  .solution-how-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }

  .solution-how-title {
    flex: none;
    font-size: 36px;
  }

  .solution-steps {
    flex-direction: column;
    gap: 32px;
  }

  .solution-step {
    padding-right: 0;
  }

  .solution-cta {
    padding: 40px 0 50px;
    text-align: left;
  }

  .solution-cta-heading {
    font-size: 24px;
    margin-left: 0;
    margin-right: 0;
  }
}
