/* ==========================================================================
   CFO CRAFT - SHARED SERVICE PAGE STYLES
   Uses the design tokens, typography, navbar and footer from ../style.css.
   Only service-page-specific layout/components live here.
   ========================================================================== */

body.service-page {
  background: var(--white);
  color: #111;
}

.service-page main {
  overflow: hidden;
}

.service-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Hero ---------- */
.service-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  padding-bottom: 3.5rem !important;
  color: var(--white);
  background: linear-gradient(110deg, var(--dark-blue-gradient));
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 82%, rgba(166, 203, 247, 0.11), transparent 50%),
    radial-gradient(ellipse at 78% 18%, rgba(43, 109, 178, 0.12), transparent 46%);
  pointer-events: none;
}

.service-hero .service-wrap {
  position: relative;
  z-index: 1;
}

.service-breadcrumb {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.service-breadcrumb a {
  color: inherit;
}

.service-breadcrumb a:hover {
  color: var(--light-blue);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.service-tier {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--light-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--light-blue);
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.service-lede {
  max-width: 680px;
  margin: 1.25rem 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
}

.service-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.service-price b {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
}

.service-price small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.service-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-btn-outline:hover {
  border-color: var(--light-blue);
  color: var(--light-blue);
  transform: translateY(-1px);
}

/* ---------- Hero summary card ---------- */
.service-summary {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: var(--white);
  color: var(--dark-blue);
  box-shadow: var(--shadow-xl);
}

.service-summary h2 {
  margin: 0 0 0.25rem;
  color: var(--dark-blue);
  font-size: 1.05rem;
  font-weight: 600;
}

.service-summary-sub {
  margin: 0 0 1rem;
  color: var(--gray-600);
  font-size: 0.85rem;
}

.service-summary ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--gray-200);
  list-style: none;
}

.service-summary li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--dark-blue);
  font-size: 0.93rem;
  line-height: 1.45;
}

.service-summary li:last-child {
  border-bottom: 0;
}

.service-summary li i {
  padding-top: 0.05rem;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
}

.service-summary li div > span {
  display: block;
  margin-top: 0.12rem;
  color: var(--gray-600);
  font-size: 0.82rem;
}

/* ---------- Service ladder ---------- */
.service-ladder {
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.service-ladder-kicker {
  margin: 0 0 1rem;
  color: var(--gray-600);
  font-size: 0.88rem;
}

.service-rungs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.service-rung {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark-blue);
  line-height: 1.3;
  transition: var(--transition);
}

.service-rung:nth-child(2) { min-height: 92px; }
.service-rung:nth-child(3) { min-height: 102px; }
.service-rung:nth-child(4) { min-height: 112px; }
.service-rung:nth-child(5) { min-height: 122px; }

.service-rung:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.service-rung small {
  margin-bottom: 0.2rem;
  color: var(--gray-600);
  font-size: 0.72rem;
}

.service-rung b {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-rung.on {
  border-color: var(--dark-blue);
  background: var(--dark-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.service-rung.on small {
  color: var(--light-blue);
}

/* ---------- Shared content sections ---------- */
.service-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--white);
}

.service-section.alt {
  background: var(--gray-100);
}

.service-section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.service-section-head h2,
.service-final h2 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-section-head p {
  margin: 0.85rem 0 0;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

.service-page h3 {
  color: var(--dark-blue);
}

.service-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-fit > div {
  padding: 1.6rem;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-fit h3 {
  margin: 0 0 1rem;
  font-size: 1.12rem;
}

.service-fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-fit li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.6rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-fit li:last-child {
  margin-bottom: 0;
}

.service-fit .yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.service-fit .no li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gray-400);
  font-weight: 700;
}

.service-fit a,
.service-faq a {
  color: var(--primary-blue);
  font-weight: 500;
}

.service-fit a:hover,
.service-faq a:hover {
  text-decoration: underline;
}

/* ---------- Scope grids ---------- */
.service-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
}

.service-scope > div {
  padding: 1.5rem 0;
  border-top: 2px solid var(--primary-blue);
}

.service-scope h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.service-scope p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-scope ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-scope li {
  margin-bottom: 0.35rem;
}

/* ---------- Process + fee ---------- */
.service-two {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.service-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
}

.service-steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gray-200);
  counter-increment: service-step;
}

