/* ==========================================================================
   장가네 흑염소 — premium restaurant shell
   실제 사진 중심 / WordPress 기본 관리자 로그인 / 공통 헤더·푸터 유지
   ========================================================================== */

:root {
  --bg: #f7f0e3;
  --paper: #fffaf1;
  --paper-strong: #fffdf8;
  --ink: #231d18;
  --muted: #695f52;
  --green: #173d31;
  --green-2: #245640;
  --red: #b33a27;
  --red-2: #d85c42;
  --brass: #c59a52;
  --brass-soft: #f1dfb8;
  --line: rgba(35, 29, 24, 0.13);
  --shadow: 0 20px 48px rgba(34, 25, 14, 0.14);
  --shadow-soft: 0 10px 30px rgba(34, 25, 14, 0.08);
  --radius: 8px;
  --font-base: "Noto Sans KR", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  --floating-cta-height: 74px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(197, 154, 82, 0.18), transparent 32%),
    linear-gradient(180deg, #fff9ed 0%, var(--bg) 45%, #f3eadc 100%);
  font-size: 17px;
  line-height: 1.65;
  padding-bottom: var(--floating-cta-height);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(35,29,24,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(35,29,24,.025) 1px, transparent 1px);
  background-size: 34px 34px;
}
img { max-width: 100%; display: block; border-radius: var(--radius); object-fit: cover; }
a { color: inherit; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 900; }
h2 { font-size: clamp(28px, 3.3vw, 46px); font-weight: 900; }
h3 { font-size: 21px; font-weight: 850; }
p { margin: 0 0 14px; }

.preview-banner {
  background: var(--green);
  color: #fff8e8;
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
}

