/* ============ DAWIN Construction — production styles ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2b3445;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
input, textarea, button { font-family: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.relative { position: relative; }
.gold { color: #c9a84c; }
.ta-right { text-align: right; }

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
[data-reveal][data-shown="1"] { opacity: 1; transform: none; }
@keyframes dwFade { from { opacity: 0; } to { opacity: 1; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: all .35s cubic-bezier(.16,1,.3,1);
}
.nav.scrolled {
  padding: 14px 0;
  background: #1a2744;
  box-shadow: 0 6px 26px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; color: #fff; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.brand-en { font-size: 12px; font-weight: 600; color: #c9a84c; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  color: rgba(255,255,255,0.86); text-decoration: none;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; transition: color .2s;
}
.nav-link:hover { color: #c9a84c; }
.nav-cta {
  display: flex; align-items: center; gap: 7px;
  background: #c9a84c; color: #1a2744; text-decoration: none;
  font-size: 14.5px; font-weight: 700; padding: 9px 17px; border-radius: 6px;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 90;
  background: #1a2744; border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 24px 22px; box-shadow: 0 16px 30px rgba(0,0,0,0.28);
}
.mobile-link {
  display: block; color: #fff; text-decoration: none;
  font-size: 17px; font-weight: 600; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-cta {
  display: block; text-align: center; margin-top: 16px;
  background: #c9a84c; color: #1a2744; text-decoration: none;
  font-size: 16px; font-weight: 700; padding: 13px; border-radius: 6px;
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: #141d33;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  /* 텍스트(좌측) 방향으로 이미지가 hero 배경(#141d33)으로 페이드아웃 */
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, rgba(0,0,0,0.35) 32%, #000 72%);
          mask-image: linear-gradient(105deg, transparent 0%, rgba(0,0,0,0.35) 32%, #000 72%);
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(20,29,51,0.94) 0%, rgba(20,29,51,0.82) 45%, rgba(20,29,51,0.55) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content { position: relative; z-index: 3; max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-box { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border: 1px solid rgba(201,168,76,0.4);
  border-radius: 40px; margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #c9a84c; }
.hero-badge span:last-child { color: #d9c27e; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.hero-title {
  font-family: 'Noto Serif KR', serif; font-size: 62px; font-weight: 700;
  line-height: 1.22; color: #ffffff; letter-spacing: -0.02em; text-wrap: balance;
}
.hero-sub {
  margin-top: 24px; font-size: 20px; color: rgba(255,255,255,0.82);
  font-weight: 400; line-height: 1.65; max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-size: 16.5px; padding: 16px 30px; border-radius: 7px;
}
.btn-gold {
  background: #c9a84c; color: #1a2744; font-weight: 700;
  box-shadow: 0 8px 24px rgba(201,168,76,0.28);
}
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(4px);
}
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-label { color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 0.14em; font-weight: 600; }
.scroll-line { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,0.6), transparent); }

