/* 유유누에마을 유유농산 공통 스타일 */
:root {
  --leaf: #2f6b2a;
  --leaf-soft: #e8f0de;
  --odi: #5a2a5c;
  --odi-soft: #f3ebf3;
  --cream: #f7f4ec;
  --ink: #1f2420;
  --text: #3a3f3b;
  --muted: #6b716c;
  --line: #e4e0d5;
  --bg: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); }
h1, h2, h3 { color: var(--ink); line-height: 1.35; letter-spacing: -0.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* 머리말 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  min-height: 72px;
}
.site-header .logo img { height: 52px; width: auto; }
.site-nav { display: flex; gap: 4px 22px; margin-left: auto; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--leaf); border-bottom-color: var(--leaf); }
.call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.call:hover { background: #24561f; }

/* 버튼 */
.btn, .maps a {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--leaf);
  color: var(--leaf);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover, .maps a:hover { background: var(--leaf-soft); }
.btn.solid { background: var(--leaf); color: #fff; }
.btn.solid:hover { background: #24561f; }
.maps { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 0 16px; }

/* 첫 화면: 큰 소개 */
.hero { background: var(--cream); padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--odi-soft);
  color: var(--odi);
  font-size: 14px;
  font-weight: 700;
}
.hero h1 { margin: 0 0 16px; font-size: 44px; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero p { margin: 0 0 28px; font-size: 18px; color: var(--muted); }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic .big { grid-column: 1 / -1; aspect-ratio: 3 / 1.45; }
.mosaic .small { aspect-ratio: 4 / 3; }

/* 구역 공통 */
.section { padding: 72px 0; }
.section.alt { background: var(--cream); }
.section-head { text-align: center; margin: 0 auto 36px; max-width: 640px; }
.section-head .kicker { margin: 0 0 6px; color: var(--leaf); font-weight: 700; font-size: 15px; }
.section-head h2 { margin: 0 0 10px; font-size: 32px; }
.section-head p { margin: 0; color: var(--muted); }

/* 특징 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { text-align: center; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

/* 제품 */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31, 36, 32, 0.09); }
.product img { width: 100%; aspect-ratio: 600 / 560; object-fit: cover; }
.product .body { padding: 14px 16px 18px; }
.product h3 { margin: 0 0 4px; font-size: 18px; }
.product p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product .more { margin-top: 10px; color: var(--leaf); font-weight: 700; font-size: 14px; }

/* 이야기 */
.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.story { color: inherit; text-decoration: none; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; transition: opacity .15s ease; }
.story:hover img { opacity: .88; }
.story h3 { margin: 0 0 4px; font-size: 18px; }
.story:hover h3 { color: var(--leaf); }
.story p { margin: 0; color: var(--muted); font-size: 14px; }

/* 주문 · 문의 띠 */
.order { background: var(--odi); color: #fff; padding: 56px 0; }
.order .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.order h2 { color: #fff; margin: 0 0 8px; font-size: 30px; }
.order p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.order .tels { display: grid; gap: 10px; }
.order .tels a {
  display: block;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.order .tels a:hover { background: rgba(255, 255, 255, 0.2); }
.order .tels small { display: block; font-size: 13px; font-weight: 400; opacity: .8; }

/* 오시는 길 요약 */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.visit img { border-radius: var(--radius); width: 100%; }
.visit h2 { margin: 0 0 8px; font-size: 28px; }
.visit .addr { margin: 0 0 20px; color: var(--muted); }
.visit .maps { justify-content: flex-start; }

/* 사업장 · 체험장 주소 */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.place { padding: 22px 24px 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.place .tag { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf); font-size: 13px; font-weight: 700; }
main.page .place h2 { margin: 0 0 8px; font-size: 20px; }
.place p { margin: 0 0 14px; }
.place .maps { justify-content: flex-start; }
.place .maps a { padding: 8px 16px; font-size: 14px; }
.visit .addr strong { color: var(--ink); }

/* 약도 */
.map { margin: 0 auto 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map svg { display: block; width: 100%; height: auto; font-family: inherit; }
.map .road { fill: none; stroke: #8b8f86; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.map .road.local { stroke: #1f63b0; stroke-width: 6; }
.map .shield rect { fill: #fff; stroke: #6d7168; stroke-width: 3; }
.map .shield.local rect { stroke: #1f63b0; }
.map .shield text { font-size: 16px; font-weight: 700; text-anchor: middle; fill: #3a3f3b; }
.map .shield.local text { fill: #1f63b0; }
.map .ic { fill: #1f63b0; stroke: #fff; stroke-width: 4; }
.map .town { fill: #a3174a; stroke: #fff; stroke-width: 3; }
.map .cross { fill: #fff; stroke: #a3174a; stroke-width: 3; }
.map text { paint-order: stroke; stroke: #f4f1e6; stroke-width: 5px; stroke-linejoin: round; }
.map .place { font-size: 17px; fill: #4a4f4a; }
.map .place.end { text-anchor: end; }
.map .place.mid { text-anchor: middle; }
.map .town-label { font-size: 22px; font-weight: 800; fill: #1f2420; text-anchor: middle; }
.map .cross-label { font-size: 16px; font-weight: 700; fill: #a3174a; text-anchor: middle; }
.map .nue { font-size: 17px; font-weight: 700; fill: #1f63b0; }
.map .park { font-size: 16px; fill: #2f6b2a; opacity: .75; }
.map .sea { font-size: 20px; fill: #6f8a97; stroke: #dcebf2; letter-spacing: .3em; }
.map .hw { font-size: 16px; font-weight: 700; fill: #a3174a; stroke: #f4f1e6; letter-spacing: .15em; }
.map .mark { font-size: 22px; font-weight: 800; fill: #fff; stroke: none; text-anchor: middle; }
.map .mark-sub { font-size: 15px; font-weight: 700; fill: #a3174a; }
.routes { max-width: 720px; margin: 20px auto 0; padding: 0; list-style: none; text-align: left; }
.routes li { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.routes strong { display: inline-block; min-width: 5.5em; color: var(--leaf); }

/* 꼬리말 */
.site-footer { background: #1f2420; color: rgba(255, 255, 255, 0.78); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.site-footer strong { display: block; color: #fff; font-size: 16px; margin-bottom: 6px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

/* 하위 페이지 */
.page-head { background: var(--cream); padding: 44px 0 36px; text-align: center; }
.page-head h1 { margin: 0; font-size: 34px; }
.page-head .lead { margin: 8px auto 0; max-width: 720px; }
main.page { max-width: 900px; margin: 0 auto; padding: 36px 20px 56px; text-align: center; }
.lead { margin: 0 0 24px; color: var(--muted); }
.photo, .desc, .howto { margin: 0 auto 28px; }
.photo { max-width: min(100%, 560px); }
.desc { max-width: min(100%, 850px); }
.howto { max-width: min(100%, 769px); }
main.page h2 { margin: 44px 0 16px; font-size: 24px; }
.posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.posters figure { margin: 0; }
.posters img { border-radius: 8px; }
.posters figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; }
.info { margin: 0 auto 24px; border-collapse: collapse; text-align: left; max-width: 640px; width: 100%; }
.info th, .info td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 7em; color: var(--leaf); white-space: nowrap; }
.note { color: var(--muted); font-size: 14px; }
.ask {
  margin: 40px auto 8px;
  padding: 18px 20px;
  max-width: 640px;
  border-radius: var(--radius);
  background: var(--leaf-soft);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.back { margin-top: 20px; }
.back a { text-decoration: none; font-weight: 700; }
.news {
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 22px 24px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}
.news .src { margin: 0; color: var(--leaf); font-size: 14px; font-weight: 700; }
main.page .news h2 { margin: 4px 0 12px; font-size: 20px; }
.news ul { margin: 0 0 16px; padding-left: 20px; }
.news li + li { margin-top: 6px; }
.news .maps { justify-content: flex-start; }

/* 화면 폭에 따라 */
@media (max-width: 980px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 8px; }
  .site-nav { order: 3; width: 100%; margin: 0 -20px; padding: 0 20px 8px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .call { margin-left: auto; }
  .hero .wrap, .order .wrap, .visit, .places { grid-template-columns: 1fr; }
  .products, .stories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header { position: static; }
  .site-header .wrap { min-height: 60px; }
  .badge { font-size: 13px; }
  .site-header .logo img { height: 42px; }
  .site-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0 0 6px; overflow: visible; }
  .site-nav a { text-align: center; font-size: 15px; padding: 7px 0; }
  .call { padding: 7px 13px; font-size: 14px; }
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 26px; }
  .features { grid-template-columns: 1fr; }
  .products, .stories { gap: 12px; }
  .product .body { padding: 10px 12px 14px; }
  .product h3, .story h3 { font-size: 16px; }
  .order h2 { font-size: 24px; }
  .order .tels a { font-size: 20px; }
  .page-head h1 { font-size: 26px; }
  .map { margin: 0 -20px 8px; border-radius: 0; border-left: 0; border-right: 0; overflow-x: auto; }
  .map svg { width: 640px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .story img { transition: none; }
}
