@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;600;700;800&display=swap');

:root {
  /* Primary — 테라코타 브라운 */
  --dp-primary: #7A4030;
  --dp-primary-2: #964E3C;
  --dp-primary-3: #B56048;
  --dp-primary-d: #5A2E22;

  /* Accent — 웜 피치 */
  --dp-accent: #E8956C;
  --dp-accent-soft: #F2B89A;

  /* Background */
  --dp-bg-soft: #FFF8F4;
  --dp-bg-warm: #F5EDE6;
  --dp-bg-dark: #2C1810;

  /* Border */
  --dp-border: #E8D5CC;
  --dp-border-soft: #F0E4DC;

  /* Text */
  --dp-text: #2C1810;
  --dp-text-sub: #6B4E42;
  --dp-text-muted: #9C7A70;

  --dp-shadow-rgb: 122, 64, 48;

  --dp-font-heading: 'Noto Sans KR', 'Pretendard Variable', 'Apple SD Gothic Neo', sans-serif;
  --dp-font-body: 'Pretendard Variable', 'Pretendard', 'Apple SD Gothic Neo', -apple-system, sans-serif;

  --dp-fs-h1: clamp(2.4rem, 5vw, 4.2rem);
  --dp-fs-h2: clamp(1.6rem, 3.2vw, 2.25rem);
  --dp-fs-h3: clamp(1.125rem, 2vw, 1.4rem);

  --dp-max-w: 1200px;
  --dp-gutter: clamp(16px, 4vw, 40px);
  --dp-sec-pad: 5rem;

  --dp-radius: 6px;
  --dp-radius-sm: 4px;
  --dp-shadow-sm: 0 2px 10px rgba(var(--dp-shadow-rgb), .08);
  --dp-shadow-md: 0 8px 24px rgba(var(--dp-shadow-rgb), .14);
  --dp-shadow-lg: 0 16px 40px rgba(var(--dp-shadow-rgb), .18);
  --dp-ease: cubic-bezier(.25,.46,.45,.94);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
body {
  margin: 0;
  font-family: var(--dp-font-body);
  font-size: 19px;
  line-height: 1.75;
  color: var(--dp-text);
  background: var(--dp-bg-soft-white, #fff);
  -webkit-font-smoothing: antialiased;
  padding-top: 68px;
}
h1, h2, h3 { font-family: var(--dp-font-heading); font-weight: 800; font-style: normal; color: var(--dp-text); line-height: 1.3; letter-spacing: -0.03em; }
h1 { font-size: var(--dp-fs-h1); line-height: 1.08; margin: 0 0 16px; }
h2 { font-size: var(--dp-fs-h2); margin: 0 0 8px; }
h3 { font-size: var(--dp-fs-h3); margin: 0 0 8px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container, main > section { max-width: var(--dp-max-w); margin: 0 auto; padding-left: var(--dp-gutter); padding-right: var(--dp-gutter); }

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--dp-gutter);
  height: 68px;
  border-top: 3px solid var(--dp-primary);
  border-bottom: 1px solid var(--dp-border);
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  background: rgba(255, 248, 244, .95);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  z-index: 50;
}
.hdr-logo { display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; }
.hdr-logo__icon { flex-shrink: 0; }
.hdr-logo__text { display: flex; flex-direction: column; min-width: 0; }
.hdr-logo__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--dp-font-heading); font-weight: 800; color: var(--dp-primary); }
.hdr-logo__tagline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dp-text-muted); font-size: .8rem; }
@media (max-width: 480px) { .hdr-logo__tagline { display: none; } }
.hdr-nav a { text-decoration: none; }

/* breadcrumb */
.dp-breadcrumb { max-width: var(--dp-max-w); margin: 12px auto 0; padding: 0 var(--dp-gutter); font-size: .85rem; color: var(--dp-text-muted); }
.dp-breadcrumb a { text-decoration: none; color: var(--dp-text-muted); }

