﻿/* DWO2 — 메인(프론트) 페이지 전용 */
/* =========================================================
   Hero
   ========================================================= */
.dw-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(120deg, color-mix(in srgb,var(--dw-navy) 70%,#000) 0%, var(--dw-navy) 55%, var(--dw-primary) 100%);
}

/* Slider */
.dw-hero-slider { position: relative; }
.dw-hero-track { position: relative; }
.dw-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease;
    background: linear-gradient(120deg, color-mix(in srgb,var(--dw-navy) 70%,#000) 0%, var(--dw-navy) 55%, var(--dw-primary) 100%);
}
.dw-hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
    display: flex;
    align-items: stretch;
    /* PC: 커스터마이저 값(--dw-hero-height-pc) 우선, 없으면 헤더 제외 전체 화면 */
    min-height: var(--dw-hero-height-pc, calc(100vh - var(--dw-header-h,74px)));
}
/*
 * 메인은 헤더가 투명 오버레이라 히어로가 화면 전체를 차지한다.
 * 단 커스터마이저에서 'PC 히어로 높이'를 지정하면 그 값이 우선한다.
 * (이 규칙이 변수를 무시하면 높이 설정이 아예 먹지 않으므로 반드시 var() 유지)
 */
body.dw-front .dw-hero-slide.is-active {
    min-height: var(--dw-hero-height-pc, 100vh);
    min-height: var(--dw-hero-height-pc, 100dvh);
}

.dw-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .4;
}
picture.dw-hero-bg {
    display: block;
    opacity: 1;
}
img.dw-hero-bg,
picture.dw-hero-bg .dw-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dw-hero-bg.is-cover { opacity: 1; }
.dw-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    /* PC 히어로 높이를 낮게 잡으면(760px 미만) 투명 헤더 밑으로 글자가 숨지 않게 --dw-hero-pad-top 이 들어온다(customizer.php) */
    padding: var(--dw-hero-pad-top, 0px) 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    box-sizing: border-box;
}
/* 861~1440px: 콘텐츠 폭(1260)보다 화면이 좁으면 글자가 화면 끝 · 좌우 화살표에 붙는다 — 화살표 자리만큼 띄운다 */
@media (min-width: 861px) and (max-width: 1440px) {
    .dw-front .dw-hero-inner { padding-left: 84px; padding-right: 84px; }
}
.dw-hero-content { max-width: none; width: 100%; }
.dw-hero-content > h1,
.dw-hero-content > h2.dw-hero-title,
.dw-hero-content > .dw-hero-sub,
.dw-hero-content > .dw-hero-actions {
    max-width: 560px;
}

/* 화면 전환 시 위에서부터 순차 노출 */
.dw-hero-slide:not(.is-active) .dw-hero-content > h1,
.dw-hero-slide:not(.is-active) .dw-hero-content > h2.dw-hero-title,
.dw-hero-slide:not(.is-active) .dw-hero-sub,
.dw-hero-slide:not(.is-active) .dw-hero-actions .dw-btn,
.dw-hero-slide:not(.is-active) .dw-quicklink {
    opacity: 0;
    transform: translateY(22px);
    animation: none;
}
.dw-hero-slide.is-active .dw-hero-content > h1,
.dw-hero-slide.is-active .dw-hero-content > h2.dw-hero-title,
.dw-hero-slide.is-active .dw-hero-sub,
.dw-hero-slide.is-active .dw-hero-actions .dw-btn,
.dw-hero-slide.is-active .dw-quicklink {
    animation: dw-hero-in .55s ease both;
}
.dw-hero-slide.is-active .dw-hero-content > h1,
.dw-hero-slide.is-active .dw-hero-content > h2.dw-hero-title { animation-delay: 0s; }
.dw-hero-slide.is-active .dw-hero-sub { animation-delay: .12s; }
.dw-hero-slide.is-active .dw-hero-actions .dw-btn:nth-child(1) { animation-delay: .24s; }
.dw-hero-slide.is-active .dw-hero-actions .dw-btn:nth-child(2) { animation-delay: .34s; }
.dw-hero-slide.is-active .dw-quicklink:nth-child(1) { animation-delay: .46s; }
.dw-hero-slide.is-active .dw-quicklink:nth-child(2) { animation-delay: .56s; }
.dw-hero-slide.is-active .dw-quicklink:nth-child(3) { animation-delay: .66s; }
.dw-hero-slide.is-active .dw-quicklink:nth-child(4) { animation-delay: .76s; }
.dw-hero-slide.is-active .dw-quicklink:nth-child(5) { animation-delay: .86s; }
.dw-hero-slide.is-active .dw-quicklink:nth-child(6) { animation-delay: .96s; }

