:root {
    --blue:      #2563eb;
    --blue-dark: oklch(48.8% .243 264.376);
    --navy:      #0f172a;
    --navy-soft: #1e293b;
    --bg:        #f0f4f8;
    --text:      #0f172a;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --radius:    16px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }

  /* ── HERO ── */
  .bpo-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 200px 24px 120px;
    text-align: center;
  }
  .bpo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.08);
    color: var(--blue);
    font-family: 'Sora', sans-serif;
    font-size: 0.88rem;
    font-weight: 900;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
  }
  .bpo-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 auto 28px;
  }
  .bpo-hero h1 span { color: var(--blue); }
  .bpo-hero p {
    font-size: 1.1rem;
    color: #fff;
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.7;
  }
  .hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-primary {
    background: var(--blue);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-primary:hover {
    background: oklch(48.8% .243 264.376);
    transform: translateY(-3px);
  }
  .btn-ghost {
    background: #fff;
    color: var(--navy);
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
  }
  .btn-ghost:hover {
    border-color: rgba(190,190,190,0.61);
    transform: translateY(-3px);
  }
    .btn-cta-white {
    background: #fff;
    color: var(--blue);
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-cta-white:hover { background: #f0f4ff; transform: translateY(-2px); }

  /* ── SECTION WRAPPER ── */
  .section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px;
  }
  .section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
  }
  .section-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 60px;
    text-align: center;
  }

  /* ── CALCULATOR ── */
  .roi-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
  border: 1.5px solid var(--border);
}
@media (max-width: 768px) { .roi-card { grid-template-columns: 1fr; } }

.roi-left {
  background: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1.5px solid var(--border);
}
.roi-left-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}
.roi-field { margin-bottom: 28px; }
.roi-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.roi-field-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.roi-field-val {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(37,99,235,0.07);
  padding: 3px 10px;
  border-radius: 20px;
}
input[type=range] {
  width: 100%;
  accent-color: var(--blue);
  height: 4px;
  border-radius: 4px;
  cursor: pointer;
}
.roi-range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}
.custom-select-wrap {
  position: relative;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-select-trigger:hover {
  border-color: var(--blue);
}

.custom-select-trigger svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.custom-select-wrap.open .custom-select-trigger {
  border-color: var(--blue);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select-wrap.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.custom-select-wrap.open .custom-select-list {
  display: block;
}

.custom-select-option {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.93rem;
}

.custom-select-option:hover {
  background: rgba(37,99,235,0.06);
}

.custom-select-option.selected {
  background: rgba(37,99,235,0.10);
  color: var(--blue);
  font-weight: 600;
}

.custom-select-list::-webkit-scrollbar { width: 4px; }
.custom-select-list::-webkit-scrollbar-track { background: transparent; }
.custom-select-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.custom-select-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.roi-disclaimer {
  margin-top: auto;
  padding-top: 18px;
}

.roi-disclaimer-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.roi-disclaimer-item {
  position: relative;
  padding-left: 14px;
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 10px;
}

.roi-disclaimer-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
}

.calc-right {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 48px;
  padding-bottom: 20px;
}
.calc-chart-wrap { width: 100%; max-width: 360px; }
.calc-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  height: 260px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.calc-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 130px;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}
.arc-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: -40px;
  z-index: 0;
}
.arc-center {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arc-label {
  text-transform: uppercase;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
}
.arc-pct {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1; 
}
.arc-center .arc-label {
  text-transform: capitalize;
  background: #d1fae5;
  color: #065f46;
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 9px;
}
.bar-top-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bar-amount {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #64748b;
}
.bar-amount.blue { color: #2563eb; font-size: 1.3rem; }
.bar-track {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: flex-end;
}
.bar-fill {
  width: 100%;
  border-radius: 8px 8px 0 0;
  transition: height 0.7s cubic-bezier(.34,1.1,.64,1);
  height: 0;
}
.bar-inhouse { background: #dde3ef; }
.bar-mss     { background: #2563eb; }
.bar-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #94a3b8;
  margin-top: 6px;
}
.calc-chart-note {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 10px;
}
 .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
 }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.why-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37,99,235,0.08);
  transform: translateY(-4px);
}

