/* ====================================================================
   루미엘코 (lumielco) — 핸드메이드 천연 원석 주얼리
   디자인 베이스: elegant (warm neutrals) → 호안석 골드/브론즈 + 원석 민트 포인트
   ==================================================================== */

:root {
  /* Canvas / surface */
  --bg: #faf7f2;
  --bg-deep: #f3ece1;
  --surface: #ffffff;
  --surface-warm: #f6efe4;

  /* Text */
  --fg: #1c1a17;
  --fg-2: #463f37;
  --muted: #7d7064;

  /* Accent — 호안석 골드/브론즈 */
  --accent: #a9772e;
  --accent-deep: #8a5f21;
  --accent-soft: #c8923b;
  --accent-on: #ffffff;

  /* 원석 포인트 — 아쿠아마린/아벤츄린 */
  --gem-mint: #9fc9c2;
  --gem-blue: #a7cbe0;
  --gem-mint-deep: #5f9189;

  --border: #e6dccb;
  --border-soft: #efe7d8;

  --font-serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(32, 25, 20, 0.06);
  --shadow: 0 22px 60px rgba(32, 25, 20, 0.12);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.serif { font-family: var(--font-serif); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px); line-height: 1.2; margin: 14px 0 16px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); font-size: 16.5px; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(169,119,46,.32); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: var(--surface-warm); color: var(--fg-2); }
.btn-ghost:hover { background: var(--bg-deep); }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-serif); }
.brand .logo { font-size: 24px; font-weight: 700; letter-spacing: 0.02em; }
.brand .logo b { color: var(--accent); }
.brand .tag { font-size: 11px; color: var(--muted); letter-spacing: .18em; font-family: var(--font-body); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--fg-2); font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--fg); transition: .25s; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px 0; transform: translateY(-130%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 16px 24px; border-bottom: 1px solid var(--border-soft); }
  .nav .nav-cta .btn-text { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(60px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(200,146,59,.16), transparent 65%); z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(36px, 6vw, 66px); line-height: 1.12; letter-spacing: -0.03em; margin: 18px 0 22px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy .lead { font-size: clamp(16px, 2vw, 19px); color: var(--fg-2); max-width: 480px; margin-bottom: 14px; }
.hero-copy .sub { font-size: 15px; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; bottom: 22px; left: -18px; background: var(--surface); border-radius: 16px;
  padding: 14px 20px; box-shadow: var(--shadow); border: 1px solid var(--border-soft);
}
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--accent); }
.hero-badge span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .hero-actions .btn { flex: 1; }
}

