/* ============================================
   엄마의 부엌 — 따뜻한 자연 톤 디자인
   ============================================ */

:root {
  --bg: #FAF6F0;
  --bg-soft: #F3EBDD;
  --bg-deep: #EFE6D8;
  --brand: #A67B5B;
  --brand-deep: #7B4F3A;
  --brand-darkest: #4E3424;
  --text: #3E2C20;
  --text-soft: #8C7A6B;
  --line: #E5D9C6;
  --white: #FFFCF7;
  --shadow-sm: 0 2px 8px rgba(123, 79, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(123, 79, 58, 0.12);
  --shadow-lg: 0 16px 48px rgba(123, 79, 58, 0.18);

  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: "Gowun Batang", "Pretendard", serif;
  --font-hand: "Gowun Dodum", "Pretendard", sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-darkest); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--brand-deep);
  border-color: var(--brand);
}
.btn-ghost:hover { background: var(--bg-deep); }

.btn-band {
  background: #00C73C;
  color: white;
}
.btn-band:hover { background: #00a832; }

.btn-naver {
  background: #03C75A;
  color: white;
}
.btn-naver:hover { background: #02a648; }

.btn-band-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 999px;
  background: #00C73C;
  color: white;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(0, 199, 60, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-band-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 199, 60, 0.4);
  background: #00a832;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--brand-deep);
}
.brand-pot { font-size: 24px; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--brand-deep); }

@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { height: 56px; }
  .brand-name { font-size: 18px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(166, 123, 91, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(123, 79, 58, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(123, 79, 58, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-hand);
  color: var(--brand-deep);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--brand-deep);
  position: relative;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: rgba(166, 123, 91, 0.22);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-soft);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-notice strong { color: var(--brand-deep); }
.hero-notice .dot {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
.hero-notice-text { flex: 1 1 auto; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
@media (max-width: 720px) { .section { padding: 70px 0; } }

.section-eyebrow {
  font-family: var(--font-hand);
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow.light { color: rgba(255, 252, 247, 0.75); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 600px;
}

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }

/* ===== Placeholders ===== */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-deep) 100%);
  color: var(--brand);
  border-radius: 16px;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(166, 123, 91, 0.12), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(123, 79, 58, 0.08), transparent 50%);
}
.ph-emoji {
  font-size: 64px;
  margin-bottom: 8px;
  filter: saturate(0.9);
  position: relative;
}
.ph-label {
  font-family: var(--font-serif);
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 500;
  position: relative;
}
.ph-sub {
  color: var(--text-soft);
  font-size: 13px;
  margin-top: 4px;
  position: relative;
}

.ph-about {
  aspect-ratio: 4 / 5;
  width: 100%;
}
.ph-about .ph-emoji { font-size: 90px; }
.ph-about .ph-label { font-size: 22px; }

