/* 헬스베네 — 흰색 · 연한 민트 · 하늘색 바탕, 잎사귀 초록 + 로고 파랑, Gowun Batang 제목 / Gowun Dodum 본문 (DESIGN.md) */
:root {
  --white: #ffffff;
  --mint: #eaf4ec;
  --sky: #eaf3fa;
  --green: #3d8b57;
  --green-d: #2e7046;
  --blue: #1a5a95;
  --ink: #1f3340;
  --muted: #5d7080;
  --line: #dbe7df;
  --r: 14px;
  --shadow: 0 10px 30px rgba(31, 51, 64, .08);
}
body { background: var(--white); color: var(--ink); font-family: "Gowun Dodum", system-ui, sans-serif; font-size: 17px; line-height: 1.75; padding-bottom: 64px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: "Gowun Batang", serif; line-height: 1.3; letter-spacing: -0.01em; }
h2 { font-size: clamp(27px, 3.4vw, 40px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 8px; }
a { color: inherit; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--green); font-family: inherit; transition: background .15s; }
.btn:hover { background: var(--green-d); border-color: var(--green-d); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-line { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--sky); color: var(--blue); border-color: var(--blue); }

/* 머리 */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo img { height: 38px; width: auto; display: block; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--green-d); }

/* 첫 화면 — 큰 사진 위에 흰 막, 글은 왼쪽 */
.hero { position: relative; overflow: hidden; background: linear-gradient(95deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 70%), url("/assets/img/hero-bed.webp") 40% center/cover; padding: 96px 0 120px; min-height: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .08em; color: var(--green-d); margin-bottom: 22px; }
.eyebrow i { width: 28px; height: 2px; background: var(--green); display: inline-block; }
.hero h1 { font-size: clamp(58px, 10vw, 112px); font-weight: 700; color: var(--ink); margin-bottom: 22px; letter-spacing: -0.03em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: clamp(18px, 2.2vw, 23px); color: var(--muted); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--green-d); font-size: 14px; }
.hero-card { position: relative; justify-self: center; width: min(340px, 78vw); aspect-ratio: 1; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 18px 46px rgba(30,60,45,.18), 0 0 0 10px rgba(255,255,255,.45), 0 0 0 11px var(--green); display: grid; place-items: center; }
.hero-card img { width: 86%; height: auto; display: block; }
.tag-3s { position: absolute; right: -6px; top: 14px; width: 74px; height: 74px; border-radius: 50%; background: var(--blue); color: #fff; font-family: "Gowun Batang", serif; font-weight: 700; font-size: 26px; display: grid; place-items: center; box-shadow: var(--shadow); }
.sale-badge { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 15px; white-space: nowrap; }
.sale-badge span { padding: 3px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 13px; letter-spacing: .08em; }
.sale-badge strong { color: var(--green-d); }

/* 섹션 공통 */
.band { padding: 92px 0; }
.band-mint { background: var(--mint); }
.band-sky { background: var(--sky); }
.kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; font-weight: 700; }
.sec-head { max-width: 40em; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

.morning { margin: 0 0 46px; }
.morning img { width: 100%; height: auto; max-height: 300px; object-fit: cover; object-position: right center; border-radius: 20px; display: block; box-shadow: var(--shadow); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.icon { display: block; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; background: var(--mint); position: relative; }
.icon::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 3px solid var(--green); }
.i-b::after { border-radius: 8px 50% 8px 50%; border-color: var(--blue); }
.i-c::after { border-radius: 50% 0 50% 50%; }
.num { position: absolute; right: 22px; top: 18px; font-family: "Gowun Batang", serif; font-size: 40px; color: #d6e6da; line-height: 1; margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split-rev { grid-template-columns: 1fr 1.1fr; }
.stack { position: relative; margin: 0; }
.stack > img:first-child { width: 100%; height: auto; border-radius: 24px; display: block; box-shadow: var(--shadow); }
.stack .inset { position: absolute; width: 58%; left: -10%; bottom: -8%; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); height: auto; }
.docs { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; max-width: 460px; }
.docs img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: block; }
.spec { list-style: none; padding: 0; margin: 22px 0 8px; display: grid; gap: 12px; }
.spec li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 14px 16px; background: #fff; border-radius: 12px; }
.spec b { color: var(--green-d); }
.sub { margin-top: 28px; }
.steps { margin: 6px 0 0; padding-left: 22px; }
.steps li { padding-left: 4px; }