@keyframes dw-hero-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .dw-hero-slide:not(.is-active) .dw-hero-content > h1,
    .dw-hero-slide:not(.is-active) .dw-hero-content > h2.dw-hero-title,
    .dw-hero-slide:not(.is-active) .dw-hero-sub,
    .dw-hero-slide:not(.is-active) .dw-hero-actions .dw-btn,
    .dw-hero-slide:not(.is-active) .dw-quicklink,
    .dw-hero-slide.is-active .dw-hero-content > h1,
    .dw-hero-slide.is-active .dw-hero-content > h2.dw-hero-title,
    .dw-hero-slide.is-active .dw-hero-sub,
    .dw-hero-slide.is-active .dw-hero-actions .dw-btn,
    .dw-hero-slide.is-active .dw-quicklink {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Arrows */
.dw-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 52px; height: 52px;
    border-radius: 50%;
    /* 밝은 사진 위에서도 보이도록 어두운 반투명 + 흰 테두리 */
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(10,18,35,.38);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    color: #fff;
    cursor: pointer;
    display: grid; place-items: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.dw-hero-nav:hover {
    background: rgba(10,18,35,.62);
    border-color: #fff;
}
.dw-hero-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.dw-hero-prev { left: 26px; }
.dw-hero-next { right: 26px; }

/* Dots — 48×48px 터치 영역 (시각 dot는 ::before) */
.dw-hero-dots {
    position: absolute;
    left: 0; right: 0; bottom: 28px;
    z-index: 6;
    display: flex; justify-content: center; align-items: center; gap: 4px;
}
.dw-hero-dot {
    height: 48px;
    width: 24px;
    margin: 0;
    border: none; padding: 0;
    background: transparent;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
/* 실제로 보이는 점 — 버튼은 터치 영역(48px)만 담당 */
.dw-hero-dot::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    box-shadow: 0 1px 4px rgba(0,0,0,.35);
    transition: width .25s ease, background .25s ease;
}
.dw-hero-dot:hover::before { background: rgba(255,255,255,.8); }
.dw-hero-dot.is-active::before {
    width: 26px;
    background: #fff;
}
.dw-hero-dot.is-active { width: 44px; }
/* 일시정지 · 재생 (main.js 가 점 줄 끝에 넣는다) */
.dw-hero-pause {
    width: 36px; height: 36px; margin-left: 8px; padding: 0;
    border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
    background: rgba(10,18,35,.38); color: #fff;
    display: inline-grid; place-items: center; cursor: pointer; flex-shrink: 0;
    position: relative;
}
.dw-hero-pause::after { content: ""; position: absolute; inset: -6px; }
.dw-hero-pause:hover { background: rgba(10,18,35,.62); border-color: #fff; }
.dw-hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dw-hero-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 24px;
}
@media (prefers-reduced-motion: reduce) {
    .dw-hero-dot::before { transition: none; }
}
.dw-hero h1,
.dw-hero h2.dw-hero-title {
    color: #fff;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.22;
    letter-spacing: -1px;
    margin-bottom: 22px;
}
.dw-hero h1 .dw-accent,
.dw-hero h2.dw-hero-title .dw-accent { color: var(--dw-accent-on-dark); }
.dw-hero-sub { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 34px; line-height: 1.7; }
.dw-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

/* Quick links — 버튼 바로 아래, 왼쪽 순차 배열, 흰색 가독성 */
.dw-hero .dw-quicklinks {
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: 36px;
    margin-bottom: 0;
}
.dw-quicklinks-grid {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px 0;
    padding: 0;
}
@media (min-width: 1025px) {
    .dw-quicklinks-grid.dw-cols-1,
    .dw-quicklinks-grid.dw-cols-2,
    .dw-quicklinks-grid.dw-cols-3,
    .dw-quicklinks-grid.dw-cols-4 { display: flex; }
}
.dw-quicklink {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
    padding: 12px 28px 12px 0;
    margin-right: 28px;
    border-radius: 0;
    transition: opacity .2s ease;
    position: relative;
    min-height: 48px;
    min-width: 0;
    flex: 0 0 auto;
}
.dw-quicklink:last-child {
    margin-right: 0;
    padding-right: 0;
}
.dw-quicklink:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(255,255,255,.15);
}
.dw-quicklink:hover { background: transparent; opacity: .85; }
.dw-quicklink-ico {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
}
.dw-quicklink-ico svg { width: 26px; height: 26px; stroke: currentColor; }
.dw-quicklink-title {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.dw-quicklink-sub {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.78);
    line-height: 1.45;
}

