@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Playfair+Display:wght@400;700&display=swap');

:root {
  --navy: #0d1b2a;
  --navy-mid: #162435;
  --gold: #c8a96e;
  --gold-light: #e8d5a3;
  --white: #ffffff;
  --gray-100: #f8f8f6;
  --gray-200: #e9e9e5;
  --gray-400: #9a9a9a;
  --gray-600: #555555;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── NAVIGATION ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: var(--transition);
}

/* notice-bar 없는 페이지(내부 페이지)는 가로 정렬 */
.nav:not(:has(.notice-bar)) {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
}

.nav.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo .ko { font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.nav-logo .en { font-size: 0.65rem; font-weight: 300; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }
.nav-logo-img {
  height: 38px;
  max-height: 38px;
  width: auto;
  max-width: 110px;
  border-radius: 4px;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  transition: var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-contact {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.nav-contact::after { display: none !important; }
.nav-contact:hover { background: var(--gold-light); color: var(--navy) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 5%;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0.3) 0%,
    rgba(13,27,42,0.5) 50%,
    rgba(13,27,42,0.8) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1.2s 0.4s ease forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.hero-title .accent { color: var(--gold); }

.hero-title-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,169,110,0.35); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(200,169,110,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ─── SECTIONS COMMON ────────────────────────── */
section { padding: 6rem 5%; }

.section-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title-white { color: var(--white); }

.section-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  max-width: 520px;
  line-height: 1.9;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.link-more {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  white-space: nowrap;
}
.link-more:hover { gap: 0.8rem; }

/* ─── SERVICES ───────────────────────────────── */
.services { background: var(--gray-100); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: unset !important;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--gold);
  transition: var(--transition);
}
.service-card:hover::before { width: 100%; }
.service-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.08); transform: translateY(-4px); }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ─── LISTINGS ───────────────────────────────── */
.listings { background: var(--white); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.listing-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
  cursor: pointer;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.13); }

.listing-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-200);
}
.listing-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.listing-card:hover .listing-img img { transform: scale(1.06); }

.listing-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.listing-badge.rent { background: var(--navy); color: var(--white); }

.listing-info { padding: 1.3rem 1.2rem; }

.listing-type {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.listing-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-addr {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
}
.listing-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray-400); margin-left: 0.3rem; }

.listing-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ─── ABOUT TEASER ───────────────────────────── */
.about-teaser {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 5%;
}

.about-teaser-text .section-desc { color: rgba(255,255,255,0.65); max-width: none; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item { text-align: center; }
.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-num sub { font-size: 1.2rem; vertical-align: bottom; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }

.about-teaser-visual {
  position: relative;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
}
.about-teaser-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.about-teaser-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,110,0.2), transparent);
}

/* ─── NEWS ───────────────────────────────────── */
.news { background: var(--gray-100); }

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  cursor: pointer;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }

.news-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--gray-200);
}
.news-card.small .news-card-img { height: 140px; }
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body { padding: 1.3rem 1.2rem; }

