/* v13 moatown */.moatown-header{background:rgba(255,255,255,.97)}.moatown-main{background:#fff}.mt-hero{position:relative;min-height:760px;padding-top:84px;overflow:hidden;background:#07172f}.mt-hero-bg{position:absolute;inset:84px 0 0;background:linear-gradient(90deg,rgba(4,20,48,.98) 0%,rgba(4,31,74,.9) 42%,rgba(0,73,143,.52) 100%),radial-gradient(circle at 75% 22%,rgba(56,164,255,.38),transparent 30%),linear-gradient(135deg,#061a37,#0b4f95)}.mt-hero-bg:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);background-size:54px 54px;opacity:.65}.mt-hero-bg:after{content:"";position:absolute;right:-100px;bottom:-180px;width:760px;height:760px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 80px rgba(255,255,255,.035),0 0 0 160px rgba(255,255,255,.025)}.mt-hero-grid{position:relative;z-index:3;display:grid;grid-template-columns:1fr 480px;gap:70px;align-items:center;min-height:676px}.mt-eyebrow,.mt-kicker{margin:0 0 16px;color:#6fc3ff;font-size:13px;font-weight:950;letter-spacing:.18em}.mt-kicker{color:#0055aa}.mt-kicker.light{color:#9fd1ff}.mt-hero h1{margin:0;color:#fff;font-size:clamp(50px,6vw,82px);line-height:1.05;letter-spacing:-.085em}.mt-sub{max-width:640px;margin:26px 0 0;color:#dcecff;font-size:21px;line-height:1.75;font-weight:650}.mt-buttons{display:flex;gap:14px;margin-top:38px}.mt-btn{height:56px;padding:0 24px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-weight:950}.mt-btn.primary{background:#fff;color:#06235b}.mt-btn.ghost{border:1px solid rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.08)}.mt-dashboard{height:480px;border-radius:30px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(14px);box-shadow:0 32px 90px rgba(0,0,0,.26);overflow:hidden;position:relative}.dash-top{padding:34px;color:#fff}.dash-top span{display:block;color:#8fd0ff;font-weight:950;font-size:12px;letter-spacing:.18em;margin-bottom:12px}.dash-top strong{font-size:30px;line-height:1.28;letter-spacing:-.06em}.dash-map{position:absolute;left:34px;right:34px;top:160px;bottom:86px;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(209,233,255,.86));overflow:hidden}.dash-map:before{content:"";position:absolute;inset:0;background:linear-gradient(45deg,transparent 0 48%,rgba(0,74,156,.15) 48.2%,transparent 49%),linear-gradient(-28deg,transparent 0 40%,rgba(0,74,156,.13) 40.2%,transparent 41%),linear-gradient(90deg,rgba(0,74,156,.07) 1px,transparent 1px);background-size:100% 100%,100% 100%,34px 34px}.pin{position:absolute;width:16px;height:16px;border-radius:50%;background:#e60012;box-shadow:0 0 0 8px rgba(230,0,18,.13)}.p1{left:23%;top:35%}.p2{left:48%;top:42%}.p3{left:67%;top:28%}.p4{left:58%;top:65%}.district{position:absolute;font-weight:950;color:#003b8f;background:#fff;border-radius:99px;padding:6px 10px;font-size:13px}.d1{left:15%;bottom:18%}.d2{left:45%;top:20%}.d3{right:15%;bottom:24%}.dash-bottom{position:absolute;left:34px;right:34px;bottom:28px;color:#dcecff;font-weight:800}.mt-statbar{position:absolute;left:50%;bottom:0;transform:translateX(-50%);z-index:4;width:min(1180px,calc(100% - 56px));display:grid;grid-template-columns:repeat(4,1fr);background:#fff;box-shadow:0 -18px 60px rgba(0,20,60,.18)}.mt-statbar div{padding:28px;border-left:1px solid #e5eaf2}.mt-statbar div:first-child{border-left:0}.mt-statbar span{display:block;color:#0055aa;font-weight:950;font-size:13px}.mt-statbar strong{display:block;margin-top:8px;color:#061a37;font-size:22px;letter-spacing:-.06em}.mt-statbar em{font-style:normal;color:#667085;font-size:12px;font-weight:900}.mt-section{padding:96px 0}.trust-strip{background:#f5f8fc;padding:70px 0 60px}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.trust-grid article{background:#fff;border:1px solid #e5eaf2;border-radius:18px;padding:30px;box-shadow:0 16px 40px rgba(0,30,80,.06)}.trust-grid b{color:#0055aa}.trust-grid strong{display:block;margin:16px 0 10px;color:#061a37;font-size:22px}.trust-grid p{margin:0;color:#667085;line-height:1.7}.mt-title-row{display:flex;align-items:end;justify-content:space-between;gap:50px;margin-bottom:38px}.mt-title-row h2,.admininfo h2,.process-section h2,.contact-mt h2{margin:0;color:#061a37;font-size:46px;letter-spacing:-.075em;line-height:1.16}.mt-title-row>p{max-width:560px;color:#667085;line-height:1.75;margin:0}.info-cards{display:grid;grid-template-columns:1.3fr .85fr .85fr;gap:22px}.info-cards article{border:1px solid #e2e9f3;border-radius:24px;background:#fff;box-shadow:0 18px 46px rgba(0,30,80,.08);padding:32px;min-height:260px}.info-cards .wide-card{background:linear-gradient(135deg,#06235b,#0055aa);color:#fff}.info-cards span{display:inline-block;color:#6fc3ff;font-size:13px;font-weight:950;letter-spacing:.12em}.info-cards article:not(.wide-card) span{color:#0055aa}.info-cards h3{margin:18px 0 14px;font-size:28px;line-height:1.25;letter-spacing:-.06em}.info-cards p{margin:0;color:inherit;opacity:.74;line-height:1.75}.meta-list{margin-top:28px;display:grid;grid-template-columns:76px 1fr;gap:11px 16px}.meta-list b{color:#9fd1ff}.meta-list em{font-style:normal;color:#fff}.process-section{background:linear-gradient(135deg,#061a37,#003b8f);color:#fff}.process-section h2{color:#fff}.process-line{margin-top:42px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.process-line article{position:relative;min-height:240px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);border-radius:20px;padding:28px}.process-line em{font-style:normal;color:#9fd1ff;font-weight:950;font-size:12px}.process-line strong{display:block;margin:48px 0 12px;font-size:24px;letter-spacing:-.06em}.process-line p{margin:0;color:#dcecff;line-height:1.65}.admininfo{background:#fff}.admininfo-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}.admin-desc{color:#667085;font-size:18px;line-height:1.8}.doc-list{display:grid;gap:14px}.doc-list a{display:grid;grid-template-columns:60px 1fr 220px;align-items:center;gap:20px;padding:22px 24px;border:1px solid #e2e9f3;border-radius:16px;background:#f9fbfe}.doc-list span{font-weight:950;color:#0055aa}.doc-list strong{font-size:20px;color:#061a37}.doc-list em{font-style:normal;color:#667085;text-align:right}.projects-mt{background:#f5f8fc}.small-link{font-weight:950;color:#0055aa}.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.status-grid article{background:#fff;border:1px solid #e2e9f3;border-radius:22px;padding:30px;min-height:260px;box-shadow:0 18px 46px rgba(0,30,80,.07)}.status-grid i{font-style:normal;background:#eaf3ff;color:#0055aa;border-radius:6px;padding:7px 10px;font-weight:950;font-size:13px}.status-grid h3{margin:42px 0 12px;font-size:28px;letter-spacing:-.06em;color:#061a37}.status-grid p{color:#667085;line-height:1.7}.status-grid span{display:inline-block;margin-top:18px;color:#e60012;font-weight:950}.contact-mt{background:linear-gradient(135deg,#061a37,#0055aa);color:#fff}.contact-mt h2{color:#fff}.contact-mt p{color:#dcecff}.contact-mt-box{display:flex;align-items:center;justify-content:space-between;gap:50px}.contact-lines{min-width:420px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:28px}.contact-lines p{margin:0 0 12px}.contact-lines b{display:inline-block;min-width:120px;color:#fff}@media(max-width:1100px){.mt-hero-grid,.admininfo-grid,.info-cards{grid-template-columns:1fr}.mt-dashboard{width:min(100%,480px)}.mt-statbar,.process-line,.trust-grid,.status-grid{grid-template-columns:repeat(2,1fr);position:relative;left:auto;bottom:auto;transform:none;margin:0 auto}.mt-hero{padding-bottom:40px}.contact-mt-box{flex-direction:column;align-items:flex-start}}@media(max-width:700px){.mt-hero h1{font-size:42px}.mt-dashboard{height:420px}.mt-statbar,.process-line,.trust-grid,.status-grid{grid-template-columns:1fr}.mt-title-row{flex-direction:column;align-items:flex-start}.doc-list a{grid-template-columns:1fr}.doc-list em{text-align:left}.contact-lines{min-width:0;width:100%}}

/* v14: 고급 애니메이션 */
@keyframes gradientShift{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes floatCard{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}
@keyframes pulsePin{
  0%{box-shadow:0 0 0 0 rgba(230,0,18,.35)}
  70%{box-shadow:0 0 0 18px rgba(230,0,18,0)}
  100%{box-shadow:0 0 0 0 rgba(230,0,18,0)}
}
@keyframes particleMove{
  0%{transform:translate3d(0,0,0) scale(1);opacity:.15}
  50%{transform:translate3d(40px,-60px,0) scale(1.25);opacity:.55}
  100%{transform:translate3d(0,0,0) scale(1);opacity:.15}
}
@keyframes shine{
  0%{transform:translateX(-140%) skewX(-18deg)}
  100%{transform:translateX(220%) skewX(-18deg)}
}
@keyframes lineFlow{
  0%{background-position:0 0}
  100%{background-position:54px 54px}
}

.mt-hero-bg{
  background-size:180% 180%;
  animation:gradientShift 14s ease infinite;
}
.mt-hero-bg:before{
  animation:lineFlow 18s linear infinite;
}
.floating-card{
  animation:floatCard 6s ease-in-out infinite;
}
.pin{
  animation:pulsePin 2.4s ease-out infinite;
}
.p2{animation-delay:.4s}.p3{animation-delay:.8s}.p4{animation-delay:1.2s}

.hero-particles{
  position:absolute;
  inset:84px 0 0;
  z-index:2;
  pointer-events:none;
  overflow:hidden;
}
.hero-particles i{
  position:absolute;
  width:8px;height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.75);
  filter:blur(.4px);
  animation:particleMove 8s ease-in-out infinite;
}
.hero-particles i:nth-child(1){left:12%;top:24%;animation-delay:0s}
.hero-particles i:nth-child(2){left:28%;top:64%;width:5px;height:5px;animation-delay:1.2s}
.hero-particles i:nth-child(3){left:48%;top:18%;width:11px;height:11px;animation-delay:2.2s}
.hero-particles i:nth-child(4){left:68%;top:56%;width:6px;height:6px;animation-delay:3s}
.hero-particles i:nth-child(5){left:82%;top:22%;width:9px;height:9px;animation-delay:4.1s}
.hero-particles i:nth-child(6){left:90%;top:72%;width:4px;height:4px;animation-delay:5s}

.reveal-left,.reveal-right,.reveal-up,.reveal-group .reveal-item{
  opacity:0;
  transition:opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal-left{transform:translateX(-50px)}
.reveal-right{transform:translateX(50px)}
.reveal-up{transform:translateY(42px)}
.reveal-group .reveal-item{transform:translateY(36px)}
.is-visible{opacity:1!important;transform:translate(0,0)!important}
.reveal-group.is-visible .reveal-item{opacity:1;transform:translateY(0)}
.reveal-group.is-visible .reveal-item:nth-child(1){transition-delay:.05s}
.reveal-group.is-visible .reveal-item:nth-child(2){transition-delay:.16s}
.reveal-group.is-visible .reveal-item:nth-child(3){transition-delay:.27s}
.reveal-group.is-visible .reveal-item:nth-child(4){transition-delay:.38s}
.reveal-group.is-visible .reveal-item:nth-child(5){transition-delay:.49s}

.mt-statbar div,
.trust-grid article,
.info-cards article,
.process-line article,
.doc-list a,
.status-grid article{
  position:relative;
  overflow:hidden;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.mt-statbar div:hover,
.trust-grid article:hover,
.info-cards article:hover,
.process-line article:hover,
.doc-list a:hover,
.status-grid article:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 60px rgba(0,38,92,.16);
  border-color:rgba(0,85,170,.25);
}
.mt-statbar div:after,
.trust-grid article:after,
.info-cards article:after,
.process-line article:after,
.doc-list a:after,
.status-grid article:after{
  content:"";
  position:absolute;
  top:-20%;
  left:-50%;
  width:34%;
  height:140%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
  transform:skewX(-18deg);
  opacity:0;
}
.mt-statbar div:hover:after,
.trust-grid article:hover:after,
.info-cards article:hover:after,
.process-line article:hover:after,
.doc-list a:hover:after,
.status-grid article:hover:after{
  opacity:1;
  animation:shine .9s ease forwards;
}
.mt-btn,.login-btn,.small-link{
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.mt-btn:hover,.login-btn:hover,.small-link:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(0,42,110,.22);
}
.dash-map{
  transition:transform .5s ease, box-shadow .5s ease;
}
.mt-dashboard:hover .dash-map{
  transform:scale(1.025);
  box-shadow:0 18px 50px rgba(0,35,90,.20);
}
@media (prefers-reduced-motion: reduce){
  *,*:before,*:after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
}


/* v15: 행정정보 대시보드 3D 지도 */
.dash-map-3d{
  perspective:900px;
  overflow:visible;
  background:transparent!important;
}
.dash-map-3d:before{
  display:none!important;
}
.map-plane{
  position:absolute;
  inset:8px 16px 12px;
  border-radius:24px;
  background:
    linear-gradient(135deg,#edf7ff 0%,#d7ecff 45%,#c8e3fb 100%);
  box-shadow:
    0 26px 45px rgba(0,35,90,.24),
    inset 0 0 0 1px rgba(0,74,156,.10);
  transform:rotateX(58deg) rotateZ(-18deg);
  transform-style:preserve-3d;
  overflow:visible;
}
.map-plane:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  background-image:
    linear-gradient(rgba(0,74,156,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,74,156,.07) 1px,transparent 1px);
  background-size:34px 34px;
  opacity:.72;
}
.map-plane:after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:-14px;
  height:18px;
  border-radius:0 0 20px 20px;
  background:linear-gradient(180deg,#9fc7ea,#7aaad4);
  transform:translateZ(-1px);
  filter:brightness(.92);
}
.road{
  position:absolute;
  z-index:2;
  background:#f8fbff;
  box-shadow:0 0 0 2px rgba(0,74,156,.06);
  border-radius:999px;
}
.road:after{
  content:"";
  position:absolute;
  inset:50% 0 auto;
  height:1px;
  background:repeating-linear-gradient(90deg,rgba(0,74,156,.28) 0 10px,transparent 10px 18px);
}
.road-a{left:4%;right:4%;top:48%;height:18px;transform:rotate(-7deg)}
.road-b{top:5%;bottom:5%;left:42%;width:16px;transform:rotate(11deg)}
.road-c{left:16%;right:18%;top:24%;height:12px;transform:rotate(28deg)}
.park{
  position:absolute;
  z-index:1;
  border-radius:12px;
  background:
    radial-gradient(circle at 25% 30%,#5db36c 0 4px,transparent 5px),
    radial-gradient(circle at 65% 60%,#4fa75f 0 4px,transparent 5px),
    linear-gradient(135deg,#a7dcae,#7fc88b);
  box-shadow:inset 0 0 0 1px rgba(0,105,45,.12);
}
.park-a{left:8%;top:10%;width:100px;height:64px}
.park-b{right:8%;bottom:12%;width:82px;height:52px}

.building{
  position:absolute;
  z-index:4;
  width:30px;
  height:30px;
  transform-style:preserve-3d;
}
.building span{
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:100%;
  background:linear-gradient(145deg,#ffffff,#dcecff);
  border:1px solid rgba(0,74,156,.16);
  border-radius:3px;
  transform:translateZ(30px);
  box-shadow:0 12px 18px rgba(0,45,110,.20);
}
.building span:before{
  content:"";
  position:absolute;
  left:0;
  top:100%;
  width:100%;
  height:30px;
  background:linear-gradient(180deg,#b9d8f1,#93bddf);
  transform-origin:top;
  transform:rotateX(-90deg);
}
.building span:after{
  content:"";
  position:absolute;
  left:100%;
  top:0;
  width:30px;
  height:100%;
  background:linear-gradient(90deg,#a6cce9,#7faed2);
  transform-origin:left;
  transform:rotateY(90deg);
}
.b1{left:18%;top:30%}.b2{left:28%;top:18%;transform:scale(1.2)}
.b3{left:56%;top:16%;transform:scale(.9)}.b4{left:68%;top:34%;transform:scale(1.35)}
.b5{left:22%;top:64%;transform:scale(.8)}.b6{left:48%;top:62%;transform:scale(1.1)}
.b7{left:76%;top:62%;transform:scale(.95)}.b8{left:38%;top:38%;transform:scale(.75)}
.b9{left:62%;top:48%;transform:scale(.7)}

.dash-map-3d .pin{
  z-index:8;
  width:14px;
  height:14px;
  transform:translateZ(44px);
}
.dash-map-3d .district{
  z-index:9;
  transform:translateZ(48px) rotateZ(18deg) rotateX(-58deg);
  box-shadow:0 6px 14px rgba(0,35,90,.16);
}
.dash-map-3d .p1{left:20%;top:42%}
.dash-map-3d .p2{left:46%;top:38%}
.dash-map-3d .p3{left:70%;top:30%}
.dash-map-3d .p4{left:58%;top:68%}
.dash-map-3d .d1{left:12%;bottom:16%}
.dash-map-3d .d2{left:43%;top:12%}
.dash-map-3d .d3{right:10%;bottom:18%}

.mt-dashboard:hover .map-plane{
  transform:rotateX(54deg) rotateZ(-15deg) scale(1.025);
}
.map-plane{
  transition:transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .7s ease;
}
@media(max-width:700px){
  .dash-map-3d{
    left:24px;
    right:24px;
  }
  .map-plane{
    inset:10px 12px 16px;
    transform:rotateX(58deg) rotateZ(-18deg) scale(.92);
  }
}


/* v16 안정화: 자바스크립트 오류나 파일 누락 시에도 페이지가 항상 보이도록 처리 */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-group .reveal-item{
  opacity:1!important;
  transform:none!important;
}

/* 자바스크립트가 정상 로드된 경우에만 등장 애니메이션 시작 */
body.animations-ready .reveal-left,
body.animations-ready .reveal-right,
body.animations-ready .reveal-up,
body.animations-ready .reveal-group .reveal-item{
  opacity:0!important;
  transition:opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
body.animations-ready .reveal-left{transform:translateX(-50px)!important}
body.animations-ready .reveal-right{transform:translateX(50px)!important}
body.animations-ready .reveal-up{transform:translateY(42px)!important}
body.animations-ready .reveal-group .reveal-item{transform:translateY(36px)!important}

body.animations-ready .is-visible,
body.animations-ready .reveal-group.is-visible .reveal-item{
  opacity:1!important;
  transform:none!important;
}