.service-steps li::before {
  content: counter(service-step, decimal-leading-zero);
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--primary-blue);
  border-radius: 50%;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.service-steps p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-extra-block {
  margin-top: 2.4rem;
}

.service-extra-heading {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.service-needs {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.service-needs li {
  margin-bottom: 0.55rem;
}

.service-fee {
  position: sticky;
  top: 100px;
  padding: 1.9rem;
  border-radius: 16px;
  background: linear-gradient(155deg, var(--dark-blue), #020c1b);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.service-fee h3 {
  margin: 0 0 0.7rem;
  color: var(--light-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-fee-amount {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.service-fee-amount small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 400;
}

.service-fee dl {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
}

.service-fee dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.service-fee dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-fee-cta {
  margin-top: 1.5rem;
}

/* Existing content contains intentional launch placeholders. */
.service-placeholder {
  display: inline;
  padding: 0 0.18em;
  border-bottom: 1px dashed var(--primary-blue);
  border-radius: 2px;
  background: rgba(166, 203, 247, 0.2);
}

/* ---------- FAQs ---------- */
.service-faq details {
  border-bottom: 1px solid var(--gray-200);
}

.service-faq summary {
  position: relative;
  padding: 1.15rem 2.6rem 1.15rem 0;
  color: var(--dark-blue);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: "+";
  position: absolute;
  top: 0.95rem;
  right: 0.25rem;
  color: var(--primary-blue);
  font-size: 1.35rem;
  font-weight: 400;
}

.service-faq details[open] summary::after {
  content: "−";
}

.service-faq details p {
  max-width: 780px;
  margin: 0 0 1.1rem;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.7;
}

.service-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-next-spaced {
  margin-top: 3rem;
}

.service-next h3 {
  margin: 0;
  font-size: 1.05rem;
}

.service-next p {
  margin: 0.35rem 0 0;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.service-next-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-next-link:hover {
  transform: translateX(3px);
}

/* ---------- Specialist project areas ---------- */
.service-areas {
  display: grid;
}

.service-area {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--gray-200);
}

.service-area:first-child {
  border-top: 2px solid var(--primary-blue);
}

.service-area h3 {
  margin: 0;
  font-size: 1.2rem;
}

.service-area h4 {
  margin: 0 0 0.45rem;
  color: var(--primary-blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-area ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-area li {
  margin-bottom: 0.35rem;
}

/* ---------- Final CTA ---------- */
.service-final {
  position: relative;
  overflow: hidden;
  padding: clamp(3.8rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--dark-blue-gradient));
  color: var(--white);
}

.service-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 45%, rgba(166, 203, 247, 0.12), transparent 36%);
  pointer-events: none;
}

.service-final .service-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service-final h2 {
  color: var(--white);
}

.service-final p {
  max-width: 620px;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* Current service inside Services dropdown */
.service-page .nav-dropdown a[aria-current="page"] {
  background: var(--gray-100);
}

.service-page .nav-dropdown a[aria-current="page"] .dd-title {
  color: var(--primary-blue);
  font-weight: 700;
}

/* ---------- Accessibility ---------- */
.service-skip {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 2000;
  padding: 0.65rem 1rem;
  border-radius: 0 0 6px 0;
  background: var(--white);
  color: var(--dark-blue);
  font-weight: 600;
}

.service-skip:focus {
  left: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-hero-grid,
  .service-two {
    grid-template-columns: 1fr;
  }

  .service-summary {
    max-width: 720px;
  }

  .service-fee {
    position: static;
  }

  .service-area {
    grid-template-columns: 1fr 1fr;
  }

  .service-area > h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .service-wrap {
    padding: 0 1.25rem;
  }

  .service-hero {
    padding: 7rem 0 3.5rem;
  }

  .service-hero h1 {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }

  .service-rungs {
    grid-template-columns: 1fr;
  }

  .service-rung,
  .service-rung:nth-child(2),
  .service-rung:nth-child(3),
  .service-rung:nth-child(4),
  .service-rung:nth-child(5) {
    min-height: auto;
  }

  .service-fit,
  .service-scope,
  .service-area {
    grid-template-columns: 1fr;
  }

  .service-area > h3 {
    grid-column: auto;
  }

  .service-section {
    padding: 3.5rem 0;
  }

  .service-section-head {
    margin-bottom: 2rem;
  }

  .service-cta,
  .service-final .service-wrap {
    align-items: stretch;
  }

  .service-cta .btn-secondary,
  .service-cta .service-btn-outline,
  .service-final .btn-secondary {
    width: 100%;
  }

  .service-next {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .service-wrap {
    padding: 0 1rem;
  }

  .service-hero {
    padding-top: 6.5rem;
  }

  .service-summary,
  .service-fit > div,
  .service-fee,
  .service-next {
    padding: 1.25rem;
  }

  .service-steps li {
    grid-template-columns: 2.65rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .service-steps li::before {
    width: 2.1rem;
    height: 2.1rem;
  }
}

/* ==========================================================================
   VISUAL ENHANCEMENT LAYER
   Adds lightweight visual structure to content-heavy service sections.
   Keeps existing content intact and theme-consistent.
   ========================================================================== */

.service-section-head h2,
.service-final h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.9rem;
}

.service-section-head h2::after,
.service-final h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 82px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--light-blue), var(--primary-blue));
}

.service-fit > div,
.service-scope > div,
.service-area,
.service-faq details,
.service-next,
.service-extra-block {
  position: relative;
  overflow: hidden;
}

.service-fit > div::after,
.service-scope > div::after,
.service-area::after,
.service-faq details::after,
.service-extra-block::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -35px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(166, 203, 247, 0.22) 0%, rgba(166, 203, 247, 0) 72%);
  pointer-events: none;
}

/* ---------- Fit cards ---------- */
.service-fit > div {
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(8, 41, 81, 0.08);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-fit > div:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 109, 178, 0.25);
  box-shadow: var(--shadow-md);
}

