/* ========================================
   더 봄 주간보호센터 - Design System v2.0
   Premium Upgrade
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Colors */
  --primary: #F57C00;
  --primary-light: #FFB74D;
  --primary-dark: #E65100;
  --primary-bg: #FFF3E0;
  --primary-50: #FFF8F0;

  /* Accent */
  --accent-red: #E53935;
  --accent-red-light: #FFCDD2;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;

  /* Text */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-white: #FFFFFF;

  /* Semantic */
  --success: #4CAF50;
  --info: #2196F3;
  --badge-bg: #1B5E20;
  --badge-text: #FFFFFF;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  font-size: 1.05rem;
}

.section--gray {
  background-color: var(--gray-50);
}

.section--orange {
  background-color: var(--primary-50);
}

/* ---------- Responsive Grid Utility ---------- */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.layout-2col--start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.layout-2col--wide {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.layout-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow var(--transition-med);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.nav__logo-text span {
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.85rem;
}

.nav__menu {
  display: flex;
  gap: var(--space-xl);
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--transition-med);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--text-white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.nav__cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  z-index: 999;
}

.nav__mobile.open {
  display: block;
  animation: slideDown 0.3s ease;
}

.nav__mobile a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.nav__mobile a:last-child {
  border-bottom: none;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-height);
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 50%, #FFCC80 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 70vh;
  position: relative;
  z-index: 2;
  gap: 32px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  color: var(--badge-text);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero__badge svg {
  width: 18px;
  height: 18px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.hero__title .highlight {
  color: var(--primary);
  position: relative;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Image Circle */
.hero__image-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__image-circle-inner {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border-radius: 50%;
  width: 480px;
  height: 480px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(245, 124, 0, 0.15);
}

.hero__image-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.15);
}

/* Hero Decoration */
.hero__deco {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero__deco--1 {
  right: -100px;
  bottom: -100px;
  width: 500px;
  height: 500px;
  background: rgba(245, 124, 0, 0.06);
}

.hero__deco--2 {
  right: 100px;
  top: -80px;
  width: 300px;
  height: 300px;
  background: rgba(245, 124, 0, 0.04);
}

/* Floating hearts decoration */
.hero__hearts {
  position: absolute;
  right: 10%;
  top: 20%;
  z-index: 1;
}

.heart {
  color: var(--accent-red);
  font-size: 2rem;
  position: absolute;
  animation: floatHeart 4s ease-in-out infinite;
  opacity: 0.3;
}

.heart:nth-child(1) {
  top: 0;
  left: 0;
  animation-delay: 0s;
  font-size: 1.5rem;
}

.heart:nth-child(2) {
  top: 60px;
  left: 80px;
  animation-delay: 1s;
  font-size: 2.5rem;
}

.heart:nth-child(3) {
  top: -30px;
  left: 160px;
  animation-delay: 2s;
  font-size: 1.8rem;
}

.heart:nth-child(4) {
  top: 100px;
  left: 40px;
  animation-delay: 0.5s;
  font-size: 1.2rem;
}

@keyframes floatHeart {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
    opacity: 0.6;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.35);
}

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

.btn--outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
}

.card__icon--orange {
  background: var(--primary-bg);
  color: var(--primary);
}

.card__icon--green {
  background: #E8F5E9;
  color: #4CAF50;
}

.card__icon--blue {
  background: #E3F2FD;
  color: #2196F3;
}

.card__icon--red {
  background: #FFEBEE;
  color: #E53935;
}

.card__icon--purple {
  background: #F3E5F5;
  color: #9C27B0;
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 0.95rem;
}

/* ---------- Grid Systems ---------- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Badge Component ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge--green {
  background: #E8F5E9;
  color: #2E7D32;
}

.badge--orange {
  background: var(--primary-bg);
  color: var(--primary-dark);
}

.badge--blue {
  background: #E3F2FD;
  color: #1565C0;
}

/* ---------- Facility Photo Card ---------- */
.facility-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-med);
  background: var(--white);
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.facility-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.facility-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.facility-card:hover .facility-card__image img {
  transform: scale(1.05);
}

.facility-card__body {
  padding: var(--space-lg);
}

.facility-card__body h4 {
  margin-bottom: var(--space-xs);
}

.facility-card__body p {
  font-size: 0.9rem;
}

/* ---------- Photo Section (Image with overlay text) ---------- */
.photo-block {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-block--tall {
  min-height: 400px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-light), var(--primary));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--primary-bg);
}

.timeline__time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline__content h4 {
  margin-bottom: 4px;
}

.timeline__content p {
  font-size: 0.9rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
}

.step:last-child::after {
  display: none;
}