/* =========================================================
   Sections
   ========================================================= */
.dw-section { padding: 20px 0; }
.dw-section-head { text-align: center; margin-bottom: 40px; }
.dw-process-copy h2,
.dw-stories h2,
.dw-section-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.dw-section-head p { color: var(--dw-muted); font-size: 16px; }

/* Partners banner */
.dw-partners {
    padding: 80px 0;
    background: #fff;
    /* WP core: html :where([style*="border-width|border-color"]) { border-style:solid }
       Customizer preview sets CSS vars on this node — keep section border off. */
    border: 0;
}
.dw-partners-head {
    text-align: center;
    margin: 0 0 40px;
}
.dw-partners-title {
    text-align: center;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: var(--dw-ink);
    margin: 0 0 10px;
    letter-spacing: -.02em;
    line-height: 1.3;
}
.dw-partners-sub {
    margin: 0;
    color: var(--dw-muted);
    font-size: 16px;
    line-height: 1.6;
}
.dw-partners-viewport {
    overflow: hidden;
    width: 100%;
}
.dw-partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--dw-partners-gap, 48px);
}
.dw-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4b5563;
    text-decoration: none;
    white-space: nowrap;
    flex: 0 0 auto;
    min-height: 48px;
    box-sizing: border-box;
    border: var(--dw-partners-frame-w, 0) solid var(--dw-partners-frame-c, transparent);
    border-radius: var(--dw-partners-radius, 0);
    padding: var(--dw-partners-pad, 0);
    transition: opacity .2s ease;
}
.dw-partner:hover { opacity: .82; }
.dw-partner-logo {
    width: auto;
    max-width: 180px;
    height: 100px;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}
.dw-partner-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Slider mode — infinite marquee */
.dw-partners--slider .dw-partners-viewport {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.dw-partners--slider .dw-partners-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: var(--dw-partners-gap, 48px);
    animation: dw-partners-marquee 36s linear infinite;
}
.dw-partners--slider .dw-partner { margin-right: 0; padding-right: 0; }
.dw-partners--slider:hover .dw-partners-track { animation-play-state: paused; }
@keyframes dw-partners-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .dw-partners--slider .dw-partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .dw-partners--slider .dw-partners-viewport { mask-image: none; -webkit-mask-image: none; }
}

