/* Only the root service entrance. Existing service and checkout styles stay intact. */
.home-services-page .header-inner { max-width: 1320px; gap: 16px; }
.home-services-page .brand { min-width: 150px; }
.home-services-page .nav { gap: 2px; font-size: 14px; }
.home-services-page .nav a { padding-inline: 7px; border-radius: 8px; }
@media (min-width: 1201px) {
  .home-services-page .header-inner > .nav {
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .home-services-page .header-inner > .nav > a {
    position: relative;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 8px;
    color: #34434e;
    line-height: 1;
    background: transparent;
    transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
  }
  .home-services-page .header-inner > .nav > a:hover,
  .home-services-page .header-inner > .nav > a[aria-current="page"] {
    color: #244e75;
    background: rgba(51, 96, 148, 0.08);
  }
  .home-services-page .header-inner > .nav > a:focus-visible {
    color: #244e75;
    background: rgba(51, 96, 148, 0.08);
    outline: 2px solid #47749c;
    outline-offset: 3px;
  }
  .home-services-page .header-inner > .nav > a:active {
    background: rgba(51, 96, 148, 0.14);
  }
  .home-services-page .header-inner > .nav > a[href="/client/"] {
    margin-left: 14px;
    padding-inline: 16px;
    color: #263c4c;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: inset 0 0 0 1px rgba(52, 67, 78, 0.12);
  }
  .home-services-page .header-inner > .nav > a[href="/client/"]::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(52, 67, 78, 0.16);
  }
  .home-services-page .header-inner > .nav > a[href="/client/"]:hover {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(52, 67, 78, 0.22);
  }
}
.home-services {
  padding: 120px 0 32px;
  background-color: #f3f2ff;
  background-image: linear-gradient(135deg, #e8e4ff 0%, #f3f2ff 38%, #eef7ff 72%, #e1edff 100%);
  color: #192327;
  letter-spacing: 0;
}
.home-services-heading { margin-bottom: 28px; }
.home-services-heading .home-services-brand { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #505779; }
.home-services-heading h1 { margin: 0; font-size: 36px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
.home-services-heading > p:last-child { margin: 16px 0 0; color: #5c666c; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-service {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 28px rgba(61, 68, 117, 0.04);
}
.home-service-copy { padding: 24px 32px 20px; }
.home-service-kicker { margin: 0 0 8px; color: #58676c; font-size: 13px; font-weight: 500; }
.home-service h2 { margin: 0; font-size: 25px; line-height: 1.4; font-weight: 700; color: #18272c; letter-spacing: 0; }
.home-service-description { margin: 12px 0 22px; font-size: 15px; line-height: 1.75; color: #4c5b61; word-break: keep-all; overflow-wrap: anywhere; }
.home-service-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 16px; border-radius: 6px; background: #264e65; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background-color 160ms ease; }
.home-service-link:hover { background: #193b50; }
.home-service-link:focus-visible, .home-service-extra a:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.home-service-link span { flex-shrink: 0; font-size: 18px; font-weight: 400; }
.home-service-visual { position: relative; margin: 0 24px 24px; aspect-ratio: 3; overflow: hidden; border-radius: 4px; background: #fff; }
.home-service-visual img { width: 100%; height: 100%; object-fit: contain; }
.home-service-visual-training img { object-fit: contain; }
.home-service-visual figcaption { position: absolute; bottom: 8px; right: 8px; margin: 0; padding: 3px 8px; background: #fff; border-radius: 3px; color: #526066; font-size: 11px; line-height: 1.5; }
.home-service-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 20px; color: #657078; font-size: 13px; }
.home-service-extra a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #264e65; font-weight: 600; text-underline-offset: 4px; }
.home-service-extra a:hover { text-decoration: underline; }
.home-services-page #homepage-production { scroll-margin-top: 76px; min-height: auto; padding: 52px 0; }
.home-services-page #homepage-production .hero-content { padding-top: 0; }
.home-services-page #homepage-production .hero-panel { min-height: 0; padding: 24px 0; }
.home-services-page #hero-title { margin: 0 auto; font-size: 32px; line-height: 1.45; font-weight: 700; color: #172332; letter-spacing: 0; word-break: keep-all; }
.home-services-page #homepage-production .hero-lead { font-size: 16px; }

@media (max-width: 1200px) {
  .home-services-page .nav { display: none; }
  .home-services-page .mobile-menu-toggle { display: inline-flex; }
  .home-services-page .header-actions { margin-left: auto; }
  .home-services-page .mobile-menu-panel { max-height: calc(100dvh - 110px); overflow-y: auto; background: #fff; }
}
@media (max-width: 700px) {
  .home-services { padding: 112px 0 32px; }
  .home-services-heading { margin-bottom: 26px; }
  .home-services-heading h1 { font-size: 28px; line-height: 1.4; }
  .home-services-heading .home-services-brand { font-size: 13px; }
  .home-services-heading > p:last-child { font-size: 14px; }
  .home-service-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-service-copy { padding: 24px 24px 20px; }
  .home-service h2 { font-size: 23px; }
  .home-service-description { margin: 10px 0 18px; font-size: 14px; }
  .home-service-link { width: 100%; min-height: 46px; }
  .home-service-visual { margin: 0 24px 24px; aspect-ratio: 2.65; }
  .home-service-visual figcaption { font-size: 10px; right: 4px; bottom: 4px; }
  .home-service-extra { display: block; margin-top: 18px; }
  .home-service-extra a { display: flex; width: fit-content; }
  .home-services-page #hero-title { font-size: 26px; }
  .home-services-page #homepage-production { padding-block: 32px; }
}
@media (max-width: 380px) {
  .home-services-page .header-inner { gap: 8px; }
  .home-services-page .brand { min-width: 0; gap: 8px; }
  .home-services-page .header-kakao { padding-inline: 10px; font-size: 13px; }
  .home-service-copy { padding-inline: 20px; }
  .home-service-visual { margin-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-service-link { transition: none; }
  .home-services-page .header-inner > .nav > a { transition: none; }
}
