/* ═══════════════════════════════════════════════════════════
   SECTIONS — Visual polish for flat / boring blocks
   ═══════════════════════════════════════════════════════════ */

/* ─── Outcomes ─── */
.outcomes-strip {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, rgba(61, 184, 191, 0.04) 0%, transparent 100%);
  border-block: 1px solid var(--border);
}

.outcomes-grid {
  gap: 1.25rem !important;
}

.outcome-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem !important;
  background: linear-gradient(155deg, var(--bg-elevated) 0%, var(--bg-surface) 100%) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
}

.outcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--outcome-accent, var(--teal-bright));
  display: block !important;
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 184, 191, 0.3) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.outcome-card--teal { --outcome-accent: #3db8bf; }
.outcome-card--gold { --outcome-accent: #dfc07a; }
.outcome-card--green { --outcome-accent: #34d399; }

.outcome-card strong {
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  color: var(--outcome-accent, var(--teal-bright)) !important;
}

/* ─── Pain cards ─── */
.pain-card {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-surface) 100%) !important;
  border-radius: var(--radius-lg) !important;
  padding: 2rem 1.75rem !important;
  transition: transform 0.35s ease, box-shadow 0.35s, border-color 0.35s !important;
}

.pain-card:nth-child(1) { --pain-accent: #3db8bf; }
.pain-card:nth-child(2) { --pain-accent: #dfc07a; }
.pain-card:nth-child(3) { --pain-accent: #f59e42; }

.pain-card-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  font-size: 0.8rem !important;
  color: var(--pain-accent, var(--gold)) !important;
  background: color-mix(in srgb, var(--pain-accent) 12%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--pain-accent) 25%, transparent);
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2) !important;
  border-color: color-mix(in srgb, var(--pain-accent) 35%, var(--border)) !important;
}

.pain-card-solution {
  color: var(--pain-accent, var(--teal-bright)) !important;
}

/* ─── Intro features ─── */
.intro-features {
  gap: 0.75rem !important;
}

.intro-feature {
  padding: 1rem 1.1rem !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent) !important;
  border-radius: var(--radius) !important;
  transition: transform 0.3s, border-color 0.3s, background 0.3s !important;
}

.intro-feature:hover {
  transform: translateX(4px);
  background: var(--teal-dim) !important;
}

.intro-feature svg {
  width: 22px !important;
  height: 22px !important;
  padding: 4px;
  border-radius: 6px;
  background: rgba(61, 184, 191, 0.1);
}

/* ─── Tech matcher ─── */
.tech-matcher {
  padding: 2rem !important;
  background: linear-gradient(155deg, var(--bg-elevated), var(--bg-surface)) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.matcher-options {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.6rem !important;
}

.matcher-opt {
  padding: 0.9rem 1rem !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  text-align: center;
  transition: all 0.25s ease !important;
}

.matcher-opt:hover,
.matcher-opt.selected {
  border-color: var(--teal-bright) !important;
  background: rgba(61, 184, 191, 0.1) !important;
  color: var(--text-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(61, 184, 191, 0.15);
}

.matcher-result {
  min-height: 240px !important;
  background: var(--bg-surface) !important;
  border: 1px dashed rgba(61, 184, 191, 0.25) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.matcher-placeholder {
  text-align: center;
  color: var(--text-muted) !important;
  line-height: 1.6;
}

.matcher-group-label {
  font-weight: 600 !important;
  color: var(--teal-bright) !important;
  margin-bottom: 0.75rem !important;
}

/* ─── How we work ─── */
.how-section {
  position: relative;
}

.how-steps {
  position: relative;
}

.how-step {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-surface)) !important;
  border: 1px solid var(--border) !important;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s !important;
}

.how-step:hover {
  transform: translateY(-5px);
  border-color: rgba(61, 184, 191, 0.35) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.how-step-num {
  color: var(--teal-bright) !important;
  opacity: 0.85 !important;
  font-size: 2.25rem !important;
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: linear-gradient(155deg, var(--bg-elevated) 0%, var(--bg-surface) 100%) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: clamp(2.5rem, 5vw, 3.5rem) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--teal-bright);
  opacity: 0.12;
  pointer-events: none;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  line-height: 1.75 !important;
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  margin-bottom: 1.25rem !important;
}

/* ─── Compare table ─── */
.compare-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 98, 0.03), transparent);
}

.compare-table {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border) !important;
}

.compare-row--head {
  background: var(--bg-elevated) !important;
}

.compare-row:not(.compare-row--head):hover {
  background: rgba(61, 184, 191, 0.04);
}

.compare-row span:nth-child(2) {
  background: rgba(61, 184, 191, 0.06);
  font-weight: 600;
}

.compare-highlight {
  font-size: 0.95rem !important;
}

