/* FDE service page: reuse the site's tokens and keep layout changes local. */
.fde-service-page { overflow-x: visible; }
.fde-service-page main { background: #fff; }
.fde-service-page main .container { max-width: 1200px; }
.fde-intro { position: relative; display: flex; align-items: center; min-height: max(594px, calc(100vw * 821 / 2150 + 74px)); padding: 150px 0 76px; background-color: #eef6ff; background-image: url("assets/fde-hero-workflow.png"); background-repeat: no-repeat; background-position: center bottom; background-size: 100% auto; overflow: hidden; }
.fde-intro-grid { position: relative; z-index: 1; display: block; }
.fde-intro-copy { max-width: 560px; margin-left: -50px; }
.fde-intro-copy h1 { width: max-content; max-width: none; margin: 0; color: var(--ink); font-size: clamp(38px, 3.7vw, 54px); line-height: 1.28; font-weight: 850; white-space: nowrap; }
.fde-intro-copy h1 em { color: var(--blue); font-style: normal; }
.fde-intro-copy > p { margin: 24px 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.fde-value-tags { display: grid; gap: 8px; justify-items: start; }
.fde-value-tags > span { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 14px; border: 1px solid #dce7f6; border-radius: var(--radius); background: #ffffffb3; color: var(--muted); font-size: 14px; line-height: 1.6; }
.fde-value-tags b { color: var(--blue); }
.fde-intro-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.fde-intro-actions .btn, .fde-consultation .btn { min-height: 56px; padding: 0 28px; border-radius: 999px; font-size: 18px; gap: 10px; }
.fde-intro-actions .btn-primary { border-color: #155dfb; background: #155dfb; box-shadow: 0 12px 24px rgba(21, 93, 251, 0.22); }
.fde-intro-actions .btn-ghost { color: var(--fj-ink-soft); background: #fff; border-color: #e4e9f1; }
.fde-intro-actions .btn-ghost { background: #fff; border-color: var(--line); }
.fde-business-map { padding: 36px 28px; border: 1px solid #fff; border-radius: var(--radius); background: linear-gradient(#ffffffaf, #ffffff60); box-shadow: 0 24px 64px #2563eb0d; }
.fde-map-input { display: grid; grid-template-columns: 32px auto; justify-content: center; align-items: center; gap: 6px 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fde-map-input svg { grid-row: span 2; width: 28px; height: 28px; color: var(--blue); }
.fde-map-input b { color: var(--ink); font-size: 18px; }
.fde-map-input > span { color: var(--muted); font-size: 13px; }
.fde-map-connector { width: 1px; height: 32px; margin: auto; background: #86aef2; position: relative; }
.fde-map-connector::after { position: absolute; content: ""; bottom: 0; left: -3px; width: 7px; height: 7px; border-right: 1px solid #86aef2; border-bottom: 1px solid #86aef2; transform: rotate(45deg); }
.fde-team-core { display: grid; gap: 18px; padding: 28px 20px; border-radius: var(--radius); color: #fff; background: linear-gradient(125deg, var(--blue), #1253df); text-align: center; box-shadow: 0 16px 32px #2563eb24; }
.fde-team-core > span { color: #dbeafe; font-size: 13px; }
.fde-team-core > strong { font-size: 36px; line-height: 1.2; }
.fde-team-core > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.fde-team-core > div span { padding: 7px 9px; border: 1px solid #ffffff40; border-radius: var(--radius); background: #ffffff12; font-size: 12px; }
.fde-map-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fde-map-results > span { display: grid; justify-items: center; gap: 10px; padding: 16px 6px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: #fff; font-size: 13px; }
.fde-map-results svg { width: 22px; height: 22px; color: var(--blue); }
.fde-content-section { padding: 88px 0; }
.fde-content-heading { margin: 0 0 40px; text-align: center; }
.fde-content-heading h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.35; font-weight: 800; }
.fde-offering-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fde-offering-card { display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 26px #192f5005; }
.fde-offering-card > svg { width: 28px; height: 28px; margin-bottom: 26px; color: var(--blue); }
.fde-stage-label { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; }
.fde-offering-card h3 { margin: 8px 0 16px; color: var(--ink); font-size: 20px; line-height: 1.5; }
.fde-offering-card p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.fde-offering-card p b { color: var(--text); font-weight: 500; }
.fde-outcome { display: grid; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.fde-outcome > span { color: var(--blue); font-size: 12px; }
.fde-outcome strong { color: var(--text); font-size: 14px; line-height: 1.75; font-weight: 600; }
.fde-advantages-layout { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(0, 1.55fr); gap: 72px; align-items: start; }
.fde-advantages .fde-content-heading { margin: 8px 0 0; text-align: left; }
.fde-advantages .fde-content-heading h2 { color: var(--blue); font-size: clamp(44px, 4.6vw, 64px); line-height: 1.12; }
.fde-advantages .fde-content-heading h2 span { color: var(--ink); }
.fde-expertise-art { width: calc(100% + 175px); margin-top: 42px; margin-left: -120px;overflow: hidden; }
.fde-expertise-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.fde-expertise-art > div { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.fde-expertise-art svg { width: 22px; height: 22px; color: var(--blue); }
.fde-expertise-art strong { display: grid; place-items: center; width: 112px; height: 112px; margin: 24px 0; border: 10px solid #e3edff; outline: 1px solid #c7daff; border-radius: 50%; color: #fff; background: var(--blue); font-size: 30px; }
.fde-advantage-list { display: grid; gap: 20px; }
.fde-advantage-list article { position: relative; display: block; padding: 12px 32px 8px; border: 1px solid #dfeafa; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06); }
.fde-advantage-list article::before { position: absolute; content: ""; top: 18px; bottom: 18px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--blue); }
.fde-advantage-list article:last-child { border-bottom: 1px solid #dfeafa; }
.fde-advantage-list h3 { margin: 0 0 12px; color: var(--ink); font-size: 21px; line-height: 1.45; }
.fde-advantage-list p { margin: 0; color: #6d819a; font-size: 14px; line-height: 1.8; }
.fde-advantage-list .fde-client-value { margin-top: 12px; color: #6d819a; }
.fde-client-value b { color: var(--blue); font-weight: 600; }
.fde-workflow-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.fde-workflow-list::before { position: absolute; content: ""; top: 22px; left: 8%; right: 8%; height: 2px; background: #a9cbff; }
.fde-workflow-list li { position: relative; min-width: 0; text-align: center; }
.fde-workflow-number { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border: 6px solid #eaf3ff; outline: 2px solid #a9cbff; border-radius: 50%; color: var(--blue); background: #f5f9ff; font-size: 18px; font-weight: 800; }
.fde-workflow-list h3 { margin: 8px 0 12px; color: var(--ink); font-size: 21px; line-height: 1.5; }
.fde-workflow-list p { margin: 0 0 24px; min-height: 52px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.fde-phase-result { display: flex; align-items: center; gap: 14px; min-height: 118px; padding: 18px 16px; border: 1px solid #e7effb; border-radius: 16px; background: #f5f9ff; text-align: left; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.05); }
.fde-phase-result img { flex: 0 0 54px; width: 54px; height: 54px; object-fit: contain; }
.fde-phase-result > div { min-width: 0; }
.fde-phase-result b { display: block; margin-bottom: 8px; color: var(--blue); font-size: 14px; font-weight: 700; }
.fde-phase-result span { display: block; color: var(--text); font-size: 14px; line-height: 1.7; }
.fde-challenges { background: #f6fafe; }
.fde-challenge-grid, .fde-team-grid { display: grid; gap: 24px; }
.fde-challenge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fde-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fde-insight-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fde-insight-label { color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1.6; }
.fde-insight-card h3 { margin: 12px 0 16px; color: var(--ink); font-size: 21px; line-height: 1.5; }
.fde-insight-card p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.fde-insight-card .fde-insight-summary { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text); }
.fde-insight-summary b { color: var(--blue); font-weight: 600; }
.fde-consultation { padding: 64px 0; color: #fff; background: linear-gradient(135deg, #155dfb 0%, #2563eb 52%, #0f766e 100%); text-align: center; }
.fde-consultation h2 { margin: 0 0 20px; color: #fff; font-size: clamp(27px, 2.8vw, 40px); line-height: 1.4; }
.fde-consultation p { max-width: 900px; margin: 0 auto 28px; color: #e4edff; font-size: 16px; line-height: 1.9; }
.fde-consultation .btn-primary { color: var(--blue); border-color: #fff; background: #fff; }
.fde-consultation .btn-primary:hover { background: #edf3ff; }
.fde-service-page main .btn:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
@media (max-width: 1100px) {
  .fde-intro-grid { gap: 32px; }
  .fde-offering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fde-advantages-layout { gap: 40px; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.45fr); }
  .fde-workflow-list { gap: 16px; }
}
@media (max-width: 800px) {
  .fde-challenge-grid { grid-template-columns: 1fr; }
  .fde-intro { padding: 136px 0 58px; min-height: 0; background-position: left center; background-size: auto 100%; }
  .fde-intro-grid, .fde-advantages-layout { grid-template-columns: 1fr; }
  .fde-intro-copy h1 { width: auto; white-space: normal; }
  .fde-advantages .fde-content-heading { text-align: center; margin: 0; }
  .fde-advantages .fde-content-heading h2 { font-size: 36px; }
  .fde-workflow-list { grid-template-columns: 1fr; gap: 28px; }
  .fde-workflow-list::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 2px; height: auto; }
  .fde-workflow-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; text-align: left; }
  .fde-workflow-number { grid-column: 1; grid-row: 1 / 5; margin: 0; }
  .fde-workflow-list li > :not(.fde-workflow-number) { grid-column: 2; }
  .fde-workflow-list h3 { margin-top: 8px; }
  .fde-workflow-list p { min-height: 0; margin-bottom: 16px; }
  .fde-phase-result { min-height: 92px; }
}
@media (max-width: 540px) {
  .fde-team-grid { grid-template-columns: 1fr; gap: 16px; }
  .fde-insight-card { padding: 24px; }
  .fde-insight-card h3 { font-size: 19px; }
  .fde-content-section { padding: 56px 0; }
  .fde-content-heading { margin-bottom: 28px; }
  .fde-intro-copy h1 { font-size: 34px; }
  .fde-intro-copy > p { font-size: 15px; margin: 20px 0; }
  .fde-value-tags > span { padding: 8px 10px; font-size: 12px; gap: 6px; }
  .fde-intro-actions { gap: 10px; margin-top: 24px; }
  .fde-intro-actions .btn { min-height: 48px; padding: 0 16px; font-size: 14px; }
  .fde-offering-grid { grid-template-columns: 1fr; gap: 16px; }
  .fde-offering-card { padding: 24px; }
  .fde-offering-card > svg { margin-bottom: 20px; }
  .fde-advantage-list h3 { font-size: 19px; }
  .fde-expertise-art { width: 100%; margin-top: 32px; }
  .fde-advantage-list article { min-height: 0; padding: 16px 20px; }
  .fde-consultation { padding: 48px 0; }
  .fde-consultation p { font-size: 15px; }
}
