/* =============================================
   DAB Drive And Brew — Main Stylesheet
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0b;
  --bg2:      #0f1117;
  --bg3:      #13151c;
  --card:     rgba(20, 24, 34, 0.75);
  --line:     rgba(255,255,255,0.08);
  --text:     #f0f0f2;
  --muted:    #8b9099;
  --brand:    #163A5F;
  --brand2:   #1d4f7a;
  --gold:     #c9a227;
  --gold2:    #e0b840;
  --accent:   #4fa8d5;
  --coffee:   #8B5E3C;
  --coffee2:  #a97040;
  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:0 20px 60px rgba(0,0,0,0.5);
  --trans:    0.3s cubic-bezier(0.4,0,0.2,1);

  font-family: 'Noto Sans KR', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Commons ---- */
section {
  padding: 100px 0;
}

.section-label {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--brand);
  border: 1px solid rgba(100,160,220,0.3);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: var(--trans);
}
.btn-primary:hover {
  background: var(--brand2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,58,95,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 27px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: var(--trans);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* ====================================================
   NAV
   ==================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--trans), box-shadow var(--trans);
}
#navbar.scrolled {
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* 흰 배경 로고를 다크모드에서 자연스럽게 */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.85; }

/* 스크롤 후 배경 생기면 원본 색상 유지 */
#navbar.scrolled .nav-logo-img {
  filter: none;
}
.logo-dab {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 4px;
}
.logo-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 300;
}
.logo-sub2 {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 1.5px;
  font-weight: 300;
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: var(--trans);
  letter-spacing: 0.3px;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active {
  color: var(--gold);
}

.nav-admin {
  background: rgba(22,58,95,0.25) !important;
  border: 1px solid rgba(22,58,95,0.5) !important;
  color: var(--accent) !important;
}
.nav-admin:hover {
  background: rgba(22,58,95,0.5) !important;
}

/* ====================================================
   HERO
   ==================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(22,58,95,0.5) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0b 0%, #0f1520 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 60%, rgba(201,162,39,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(22,58,95,0.3);
  border: 1px solid rgba(79,168,213,0.3);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}
.hero-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 16vw, 160px);
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: 12px;
  text-shadow: 0 0 80px rgba(201,162,39,0.3);
}
.hero-tagline {
  font-size: clamp(14px, 2.5vw, 22px);
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-sub-tagline {
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 300;
  letter-spacing: 5px;
  color: var(--gold);
  opacity: 0.75;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-desc {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-desc em {
  font-style: normal;
  color: var(--muted);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ====================================================
   ABOUT
   ==================================================== */
#about {
  background: var(--bg2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-lead {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}
.about-body {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 15px;
}
/* 카페 인용구 강조 */
/* 우측 카페 인용구 카드 */
.about-cafe-card {
  position: relative;
  padding: 28px 28px 28px 32px;
  background: linear-gradient(135deg, rgba(139,94,60,0.14) 0%, rgba(10,10,11,0.6) 100%);
  border: 1px solid rgba(139,94,60,0.35);
  border-left: 4px solid var(--coffee);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}
.about-cafe-card::before {
  content: '"';
  position: absolute;
  top: 4px; right: 16px;
  font-family: 'Bebas Neue', serif;
  font-size: 100px;
  color: var(--coffee);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}
.about-cafe-icon {
  width: 38px; height: 38px;
  background: rgba(139,94,60,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--coffee2);
  font-size: 16px;
  margin-bottom: 14px;
}
.about-cafe-quote {
  font-style: normal;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.2px;
}
.about-stats {
  display: flex;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
}
.stat-num small {
  font-size: 22px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 15px;
  font-weight: 600;
  transition: var(--trans);
  cursor: default;
}
.about-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(20,24,34,0.9);
  transform: translateX(6px);
}
.about-card i {
  font-size: 20px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.ac1 i { background: rgba(22,58,95,0.3); color: var(--accent); }
.ac2 i { background: rgba(139,94,60,0.3); color: var(--coffee2); }
.ac3 i { background: rgba(201,162,39,0.2); color: var(--gold); }

/* ====================================================
   SERVICES
   ==================================================== */
#services {
  background: var(--bg);
}
.services-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}
.svc-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  font-family: inherit;
}
.svc-tab.active {
  background: var(--brand);
  border-color: rgba(79,168,213,0.4);
  color: #fff;
}
.svc-tab:hover:not(.active) {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.svc-panel { display: none; }
.svc-panel.active { display: block; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--trans);
  cursor: default;
}
.svc-card:hover {
  border-color: rgba(22,58,95,0.6);
  background: rgba(22,58,95,0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.svc-card.svc-cta {
  background: rgba(22,58,95,0.15);
  border-color: rgba(22,58,95,0.4);
}
.svc-card.svc-cta:hover {
  background: rgba(22,58,95,0.25);
}

.svc-icon {
  width: 52px; height: 52px;
  background: rgba(22,58,95,0.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--accent);
}
.svc-icon.cafe-icon {
  background: rgba(139,94,60,0.25);
  color: var(--coffee2);
}

.svc-card h3 { font-size: 16px; font-weight: 700; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }

.svc-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(22,58,95,0.2);
  border: 1px solid rgba(22,58,95,0.4);
  border-radius: 999px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 600;
  align-self: flex-start;
}
.svc-tag.cafe-tag {
  background: rgba(139,94,60,0.2);
  border-color: rgba(139,94,60,0.4);
  color: var(--coffee2);
}
.cafe-btn { background: var(--coffee) !important; }
.cafe-btn:hover { background: var(--coffee2) !important; }

/* ====================================================
   GALLERY
   ==================================================== */
#gallery {
  background: var(--bg2);
}
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.gal-btn {
  padding: 8px 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  font-family: inherit;
}
.gal-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.gal-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: var(--trans);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item:hover .gal-overlay { opacity: 1; }

