/*
Theme Name: DoorWeb One Page 1
Theme URI: https://doorweb.co.kr
Author: DOORWEB
Author URI: https://doorweb.co.kr
Description: 산업기계 · 제조 기업형 원페이지 테마. 메인 슬라이드(페이지에서 편집), 히어로, 통계, 제품, 솔루션, 경쟁력, 연혁, 프로젝트, 인증, 뉴스, FAQ, 문의 폼을 한 페이지에 담은 단일 랜딩 테마입니다.
Version: 1.2.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doorwebonepage1
*/

/* ===== DOORWEB one-page theme ===== */
:root{
  --navy:#12325f;
  --navy-2:#0e2748;
  --navy-3:#0a1d38;
  --blue:#2456a6;
  --blue-light:#3b6fd4;
  --accent:#2f6ae0;
  --primary-dark:#1b4487;
  --primary-dark-rgb:27,68,135;
  --accent-soft:#eef3fb;
  --point-rgb:47,106,224;
  --ink:#1a1a1a;
  --text:#3a4a63;
  --muted:#5a6579;
  --line:#e3e7ee;
  --bg:#ffffff;
  --bg-tint:#f4f6fa;
  --radius:10px;
  --shadow:0 8px 30px rgba(18,50,95,.08);
  --shadow-lg:0 2px 5px rgba(18,50,95,.16);
  --maxw:1180px;
  --dw-topbar-h:40px;
  --dw-header-h:73px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{
  font-family:'Noto Sans KR',system-ui,sans-serif;
  color:var(--text);background:var(--bg);line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
/* Titles / heavy text: fixed neutral dark (#000–#333), not tied to color presets */
.dw-title,
.dw-product__body h3,.dw-solution h3,.dw-strength-card h3,
.dw-stat__label,.dw-stat__num,.dw-news-title,
.dw-history__era-label,.dw-history__body strong,
.dw-cert strong,.dw-faq__q,
.dw-page-hero .dw-title{color:var(--ink)}
.dw-title--light{color:#fff}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.dw-container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}
.dw-container--narrow{max-width:820px}
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ===== buttons ===== */
.btn{
  display:inline-flex;align-items:center;gap:8px;justify-content:center;
  font-weight:700;font-size:15px;padding:14px 26px;border-radius:8px;
  border:1px solid transparent;cursor:pointer;transition:.2s;white-space:nowrap;
}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn--primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn--primary:hover{background:var(--primary-dark);border-color:var(--primary-dark);box-shadow:var(--shadow-lg)}
.btn--ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.5)}
.btn--ghost:hover{background:rgba(255,255,255,.22)}
.btn--outline{background:#fff;color:var(--navy);border-color:var(--line)}
.btn--outline:hover{border-color:var(--navy);color:var(--blue)}
.btn--accent{
  background:var(--accent);color:#fff;border-color:var(--accent);
  box-shadow:0 8px 22px rgba(var(--point-rgb),.35)
}
.btn--accent:hover{
  background:var(--primary-dark);border-color:var(--primary-dark);
  box-shadow:0 10px 28px rgba(var(--primary-dark-rgb),.4);transform:translateY(-1px)
}
.btn--light{background:#fff;color:var(--navy)}
.btn--light:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.btn--sm{padding:11px 20px;font-size:14px}
.btn--block{width:100%;padding:16px}

/* ===== topbar ===== */
.dw-topbar{background:var(--navy-3);color:#c7d2e4;font-size:13px}
.dw-topbar__inner{display:flex;justify-content:space-between;align-items:center;height:40px;gap:16px}
.dw-topbar__phone{display:flex;align-items:center;gap:7px;color:#fff;font-weight:700;margin-left:auto}
.dw-topbar__phone .ic{width:15px;height:15px;fill:currentColor;stroke:none}
.dw-social--topbar{gap:6px;flex-shrink:0}
.dw-social--topbar a{
  width:28px;height:28px;border-radius:6px;
  color:#c7d2e4; 
}
.dw-social--topbar a:hover{color:#fff}
.dw-social--topbar svg{width:14px;height:14px}
.dw-social--topbar .dw-social-naver svg{width:22px;height:22px}
.dw-social-naver svg{width:22px;height:22px}

/* ===== header ===== */
.dw-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line);transition:.3s}
.dw-header.scrolled{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.dw-header__inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0;line-height:0}
.brand .custom-logo-link{display:flex;align-items:center;line-height:0}
.brand .custom-logo{display:block;height:40px;width:auto;max-width:220px;object-fit:contain}
.brand__link{display:flex;align-items:center;gap:11px}
.brand__mark{width:38px;height:38px;border-radius:8px;background:var(--navy);display:grid;place-items:center}
.brand__mark svg{width:22px;height:22px;fill:#fff}
.brand__text{font-weight:900;font-size:19px;letter-spacing:.5px;line-height:1;color:var(--navy)}
.brand__text small{display:block;font-size:9px;font-weight:500;letter-spacing:2px;color:var(--muted);margin-top:3px}
.brand--light .brand__text{color:#fff}
.brand--light .brand__text small{color:#9fb0c9}
.brand--light .brand__mark{background:rgba(255,255,255,.12)}
.dw-nav{display:flex;align-items:center;gap:34px}
.dw-nav a{font-weight:500;font-size:16px;color:var(--ink);position:relative;transition:.2s}
.dw-nav a:not(.dw-nav__cta)::after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:2px;background:var(--blue);transition:.25s}
.dw-nav a:not(.dw-nav__cta):hover{color:var(--blue)}
.dw-nav a:not(.dw-nav__cta):hover::after{width:100%}
.dw-nav__cta{background:var(--navy);color:#fff!important;padding:10px 20px;border-radius:7px;font-weight:700}
.dw-nav__cta:hover{background:var(--primary-dark)}
.dw-nav__toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.dw-nav__toggle span{width:24px;height:2px;background:var(--navy);border-radius:2px;transition:.3s}

/* ===== hero ===== */
.dw-hero{position:relative;color:#fff;overflow:hidden;min-height:var(--dw-hero-h,620px)}
.dw-hero--video{display:flex;align-items:stretch}
.dw-hero__slider{position:relative;width:100%;min-height:inherit}
.dw-hero__track{position:relative;width:100%;min-height:inherit}
.dw-hero__slide{
  position:absolute;inset:0;opacity:0;visibility:hidden;z-index:1;
  display:flex;align-items:stretch;
  transition:opacity .7s ease,visibility .7s ease;
  background:var(--navy-2);
}
.dw-hero__slide.is-active{
  position:relative;opacity:1;visibility:visible;z-index:2;
  min-height:var(--dw-hero-h,620px);
}
.dw-hero__bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;display:block;z-index:0;
}
.dw-hero__bg--fallback{
  background:
    linear-gradient(120deg,rgba(10,29,56,.9),rgba(18,50,95,.75)),
    linear-gradient(135deg,#0e2748,#1c467f 55%,#24507f);
}
.dw-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;background:var(--navy-2)}
.dw-hero__yt{position:absolute;inset:0;overflow:hidden;z-index:0;background:var(--navy-2);pointer-events:none}
.dw-hero__yt iframe{position:absolute;top:50%;left:50%;width:100vw;height:56.25vw;min-height:100%;min-width:177.78vh;transform:translate(-50%,-50%);border:0}
.dw-hero__overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(105deg,rgba(10,22,48,.88) 0%,rgba(15,42,90,.58) 45%,rgba(20,60,140,.22) 100%);
}
.dw-hero__slide::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(105deg,rgba(10,22,48,.88) 0%,rgba(15,42,90,.58) 45%,rgba(20,60,140,.22) 100%);
}
.dw-hero__inner{position:relative;z-index:2;width:100%;flex:1;padding:110px 24px 96px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
.dw-hero--video .dw-hero__inner{min-height:var(--dw-hero-h,620px)}
.dw-hero__content{max-width:560px}
.dw-hero__title{font-size:52px;font-weight:900;line-height:1.18;letter-spacing:-1px;margin-bottom:24px}
.dw-hero__title .dw-accent{color:var(--blue-light)}
.dw-hero__desc{font-size:17px;color:#d5deee;font-weight:300;margin-bottom:34px;line-height:1.65}
.dw-hero__actions{display:flex;gap:14px;flex-wrap:wrap}

.dw-hero__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:4;
  width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.12);backdrop-filter:blur(6px);cursor:pointer;
  display:grid;place-items:center;transition:.2s;color:#fff;padding:0;
}
.dw-hero__nav:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.6)}
.dw-hero__nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dw-hero__nav--prev{left:20px}
.dw-hero__nav--next{right:20px}
.dw-hero__dots{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);z-index:4;display:flex;gap:8px}
.dw-hero__dot{
  width:10px;height:10px;border-radius:999px;border:0;padding:0;cursor:pointer;
  background:rgba(255,255,255,.45);transition:width .25s ease,background .25s ease;
}
.dw-hero__dot.is-active{width:28px;background:#fff}

.dw-hero__slide:not(.is-active) .dw-hero__title,
.dw-hero__slide:not(.is-active) .dw-hero__desc,
.dw-hero__slide:not(.is-active) .dw-hero__actions .btn{
  opacity:0;transform:translateY(18px);animation:none;
}
.dw-hero__slide.is-active .dw-hero__title,
.dw-hero__slide.is-active .dw-hero__desc,
.dw-hero__slide.is-active .dw-hero__actions .btn{
  animation:dw-hero-in .55s ease both;
}
.dw-hero__slide.is-active .dw-hero__title{animation-delay:0s}
.dw-hero__slide.is-active .dw-hero__desc{animation-delay:.12s}
.dw-hero__slide.is-active .dw-hero__actions .btn:nth-child(1){animation-delay:.24s}
.dw-hero__slide.is-active .dw-hero__actions .btn:nth-child(2){animation-delay:.34s}
@keyframes dw-hero-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

/* ===== section spy (scroll follower) ===== */
.dw-spy{
  position:fixed;right:18px;top:50%;transform:translateY(-50%);
  z-index:80;display:flex;flex-direction:column;align-items:center;gap:0;
  background:none;border:0;box-shadow:none;padding:0;
}
.dw-spy::before{
  content:"";position:absolute;top:11px;bottom:11px;left:50%;
  width:1px;transform:translateX(-50%);
  background:rgba(18,50,95,.22);pointer-events:none;z-index:0;
}
.dw-spy__item{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:center;
  width:22px;height:22px;margin:1px 0;color:var(--navy);text-decoration:none;
}
.dw-spy__dot{
  width:9px;height:9px;border-radius:50%;
  background:#94a3b8;border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(15,23,42,.2);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.dw-spy__label{
  position:absolute;right:calc(100% + 10px);top:50%;transform:translate(4px,-50%);
  font-size:12px;font-weight:700;letter-spacing:.02em;white-space:nowrap;
  opacity:0;pointer-events:none;
  background:rgba(255,255,255,.96);border:1px solid var(--line);
  padding:4px 9px;border-radius:6px;
  box-shadow:var(--shadow);transition:opacity .18s ease,transform .18s ease;
}
.dw-spy__item:hover .dw-spy__label,
.dw-spy__item.is-active .dw-spy__label,
.dw-spy__item:focus-visible .dw-spy__label{
  opacity:1;transform:translate(0,-50%);
}
.dw-spy__item.is-active .dw-spy__dot{
  background:var(--blue);
  transform:scale(1.35);
  box-shadow:0 0 0 3px rgba(var(--point-rgb),.22);
}
.dw-spy__item:hover .dw-spy__dot{background:var(--primary-dark)}

/* ===== stats ===== */
.dw-stats{background:#f3f4f6;background-size:cover;background-position:center;background-repeat:no-repeat}
.dw-stats--has-image{position:relative}
.dw-stats--has-image::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.72);pointer-events:none}
.dw-stats--has-image .dw-stats__grid{position:relative;z-index:1}
.dw-stats__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:44px 24px}
.dw-stats__grid--1{grid-template-columns:1fr}
.dw-stats__grid--2{grid-template-columns:repeat(2,1fr)}
.dw-stats__grid--3{grid-template-columns:repeat(3,1fr)}
.dw-stats__grid--4{grid-template-columns:repeat(4,1fr)}
.dw-stat{text-align:center;padding:16px 24px;position:relative;display:flex;flex-direction:column;align-items:center}
.dw-stat:not(:last-child)::after{content:"";position:absolute;right:0;top:12%;height:76%;width:1px;background:var(--line)}
.dw-stat__icon{width:46px;height:46px;margin-bottom:12px;color:var(--blue)}
.dw-stat__icon svg{width:100%;height:100%;fill:none;stroke: var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dw-stat__num{font-size:38px;font-weight:900;color:var(--ink);line-height:1}
.dw-stat__label{font-weight:700;font-size:16px;margin:8px 0 4px}
.dw-stat__sub{font-size:13px;color:var(--muted)}

/* ===== generic section ===== */
.dw-section{padding:84px 0}
.dw-section--tint{background:#f3f4f6;}
.dw-section--dark2{background:var(--navy-3);color:#fff}
.dw-head{display:flex;justify-content:space-between;align-items:flex-end;gap:0px;margin-bottom:44px}
.dw-head--center{flex-direction:column;align-items:center;text-align:center}
.dw-eyebrow{display:inline-block;font-size:12px;font-weight:500;color:var(--blue);letter-spacing:1px;margin-bottom:10px}
.dw-eyebrow--light{color:#8db0e6}
.dw-title{font-size:32px;font-weight:900;letter-spacing:-.5px;line-height:1.3}
.dw-lead{max-width:640px;margin-top:14px;color:var(--muted);font-size:16px}
.dw-section--dark2 .dw-lead{color:#b7c4da}

/* ===== carousel / products ===== */
.dw-carousel{position:relative}
.dw-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc(25% - 18px);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 2px 14px;scrollbar-width:none}
.dw-carousel__track::-webkit-scrollbar{display:none}
.dw-product{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s}
.dw-product:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.dw-product__link{display:block;color:inherit;height:100%}
.dw-product__img{height:auto;aspect-ratio:4/3}
.dw-carousel--ratio-16x9 .dw-product__img{aspect-ratio:16/9}
.dw-carousel--ratio-3x2 .dw-product__img{aspect-ratio:3/2}
.dw-carousel--ratio-1x1 .dw-product__img{aspect-ratio:1/1}
.dw-carousel--ratio-3x4 .dw-product__img{aspect-ratio:3/4}
.dw-carousel--ratio-4x3 .dw-product__img{aspect-ratio:4/3}
.dw-product__img.ph--photo{background:#e8edf5}
.dw-product__img.ph--photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.dw-product__img.ph--photo{position:relative}
.dw-product__body{padding:18px 20px 22px}
.dw-product__body h3{font-size:18px;font-weight:700;margin-bottom:6px}
.dw-product__body p{font-size:14px;color:var(--muted)}
.dw-carousel__nav{position:absolute;top:38%;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);display:grid;place-items:center;cursor:pointer;z-index:5;transition:.2s}
.dw-carousel__nav svg{width:22px;height:22px;fill:none;stroke:var(--navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dw-carousel__nav:hover{background:var(--navy)}
.dw-carousel__nav:hover svg{stroke:#fff}
.dw-carousel__nav--prev{left:-22px}
.dw-carousel__nav--next{right:-22px}

/* image placeholders */
.ph{position:relative;background-size:cover;background-position:center;overflow:hidden}
.ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(10,29,56,.35))}
.ph__tag{position:absolute;left:14px;bottom:12px;z-index:2;font-size:11px;font-weight:700;letter-spacing:2px;color:#fff;background:rgba(18,50,95,.6);padding:4px 10px;border-radius:4px}
.ph--machining{background-image:linear-gradient(135deg,#274a78,#4b6ea0),repeating-linear-gradient(45deg,#000 0 8px,transparent 8px 16px)}
.ph--auto{background-image:linear-gradient(135deg,#1f6a8c,#3f97b8)}
.ph--press{background-image:linear-gradient(135deg,#3a4a63,#5f7290)}
.ph--robot{background-image:linear-gradient(135deg,#20507f,#2f79c4)}
.ph--inspect{background-image:linear-gradient(135deg,#37566f,#5a86a0)}
.ph--conveyor{background-image:linear-gradient(135deg,#2a5d6a,#4d9298)}
.ph--proj1{background-image:linear-gradient(135deg,#22406b,#3b6096)}
.ph--proj2{background-image:linear-gradient(135deg,#1d5674,#357f9c)}
.ph--proj3{background-image:linear-gradient(135deg,#334963,#566d8c)}
.ph--proj4{background-image:linear-gradient(135deg,#274d7c,#3a6fae)}

/* ===== solutions ===== */
#solutions .dw-head--center{align-items:flex-start;text-align:left}
.dw-solutions{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.dw-solution{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 24px;position:relative;transition:.25s}
.dw-solution:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.dw-solution__step{font-size:34px;font-weight:900;color:var(--line);line-height:1}
.dw-solution h3{font-size:18px;font-weight:700;margin:14px 0 10px}
.dw-solution p{font-size:14px;color:var(--muted)}
.dw-solution::before{content:"";position:absolute;left:0;top:0;width:0;height:3px;background:var(--blue);transition:.3s;border-radius:var(--radius) var(--radius) 0 0}
.dw-solution:hover::before{width:100%}

/* ===== strength ===== */
.dw-strength{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.dw-strength-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px 26px;text-align:center;transition:.25s}
.dw-strength-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.dw-strength-card__icon{width:60px;height:60px;margin:0 auto 18px;border-radius:14px;background:var(--accent-soft);color:var(--blue);display:grid;place-items:center}
.dw-strength-card__icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dw-strength-card h3{font-size:18px;font-weight:700;margin-bottom:10px}
.dw-strength-card p{font-size:14px;color:var(--muted)}

/* ===== history (doorweboffice2 연혁과 동일 수치) ===== */
.dw-history-section{background:#f3f4f6}
.dw-history-section .dw-head{margin-bottom:44px}
.dw-history__lead{margin-top:12px;max-width:620px;color:var(--text);font-size:16px;line-height:1.8}
.dw-history{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:60px;
  align-items:start;
}
.dw-history__track{position:relative}
.dw-history__track::before{
  content:"";
  position:absolute;
  left:6px;
  top:8px;
  bottom:8px;
  width:2px;
  background:var(--line);
}
.dw-history__era{
  position:relative;
  padding:0 0 20px 40px;
  display:flex;
  align-items:baseline;
  gap:12px;
}
.dw-history__era:not(:first-child){margin-top:12px}
.dw-history__era::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:14px;
  height:14px;
  border-radius:4px;
  background:var(--accent);
  box-shadow:0 0 0 4px var(--accent-soft);
}
.dw-history__era-range{
  color:var(--accent);
  font-size:19px;
  font-weight:800;
  letter-spacing:.01em;
}
.dw-history__era-label{
  color:var(--ink);
  font-size:15px;
  font-weight:700;
}
.dw-history__list{list-style:none;margin:0 0 8px;padding:0}
.dw-history__item{position:relative;padding:0 0 26px 40px}
.dw-history__item:last-child{padding-bottom:4px}
.dw-history__item::before{
  content:"";
  position:absolute;
  left:1px;
  top:6px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#fff;
  border:3px solid var(--blue);
  box-sizing: border-box;
}
.dw-history__year{
  display:block;
  margin:0 0 4px;
  color:var(--blue);
  font-size:20px;
  font-weight:800;
  line-height:1.1;
}
.dw-history__body strong{
  display:block;
  margin:0 0 5px;
  color:var(--ink);
  font-size:17px;
  font-weight:700;
  line-height:1.4;
}
.dw-history__body span{
  display:block;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}
.dw-history__media{
  align-self:start;
  position:sticky;
  top:96px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:var(--bg-tint);
}
.dw-history__media img,
.dw-history__media-ph{
  display:block;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  margin:0;
  min-height:0;
}
.dw-history__media-ph{position:relative;height:auto}
.dw-history__media-ph::after{background:linear-gradient(180deg,transparent 30%,rgba(10,29,56,.45))}

/* ===== projects ===== */
.dw-projects{background:var(--navy);color:#fff;padding:84px 0}
.dw-projects__inner{display:grid;grid-template-columns:300px minmax(0,1fr);gap:40px;align-items:center}
.dw-projects__intro .dw-title{margin-bottom:22px}
.dw-projects__carousel{position:relative;min-width:0}
.dw-projects__carousel .dw-carousel__track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 36px) / 3);
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:6px 2px 14px;
  scrollbar-width:none;
}
.dw-projects__carousel .dw-carousel__track::-webkit-scrollbar{display:none}
.dw-project{scroll-snap-align:start;min-width:0}
.dw-project__link{display:block;color:inherit}
.dw-project__img{height:auto;aspect-ratio:4/3;border-radius:8px;margin-bottom:12px;overflow:hidden}
.dw-projects__carousel.dw-carousel--ratio-16x9 .dw-project__img{aspect-ratio:16/9}
.dw-projects__carousel.dw-carousel--ratio-3x2 .dw-project__img{aspect-ratio:3/2}
.dw-projects__carousel.dw-carousel--ratio-1x1 .dw-project__img{aspect-ratio:1/1}
.dw-projects__carousel.dw-carousel--ratio-3x4 .dw-project__img{aspect-ratio:3/4}
.dw-projects__carousel.dw-carousel--ratio-4x3 .dw-project__img{aspect-ratio:4/3}
.dw-project__trigger{
  display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;
  text-align:left;cursor:zoom-in;font:inherit;
}
.dw-project__trigger:focus-visible{outline:2px solid var(--blue-light);outline-offset:4px}
.dw-project__img.ph--photo{position:relative;background:#1a3a63}
.dw-project__img.ph--photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.dw-project h4{font-size:14px;font-weight:500;color:#fff;margin-bottom:4px;line-height:1.4}
.dw-project__year{font-size:13px;color:#8fa6c8}
.dw-projects__carousel .dw-carousel__nav{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.2);
  box-shadow:none;
}
.dw-projects__carousel .dw-carousel__nav svg{stroke:#fff}
.dw-projects__carousel .dw-carousel__nav:hover{background:#fff}
.dw-projects__carousel .dw-carousel__nav:hover svg{stroke:var(--navy)}
.dw-projects__carousel .dw-carousel__nav--prev{left:-10px}
.dw-projects__carousel .dw-carousel__nav--next{right:-10px}

/* ===== certifications ===== */
.dw-certs{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.dw-certs>*{flex:0 0 calc((100% - 60px) / 4);min-width:0}
.dw-cert{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;text-align:center;transition:.2s}
.dw-cert:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.dw-cert__badge{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:50%;background:var(--navy);color:#fff;font-weight:900;font-size:15px}
.dw-cert strong{display:block;font-size:16px;margin-bottom:3px;color:var(--ink)}
.dw-cert small{font-size:12px;color:var(--muted)}
.dw-cert__trigger{
  display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;
  text-align:center;cursor:zoom-in;font:inherit;
}
.dw-cert__trigger:focus-visible{outline:2px solid var(--blue-light);outline-offset:4px}
.dw-cert__img{
  display:block;width:100%;aspect-ratio:4/5;margin:0 auto 14px;border-radius:8px;
  overflow:hidden;background:#eef2f7;
}
.dw-certs--ratio-4x5 .dw-cert__img{aspect-ratio:4/5}
.dw-certs--ratio-3x4 .dw-cert__img{aspect-ratio:3/4}
.dw-certs--ratio-4x3 .dw-cert__img{aspect-ratio:4/3}
.dw-certs--ratio-3x2 .dw-cert__img{aspect-ratio:3/2}
.dw-certs--ratio-1x1 .dw-cert__img{aspect-ratio:1/1}
.dw-certs--ratio-16x9 .dw-cert__img{aspect-ratio:16/9}
.dw-cert__img img{width:100%;height:100%;object-fit:cover;display:block}

/* ===== news (office2 리스트형) ===== */
.dw-news-list{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.dw-news-item{border-bottom:1px solid var(--line)}
.dw-news-row{
  display:flex;align-items:center;gap:28px;padding:26px 8px;
  color:inherit;text-decoration:none;transition:background .18s ease
}
.dw-news-row:hover{background:var(--bg-tint)}
.dw-news-thumb{
  flex:0 0 auto;width:148px;height:96px;border-radius:10px;overflow:hidden;background:var(--bg-tint)
}
.dw-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dw-news-main{flex:1 1 auto;min-width:0}
.dw-news-meta{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.dw-news-cat{
  display:inline-block;padding:4px 12px;border-radius:999px;
  background:rgba(36,86,166,.1);color:var(--blue);font-size:12px;font-weight:700;line-height:16px
}
.dw-news-new{
  display:inline-block;padding:4px 12px;border-radius:999px;
  background:#e8462d;color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;line-height:16px
}
.dw-news-title{
  display:block;color:var(--ink);font-size:19px;font-weight:700;line-height:1.45;letter-spacing:-.01em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .18s ease
}
.dw-news-row:hover .dw-news-title{color:var(--accent)}
.dw-news-excerpt{
  display:block;margin-top:6px;color:var(--text);font-size:14.5px;line-height:1.6;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.dw-news-date{
  flex:0 0 auto;display:flex;align-items:center;gap:18px;
  color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums
}
.dw-news-arrow{
  display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border:1px solid var(--line);border-radius:50%;color:var(--muted);font-size:15px;transition:all .18s ease
}
.dw-news-row:hover .dw-news-arrow{border-color:var(--accent);background:var(--accent);color:#fff;transform:translateX(2px)}
.dw-news-more{margin-top:32px;text-align:center}
.dw-news-empty{padding:60px 0;text-align:center;color:var(--muted)}

/* 뉴스 아카이브 / 단일 */
.dw-page-body{padding:48px 0 90px;background:#fff}
.dw-page-hero{margin-bottom:36px}
.dw-page-hero .dw-title{margin-top:6px}
.dw-news-archive{margin:0 auto}
.dw-news-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}
.dw-news-tab{
  padding:9px 20px;border:1px solid var(--line);border-radius:999px;background:#fff;
  color:var(--text);font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:all .18s ease
}
.dw-news-tab:hover{border-color:var(--accent);color:var(--accent)}
.dw-news-tab.is-active{background:var(--accent);border-color:var(--accent);color:#fff}
.dw-news-single{max-width:860px;margin:0 auto}
.dw-news-single-head{padding-bottom:26px;margin-bottom:32px;border-bottom:1px solid var(--line)}
.dw-news-single-meta{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.dw-news-single-date{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.dw-news-single-title{
  margin:0;color:var(--ink);font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.35;letter-spacing:-.02em
}
.dw-news-single-media{margin:0 0 32px;border-radius:14px;overflow:hidden}
.dw-news-single-media img{width:100%;height:auto;display:block}
.dw-news-content{color:var(--text);font-size:16px;line-height:1.85}
.dw-news-content > * + *{margin-top:1.1em}
.dw-news-nav{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:48px 0 0;padding-top:28px;border-top:1px solid var(--line)
}
.dw-news-nav-link{
  display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid var(--line);
  border-radius:12px;text-decoration:none;transition:border-color .18s ease,background .18s ease
}
.dw-news-nav-link:hover{border-color:var(--accent);background:var(--bg-tint)}
.dw-news-nav-next{text-align:right}
.dw-news-nav-label{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.04em}
.dw-news-nav-title{
  color:var(--ink);font-size:15px;font-weight:600;line-height:1.5;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.dw-news-single-foot{margin-top:40px;text-align:center}
.dw-page-body .pagination{margin:52px 0 0}
.dw-page-body .pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.dw-page-body .pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;
  border:1px solid var(--line);border-radius:10px;color:var(--ink);text-decoration:none;font-weight:600
}
.dw-page-body .pagination .page-numbers.current,
.dw-page-body .pagination a.page-numbers:hover{background:var(--accent);border-color:var(--accent);color:#fff}

/* ===== faq ===== */
.dw-faq{display:flex;flex-direction:column;gap:12px}
.dw-faq__item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.dw-faq__q{width:100%;text-align:left;background:none;border:0;padding:20px 24px;font-size:16px;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--ink)}
.dw-faq__ico{position:relative;width:16px;height:16px;flex:none}
.dw-faq__ico::before,.dw-faq__ico::after{content:"";position:absolute;background:var(--blue);border-radius:2px;transition:.3s}
.dw-faq__ico::before{left:0;top:7px;width:16px;height:2px}
.dw-faq__ico::after{left:7px;top:0;width:2px;height:16px}
.dw-faq__item.open .dw-faq__ico::after{transform:rotate(90deg);opacity:0}
.dw-faq__a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.dw-faq__a p{padding:0 24px 22px;color:var(--muted);font-size:15px}

/* ===== map (문의 위) ===== */
.dw-map-section{padding:72px 0 64px;background:#fff}
.dw-map-section .dw-head{margin-bottom:28px}
.dw-map-frame{
  position:relative;width:100%;height:var(--dw-map-h,420px);
  border-radius:14px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:var(--bg-tint)
}
.dw-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.dw-map-address{
  margin:18px 0 0;display:flex;align-items:center;justify-content:center;gap:8px;
  text-align:center;color:var(--muted);font-size:14px;font-weight:400
}
.dw-map-address__ico{
  width:18px;height:18px;flex:none;
  fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}

/* ===== contact ===== */
.dw-contact{background:var(--navy);color:#fff;padding:84px 0}
.dw-contact__inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.dw-contact__title{font-size:28px;font-weight:900;line-height:1.35;margin:6px 0 18px}
.dw-contact__lead{color:#c3d0e6;margin-bottom:30px}
.dw-contact__list{list-style:none;display:flex;flex-direction:column;gap:20px}
.dw-contact__list li{display:flex;gap:16px;align-items:center}
.dw-contact__ic{width:44px;height:44px;flex:none;border-radius:10px;background:rgba(255,255,255,.1);display:grid;place-items:center}
.dw-contact__ic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dw-contact__list small{display:block;font-size:13px;color:#9fb0c9}
.dw-contact__list strong{font-size:17px}
.dw-form{background:#fff;border-radius:14px;padding:32px;box-shadow:var(--shadow-lg)}
.dw-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dw-field{margin-bottom:14px}
.dw-field input,.dw-field select,.dw-field textarea{width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:8px;font-family:inherit;font-size:15px;color:var(--ink);background:#fff;transition:.2s}
.dw-field textarea{resize:vertical}
.dw-field input:focus,.dw-field select:focus,.dw-field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(var(--point-rgb),.14)}
.dw-field input.invalid,.dw-field select.invalid,.dw-field textarea.invalid{border-color:#e05353;box-shadow:0 0 0 3px rgba(224,83,83,.12)}
.dw-check{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--muted);margin:4px 0 18px;cursor:pointer}
.dw-check input{width:16px;height:16px;accent-color:var(--blue)}
.dw-form-msg{margin-top:14px;font-size:14px;font-weight:500;text-align:center;min-height:20px}
.dw-form-msg.ok{color:#1f9d55}
.dw-form-msg.err{color:#e05353}

/* CF7 / 숏코드 폼 */
.dw-form--embed .wpcf7{margin:0}
.dw-form--embed .wpcf7-form{margin:0}
.dw-form--embed .wpcf7-form > p{margin:0 0 14px}
.dw-form--embed .dw-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.dw-form--embed .dw-field{margin:0 0 14px}
.dw-form--embed .dw-form-row .dw-field{margin:0}
.dw-form--embed .dw-check,
.dw-form--embed .wpcf7-acceptance{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--muted);margin:4px 0 18px}
.dw-form--embed .wpcf7-acceptance .wpcf7-list-item{margin:0}
.dw-form--embed input[type="text"],
.dw-form--embed input[type="email"],
.dw-form--embed input[type="tel"],
.dw-form--embed input[type="url"],
.dw-form--embed input[type="number"],
.dw-form--embed select,
.dw-form--embed textarea{
  width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:8px;
  font-family:inherit;font-size:15px;color:var(--ink);background:#fff;box-sizing:border-box
}
.dw-form--embed input:focus,
.dw-form--embed select:focus,
.dw-form--embed textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--point-rgb),.14)}
.dw-form--embed .wpcf7-submit,
.dw-form .btn--accent{
  width:100%;padding:16px 26px;border-radius:8px;font-weight:800;font-size:15px;cursor:pointer;
  background:var(--accent);color:#fff;border:1px solid var(--accent);
  box-shadow:0 8px 22px rgba(var(--point-rgb),.35);transition:.2s
}
.dw-form--embed .wpcf7-submit:hover,
.dw-form .btn--accent:hover{
  background:var(--primary-dark);border-color:var(--primary-dark);
  box-shadow:0 10px 28px rgba(var(--primary-dark-rgb),.4)
}
.dw-form--embed .wpcf7-not-valid-tip{color:#d0202e;font-size:13px;margin-top:4px}
.dw-form--embed .wpcf7-response-output{margin:16px 0 0!important;border-radius:10px;font-size:14px}
@media(max-width:640px){
  .dw-form--embed .dw-form-row{grid-template-columns:1fr}
}

/* ===== footer (DoorWeb Office 2 style) ===== */
.dw-footer{
  background:var(--dw-footer-bg,#000);
  color:rgba(255,255,255,.65);
  padding:48px 0 28px;
  font-size:13px
}
.dw-footer-main{
  display:flex;
  align-items:flex-start;
  gap:40px 56px;
  flex-wrap:wrap
}
.dw-footer-logo,
.dw-footer-legal-nav{flex-shrink:0}
.dw-footer-brand{
  display:flex;
  align-items:center;
  gap:11px;
  color:#fff;
  text-decoration:none
}
.dw-footer-brand__img{
  display:block;
  height:48px;
  width:auto;
  max-width:260px;
  object-fit:contain
}
.dw-footer .custom-logo-link{display:flex;align-items:center;line-height:0}
.dw-footer .custom-logo{
  display:block;height:48px;width:auto;max-width:260px;object-fit:contain
}
.dw-footer .brand__text{color:#fff}
.dw-footer .brand__mark{background:rgba(255,255,255,.12)}
.dw-footer-info{
  flex:1 1 200px;
  min-width:0;
  font-size:13px;
  line-height:1.85;
  color:rgba(255,255,255,.55)
}
.dw-footer-info p{margin:0}
.dw-footer-info p + p{margin-top:2px}
.dw-footer-info a{color:rgba(255,255,255,.72)}
.dw-footer-info a:hover{color:#fff}
.dw-footer-legal-nav ul{list-style:none;margin:0;padding:0}
.dw-footer-legal-nav li + li{margin-top:8px}
.dw-footer-legal-nav a{
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.5
}
.dw-footer-legal-nav a:hover{color:#fff}
.dw-footer-legal-nav a strong{color:#fff;font-weight:600}
.dw-social{display:flex;gap:10px;flex-wrap:wrap}
.dw-social a{
  width:32px;height:32px;border-radius:8px;
  display:grid;place-items:center;
  color:rgba(255,255,255,.75);padding:0
}
.dw-social a:hover{background:var(--accent,#1491B3);color:#fff}
.dw-social svg{width:24px;height:24px;display:block}
.dw-footer-copy{
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.45)
}

/* ===== to-top ===== */
.dw-to-top{position:fixed;right:24px;bottom:24px;width:46px;height:46px;border-radius:50%;background:var(--navy);display:grid;place-items:center;box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(12px);transition:.3s;z-index:90}
.dw-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.dw-to-top svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dw-to-top:hover{background:var(--blue)}

/* ===== lightbox ===== */
.dw-lightbox{
  position:fixed;inset:0;z-index:200;display:grid;place-items:center;
  padding:24px;background:rgba(10,29,56,.86);backdrop-filter:blur(4px);
}
.dw-lightbox[hidden]{display:none}
.dw-lightbox__close{
  position:absolute;top:18px;right:22px;width:44px;height:44px;
  border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;
  font-size:28px;line-height:1;cursor:pointer;
}
.dw-lightbox__close:hover{background:rgba(255,255,255,.28)}
.dw-lightbox__figure{margin:0;max-width:min(1100px,96vw);max-height:90vh;text-align:center}
.dw-lightbox__figure img{
  display:block;max-width:100%;max-height:78vh;margin:0 auto;
  border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.35);object-fit:contain;
}
.dw-lightbox__figure figcaption{
  margin-top:14px;color:#d7e2f4;font-size:15px;font-weight:600;
}

/* ===== reveal animation ===== */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ===== responsive ===== */
@media(max-width:1024px){
  .dw-hero__title{font-size:42px}
  .dw-hero__nav--prev{left:12px}
  .dw-hero__nav--next{right:12px}
  .dw-carousel__track{grid-auto-columns:calc(33.33% - 16px)}
  .dw-footer-main{gap:28px 32px}
}
@media(max-width:860px){
  .dw-footer-main{
    display:flex;
    flex-wrap:wrap;
    gap:22px 16px;
    align-items:start;
    justify-content:space-between
  }
  .dw-footer-legal-nav{margin-left:0}
}
@media(max-width:820px){
  html{scroll-padding-top:70px}
  .dw-topbar__phone span{display:none}
  .dw-social--topbar a{width:26px;height:26px}
  .dw-nav{position:fixed;inset:0 0 0 auto;width:78%;max-width:320px;background:#fff;flex-direction:column;align-items:flex-start;gap:0;padding:90px 30px 30px;transform:translateX(100%);transition:.3s;box-shadow:-10px 0 40px rgba(0,0,0,.12);z-index:99}
  .dw-nav.open{transform:none}
  .dw-nav a{width:100%;padding:15px 0;border-bottom:1px solid var(--line);font-size:17px;text-align:center;}
  .dw-nav__cta{width:100%;margin-top:16px;border-bottom:0}
  .dw-nav__toggle{display:flex;z-index:100}
  .dw-nav__toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .dw-nav__toggle.active span:nth-child(2){opacity:0}
  .dw-nav__toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .dw-hero__title{font-size:34px}
  /* hero fills the first screen minus topbar + sticky header */
  .dw-hero,
  .dw-hero__slider,
  .dw-hero__track,
  .dw-hero__slide.is-active,
  .dw-hero--video .dw-hero__inner{
    min-height:calc(100vh - var(--dw-topbar-h) - var(--dw-header-h));
    min-height:calc(100svh - var(--dw-topbar-h) - var(--dw-header-h));
  }
  .dw-hero,
  .dw-hero__slide.is-active{
    max-height:calc(100svh - var(--dw-topbar-h) - var(--dw-header-h));
  }
  .dw-hero__inner{padding:28px 24px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
  .dw-hero__nav{display:none}
  .dw-hero__dots{bottom:20px}
  .dw-spy{display:none}
  .dw-stats__grid{grid-template-columns:repeat(2,1fr);gap:24px 0}
  .dw-stat:nth-child(2)::after{display:none}
  .dw-stat:nth-child(n+3)::before{
    content:"";
    position:absolute;
    left:18%;
    right:18%;
    top:0;
    height:1px;
    background:var(--line);
  }
  .dw-section{padding:60px 0}
  .dw-head{flex-direction:column;align-items:flex-start}
  .dw-carousel__track{grid-auto-columns:calc(80% - 12px)}
  .dw-carousel__nav{display:none}
  .dw-solutions,.dw-strength{grid-template-columns:repeat(2,1fr)}
  .dw-history{grid-template-columns:1fr;gap:40px}
  .dw-history__media{position:static;order:1}
  .dw-history__media img,
  .dw-history__media-ph{aspect-ratio:16/10;min-height:0}
  .dw-certs{grid-template-columns:repeat(2,1fr)}
  .dw-news-row{flex-direction:column;align-items:stretch;gap:12px;padding:20px 4px}
  .dw-news-thumb{width:100%;height:auto;aspect-ratio:16/9}
  .dw-news-title{font-size:16px;white-space:normal}
  .dw-news-excerpt{display:none}
  .dw-news-date{justify-content:space-between;width:100%;font-size:13px}
  .dw-news-nav{grid-template-columns:1fr}
  .dw-news-nav-next{text-align:left}
  .dw-projects__inner{grid-template-columns:1fr;gap:32px}
  .dw-projects__carousel .dw-carousel__track{grid-auto-columns:calc((100% - 18px) / 2)}
  .dw-projects__carousel .dw-carousel__nav{display:none}
  .dw-map-section{padding:48px 0 48px}
  .dw-map-frame{height:min(var(--dw-map-h,420px),300px);border-radius:12px}
  .dw-contact__inner{grid-template-columns:1fr;gap:36px}
}
@media(max-width:480px){
  .dw-stat__num {
    font-size: 28px;}
    .dw-hero__desc {
      font-size: 15px;
    }
  .dw-hero__title{font-size:28px}
  .dw-form-row{grid-template-columns:1fr}
  .dw-solutions,.dw-strength,.dw-certs{grid-template-columns:1fr}
  .dw-projects__carousel .dw-carousel__track{grid-auto-columns:80%}
  .dw-title{font-size:26px}
  .dw-hero__actions{flex-direction:column;align-items:stretch}
}

/* 프로젝트 캐러셀: 연속 한방향 흐름 */
.dw-projects__carousel .dw-carousel__track{scroll-snap-type:none;scroll-behavior:auto}

/* ===== 1.1.0 히어로 확장 (뱃지·강조 줄·모바일 이미지·밝은 톤) ===== */
.dw-hero__pic{position:absolute;inset:0;display:block;z-index:0}
.dw-hero__pic .dw-hero__bg{position:absolute;inset:0}
.dw-hero__kicker{display:inline-flex;align-items:center;gap:10px;margin:0 0 16px;font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;line-height:1.4;color:#9fc0ff}
.dw-hero__kicker::before{content:"";width:22px;height:2px;border-radius:2px;background:currentColor;opacity:.85}
.dw-hero__em{display:inline-block;margin-top:2px}
.dw-hero__slide:not(.is-active) .dw-hero__kicker{opacity:0}
.dw-hero__slide.is-active .dw-hero__kicker{animation:dw-hero-in .55s ease both}
.dw-hero--light .dw-hero__slide{background:var(--bg-tint)}
.dw-hero--light .dw-hero__slide::after,.dw-hero--light .dw-hero__overlay{background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.82) 32%,rgba(255,255,255,.42) 56%,rgba(255,255,255,0) 78%)}
.dw-hero--light{color:var(--ink)}
.dw-hero--light .dw-hero__title{color:var(--ink)}
.dw-hero--light .dw-hero__title .dw-accent{color:var(--accent)}
.dw-hero--light .dw-hero__desc{color:var(--text);font-weight:400}
.dw-hero--light .dw-hero__kicker{color:var(--accent)}
.dw-hero--light .btn--ghost{background:rgba(255,255,255,.75);color:var(--navy);border-color:var(--line)}
.dw-hero--light .btn--ghost:hover{background:#fff;border-color:var(--navy)}
.dw-hero--light .dw-hero__dot{background:rgba(18,50,95,.25)}
.dw-hero--light .dw-hero__dot.is-active{background:var(--accent)}
.dw-hero--light .dw-hero__bg--fallback{background:linear-gradient(135deg,#f4f6fa,#e6ecf5)}
/* 화면이 좁아 좌우 화살표가 제목을 덮지 않게(821~1300px) */
@media(min-width:821px) and (max-width:1300px){.dw-hero__slider .dw-hero__inner{padding-left:88px;padding-right:88px}}
@media(max-width:1024px){.dw-certs>*{flex-basis:calc((100% - 40px) / 3)}}
@media(max-width:820px){
  .dw-hero--light .dw-hero__slide::after,.dw-hero--light .dw-hero__overlay{background:linear-gradient(180deg,rgba(255,255,255,.82) 0%,rgba(255,255,255,.72) 55%,rgba(255,255,255,.6) 100%)}
  .dw-hero__kicker{font-size:12px;letter-spacing:.12em;margin-bottom:12px}
  /* 슬라이드 점이 버튼을 덮지 않게, 내용이 길면 잘리지 않고 늘어나게 */
  .dw-hero__slider .dw-hero__inner{padding-bottom:68px}
  .dw-hero,.dw-hero__slide.is-active{max-height:none}
}
@media(max-width:640px){.dw-certs>*{flex-basis:calc((100% - 20px) / 2)}}

/* ===== 1.1.0 기본 로고 마크(육각 너트) ===== */
.brand__mark{width:42px;height:42px;border-radius:10px;flex:none}
.brand__mark svg{width:36px;height:36px;fill:none}
.brand__link{gap:12px}
.brand__text{white-space:nowrap;font-size:22px;font-weight:900;letter-spacing:.2px}
.brand__text small{font-size:8.5px;font-weight:700;letter-spacing:2.2px;margin-top:5px}
.dw-footer .brand__text small{color:#9fb0c9}
@media(max-width:480px){.brand__mark{width:36px;height:36px}.brand__mark svg{width:30px;height:30px}.brand__text{font-size:19px}.brand__text small{font-size:7.5px;letter-spacing:1.6px}}

/* =========================================================
   1.2.0 — 메인 슬라이드 전환 효과 9가지 (기업형1 · 치과와 같은 방식)
   .dw-hero-fx-* 는 슬라이더(.dw-hero__slider)에 붙는다. 'slide'(좌우 밀기)는 main.js 가 처리.
   ========================================================= */
.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 dwop1-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:dwop1-kenburns 12s ease-out forwards}
.dw-hero-fx-up .dw-hero__slide{transform:translateY(28px)}
.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)}
/* 나가는 슬라이드를 0.75초 남겨 새 슬라이드와 겹쳐 바뀌게(사이에 빈 배경이 비치지 않게) */
.dw-hero-fx-fade .dw-hero__slide:not(.is-active),
.dw-hero-fx-zoom .dw-hero__slide:not(.is-active),
.dw-hero-fx-kenburns .dw-hero__slide:not(.is-active),
.dw-hero-fx-blur .dw-hero__slide:not(.is-active){transition:opacity 0s linear .75s,visibility 0s linear .75s}
.dw-hero-fx-up .dw-hero__slide:not(.is-active){transition:opacity 0s linear .75s,visibility 0s linear .75s,transform 0s linear .75s}
.dw-hero-fx-fade .dw-hero__slide.is-active,
.dw-hero-fx-zoom .dw-hero__slide.is-active,
.dw-hero-fx-kenburns .dw-hero__slide.is-active,
.dw-hero-fx-blur .dw-hero__slide.is-active{transition:opacity .7s ease,visibility 0s}
.dw-hero-fx-up .dw-hero__slide.is-active{transition:opacity .7s ease,visibility 0s,transform .7s cubic-bezier(.22,.61,.36,1)}
/* 와이프 · 커튼 · 원형 — 새 슬라이드가 위에서 열리는 동안 나가는 슬라이드는 1초간 그대로 */
.dw-hero-fx-wipe .dw-hero__slide,.dw-hero-fx-curtain .dw-hero__slide,.dw-hero-fx-circle .dw-hero__slide{transition:opacity 0s 1.05s,visibility 0s 1.05s,clip-path 0s 1.05s}
.dw-hero-fx-wipe .dw-hero__slide:not(.is-active){opacity:1;clip-path:inset(0 100% 0 0)}
.dw-hero-fx-curtain .dw-hero__slide:not(.is-active){opacity:1;clip-path:inset(0 0 100% 0)}
.dw-hero-fx-circle .dw-hero__slide:not(.is-active){opacity:1;clip-path:circle(0% at 50% 50%)}
.dw-hero-fx-wipe .dw-hero__slide.is-active,.dw-hero-fx-curtain .dw-hero__slide.is-active{clip-path:inset(0 0 0 0)}
.dw-hero-fx-circle .dw-hero__slide.is-active{clip-path:circle(150% at 50% 50%)}
.dw-hero-fx-wipe .dw-hero__slide.is-active,.dw-hero-fx-curtain .dw-hero__slide.is-active,.dw-hero-fx-circle .dw-hero__slide.is-active{transition:clip-path 1s cubic-bezier(.65,0,.35,1)}
@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}
  .dw-hero-fx-wipe .dw-hero__slide,.dw-hero-fx-curtain .dw-hero__slide,.dw-hero-fx-circle .dw-hero__slide{transition:none}
}
/* 자동 넘김 일시정지 버튼(웹 접근성) — 점 옆 */
.dw-hero__dots{align-items:center}
.dw-hero__pause{width:34px;height:34px;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,.dw-hero__dot:focus-visible,.dw-hero__nav:focus-visible{outline:2px solid #fff;outline-offset:3px}
.dw-hero--light .dw-hero__pause{color:var(--navy);border-color:rgba(15,30,60,.35);background:rgba(255,255,255,.6)}

/* 1.2.0 — 한글 단어 중간 줄바꿈 막기 */
body{word-break:keep-all;overflow-wrap:break-word}

/* 1.2.0 — Contact Form 7 이 없을 때 문의 칸 (보내지 않는 폼은 띄우지 않는다) */
.dw-form--none{display:flex;flex-direction:column;justify-content:center;gap:12px}
.dw-form-none__title{font-size:22px;font-weight:800;color:var(--navy);margin:0}
.dw-form-none__lead{margin:0;color:var(--muted)}
.dw-form-none__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.dw-form-admin{margin:0 0 10px;padding:14px 16px;border:1px dashed #e0a000;border-radius:10px;background:#fff8e6;font-size:14px;line-height:1.7;color:#5b4500}
.dw-form-admin .btn{margin-top:10px}
/* 1.2.0 — Contact Form 7 개인정보 동의 칸: 체크박스와 글자 가운데 맞춤 */
.dw-form--embed .wpcf7-acceptance label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.dw-form--embed .wpcf7-acceptance input[type="checkbox"]{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:var(--accent)}

/* ===== 1.2.1 인증 & 특허 — 옆으로 흘러가기 ===== */
.dw-certs-roll{position:relative;overflow:hidden;padding:8px 0 16px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.dw-certs-roll__track{display:flex;width:max-content;animation:dwCertRoll var(--dw-roll-dur,32s) linear infinite}
.dw-certs-roll:hover .dw-certs-roll__track,.dw-certs-roll:focus-within .dw-certs-roll__track{animation-play-state:paused}
.dw-certs-roll__set{display:flex;gap:20px;padding-right:20px}
.dw-certs-roll .dw-cert{flex:0 0 220px;width:220px}
.dw-certs-roll .dw-cert:hover{transform:translateY(-5px)}
@keyframes dwCertRoll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:640px){.dw-certs-roll .dw-cert{flex-basis:160px;width:160px}.dw-certs-roll__set{gap:12px;padding-right:12px}}
@media (prefers-reduced-motion:reduce){
  .dw-certs-roll{-webkit-mask-image:none;mask-image:none}
  .dw-certs-roll__track{animation:none;width:auto}
  .dw-certs-roll__set{flex-wrap:wrap;justify-content:center;padding-right:0}
  .dw-certs-roll__set[aria-hidden="true"],.dw-certs-roll .dw-cert[aria-hidden="true"]{display:none}
}
/* 1.2.1 사진 인증 카드: 사진은 카드 끝까지, 아래 글자 칸만 여백 */
.dw-cert--photo{padding:0;overflow:hidden}
.dw-cert--photo .dw-cert__img{margin:0;border-radius:0}
.dw-cert--photo .dw-cert__trigger strong{padding:14px 14px 0;margin-bottom:3px}
.dw-cert--photo .dw-cert__trigger small{display:block;padding:0 14px 16px}
.dw-cert--photo .dw-cert__trigger strong:last-child{padding-bottom:16px}
/* 편집 화면(버튼 없이 글자가 카드 바로 아래)용 */
.dw-cert--photo>strong{padding:14px 14px 0;margin-bottom:3px}
.dw-cert--photo>small{display:block;padding:0 14px 16px}
.dw-certs-rollwrap{position:relative}
.dw-certs-roll__pause{position:absolute;right:0;top:-46px;z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center;padding:0}
.dw-certs-roll__pause span{display:block;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.dw-certs-roll__pause[aria-pressed="true"] span{width:0;height:0;border:0;border-left:10px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;margin-left:3px}
.dw-certs-roll__pause:focus-visible{outline:2px solid var(--blue-light);outline-offset:2px}
.dw-certs-rollwrap .dw-certs-roll.is-paused .dw-certs-roll__track{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.dw-certs-roll__pause{display:none}}
/* 1.2.1 인증 카드 약한 그림자 */
.dw-cert{box-shadow:0 6px 18px rgba(15,30,60,.12)}
.dw-cert:hover{box-shadow:0 12px 28px rgba(15,30,60,.18)}
.dw-certs-roll{padding:10px 0 26px}
