﻿:root{
  --paper:#f4f0e7;
  --paper-deep:#e9e2d5;
  --ink:#1d201d;
  --muted:#67695f;
  --olive:#58634c;
  --olive-dark:#3f4937;
  --sand:#bda983;
  --line:#cec6b8;
  --white:#fffdf8;
  --max:1240px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:
    Pretendard,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    Arial,
    sans-serif;
  line-height:1.72;
  word-break:keep-all;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(29,32,29,.96);
  color:#f8f4ea;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.header-inner{
  width:min(var(--max),calc(100% - 40px));
  min-height:78px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

.logo{
  display:inline-flex;
  align-items:center;
  font-size:19px;
  font-weight:800;
  letter-spacing:-.04em;
  white-space:nowrap;
}

.logo::before{
  content:"";
  width:12px;
  height:12px;
  margin-right:11px;
  background:var(--sand);
  transform:rotate(45deg);
}

.main-nav{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.main-nav a{
  padding:9px 13px;
  font-size:14px;
  font-weight:650;
  color:#ddd9ce;
  border-bottom:1px solid transparent;
  transition:.2s ease;
}

.main-nav a:hover{
  color:#fff;
  border-bottom-color:var(--sand);
}

main{
  overflow:hidden;
}

.service-section{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto;
  padding:96px 0;
  border-bottom:1px solid var(--line);
}

.service-section:first-of-type{
  position:relative;
  min-height:580px;
  display:grid;
  align-content:center;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
  gap:70px;
}

.service-section:first-of-type::before{
  content:"GIMPO · UIJEONGBU";
  position:absolute;
  top:52px;
  right:0;
  writing-mode:vertical-rl;
  font-size:11px;
  letter-spacing:.28em;
  font-weight:800;
  color:var(--olive);
}

.service-section:first-of-type::after{
  content:"";
  position:absolute;
  right:7%;
  bottom:55px;
  width:190px;
  height:190px;
  border:1px solid var(--sand);
  border-radius:50%;
  opacity:.65;
  pointer-events:none;
}

.section-heading{
  position:relative;
  max-width:900px;
  margin-bottom:42px;
}

.section-label{
  margin:0 0 18px;
  color:var(--olive);
  font-size:12px;
  font-weight:850;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.section-number{
  display:inline-block;
  margin-bottom:18px;
  padding-bottom:5px;
  border-bottom:2px solid var(--ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  font-weight:700;
  letter-spacing:.08em;
}

.section-heading h1,
.section-heading h2{
  margin:0;
  max-width:920px;
  line-height:1.18;
  letter-spacing:-.055em;
  font-weight:850;
}

.section-heading h1{
  font-size:clamp(42px,6.3vw,88px);
}

.section-heading h2{
  font-size:clamp(32px,4.2vw,58px);
}

.section-heading p{
  max-width:760px;
  margin:24px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
}

.region-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--ink);
  border-left:1px solid var(--line);
}

.region-card{
  position:relative;
  min-height:120px;
  padding:28px 22px;
  display:flex;
  align-items:flex-end;
  background:transparent;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-size:17px;
  font-weight:800;
  letter-spacing:-.035em;
  transition:
    background .2s ease,
    color .2s ease,
    padding .2s ease;
}

.region-card::before{
  content:"AREA";
  position:absolute;
  top:17px;
  left:22px;
  color:#8e8b82;
  font-size:9px;
  font-weight:800;
  letter-spacing:.18em;
}

.region-card::after{
  content:"↗";
  position:absolute;
  right:18px;
  top:16px;
  font-size:15px;
  color:var(--olive);
}

.region-card:hover{
  padding-left:29px;
  background:var(--ink);
  color:#fff;
}

.region-card:hover::before,
.region-card:hover::after{
  color:var(--sand);
}

.guide-section{
  width:100%;
  margin:0;
  padding:100px max(20px,calc((100% - var(--max))/2));
  background:var(--ink);
  color:#f3efe6;
}

.guide-section .section-label{
  color:var(--sand);
}

.guide-section .section-heading p{
  color:#bfc0b8;
}

.guide-box{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:60px;
  margin-top:40px;
  padding-top:38px;
  border-top:1px solid rgba(255,255,255,.22);
}

.guide-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.13);
}

.guide-steps > *{
  padding:30px 25px;
  background:var(--ink);
}

.guide-steps > *:nth-child(even){
  background:#242824;
}

.region-window{
  width:min(var(--max),calc(100% - 40px));
  margin:92px auto;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  min-height:400px;
  border:1px solid var(--ink);
  background:var(--white);
}