/* ============ STATS ============ */
.stats { background: #1a2744; padding: 84px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat { text-align: center; padding: 0 8px; }
.stat-divider { border-left: 1px solid rgba(255,255,255,0.1); }
.stat-num {
  font-family: 'Noto Serif KR', serif; font-size: 64px; font-weight: 700;
  color: #c9a84c; line-height: 1; letter-spacing: -0.02em;
}
.stat-unit { font-size: 30px; margin-left: 3px; }
.stat-label { margin-top: 14px; color: rgba(255,255,255,0.7); font-size: 15.5px; font-weight: 500; }

/* ============ SECTION COMMON ============ */
.section { padding: 108px 0; }
.section-white { background: #ffffff; }
.section-gray { background: #f4f5f7; }
.section-navy { background: #1a2744; }
.sec-head { text-align: center; margin-bottom: 56px; }
.eyebrow { color: #c9a84c; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 14px; }
.sec-title { font-size: 40px; font-weight: 800; color: #1a2744; letter-spacing: -0.025em; }
.sec-title.light { color: #fff; }
.sec-desc { margin-top: 16px; color: #6b7280; font-size: 17px; }
.sec-desc.muted { color: rgba(255,255,255,0.6); }
.sec-desc.ta-left { line-height: 1.65; }
.bar { width: 8px; height: 22px; background: #c9a84c; border-radius: 3px; display: inline-block; }

/* ============ BUSINESS ============ */
.business-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.biz-card {
  position: relative; background: #fafbfc; border: 1px solid #eceef2; border-radius: 14px;
  padding: 32px 30px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.biz-card:hover {
  transform: translateY(-5px); box-shadow: 0 16px 36px rgba(26,39,68,0.1); border-color: #dfe3ea;
}
.biz-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.biz-no {
  width: 48px; height: 48px; border-radius: 11px; background: #1a2744; color: #c9a84c;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif KR', serif; font-size: 20px; font-weight: 700;
}
.biz-count-num { font-family: 'Noto Serif KR', serif; font-size: 30px; font-weight: 700; color: #1a2744; }
.biz-count-unit { font-size: 15px; color: #6b7280; font-weight: 600; }
.biz-name { font-size: 19px; font-weight: 700; color: #1a2744; letter-spacing: -0.02em; line-height: 1.4; min-height: 53px; }
.biz-pct-row { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 8px; }
.biz-pct-label { font-size: 13px; color: #9aa3b2; font-weight: 600; }
.biz-pct-val { font-size: 15px; color: #c9a84c; font-weight: 700; }
.progress { height: 6px; background: #e9ebf0; border-radius: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #c9a84c, #dcc274); border-radius: 6px; }

/* ============ GALLERY ============ */
.gallery-block { margin-bottom: 46px; }
.gallery-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.gallery-title { font-size: 20px; font-weight: 800; color: #1a2744; letter-spacing: -0.02em; }
.gallery-hint { font-size: 14px; color: #9aa3b2; font-weight: 500; }
.gallery-slider { position: relative; padding: 0 56px; }
.gallery-grid {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-grid .gallery-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: #1a2744; font-size: 26px; line-height: 1;
  box-shadow: 0 6px 20px rgba(26,39,68,0.22); display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, opacity .2s;
}
.gallery-arrow:hover { background: #c9a84c; color: #fff; }
.gallery-arrow[hidden] { display: none; }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.gallery-card {
  position: relative; padding: 0; border: none; cursor: pointer;
  border-radius: 16px; overflow: hidden; background: #1a2744; aspect-ratio: 4/3;
  display: block; width: 100%; box-shadow: 0 6px 20px rgba(26,39,68,0.1);
  transition: box-shadow .3s;
}
.gallery-card .g-bg { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .5s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) {
  .gallery-card:hover .g-bg { transform: scale(1.07); }
}
.gallery-card .g-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,29,51,0.92) 0%, rgba(20,29,51,0.25) 45%, rgba(20,29,51,0) 70%); }
.gallery-card .g-tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; color: #1a2744; background: #c9a84c; padding: 5px 12px; border-radius: 20px; }
.gallery-card .g-zoom { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.gallery-card .g-info { position: absolute; left: 18px; right: 18px; bottom: 16px; text-align: left; }
.gallery-card .g-name { display: block; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.35; }
.gallery-card .g-meta { display: block; margin-top: 5px; font-size: 13.5px; color: rgba(255,255,255,0.78); font-weight: 500; }

/* ============ TABS ============ */
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
  padding: 11px 22px; border-radius: 8px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; background: #ffffff; color: #6b7280;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: all .2s;
}
.tab.active { font-weight: 700; background: #1a2744; color: #ffffff; box-shadow: 0 6px 16px rgba(26,39,68,0.2); }

/* ============ PORTFOLIO TABLE ============ */
.pf-table { background: #fff; border-radius: 16px; box-shadow: 0 2px 18px rgba(26,39,68,0.06); overflow: hidden; }
.pf-head {
  display: grid; grid-template-columns: 88px 1fr 220px 130px; gap: 16px;
  padding: 18px 28px; background: #1a2744;
}
.pf-head span { color: rgba(255,255,255,0.65); font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; }
.pf-row {
  display: grid; grid-template-columns: 88px 1fr 220px 130px; gap: 16px;
  padding: 19px 28px; border-bottom: 1px solid #eef0f3; align-items: center;
  transition: background .2s;
}
.pf-row.clickable { cursor: pointer; }
.pf-row.clickable:hover { background: #faf7ee; }
.pf-year { font-family: 'Noto Serif KR', serif; font-size: 18px; font-weight: 600; color: #c9a84c; }
.pf-name { font-size: 15.5px; font-weight: 600; color: #1a2744; line-height: 1.45; }
.pf-badge {
  display: inline-block; margin-left: 9px; vertical-align: middle;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 5px;
}
.pf-photo-ic { margin-left: 7px; vertical-align: middle; font-size: 13px; }
.pf-status {
  display: inline-block; margin-left: 9px; vertical-align: middle;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 5px;
  background: #e7d9b8; color: #7a5f1e;
}
.pf-place { font-size: 14.5px; color: #6b7280; font-weight: 500; }
.pf-scale { font-size: 15px; font-weight: 700; color: #1a2744; text-align: right; display: block; }
.pf-label { display: none; }

/* ============ HISTORY ============ */
.history { position: relative; overflow: hidden; }
.history-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.history .sec-head { margin-bottom: 60px; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline-line { position: absolute; left: 90px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(rgba(201,168,76,0.6), rgba(201,168,76,0.1)); }
.tl-item { display: flex; gap: 30px; align-items: flex-start; padding: 16px 0; }
.tl-year { flex: none; width: 80px; text-align: right; font-family: 'Noto Serif KR', serif; font-size: 26px; font-weight: 700; color: #c9a84c; line-height: 1.2; }
.tl-dot-wrap { flex: none; position: relative; width: 20px; display: flex; justify-content: center; padding-top: 6px; }
.tl-dot { width: 13px; height: 13px; border-radius: 50%; background: #c9a84c; border: 3px solid #1a2744; box-shadow: 0 0 0 2px rgba(201,168,76,0.4); z-index: 1; }
.tl-text-wrap { flex: 1; padding-top: 2px; }
.tl-text { font-size: 16.5px; color: rgba(255,255,255,0.9); font-weight: 500; line-height: 1.6; }

/* ============ CAPABILITY ============ */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cap-card { background: #fafbfc; border: 1px solid #eceef2; border-radius: 16px; padding: 34px 32px; }
.cap-card-dark { background: #1a2744; border: none; color: #fff; }
.cap-card-title { font-size: 19px; font-weight: 700; color: #1a2744; margin-bottom: 24px; display: flex; align-items: center; gap: 11px; }
.cap-card-title.light { color: #fff; }
.cap-card-title .bar { height: 24px; }
.cap-struct { margin-bottom: 18px; }
.cap-struct-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.cap-struct-label { font-size: 15px; color: #2b3445; font-weight: 600; }
.cap-struct-pct { font-size: 15px; color: #1a2744; font-weight: 700; }
.progress-lg { height: 8px; background: #e9ebf0; border-radius: 8px; overflow: hidden; }
.progress-lg .progress-fill { background: linear-gradient(90deg, #1a2744, #2f4470); border-radius: 8px; }
.cap-region { font-family: 'Noto Serif KR', serif; font-size: 30px; font-weight: 700; color: #1a2744; line-height: 1.3; }
.cap-region-desc { margin-top: 12px; color: #6b7280; font-size: 15.5px; line-height: 1.65; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cap-tag { font-size: 13px; font-weight: 600; color: #1a2744; background: #eef1f6; padding: 6px 13px; border-radius: 6px; }
.cap-bid { display: flex; align-items: baseline; gap: 6px; }
.cap-bid-num { font-family: 'Noto Serif KR', serif; font-size: 60px; font-weight: 700; color: #c9a84c; line-height: 1; }
.cap-bid-unit { font-size: 20px; color: rgba(255,255,255,0.8); font-weight: 600; }
.cap-bid-headline { font-family: 'Noto Serif KR', serif; font-size: 34px; font-weight: 700; color: #fff; margin-top: 6px; }
.cap-bid-desc { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 15.5px; line-height: 1.65; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info { margin-top: 38px; display: flex; flex-direction: column; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  flex: none; width: 46px; height: 46px; border-radius: 11px; background: #1a2744; color: #c9a84c;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
}
.info-icon.icon-sm { font-size: 18px; }
.info-label { font-size: 13px; color: #9aa3b2; font-weight: 600; margin-bottom: 3px; }
.info-value { font-size: 16px; font-weight: 600; color: #1a2744; line-height: 1.55; text-decoration: none; }
.info-value.link { font-size: 19px; font-weight: 700; }
.form-card { background: #fff; border-radius: 18px; padding: 38px 36px; box-shadow: 0 4px 26px rgba(26,39,68,0.08); }
.form-toolbar { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.form-clear {
  display: inline-flex; align-items: center; gap: 5px;
  border: none; background: none; padding: 4px 2px; border-radius: 5px;
  font-size: 12.5px; font-weight: 600; color: #6b7280; cursor: pointer;
  transition: opacity .25s ease, color .2s;
}
.form-clear:hover { color: #1a2744; }
.form-clear:disabled { opacity: .35; cursor: default; pointer-events: none; }
.field { margin-bottom: 20px; }
.field:nth-last-of-type(1) { margin-bottom: 26px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: #1a2744; margin-bottom: 9px; }
.field .req { color: #c9a84c; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #e2e5ea; border-radius: 9px;
  font-size: 15.5px; color: #1a2744; outline: none; transition: border-color .2s;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-color: #c9a84c; }
.form-submit {
  width: 100%; background: #1a2744; color: #fff; border: none;
  font-size: 16.5px; font-weight: 700; padding: 17px; border-radius: 9px;
  cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: #0f1729; }
.form-submit:disabled { background: #9aa3b2; cursor: default; }
.field .req-or { font-size: 12px; font-weight: 600; color: #c9a84c; margin-left: 4px; }
.field .field-hint { font-size: 12px; font-weight: 500; color: #9aa3b2; margin-left: 4px; }
.contact-fields { display: flex; flex-direction: column; gap: 12px; }
.subfield .sub-label { display: block; font-size: 12.5px; font-weight: 600; color: #6b7280; margin-bottom: 5px; }
.file-upload {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 12px; border: 1px dashed #cfd4dc; border-radius: 9px;
  font-size: 14px; color: #6b7280; background: #fafbfc; cursor: pointer;
  transition: border-color .2s;
}
.file-upload:focus-within { border-color: #c9a84c; }
.file-upload .file-input {
  position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden;
}
.file-upload .file-btn {
  flex: none; padding: 8px 14px; border-radius: 6px;
  background: #1a2744; color: #fff; font-weight: 700; font-size: 13px;
}
.file-upload .file-status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; }
.file-list-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; margin-top: 8px; border: 1px solid #e2e5ea; border-radius: 8px;
  background: #fafbfc; font-size: 14px;
}
.file-list-item .file-name { flex: 1; color: #1a2744; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list-item .file-size { color: #9aa3b2; font-size: 12.5px; white-space: nowrap; }
.file-list-item .file-remove {
  border: none; background: none; color: #9aa3b2; font-size: 15px; line-height: 1;
  cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: color .15s, background .15s;
}
.file-list-item .file-remove:hover { color: #b3261e; background: #fbeaea; }
.field input.input-error, .field textarea.input-error,
.file-upload.input-error { border-color: #b3261e; background: #fdf7f6; }
.field .input-error::placeholder { color: #b3261e; }
.field-error-msg { margin: 7px 0 0; font-size: 12.5px; font-weight: 600; color: #b3261e; }
.form-note { margin-top: 14px; font-size: 13px; color: #9aa3b2; text-align: center; }
.form-note strong { color: #1a2744; }
.form-success { text-align: center; padding: 48px 12px; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #1a2744; color: #c9a84c;
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 22px;
}
.success-title { font-size: 23px; font-weight: 800; color: #1a2744; }
.success-desc { margin-top: 12px; color: #6b7280; font-size: 16px; line-height: 1.6; }
.success-reset {
  margin-top: 26px; background: #f4f5f7; color: #1a2744; border: none;
  font-size: 15px; font-weight: 600; padding: 12px 24px; border-radius: 7px; cursor: pointer;
}

/* ============ FOOTER ============ */
.footer { background: #141d33; padding: 56px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: baseline; gap: 9px; }
.footer-name { font-size: 22px; font-weight: 800; color: #fff; }
.footer-meta { margin-top: 14px; color: rgba(255,255,255,0.55); font-size: 14.5px; line-height: 1.75; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-label { color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-phone { color: #fff; text-decoration: none; font-size: 19px; font-weight: 700; }
.footer-hours { color: rgba(255,255,255,0.55); font-size: 14.5px; }
.footer-copy { padding-top: 24px; color: rgba(255,255,255,0.4); font-size: 13px; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,18,33,0.86);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 28px; animation: dwFade .25s ease;
}
.lightbox-inner {
  position: relative; max-width: 980px; width: 100%; max-height: 90vh; background: #fff;
  border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px;
  border-radius: 50%; border: none; cursor: pointer; background: rgba(20,29,51,0.55); color: #fff;
  font-size: 20px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.lightbox-img-wrap { position: relative; width: 100%; background: #0d1221; flex: none; }
.lightbox-img-wrap img { display: block; width: 100%; max-height: 62vh; object-fit: cover; }
.lightbox-body { padding: 26px 32px 30px; }
.lightbox-body h3 { font-size: 24px; font-weight: 800; color: #1a2744; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 12px; }
.lightbox-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #6b7280; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.lightbox-body p { font-size: 15.5px; color: #4b5563; line-height: 1.7; }

/* ============ GALLERY MORE + MODAL ============ */
.gallery-more {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  background: #1a2744; color: #fff; cursor: pointer;
  border: none; border-radius: 7px;
  font-size: 14.5px; font-weight: 700; padding: 10px 18px; letter-spacing: -0.01em;
  transition: background .2s, box-shadow .2s, transform .2s;
}
@media (hover: hover) {
  .gallery-more:hover { background: #0f1729; box-shadow: 0 8px 20px rgba(26,39,68,0.22); transform: translateY(-1px); }
}
.pf-more {
  display: block; margin: 18px auto 0; cursor: pointer;
  background: #fff; color: #1a2744; border: 1.5px solid #c9a84c; border-radius: 8px;
  font-size: 14.5px; font-weight: 700; padding: 12px 28px; letter-spacing: -0.01em;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
@media (hover: hover) {
  .pf-more:hover { background: #c9a84c; color: #fff; box-shadow: 0 8px 20px rgba(201,168,76,0.3); transform: translateY(-1px); }
}
.pf-more[hidden] { display: none; }
.gallery-modal {
  position: fixed; inset: 0; z-index: 190; background: rgba(12,18,33,0.86);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 28px; animation: dwFade .25s ease;
}
.gm-inner {
  position: relative; max-width: 1080px; width: 100%; max-height: 88vh; background: #fff;
  border-radius: 18px; padding: 30px 32px 34px; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.gm-close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px;
  border-radius: 50%; border: none; cursor: pointer; background: #1a2744; color: #fff;
  font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.gm-title { font-size: 22px; font-weight: 800; color: #1a2744; letter-spacing: -0.02em; margin-bottom: 22px; padding-right: 48px; }
.gm-grid { display: flex; flex-wrap: wrap; gap: 22px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; align-content: start; }
.gm-grid .gallery-card { flex: 0 0 calc((100% - 44px) / 3); }
.gm-grid .gallery-card .g-zoom { display: none; }

/* ============ LOCATION ============ */
.location-block { border-radius: 18px; overflow: hidden; box-shadow: 0 4px 26px rgba(26,39,68,0.08); }
.map { width: 100%; height: 420px; background: #eef0f3; }
.map-fallback {
  display: flex; align-items: center; justify-content: center; text-align: center;
  height: 100%; color: #6b7280; font-size: 15.5px; font-weight: 600; line-height: 1.6;
}
.location-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: #1a2744; padding: 20px 28px;
}
.location-address { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 16px; font-weight: 600; }
.location-icon {
  flex: none; width: 38px; height: 38px; border-radius: 9px; background: rgba(201,168,76,0.18); color: #c9a84c;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.location-link {
  background: #c9a84c; color: #1a2744; text-decoration: none;
  font-size: 14.5px; font-weight: 700; padding: 11px 20px; border-radius: 7px; white-space: nowrap;
}

/* ============ BACK TO TOP ============ */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: #1a2744; color: #c9a84c; font-size: 24px; line-height: 1;
  box-shadow: 0 8px 24px rgba(26,39,68,0.32); transition: transform .2s, background .2s;
}
.to-top:hover { transform: translateY(-3px); background: #0f1729; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  [data-cols="4"] { grid-template-columns: repeat(2,1fr) !important; }
  [data-cols="3"] { grid-template-columns: 1fr !important; }
  [data-cols="2"] { grid-template-columns: 1fr !important; }
  [data-nav-links] { display: none !important; }
  [data-nav-toggle] { display: flex !important; }
  [data-pf-head] { display: none !important; }
  .pf-row { display: block !important; padding: 18px 18px !important; border: 1px solid #e8ebf0 !important; border-radius: 10px !important; margin-bottom: 12px !important; }
  .pf-cell { display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 14px !important; padding: 5px 0 !important; }
  .pf-label { display: inline !important; color: #9aa3b2 !important; font-size: 13px !important; font-weight: 600 !important; flex: none !important; }
  .pf-cell .pf-scale, .pf-cell .pf-place, .pf-cell .pf-name, .pf-cell .pf-year { text-align: right; }
  .hero-title { font-size: 40px !important; }
  .hero-sub { font-size: 17px !important; }
  .sec-title { font-size: 28px !important; }
  .stat-num { font-size: 46px !important; }
  [data-hide-mobile] { display: none !important; }
  [data-pad] { padding-top: 64px !important; padding-bottom: 64px !important; }
  .gallery-hint { flex: 1 1 100%; }
  .gallery-more { margin-left: 0; width: 100%; justify-content: center; }
  .gallery-grid .gallery-card { flex: 0 0 calc((100% - 22px) / 2); }
  .gallery-slider { padding: 0 40px; }
  .gallery-arrow { width: 36px; height: 36px; font-size: 22px; }
  .gm-grid { gap: 12px !important; }
  .gm-grid .gallery-card { flex: 0 0 calc((100% - 12px) / 2) !important; }
  .gm-grid .gallery-card .g-tag { display: none !important; }
  .gm-grid .gallery-card .g-info { left: 12px; right: 12px; bottom: 12px; }
  .gm-grid .gallery-card .g-name { font-size: 13.5px; line-height: 1.3; }
  .gm-grid .gallery-card .g-meta { font-size: 11px; margin-top: 3px; }
  .gm-inner { padding: 24px 18px 26px !important; }
  .map { height: 300px !important; }
  .location-bar { padding: 18px 18px !important; }
  .location-link { width: 100%; text-align: center; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 21px; }
}
@media (max-width: 520px) {
  [data-cols="4"] { grid-template-columns: 1fr 1fr !important; }
  .hero-title { font-size: 32px !important; }
  .gallery-grid { gap: 14px; }
  .gallery-grid .gallery-card { flex: 0 0 85%; }
}
