/* ==========================================================================
   SERVICE HOME
   Scoped landing-page presentation and responsive service sections.
   ========================================================================== */
/* Home service landing */
.service-home {
  --service-bg: #f6f8fb;
  --service-surface: #fff;
  --service-line: #e5ebf3;
  --service-navy: #17233a;
  --service-blue: #2563eb;
  --service-coral: #f9735b;
  --service-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 5%, rgba(37, 99, 235, .11), transparent 28%),
    radial-gradient(circle at 92% 6%, rgba(249, 115, 91, .14), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, var(--service-bg) 46%, #fff 100%);
}

.service-hero {
  padding: clamp(42px, 6vw, 72px) 0 clamp(32px, 5vw, 54px);
  border-bottom: 1px solid rgba(214, 225, 236, .72);
  background: transparent;
}

body:has(.service-home) .site-header {
  border-bottom-color: rgba(229, 235, 243, .76);
}

.service-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
}

.service-hero-copy {
  min-width: 0;
}

.service-eyebrow,
.service-kicker {
  margin: 0;
  color: #1e40af;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
}

.service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 111, 97, .26);
  border-radius: var(--pill);
  background: #fff1ed;
  color: #9a3412;
}

.service-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 111, 97, .12);
}

.service-home .service-eyebrow {
  border-color: rgba(249, 115, 91, .24);
  background: rgba(249, 115, 91, .09);
  color: #9a3412;
}

.service-home .service-eyebrow::before {
  background: var(--service-coral);
  box-shadow: 0 0 0 4px rgba(249, 115, 91, .14);
}

.service-hero h1 {
  max-width: 700px;
  margin: 22px 0 16px;
  color: var(--service-navy);
  font-size: clamp(44px, 6.6vw, 72px);
  line-height: .98;
  letter-spacing: 0;
  word-break: keep-all;
}

.service-hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--service-navy) 0%, var(--service-blue) 54%, var(--service-coral) 112%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.service-hero-description {
  max-width: 620px;
  margin: 0;
  color: #475569;
  font-size: 17px;
  font-weight: 680;
  line-height: 1.62;
  word-break: keep-all;
}

.service-search-card {
  position: relative;
  max-width: 660px;
  margin-top: 28px;
  padding: 13px;
  border: 1px solid rgba(214, 225, 236, .92);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 46px rgba(26, 50, 86, .09);
}

.service-search-card .search-label {
  margin: 0 4px 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.service-search-field {
  min-height: 58px;
  border-radius: 17px;
  background: #fff;
}

.service-search-field input {
  min-height: 54px;
  font-size: 16px;
}

.service-search-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  padding: 0 3px;
}

.service-search-examples span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: var(--pill);
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.service-search-card .home-search-status {
  margin: 9px 4px 0;
  border-color: rgba(191, 204, 224, .72);
  background: rgba(248, 250, 252, .82);
  color: #64748b;
  font-weight: 780;
}

.service-hero-actions,
.service-final-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-hero-actions {
  margin-top: 20px;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 950;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.service-btn:hover,
.service-btn:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.service-btn--primary {
  background: #17233a;
  color: #fff;
  box-shadow: 0 13px 28px rgba(15, 23, 42, .17);
}

.service-btn--secondary {
  border-color: #dbe4ef;
  background: #fff;
  color: #253044;
}

.service-btn--light {
  background: #fff;
  color: #17233a;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .16);
}

.service-btn--outline-light {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.service-hero-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.service-preview-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  border-color: rgba(226, 232, 240, .92);
  border-radius: 30px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 64px rgba(15, 23, 42, .10);
}

.service-home .service-preview-panel {
  justify-self: end;
  width: min(100%, 430px);
  padding: 22px;
  gap: 14px;
}

.service-preview-panel::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  inset: -80px -90px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .13) 0%, rgba(37, 99, 235, .06) 46%, transparent 72%);
  pointer-events: none;
}

.service-preview-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 18%;
  bottom: -90px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 91, .12) 0%, rgba(249, 115, 91, .05) 46%, transparent 72%);
  pointer-events: none;
}

.service-preview-panel > * {
  position: relative;
  z-index: 1;
}

.service-preview-panel .ondo-preview-tab.is-active {
  background: #17233a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .15);
}

.service-home .service-preview-panel .ondo-preview-scenes,
.service-home .service-preview-panel .ondo-preview-scene {
  min-height: 0;
}

.service-home .service-preview-panel .ondo-preview-scene {
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
}