/* 주문 */
.goods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.good { background: #fff; border-radius: var(--r); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.good:hover { border-color: var(--green); transform: translateY(-2px); }
.good-img { height: 210px; overflow: hidden; background: var(--mint); }
.good-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.good-img-pillow { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #fff 0 56%, var(--mint) 57%); }
.good-img-pillow img { width: 190px; height: 190px; object-fit: contain; }
.good-body { padding: 18px 22px 24px; }
.good-body p { font-size: 15px; color: var(--muted); }
.price { margin-top: 8px; }
.price .now { font-family: "Gowun Batang", serif; font-size: 28px; color: var(--ink); }
.price .was { color: #98a5af; margin-right: 6px; font-size: 15px; }
.price-note { font-size: 13px !important; color: var(--green-d) !important; }

.order-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.order-form, .band .contact-form { background: #fff; border-radius: var(--r); padding: 30px; display: grid; gap: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 110px; gap: 12px; }
.contact-form input:not([type="checkbox"]):not([type="radio"]), .contact-form textarea, .order-form select { border: 1px solid #cfdcd3; border-radius: 10px; background: #fbfdfb; }
.order-form select { width: 100%; min-height: 48px; padding: 0 12px; }
.contact-form input:focus, .contact-form textarea:focus, .order-form select:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.colors { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.colors legend { font-size: 15px; margin-bottom: 8px; padding: 0; }
.contact-form .colors label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; cursor: pointer; font-size: 15px; }
.contact-form .colors input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.contact-form .colors label:has(input:checked) { border-color: var(--green); background: var(--mint); box-shadow: 0 0 0 2px rgba(61,139,87,.25); }
.colors img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px dashed var(--line); }
.total strong { font-family: "Gowun Batang", serif; font-size: 28px; color: var(--green-d); }
.order-form button[type="submit"], .band .contact-form button[type="submit"] { min-height: 56px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 17px; cursor: pointer; font-family: inherit; }
.order-form button[type="submit"]:hover, .band .contact-form button[type="submit"]:hover { background: var(--green-d); }
.contact-form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.contact-form .agree input { margin-top: 5px; flex: none; }

.bank { background: #fff; border-radius: var(--r); padding: 30px; position: sticky; top: 86px; box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.bank h3 { color: var(--blue); }
.bank dl { display: grid; grid-template-columns: 84px 1fr; gap: 10px 12px; margin: 16px 0 20px; padding: 16px; background: var(--sky); border-radius: 12px; }
.bank dt { color: var(--muted); font-size: 14px; }
.bank dd { margin: 0; font-weight: 700; }
.bank dd strong { font-family: "Gowun Batang", serif; font-size: 25px; color: var(--blue); }
.copy { margin-left: 8px; padding: 2px 12px; border: 1px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue); font-size: 13px; cursor: pointer; font-family: inherit; }
.flow { padding-left: 20px; margin: 0; font-size: 15px; color: var(--muted); }
.done { margin-top: 16px; padding: 12px 14px; background: var(--mint); border: 1px solid var(--green); border-radius: 10px; color: var(--green-d); font-weight: 700; }

.tels { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.tels li { padding: 12px 16px; background: var(--mint); border-radius: 12px; }
.tels span { display: inline-block; min-width: 130px; color: var(--green-d); font-size: 14px; font-weight: 700; }
.tels a { text-decoration: none; font-weight: 700; }

.site-footer { background: #eef4f0; color: var(--muted); font-size: 14px; padding: 38px 0 46px; border-top: 1px solid var(--line); }
.site-footer p + p { margin-top: 4px; }
.site-footer b { color: var(--ink); }

.dock { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
  .hero { padding: 56px 0 108px; background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.6) 55%, rgba(255,255,255,.15) 100%), url("/assets/img/hero-bed.webp") 30% center/cover; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-card { width: 220px; justify-self: start; }
  .tag-3s { width: 58px; height: 58px; font-size: 21px; right: -10px; }
  .sale-badge { white-space: normal; bottom: 24px; width: calc(100% - 40px); }
  .three, .goods { grid-template-columns: 1fr; }
  .split, .split-rev, .order-grid { grid-template-columns: 1fr; gap: 36px; }
  .stack .inset { left: 4%; }
  .band { padding: 64px 0; }
  .bank { position: static; }
  .good-img { height: 190px; }
  .spec li { grid-template-columns: 1fr; gap: 2px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; height: 56px; background: #fff; border-top: 1px solid var(--line); }
  .dock a { display: flex; align-items: center; justify-content: center; color: var(--blue); text-decoration: none; font-weight: 700; }
  .dock-main { background: var(--green); color: #fff !important; }
}

/* 바로가기 줄 — 첫 화면 바로 아래 둥근 아이콘 5개 (시몬스) */
.quick { position: relative; z-index: 2; margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 18px 12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); width: min(980px, 100% - 40px); }
.quick a { display: grid; justify-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.quick a:hover { color: var(--green-d); }
.quick img, .qi { width: 72px; height: 72px; border-radius: 50%; display: block; background: var(--mint); object-fit: cover; box-shadow: inset 0 0 0 1px var(--line); }
.qi { position: relative; }
.qi::after { content: ""; position: absolute; inset: 22px; border-radius: 6px; border: 3px solid var(--blue); }
.qi-order { background: var(--sky); } .qi-order::after { border-radius: 50%; border-color: var(--green); }
.qi-tel { background: #e8f3ea; } .qi-tel::after { border-radius: 14px 14px 14px 4px; border-color: var(--green-d); }

/* 전폭 사진 띠 (브루클리넨) */
.bleed { position: relative; min-height: 420px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(21, 58, 40, .45), rgba(21, 58, 40, .62)); z-index: 1; }
.bleed-copy { position: relative; z-index: 2; padding: 56px 20px; }
.bleed .kicker { color: #cfe9d6; }
.bleed h2 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 24px; }

/* 상품 카드 색상 점 (브루클리넨) */
.dots { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
.d-gray { background: #8c8f94; } .d-blue { background: #25406a; } .d-brown { background: #b57a5c; } .d-khaki { background: #a69a67; }

@media (max-width: 860px) {
  .quick { grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 14px 6px; margin-top: 16px; }
  .quick img, .qi { width: 52px; height: 52px; }
  .qi::after { inset: 15px; }
  .quick a { font-size: 12px; text-align: center; }
  .bleed { min-height: 340px; }
}
