/* ==============================================
   SALES HERO RELATIONSHIP PAGE
   Unique design – clean, timeline-focused
   ============================================== */

:root {
  --navy: #1A2953;
  --orange: #FFA726;
  --text-main: #111827;
  --text-muted: #4B5563;
  --bg-light: #F3F4F6;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.18);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Base + font */

.page-sales-hero,
.page-sales-hero * {
  box-sizing: border-box;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
}

.page-sales-hero {
  margin: 0;
  background: #f9fafb;
  color: var(--text-main);
}

/* Generic helpers reused from your ecosystem */

.section-heading {
  margin-bottom: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  color: var(--navy);
}

.section-heading.center {
  text-align: center;
}

.section-subtitle {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: #111827;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(250, 166, 38, 0.45);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ff9800;
  box-shadow: 0 16px 34px rgba(250, 166, 38, 0.55);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(250, 166, 38, 0.45);
}

.btn-primary:focus-visible {
  outline: 2px solid rgba(17, 24, 39, 0.16);
  outline-offset: 3px;
}

/* Kicker label */

.sh-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6b7280;
  margin: 0 0 10px;
}

/* Fade-in animation */

.sh-animate {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}

.sh-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   HERO
   ============================================== */

.sh-hero {
  padding: 96px 20px 64px;
  background: radial-gradient(
    circle at top left,
    #e5edff 0,
    #f9fafb 40%,
    #f3f4f6 100%
  );
}

.sh-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.sh-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 3vw, 2.9rem);
  color: var(--navy);
}

.sh-hero-intro {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Stat strip */

.sh-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.sh-stat {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.sh-stat-label {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 2px;
}

.sh-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.sh-hero-cta-row {
  margin-top: 10px;
}

.sh-hero-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Hero media */

.sh-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.sh-hero-main-card {
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: var(--shadow-soft);
}

.sh-hero-main-card img {
  display: block;
  width: 100%;
  height: auto;
}

.sh-hero-pill {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: #111827;
  color: #f9fafb;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.6);
  max-width: 220px;
}

.sh-pill-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(249, 250, 251, 0.7);
  margin: 0 0 2px;
}

.sh-pill-text {
  margin: 0;
  font-size: 0.85rem;
}

/* ==============================================
   OVERVIEW
   ============================================== */

.sh-overview {
  padding: 56px 20px 56px;
  background: #ffffff;
}

.sh-overview-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.sh-overview-main h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 2.3vw, 2.2rem);
  color: var(--navy);
}

.sh-overview-main p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.sh-overview-aside {
  display: flex;
  justify-content: flex-end;
}

.sh-overview-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
  max-width: 340px;
}

.sh-overview-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.sh-overview-card li + li {
  margin-top: 4px;
}

/* ==============================================
   TIMELINE SECTION
   ============================================== */

.sh-timeline-section {
  padding: 64px 20px 72px;
  background: var(--bg-light);
}

.sh-timeline-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.sh-timeline-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  color: var(--navy);
}

.sh-timeline-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Layout: left rail + cards */

.sh-timeline-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1.7fr);
  gap: 32px;
  align-items: flex-start;
}

/* Rail with 3 pills */

.sh-timeline-rail {
  position: sticky;
  top: 96px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sh-timeline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #111827;
  background: rgba(255, 167, 38, 0.16);
  border: 1px solid rgba(255, 167, 38, 0.4);
  margin-bottom: 8px;
}

.sh-timeline-line {
  width: 2px;
  height: 28px;
  background: rgba(148, 163, 184, 0.65);
  margin: 2px 0 10px 10px;
}

/* Timeline cards */

.sh-timeline-cards {
  display: grid;
  gap: 18px;
}

.sh-timeline-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
}

.sh-timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.sh-year {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.sh-tag,
.sh-tag-pill,
.sh-tag-strong {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #4b5563;
}

.sh-tag-pill {
  background: rgba(236, 252, 203, 0.8);
  border-color: rgba(190, 242, 100, 0.9);
}

.sh-tag-strong {
  background: rgba(255, 167, 38, 0.16);
  border-color: rgba(255, 167, 38, 0.8);
}

.sh-timeline-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--navy);
}

.sh-timeline-card p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.sh-timeline-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.sh-timeline-card li + li {
  margin-top: 4px;
}

/* TIMELINE IMAGES */

.sh-timeline-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 10px;
  display: block;
  box-shadow: 0 12px 26px rgba(0,0,0,0.1);
}

/* ==============================================
   HOW WE WORK
   ============================================== */

.sh-how {
  padding: 72px 20px 72px;
  background: #ffffff;
}

.sh-how-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.sh-how-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sh-how-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
}

.sh-how-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--navy);
}

.sh-how-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==============================================
   DELIVERABLES
   ============================================== */

.sh-deliverables {
  padding: 64px 20px 72px;
  background: #f9fafb;
}

.sh-deliverables-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.sh-deliverables-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sh-del-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
}

.sh-del-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--navy);
}

.sh-del-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.sh-deliveries-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #6b7280;
  text-align: center;
}

/* ==============================================
   FINAL CTA
   ============================================== */

.sh-final-cta {
  padding: 56px 20px 72px;
  background: #111827;
  color: #f9fafb;
}

.sh-final-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.sh-final-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 2.3vw, 2.2rem);
}

.sh-final-copy p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(249, 250, 251, 0.78);
}

.sh-final-action {
  flex-shrink: 0;
}

/* Override button on dark background */
.sh-final-cta .btn-primary {
  background: #f9fafb;
  color: #111827;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.65);
}

.sh-final-cta .btn-primary:hover {
  background: #e5e7eb;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.8);
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 960px) {
  .sh-hero {
    padding-top: 80px;
  }

  .sh-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sh-hero-media {
    order: -1;
  }

  .sh-hero-pill {
    right: 4%;
    bottom: -12px;
  }

  .sh-overview-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .sh-overview-aside {
    justify-content: flex-start;
  }

  .sh-timeline-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sh-timeline-rail {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .sh-timeline-line {
    height: 2px;
    width: 18px;
    margin: 0;
  }

  .sh-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-deliverables-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-final-inner {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .sh-hero {
    padding: 72px 16px 48px;
  }

  .sh-overview,
  .sh-timeline-section,
  .sh-how,
  .sh-deliverables,
  .sh-final-cta {
    padding-inline: 16px;
  }

  .sh-hero-stats {
    flex-direction: column;
  }

  .sh-how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sh-deliverables-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sh-hero-pill {
    max-width: 70%;
    right: 10%;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .sh-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}