.service-fit > div::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-color: rgba(166, 203, 247, 0.24);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
}

.service-fit h3 {
  padding-right: 4.2rem;
}

.service-fit .yes::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
}

.service-fit .no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

/* ---------- Scope cards ---------- */
.service-scope {
  gap: 1.5rem;
}

.service-scope > div {
  min-height: 100%;
  padding: 1.55rem 1.5rem 1.4rem;
  border: 1px solid rgba(8, 41, 81, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-top: 0;
  box-shadow: inset 0 3px 0 var(--primary-blue), var(--shadow-sm);
}

.service-scope > div:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 3px 0 var(--primary-blue), var(--shadow-md);
  border-color: rgba(43, 109, 178, 0.2);
}

.service-scope > div::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: rgba(166, 203, 247, 0.24);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23px 23px;
}

.service-scope > div:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='16' rx='2'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E");
}

.service-scope > div:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v10M15 9.5c-.6-1-1.7-1.5-3-1.5-1.7 0-3 .95-3 2.3 0 1.35 1.2 1.94 3 2.4 1.8.47 3 1.05 3 2.4 0 1.36-1.3 2.4-3 2.4-1.3 0-2.4-.45-3.05-1.3'/%3E%3C/svg%3E");
}

.service-scope > div:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 14l3-3 3 2 4-5'/%3E%3Cpath d='M17 8h3v3'/%3E%3C/svg%3E");
}

.service-scope > div:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-2.6 8-7 10-4.4-2-7-5.5-7-10V6l7-3Z'/%3E%3Cpath d='m9.2 12.1 1.8 1.8 3.7-4'/%3E%3C/svg%3E");
}

.service-scope h3 {
  padding-right: 4.4rem;
}

.service-scope p {
  max-width: 46ch;
}

.service-scope ul {
  padding-left: 0;
  list-style: none;
}

.service-scope li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.1rem;
}

.service-scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-blue);
}

/* ---------- Steps + supporting blocks ---------- */
.service-steps li {
  margin-bottom: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 109, 178, 0.2);
  box-shadow: var(--shadow-md);
}

.service-steps li:last-child {
  margin-bottom: 0;
}

.service-extra-block {
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow-sm);
}

.service-extra-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-extra-heading::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: rgba(166, 203, 247, 0.24) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1v22'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}

.service-needs {
  list-style: none;
  padding-left: 0;
}

.service-needs li {
  position: relative;
  padding-left: 1.35rem;
}

.service-needs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--light-blue), var(--primary-blue));
}