.service-home .service-preview-panel .ondo-preview-scene h2 {
  font-size: clamp(24px, 2.2vw, 30px);
}

.service-preview-input {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dbe4ef;
  border-radius: 15px;
  background: #fff;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.service-preview-list {
  display: grid;
  gap: 9px;
}

.service-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #e8eef5;
  border-radius: 15px;
  background: #fff;
}

.service-preview-row.is-accent {
  border-color: rgba(37, 99, 235, .18);
  background: rgba(37, 99, 235, .05);
}

.service-preview-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.service-preview-row strong {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.service-preview-link {
  justify-self: start;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 950;
}

.service-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  margin-bottom: 12px;
  border: 1px solid rgba(214, 225, 236, .86);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-xs);
}

.service-stat-strip > div {
  min-width: 0;
  padding: 17px 18px;
}

.service-stat-strip > div + div {
  border-left: 1px solid rgba(214, 225, 236, .76);
}

.service-stat-strip strong,
.service-stat-strip span {
  display: block;
}

.service-stat-strip strong {
  color: #17233a;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.service-stat-strip span {
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.service-section {
  padding-top: clamp(42px, 6vw, 68px);
}

.service-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.service-section-head h2,
.service-workflow-copy h2,
.service-tools-copy h2,
.service-final-cta h2 {
  margin: 7px 0 0;
  color: #17233a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

.service-section-head > p {
  max-width: 360px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.service-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.service-start-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  padding: 23px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.service-start-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -42px;
  bottom: -46px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  pointer-events: none;
}

.service-start-card:nth-child(1)::after {
  background: rgba(59, 130, 246, .09);
}

.service-start-card:nth-child(2)::after {
  background: rgba(16, 185, 129, .09);
}

.service-start-card:nth-child(3)::after {
  background: rgba(249, 115, 91, .10);
}

.service-start-card > * {
  position: relative;
  z-index: 1;
}

.service-step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: #17233a;
  color: #fff;
  font-weight: 950;
}

.service-start-card:nth-child(2) .service-step-number { background: #047857; }
.service-start-card:nth-child(3) .service-step-number { background: var(--primary); }

.service-start-card h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: 0;
}

.service-why-grid h3 {
  letter-spacing: 0;
}

.service-start-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.55;
}

.service-start-card a {
  margin-top: auto;
  padding-top: 18px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 950;
}

.service-why-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
}

.service-why-main {
  padding: clamp(26px, 4vw, 38px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(249, 115, 91, .38), transparent 32%),
    linear-gradient(135deg, #111827, var(--service-navy) 62%, #1d4ed8);
  color: #fff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .17);
}

.service-why-main .service-kicker {
  color: #93c5fd;
}

.service-why-main h2 {
  margin: 9px 0 13px;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
}

.service-why-main > p:not(.service-kicker) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-weight: 680;
  line-height: 1.6;
}

.service-why-main .service-btn {
  margin-top: 24px;
}

.service-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.service-why-grid article {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.service-why-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border-radius: 14px;
  background: #eef4ff;
  color: #1d4ed8;
}

.service-why-icon .tool-icon-svg {
  width: 21px;
  height: 21px;
}

.service-why-grid article:nth-child(2) .service-why-icon {
  background: #ecfdf5;
  color: #047857;
}

.service-why-grid article:nth-child(3) .service-why-icon {
  background: #fff1ed;
  color: #c2410c;
}

.service-why-grid article:nth-child(4) .service-why-icon {
  background: #f1f5f9;
  color: #475569;
}

.service-why-grid h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 17px;
}

.service-why-grid p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.5;
}

.service-workflow-feature,
.service-tools-layout {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--service-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .06), transparent 34%),
    var(--service-surface);
  box-shadow: var(--service-shadow);
}

.service-workflow-feature {
  grid-template-columns: .92fr 1.08fr;
}

.service-workflow-copy,
.service-tools-copy {
  align-self: center;
}

.service-workflow-copy > p:not(.service-kicker),
.service-tools-copy > p:not(.service-kicker) {
  margin: 13px 0 0;
  color: #64748b;
  font-weight: 680;
  line-height: 1.58;
}