/* ─── FAQ preview ─── */
.faq-preview-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
  transition: border-color 0.3s, background 0.3s;
}

.faq-preview-item[open] {
  border-color: rgba(61, 184, 191, 0.35) !important;
  background: rgba(61, 184, 191, 0.05);
}

.faq-preview-item summary {
  padding: 1.15rem 0 !important;
}

.faq-preview-item p {
  padding-bottom: 1.15rem !important;
}

/* ─── CTA strip ─── */
.cta-strip {
  background: linear-gradient(135deg, rgba(61, 184, 191, 0.1), rgba(201, 169, 98, 0.08)) !important;
}

.cta-strip-inner {
  padding: 2rem 2.25rem !important;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* ─── Client logos ─── */
.logos-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
}

.logos-label {
  font-weight: 600;
  letter-spacing: 0.14em;
}

.logo-item {
  padding: 0.65rem 1.35rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 100px !important;
  background: var(--bg-elevated) !important;
  opacity: 0.85 !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.logo-item:hover {
  opacity: 1 !important;
  border-color: var(--teal-bright) !important;
  background: rgba(61, 184, 191, 0.08) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ─── AI capabilities pills ─── */
.ai-cap {
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s !important;
}

.ai-cap:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 184, 191, 0.35) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* ─── Before/after ─── */
.ba-slider {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* ─── CTA banner ─── */
.cta-banner-inner {
  border: 1px solid rgba(61, 184, 191, 0.2) !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.cta-banner-glow {
  opacity: 0.45 !important;
}

/* ─── Service cards extra depth ─── */
.service-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3) !important;
}

@media (min-width: 1024px) {
  .how-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    z-index: 0;
  }

  .how-step {
    position: relative;
    z-index: 1;
  }

  .faq-preview {
    gap: 1rem !important;
  }

  .faq-preview-item:nth-child(odd) {
    border-right: none !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .matcher-options {
    grid-template-columns: 1fr !important;
  }

  .cta-strip-inner {
    padding: 1.5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outcome-card:hover,
  .pain-card:hover,
  .how-step:hover,
  .logo-item:hover,
  .ai-cap:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGES — Services, Work, About, Contact, FAQ
   ═══════════════════════════════════════════════════════════ */

.service-detail {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s !important;
}

.service-detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25) !important;
  border-color: rgba(61, 184, 191, 0.3) !important;
}

.service-detail-list li {
  position: relative;
  padding-left: 1.25rem;
}

.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.work-item {
  padding: 1.5rem !important;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-surface)) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border) !important;
  transition: transform 0.35s, box-shadow 0.35s !important;
}

.work-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22) !important;
}

.work-item-image {
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.work-reel-item {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  border: 1px solid var(--border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s, border-color 0.35s;
}

.work-reel-item:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 184, 191, 0.35) !important;
}

.work-reel-label {
  background: linear-gradient(0deg, rgba(10, 22, 40, 0.9), transparent) !important;
  padding: 1.25rem !important;
  font-weight: 600 !important;
}

.value-card {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-surface)) !important;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s !important;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(61, 184, 191, 0.35) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
}

.value-icon {
  background: rgba(61, 184, 191, 0.12) !important;
  border: 1px solid rgba(61, 184, 191, 0.25);
  border-radius: var(--radius) !important;
}

.bento-item {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s, box-shadow 0.4s !important;
}

.bento-item:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
}

.bento-result {
  padding: 0.35rem 0.65rem;
  background: rgba(201, 169, 98, 0.15);
  border-radius: 100px;
  display: inline-block !important;
  margin-top: 0.5rem !important;
}

.contact-form-wrap,
.contact-form {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  padding: 2rem !important;
}

.contact-method {
  padding: 1rem 1.1rem !important;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}

.contact-method:hover {
  border-color: rgba(61, 184, 191, 0.35);
  background: rgba(61, 184, 191, 0.05);
}

.contact-method-icon {
  background: rgba(61, 184, 191, 0.12) !important;
  border-radius: var(--radius-sm) !important;
}

.faq-item {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: rgba(61, 184, 191, 0.35) !important;
}

.page-hero-content {
  position: relative;
}

.page-hero-content::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--gold));
  border-radius: 2px;
}

.quote-option {
  transition: transform 0.25s, border-color 0.25s, background 0.25s !important;
}

.quote-option:hover,
.quote-option.selected {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(61, 184, 191, 0.12);
}

.blog-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
}

.case-stat {
  transition: transform 0.3s, border-color 0.3s;
}

.case-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 184, 191, 0.35) !important;
}

@media (prefers-reduced-motion: reduce) {
  .service-detail:hover,
  .work-item:hover,
  .work-reel-item:hover,
  .value-card:hover,
  .quote-option:hover { transform: none; }
}