/* CTA buttons */
.dp-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: var(--dp-radius-sm);
  font-weight: 700; text-decoration: none;
  transition: background var(--dp-ease) .18s, transform .18s ease, box-shadow .18s ease;
}
.dp-cta--gold { background: var(--dp-primary); color: #fff; box-shadow: 0 4px 16px rgba(var(--dp-shadow-rgb), .25); }
.dp-cta--outline { background: transparent; color: var(--dp-primary); border: 2px solid var(--dp-primary); }
@media (hover:hover) and (pointer:fine) {
  .dp-cta--gold:hover { background: var(--dp-primary-2); transform: translateY(-2px); }
  .dp-cta--outline:hover { background: var(--dp-bg-warm); transform: translateY(-2px); }
}

/* Hero */
.dp-hero { padding: var(--dp-sec-pad) var(--dp-gutter); background: var(--dp-bg-soft); min-height: clamp(420px, 70vh, 700px); display: flex; align-items: center; }
.dp-hero__grid { max-width: var(--dp-max-w); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; width: 100%; }
@media (max-width: 960px) { .dp-hero__grid { grid-template-columns: 1fr; } }
.dp-hero__copy { position: relative; padding-left: 20px; border-left: 3px solid var(--dp-primary); }
.dp-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--dp-accent); margin-bottom: 12px; position: relative; }
.dp-eyebrow--center { display: block; text-align: center; }
.dp-eyebrow::after {
  content: ''; display: block; height: 2px; width: 0; background: var(--dp-primary);
  transition: width 1.1s var(--dp-ease); margin-top: 4px;
}
.dp-eyebrow.is-visible::after { width: 40px; }
.dp-hero__sub { color: var(--dp-text-sub); max-width: 46ch; }
.dp-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.dp-hero__stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; padding: 0; }
.dp-hero__stats dt { font-weight: 700; color: var(--dp-primary); font-size: .95rem; }
.dp-hero__stats dd { margin: 0; color: var(--dp-text-muted); font-size: .85rem; }
.dp-hero__media img, .dp-hero__media .img-placeholder {
  border-radius: var(--dp-radius); overflow: hidden;
  animation: dp-hero-img-in 8s ease forwards;
}
@keyframes dp-hero-img-in { from { transform: scale(1.04); } to { transform: scale(1); } }
.dp-hero--contact, .dp-hero--sitemap { padding: var(--dp-sec-pad) var(--dp-gutter); background: var(--dp-bg-soft); text-align: left; min-height: auto; display: block; }

/* sections */
.dp-section { padding: var(--dp-sec-pad) 0; }
.dp-section--soft { background: var(--dp-bg-soft); }
.dp-section--warm { background: var(--dp-bg-warm); }
.dp-section--dark { background: var(--dp-bg-dark); color: #fff; }
.dp-section--dark h2, .dp-section--dark p { color: #fff; }
.dp-section-head { max-width: 700px; margin: 0 auto 40px; text-align: left; }
.dp-section-head p { color: var(--dp-text-sub); }

/* stat block / badge grid (pill badges) */
.stat-block, .badge-grid { display: flex; flex-wrap: wrap; gap: 20px; max-width: var(--dp-max-w); margin: 0 auto; padding: 0 var(--dp-gutter); }
.stat-block__item, .badge-grid__item {
  flex: 1 1 260px; padding: 24px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); background: #fff;
  transition: transform .3s var(--dp-ease), box-shadow .3s var(--dp-ease), border-color .3s var(--dp-ease);
}
@media (hover:hover) and (pointer:fine) {
  .stat-block__item:hover, .badge-grid__item:hover { transform: translateY(-4px); box-shadow: var(--dp-shadow-md); border-color: var(--dp-primary); }
}
.stat-block__item strong { display: block; font-family: var(--dp-font-heading); font-weight: 800; color: var(--dp-primary); margin-bottom: 6px; }

/* services grid */
.services-grid { list-style: none; margin: 0 auto; padding: 0 var(--dp-gutter); max-width: var(--dp-max-w); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1150px) and (min-width: 769px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .services-grid .grid-hide-mobile { display: none; } }
.service-card {
  display: block; text-decoration: none; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); overflow: hidden; position: relative;
  border-top: 3px solid transparent; background: #fff;
  transition: transform .3s var(--dp-ease), border-top-color .3s var(--dp-ease), box-shadow .3s var(--dp-ease);
}
@media (hover:hover) and (pointer:fine) {
  .service-card:hover { transform: translateY(-6px); border-top-color: var(--dp-primary); box-shadow: var(--dp-shadow-md); }
  .service-card:hover img { transform: scale(1.06); }
}
.service-card img { transition: transform .5s var(--dp-ease); }
.service-card__num {
  position: absolute; top: 10px; left: 10px; background: rgba(var(--dp-shadow-rgb), .85); color: #fff;
  font-family: var(--dp-font-heading); font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: var(--dp-radius-sm); z-index: 2;
}
.service-card h3, .service-card p, .service-card__more { padding: 0 16px; }
.service-card h3 { margin-top: 14px; font-size: 1.05rem; }
.service-card p { color: var(--dp-text-sub); font-size: .9rem; }
.service-card__more { display: block; padding-bottom: 16px; color: var(--dp-primary); font-weight: 700; font-size: .85rem; }
.service-card--cta { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--dp-bg-warm); border-style: dashed; }
.service-card--cta .service-card__num { position: static; background: transparent; color: var(--dp-accent); font-size: 2rem; margin-top: 20px; }