.why-icon {
  width: 60px; height: 60px;
  background: rgba(37,99,235,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: background 0.3s ease;
}

.why-icon svg {
  width: 30px; height: 30px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.5s ease;
}

.why-card:hover .why-icon { background: var(--blue); }
.why-card:hover .why-icon svg { stroke: #ffffff; transform: scale(1.1); }

.why-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.s-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

.s-link span { transition: transform 0.3s ease; display: inline-block; }
.why-card:hover .s-link span { transform: translateX(6px); }

  /* ── ADVANTAGE TABLE ── */
  .adv-section { background: #fff; }
  .adv-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
  }
  .adv-table th {
    background: var(--bg);
    padding: 18px 24px;
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
  }
  .adv-table th:last-child { background: rgba(37,99,235,0.06); color: var(--blue); }
  .adv-table td {
    padding: 20px 24px;
    font-size: 1rem;
    color: var(--navy);
    border-top: 1px solid var(--border);
  }
  .adv-table td:first-child { font-weight: 600; }
  .adv-table td:nth-child(2) { color: var(--muted); }
  .adv-table td:last-child { background: rgba(37,99,235,0.03); }
  .adv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .adv-badge::before {
    content: '';
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") no-repeat center/contain;
    display: inline-block;
    flex-shrink: 0;
  }

  /* ── CTA STRIP ── */
  .cta-strip {
    background: #184172;
    padding: 100px 24px;
    text-align: center;
  }
  .cta-strip h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
  }
  .cta-strip p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
  }
  .cta-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 520px;
    margin: 0 auto 12px;
  }
  .cta-input {
    flex: 1;
    min-width: 240px;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    outline: none;
  }
  .cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
 /* =========================
   HERO
========================= */
@media (max-width: 1024px) {
  .bpo-hero {
    padding: 160px 20px 80px;
  }

  .bpo-hero h1 {
    font-size: 2.6rem;
  }

  .bpo-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .bpo-hero {
    padding: 140px 16px 60px;
  }

  .bpo-hero h1 {
    font-size: 2.1rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .bpo-hero h1 {
    font-size: 1.8rem;
  }

  .bpo-hero p {
    font-size: 0.9rem;
  }
}

/* =========================
   SECTION WRAPPER
========================= */
@media (max-width: 768px) {
  .section-wrap {
    padding: 70px 20px;
  }

  .section-sub {
    font-size: 1rem;
  }
}

/* =========================
   ROI CALCULATOR (FIXED)
========================= */

/* scalable arc */
.roi-arc {
  width: 100%;
  height: auto;
  max-width: 260px;
}

/* tablet */
@media (max-width: 1024px) {
  .roi-left {
    padding: 32px 24px;
  }

  .calc-right {
    padding: 20px;
  }
}

/* mobile */
@media (max-width: 768px) {
  .roi-card {
    grid-template-columns: 1fr;
  }

  .roi-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 20px;
  }

  .calc-right {
    padding: 24px 16px;
  }

  .calc-chart-wrap {
    max-width: 260px;
  }

  /* ✅ KEY FIX */
  .arc-wrap {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
  }

  .calc-bars {
    height: 180px;
    gap: 16px;
    margin-top: 90px;
    z-index: 1;
  }

  .arc-center {
    bottom: 28px;
  }

  .arc-pct {
    font-size: 1.4rem;
  }
}

/* small mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-sub {
    font-size: 0.9rem;
  }

  .roi-field-label,
  .roi-field-val {
    font-size: 0.8rem;
  }

  .calc-chart-wrap {
    max-width: 220px;
  }

  .arc-wrap {
    margin-bottom: 34px;
  }

  .calc-bars {
    height: 160px;
    gap: 12px;
  }

  .arc-center {
    bottom: 24px;
  }

  .arc-pct {
    font-size: 1.2rem;
  }

  .bar-amount {
    font-size: 0.9rem;
  }

  .bar-amount.blue {
    font-size: 1rem;
  }

  .calc-chart-note {
    font-size: 0.75rem;
  }
}

/* =========================
   WHY GRID
========================= */
@media (max-width: 768px) {
  .why-card {
    padding: 28px 20px;
  }

  .why-name {
    font-size: 1rem;
  }

  .why-desc {
    font-size: 0.9rem;
  }
}

/* =========================
   ADVANTAGE TABLE
========================= */
@media (max-width: 768px) {
  .adv-table,
  .adv-table thead,
  .adv-table tbody,
  .adv-table th,
  .adv-table td,
  .adv-table tr {
    display: block;
    width: 100%;
  }

  .adv-table thead {
    display: none;
  }

  .adv-table tr {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }

  .adv-table td {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .adv-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
  }
}

/* =========================
   CTA
========================= */
@media (max-width: 768px) {
  .cta-strip {
    padding: 70px 16px;
  }

  .cta-strip h2 {
    font-size: 1.8rem;
  }

  .cta-strip p {
    font-size: 1rem;
  }

  .cta-form {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .cta-strip h2 {
    font-size: 1.6rem;
  }

  .cta-strip p {
    font-size: 0.9rem;
  }
}