/* ---------- FAQ cards ---------- */
.service-faq {
  display: grid;
  gap: 0.9rem;
}

.service-faq details {
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
}

.service-faq details[open] {
  border-color: rgba(43, 109, 178, 0.18);
  box-shadow: var(--shadow-md);
}

.service-faq summary {
  padding: 1.2rem 3rem 1.2rem 1rem;
}

.service-faq summary::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 0.65rem;
  vertical-align: middle;
  border-radius: 9px;
  background: rgba(166, 203, 247, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2-3 4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center/16px 16px no-repeat;
}

.service-faq details p {
  padding: 0 1rem 1.15rem;
  margin: 0;
}

/* ---------- Next-step panel ---------- */
.service-next {
  border-color: rgba(8, 41, 81, 0.08);
  background: linear-gradient(135deg, rgba(166, 203, 247, 0.12), rgba(255, 255, 255, 0.98));
}

.service-next-link::after {
  content: "→";
  margin-left: 0.45rem;
  transition: transform 0.2s ease;
}

.service-next-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Specialist project areas ---------- */
.service-areas {
  gap: 1rem;
}

.service-area {
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-area:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 109, 178, 0.2);
  box-shadow: var(--shadow-md);
}

.service-area:first-child {
  border-top: 1px solid var(--gray-200);
}

.service-area > h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-area > h3::before {
  content: "";
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background-color: rgba(166, 203, 247, 0.24);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.service-area:nth-child(1) > h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l7-5 7 5v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.service-area:nth-child(2) > h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v10M15 9.5c-.6-1-1.7-1.5-3-1.5-1.7 0-3 .95-3 2.3 0 1.35 1.2 1.94 3 2.4 1.8.47 3 1.05 3 2.4 0 1.36-1.3 2.4-3 2.4-1.3 0-2.4-.45-3.05-1.3'/%3E%3C/svg%3E");
}

.service-area:nth-child(3) > h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 4v6M16 4v6'/%3E%3C/svg%3E");
}

.service-area:nth-child(4) > h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M7 17l4-4 3 2 5-6'/%3E%3Cpath d='M16 9h4v4'/%3E%3C/svg%3E");
}

.service-area:nth-child(5) > h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M4 9V5a1 1 0 0 1 1-1h4'/%3E%3Cpath d='M20 9V5a1 1 0 0 0-1-1h-4'/%3E%3Cpath d='M4 15v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M20 15v4a1 1 0 0 1-1 1h-4'/%3E%3C/svg%3E");
}

/* ---------- Small-screen tuning for new visual layer ---------- */
@media (max-width: 768px) {
  .service-fit > div::before,
  .service-scope > div::before {
    width: 44px;
    height: 44px;
    background-size: 20px 20px;
  }

  .service-fit h3,
  .service-scope h3 {
    padding-right: 3.6rem;
  }

  .service-area {
    padding: 1.2rem;
  }

  .service-area > h3::before {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .service-faq summary::before {
    width: 24px;
    height: 24px;
    margin-right: 0.55rem;
    background-size: 14px 14px;
  }
}

@media (max-width: 480px) {
  .service-section-head h2,
  .service-final h2 {
    padding-bottom: 0.75rem;
  }

  .service-section-head h2::after,
  .service-final h2::after {
    width: 64px;
  }

  .service-fit > div,
  .service-scope > div,
  .service-area,
  .service-extra-block,
  .service-faq details {
    border-radius: 14px;
  }

  .service-fit h3,
  .service-scope h3 {
    padding-right: 3.2rem;
  }

  .service-fit > div::before,
  .service-scope > div::before {
    top: 1.1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-size: 18px 18px;
  }

  .service-area > h3 {
    gap: 0.55rem;
  }

  .service-area > h3::before {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
    background-size: 18px 18px;
  }
}


/* ==========================================================================
   FINAL SERVICE FAQ STANDARD
   Mirrors the Trading & Distribution FAQ design.
   Keep this as the shared FAQ style for all Service pages.
   ========================================================================== */

.service-page .service-faq {
  display: grid;
  gap: 0.9rem;
  max-width: 900px;
  margin-top: 1.5rem;
}

/* Closed + open FAQ card */
.service-page .service-faq details,
.service-page .service-faq details:first-child {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Trading-style hover/open visual */
.service-page .service-faq details:hover,
.service-page .service-faq details[open] {
  border-color: rgba(43, 109, 178, 0.2);
  box-shadow: var(--shadow-md);
}

/* Question row */
.service-page .service-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 1rem 3.5rem 1rem 1rem;
  color: var(--dark-blue);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.service-page .service-faq summary::-webkit-details-marker {
  display: none;
}

/* Left question icon */
.service-page .service-faq summary::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-right: 0.75rem;
  border-radius: 10px;
  background:
    rgba(166, 203, 247, 0.24)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2-3 4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")
    center / 17px 17px no-repeat;
}

/* Circular + */
.service-page .service-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 203, 247, 0.18);
  color: var(--primary-blue);
  transform: translateY(-50%);
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