.section { padding: 82px 0; position: relative; }
.section--alt { background: rgba(255, 250, 241, 0.72); border-block: 1px solid var(--line); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.section-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }
.section-desc { color: var(--muted); max-width: 720px; margin-bottom: 30px; font-size: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(35,29,24,.1);
}
.site-header__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
}
.site-header__brand {
  display: inline-grid;
  gap: 0;
  color: var(--green);
  text-decoration: none;
  font-weight: 950;
  font-size: 21px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.site-header__brand::after {
  content: "농장직영 보양탕";
  color: var(--muted);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
}
.nav-toggle { display: none; }
.site-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 10px 10px;
  border-radius: 999px;
  color: #40382f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { background: var(--green); color: #fffaf1; }
.site-header__phone, .site-header__admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
}
.site-header__phone { background: var(--red); color: #fff; box-shadow: 0 10px 20px rgba(179,58,39,.18); }
.site-header__admin { background: #fff; color: var(--green); border: 1px solid var(--line); }

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 34px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 22px 76px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 30px 22px 70px auto;
  width: min(48%, 560px);
  background: linear-gradient(145deg, var(--green), #10251e);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: -1;
}
.hero__image-wrap {
  position: relative;
  min-height: 570px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d9c8aa;
}
.hero__image-wrap img { width: 100%; height: 570px; border-radius: 0; }
.hero__image-wrap::after {
  content: "직접 손질한 재료와 따뜻한 보양식";
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 310px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(23, 61, 49, .9);
  color: #fff7e6;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}
.hero__body {
  position: relative;
  padding: 42px;
  background: rgba(255, 250, 241, .93);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.hero__location { color: var(--red); font-weight: 950; letter-spacing: .12em; font-size: 14px; margin-bottom: 12px; }
.hero__title { color: var(--green); }
.hero__subtitle { color: var(--muted); font-size: 21px; font-weight: 650; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 14px 26px rgba(179,58,39,.2); }
.btn--outline { background: #fffaf1; color: var(--green); border-color: var(--line); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.menu-card, .dish-card, .review-card, .info-table, .admin-panel, .feature-panel {
  background: var(--paper-strong);
  border: 1px solid rgba(35,29,24,.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.menu-card { overflow: hidden; }
.menu-card__image img, .menu-card__image { width: 100%; aspect-ratio: 4 / 3; border-radius: 0; }
.menu-card__body { padding: 22px; }
.menu-card__name { color: var(--green); font-size: 24px; font-weight: 950; margin-bottom: 6px; }
.menu-card__price { color: var(--red); font-weight: 900; margin-bottom: 12px; }
.menu-card__desc { color: var(--muted); }
.menu-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(197,154,82,.15);
  color: #594a34;
  font-size: 14px;
  font-weight: 750;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--reverse .split__image { order: 2; }
.split__image img, .split__image { width: 100%; aspect-ratio: 1.05 / 1; border-radius: 8px; box-shadow: var(--shadow-soft); }
.trust-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trust-tag { padding: 8px 12px; border-radius: 999px; background: var(--green); color: #fff8e8; font-size: 13px; font-weight: 900; }

.dish-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dish-card { display: flex; gap: 16px; align-items: center; padding: 16px; }
.dish-card__image img, .dish-card__image { width: 112px; height: 112px; flex: 0 0 112px; border-radius: 8px; }
.dish-card__name { color: var(--green); font-size: 20px; font-weight: 950; }
.dish-card__desc { color: var(--muted); margin: 4px 0 0; }
.gallery-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.gallery-grid__item { min-height: 240px; border-radius: 8px; overflow: hidden; }
.gallery-grid__item--placeholder {
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  color: var(--green);
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(23,61,49,.08), rgba(197,154,82,.2)),
    #fffaf1;
  border: 1px dashed rgba(23,61,49,.24);
}
.review-card { padding: 26px; color: var(--muted); font-size: 18px; }
.info-table { width: 100%; border-collapse: collapse; overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid rgba(35,29,24,.08); }
.info-table th { width: 150px; color: var(--green); background: rgba(23,61,49,.06); }

.page-intro {
  padding: 64px 0 22px;
  background: linear-gradient(135deg, rgba(23,61,49,.94), rgba(35,69,51,.86)), url("../../assets/photos_web/hero-02.jpg") center/cover;
  color: #fffaf1;
  margin-bottom: 0;
}
.page-intro .container { max-width: 1120px; }
.page-intro__breadcrumb { color: rgba(255,250,241,.78); font-size: 14px; font-weight: 750; margin-bottom: 10px; }
.page-intro__breadcrumb a { color: #fff; text-decoration: none; }
.page-intro h1 { color: #fffaf1; font-size: clamp(34px, 4vw, 56px); }
.page-intro__desc { color: rgba(255,250,241,.86); max-width: 760px; font-size: 18px; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.process-step, .feature-panel { padding: 22px; }
.process-step__num { color: var(--red); font-weight: 950; font-size: 14px; }
.process-step__title { color: var(--green); font-weight: 950; font-size: 20px; margin-top: 4px; }
.process-step__desc { color: var(--muted); margin: 8px 0 0; }

.admin-panel { padding: 28px; max-width: 720px; margin: 28px auto; }
.admin-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.admin-login-card {
  padding: 22px;
  border-radius: 8px;
  background: #fffaf1;
  border: 1px solid var(--line);
}
.admin-login-card strong { display: block; color: var(--green); margin-bottom: 6px; font-size: 18px; }

.site-footer { background: #151f1a; color: #fff5e4; padding: 42px 0 92px; }
.site-footer a { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.footer-title { font-size: 22px; font-weight: 950; color: #fff; margin-bottom: 10px; }
.footer-muted { color: rgba(255,245,228,.72); font-size: 14px; }

.floating-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,250,241,.96);
  border-top: 1px solid rgba(35,29,24,.12);
  box-shadow: 0 -10px 24px rgba(35,29,24,.12);
  backdrop-filter: blur(12px);
}
.floating-cta a {
  min-height: var(--floating-cta-height);
  display: grid;
  place-items: center;
  gap: 2px;
  text-align: center;
  color: var(--green);
  text-decoration: none;
  font-weight: 950;
  font-size: 13px;
  border-right: 1px solid rgba(35,29,24,.08);
}
.floating-cta a:first-child { background: var(--red); color: #fff; }

@media (max-width: 1080px) {
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; color: var(--green); font-weight: 900; cursor: pointer; }
  .site-nav { display: none; grid-column: 1 / -1; }
  .site-nav.is-open { display: block; }
  .site-nav ul { justify-content: flex-start; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
  .site-header__admin { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; }
  .hero::before { display: none; }
  .hero__image-wrap { min-height: 420px; order: 2; }
  .hero__image-wrap img { height: 420px; }
  .hero__body { order: 1; padding: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .site-header__inner { padding: 10px 14px; grid-template-columns: 1fr auto; }
  .site-header__phone { grid-column: 1 / -1; width: 100%; }
  .hero { padding: 24px 14px 52px; }
  .hero__body { padding: 24px; }
  .hero__image-wrap, .hero__image-wrap img { min-height: 320px; height: 320px; }
  .menu-grid, .dish-grid, .split, .process-steps, .footer-grid, .admin-panel__grid { grid-template-columns: 1fr; }
  .split--reverse .split__image { order: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .floating-cta a { font-size: 12px; }
}

/* 기존 contact-floating 마크업 호환 */
.contact-floating {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(255,250,241,.96);
  border-top: 1px solid rgba(35,29,24,.12);
  box-shadow: 0 -10px 24px rgba(35,29,24,.12);
  backdrop-filter: blur(12px);
}
.contact-floating__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 0 auto;
  padding: 8px;
  gap: 8px;
}
.contact-floating .btn {
  min-height: 56px;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.15;
}
.btn--red { background: var(--green); color: #fff; }
.site-footer__notice { color: rgba(255,245,228,.72); font-size: 14px; margin-top: 10px; }
.map-embed-placeholder, .faq-item {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-top: 14px;
  box-shadow: var(--shadow-soft);
}
.faq-item__q { color: var(--green); font-weight: 950; }
.faq-item__a { color: var(--muted); margin: 8px 0 0; }
