/* LDH SOLUTION 임시 사이트 (2026-10-22) — solution.ldhcompany.com, Firebase Hosting 사이트 ldh-solution.
   색은 LDH CLASS 앱과 같은 남색·파랑 */
:root {
  --navy: #0F2549;
  --royal: #2A5BD7;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --border: #E1E6EF;
  --text: #0F2549;
  --text2: #4A5568;
  --muted: #8A94A6;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* 위쪽 메뉴 */
header {
  background: var(--navy);
  color: #fff;
}
.bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 18px;
  white-space: nowrap;
}
.logo img { height: 32px; width: auto; display: block; } /* 칩 아이콘 + 글자 (2026-10-22) */
h1.hero { margin: 0 0 8px; }
h1.hero img { width: min(380px, 80vw); height: auto; display: block; margin: 0 auto; } /* 가운데 (2026-10-22) */
nav { display: flex; gap: 4px; }
nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
nav a.on { color: #fff; background: rgba(255, 255, 255, 0.14); font-weight: 600; }

main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 16px 64px;
}
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.5px; }
h2 { font-size: 22px; margin: 48px 0 16px; }
p.lead { font-size: 18px; color: var(--text2); margin: 0; max-width: 640px; }

/* 서비스·관리자 카드 */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.card img { width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; }
.card h3 { margin: 2px 0 4px; font-size: 19px; }
.card p { margin: 0; color: var(--text2); font-size: 15px; }

/* 관리자 페이지: 큰 버튼 카드 */
a.go {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 32px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
a.go:hover { border-color: var(--royal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 37, 73, 0.08); }
a.go img { width: 96px; height: 96px; border-radius: 22px; }
a.go .btn {
  margin-top: 20px;
  background: var(--royal);
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
}
.note { margin-top: 24px; color: var(--muted); font-size: 14px; }

.video {
  max-width: 880px;
  margin: 0 auto; /* 가운데 */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0F1216;
  aspect-ratio: 16 / 9;
}
.video video { width: 100%; height: 100%; display: block; }

.about p { color: var(--text2); font-size: 16px; max-width: 720px; }
.about p { font-size: 17px; }
.areas { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 12px; max-width: 720px; }
.areas li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.areas strong { min-width: 112px; flex-shrink: 0; color: var(--royal); }
.areas span { color: var(--text2); }
.m-br { display: none; }
.about .closing { color: var(--text); font-weight: 700; font-size: 19px; margin-top: 8px; }
@media (max-width: 640px) {
  .areas li { flex-direction: column; gap: 4px; }
  .m-br { display: inline; } /* 휴대폰: "여러분의 여정," 다음 줄바꿈 */
}

footer {
  text-align: center;
  padding: 24px 16px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(15, 37, 73, 0.7);
}

@media (max-width: 900px) and (min-width: 641px) {
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bar { height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
  nav { margin-left: -12px; }
  main { padding-top: 36px; }
  .cards, .cards.three { grid-template-columns: 1fr; }
}