/* Solutions grid */
.dw-solutions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (min-width: 1025px) {
    .dw-solutions.dw-cols-1 { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .dw-solutions.dw-cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
    .dw-solutions.dw-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .dw-solutions.dw-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .dw-solutions.dw-cols-5 { grid-template-columns: repeat(5, 1fr); }
}
.dw-solution {
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: var(--dw-radius);
    padding: 30px 24px;
    text-align: center;
    color: inherit;
    text-decoration: none;
    display: block;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dw-solution:hover { transform: translateY(-6px); box-shadow: var(--dw-shadow); border-color: transparent; color: inherit; }
.dw-solution-ico {
    width: auto;
    height: auto;
    margin: 0 auto 16px;
    color: var(--dw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.dw-solution-ico svg {
    width: 56px;
    height: 56px;
    display: block;
    stroke-width: 1.2;
}
.dw-solution .dw-solution-title { font-size: 18px; margin-bottom: 10px; }
.dw-solution p { font-size: 14px; color: var(--dw-muted); margin-bottom: 0; min-height: 60px; }

/* Success stories */
.dw-stories {
    --dw-stories-surface: var(--dw-primary);
    background: var(--dw-stories-surface);
    color: #fff;
    padding: 80px 0 60px;
    overflow: hidden;
}
.dw-stories-inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
    gap: 40px 48px;
    align-items: center;
}
.dw-stories-eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
}
.dw-stories-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.dw-stories-desc {
    margin: 0 0 28px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    max-width: 34em;
}
.dw-stories-btn {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .85);
}
.dw-stories-btn:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-color: #fff;
}
.dw-stories-slider { min-width: 0; position: relative; }
.dw-stories-viewport {
    overflow: hidden;
    margin: 0 -4px;
    padding: 4px;
}
.dw-stories-track {
    display: flex;
    gap: 18px;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}
.dw-stories-slider:not(.is-slider) .dw-stories-track {
    flex-wrap: wrap;
    transform: none !important;
}
.dw-stories-slider:not(.is-slider) .dw-story-card {
    flex: 1 1 calc((100% - 36px) / 3);
    max-width: calc((100% - 36px) / 3);
}
.dw-story-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    background: #fff;
    border-radius: var(--dw-radius);
    overflow: hidden;
    box-shadow: none;
    color: var(--dw-ink);
}
.dw-story-media {
    aspect-ratio: 16 / 12;
    background:
        linear-gradient(135deg, rgba(26, 79, 214, .12), rgba(12, 27, 58, .2)),
        linear-gradient(160deg, #E8F1FC 0%, color-mix(in srgb,var(--dw-primary) 25%,#fff) 100%);
    overflow: hidden;
}
.dw-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dw-story-body { padding: 18px 18px 20px; }
.dw-story-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--dw-ink);
}
.dw-story-meta {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--dw-muted);
}
.dw-story-sep { margin: 0 4px; opacity: .7; }
.dw-story-hl {
    color: var(--dw-primary);
    font-weight: 800;
}
.dw-stories-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}
.dw-stories-prev,
.dw-stories-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--dw-line);
    background: #fff;
    color: var(--dw-ink);
    display: grid;
    place-items: center;
    box-shadow: var(--dw-shadow-sm);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.dw-stories-prev:hover,