.gal-visual {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,11,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--trans);
}
.gal-overlay .gal-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.gal-overlay .gal-sub {
  font-size: 12px;
  color: var(--muted);
}
.gal-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.gal-badge.polish { background: rgba(201,162,39,0.85); color: #000; }
.gal-badge.ceramic { background: rgba(22,58,95,0.85); color: #fff; }
.gal-badge.ppf { background: rgba(34,197,94,0.85); color: #000; }

/* Before/After tag */
.gal-ba {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex;
  gap: 4px;
}
.ba-tag {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}
.ba-tag.before { background: rgba(239,68,68,0.7); color: #fff; }
.ba-tag.after { background: rgba(34,197,94,0.7); color: #fff; }

/* ====================================================
   REVIEWS
   ==================================================== */
#reviews {
  background: var(--bg);
  overflow: hidden;
}
.reviews-track-wrap {
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.review-card {
  flex: 0 0 380px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; flex: 1; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; }
.author-car { font-size: 12px; color: var(--muted); }
.author-date { font-size: 11px; color: var(--muted); margin-left: auto; }

.review-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--trans);
  z-index: 10;
}
.review-nav:hover {
  background: var(--brand);
  border-color: var(--brand2);
}
.review-nav.prev { left: -22px; }
.review-nav.next { right: -22px; }

.review-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.rdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: var(--trans);
}
.rdot.active { background: var(--gold); transform: scale(1.3); }

/* ====================================================
   BOOKING
   ==================================================== */
#booking {
  background: var(--bg2);
}
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.booking-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: var(--trans);
  cursor: pointer;
}
.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.booking-card.naver { border-color: rgba(3,199,90,0.3); }
.booking-card.naver:hover { background: rgba(3,199,90,0.08); border-color: rgba(3,199,90,0.5); }
.booking-card.call { border-color: rgba(22,58,95,0.4); }
.booking-card.call:hover { background: rgba(22,58,95,0.12); border-color: rgba(22,58,95,0.6); }
.booking-card.kakao { border-color: rgba(254,229,0,0.3); }
.booking-card.kakao:hover { background: rgba(254,229,0,0.06); border-color: rgba(254,229,0,0.5); }