.ph-menu {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 14px 14px 0 0;
}
.ph-menu .ph-emoji { font-size: 56px; margin: 0; }
.ph-menu[data-color="1"] { background: linear-gradient(135deg, #F0E4D2 0%, #E0CCB0 100%); }
.ph-menu[data-color="2"] { background: linear-gradient(135deg, #EBDDC9 0%, #D6BC9D 100%); }
.ph-menu[data-color="3"] { background: linear-gradient(135deg, #F4EAD8 0%, #DCC9A8 100%); }
.ph-menu[data-color="4"] { background: linear-gradient(135deg, #E8D8C0 0%, #C9AC85 100%); }
.ph-menu[data-color="5"] { background: linear-gradient(135deg, #EFE3CF 0%, #D8BD96 100%); }
.ph-menu[data-color="6"] { background: linear-gradient(135deg, #F2E8D4 0%, #DDC4A0 100%); }

.ph-map {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.ph-map .ph-emoji { font-size: 80px; }
.ph-map .ph-label { font-size: 20px; }

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-text p { margin-bottom: 18px; color: var(--text); }
.about-text p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 420px; margin: 0 auto; }
}

/* ===== Menu Grid ===== */
.menu { background: var(--bg-soft); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.menu-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.menu-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: var(--bg-soft);
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.menu-card:hover .menu-thumb img {
  transform: scale(1.04);
}
.menu-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  margin: 16px 18px 6px;
}
.menu-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 18px 18px;
}
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .menu-card h3 { font-size: 16px; margin: 12px 14px 4px; }
  .menu-card p { font-size: 13px; margin: 0 14px 14px; }
}
.menu-foot {
  text-align: center;
  margin-top: 40px;
  color: var(--text-soft);
  font-size: 15px;
}
.menu-foot a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 4px;
}

/* ===== Delivery ===== */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.info-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.info-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brand-deep);
  margin-bottom: 16px;
}
.info-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.info-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
@media (max-width: 800px) {
  .delivery-grid { grid-template-columns: 1fr; }
}

.account-bar {
  margin-top: 40px;
  padding: 20px 28px;
  background: var(--white);
  border: 1px dashed var(--brand);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.account-label {
  background: var(--brand-deep);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.account-number {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.account-holder { color: var(--text-soft); }

/* ===== Band CTA ===== */
.band-cta { background: var(--bg-deep); }
.band-card {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-darkest) 100%);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.band-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 252, 247, 0.08), transparent 70%);
}
.band-card::after {
  content: "";
  position: absolute;
  bottom: -50%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 252, 247, 0.06), transparent 70%);
}
.band-card > * { position: relative; z-index: 1; }
.band-card .section-title { margin-bottom: 48px; }

.band-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.band-benefits li {
  background: rgba(255, 252, 247, 0.08);
  border: 1px solid rgba(255, 252, 247, 0.12);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.benefit-emoji { font-size: 32px; }
.band-benefits strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
}
.band-benefits span:not(.benefit-emoji) {
  color: rgba(255, 252, 247, 0.7);
  font-size: 13px;
}

.band-search {
  margin-top: 20px;
  color: rgba(255, 252, 247, 0.7);
  font-size: 14px;
}
.band-search strong { color: var(--white); }

@media (max-width: 700px) {
  .band-card { padding: 48px 24px; border-radius: 20px; }
  .band-benefits { grid-template-columns: 1fr; gap: 12px; max-width: 360px; }
}

/* ===== Location ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.location-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px 24px;
  margin-bottom: 32px;
}
.location-info dt {
  font-family: var(--font-serif);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 15px;
  padding-top: 2px;
}
.location-info dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.location-info dd small {
  color: var(--text-soft);
  font-size: 13px;
}
.location-info a:not(.btn) { color: var(--brand-deep); font-weight: 600; }

.location-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Naver Map */
.location-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.naver-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
}
.naver-map-fallback {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at 30% 20%, rgba(3, 199, 90, 0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(166, 123, 91, 0.10), transparent 50%),
    linear-gradient(135deg, #FAF6F0 0%, #EFE6D8 100%);
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.3s ease;
  z-index: 2;
}
.naver-map-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(166, 123, 91, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 123, 91, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.naver-map-fallback:hover {
  transform: translateY(-2px);
}
/* 지도 SDK가 로드되면 폴백 숨김 */
.location-map.map-loaded .naver-map-fallback {
  opacity: 0;
  pointer-events: none;
}
.naver-map-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.naver-map-icon {
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 8px rgba(3, 199, 90, 0.25));
  animation: pin-bounce 2.4s ease-in-out infinite;
}
@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.naver-map-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.naver-map-addr {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 2px;
}
.naver-map-sub {
  color: var(--text-soft);
  font-size: 13px;
  margin-bottom: 18px;
}
.naver-map-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #03C75A;
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
}

@media (max-width: 800px) {
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .location-info dl { grid-template-columns: 90px 1fr; gap: 14px 16px; }
  .location-map { aspect-ratio: 16 / 10; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-darkest);
  color: rgba(255, 252, 247, 0.75);
  padding: 48px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-desc { color: rgba(255, 252, 247, 0.6); }
.footer-meta { text-align: right; line-height: 1.9; }
.footer-meta a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 252, 247, 0.4);
  text-underline-offset: 3px;
}
.copy {
  color: rgba(255, 252, 247, 0.45);
  font-size: 12px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

/* ===== Sticky CTA (모바일 전용) ===== */
.sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: #00C73C;
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 199, 60, 0.35);
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
