/* ===== 테마 색상: 여기만 바꾸면 전체 톤이 바뀝니다 ===== */
:root {
  --c-primary: #1c2b4a;   /* 메인 (네이비) */
  --c-accent: #b8925a;    /* 포인트 (골드) */
  --c-text: #222;
  --c-muted: #6b7280;
  --c-line: #e5e7eb;
  --c-bg: #fff;
  --c-bg-alt: #f6f4f0;
  --header-h: 72px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  color: var(--c-text); background: var(--c-bg); line-height: 1.6;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

/* 이미지가 아직 없을 때 표시되는 자리표시자 */
.ph {
  display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: 16 / 9; background: repeating-linear-gradient(45deg, #e9e6df 0 12px, #f1eee8 12px 24px);
  color: #8a8172; font-size: 14px; font-weight: 600; text-align: center; padding: 12px;
}
.logo .ph { aspect-ratio: auto; width: 120px; height: 36px; font-size: 12px; background: #f1eee8; }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; transition: .2s;
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* ===== 헤더 ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.logo img { height: 36px; width: auto; }
.gnb { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.gnb a:hover { color: var(--c-accent); }
.gnb__cta { padding: 8px 18px; border-radius: 999px; background: var(--c-primary); color: #fff; }
.gnb__cta:hover { color: #fff !important; background: var(--c-accent); }
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--c-primary); transition: .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 메인 비주얼 ===== */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 960px; overflow: hidden; background: var(--c-primary); color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.6) 100%); }
.hero__content { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero__content { position: absolute; z-index: 2; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 100%; max-width: 1200px; padding: 0 20px; text-align: center; }
.hero__eyebrow { letter-spacing: .3em; font-size: 14px; color: #e7d3b0; margin-bottom: 12px; }
.hero__title { font-size: clamp(36px, 6vw, 72px); font-weight: 800; line-height: 1.2; }
.hero__desc { margin-top: 16px; font-size: clamp(16px, 2vw, 20px); opacity: .9; }
.hero__btns { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__ctrl { position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; font-size: 14px; }
.hero__arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: none; color: #fff; font-size: 20px; cursor: pointer; }

/* ===== 이벤트 ===== */
.event { background: var(--c-primary); color: #fff; padding: 36px 0; }
.event__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.event__tag { color: var(--c-accent); font-weight: 800; letter-spacing: .2em; font-size: 13px; }
.event__title { font-size: 24px; margin: 4px 0; }
.event__desc { opacity: .8; }
/* 이벤트 배너 사진: side = 사진 옆에 글씨, full = 사진 크게 (글자가 들어간 홍보 이미지용) */
.event__text { flex: 1; min-width: 220px; }
.event--side .event__img { width: 340px; max-width: 100%; border-radius: 10px; }
section.event.event--full { padding: 24px 0; background: none; border: 0; }
.event__imglink { display: block; margin: 0 auto; }
/* 배너 사진 크기: 작게 480 · 보통 760 · 크게 1000 · 꽉 차게 (본문 폭) */
.event__imglink.isz--sm, .isz-wrap.isz--sm .cards { max-width: 480px; }
.event__imglink.isz--md, .isz-wrap.isz--md .cards { max-width: 760px; }
.event__imglink.isz--lg, .isz-wrap.isz--lg .cards { max-width: 1000px; }
.isz-wrap .cards { margin-left: auto; margin-right: auto; }
.event--full .event__img { display: block; width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 720px) { section.event.event--full { padding: 0; } .event--full .container { padding: 0; } .event--full .event__img { border-radius: 0; } }
@media (max-width: 720px) { .event--side .event__inner { flex-direction: column; align-items: stretch; text-align: center; } .event--side .event__img { width: 100%; } }

/* ===== 공통 섹션 ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-primary); color: #fff; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head--left { text-align: left; }
.section__label { color: var(--c-accent); font-weight: 800; letter-spacing: .25em; font-size: 13px; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-top: 6px; }
.section__title::after { content: ""; display: block; width: 40px; height: 3px; margin: 16px auto 0; background: var(--c-accent); }
.section__head--left .section__title::after { margin-left: 0; }

/* 사업개요 표 */
.spec { border-top: 2px solid var(--c-primary); margin-bottom: 48px; }
.spec > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--c-line); }
.spec dt { padding: 16px 20px; background: var(--c-bg-alt); font-weight: 700; }
.spec dd { padding: 16px 20px; }
.spec--compact { margin: 32px 0 0; }

/* 이미지 카드 */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.cards { align-items: start; }
/* 배치도·조감도는 자르지 않고 전체 표시 (사진이 없을 때 자리표시자만 4:3) */
.card img { width: 100%; height: auto; }
.card .ph { width: 100%; aspect-ratio: 4 / 3; }
.card figcaption { padding: 14px 18px; font-weight: 700; }
.wide { border-radius: var(--radius); overflow: hidden; }

/* 입지 포인트 */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.point { background: #fff; border-radius: var(--radius); padding: 28px 24px; }
.point__num { color: var(--c-accent); font-weight: 800; font-size: 14px; }
.point h3 { font-size: 20px; margin: 6px 0 8px; }
.point p { color: var(--c-muted); font-size: 15px; }

/* 평면도 탭 */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs__btn { min-width: 96px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-weight: 700; cursor: pointer; }
.tabs__btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.tabs__panel { display: none; max-width: 900px; margin: 0 auto; }
.tabs__panel.is-active { display: block; }
.plan-info { text-align: center; margin-top: 16px; color: var(--c-muted); }

/* 프리미엄 */
.premium { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.premium__img { border-radius: var(--radius); overflow: hidden; }
.checklist li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--c-line); font-size: 17px; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--c-accent); font-weight: 800; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { padding: 20px 40px 20px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--c-accent); }
.faq summary::after { content: "+"; position: absolute; right: 8px; font-size: 22px; line-height: 1; color: var(--c-muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px 24px; color: var(--c-muted); }

/* ===== 관심고객 등록 폼 ===== */
.benefits { display: grid; gap: 8px; margin-bottom: 32px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); }
.benefits li::before { content: "● "; color: var(--c-accent); }
.form { background: #fff; color: var(--c-text); border-radius: var(--radius); padding: 36px; }
.form__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; margin-bottom: 16px; }
.form__label { font-weight: 700; }
.form__label em, .agree em { color: #d14343; font-style: normal; }
.form input[type="text"], .form input[type="tel"], .form select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff;
}
.form input:focus, .form select:focus { outline: 2px solid var(--c-accent); outline-offset: -1px; border-color: transparent; }
.form__birth { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.form__checks { display: flex; gap: 24px; }
.form__checks label, .agree__check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--c-primary); }
.agree { margin: 24px 0 8px; padding: 16px; background: var(--c-bg-alt); border-radius: 8px; font-size: 15px; }
.agree__detail { margin-top: 8px; font-size: 14px; color: var(--c-muted); }
.agree__detail summary { cursor: pointer; text-decoration: underline; }
.agree__detail ul { margin-top: 8px; display: grid; gap: 4px; }
.form__msg { min-height: 24px; margin: 8px 0; font-weight: 600; text-align: center; }
.form__msg.is-error { color: #d14343; }
.form__msg.is-ok { color: #15803d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ===== 푸터 ===== */
.footer { background: #111827; color: #9ca3af; padding: 48px 0 120px; font-size: 14px; }
.footer p + p { margin-top: 6px; }
.footer__name { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.footer__notice { margin-top: 16px !important; font-size: 13px; }
.footer__copy { margin-top: 20px !important; }

/* ===== 하단 고정 버튼 / 맨 위로 ===== */
.quickbar { display: none; }
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--c-primary); color: #fff;
  font-size: 20px; opacity: 0; pointer-events: none; transition: .3s; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.totop.is-show { opacity: 1; pointer-events: auto; }

/* ===== 태블릿 ===== */
@media (max-width: 1100px) {
  .gnb { gap: 14px; font-size: 14px; }
  .points { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 모바일 ===== */
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .menu-btn { display: block; }
  .gnb {
    /* 높이를 화면 기준으로 직접 지정: 상단바의 흐림 효과(backdrop-filter)가 켜지면 bottom:0 이 상단바 기준이 되어 메뉴가 작아짐 */
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 100px; overflow-y: auto; font-size: 17px;
    transform: translateX(100%); transition: transform .3s;
  }
  .gnb.is-open { transform: none; }
  .gnb a { padding: 16px 4px; border-bottom: 1px solid var(--c-line); }
  .gnb__cta { margin-top: 16px; text-align: center; border: 0 !important; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .hero { height: 88vh; min-height: 480px; }
  .cards--2, .premium { grid-template-columns: 1fr; }
  .premium { gap: 32px; }
  .spec > div { grid-template-columns: 110px 1fr; }
  .spec dt, .spec dd { padding: 12px 14px; font-size: 15px; }
  .event__title { font-size: 20px; }
  .event .btn { width: 100%; }

  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 6px; }

  .quickbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; height: 60px; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .quickbar a { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
  .quickbar__call { background: #fff; color: var(--c-primary); }
  .quickbar__reg { background: var(--c-accent); color: #fff; }
  .totop { bottom: 76px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .points { grid-template-columns: 1fr; }
  .hero__btns .btn { width: 100%; }
}

/* ===== 로고 텍스트 (로고 이미지가 없을 때) ===== */
.logo__text { font-size: 20px; font-weight: 800; color: var(--c-primary); letter-spacing: -.02em; }
.preview-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 6px; background: #d14343; color: #fff; text-align: center; font-size: 13px; font-weight: 700; }
.preview-bar ~ .header { top: 30px; }

/* ===== 메인 (현장 목록) ===== */
.portal__tel { font-weight: 800; font-size: 16px; }
.portal__hero { padding: calc(var(--header-h) + 72px) 0 24px; text-align: center; background: var(--c-bg-alt); }
.portal__hero .container { padding-bottom: 48px; }
.portal__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-top: 8px; }
.portal__desc { color: var(--c-muted); margin-top: 12px; }
.portal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.portal__empty { text-align: center; color: var(--c-muted); padding: 60px 0; }
.portal .footer { padding-bottom: 48px; }
.pcard { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.pcard__img { position: relative; }
.pcard__img img, .pcard__img .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pcard__badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 13px; font-weight: 700; }
.pcard__body { padding: 20px 22px 24px; }
.pcard__body h2 { font-size: 20px; }
.pcard__body p { color: var(--c-muted); font-size: 14px; margin-top: 4px; }
.pcard__more { display: inline-block; margin-top: 14px; color: var(--c-accent); font-weight: 700; font-size: 14px; }

/* ===== 팝업 ===== */
.popup { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.55); }
.popup__box { width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.popup__content { display: block; color: var(--c-text); }
.popup__content img { width: 100%; }
.popup__text { padding: 20px 22px; }
.popup__text strong { display: block; font-size: 19px; margin-bottom: 6px; }
.popup__text p { white-space: pre-line; color: #444; }
.popup__link { display: inline-block; margin-top: 12px; padding: 8px 18px; border-radius: 999px; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 14px; }
.popup__foot { display: flex; border-top: 1px solid var(--c-line); }
.popup__foot button { flex: 1; height: 46px; border: 0; background: #f5f5f5; cursor: pointer; font-size: 14px; }
.popup__foot button + button { border-left: 1px solid var(--c-line); background: var(--c-primary); color: #fff; }

/* ===== 템플릿: 모던 다크 ===== */
.tpl-modern { --c-bg: #0f1115; --c-bg-alt: #171a21; --c-text: #eef0f3; --c-muted: #9aa3b2; --c-line: #2a2f3a; }
.tpl-modern .header { background: rgba(15,17,21,.92); }
.tpl-modern .gnb { background: transparent; }
.tpl-modern .menu-btn span { background: #fff; }
.tpl-modern .logo__text { color: #fff; }
.tpl-modern .gnb__cta { background: var(--c-accent); }
.tpl-modern .card, .tpl-modern .point, .tpl-modern .tabs__btn { background: var(--c-bg-alt); color: var(--c-text); border-color: var(--c-line); }
.tpl-modern .tabs__btn.is-active { background: var(--c-accent); border-color: var(--c-accent); }
.tpl-modern .spec dt { background: #1d212a; }
.tpl-modern .spec { border-top-color: var(--c-accent); }
.tpl-modern .event, .tpl-modern .section--dark { background: #000; }
.tpl-modern .hero__title { font-size: clamp(40px, 7vw, 88px); letter-spacing: -.03em; }
.tpl-modern .section__title::after { width: 64px; }
/* 다크 테마: 등록 폼·팝업도 어두운 배경 + 밝은 글씨 */
.tpl-modern .form { background: var(--c-bg-alt); border: 1px solid var(--c-line); }
.tpl-modern .form input[type="text"], .tpl-modern .form input[type="tel"], .tpl-modern .form select {
  background: #0f1115; border-color: #3a404d; color: var(--c-text);
}
.tpl-modern .form input::placeholder { color: #6b7385; }
.tpl-modern .form select option { background: #171a21; color: var(--c-text); }
.tpl-modern .agree { background: #0f1115; border: 1px solid var(--c-line); }
.tpl-modern .agree__detail { color: var(--c-muted); }
.tpl-modern .form__msg.is-error { color: #ff7a7a; }
.tpl-modern .form__msg.is-ok { color: #6ee7a0; }
.tpl-modern .popup__box { background: var(--c-bg-alt); }
.tpl-modern .popup__content { color: var(--c-text); }
.tpl-modern .popup__text p { color: var(--c-muted); }
.tpl-modern .popup__foot button:first-child { background: #0f1115; color: var(--c-text); }
.tpl-modern .ph { background: repeating-linear-gradient(45deg, #1d212a 0 12px, #232833 12px 24px); color: #7c8596; }
.tpl-modern .hero__eyebrow { color: var(--c-accent); }
@media (max-width: 900px) { .tpl-modern .gnb { background: var(--c-bg); } .tpl-modern .quickbar__call { background: var(--c-bg-alt); color: #fff; } }

/* ===== 템플릿: 미니멀 ===== */
.tpl-minimal { --c-bg-alt: #f7f7f7; --radius: 0; }
.tpl-minimal .btn, .tpl-minimal .gnb__cta, .tpl-minimal .tabs__btn { border-radius: 0; }
.tpl-minimal .section__label { letter-spacing: .4em; color: var(--c-muted); }
.tpl-minimal .section__title { font-weight: 600; }
.tpl-minimal .section__title::after { height: 1px; width: 80px; background: var(--c-text); }
.tpl-minimal .card { box-shadow: none; border: 1px solid var(--c-line); }
.tpl-minimal .hero::after { background: rgba(0,0,0,.25); }
.tpl-minimal .hero__title { font-weight: 300; letter-spacing: .05em; }
.tpl-minimal .hero__eyebrow { color: #fff; }
.tpl-minimal .event { background: var(--c-bg-alt); color: var(--c-text); border-block: 1px solid var(--c-line); }
.tpl-minimal .point { border: 1px solid var(--c-line); }

/* ===== 사진 크게 보기 ===== */
.zoomable { position: relative; display: block; cursor: zoom-in; }
.zoomable__hint { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.lb { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.92); overflow: auto; touch-action: pinch-zoom; }
.lb__img { max-width: 100vw; max-height: 100vh; object-fit: contain; cursor: zoom-in; }
.lb.is-zoom { display: block; }
.lb.is-zoom .lb__img { max-width: none; max-height: none; cursor: zoom-out; }
.lb__close { position: fixed; top: 14px; right: 14px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
.lb__caption { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 60px; text-align: center; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }

/* =====================================================================
   템플릿: 프리미엄 브랜드형
   풀스크린 사진, 투명 → 스크롤 시 진해지는 상단바, 그룹 드롭다운 메뉴, 세리프 제목
   ===================================================================== */
.tpl-premium { --c-bg: #fff; --c-bg-alt: #f5f2ec; --radius: 2px; --serif: "Noto Serif KR", "Nanum Myeongjo", serif; }
.tpl-premium .gnb__group { display: none; }

/* 상단바: 사진 위 투명 */
.tpl-premium .header { background: transparent; border-bottom-color: rgba(255,255,255,.18); backdrop-filter: none; transition: background .35s, border-color .35s; }
.tpl-premium .header.is-scrolled { background: rgba(14,17,24,.94); border-bottom-color: transparent; backdrop-filter: blur(8px); }
.tpl-premium .logo__text { color: #fff; font-family: var(--serif); font-weight: 600; letter-spacing: .02em; }
.tpl-premium .logo img { filter: brightness(0) invert(1); }
.tpl-premium .gnb > a, .tpl-premium .gnb__head { color: rgba(255,255,255,.9); }
.tpl-premium .gnb > a:hover, .tpl-premium .gnb__group:hover .gnb__head { color: var(--c-accent); }
.tpl-premium .gnb__cta { background: transparent; border: 1px solid var(--c-accent) !important; color: #fff !important; border-radius: 0; }
.tpl-premium .gnb__cta:hover { background: var(--c-accent); }
.tpl-premium .menu-btn span { background: #fff; }

/* 그룹 드롭다운 */
.tpl-premium .gnb__group { display: block; position: relative; padding: 24px 0; }
.tpl-premium .gnb__head { cursor: default; font-weight: 600; letter-spacing: .02em; }
.tpl-premium .gnb__sub {
  position: absolute; top: 100%; left: 50%; min-width: 150px; padding: 10px 0; transform: translate(-50%, 8px);
  background: rgba(14,17,24,.97); border-top: 2px solid var(--c-accent); opacity: 0; visibility: hidden; transition: .2s;
}
.tpl-premium .gnb__group:hover .gnb__sub, .tpl-premium .gnb__group:focus-within .gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tpl-premium .gnb__sub a { display: block; padding: 9px 20px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; white-space: nowrap; text-align: center; }
.tpl-premium .gnb__sub a:hover { color: var(--c-accent); }

/* 메인 사진: 화면 가득 + 천천히 확대 */
.tpl-premium .hero { height: 100vh; max-height: none; background: #0e1118; }
.tpl-premium .hero__slide img { transform: scale(1.12); transition: transform 7s ease-out; }
.tpl-premium .hero__slide.is-active img { transform: scale(1); }
.tpl-premium .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.65) 100%); }
.tpl-premium .hero__eyebrow { color: var(--c-accent); letter-spacing: .5em; font-size: 13px; }
.tpl-premium .hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 6.5vw, 84px); letter-spacing: -.01em; }
.tpl-premium .hero__desc { font-weight: 300; letter-spacing: .04em; }
.tpl-premium .hero .btn { border-radius: 0; }
.tpl-premium .hero .btn--primary { background: var(--c-accent); }
.tpl-premium .hero::before { content: "SCROLL"; position: absolute; z-index: 2; left: 50%; bottom: 90px; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .4em; }
.tpl-premium .hero__ctrl { bottom: 36px; }

/* 이벤트 띠 */
.tpl-premium .event { background: #0e1118; border-bottom: 1px solid rgba(255,255,255,.08); }
.tpl-premium .event__title { font-family: var(--serif); font-weight: 600; }
.tpl-premium .event .btn { border-radius: 0; }

/* 섹션 제목: 번호 + 세리프 */
.tpl-premium main { counter-reset: sec; }
.tpl-premium .section { padding: 130px 0; }
.tpl-premium .section__head { counter-increment: sec; margin-bottom: 64px; }
.tpl-premium .section__label::before { content: counter(sec, decimal-leading-zero) "  /  "; color: var(--c-text); opacity: .35; }
.tpl-premium .section__label { letter-spacing: .35em; font-size: 12px; }
.tpl-premium .section__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); }
.tpl-premium .section__title::after { width: 1px; height: 40px; margin-top: 22px; background: var(--c-accent); }
.tpl-premium .section__head--left .section__title::after { margin-left: 0; }

/* 사업개요 표 */
.tpl-premium .spec { border-top: 1px solid var(--c-text); }
.tpl-premium .spec dt { background: transparent; color: var(--c-accent); font-weight: 600; letter-spacing: .05em; }
.tpl-premium .spec > div { grid-template-columns: 200px 1fr; }

/* 사진 카드·입지 카드 */
.tpl-premium .card { box-shadow: none; border-radius: 0; background: transparent; }
.tpl-premium .card figcaption { padding: 14px 0 0; font-family: var(--serif); font-weight: 600; border-top: 1px solid var(--c-line); margin-top: 14px; }
.tpl-premium .cards { gap: 40px; }
.tpl-premium .point { background: transparent; border-top: 1px solid var(--c-text); border-radius: 0; padding: 26px 4px 0; }
.tpl-premium .point__num { font-family: var(--serif); font-size: 28px; color: var(--c-accent); }
.tpl-premium .point h3 { font-family: var(--serif); font-weight: 600; }

/* 평면도 탭 */
.tpl-premium .tabs { gap: 0; border-bottom: 1px solid var(--c-line); }
.tpl-premium .tabs__btn { border: 0; border-radius: 0; background: transparent; min-width: auto; padding: 0 22px; height: 52px; color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tpl-premium .tabs__btn.is-active { background: transparent; color: var(--c-text); border-bottom-color: var(--c-accent); }

/* 프리미엄 체크리스트 */
.tpl-premium .checklist li { font-family: var(--serif); font-size: 18px; padding-left: 36px; }
.tpl-premium .checklist li::before { content: "—"; color: var(--c-accent); }

/* FAQ */
.tpl-premium .faq summary::before { color: var(--c-accent); font-family: var(--serif); }

/* 관심고객 등록: 짙은 배경 + 골드 */
.tpl-premium .section--dark { background: #0e1118; }
.tpl-premium .section--dark .section__label::before { color: #fff; }
.tpl-premium .benefits { background: transparent; border: 1px solid rgba(255,255,255,.12); border-radius: 0; }
.tpl-premium .form { border-radius: 0; }
.tpl-premium .form .btn { border-radius: 0; height: 58px; letter-spacing: .1em; }

/* 하단 */
.tpl-premium .footer { background: #090b10; }
.tpl-premium .footer__name { font-family: var(--serif); font-weight: 600; }

/* 모바일 */
@media (max-width: 900px) {
  .tpl-premium .gnb { background: #0e1118; }
  .tpl-premium .gnb > a { border-bottom-color: rgba(255,255,255,.08); }
  .tpl-premium .gnb__group { padding: 14px 4px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tpl-premium .gnb__head { display: block; color: var(--c-accent); font-size: 13px; letter-spacing: .1em; margin-bottom: 4px; }
  .tpl-premium .gnb__sub { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; border: 0; padding: 0; min-width: 0; }
  .tpl-premium .gnb__sub a { text-align: left; padding: 10px 0; font-size: 16px; border: 0; }
  .tpl-premium .gnb__cta { margin-top: 20px; }
  .tpl-premium .section { padding: 80px 0; }
  .tpl-premium .spec > div { grid-template-columns: 110px 1fr; }
  .tpl-premium .hero::before { bottom: 84px; }
  .tpl-premium .quickbar__reg { border-radius: 0; }
}

/* 섹션 안 추가 사진 묶음 */
.stack { margin-top: 32px; }
.stack .cards--2 { margin: 0; }

/* ===== 사진 배치: 이미지 크게 (글자가 들어간 자료 이미지용) ===== */
.layout-full .cards--2 { grid-template-columns: 1fr; max-width: 1100px; margin-left: auto; margin-right: auto; gap: 28px; }
.layout-full .card { box-shadow: none; background: transparent; border-radius: 0; }
.layout-full .card figcaption { padding: 10px 0 0; font-size: 14px; color: var(--c-muted); text-align: center; border: 0; margin: 0; font-family: inherit; font-weight: 600; }
.layout-full .wide { max-width: 1100px; margin: 0 auto; }
.layout-full .premium { grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; gap: 32px; }
.layout-full .tabs__panel { max-width: 1100px; }

/* ===== 메인 사진 위 글씨 숨기기 (버튼만 아래쪽에) ===== */
.hero--notext::after { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 20%, transparent 75%, rgba(0,0,0,.45) 100%); }
.hero--notext .hero__eyebrow, .hero--notext .hero__title, .hero--notext .hero__desc { display: none; }
.hero--notext .hero__content { top: auto; bottom: 96px; transform: translateX(-50%); }
.hero--notext::before { display: none; }

/* ===== 추가 섹션 ===== */
.extra__desc { max-width: 820px; margin: 0 auto 32px; text-align: center; color: var(--c-muted); }
.extra__link { text-align: center; margin-top: 32px; }
/* 추가 섹션 - 배너 방식 (이벤트 배너처럼 띠 형태) */
.xbanner { padding: 36px 0; text-align: center; }
.xbanner--primary { background: var(--c-primary); color: #fff; }
.xbanner--accent { background: var(--c-accent); color: #fff; }
.xbanner--light { background: #f4f5f7; }
.xbanner__title { font-size: 24px; margin-bottom: 10px; }
.xbanner .extra__desc { color: inherit; opacity: .85; margin-bottom: 16px; }
.xbanner .extra__desc:last-child, .xbanner .extra__link:last-child { margin-bottom: 0; }
.xbanner .extra__link { margin-top: 18px; }
.xbanner .cards--2:has(> .card:only-child) { grid-template-columns: 1fr; }
.xbanner--accent .btn--primary { background: #fff; color: var(--c-primary); }
.videos { display: grid; gap: 24px; max-width: 960px; margin: 0 auto 32px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 메인 사진에 글씨가 있을 때: 어두운 막·확대 효과 없이 사진 그대로 */
.hero.hero--notext::after, .tpl-premium .hero.hero--notext::after { display: none; }
.hero--notext .hero__slide img, .tpl-premium .hero--notext .hero__slide img { transform: none !important; transition: none; }
.hero--notext .hero__content { text-shadow: none; }

/* 메인 사진에 글씨가 있으면 프리미엄 상단바를 처음부터 진하게 (밝은 사진 위 메뉴 가독성) */
.tpl-premium.hero-notext .header { background: rgba(14,17,24,.94); border-bottom-color: transparent; }

/* 이미지 크게 배치: 프리미엄 섹션은 제목·강점 → 사진 순서로, 가운데 정렬 */
.layout-full .premium { display: flex; flex-direction: column; }
.layout-full .premium__text { order: -1; }
.layout-full .premium__text .section__head--left { text-align: center; }
.layout-full .premium__text .section__head--left .section__title::after { margin-left: auto; margin-right: auto; }
.layout-full .premium__text .checklist { max-width: 760px; margin: 0 auto; }
/* 드롭다운 하위 메뉴: 왼쪽 정렬, 넉넉한 폭 */
.tpl-premium .gnb__sub { min-width: 180px; }
.tpl-premium .gnb__sub a { text-align: left; padding: 10px 22px; }

/* 사진 탭 묶음 (1단지/2단지 등): 탭 패널은 평면도보다 넓게 */
.tabwrap + .tabwrap, .stack .tabwrap { margin-top: 8px; }
.tabs__panel--wide { max-width: none; }
.tabs__panel--wide .cards { margin: 0; }

/* ===== 사진 슬라이드 ===== */
.slider { position: relative; max-width: 1100px; margin: 0 auto; }
.slider__viewport { overflow: hidden; border-radius: var(--radius); }
.slider__track { display: flex; align-items: flex-start; transition: transform .45s ease; }
.slider__item { flex: 0 0 100%; margin: 0; }
.slider__item img { width: 100%; height: auto; }
.slider__item figcaption { padding: 10px 0 0; text-align: center; color: var(--c-muted); font-size: 14px; }
.slider__btn { position: absolute; top: 45%; z-index: 2; width: 48px; height: 48px; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.slider__btn:hover { background: var(--c-accent); }
.slider__btn--prev { left: 12px; }
.slider__btn--next { right: 12px; }
.slider__count { margin-top: 12px; text-align: center; color: var(--c-muted); font-size: 14px; }
.slider__count b { color: var(--c-text); }

/* ===== 메뉴 묶음을 탭으로 볼 때 ===== */
.group .gpanel .section__head { margin-bottom: 40px; }
.group .gpanel .section__head .section__label { display: none; }
.group .tabs__panel > .section { padding: 0; background: transparent; }
.group > .container > .section__head .section__label:empty { display: none; }

/* ===== 관심고객 등록 팝업 ===== */
.regmodal { position: fixed; inset: 0; z-index: 350; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.6); }
.regmodal__box { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 14px; background: var(--c-primary); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.regmodal__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--c-primary); color: #fff; }
.regmodal__head strong { font-size: 19px; }
.regmodal__close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 18px; cursor: pointer; }
.regmodal__body { padding: 0 20px 20px; color: #fff; }
.regmodal__body .benefits { margin-bottom: 16px; padding: 14px 16px; font-size: 14px; }
.regmodal__body .form { padding: 22px 18px; }
.tpl-modern .regmodal__box, .tpl-modern .regmodal__head, .tpl-premium .regmodal__box, .tpl-premium .regmodal__head { background: #0e1118; }
@media (max-width: 600px) {
  .regmodal { padding: 0; align-items: flex-end; }
  .regmodal__box { max-height: 94vh; border-radius: 16px 16px 0 0; }
}

.footer__privacy { margin-top: 10px !important; font-size: 12px; opacity: .75; }