/* Open state: dark circular minus */
.service-page .service-faq details[open] summary::after {
  content: "−";
  background: var(--dark-blue);
  color: var(--white);
}

/* Answer alignment — same visual rhythm as Trading FAQ */
.service-page .service-faq details p {
  max-width: 780px;
  margin: 0;
  padding: 0 1.25rem 1.2rem 4.6rem;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Preserve answer links */
.service-page .service-faq details p a {
  color: var(--primary-blue);
  font-weight: 500;
}

.service-page .service-faq details p a:hover {
  text-decoration: underline;
}

/* Tablet / Mobile */
@media (max-width: 768px) {
  .service-page .service-faq {
    gap: 0.8rem;
    max-width: 100%;
  }

  .service-page .service-faq summary {
    min-height: 64px;
    padding: 0.9rem 3rem 0.9rem 0.9rem;
    font-size: 0.95rem;
  }

  .service-page .service-faq summary::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    margin-right: 0.6rem;
    background-size: 15px 15px;
  }

  .service-page .service-faq summary::after {
    right: 0.85rem;
    width: 26px;
    height: 26px;
  }

  .service-page .service-faq details p {
    padding: 0 1rem 1.1rem 4rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .service-page .service-faq {
    gap: 0.7rem;
  }

  .service-page .service-faq details,
  .service-page .service-faq details:first-child {
    border-radius: 14px;
  }

  .service-page .service-faq summary {
    min-height: 60px;
    padding: 0.85rem 2.8rem 0.85rem 0.8rem;
    font-size: 0.9rem;
  }

  .service-page .service-faq summary::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    margin-right: 0.55rem;
    border-radius: 9px;
    background-size: 14px 14px;
  }

  .service-page .service-faq summary::after {
    right: 0.75rem;
    width: 25px;
    height: 25px;
    font-size: 1.15rem;
  }

  .service-page .service-faq details p {
    padding: 0 0.85rem 1rem 3.55rem;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-page .service-faq details {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   CFO CRAFT — NORMALISED HERO + VIDEO WALKTHROUGH
   Desktop goal: balanced one-screen hero where practical.
   No fixed hero height and no line clamping: long text is never cut.
   ========================================================================== */

.service-page .service-hero {
  min-height: 0;
  padding: 7rem 0 2.6rem;
  overflow: hidden;
}

.service-page .service-hero .service-wrap {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.75rem, 3.2vw, 3.25rem);
  padding-right: clamp(1.75rem, 3.2vw, 3.25rem);
}

.service-page .service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: clamp(2.25rem, 4vw, 4rem);
  align-items: center;
}

.service-page .service-hero-copy {
  min-width: 0;
  align-self: center;
}

.service-page .service-breadcrumb {
  margin-top: 0;
  margin-bottom: .85rem;
}

.service-page .service-hero h1 {
  width: 100%;
  max-width: 730px;
  margin-top: 0;
  font-size: clamp(2.55rem, 3.25vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: normal;
}

.service-page .service-lede {
  width: 100%;
  max-width: 690px;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.58;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.service-page .service-demo-card {
  width: 100%;
  max-width: 610px;
  min-width: 0;
  justify-self: end;
  align-self: center;
}

.service-page .service-demo-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: .55rem;
  border: 1px solid rgba(166,203,247,.20);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  box-shadow: 0 22px 58px rgba(2,12,27,.32), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-page .service-demo-shell::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -115px;
  right: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,203,247,.15), rgba(166,203,247,0) 70%);
  pointer-events: none;
}