.region-window__copy{
  padding:64px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.region-window__label{
  margin:0 0 16px;
  color:var(--olive);
  font-size:11px;
  font-weight:900;
  letter-spacing:.22em;
}

.region-window__text{
  margin:0;
  max-width:640px;
  font-size:clamp(26px,3vw,44px);
  line-height:1.28;
  font-weight:850;
  letter-spacing:-.05em;
}

.region-window__visual{
  position:relative;
  min-height:360px;
  overflow:hidden;
  background:
    linear-gradient(
      135deg,
      transparent 0 48%,
      rgba(255,255,255,.12) 48% 50%,
      transparent 50% 100%
    ),
    var(--olive);
}

.region-window__visual::before{
  content:"1004";
  position:absolute;
  left:32px;
  bottom:28px;
  color:#f0eadc;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(54px,8vw,120px);
  line-height:.8;
  opacity:.18;
}

.region-window__visual::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  top:50%;
  left:50%;
  border:1px solid rgba(255,255,255,.48);
  transform:translate(-50%,-50%) rotate(45deg);
}

.region-window__cta{
  align-self:flex-start;
  margin-top:30px;
  display:inline-flex;
  align-items:center;
  gap:17px;
  padding:14px 0;
  color:var(--ink);
  border-bottom:2px solid var(--ink);
  font-weight:850;
  font-size:15px;
  transition:.2s ease;
}

.region-window__cta::after{
  content:"→";
  transition:transform .2s ease;
}

.region-window__cta:hover{
  color:var(--olive);
  border-bottom-color:var(--olive);
}

.region-window__cta:hover::after{
  transform:translateX(6px);
}

.section-external-cta{
  width:min(var(--max),calc(100% - 40px));
  margin:80px auto;
  padding:0;
  background:transparent;
  text-align:left;
}

.section-external-cta a{
  min-height:138px;
  padding:32px 38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  background:var(--sand);
  color:var(--ink);
  border:1px solid var(--ink);
  font-size:clamp(20px,2.6vw,34px);
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.045em;
  transition:
    transform .2s ease,
    background .2s ease;
}

.section-external-cta a::after{
  content:"↗";
  flex:0 0 auto;
  font-size:34px;
  font-weight:400;
}

.section-external-cta a:hover{
  transform:translate(-5px,-5px);
  background:#cbb58e;
  box-shadow:5px 5px 0 var(--ink);
}

.site-footer{
  margin-top:110px;
  padding:54px 20px;
  background:#151715;
  color:#bdbdb4;
  border-top:7px solid var(--olive);
  text-align:center;
  font-size:13px;
  line-height:1.9;
}

.site-footer a{
  color:#f3efe6;
}

::selection{
  background:var(--olive);
  color:#fff;
}

@media (max-width:980px){

  .header-inner{
    min-height:70px;
    align-items:flex-start;
    padding:18px 0;
  }

  .main-nav{
    max-width:65%;
  }

  .service-section{
    padding:72px 0;
  }

  .service-section:first-of-type{
    min-height:auto;
    grid-template-columns:1fr;
    gap:30px;
    padding-top:88px;
  }

  .service-section:first-of-type::after{
    width:130px;
    height:130px;
  }

  .region-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .guide-box{
    grid-template-columns:1fr;
  }

  .region-window{
    grid-template-columns:1fr;
  }

  .region-window__visual{
    min-height:260px;
  }
}

@media (max-width:700px){

  body{
    line-height:1.65;
  }

  .header-inner{
    width:min(100% - 28px,var(--max));
    display:block;
  }

  .logo{
    margin-bottom:12px;
  }

  .main-nav{
    max-width:none;
    justify-content:flex-start;
    margin-left:-8px;
  }

  .main-nav a{
    padding:7px 8px;
    font-size:12px;
  }

  .service-section,
  .region-window,
  .section-external-cta{
    width:calc(100% - 28px);
  }

  .service-section{
    padding:58px 0;
  }

  .service-section:first-of-type{
    padding-top:70px;
  }

  .service-section:first-of-type::before{
    top:20px;
    writing-mode:horizontal-tb;
    font-size:9px;
  }

  .service-section:first-of-type::after{
    display:none;
  }

  .section-heading{
    margin-bottom:30px;
  }

  .section-heading h1{
    font-size:39px;
  }

  .section-heading h2{
    font-size:31px;
  }

  .section-heading p{
    font-size:15px;
  }

  .region-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .region-card{
    min-height:105px;
    padding:24px 16px;
    font-size:15px;
  }

  .region-card::before{
    left:16px;
  }

  .guide-section{
    padding:62px 14px;
  }

  .guide-steps{
    grid-template-columns:1fr;
  }

  .region-window{
    margin:54px auto;
  }

  .region-window__copy{
    padding:40px 27px;
  }

  .region-window__text{
    font-size:28px;
  }

  .region-window__visual{
    min-height:220px;
  }

  .section-external-cta{
    margin:52px auto;
  }

  .section-external-cta a{
    min-height:112px;
    padding:25px 22px;
    font-size:20px;
  }

  .site-footer{
    margin-top:65px;
  }
}