.service-workflow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.service-workflow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: var(--pill);
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.service-workflow-chip--green { border-color: rgba(4, 120, 87, .18); background: #ecfdf5; color: #047857; }
.service-workflow-chip--teal { border-color: rgba(14, 116, 144, .18); background: #ecfeff; color: #0e7490; }
.service-workflow-chip--slate,
.service-workflow-chip--gray { border-color: rgba(71, 85, 105, .18); background: #f1f5f9; color: #475569; }
.service-workflow-chip--coral { border-color: rgba(255, 111, 97, .22); background: #fff1ed; color: #c2410c; }

.service-route-preview {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 23px;
  background: #f8fafc;
}

.service-route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.service-route-head span {
  padding: 5px 9px;
  border-radius: var(--pill);
  background: #e9f8f2;
  color: #006c50;
  font-size: 11px;
  font-weight: 950;
}

.service-route-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-route-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid #e8eef5;
  border-radius: 15px;
  background: #fff;
}

.service-route-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
}

.service-route-list strong,
.service-route-list small {
  display: block;
}

.service-route-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.service-route-list small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.service-tools-layout {
  grid-template-columns: .72fr 1.28fr;
  align-items: center;
}

.service-tools-copy .pinned-count-badge {
  margin-top: 18px;
}

.service-tools-panel {
  min-width: 0;
  box-shadow: none;
}

.service-final-cta {
  margin-top: clamp(44px, 7vw, 74px);
  margin-bottom: clamp(48px, 7vw, 76px);
  padding: clamp(28px, 5vw, 42px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .16), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(249, 115, 91, .38), transparent 34%),
    linear-gradient(135deg, var(--service-navy), #111827);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 58px rgba(15, 23, 42, .19);
}

.service-home .service-final-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.service-home .service-final-cta > * {
  position: relative;
  z-index: 1;
}

.service-final-cta h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

.service-home .service-final-cta h2 {
  color: #fff;
}

.service-final-cta p {
  max-width: 600px;
  margin: 11px auto 22px;
  color: rgba(255, 255, 255, .72);
  font-weight: 680;
}

.service-home .service-final-cta p {
  color: rgba(255, 255, 255, .74);
}

.service-final-cta > div {
  justify-content: center;
}

@media (max-width: 1120px) {
  .service-hero-layout,
  .service-why-layout,
  .service-workflow-feature,
  .service-tools-layout {
    grid-template-columns: 1fr;
  }

  .service-preview-panel {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  .service-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-stat-strip,
  .service-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-stat-strip > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(214, 225, 236, .76);
  }

  .service-stat-strip > div:nth-child(4) {
    border-top: 1px solid rgba(214, 225, 236, .76);
  }
}

@media (max-width: 720px) {
  .service-home .service-stat-strip {
    display: none;
  }

  .service-hero {
    padding-top: 34px;
  }

  .service-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .service-hero-description {
    font-size: 15px;
  }

  .service-home .service-preview-panel {
    display: grid;
    max-width: none;
    padding: 17px;
    border-radius: 24px;
  }

  .service-preview-panel .ondo-preview-scenes,
  .service-preview-panel .ondo-preview-scene {
    min-height: 0;
  }

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

  .service-workflow-feature,
  .service-tools-layout,
  .service-final-cta {
    padding: 20px;
    border-radius: 23px;
  }

  .service-tools-panel .my-tools-dock-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .service-home .container {
    width: min(100% - 24px, var(--container));
  }

  .service-hero-layout {
    gap: 24px;
  }

  .service-hero h1 {
    font-size: 42px;
  }

  .service-hero-note {
    min-height: 44px;
    padding-right: 132px;
  }

  .service-search-card {
    padding: 10px;
    border-radius: 20px;
  }

  .service-hero-actions .service-btn,
  .service-final-cta .service-btn {
    width: 100%;
  }

  .service-preview-panel .ondo-preview-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-preview-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .service-preview-row strong {
    text-align: left;
  }

  .service-stat-strip,
  .service-start-grid {
    grid-template-columns: 1fr;
  }

  .service-stat-strip > div + div,
  .service-stat-strip > div:nth-child(3),
  .service-stat-strip > div:nth-child(4) {
    border-top: 1px solid rgba(214, 225, 236, .76);
    border-left: 0;
  }

  .service-start-card {
    min-height: 0;
  }

  .service-start-card::after {
    right: -36px;
    bottom: -40px;
    width: 122px;
    height: 122px;
  }

  .service-start-card a {
    margin-top: 18px;
    padding-top: 0;
  }

  .service-route-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-tools-panel .my-tools-dock-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tools-panel,
  .service-search-card,
  .service-preview-panel {
    min-width: 0;
  }
}
