/* ============================================
   라이트 세무회계 - Luxury Tax Firm Website
   Design System
   ============================================ */

/* ---------- 다크모드 강제 차단 ---------- */
/* 삼성 인터넷/크롬 "강제 다크모드"가 색상을 반전하지 못하도록 명시 */
:root {
  color-scheme: light only;
}
html {
  color-scheme: light only;
}

/* ---------- Pretendard Font ---------- */
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* ---------- Design Tokens ---------- */
:root {
  /* ===== 로고 톤(#134289) 기반 브랜드 컬러 ===== */
  --navy-900: #0c2d5e;   /* 가장 진한 - 푸터/딥 */
  --navy-800: #103a78;   /* 진한 */
  --navy-700: #134289;   /* ★ 로고 메인 컬러 */
  --navy-600: #1d5bb8;   /* 포인트 블루 */
  --blue-300: #9ec1ee;   /* 구름/서브 텍스트 */
  --blue-100: #e4edfa;   /* 아주 옅은 블루 배경 */
  --gold: #c9a86a;
  --gold-light: #e0c891;
  --gold-dark: #a9884c;
  --ink: #15233f;
  --gray-700: #475569;
  --gray-500: #76859c;
  --gray-300: #c8d2e0;
  --gray-100: #eef2f8;
  --ivory: #f6f9fd;
  --white: #ffffff;

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;
  --shadow-sm: 0 4px 20px rgba(19, 66, 137, 0.07);
  --shadow-md: 0 12px 40px rgba(19, 66, 137, 0.12);
  --shadow-lg: 0 24px 70px rgba(19, 66, 137, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  /* 다크모드 강제 차단 */
  color-scheme: light only;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: #15233f; color: var(--ink);
  background: #ffffff !important; background: var(--white) !important;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* iOS 모바일 스크롤 부드럽게 */
  -webkit-overflow-scrolling: touch;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Utilities ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-ivory { background: #f6f9fd !important; background: var(--ivory) !important; color: #15233f; color: var(--ink); }
.section-navy { background: #0c2d5e; background: var(--navy-900); color: #ffffff; color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: #a9884c; color: var(--gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--gold);
}
.section-navy .eyebrow { color: var(--gold-light); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; line-height: 1.25; letter-spacing: -0.02em;
  color: #15233f; color: var(--navy-900);
}
.section-navy .section-title { color: var(--white); }
.section-title .accent { color: var(--navy-600); }

.section-desc {
  margin-top: 22px; font-size: 1.05rem; font-weight: 300;
  color: var(--gray-700); max-width: 640px;
}
.section-navy .section-desc { color: var(--blue-300); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; font-size: 1rem; font-weight: 600;
  border-radius: 4px; transition: all 0.4s var(--ease);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: #103a78; background: var(--navy-800); color: #ffffff; color: var(--white);
  box-shadow: 0 10px 30px rgba(31, 58, 120, 0.28);
}
.btn-primary:hover { background: var(--navy-900); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(31, 58, 120, 0.38); }
.btn-gold {
  background: linear-gradient(135deg, #e0c891, #c9a86a);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0c2d5e; color: var(--navy-900); box-shadow: 0 10px 30px rgba(201, 168, 106, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(201, 168, 106, 0.5); }
.btn-outline { border: 1.5px solid var(--gray-300); color: var(--navy-900); background: var(--white); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); transform: translateY(-3px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all 0.4s var(--ease);
  /* 기본: 투명 (데스크탑 히어로 위) */
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(22, 41, 77, 0.10);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: auto; transition: all 0.4s var(--ease); }
/* 로고 배경색(#134289)과 동일한 패드를 깔아 어느 배경 위에서도 자연스럽게 */
.brand .logo-white {
  display: block; height: 56px;
  background: #134289; padding: 8px 16px; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.brand .logo-color {
  display: none; height: 56px;
  background: #ffffff; padding: 8px 16px; border-radius: 10px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 16px rgba(19, 66, 137, 0.08);
}
.site-header.scrolled .brand .logo-white { display: none; }
.site-header.scrolled .brand .logo-color { display: block; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav-menu { display: flex; gap: 34px; }
.nav-menu a {
  font-size: 0.98rem; font-weight: 500; color: var(--white);
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.site-header.scrolled .nav-menu a { color: var(--ink); }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.4s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  padding: 11px 24px; font-size: 0.95rem; font-weight: 600; border-radius: 4px;
  background: #c9a86a; background: var(--gold); color: #0c2d5e; color: var(--navy-900); transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: #ffffff; background: var(--white); transition: all 0.3s; }
.site-header.scrolled .nav-toggle span { background: #15233f; background: var(--ink); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0c2d5e 0%, #134289 55%, #1d5bb8 100%);
  overflow: hidden; color: #ffffff; color: var(--white);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(169, 199, 238, 0.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(201, 168, 106, 0.12), transparent 40%);
}
.hero-clouds {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: radial-gradient(ellipse at bottom, rgba(169,199,238,0.25), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center; width: 100%; padding: 120px 24px 90px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-tagline {
  display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; line-height: 1.28;
  letter-spacing: -0.025em; margin-bottom: 28px;
}
.hero h1 .light { color: var(--gold-light); }
.hero h1 .thin { font-weight: 300; }
.hero-sub {
  font-size: 1.12rem; font-weight: 300; color: var(--blue-300);
  max-width: 480px; margin-bottom: 42px; line-height: 1.85;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: #ffffff !important; background: var(--white) !important;
  color: #0c2d5e !important; color: var(--navy-900) !important;
  padding: 22px 28px; border-radius: 6px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 16px;
}
.hero-badge .num { font-size: 2.2rem; font-weight: 800; color: var(--navy-700); line-height: 1; }
.hero-badge .lbl { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); }
.hero-badge .gold-bar { width: 3px; height: 42px; background: var(--gold); }

/* ============================================
   ABOUT
   ============================================ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 8px; box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.about-photo .frame {
  position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold);
  border-radius: 8px; z-index: -1;
}
.about-greeting {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.45;
  color: var(--navy-900); margin: 22px 0 28px; letter-spacing: -0.02em;
}
.about-greeting em { font-style: normal; color: var(--navy-600); }
.about-text p { color: var(--gray-700); font-weight: 300; font-size: 1.05rem; margin-bottom: 14px; }
.about-sign { margin-top: 30px; display: flex; align-items: baseline; gap: 12px; }
.about-sign .role { font-size: 0.95rem; color: var(--gray-500); }
.about-sign .name { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); letter-spacing: 0.05em; }

/* ============================================
   SERVICES
   ============================================ */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #ffffff !important; background: var(--white) !important;
  border: 1px solid #eef2f8; border: 1px solid var(--gray-100); border-radius: 8px;
  padding: 38px 30px; transition: all 0.45s var(--ease); position: relative; overflow: hidden;
  color: #15233f; color: var(--ink);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0);
  transform-origin: left; transition: transform 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: #e4edfa; background: var(--blue-100); color: #134289; color: var(--navy-700); font-size: 1.5rem; margin-bottom: 22px;
  transition: all 0.45s var(--ease);
}
.service-card:hover .service-icon { background: var(--navy-800); color: var(--gold-light); }
.service-card h3 { font-size: 1.18rem; font-weight: 700; color: #15233f !important; color: var(--navy-900) !important; margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; font-weight: 300; color: #475569 !important; color: var(--gray-700) !important; line-height: 1.65; }

/* ============================================
   CAREER (Timeline)
   ============================================ */
.career-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.career-intro .book {
  margin-top: 34px; background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,106,0.3);
  border-radius: 8px; padding: 26px 28px; display: flex; gap: 20px; align-items: center;
}
.career-intro .book .ico { font-size: 2rem; color: var(--gold-light); }
.career-intro .book h4 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.career-intro .book span { font-size: 0.9rem; color: var(--blue-300); }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold), rgba(201,168,106,0.2));
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--navy-900); border: 3px solid var(--gold);
}
.timeline-item h4 { font-size: 1.08rem; font-weight: 600; color: var(--white); }
.timeline-item span { font-size: 0.9rem; color: var(--blue-300); font-weight: 300; }

/* ============================================
   BOOK / PUBLICATION
   ============================================ */
.book-feature { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 70px; align-items: center; }
.book-cover { position: relative; max-width: 340px; }
.book-cover img {
  width: 100%; border-radius: 6px;
  box-shadow: 0 30px 60px rgba(22, 41, 77, 0.28);
  transition: transform 0.5s var(--ease);
}
.book-cover:hover img { transform: translateY(-8px) rotate(-1deg); }
.book-badge {
  position: absolute; top: -16px; right: -16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-900); font-weight: 700; font-size: 0.85rem;
  padding: 10px 18px; border-radius: 30px; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 7px;
}
.book-meta { margin-top: 8px; }
.book-meta li {
  position: relative; padding: 14px 0; font-size: 1rem; font-weight: 300;
  color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
  display: flex; gap: 14px; align-items: flex-start; line-height: 1.6;
}
.book-meta li:last-child { border-bottom: none; }
.book-meta li i { color: var(--gold-dark); margin-top: 5px; flex-shrink: 0; }
.book-meta li strong { color: var(--navy-800); font-weight: 700; }

/* ============================================
   OFFICE
   ============================================ */
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.office-card { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); background: #ffffff !important; background: var(--white) !important; color: #15233f; color: var(--ink); }
.office-card .img { aspect-ratio: 3/4; overflow: hidden; background: var(--gray-100); }
.office-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.office-card:hover .img img { transform: scale(1.06); }
.office-card .cap { padding: 20px 24px; }
.office-card .cap h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.office-card .cap p { font-size: 0.9rem; font-weight: 300; color: var(--gray-700); }

/* ---------- Office placeholder (no real photo yet) ---------- */
.photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue-100), var(--gray-100));
  color: var(--navy-700);
}
.photo-placeholder i { font-size: 2.4rem; opacity: 0.5; }
.photo-placeholder span { font-size: 0.85rem; color: var(--gray-500); }