/* process list */
.proc-list { list-style: none; margin: 0 auto; padding: 0 var(--dp-gutter); max-width: var(--dp-max-w); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .proc-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .proc-list { grid-template-columns: 1fr; } }
.proc-list__num { display: block; font-family: var(--dp-font-heading); font-weight: 800; font-size: 1.6rem; color: var(--dp-accent); margin-bottom: 8px; }

/* marquee */
.jgo-marquee { overflow: hidden; margin: 20px 0; }
.jgo-marquee__track { display: flex; gap: 16px; width: max-content; animation: jgo-marquee-scroll 40s linear infinite; }
.jgo-marquee__item { flex: 0 0 260px; }
.jgo-marquee__item img { border-radius: var(--dp-radius); aspect-ratio: 4/3; object-fit: cover; }
@keyframes jgo-marquee-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.jgo-cases-explore { text-align: center; margin-top: clamp(60px, 10vw, 120px); padding-top: 40px; border-top: 1px solid var(--dp-border-soft); }

/* CTA banner */
.dp-cta-banner { max-width: var(--dp-max-w); margin: 0 auto; padding: 0 var(--dp-gutter); text-align: center; }
.dp-cta-banner--dual .dp-hero__actions { justify-content: center; }

/* FAQ */
.dp-faq { max-width: 780px; margin: 0 auto; padding: 0 var(--dp-gutter); }
.dp-faq__item { border-bottom: 1px solid var(--dp-border); padding: 16px 0; }
.dp-faq__item summary { cursor: pointer; font-weight: 700; list-style: none; }
.dp-faq__item summary::-webkit-details-marker { display: none; }
.dp-faq__item summary::after { content: '+'; float: right; color: var(--dp-primary); }
.dp-faq__item[open] summary::after { content: '−'; }
.dp-faq__item p { color: var(--dp-text-sub); margin-top: 10px; }

/* related links / sitemap list */
.related-links, .sitemap-list { list-style: none; margin: 0 auto; padding: 0 var(--dp-gutter); max-width: var(--dp-max-w); }
.related-links ol { padding-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related-links li a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--dp-border); border-radius: 999px;
  text-decoration: none; font-size: .9rem; background: var(--dp-bg-warm); color: var(--dp-text-sub);
  letter-spacing: .02em; transition: background .2s ease, color .2s ease;
}
@media (hover:hover) and (pointer:fine) { .related-links li a:hover { background: var(--dp-primary); color: #fff; } }
.sitemap-list { list-style: none; display: grid; gap: 12px; }
.sitemap-list__item a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); text-decoration: none; transition: transform .2s var(--dp-ease), border-color .2s ease; }
@media (hover:hover) and (pointer:fine) { .sitemap-list__item a:hover { transform: translateX(4px); border-color: var(--dp-primary); } }
.sitemap-list__title { font-weight: 700; }
.sitemap-list__desc { color: var(--dp-text-muted); font-size: .85rem; flex: 1; }

/* compare table / checklist / diagnostic / timeline / badge grid shared */
.compare-table { width: 100%; border-collapse: collapse; margin: 0 auto; max-width: var(--dp-max-w); }
.compare-table th, .compare-table td { border: 1px solid var(--dp-border); padding: 12px 16px; text-align: left; }
.compare-table th { background: var(--dp-bg-warm); font-family: var(--dp-font-heading); font-weight: 800; color: var(--dp-primary); }
.checklist { list-style: none; max-width: var(--dp-max-w); margin: 0 auto; padding: 0 var(--dp-gutter); display: flex; flex-wrap: wrap; gap: 12px; }
.checklist li { flex: 1 1 calc(50% - 12px); }
@media (max-width: 600px) { .checklist li { flex: 1 1 100%; } }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--dp-primary); font-weight: 700; }
.diagnostic-card, .timeline, .badge-grid { max-width: var(--dp-max-w); margin: 0 auto; padding: 0 var(--dp-gutter); }
.diagnostic-card { display: flex; flex-wrap: wrap; gap: 16px; }
.diagnostic-card > * { flex: 1 1 calc(33.33% - 16px); }
@media (max-width: 768px) { .diagnostic-card > * { flex: 1 1 100%; } }
.timeline { display: flex; flex-wrap: wrap; gap: 20px; }
.timeline > * { flex: 1 1 calc(25% - 20px); }
@media (max-width: 900px) { .timeline > * { flex: 1 1 calc(50% - 20px); } }
@media (max-width: 480px) { .timeline > * { flex: 1 1 100%; } }
.stat-block, .badge-grid, .diagnostic-card { display: flex; flex-wrap: wrap; }
.stat-block > *, .badge-grid > *, .diagnostic-card > * {
  flex: 1 1 260px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); padding: 20px;
  transition: transform .3s var(--dp-ease), box-shadow .3s var(--dp-ease);
}
@media (hover:hover) and (pointer:fine) {
  .diagnostic-card > *:hover { transform: translateY(-4px); box-shadow: var(--dp-shadow-md); }
}