.dw-stories-next:hover {
    transform: translateY(-1px);
    background: var(--dw-primary-light);
    border-color: color-mix(in srgb,var(--dw-primary) 28%,#fff);
}
.dw-stories-prev svg,
.dw-stories-next svg { width: 20px; height: 20px; }
.dw-stories-prev:disabled,
.dw-stories-next:disabled { opacity: .45; cursor: default; transform: none; }

@media (max-width: 1024px) {
    .dw-story-card { flex-basis: calc((100% - 18px) / 2); }
    .dw-stories-slider:not(.is-slider) .dw-story-card {
        flex: 1 1 calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }
}
@media (max-width: 860px) {
    .dw-stories { padding: 48px 0; }
    .dw-stories-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dw-stories-desc { margin-bottom: 22px; }
    .dw-story-card { flex-basis: 84%; }
    .dw-stories-slider:not(.is-slider) .dw-story-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Why choose us */
.dw-process {
    padding: 80px 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(23, 100, 201, .08), transparent 28%),
        radial-gradient(circle at 100% 0, rgba(31, 78, 121, .10), transparent 34%),
        #fff;
}
.dw-process-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 34px 56px;
    align-items: center;
}
.dw-process-photo {
    position: relative;
    min-height: 420px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
        linear-gradient(145deg, var(--dw-primary-light) 0%, var(--dw-bg) 42%, color-mix(in srgb,var(--dw-primary) 15%,#fff) 100%);
    box-shadow: var(--dw-shadow);
}
.dw-process-photo.has-image {
    background-image: var(--dw-process-photo-bg);
    background-size: cover;
    background-position: center;
}
.dw-process-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.72), transparent 20%),
        linear-gradient(115deg, rgba(31, 78, 121, .08), rgba(23, 100, 201, .18));
}
.dw-process-photo-main {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: var(--dw-header-h, 74px);
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    color: var(--dw-primary);
    display: grid;
    place-items: center;
    box-shadow: 0 20px 55px rgba(31, 78, 121, .18);
    z-index: 2;
}
.dw-process-photo-main svg { width: 32px; height: 32px; }
.dw-process-chip {
    position: absolute;
    z-index: 2;
    min-width: 190px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(23, 100, 201, .12);
    box-shadow: 0 16px 36px rgba(18, 36, 63, .10);
}
.dw-process-chip strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dw-ink);
    font-size: 17px;
}
.dw-process-chip span {
    display: block;
    color: var(--dw-muted);
    font-size: 13px;
    line-height: 1.45;
}
.dw-process-chip--top { top: 34px; right: 30px; }
.dw-process-chip--bottom { left: 28px; bottom: 28px; }
.dw-process-eyebrow {
    margin: 0 0 14px;
    color: var(--dw-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.dw-process-title {
    margin: 0 0 28px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.3;
    letter-spacing: -.02em;
}
.dw-process-list {
    display: grid;
    gap: 20px;
    margin-top:20px;
}
.dw-process-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.dw-process-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dw-primary) 0%, color-mix(in srgb, var(--dw-primary) 62%, #fff) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--dw-primary) 22%, transparent);
}
.dw-process-icon svg { width: 26px; height: 26px; }
.dw-process-text h3 {
    margin: 0 0 6px;
    color: var(--dw-primary);
    font-size: 20px;
    font-weight: 600;
}
.dw-process-text p {
    margin: 0;
    color: var(--dw-text);
    font-size: 15px;
    line-height: 1.7;
}

/* Info duo: notice + inquiry */
.dw-info {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    min-width: 0;
}
.dw-panel {
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: var(--dw-radius);
    padding: 30px;
    min-width: 0;
}
.dw-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.dw-panel-head h3 { font-size: 20px; margin: 0; }
.dw-panel-head .dw-plus { color: var(--dw-muted); font-size: 22px; line-height: 1; text-decoration: none; }
.dw-panel-head a.dw-plus:hover { color: var(--dw-primary); }

.dw-notice-list li a {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid var(--dw-line);
    color: var(--dw-text); font-size: 15px;
    min-width: 0;
    max-width: 100%;
}
.dw-notice-list li:last-child a { border-bottom: none; }
.dw-notice-list li a:hover { color: var(--dw-primary); }
.dw-notice-list li a > span:first-child {
    flex: 1 1 0%;
    min-width: 0;
}
.dw-notice-list .dw-date {
    flex: 0 0 auto;
    color: var(--dw-muted);
    font-size: 14px;
    white-space: nowrap;
}

.dw-inquiry {
    position: relative;
    overflow: hidden;
    border-radius: var(--dw-radius-lg);
    --dw-inquiry-fill: linear-gradient(135deg, var(--dw-navy) 0%, var(--dw-primary) 58%, color-mix(in srgb, var(--dw-primary) 72%, #fff) 100%);
    background:
        radial-gradient(circle at 82% 78%, color-mix(in srgb, var(--dw-primary) 22%, transparent), transparent 34%),
        var(--dw-inquiry-visual-bg, var(--dw-inquiry-fill));
    box-shadow: 0 20px 50px color-mix(in srgb, var(--dw-primary) 28%, transparent);
    color: #fff;
}
.dw-inquiry::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .06) 42%, transparent 72%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 56px);
    pointer-events: none;
}
.dw-inquiry-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 40%);
    gap: 0;
    align-items: stretch;
    min-height: 280px;
}
.dw-inquiry-copy {
    padding: 34px 24px 28px 30px;
}
.dw-inquiry-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}
.dw-inquiry-desc {
    margin: 0 0 18px;
    max-width: 24em;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 1.7;
}
.dw-inquiry-contacts {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}
.dw-inquiry-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.dw-inquiry-contacts li:last-child { margin-bottom: 0; }
.dw-inquiry-ico {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, .92);
}
.dw-inquiry-ico svg { width: 18px; height: 18px; }
.dw-inquiry-contacts a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.dw-inquiry-contacts a:hover { color: var(--dw-accent-on-dark); }
.dw-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--dw-primary);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(18, 36, 63, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}
.dw-inquiry-btn:hover {
    color: var(--dw-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(18, 36, 63, .2);
}
.dw-inquiry-btn .dw-arrow svg { width: 18px; height: 18px; }
.dw-inquiry-visual {
    position: relative;
    min-height: 100%;
    background:
        var(--dw-inquiry-visual-image, none) right bottom / contain no-repeat;
    border-radius: 0 var(--dw-radius-lg) var(--dw-radius-lg) 0;
    overflow: hidden;
}

/* =========================================================
   Responsive — Main
   ========================================================= */
@media (max-width: 1024px) {
    .dw-quicklinks-grid { display: flex; }
    .dw-quicklink:nth-child(2)::after { display: block; }
    .dw-solutions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .dw-process {
        padding: 52px 0 16px;
    }
    .dw-process-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .dw-process-photo {
        min-height: 320px;
    }
    .dw-process-title {
        margin-bottom: 22px;
    }
    .dw-info { grid-template-columns: 1fr; }
    .dw-notice-list li a {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }
    .dw-notice-list li a > span:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .dw-notice-list .dw-date {
        font-size: 13px;
    }
    .dw-inquiry-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        position: relative;
        padding-bottom: 20vw;
    }
    .dw-inquiry-copy {
        padding: 28px 24px 22px;
    }
    .dw-inquiry-visual {
        min-height: 200px;
        border-radius: 0 0 var(--dw-radius-lg) var(--dw-radius-lg);
        background:
            var(--dw-inquiry-visual-image, none) center bottom / auto min(240px, 72%) no-repeat;
    }
    .dw-inquiry-visual.has-image {
        background: var(--dw-inquiry-visual-image, none) center bottom / auto min(240px, 72%) no-repeat;
        position: absolute;
        right: 0;
        bottom: 0;
        height: 50vw;
        width: 50vw;
        min-height: 0;
    }
    .dw-partners { padding: 28px 0 32px; }
    .dw-partners--slider .dw-partners-track { animation-duration: 28s; gap: 0 12px;}
    /* 고정형: 휴대폰에서 두 칸씩(한 줄에 하나씩 길게 쌓이지 않게), 간격은 최대 16px */
    .dw-partners--fixed .dw-partners-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: min(var(--dw-partners-gap, 48px), 16px); }
    .dw-partners--fixed .dw-partner { min-width: 0; }
    .dw-partners--fixed .dw-partner-logo { max-width: 100%; height: auto; }
}