/* ============================================
   CONSULT INFO
   ============================================ */
.consult-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.consult-box {
  background: #ffffff !important; background: var(--white) !important;
  border: 1px solid #eef2f8; border: 1px solid var(--gray-100); border-radius: 8px; padding: 38px 36px;
  box-shadow: var(--shadow-sm);
  color: #15233f; color: var(--ink);
}
.consult-box .tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 18px;
}
.consult-box .tag.free { background: #e6f5ec; color: #1f8a4d; }
.consult-box .tag.paid { background: #fbf1e0; color: var(--gold-dark); }
.consult-box h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; }
.consult-box ul.dot li {
  position: relative; padding-left: 20px; font-size: 0.98rem; font-weight: 300;
  color: var(--gray-700); margin-bottom: 10px;
}
.consult-box ul.dot li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.notice-line { font-size: 0.88rem; color: var(--gray-500); margin-top: 16px; line-height: 1.6; }

/* ============================================
   RESERVATION FORM
   ============================================ */
.reserve-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.reserve-aside {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--white);
  padding: 56px 46px; position: relative;
}
.reserve-aside h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 18px; line-height: 1.4; }
.reserve-aside p { color: var(--blue-300); font-weight: 300; margin-bottom: 36px; }
.reserve-contact li { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 0.98rem; }
.reserve-contact li i { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--gold-light); flex-shrink: 0; }
.reserve-contact li span { color: var(--blue-300); }
.reserve-contact li strong { display: block; color: var(--white); font-weight: 600; }