/* =========================================================
   SEONGNAM HWASEONG DESIGN START
   CHARCOAL / IVORY / TEAL DIRECTORY SYSTEM
   ========================================================= */

:root{
  --sh-bg:#f3f0e9;
  --sh-paper:#fffdf8;
  --sh-dark:#171d1c;
  --sh-dark2:#242c2a;
  --sh-teal:#11877d;
  --sh-teal-dark:#08675f;
  --sh-line:#c9cec8;
  --sh-muted:#6d7773;
  --sh-cream:#e8e2d7;
}

html{
  background:var(--sh-bg);
}

body{
  margin:0 !important;
  background:
    linear-gradient(rgba(23,29,28,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,29,28,.035) 1px, transparent 1px),
    var(--sh-bg) !important;
  background-size:38px 38px !important;
  color:var(--sh-dark) !important;
  font-family:
    Pretendard,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    Arial,
    sans-serif !important;
}

/* ---------- HEADER ---------- */

.site-header{
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
  background:rgba(23,29,28,.97) !important;
  color:#fff !important;
  border:0 !important;
  border-bottom:4px solid var(--sh-teal) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}

.site-header a,
.site-header span,
.site-header strong{
  color:#fff !important;
}

.site-header a{
  text-decoration:none !important;
}

/* ---------- HERO / REGION WINDOW ---------- */

.region-window{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr) !important;
  gap:0 !important;
  max-width:1280px !important;
  margin:36px auto 70px !important;
  padding:0 !important;
  background:var(--sh-paper) !important;
  border:1px solid var(--sh-dark) !important;
  border-radius:0 !important;
  box-shadow:14px 14px 0 rgba(23,29,28,.10) !important;
  overflow:hidden !important;
}

.region-window__copy{
  position:relative !important;
  padding:76px 62px 70px !important;
  background:var(--sh-paper) !important;
  border-right:1px solid var(--sh-dark) !important;
  z-index:2 !important;
}

.region-window__copy::before{
  content:"SEONGNAM / HWASEONG" !important;
  display:block !important;
  width:max-content !important;
  margin-bottom:28px !important;
  padding:8px 12px !important;
  background:var(--sh-dark) !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.16em !important;
}

.region-window__label{
  display:block !important;
  margin-bottom:14px !important;
  color:var(--sh-teal-dark) !important;
  font-size:13px !important;
  line-height:1.5 !important;
  font-weight:800 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
}

.region-window h1,
.region-window__copy h1{
  margin:0 0 28px !important;
  color:var(--sh-dark) !important;
  font-size:clamp(42px,5vw,72px) !important;
  line-height:1.03 !important;
  letter-spacing:-.06em !important;
  font-weight:900 !important;
  word-break:keep-all !important;
}

.region-window__text{
  max-width:680px !important;
  margin:0 0 34px !important;
  color:#4e5955 !important;
  font-size:16px !important;
  line-height:1.85 !important;
}

.region-window__cta{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:54px !important;
  padding:0 25px !important;
  margin-top:8px !important;
  background:var(--sh-teal) !important;
  color:#fff !important;
  border:1px solid var(--sh-teal) !important;
  border-radius:0 !important;
  box-shadow:6px 6px 0 var(--sh-dark) !important;
  font-weight:800 !important;
  text-decoration:none !important;
  transition:.18s ease !important;
}

.region-window__cta:hover{
  transform:translate(3px,3px) !important;
  box-shadow:3px 3px 0 var(--sh-dark) !important;
  background:var(--sh-teal-dark) !important;
}

.region-window__visual{
  position:relative !important;
  min-height:560px !important;
  background:var(--sh-dark2) !important;
  border-radius:0 !important;
  overflow:hidden !important;
}