.booking-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.naver .booking-icon { background: rgba(3,199,90,0.15); color: #03c75a; }
.call .booking-icon { background: rgba(22,58,95,0.25); color: var(--accent); }
.kakao .booking-icon { background: rgba(254,229,0,0.15); color: #f9e000; }

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.booking-type { font-size: 16px; font-weight: 700; }
.booking-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.booking-arrow { color: var(--muted); font-size: 14px; }

.booking-hours {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.hours-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hours-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
}
.hours-item span:first-child { color: var(--muted); min-width: 56px; }
.hours-item span:last-child { font-weight: 600; }

/* ====================================================
   REVIEW WRITE FORM
   ==================================================== */
.review-write-wrap {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.review-write-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(22,58,95,0.25);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}
.review-write-header i { color: var(--gold); font-size: 16px; }
.review-write-header small {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.review-write-form {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rw-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.rw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.rw-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.rw-field input,
.rw-field select,
.rw-field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 13px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.rw-field input:focus,
.rw-field select:focus,
.rw-field textarea:focus { border-color: rgba(201,162,39,.5); }
.rw-field select option  { background: #1a2030; }
.rw-field textarea { resize: vertical; min-height: 110px; }

/* 별점 */
.rw-stars-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rw-stars-row > label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.rw-stars { display: flex; gap: 4px; }
.rw-star {
  font-size: 28px;
  color: rgba(255,255,255,.15);
  cursor: pointer;
  transition: color .15s, transform .15s;
  line-height: 1;
  user-select: none;
}
.rw-star.on    { color: var(--gold); }
.rw-star.hover { transform: scale(1.15); }
.rw-star:hover { color: var(--gold2); transform: scale(1.15); }
.rw-stars-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* 글자 수 */
.rw-char-count {
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 11px;
  color: var(--muted);
  pointer-events: none;
}

/* 하단 바 */
.rw-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.rw-notice {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rw-notice i { color: var(--accent); }
.rw-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  color: #000;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}
.rw-submit:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.4); }
.rw-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.rw-result {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.rw-result.success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); color: #22c55e; }
.rw-result.error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.35);  color: #ef4444; }

@media (max-width: 800px) {
  .rw-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rw-row { grid-template-columns: 1fr; }
  .review-write-form { padding: 20px 16px; }
  .rw-bottom { flex-direction: column; align-items: stretch; }
  .rw-submit { text-align: center; justify-content: center; }
}

/* ====================================================
   INQUIRY FORM
   ==================================================== */
#inquiry {
  background: var(--bg2);
}
.inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.iq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.iq-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.iq-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.req { color: var(--gold); }
.iq-field input,
.iq-field select,
.iq-field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.iq-field input:focus,
.iq-field select:focus,
.iq-field textarea:focus {
  border-color: rgba(201,162,39,.5);
}
.iq-field select option { background: #1a2030; }
.iq-field textarea { resize: vertical; min-height: 110px; }

.iq-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.iq-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.iq-check input[type=checkbox] {
  width: 16px; height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.iq-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}
.iq-submit:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,.4);
}
.iq-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.iq-result {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.iq-result.success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.35);
  color: #22c55e;
}
.iq-result.error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.35);
  color: #ef4444;
}

/* Side cards */
.inquiry-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 90px;
}
.iq-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--trans);
}
.iq-info-card:hover {
  border-color: rgba(201,162,39,.3);
}
.iq-info-icon {
  width: 40px; height: 40px;
  background: rgba(201,162,39,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}
.iq-info-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.iq-info-card strong { font-size: 13px; color: var(--muted); font-weight: 500; }
.iq-info-card span,
.iq-info-card a { font-size: 14px; font-weight: 600; line-height: 1.5; }
.iq-info-card a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .inquiry-wrap { grid-template-columns: 1fr; }
  .inquiry-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .iq-info-card { flex: 1 1 calc(50% - 6px); }
}
@media (max-width: 600px) {
  .iq-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 20px; }
  .iq-info-card { flex: 1 1 100%; }
  .iq-bottom { flex-direction: column; align-items: stretch; }
  .iq-submit { text-align: center; justify-content: center; }
}