@media (max-width: 620px) {
    .dw-quicklinks-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 0;
        position: relative;
        border-radius: 0;
        padding: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }
    .dw-quicklink {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        gap: 6px;
        padding: 12px 20px 12px 0;
        margin-right: 20px;
        border-radius: 0;
        width: auto;
        min-width: 0;
        min-height: 48px;
        flex: 0 0 auto;
    }
    .dw-quicklink::after { display: block !important; }
    .dw-quicklink:not(:last-child) { border-bottom: none; }

    /* 모바일에서도 왼쪽 순차 — 십자 구분선 비활성 */
    .dw-quicklinks-grid.dw-cols-4::before,
    .dw-quicklinks-grid.dw-cols-3::before,
    .dw-quicklinks-grid.dw-cols-4::after,
    .dw-quicklinks-grid.dw-cols-3::after,
    .dw-quicklinks-grid.dw-cols-2::after {
        display: none;
    }
    .dw-solutions { gap:10px; }
    .dw-solution{
        padding: 25px 14px;
    }
    .dw-process-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }
    .dw-process-icon {
        width: 48px;
        height: 48px;
    }
    .dw-process-text h3 {
        font-size: 18px;
    }
    /* 모바일: 헤더(74px) + 슬라이더 = 100vh(주소창 대응 dvh) */
    .dw-hero-slide.is-active { min-height: calc(100dvh - var(--dw-header-h,74px)); }
    .dw-hero-inner { padding: 40px 65px 24px !important; gap: 28px; }
    .dw-hero-nav { width: 48px; height: 48px; }
    .dw-hero-prev { left: 10px; }
    .dw-hero-next { right: 10px; }
    .dw-hero-dots { bottom: 28px; }
    .dw-hero .dw-quicklinks {
        margin-top: 28px;
        margin-bottom: 0;
    }
    .dw-partner-logo { height: 80px; max-width: 140px; }
}
@media (max-width: 480px) {
    .dw-process-photo {
        min-height: 260px;
    }
    .dw-process-photo-main {
        width: 108px;
        height: 108px;
    }
    .dw-process-photo-main svg {
        width: 52px;
        height: 52px;
    }
    .dw-process-chip {
        min-width: 150px;
        padding: 12px 14px;
    }
    .dw-process-chip strong {
        font-size: 15px;
    }
    .dw-process-chip span {
        font-size: 12px;
    }
    .dw-hero-nav {
        display:none;
    }
    .dw-hero-inner { padding: 10px 15px 64px !important; gap: 28px; }
    .dw-front .dw-hero-dots{
        bottom:0;
    }
}