/* contact page */
.jgo-contact-card {
  display: inline-block; width: calc(50% - 12px); vertical-align: top; min-height: 280px; padding: 44px;
  border: 1px solid var(--dp-border); border-radius: var(--dp-radius); margin-right: 20px;
  border-top: 3px solid transparent; transition: border-top-color .3s ease, box-shadow .3s ease;
}
.jgo-contact-card--tel { border-top-color: var(--dp-primary); }
.jgo-contact-card--sms { border-top-color: var(--dp-accent); }
.jgo-contact-card:last-child { margin-right: 0; }
@media (max-width: 768px) { .jgo-contact-card { width: 100%; margin-right: 0; margin-bottom: 20px; } }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: var(--dp-max-w); margin: 0 auto; padding: 0 var(--dp-gutter); }
@media (max-width: 768px) { .ops-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ops-grid { grid-template-columns: 1fr; } }
.ops-grid__item { padding: 16px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); background: var(--dp-bg-soft); }
.ops-grid__item h3 { font-size: .95rem; margin-bottom: 4px; color: var(--dp-primary); }
.ops-grid__item p { margin: 0; color: var(--dp-text-sub); font-size: .9rem; }

/* floating CTA (desktop only) + mobile sticky bar */
.dp-float-cta {
  position: fixed; right: 24px; bottom: 24px; width: 64px; height: 64px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--dp-primary); color: #fff; z-index: 60; text-decoration: none;
  box-shadow: 0 8px 24px rgba(var(--dp-shadow-rgb), .3);
  animation: dp-float-pulse 3s infinite;
}
@media (min-width: 769px) { .dp-float-cta { display: flex; } }
.dp-float-cta__icon { width: 26px; height: 26px; }
@keyframes dp-float-pulse {
  0%   { box-shadow: 0 8px 24px rgba(var(--dp-shadow-rgb), .3), 0 0 0 0 rgba(var(--dp-shadow-rgb), .4); }
  70%  { box-shadow: 0 8px 24px rgba(var(--dp-shadow-rgb), .3), 0 0 0 14px rgba(var(--dp-shadow-rgb), 0); }
  100% { box-shadow: 0 8px 24px rgba(var(--dp-shadow-rgb), .3), 0 0 0 0 rgba(var(--dp-shadow-rgb), 0); }
}
.dp-mob-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.dp-mob-bar__cta { display: block; text-align: center; padding: 16px; background: var(--dp-primary); color: #fff; text-decoration: none; font-weight: 700; }
@media (max-width: 768px) {
  .dp-mob-bar { display: block; }
  body { padding-bottom: 56px; padding-top: 60px; }
  .site-header { height: 60px; }
}

/* footer */
.site-footer { background: var(--dp-bg-dark); color: #fff; padding: 4rem var(--dp-gutter) 2rem; text-align: center; border-top: 2px solid var(--dp-primary); }
.ftr-biz { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: 16px; }
.ftr-biz a { color: var(--dp-accent-soft); }
.ft-quicklinks { display: flex; justify-content: center; gap: 20px; }
.ft-quicklinks a { text-decoration: none; font-size: .9rem; color: #fff; }
@media (hover:hover) and (pointer:fine) { .ft-quicklinks a:hover { color: var(--dp-accent-soft); } }

/* nav underline */
.hdr-nav a { position: relative; }
.hdr-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--dp-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--dp-ease);
}
@media (hover:hover) and (pointer:fine) { .hdr-nav a:hover::after { transform: scaleX(1); } }

/* scroll reveal (JS toggles .is-visible) */
.dp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--dp-ease), transform .6s var(--dp-ease); }
.dp-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .dp-reveal, .dp-hero__media img, .dp-float-cta, .jgo-marquee__track { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* image placeholder */
.img-placeholder { display: block; }
