:root{--build-id:"494d32ba-b3ec-4187-b370-bf2330a348e2";}
/* ===========================
   bivulo28.site - 이우로라28
   반찬 테마 웹사이트
   변수: L13, C10, T25, B06, N09, K06, S01, H06, F5, CS06
   =========================== */

/* 리셋 및 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* F5: Inter 폰트 시스템 스택 */
:root {
  --font-primary: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-secondary: Lora, Georgia, Cambria, "Times New Roman", Times, serif;
}

/* C10: 그린 색상 팔레트 */
:root {
  --primary: #059669;
  --bg: #ecfdf5;
  --text: #065f46;
  --accent: #10b981;
  --heading: #065f46;
  --link: #065f46;
  --white: #ffffff;
  --border: #d1d5db;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}

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

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

/* S01: 여백 시스템 - section: 5rem 0; container: 1280px; gap: 3rem; */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* N09: 상단 투명 + 좌측 로고 + 중앙 검색 + 우측 메뉴 + 햄버거 */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(236, 253, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

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

/* 중앙 검색바 스타일 */
.search-box {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--text);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
}

/* 네비게이션 */
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.3s;
}

nav a:hover,
nav a:focus {
  color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* 햄버거 메뉴 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

/* 모바일 네비게이션 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(236, 253, 245, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    display: none;
    border-top: 1px solid var(--border);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem 1.5rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .search-box {
    display: none;
  }
}

/* H06: 헤딩 스타일 */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: capitalize;
  color: var(--heading);
  font-family: var(--font-primary);
}

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

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* L13: 비대칭 히어로 */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--bg) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 650px;
}

.hero-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  font-family: var(--font-secondary);
  color: var(--text);
}

.hero-image {
  text-align: right;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    text-align: center;
  }
}

/* B06: 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 0;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border: 3px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1.5rem;
}

.btn:hover,
.btn:focus {
  background: transparent;
  color: var(--primary);
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

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

.btn-outline:hover,
.btn-outline:focus {
  background: var(--primary);
  color: var(--white);
}

/* K06: 카드 스타일 - border: 1px solid #D1D5DB; border-radius: 1rem; padding: 1.5rem; */
.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(5, 150, 105, 0.1);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.card p {
  line-height: 1.7;
  color: var(--text);
  font-family: var(--font-secondary);
}

/* 3열 카드 그리드 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* 타임라인 스타일 */
.timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg);
}

.timeline-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  line-height: 1.7;
  color: var(--text);
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 2rem;
  }

  .timeline-item {
    padding-left: 1rem;
  }

  .timeline-item::before {
    left: -2.5rem;
  }
}

/* 사이드바 CTA */
.sidebar-cta {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: 0;
  border: 3px solid var(--primary);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
  text-decoration: none;
  transition: all 0.3s;
  z-index: 999;
  font-size: 1rem;
}

.sidebar-cta:hover,
.sidebar-cta:focus {
  background: transparent;
  color: var(--primary);
  transform: scale(1.05);
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .sidebar-cta {
    right: 1rem;
    bottom: 1rem;
    font-size: 0.875rem;
    padding: 1rem 1.5rem;
  }
}

/* 푸터 */
footer {
  background: rgba(5, 150, 105, 0.05);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

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

.footer-section h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-section p,
.footer-section a {
  color: var(--text);
  text-decoration: none;
  line-height: 1.8;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* 유틸리티 클래스 */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

/* 아이콘 스타일 */
.icon {
  display: inline-block;
  font-style: normal;
  font-size: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* 접근성 */
.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;
}

/* 포커스 스타일 */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 2열 그리드 */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* CS06: 사례형 콘텐츠 스타일 - 긴 문장, 스토리텔링, 친근한 표현 */
.story-content {
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

.story-content p {
  margin-bottom: 1.5rem;
}

.story-highlight {
  background: rgba(16, 185, 129, 0.1);
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  font-style: italic;
}

/* 리스트 스타일 */
ul,
ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}