/* Full-bleed background hero */
.hero.hero-bg { background-size: cover; background-position: right center; background-repeat: no-repeat; min-height: 74vh; display: flex; align-items: center; }
.hero.hero-bg::before { display: none; }
.hero.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(96deg, var(--bg) 15%, rgba(250,247,242,.88) 38%, rgba(250,247,242,.5) 60%, rgba(250,247,242,.08) 100%); }
.hero.hero-bg .container { position: relative; z-index: 1; }
.hero-inner { max-width: 540px; }
.hero-inner h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(38px, 6.2vw, 70px); line-height: 1.1; letter-spacing: -0.03em; margin: 18px 0 22px; }
.hero-inner h1 em { font-style: normal; color: var(--accent); }
.hero-inner .lead { font-size: clamp(16px, 2vw, 19px); color: var(--fg-2); max-width: 460px; margin-bottom: 14px; }
.hero-inner .sub { font-size: 15px; color: var(--muted); margin-bottom: 30px; }
@media (max-width: 820px) {
  .hero.hero-bg { min-height: auto; background-position: center 82%; padding-top: 44px; padding-bottom: 60px; }
  .hero.hero-bg::after { background: linear-gradient(to bottom, var(--bg) 44%, rgba(250,247,242,.62) 72%, rgba(250,247,242,.2) 100%); }
  .hero-inner { max-width: 100%; }
  .hero.hero-bg .hero-actions .btn { flex: 1; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--fg); color: #f3ece1; }
.trust .container { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 64px); padding: 26px 24px; text-align: center; }
.trust .item { display: flex; flex-direction: column; }
.trust .item strong { font-family: var(--font-serif); font-size: 15px; color: #fff; }
.trust .item span { font-size: 12.5px; color: #c5b8a6; letter-spacing: .04em; }

/* ---------- Why / feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--surface-warm); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--font-serif); }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
@media (max-width: 880px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease); display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .ph { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-deep); }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .ph img { transform: scale(1.05); }
.product .meaning-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(28,26,23,.78); color: #fff; backdrop-filter: blur(4px);
  font-size: 12px; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em;
}
.product .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 18px; font-family: var(--font-serif); line-height: 1.4; margin-bottom: 10px; }
.product .desc { font-size: 14px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.product .gem-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip { font-size: 11.5px; padding: 5px 11px; border-radius: 999px; background: var(--surface-warm); color: var(--accent-deep); font-weight: 500; }
.chip.mint { background: #e8f2f0; color: var(--gem-mint-deep); }
.product .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.product .price { font-family: var(--font-serif); font-size: 24px; font-weight: 700; }
.product .price small { font-size: 13px; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
@media (max-width: 860px) { .products-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---------- Meaning / gemstone section ---------- */
.gem-band { background: var(--surface-warm); }
.gem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gem { background: var(--surface); border-radius: var(--radius); padding: 26px 22px; text-align: center; border: 1px solid var(--border-soft); }
.gem .dot { width: 44px; height: 44px; border-radius: 999px; margin: 0 auto 14px; box-shadow: inset 0 -6px 12px rgba(0,0,0,.12); }
.gem h4 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 6px; }
.gem p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 820px) { .gem-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split h2 { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 40px); line-height: 1.25; margin-bottom: 20px; letter-spacing: -0.02em; }
.split p { color: var(--fg-2); margin-bottom: 16px; font-size: 16px; }
.split.reverse .col-img { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .col-img { order: 0; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid .g-item { border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 1/1; background: var(--bg-deep); }
.gallery-grid .g-item.tall { aspect-ratio: 3/4; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.06); }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,16,12,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox .close { position: absolute; top: 22px; right: 26px; color: #fff; font-size: 34px; background: none; border: none; cursor: pointer; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 4px; font-size: 17px; font-weight: 600; color: var(--fg); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-body); }
.faq-q .mark { color: var(--accent); font-size: 22px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .mark { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a div { padding: 0 4px 24px; color: var(--fg-2); font-size: 15.5px; line-height: 1.75; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--accent-soft); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-size: 15px; color: var(--fg-2); line-height: 1.7; margin-bottom: 18px; }
.review .who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.review .who .av { width: 34px; height: 34px; border-radius: 999px; background: var(--surface-warm); display: grid; place-items: center; font-family: var(--font-serif); color: var(--accent); font-weight: 700; }
@media (max-width: 820px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Form / CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #221c16, #3a2c1c); color: #f3ece1; border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 72px); text-align: center; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; color: #fff; }
.cta-band p { color: #cdbfa9; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--accent-soft); }
.cta-band .btn-primary:hover { background: var(--accent); }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.order-form { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; font-family: var(--font-body);
  font-size: 15px; background: var(--bg); color: var(--fg); transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169,119,46,.15); }
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: none; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
.float-cta a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--fg-2); padding: 6px 0; border-radius: 12px; font-weight: 600; }
.float-cta a .fi { font-size: 19px; }
.float-cta a.primary { background: var(--accent); color: #fff; }
@media (max-width: 820px) { .float-cta { display: flex; } body { padding-bottom: 72px; } }

/* Desktop floating insta */
.float-insta { position: fixed; right: 24px; bottom: 24px; z-index: 65; width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); font-size: 24px; transition: transform .2s; }
.float-insta:hover { transform: scale(1.08); }
@media (max-width: 820px) { .float-insta { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--fg); color: #cdbfa9; padding: 56px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer .brand .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer a, .site-footer li { font-size: 14px; color: #b3a591; line-height: 2; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-info p { font-size: 13.5px; color: #9a8d7a; line-height: 1.9; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: 12.5px; color: #8a7d6c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