.news-category {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card.large h3 { font-size: 1.2rem; -webkit-line-clamp: 3; }

.news-card-body p {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.news-date { font-size: 0.75rem; color: var(--gray-400); }

/* ─── CONTACT CTA ────────────────────────────── */
.contact-cta {
  background: var(--navy-mid);
  color: var(--white);
  text-align: center;
  padding: 5rem 5%;
}
.contact-cta .section-title { color: var(--white); margin-bottom: 0.8rem; }
.contact-cta .section-desc { color: rgba(255,255,255,0.6); margin: 0 auto 2.5rem; }
.contact-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FEE500;
  color: #3A1D1D;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-kakao:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(254,229,0,0.35); }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3rem 5%;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-logo .ko { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.footer-logo .en { font-size: 0.65rem; font-weight: 300; color: var(--gold); letter-spacing: 0.2em; margin-top: 0.2rem; }

.footer-info { font-size: 0.8rem; line-height: 2; }
.footer-info strong { color: rgba(255,255,255,0.8); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a { font-size: 0.8rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  text-align: center;
}

/* ─── INNER PAGE HERO ────────────────────────── */
.page-hero {
  height: 40vh;
  min-height: 260px;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  padding: 3rem 5%;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.page-hero-content { position: relative; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.page-hero p { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-top: 0.5rem; letter-spacing: 0.1em; }

/* ─── FILTER BAR ─────────────────────────────── */
.filter-bar {
  background: var(--gray-100);
  padding: 1.5rem 5%;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  position: sticky;
  top: 72px;
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
}

.filter-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── ABOUT PAGE ─────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 5%;
}
.about-intro-img { border-radius: 4px; overflow: hidden; }
.about-intro-img img { width: 100%; height: auto; object-fit: contain; display: block; }

.about-intro-text .section-desc { max-width: none; margin-bottom: 1.5rem; }

.about-values {
  background: var(--gray-100);
  padding: 6rem 5%;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.value-card:hover { border-bottom-color: var(--gold); transform: translateY(-4px); }
.value-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
.value-card p { font-size: 0.83rem; color: var(--gray-600); line-height: 1.7; }

.history {
  padding: 6rem 5%;
  max-width: 800px;
  margin: 0 auto;
}
.history-list { margin-top: 3rem; }
.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
.history-year { font-size: 1.2rem; font-weight: 900; color: var(--gold); }
.history-events { font-size: 0.88rem; color: var(--gray-600); line-height: 2; }
.history-events strong { color: var(--navy); font-weight: 700; }

/* ─── CONTACT PAGE ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  padding: 6rem 5%;
  align-items: start;
}

.contact-info h2 { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 2rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon { font-size: 1.3rem; margin-top: 0.1rem; }
.contact-info-text h4 { font-size: 0.8rem; font-weight: 500; color: var(--gray-400); letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.contact-info-text p { font-size: 0.95rem; font-weight: 500; color: var(--navy); line-height: 1.6; }

.contact-map {
  margin-top: 2rem;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  border: 1px solid var(--gray-200);
}

.contact-form h2 { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 3px;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold); color: var(--navy); }

/* ─── NEWS PAGE ──────────────────────────────── */
.news-page { padding: 4rem 5%; }
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ─── ANIMATIONS ─────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card.large { grid-column: span 2; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #youtubeGrid { grid-template-columns: 1fr !important; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .map-mobile-btn { display: none !important; }
  section { padding: 4rem 5%; }
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .listings-grid { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser-visual { display: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card.large { grid-column: span 1; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro-img { height: 260px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .map-mobile-btn { display: none !important; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .history-item { grid-template-columns: 80px 1fr; gap: 1rem; }
}

/* ─── REVIEW MARQUEE ────────────────────────── */
.review-track-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.review-track-wrap::before,
.review-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.review-track-wrap::before { left: 0; background: linear-gradient(to right, var(--gray-100), transparent); }
.review-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--gray-100), transparent); }

.review-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 70s linear infinite;
  padding: 1rem 0;
}
.review-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  width: 340px;
  flex-shrink: 0;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.review-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.13); }

.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.8rem; }

.review-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-200);
}
.review-name { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.review-meta { font-size: 0.73rem; color: var(--gray-400); }

/* ─── LOADING SCREEN ─────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.2rem;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loading-screen.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo-text { font-size: 1.4rem; font-weight: 900; color: var(--white); letter-spacing: 0.08em; }
.loading-logo-en { font-size: 0.65rem; font-weight: 300; color: var(--gold); letter-spacing: 0.35em; text-transform: uppercase; text-align: center; margin-top: -0.5rem; }
.loading-bar {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px; overflow: hidden;
}
.loading-bar-fill {
  height: 100%; background: var(--gold);
  animation: loadFill 1.3s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loadFill { from { width: 0 } to { width: 100% } }

/* ─── FLOATING CONTACT ───────────────────────── */
.float-contact {
  position: fixed;
  right: 1.5rem; bottom: 2rem;
  z-index: 500;
  display: flex; flex-direction: column; gap: 0.65rem;
  align-items: center;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
  transition: var(--transition);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.13); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.float-phone { background: var(--gold); }
.float-kakao { background: #FEE500; }
.float-top {
  width: 44px; height: 44px; font-size: 1rem;
  background: rgba(13,27,42,0.88);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.float-top.visible { opacity: 1; pointer-events: auto; }

/* ─── PROPERTY DETAIL ────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding: 4rem 5%;
  align-items: start;
}
.detail-gallery { position: sticky; top: 88px; }
.detail-main-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 6px; overflow: hidden;
  background: var(--gray-200); margin-bottom: 0.8rem;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.detail-thumb {
  aspect-ratio: 1; border-radius: 4px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
}
.detail-thumb.active { border-color: var(--gold); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { }
.detail-badge-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.detail-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem; border-radius: 20px;
}
.badge-sell { background: var(--gold); color: var(--navy); }
.badge-type { background: var(--gray-200); color: var(--gray-600); }

.detail-title { font-size: 1.6rem; font-weight: 900; color: var(--navy); margin-bottom: 0.3rem; line-height: 1.3; }
.detail-addr { font-size: 0.88rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.detail-price-box {
  background: var(--gray-100); border-radius: 6px; padding: 1.3rem 1.5rem;
  margin-bottom: 1.8rem;
}
.detail-price-label { font-size: 0.72rem; color: var(--gray-400); letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.detail-price-num { font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1.2; }

.detail-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--gray-200); border-radius: 6px; overflow: hidden;
  margin-bottom: 1.8rem;
}
.spec-item {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.spec-item:nth-child(even) { border-right: none; }
.spec-item:nth-last-child(-n+2) { border-bottom: none; }
.spec-label { font-size: 0.72rem; color: var(--gray-400); margin-bottom: 0.2rem; letter-spacing: 0.05em; }
.spec-value { font-size: 0.92rem; font-weight: 700; color: var(--navy); }

.detail-desc h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; }
.detail-desc p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.9; margin-bottom: 1rem; }

.detail-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 2rem; }
.detail-actions .btn-primary, .detail-actions .btn-kakao {
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 1rem; font-size: 0.9rem; border-radius: 4px;
}
.btn-call {
  display: flex; justify-content: center; gap: 0.5rem;
  background: transparent; border: 1.5px solid var(--navy);
  color: var(--navy); font-size: 0.9rem; font-weight: 700;
  padding: 1rem; border-radius: 4px; transition: var(--transition);
  text-decoration: none;
}
.btn-call:hover { background: var(--navy); color: var(--white); }

.detail-caution {
  font-size: 0.75rem; color: var(--gray-400); margin-top: 1rem; line-height: 1.8;
  padding: 1rem; background: var(--gray-100); border-radius: 4px;
}

/* Related listings */
.related { padding: 4rem 5%; background: var(--gray-100); }
.related h2 { font-size: 1.3rem; font-weight: 900; color: var(--navy); margin-bottom: 2rem; }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .detail-gallery { position: static; }
}

/* ─── SCROLL PROGRESS BAR ────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ─── NAV INNER ──────────────────────────────── */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 5%;
}

/* ─── NOTICE BANNER ──────────────────────────── */
.notice-bar {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.notice-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 1rem; cursor: pointer; opacity: 0.6; background: none; color: var(--navy);
}
.notice-close:hover { opacity: 1; }