/* =========================================================
   히어로 슬라이더 전환효과 (커스터마이저: 슬라이드 전환효과)
   .dw-hero-fx-* 는 슬라이더 래퍼에 붙는다.
   'slide' 는 main.js 가 transform 으로 처리하므로 CSS 규칙 없음.
   ========================================================= */

/* 줌 인 — 들어오는 슬라이드가 살짝 커졌다 제자리로 */
.dw-hero-fx-zoom .dw-hero-slide .dw-hero-bg {
    transform: scale(1.12);
    transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
.dw-hero-fx-zoom .dw-hero-slide.is-active .dw-hero-bg {
    transform: scale(1);
}

/* 켄번스 — 활성 슬라이드 배경이 천천히 확대·이동 */
@keyframes dw-kenburns {
    0%   { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.dw-hero-fx-kenburns .dw-hero-slide.is-active .dw-hero-bg {
    animation: dw-kenburns 12s ease-out forwards;
}

/* 아래에서 위로 — 들어오는 슬라이드가 떠오르며 나타남 */
.dw-hero-fx-up .dw-hero-slide {
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}
.dw-hero-fx-up .dw-hero-slide.is-active {
    transform: translateY(0);
}

/* 블러 페이드 */
.dw-hero-fx-blur .dw-hero-slide .dw-hero-bg {
    filter: blur(14px);
    transition: filter .9s ease;
}
.dw-hero-fx-blur .dw-hero-slide.is-active .dw-hero-bg {
    filter: blur(0);
}

/* 모션 최소화 설정을 켠 사용자에게는 전환효과를 끈다 */
@media (prefers-reduced-motion: reduce) {
    .dw-hero-fx-zoom .dw-hero-slide .dw-hero-bg,
    .dw-hero-fx-blur .dw-hero-slide .dw-hero-bg,
    .dw-hero-fx-up .dw-hero-slide {
        transition: none;
        transform: none;
        filter: none;
    }
    .dw-hero-fx-kenburns .dw-hero-slide.is-active .dw-hero-bg {
        animation: none;
    }
}