/* ====================================================
   LOCATION
   ==================================================== */
#location {
  background: var(--bg);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.loc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.loc-item > i {
  width: 40px; height: 40px;
  background: rgba(22,58,95,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}
.loc-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.loc-item strong { font-size: 13px; color: var(--muted); font-weight: 500; }
.loc-item span, .loc-item a { font-size: 15px; font-weight: 600; }
.loc-sub { font-size: 12px !important; color: var(--muted) !important; font-weight: 400 !important; }
.loc-item a:hover { color: var(--accent); }

.loc-sns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--trans);
}
.sns-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}
.sns-btn.kakao:hover {
  background: rgba(254,229,0,0.08);
  border-color: rgba(254,229,0,0.3);
}

.location-map {
  border-radius: var(--radius);
  overflow: visible;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--bg3);
  border-radius: var(--radius);
  overflow: hidden;
}
.naver-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #03C75A;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: var(--trans);
  align-self: flex-start;
}
.naver-map-btn:hover {
  background: #02a84c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3,199,90,0.35);
}

/* ====================================================
   DETAILER
   ==================================================== */
#detailer {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
#detailer::before {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(22,58,95,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* 전체 2열: 좌(사진+카드) / 우(소개) */
.detailer-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 52px;
  align-items: start;
}

/* ── 좌측 컬럼: 사진 위 + 카드 세로 아래 ── */
.detailer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detailer-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  border: 1px solid rgba(201,162,39,0.2);
}
.detailer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.detailer-photo-frame:hover .detailer-photo {
  transform: scale(1.04);
}

/* 사진 위 배지 */
.detailer-photo-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
}
.detailer-photo-badge i {
  font-size: 20px;
}

/* 경력 카드 리스트 */
.detailer-career-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.career-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.career-card:hover {
  border-color: rgba(201,162,39,0.35);
  background: rgba(201,162,39,0.04);
}
/* 현직 카드 — 파란 포인트 */
.career-card.current {
  border-color: rgba(79,168,213,0.3);
  background: rgba(79,168,213,0.05);
}
.career-card.current:hover {
  border-color: rgba(79,168,213,0.55);
  background: rgba(79,168,213,0.09);
}
.career-card.current > i {
  background: rgba(79,168,213,0.15);
  color: var(--accent);
}
/* 자격·기술 카드 — 골드 포인트 강조 */
.career-card.cert {
  border-color: rgba(201,162,39,0.25);
  background: rgba(201,162,39,0.04);
}
.career-card.cert:hover {
  border-color: rgba(201,162,39,0.5);
  background: rgba(201,162,39,0.08);
}
.career-card > i {
  width: 34px; height: 34px;
  background: rgba(201,162,39,0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.career-card > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.career-card strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.career-card span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
/* 현직 배지 */
.career-now-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(79,168,213,0.2);
  border: 1px solid rgba(79,168,213,0.4);
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.4;
}

/* ── 텍스트 컬럼 ── */
.detailer-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.detailer-title-wrap {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.detailer-nickname {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 3px;
  color: var(--text);
  line-height: 1.1;
}
.detailer-en {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 6px;
}

.detailer-quote {
  margin: 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(201,162,39,0.07) 0%, rgba(22,58,95,0.09) 100%);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  color: var(--text);
  font-style: normal;
  position: relative;
}
.detailer-quote::before {
  content: '"';
  position: absolute;
  top: 10px; left: 16px;
  font-family: 'Bebas Neue', serif;
  font-size: 56px;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}

.detailer-desc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detailer-desc p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}
.highlight-gold {
  color: var(--gold);
  font-weight: 700;
}