.region-window__visual img{
  width:100% !important;
  height:100% !important;
  min-height:560px !important;
  object-fit:cover !important;
  filter:saturate(.72) contrast(1.04) !important;
}

.region-window__visual::before{
  content:"SEONGNAM · HWASEONG" !important;
  position:absolute !important;
  left:0 !important;
  bottom:0 !important;
  z-index:3 !important;
  padding:14px 19px !important;
  background:var(--sh-teal) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.12em !important;
}

/* ---------- SECTION ---------- */

.service-section,
.region-section{
  max-width:1280px !important;
  margin:0 auto 76px !important;
  padding:0 24px !important;
}

.section-heading{
  position:relative !important;
  display:grid !important;
  grid-template-columns:90px 1fr !important;
  align-items:end !important;
  gap:24px !important;
  margin:0 0 28px !important;
  padding:0 0 18px !important;
  border-bottom:2px solid var(--sh-dark) !important;
}

.section-number{
  color:var(--sh-teal) !important;
  font-size:46px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:-.05em !important;
}

.section-label{
  color:var(--sh-dark) !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}

/* ---------- REGION DIRECTORY ---------- */

.region-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:1px !important;
  padding:1px !important;
  background:var(--sh-dark) !important;
  border-radius:0 !important;
}

.region-card,
a.region-card{
  position:relative !important;
  min-height:120px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:25px 24px !important;
  background:var(--sh-paper) !important;
  color:var(--sh-dark) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
  transition:.18s ease !important;
}

.region-card::after,
a.region-card::after{
  content:"→" !important;
  position:absolute !important;
  right:20px !important;
  bottom:17px !important;
  color:var(--sh-teal) !important;
  font-size:22px !important;
  font-weight:900 !important;
}

.region-card:hover,
a.region-card:hover{
  background:#dfeeea !important;
  transform:none !important;
  box-shadow:inset 6px 0 0 var(--sh-teal) !important;
}

/* ---------- STATIONS ---------- */

.station-card{
  display:inline-flex !important;
  align-items:center !important;
  min-height:44px !important;
  padding:0 16px !important;
  margin:4px !important;
  background:transparent !important;
  color:var(--sh-dark) !important;
  border:1px solid #929b97 !important;
  border-radius:0 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

.station-card:hover{
  background:var(--sh-dark) !important;
  color:#fff !important;
  border-color:var(--sh-dark) !important;
}

/* ---------- EXTERNAL CTA ---------- */

.section-external-cta{
  display:block !important;
  width:100% !important;
  max-width:1280px !important;
  margin:50px auto 76px !important;
  padding:0 !important;
  background:var(--sh-dark) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:10px 10px 0 rgba(17,135,125,.28) !important;
  overflow:hidden !important;
}

.section-external-cta a,
.section-external-cta .region-window__cta{
  display:flex !important;
  width:100% !important;
  min-height:84px !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:0 32px !important;
  margin:0 !important;
  background:var(--sh-dark) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font-size:17px !important;
  font-weight:900 !important;
  text-decoration:none !important;
}

.section-external-cta a::after{
  content:"↗" !important;
  color:#62d2c6 !important;
  font-size:28px !important;
}

/* ---------- FOOTER ---------- */

.site-footer{
  margin-top:80px !important;
  padding:54px 24px !important;
  background:var(--sh-dark) !important;
  color:#cbd3d0 !important;
  border:0 !important;
  border-top:6px solid var(--sh-teal) !important;
  border-radius:0 !important;
}

.site-footer a{
  color:#fff !important;
}

/* ---------- MOBILE ---------- */

@media(max-width:900px){

  .region-window{
    grid-template-columns:1fr !important;
    margin:18px 14px 52px !important;
    box-shadow:8px 8px 0 rgba(23,29,28,.10) !important;
  }

  .region-window__copy{
    padding:46px 26px 44px !important;
    border-right:0 !important;
    border-bottom:1px solid var(--sh-dark) !important;
  }

  .region-window h1,
  .region-window__copy h1{
    font-size:clamp(36px,11vw,54px) !important;
  }

  .region-window__visual,
  .region-window__visual img{
    min-height:380px !important;
  }

  .region-grid{
    grid-template-columns:1fr !important;
  }

  .section-heading{
    grid-template-columns:62px 1fr !important;
  }

  .section-number{
    font-size:34px !important;
  }

  .service-section,
  .region-section{
    padding:0 14px !important;
  }
}

/* =========================================================
   SEONGNAM HWASEONG DESIGN END
   ========================================================= */