/* ---------- Naver Reservation ---------- */
.naver-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; background: #03c75a;
  color: #fff; font-weight: 900; font-size: 1.05rem; flex-shrink: 0;
  font-family: Arial, sans-serif;
}
.naver-logo.sm { width: 22px; height: 22px; font-size: 0.85rem; border-radius: 5px; }

.naver-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; background: #ffffff !important; background: var(--white) !important;
  border: 1.5px solid #03c75a;
  border-radius: 10px; padding: 22px 30px; margin-bottom: 26px;
  transition: all 0.35s var(--ease); box-shadow: 0 6px 24px rgba(3, 199, 90, 0.08);
}
.naver-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(3, 199, 90, 0.18); border-color: #02b350; }
.naver-banner-left { display: flex; align-items: center; gap: 16px; }
.naver-banner-text { display: flex; flex-direction: column; gap: 3px; }
.naver-banner-text strong { font-size: 1.1rem; font-weight: 700; color: #0c2d5e !important; color: var(--navy-900) !important; }
.naver-banner-text span { font-size: 0.88rem; font-weight: 300; color: #475569 !important; color: var(--gray-700) !important; }
.naver-banner-cta {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #03c75a; color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 6px; transition: gap 0.3s;
}
.naver-banner:hover .naver-banner-cta { gap: 12px; }

.reserve-divider { text-align: center; position: relative; margin: 6px 0 32px; }
.reserve-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--gray-300); }
.reserve-divider span { position: relative; background: var(--white); padding: 0 18px; font-size: 0.9rem; color: var(--gray-500); }