/* 전문분야 태그 */
.detailer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dtag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--trans);
}
.dtag:hover {
  border-color: rgba(201,162,39,0.4);
  color: var(--gold);
  background: rgba(201,162,39,0.06);
}
.dtag i {
  font-size: 11px;
  color: var(--gold);
}

.detailer-cta {
  align-self: flex-start;
  padding: 15px 32px;
  font-size: 15px;
}

/* 반응형 */
@media (max-width: 1024px) {
  .detailer-wrap {
    grid-template-columns: 320px 1fr;
    gap: 36px;
  }
}
@media (max-width: 840px) {
  .detailer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detailer-left {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .detailer-cta { align-self: stretch; text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .detailer-photo-frame { max-width: 100%; }
  .detailer-quote { padding: 20px 20px 20px 24px; font-size: 14px; }
}

/* ====================================================
   BRAND STORY
   ==================================================== */
#story {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#story::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(201,162,39,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.story-layout {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* 메인 인용구 블록 */
.story-philosophy {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(201,162,39,0.06) 0%, rgba(22,58,95,0.08) 100%);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 24px;
}
.story-quote-mark {
  font-family: 'Bebas Neue', serif;
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 24px;
  display: block;
}
.story-quote-text {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.story-quote-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

/* 스토리 본문 2열 그리드 */
.story-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* 각 스토리 블록 */
.story-block {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--trans);
  align-items: flex-start;
}
.story-block:hover {
  border-color: rgba(201,162,39,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}
.story-block-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  flex-shrink: 0;
  width: 52px;
  padding-top: 2px;
}
.story-block-content {
  flex: 1;
}
.story-block-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.story-block-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 8px;
}
.story-block-content p:last-child { margin-bottom: 0; }

/* 서비스 리스트 */
.story-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.story-service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: var(--trans);
}
.story-service-list li:hover {
  border-color: rgba(201,162,39,0.3);
  background: rgba(201,162,39,0.05);
}
.story-service-list li i {
  color: var(--gold);
  width: 16px;
  text-align: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* 목표 블록 (전체 너비) */
.story-block-goal {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(22,58,95,0.25) 0%, rgba(13,35,58,0.3) 100%);
  border-color: rgba(79,168,213,0.25);
}
.story-block-goal:hover {
  border-color: rgba(79,168,213,0.5);
}
.story-goal-text {
  font-size: 16px !important;
  color: var(--text) !important;
  line-height: 2 !important;
  font-weight: 500;
}

/* 더 섬세하게 더 오래 배너 */
.story-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
}
.story-banner-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.5), transparent);
}
.story-banner-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 6px;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0.75;
}

/* 반응형 */
@media (max-width: 900px) {
  .story-body-grid { grid-template-columns: 1fr; }
  .story-block-goal { grid-column: auto; }
  .story-philosophy { padding: 36px 24px; }
}
@media (max-width: 600px) {
  .story-block { padding: 24px 20px; gap: 16px; }
  .story-block-num { font-size: 32px; width: 40px; }
  .story-banner-text { letter-spacing: 3px; }
}

/* ====================================================
   FOOTER
   ==================================================== */
#footer {
  background: #070709;
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-info {
  flex: 1;
  text-align: center;
}
.footer-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-muted { font-size: 11px !important; margin-top: 4px; }
.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}
.footer-links a:hover { color: var(--text); }

/* ====================================================
   SCROLL ANIMATIONS
   ==================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; border-radius: 10px; font-size: 15px; }

  /* Hero */
  .hero-btns { flex-direction: column; align-items: center; }

  /* About */
  .about-stats { gap: 20px; }

  /* Svc */
  .svc-grid { grid-template-columns: 1fr; }
  .services-tabs { overflow-x: auto; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Review */
  .review-card { flex: 0 0 300px; }
  .review-nav.prev { left: -10px; }
  .review-nav.next { right: -10px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-info { text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 calc(100vw - 60px); }
  .about-stats { flex-wrap: wrap; }
}
