:root{--build-id:"be083c27-208a-4616-b19b-e9f17bdb16d0";}
/* 로로미모60 - 국밥 전문 사이트 */

/* ===== 색상 변수 (C38) ===== */
:root {
  --primary: #3f3f46;
  --bg: #fafafa;
  --text: #18181b;
  --accent: #a1a1aa;
  --heading: var(--text);
  --link: var(--text);
}

/* ===== 폰트 설정 (F4) ===== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
}

/* ===== 헤딩 스타일 (H20) ===== */
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
  border-bottom: 4px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.275rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* ===== 레이아웃 (S11) ===== */
.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.75rem 0;
}

.section-gap {
  gap: 3.75rem;
}

/* ===== 네비게이션 (N07) ===== */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1350px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ===== 버튼 스타일 (B20) ===== */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}

/* ===== 카드 스타일 (K20) ===== */
.card {
  border: 1px solid #f3f4f6;
  border-radius: 0.5rem;
  padding: 1.75rem;
  background-color: white;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
}

/* ===== 히어로 섹션 (L30 - 인터랙티브) ===== */
.hero {
  background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(63, 63, 70, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(161, 161, 170, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  border-bottom: none;
}

.hero p {
  font-size: 1.125rem;
  color: var(--accent);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 그리드 레이아웃 ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== 슬라이더 섹션 (L30) ===== */
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.slider-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 1rem;
}

.slider-track::-webkit-scrollbar {
  height: 8px;
}

.slider-track::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.slider-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.slider-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* ===== 비교 섹션 (L30) ===== */
.comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-item {
  text-align: center;
}

.comparison-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ===== CTA 섹션 (L30 - 중앙) ===== */
.cta-section {
  text-align: center;
  background-color: var(--primary);
  color: white;
  padding: 5rem 2rem;
  border-radius: 1rem;
  margin: 4rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn-primary {
  background-color: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background-color: #f4f4f5;
}

/* ===== 푸터 ===== */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ===== 반응형 (모바일) ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 5rem 0 3rem;
  }

  section {
    padding: 3rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .slider-item {
    flex: 0 0 250px;
  }
}

/* ===== 접근성 ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== 유틸리티 ===== */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.icon {
  display: inline-block;
  margin-right: 0.5rem;
}