.step__number {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto var(--space-md);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.step__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.step h4 {
  margin-bottom: var(--space-xs);
}

.step p {
  font-size: 0.9rem;
}

/* ---------- Walkmate Feature Section ---------- */
.walkmate {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.walkmate__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  padding: var(--space-3xl);
  align-items: center;
}

.walkmate__content h2 {
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.walkmate__content h2::after {
  display: none;
}

.walkmate__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.walkmate__features {
  display: grid;
  gap: var(--space-md);
}

.walkmate__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.walkmate__feature:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.walkmate__feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.walkmate__feature h4 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.walkmate__feature p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.walkmate__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.walkmate__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.walkmate__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: var(--space-md);
}

/* ---------- Gallery Grid ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast);
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

/* ---------- Notice Board ---------- */
.notice-board {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.notice-board__item {
  display: flex;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.notice-board__item:last-child {
  border-bottom: none;
}

.notice-board__item:hover {
  background: var(--gray-50);
}

.notice-board__body {
  flex: 1;
}

.notice-board__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--gray-800);
}

.notice-board__date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Notice Detail (expandable) */
.notice-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--gray-50);
}

.notice-detail.open {
  max-height: 2000px;
}

.notice-detail__inner {
  padding: 24px 24px 24px 100px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.notice-detail__inner img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-top: 16px;
}

/* ---------- FAQ Accordion ---------- */
.faq__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq__item:hover {
  border-color: var(--primary-light);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq__question:hover {
  background: var(--gray-50);
}

.faq__question .arrow {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.faq__item.active .faq__question .arrow {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-med);
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- Contact Section ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.contact-info__item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
}

.contact-info__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.contact-info__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-md);
}

.contact-info__item h4 {
  margin-bottom: var(--space-xs);
}

.contact-info__item p {
  font-size: 0.9rem;
}

/* ---------- Certified Card ---------- */
.certified-card {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  border-radius: 20px;
  padding: 48px;
  color: white;
  box-shadow: 0 8px 32px rgba(27, 94, 32, 0.3);
  text-align: center;
}

.certified-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.certified-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.certified-card img {
  max-width: 240px;
  margin: 0 auto 16px;
}

/* ---------- Greeting Section ---------- */
.greeting-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.greeting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.greeting-photo__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: white;
  text-align: center;
}

.greeting-photo__overlay h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.greeting-photo__overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.footer__logo-text span {
  color: var(--gray-400);
  font-weight: 400;
  font-size: 0.85rem;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: var(--space-lg);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer__section h4 {
  color: var(--gray-200);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.footer__section ul li {
  margin-bottom: var(--space-sm);
}

.footer__section ul li a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer__section ul li a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ---------- Page Header (Sub Pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  padding: var(--space-4xl) 0 var(--space-3xl);
  margin-top: var(--nav-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.page-header h1 {
  color: var(--text-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 124, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-med);
  z-index: 900;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- Vehicle Showcase ---------- */
.vehicle-showcase {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--gray-200);
}

.vehicle-showcase img {
  max-width: 500px;
  width: 100%;
  margin: 0 auto var(--space-lg);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ---------- Utility Classes ---------- */
.text-primary {
  color: var(--primary);
}

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

.text-left {
  text-align: left;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .walkmate__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step::after {
    display: none;
  }

  .layout-2col,
  .layout-2col--start,
  .layout-2col--wide,
  .layout-1-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero__image-circle-inner {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {

  .nav__menu,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__hearts {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__image-circle {
    display: none;
  }

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

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .walkmate__inner {
    padding: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .notice-detail__inner {
    padding: 20px 24px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  #map-section [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ---------- Admin Panel ---------- */
.admin-only {
  display: none !important;
}

body.admin-mode .admin-only {
  display: block !important;
}

.admin-only--flex {
  display: none !important;
}

body.admin-mode .admin-only--flex {
  display: flex !important;
}

body.admin-mode .admin-only--inline {
  display: inline-flex;
}

.admin-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: white;
  padding: 12px var(--space-lg);
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

body.admin-mode .admin-bar {
  display: flex;
}

.admin-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-bar__badge {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

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

.admin-btn--primary:hover {
  background: var(--primary-dark);
}

.admin-btn--danger {
  background: var(--accent-red);
  color: white;
}

.admin-btn--danger:hover {
  background: #C62828;
}

.admin-btn--outline {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-600);
}

.admin-btn--outline:hover {
  color: white;
  border-color: white;
}

.admin-btn--sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.admin-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--accent-red);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

body.admin-mode .admin-delete-btn {
  display: flex;
}

/* Admin Modal */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.active {
  display: flex;
}

.admin-modal__content {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.admin-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.admin-modal__header h3 {
  font-size: 1.3rem;
}

.admin-modal__close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.admin-modal__close:hover {
  background: var(--gray-200);
}

.admin-form__group {
  margin-bottom: var(--space-lg);
}

.admin-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.admin-form__input,
.admin-form__select,
.admin-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.admin-form__input:focus,
.admin-form__select:focus,
.admin-form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

.admin-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-form__file {
  display: block;
  width: 100%;
  padding: 12px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.admin-form__file:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.admin-form__preview {
  margin-top: var(--space-sm);
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.admin-form__preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.admin-form__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  margin-top: var(--space-xl);
}

/* Meal image upload area */
.meal-image-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--gray-50);
}

.meal-image-area:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.meal-image-area img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

.admin-login-trigger {
  cursor: pointer;
  opacity: 0.3;
  transition: opacity var(--transition-fast);
}

.admin-login-trigger:hover {
  opacity: 0.6;
}