.reserve-naver-btn {
  width: 100%; margin-top: 28px; background: #03c75a !important; color: #fff !important;
  box-shadow: 0 10px 30px rgba(3, 199, 90, 0.35) !important;
}
.reserve-naver-btn:hover { background: #02b350 !important; transform: translateY(-3px); }

.reserve-form { background: #ffffff !important; background: var(--white) !important; padding: 56px 46px; color: #15233f; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.form-group label .req { color: #d94343; }
.form-control {
  width: 100%; padding: 13px 16px; font-family: inherit; font-size: 0.98rem;
  border: 1.5px solid #c8d2e0; border: 1.5px solid var(--gray-300); border-radius: 6px;
  color: #15233f !important; color: var(--ink) !important;
  background: #ffffff !important; background: var(--white) !important;
  transition: all 0.3s;
}
.form-control:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(46,111,224,0.1); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a869a' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-hint { font-size: 0.82rem; color: var(--gray-500); margin-top: 6px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; }

.form-msg { padding: 14px 18px; border-radius: 6px; font-size: 0.92rem; font-weight: 500; margin-bottom: 20px; display: none; }
.form-msg.success { display: block; background: #e6f5ec; color: #1f8a4d; }
.form-msg.error { display: block; background: #fbe9e9; color: #c0392b; }

/* ============================================
   MAP / LOCATION
   ============================================ */
.location-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.location-map { min-height: 420px; background: var(--gray-100); }
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-info { background: var(--navy-900); color: var(--white); padding: 50px 44px; }
.location-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 28px; }
.loc-item { display: flex; gap: 16px; margin-bottom: 26px; }
.loc-item i { color: var(--gold-light); font-size: 1.1rem; margin-top: 4px; }
.loc-item .t { font-size: 0.82rem; color: var(--blue-300); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.loc-item .d { font-size: 1rem; color: var(--white); font-weight: 400; line-height: 1.6; }
.loc-park { background: rgba(201,168,106,0.12); border: 1px solid rgba(201,168,106,0.3); border-radius: 8px; padding: 18px 20px; font-size: 0.9rem; color: var(--gold-light); line-height: 1.6; }
.loc-naver-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 22px; background: #03c75a; color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 14px 20px; border-radius: 6px; transition: all 0.3s;
}
.loc-naver-btn:hover { background: #02b350; transform: translateY(-2px); }
.loc-naver-btn i { font-size: 0.85rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #092548 !important; color: #9ec1ee; color: var(--blue-300); padding: 70px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img {
  height: 52px; margin-bottom: 22px;
  background: #134289; padding: 10px 18px; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.footer-brand p { font-size: 0.92rem; font-weight: 300; line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.92rem; font-weight: 300; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li i { width: 18px; color: var(--gold-light); margin-right: 8px; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; font-weight: 300; color: var(--gray-500); }

/* ============================================
   FLOATING / TOAST / MODAL
   ============================================ */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.3rem; box-shadow: var(--shadow-md); transition: all 0.3s;
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-btn.tel { background: #134289; background: var(--navy-700); }
.float-btn.top { background: #c9a86a; background: var(--gold); color: #0c2d5e; color: var(--navy-900); opacity: 0; pointer-events: none; }
.float-btn.top.show { opacity: 1; pointer-events: auto; }

/* ---------- Scroll Reveal ---------- */
/* reveal 애니메이션 비활성화: 모든 요소 항상 표시 */
.reveal { opacity: 1; transform: none; transition: none; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1, .reveal.d2, .reveal.d3 { transition-delay: 0s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── 태블릿 (1024px 이하) ── */
@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .career-grid { grid-template-columns: 1fr; gap: 44px; }
  .reserve-wrap { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .book-feature { grid-template-columns: 1fr; gap: 44px; }
  .book-cover { max-width: 280px; margin: 0 auto; }
  .reserve-aside { padding: 44px 36px; }
  .location-map { min-height: 300px; }
}

/* ── 모바일 (768px 이하) ── */
@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }

  /* ---- 헤더 / 네비 ---- */
  /* 모바일에서는 항상 반투명 배경을 유지 (투명하면 텍스트가 안 보임) */
  .site-header {
    background: rgba(19, 66, 137, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 0;
  }
  /* 스크롤 시 white 전환 */
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 0;
  }

  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* 햄버거 아이콘 — 기본(헤더 = 파란 배경)일 때 흰색 */
  .nav-toggle span { background: #ffffff; }
  /* 스크롤 후 흰 헤더에선 진하게 */
  .site-header.scrolled .nav-toggle span { background: #15233f; }

  /* 열린 모바일 메뉴 */
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;          /* 흰 배경 명시 */
    box-shadow: 0 12px 40px rgba(19, 66, 137, 0.15);
    padding: 8px 0 16px;
    z-index: 999;
  }
  .nav.open .nav-menu a {
    color: #15233f !important;    /* 다크 잉크 강제 */
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid #eef2f8;
    display: block;
  }
  .nav.open .nav-menu a:hover {
    background: #e4edfa;
    color: #134289 !important;
  }
  .nav.open .nav-cta {
    display: inline-flex;
    margin: 14px 24px 6px;
    background: #c9a86a !important;
    color: #0c2d5e !important;
    border-radius: 4px;
    padding: 12px 20px;
    font-weight: 700;
    justify-content: center;
    width: calc(100% - 48px);
  }

  /* ---- 섹션 패딩 ---- */
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* ---- 히어로 ---- */
  .hero-inner { padding: 100px 16px 80px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -28px;
    white-space: nowrap;
  }

  /* ---- About ---- */
  .about-photo .frame { display: none; } /* 모바일에서 frame 오버플로 방지 */

  /* ---- Services ---- */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card { padding: 24px 18px; }

  /* ---- Career ---- */
  .section-navy { background: #0c2d5e; }  /* CSS 변수 폴백 */

  /* ---- Book ---- */
  .book-cover { max-width: 220px; }

  /* ---- Office ---- */
  .office-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .office-card .cap { padding: 12px 14px; }
  .office-card .cap h4 { font-size: 0.9rem; }
  .office-card .cap p { font-size: 0.78rem; }

  /* ---- Consult ---- */
  .consult-grid { grid-template-columns: 1fr; gap: 16px; }
  .consult-box { padding: 28px 22px; }

  /* ---- Reservation ---- */
  .naver-banner { flex-direction: column; align-items: flex-start; padding: 18px 18px; gap: 14px; }
  .naver-banner-cta { width: 100%; justify-content: center; }
  .reserve-aside { padding: 36px 24px; }
  .reserve-form { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  /* reserve-wrap 모바일에서 둥근 모서리 유지 */
  .reserve-wrap { border-radius: 8px; }

  /* ---- Location ---- */
  .location-info { padding: 36px 24px; }
  .location-map { min-height: 260px; }

  /* ---- Footer ---- */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* ---- 로고 크기 ---- */
  .brand .logo-white,
  .brand .logo-color { height: 40px; padding: 6px 12px; border-radius: 8px; }

  /* ---- Float CTA ---- */
  .float-cta { right: 16px; bottom: 16px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.15rem; }
}

/* ── 소형 모바일 (480px 이하) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
  .services-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 100px 16px 90px; }
  .hero-badge { position: static; transform: none; margin-top: 20px; width: fit-content; margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 100%; }
  .footer-brand p { max-width: 100%; }
  .reserve-aside h3 { font-size: 1.3rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ============================================
   다크모드 완전 차단
   — 삼성 인터넷 / 크롬 안드로이드 / iOS Safari
     "강제 다크모드" 적용 시 모든 색상을 라이트 값으로 덮어씀
   ============================================ */
@media (prefers-color-scheme: dark) {

  /* ① CSS 변수 재선언: 다크모드에서도 라이트 값 유지 */
  :root {
    color-scheme: light;
    --navy-900: #0c2d5e;
    --navy-800: #103a78;
    --navy-700: #134289;
    --navy-600: #1d5bb8;
    --blue-300: #9ec1ee;
    --blue-100: #e4edfa;
    --gold: #c9a86a;
    --gold-light: #e0c891;
    --gold-dark: #a9884c;
    --ink: #15233f;
    --gray-700: #475569;
    --gray-500: #76859c;
    --gray-300: #c8d2e0;
    --gray-100: #eef2f8;
    --ivory: #f6f9fd;
    --white: #ffffff;
  }

  /* ② 전체 기반 색상 */
  html, body {
    background-color: #ffffff !important;
    color: #15233f !important;
  }

  /* ③ 흰 배경 섹션 */
  .section-ivory,
  .about-grid > *,
  .book-feature,
  #about, #services, #book, #office, #reserve, #location {
    background-color: #ffffff !important;
    color: #15233f !important;
  }

  /* ④ 카드류 */
  .service-card,
  .consult-box,
  .office-card,
  .reserve-form,
  .naver-banner,
  .hero-badge,
  .location-map {
    background-color: #ffffff !important;
    color: #15233f !important;
    border-color: #eef2f8 !important;
  }

  /* ⑤ 텍스트 강제 */
  .service-card h3,
  .service-card p,
  .consult-box h3,
  .consult-box ul li,
  .office-card .cap h4,
  .office-card .cap p,
  .book-meta li,
  .about-greeting,
  .about-text p,
  .section-title,
  .section-desc,
  .eyebrow,
  .form-group label,
  .notice-line,
  .naver-banner-text strong,
  .naver-banner-text span,
  .about-sign .name,
  .about-sign .role {
    color: #15233f !important;
  }

  /* ⑥ 입력 폼 */
  .form-control,
  select.form-control,
  textarea.form-control {
    background-color: #ffffff !important;
    color: #15233f !important;
    border-color: #c8d2e0 !important;
  }

  /* ⑦ 아이보리 배경 섹션 */
  .section-ivory {
    background-color: #f6f9fd !important;
  }

  /* ⑧ 네이비 배경은 그대로 유지 (원래 어두운 의도) */
  .section-navy,
  .reserve-aside,
  .location-info,
  .site-footer,
  .hero {
    /* 다크모드에서도 원래 색 유지 */
    filter: none !important;
  }

  /* ⑨ 헤더 스크롤 상태 */
  .site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.97) !important;
  }
  .site-header.scrolled .nav-menu a { color: #15233f !important; }
  .site-header.scrolled .nav-toggle span { background-color: #15233f !important; }

  /* ⑩ 모바일 드롭다운 메뉴 */
  .nav.open .nav-menu {
    background-color: #ffffff !important;
  }
  .nav.open .nav-menu a { color: #15233f !important; }

  /* ⑪ 아이콘 배경 */
  .service-icon {
    background-color: #e4edfa !important;
    color: #134289 !important;
  }

  /* ⑫ divider 배경 */
  .reserve-divider span {
    background-color: #ffffff !important;
    color: #76859c !important;
  }
}