.service-page .service-demo-media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(166,203,247,.12);
  border-radius: 14px;
  background: #020c1b;
  box-shadow: 0 10px 26px rgba(2,12,27,.26);
}

.service-page .service-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #020c1b;
  object-fit: cover;
}

.service-page .service-demo-video::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(2,12,27,.92), rgba(2,12,27,.10));
}

.service-page .service-demo-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .85rem;
  align-items: start;
  padding: .85rem .5rem .4rem;
}

.service-page .service-demo-copy {
  min-width: 0;
}

.service-page .service-demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .4rem;
  color: var(--creamish);
  font-family: var(--font-primary);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-page .service-demo-kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  flex: 0 0 20px;
  border-radius: 999px;
  background: var(--creamish);
}

.service-page .service-demo-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.service-page .service-demo-copy > p:last-child {
  max-width: 58ch;
  margin: .34rem 0 0;
  color: rgba(255,255,255,.68);
  font-family: var(--font-primary);
  font-size: .78rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.service-page .service-tier {
  margin-bottom: .7rem;
  font-size: .72rem;
}
.service-page .service-lede {
  margin: 1rem 0 1.15rem;
}
.service-page .service-price {
  margin-bottom: 1rem;
}
.service-page .service-price b {
  font-size: 1.28rem;
}
.service-page .service-price small {
  font-size: .82rem;
}
.service-page .service-cta {
  gap: .65rem;
}
.service-page .service-cta .btn-secondary,
.service-page .service-cta .service-btn-outline {
  min-height: 42px;
  padding-top: .66rem;
  padding-bottom: .66rem;
}


@media (hover:hover) and (pointer:fine) {
  .service-page .service-demo-shell:hover {
    transform: translateY(-3px);
    border-color: rgba(166,203,247,.34);
    box-shadow: 0 28px 68px rgba(2,12,27,.38), inset 0 1px 0 rgba(255,255,255,.10);
  }
}

@media (max-width: 1180px) {
  .service-page .service-hero {
    padding-top: 6.75rem;
    padding-bottom: 2.5rem;
  }

  .service-page .service-hero .service-wrap {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .service-page .service-hero-grid {
    grid-template-columns: minmax(0,1fr) minmax(390px,.9fr);
    gap: 2rem;
  }

  .service-page .service-hero h1 {
    font-size: clamp(2.35rem, 4vw, 3rem);
  }

  .service-page .service-demo-card {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .service-page .service-hero {
    padding-top: 6.5rem;
    padding-bottom: 2.75rem;
  }

  .service-page .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    align-items: start;
  }

  .service-page .service-demo-card {
    width: 100%;
    max-width: 720px;
    justify-self: start;
  }

  .service-page .service-hero h1,
  .service-page .service-lede {
    max-width: 780px;
  }
}

@media (max-width: 768px) {
  .service-page .service-hero {
    padding-top: 6.15rem;
    padding-bottom: 2.45rem;
  }

  .service-page .service-hero .service-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .service-page .service-hero h1 {
    font-size: clamp(2.1rem, 7vw, 2.6rem);
    line-height: 1.1;
  }

  .service-page .service-lede {
    font-size: .98rem;
    line-height: 1.55;
  }

  .service-page .service-demo-shell {
    padding: .45rem;
    border-radius: 17px;
  }

  .service-page .service-demo-media {
    border-radius: 12px;
  }
}

@media (max-width: 560px) {
  .service-page .service-demo-meta {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .service-page .service-demo-badge {
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .service-page .service-hero {
    padding-top: 5.75rem;
    padding-bottom: 2.25rem;
  }

  .service-page .service-hero .service-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .service-page .service-hero-grid {
    gap: 1.25rem;
  }

  .service-page .service-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.2rem);
    line-height: 1.12;
  }

  .service-page .service-demo-shell {
    padding: .35rem;
    border-radius: 14px;
  }

  .service-page .service-demo-media {
    border-radius: 10px;
  }

  .service-page .service-demo-meta {
    padding: .72rem .38rem .34rem;
  }

  .service-page .service-demo-copy h2 {
    font-size: 1rem;
  }

  .service-page .service-demo-copy > p:last-child {
    font-size: .76rem;
    line-height: 1.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-page .service-demo-shell {
    transition: none !important;
    transform: none !important;
  }
}
