:root {
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --espresso: #362116;
  --espresso-dark: #22140d;
  --sand: #dfc8aa;
  --sand-light: #f4ece0;
  --ink: #19191b;
  --muted: #76767e;
  --line: #ebebee;
  --tag-bg: #f4f1ec;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.logo img {
  width: 26px;
  height: auto;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a3a40;
}

.nav a:hover {
  color: var(--espresso);
}

.btn-header {
  padding: 9px 18px;
  border-radius: 8px;
  background-color: var(--espresso);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
}

.btn-header:hover {
  background-color: var(--espresso-dark);
}

/* Top Bento Hero (Dropshot Match style) */
.hero-bento {
  padding: 28px 0 36px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.bento-main {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--espresso-dark) 0%, var(--espresso) 65%, #4d3020 100%);
  color: #ffffff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  position: relative;
  overflow: hidden;
}

.bento-main h1 {
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  max-width: 440px;
}

.bento-main p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 420px;
}

.bento-link {
  margin-top: 26px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bento-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.bento-top-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.2s;
}

.bento-top-card:hover {
  border-color: var(--espresso);
}

.badge-mini {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--sand-light);
  color: var(--espresso);
  margin-bottom: 8px;
}

.bento-top-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bento-top-card p {
  font-size: 0.84rem;
  color: var(--muted);
}

.bento-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bento-mini-card {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.bento-mini-card:hover {
  border-color: var(--espresso);
}

.bento-mini-card.warm {
  background: #faf5ee;
}

.bento-mini-card strong {
  font-size: 0.96rem;
  font-weight: 700;
}

.bento-mini-card span {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Section Head + Filter Pills */
.catalog-section {
  padding: 24px 0 64px;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.catalog-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: #f4f4f6;
  color: #4a4a52;
  transition: all 0.2s;
}

.pill-btn.active {
  background: var(--espresso);
  color: #ffffff;
}

/* 4-Column Dropshot-style Card Grid (Empty photo slots) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}

.ds-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.ds-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3ece2 0%, #e7dccb 100%);
  border: 1px dashed rgba(54, 33, 22, 0.22);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.2s, border-color 0.2s;
}

.ds-card:hover .ds-thumb {
  transform: translateY(-2px);
  border-color: var(--espresso);
}

.ds-thumb-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(54, 33, 22, 0.55);
}

.ds-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(25, 25, 27, 0.72);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ds-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ds-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--tag-bg);
  color: var(--espresso);
}

.ds-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.ds-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
}

.ds-price {
  font-weight: 700;
  color: var(--espresso);
}

.ds-period {
  color: var(--muted);
  font-size: 0.82rem;
}

/* 3-Column Feature Strip */
.process-section {
  padding: 64px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
}

.process-step {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 10px;
}

.process-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
  padding: 64px 0;
}

.faq-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

.faq-a {
  display: none;
  padding-bottom: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.open .faq-a {
  display: block;
}

/* Contact */
.contact-section {
  padding: 56px 0 80px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.contact-box {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}

.contact-box h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-box > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fafafa;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--espresso);
  background: #ffffff;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-solid {
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--espresso);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-soft {
  padding: 12px 20px;
  border-radius: 8px;
  background: #f0eee9;
  color: var(--espresso);
  font-size: 0.9rem;
  font-weight: 600;
}

.feedback {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--espresso);
  min-height: 20px;
}

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Detail Modal (Empty media slot + Overview + Specs) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 12, 8, 0.52);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.modal-top h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f4;
  font-size: 0.95rem;
}

.modal-media-slot {
  margin: 18px 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3ece2 0%, #e7dccb 100%);
  border: 1px dashed rgba(54, 33, 22, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(54, 33, 22, 0.6);
  font-size: 0.85rem;
  gap: 4px;
}

.modal-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.modal-block:last-of-type {
  border-bottom: none;
}

.modal-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--espresso);
}

.modal-block p {
  font-size: 0.92rem;
  color: #36363c;
  line-height: 1.65;
  margin-bottom: 10px;
}

.modal-block p:last-child {
  margin-bottom: 0;
}

.spec-rows {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.spec-r {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.spec-r span {
  color: var(--muted);
}

.spec-r strong {
  text-align: right;
}

.modal-cta {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border-radius: 10px;
  background: var(--espresso);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .bento-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .contact-box {
    padding: 24px 18px;
  }
}
