/* ─────────────────────────────────────────────────────────────
   메리쥬빌레 홍보 사이트 — 2026-10-08 리디자인 v2
   참고: vercel.com / framer.com — 페이지 프레임 선, 셀 그리드, 큰 타이포, 왼쪽 고정 제목 분할 레이아웃
   팔레트: 원래 베이지/브라운 그대로
   ───────────────────────────────────────────────────────────── */
:root {
    --primary: #91795e;
    --primary-dark: #7a634a;
    --ink: #7a634a;          /* 제목·강조 */
    --ink-soft: #7a6d56;     /* 본문 */
    --muted: #9a8a76;        /* 보조 텍스트 */
    --bg: #fdfbf8;           /* 페이지 배경 */
    --bg-soft: #f7f3ee;      /* 섹션/셀 배경 */
    --line: rgba(145, 121, 94, 0.16);
    --line-strong: rgba(145, 121, 94, 0.32);
    --accent: #e8dbcc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(58, 47, 36, 0.05), 0 2px 10px rgba(122, 99, 74, 0.06);
    --shadow-md: 0 14px 40px rgba(122, 99, 74, 0.14);
    --radius: 12px;
    --radius-lg: 18px;
    --container: 1200px;
    --gutter: 40px;
    --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: var(--ink-soft);
    background: var(--bg);
    line-height: 1.85;
    letter-spacing: 0.01em;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea, summary { font-family: inherit; }
a { color: inherit; }
ul, ol { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ── 페이지 프레임 세로선 (Vercel 풍) ── */
.page-lines { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.page-lines span {
    position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
    left: calc(50% - min(50vw, var(--container) / 2));
}
.page-lines span:last-child { left: auto; right: calc(50% - min(50vw, var(--container) / 2)); }
main, .site-footer { position: relative; z-index: 2; }

/* ── 타이포 공통 ── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
    color: var(--primary); margin-bottom: 14px;
}
.eyebrow.light { color: #f0e6d8; }
.section-title {
    font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.28;
    letter-spacing: -0.015em; color: var(--ink); margin-bottom: 0;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.85; }
.section-sub.highlight { color: #b0512f; font-weight: 700; font-size: 21px; }
.section-sub.light { color: #f0e6d8; }
.section-head { margin-bottom: 72px; }
.section-head.wide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section-head.wide .section-sub { justify-self: end; text-align: right; max-width: 460px; }

/* 분할 레이아웃: 왼쪽 고정 제목 + 오른쪽 내용 */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split-side { position: sticky; top: calc(var(--header-h) + 40px); }
.split-main { min-width: 0; }

/* ── 버튼 ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 999px; font-size: 15px; font-weight: 700;
    text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); box-shadow: 0 10px 24px rgba(145, 121, 94, 0.3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-xs { padding: 8px 16px; font-size: 13.5px; }

/* ── 헤더 ── */
.site-header {
    position: sticky; top: 0; z-index: 1000; height: var(--header-h);
    background: rgba(253, 251, 248, 0.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(253, 251, 248, 0.9); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.nav {
    display: flex; gap: 2px; padding: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line);
}
.nav a {
    text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600;
    padding: 7px 13px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--white); background: var(--primary); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-cta { display: none; } /* 모바일 메뉴 안에서만 보이는 문의 버튼 */
.menu-toggle {
    display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 섹션 공통 ── */
.section { padding: 152px 0; border-top: 1px solid var(--line); }

/* ── 히어로 ── */
.hero { position: relative; padding: 168px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(145, 121, 94, 0.26) 1px, transparent 1.2px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 55% 35%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 85% at 55% 35%, #000 15%, transparent 75%);
}
/* 천천히 떠다니는 베이지 그라데이션 덩어리 */
/* blur 필터 대신 그라데이션 자체를 넓게 번지게 해서 GPU 부담 없이 같은 느낌 */
.hero-orb { position: absolute; border-radius: 50%; will-change: transform; }
.hero-orb-1 { width: 820px; height: 820px; right: -200px; top: -300px; background: radial-gradient(circle at 45% 45%, rgba(236, 223, 205, 0.95) 0%, rgba(236, 223, 205, 0.55) 30%, rgba(236, 223, 205, 0) 68%); animation: orb1 18s ease-in-out infinite alternate; }
.hero-orb-2 { width: 640px; height: 640px; right: 16%; top: 26%; background: radial-gradient(circle, rgba(217, 199, 173, 0.75) 0%, rgba(217, 199, 173, 0.35) 32%, rgba(217, 199, 173, 0) 68%); animation: orb2 22s ease-in-out infinite alternate; }
.hero-orb-3 { width: 700px; height: 700px; left: -260px; bottom: -160px; background: radial-gradient(circle, rgba(145, 121, 94, 0.22) 0%, rgba(145, 121, 94, 0.1) 32%, rgba(145, 121, 94, 0) 68%); animation: orb3 26s ease-in-out infinite alternate; }
/* 히어로가 화면 밖이면 배경·띠 애니메이션 정지 (script.js 가 .paused 토글) */
.hero.paused .hero-orb, .hero.paused .hero-strip-track { animation-play-state: paused; }
@keyframes orb1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes orb2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(140px, -80px) scale(0.92); } }
@keyframes orb3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(110px, -60px) scale(1.08); } }
/* 브랜드명 외곽선 워터마크 */
.hero-watermark {
    position: absolute; right: -0.06em; top: 20px; font-size: clamp(100px, 15vw, 220px); font-weight: 800; letter-spacing: -0.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(145, 121, 94, 0.13); white-space: nowrap; user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 20%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 20%, transparent 100%);
    mask-composite: intersect;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
/* 장점 타일 띠 */
.hero-strip {
    position: relative; z-index: 1; margin-top: 140px; padding: 28px 0 72px; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero-strip-track { display: flex; gap: 18px; width: max-content; animation: strip 70s linear infinite; will-change: transform; }
.hero-strip:hover .hero-strip-track { animation-play-state: paused; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.strip-item {
    flex: 0 0 auto; width: 196px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; cursor: pointer;
    border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 40px rgba(122, 99, 74, 0.14); padding: 0;
    transition: transform .35s ease, box-shadow .35s ease;
}
.strip-item:nth-child(even) { transform: translateY(22px); }
.strip-item:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 26px 50px rgba(122, 99, 74, 0.22); z-index: 1; }
.strip-item:nth-child(even):hover { transform: translateY(14px) scale(1.03); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-title {
    font-size: clamp(44px, 7.2vw, 96px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2;
    color: var(--ink); margin-bottom: 36px;
}
.hero-sub { font-size: clamp(18px, 1.9vw, 24px); color: var(--ink-soft); line-height: 1.75; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 56px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 소개 ── */
.about-story p { font-size: 18px; line-height: 2.0; margin-bottom: 20px; }
.about-lead { font-size: clamp(20px, 2vw, 26px); color: var(--ink); font-weight: 600; line-height: 1.7 !important; letter-spacing: -0.005em; margin-bottom: 28px !important; }
.about-quote {
    position: relative; padding: 28px 32px; margin-top: 16px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
    color: var(--ink); font-weight: 600; font-size: 18px !important;
}

/* ── 셀 그리드 (선으로 나뉜 카드) ── */
.cells {
    display: grid; gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.cells.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cell { position: relative; background: var(--bg); padding: 44px 40px 42px; transition: background .25s; }
.cell:hover { background: var(--white); }
.cell-no { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-bottom: 36px; }
.cell h3 { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.4; margin-bottom: 12px; }
.cell > p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.cell strong { color: var(--ink); }
.cell ul li {
    position: relative; padding-left: 16px; font-size: 16px; line-height: 1.85; margin-bottom: 10px; color: var(--ink-soft);
}
.cell ul li::before {
    content: ''; position: absolute; left: 0; top: 11.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); opacity: .7;
}
.manager .section-head { margin-bottom: 44px; }

/* 서비스: 정산 방식 */
.services { background: var(--bg-soft); }
.services .cell { background: var(--bg-soft); }
.services .cell:hover { background: var(--white); }
.type-list { display: grid; gap: 8px; }
.type-list > div {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
    padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
}
.type-list b { grid-row: 1 / span 2; font-size: 13px; font-weight: 800; color: var(--white); background: var(--primary); border-radius: 7px; padding: 6px 9px; letter-spacing: .02em; }
.type-list span { font-size: 16px; font-weight: 700; color: var(--ink); }
.type-list small { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── 진행 과정 ── */
.steps { border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 112px 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step-no { font-size: clamp(40px, 4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: .95; color: var(--accent); transition: color .3s; }
.step:hover .step-no { color: var(--primary); }
.step h3 { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.4; }
.step p { font-size: 17px; line-height: 1.85; color: var(--ink-soft); }

/* ── 가격 ── */
.pricing { background: var(--bg-soft); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.price-card.featured { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: var(--shadow-md); }
.price-head { padding: 30px 28px 22px; border-bottom: 1px solid var(--line); }
.price-card.featured .price-head { border-bottom-color: rgba(255, 255, 255, 0.18); }
.price-head h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.price-card.featured .price-head h3 { color: var(--white); }
.price-head span { display: block; font-size: 15px; color: var(--muted); margin-top: 8px; }
.price-card.featured .price-head span { color: #f0e6d8; }
.price-rows li { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.price-card.featured .price-rows li { border-bottom-color: rgba(255, 255, 255, 0.14); }
.price-rows li:last-child { border-bottom: none; }
.pill { font-size: 14.5px; font-weight: 700; color: var(--primary); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.price-card.featured .pill { color: var(--white); background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); }
.price-rows b { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.price-card.featured .price-rows b { color: var(--white); }
.price-rows b small { font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.price-card.featured .price-rows b small { color: #f0e6d8; }
.price-note {
    margin-top: 16px; padding: 30px 32px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
    display: grid; grid-template-columns: 200px 1fr; gap: 28px;
}
.price-note h4 { font-size: 15px; color: var(--primary); font-weight: 700; letter-spacing: .08em; }
.price-note p { font-size: 16.5px; line-height: 1.9; margin-bottom: 8px; }
.price-note mark { background: var(--accent); color: var(--ink); font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.price-note small, .event-note small { display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ── 이벤트 ── */
.event-cells .cell { padding: 40px 38px 38px; }
.event-cells .cell h3 { font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 18px; }
.event-amount { font-size: clamp(28px, 2.6vw, 34px) !important; font-weight: 800; color: #b0512f !important; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px !important; }
.event-cells .cell > p:last-child { font-size: 16px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 0; }
.event-cells .cell small { color: var(--muted); font-size: 14px; }
.event-note { margin-top: 16px; padding: 30px 32px; background: var(--bg-soft); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.event-note p { font-size: 16.5px; line-height: 1.9; margin-bottom: 6px; }
.event-note strong { color: #b0512f; }

/* ── 책임 보장제 ── */
.guarantee { background: linear-gradient(135deg, #a08767 0%, var(--primary) 55%, #7d6650 100%); color: #f3ece2; border-top: none; }
.guarantee + .section { border-top: none; }
.guarantee-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg); overflow: hidden; }
.guarantee-list li {
    display: flex; flex-direction: column; padding: 30px 26px 28px; min-height: 260px;
    background: rgba(122, 99, 74, 0.35); transition: background .25s;
}
.guarantee-list li:hover { background: rgba(122, 99, 74, 0.55); }
.g-no { font-size: 13.5px; font-weight: 700; letter-spacing: .12em; color: #e8dbcc; margin-bottom: 28px; }
.g-big { font-size: clamp(38px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.025em; line-height: 1; color: var(--white); margin-bottom: 36px; }
.guarantee-list h3 { font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -0.005em; margin-bottom: 10px; }
.guarantee-list p { font-size: 15.5px; line-height: 1.85; color: #f0e6d8; }
.guarantee-list b { color: var(--white); font-weight: 800; }

/* ── 선물 & 대여 ── */
.gifts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.gift-card, .rental-card { padding: 40px 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.gift-card { display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.gift-card h3, .rental-card h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--ink); letter-spacing: -0.015em; line-height: 1.35; margin-bottom: 16px; }
.gift-card p, .rental-card > p { font-size: 17px; line-height: 1.85; }
.gift-card small { color: var(--muted); font-size: 14px; }
.gift-img { width: 100%; height: 100%; min-height: 260px; max-height: 360px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.rental-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.rental-list li { font-size: 15px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.rental-list li.more { color: var(--muted); background: transparent; border-style: dashed; }
.rental-more { font-size: 15px; color: var(--muted); margin-bottom: 14px; }

/* ── 더 많은 장점들 (갤러리) ── */
.advantages { background: var(--bg-soft); }
.click-badge { display: inline-block; vertical-align: middle; margin-left: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--white); background: var(--primary); border-radius: 999px; padding: 6px 14px; animation: pulse 2s infinite; animation-play-state: paused; }
.advantages.in-view .click-badge { animation-play-state: running; } /* 섹션이 보일 때만 깜빡임 */
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.adv-item {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; cursor: pointer;
    background: var(--white); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.adv-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.adv-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.adv-item:hover img { transform: scale(1.04); }

/* 라이트박스 */
.lightbox { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(28, 22, 16, 0.94); }
.lightbox.open { display: flex; }
.lb-stage { position: relative; max-width: min(92vw, 880px); max-height: 86vh; display: flex; align-items: center; justify-content: center; min-width: 120px; min-height: 120px; }
.lb-stage img, .lb-stage video { max-width: min(92vw, 880px); max-height: 86vh; border-radius: 12px; object-fit: contain; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }
.lb-spinner {
    position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.18); border-top-color: #fff;
    animation: spin .8s linear infinite; display: none;
}
.lb-stage.loading .lb-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.lb-close, .lb-nav {
    position: absolute; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s; z-index: 2;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lb-close { top: 22px; right: 22px; font-size: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, 0.12); padding: 6px 16px; border-radius: 999px; letter-spacing: .06em; }

/* ── 최근 소식 ── */
.news-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.news-text .section-title { margin-bottom: 18px; }
.news-text .section-sub { margin-bottom: 30px; }
.news-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-photos a { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.news-photos a:nth-child(2) { transform: translateY(28px); }
.news-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-photos a:hover img { transform: scale(1.05); }

/* ── FAQ ── */
.faq { background: var(--bg-soft); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 4px; font-size: 18.5px; font-weight: 700; color: var(--ink); letter-spacing: 0; transition: color .2s;
}
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong);
    display: grid; place-items: center; font-size: 19px; font-weight: 400; color: var(--primary); transition: transform .25s, background .25s, color .25s;
}
.faq-item[open] summary::after { content: '–'; background: var(--primary); color: var(--white); border-color: var(--primary); }
.faq-body { padding: 0 4px 24px; font-size: 16.5px; line-height: 1.95; color: var(--ink-soft); max-width: 660px; }
.faq-body p { margin-bottom: 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ol, .faq-body ul { padding-left: 20px; }
.faq-body ol { list-style: decimal; } .faq-body ul { list-style: disc; }
.faq-body li { margin-bottom: 4px; }
.faq-body b { color: var(--ink); }
.faq-body a { color: var(--primary); font-weight: 700; }

/* ── CTA ── */
.cta { background: linear-gradient(135deg, #a08767 0%, var(--primary) 55%, #7d6650 100%); color: var(--white); border-top: none; padding: 140px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.cta-inner h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-side p { font-size: 19px; color: #f0e6d8; }

/* ── 푸터 ── */
.site-footer { background: var(--bg); padding: 72px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink); font-weight: 700; line-height: 1.6; letter-spacing: -0.005em; }
.footer-col h4 { font-size: 13.5px; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-size: 16px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); }
.footer-wordmark {
    font-size: clamp(48px, 13.4vw, 184px); font-weight: 800; letter-spacing: -0.06em; line-height: .82;
    color: var(--accent); white-space: nowrap; text-align: center; margin-top: 8px; margin-bottom: -0.1em; user-select: none;
}

/* ── 플로팅 버튼 ── */
.kakao-btn {
    position: fixed; right: 24px; bottom: 24px; z-index: 9000; display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 20px; border-radius: 999px; background: var(--primary); color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px;
    box-shadow: 0 12px 28px rgba(145, 121, 94, 0.32); transition: transform .2s, background .2s;
}
.kakao-btn:hover { transform: translateY(-2px); background: var(--primary-dark); }

/* ── 스크롤 등장 ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cells .cell:nth-child(2), .guarantee-list li:nth-child(2) { transition-delay: .06s; }
.cells .cell:nth-child(3), .guarantee-list li:nth-child(3) { transition-delay: .12s; }
.cells .cell:nth-child(4), .guarantee-list li:nth-child(4) { transition-delay: .18s; }
.cells .cell:nth-child(5), .guarantee-list li:nth-child(5) { transition-delay: .24s; }
.cells .cell:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .click-badge, .hero-orb, .hero-strip-track { animation: none; }
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
    .header-inner { grid-template-columns: auto 1fr auto; }
    .nav a { padding: 7px 10px; font-size: 13px; }
    .cells.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .guarantee-list { grid-template-columns: repeat(3, 1fr); }
    .guarantee-list li { min-height: 220px; }
    .adv-grid { grid-template-columns: repeat(4, 1fr); }
    .price-grid { grid-template-columns: 1fr 1fr; }
    .price-card.small-wedding { grid-column: 1 / -1; }
    .price-card.small-wedding .price-rows { display: grid; grid-template-columns: 1fr 1fr; }
    .price-card.small-wedding .price-rows li:first-child { border-right: 1px solid var(--line); border-bottom: none; }
    .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
}
@media (max-width: 860px) {
    .page-lines { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    /* 모바일 메뉴: 화면을 꽉 채우는 시트 + 큰 글자 + 하단 문의 버튼 */
    .nav {
        /* 헤더의 backdrop-filter 가 fixed 기준 상자가 되므로 bottom 대신 높이를 직접 지정 */
        position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
        flex-direction: column; gap: 0; padding: 12px 24px 28px; border-radius: 0; border: none;
        background: var(--bg); overflow-y: auto;
        transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
    }
    .nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .nav a { padding: 18px 4px; font-size: 22px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; letter-spacing: -0.005em; }
    .nav a.active { background: transparent; color: var(--primary); }
    .nav a.nav-cta { display: inline-flex; margin-top: auto; padding: 16px 24px; font-size: 16px; color: var(--white); border: none; border-radius: 999px; justify-content: center; }
    body.menu-open { overflow: hidden; }
    body.menu-open .kakao-btn { display: none; } /* 메뉴 안 문의 버튼과 겹치지 않게 */
    .menu-toggle { display: inline-flex; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split-side { position: static; }
    .section-head.wide { grid-template-columns: 1fr; gap: 16px; align-items: start; }
    .section-head.wide .section-sub { justify-self: start; text-align: left; }
    .news-inner, .gifts-grid { grid-template-columns: 1fr; gap: 36px; }
    .news-photos a:nth-child(2) { transform: none; }
    .hero { padding: 128px 0 0; }
    .hero-strip { margin-top: 104px; padding-bottom: 56px; }
    .strip-item { width: 150px; }
    .hero-watermark { top: 12px; -webkit-text-stroke-color: rgba(145, 121, 94, 0.16); }
    .cta-inner { grid-template-columns: 1fr; align-items: start; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .section { padding: 104px 0; }
    .container { padding: 0 24px; }
    .hero { padding: 88px 0 0; }
    .hero-strip { margin-top: 72px; padding: 20px 0 48px; }
    .hero-strip-track { gap: 12px; }
    .strip-item { width: 136px; border-radius: 12px; }
    .strip-item:nth-child(even) { transform: translateY(14px); }
    .hero-orb-1 { width: 520px; height: 520px; right: -200px; top: -200px; }
    .hero-orb-2, .hero-orb-3, .hero-watermark { display: none; }
    .hero-title { font-size: clamp(30px, 9.4vw, 44px); margin-bottom: 24px; } /* "정직한 축의대행 서비스" 가 한 줄에 */
    .hero-sub { font-size: 17px; margin-bottom: 36px; }
    .hero-cta { width: 100%; gap: 10px; }
    .hero-cta .btn { flex: 1 1 0; padding: 15px 12px; font-size: 15px; }
    .about-lead { font-size: 20px !important; }
    .about-quote { padding: 20px 20px; font-size: 17px !important; }
    .cell h3 { font-size: 20px; }
    .section-head { margin-bottom: 48px; }
    .cells.cols-3, .price-grid, .adv-grid { grid-template-columns: 1fr; }
    .cell { padding: 34px 26px 32px; }
    .cell-no { margin-bottom: 24px; }
    .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
    .price-card.small-wedding .price-rows { grid-template-columns: 1fr; }
    .price-card.small-wedding .price-rows li:first-child { border-right: none; border-bottom: 1px solid var(--line); }
    .price-note { grid-template-columns: 1fr; gap: 10px; padding: 24px 20px; }
    /* 보장제: 숫자 왼쪽, 설명 오른쪽의 가로 배치로 카드 높이 절반 */
    .guarantee-list { grid-template-columns: 1fr; }
    .guarantee-list li { min-height: 0; padding: 22px 20px; display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; align-items: center; }
    .g-no { grid-column: 1 / -1; margin-bottom: 12px; }
    .g-big { font-size: 34px; margin-bottom: 0; grid-column: 1; grid-row: 2 / span 2; }
    .guarantee-list h3 { font-size: 17px; margin-bottom: 4px; grid-column: 2; align-self: end; }
    .guarantee-list p { font-size: 14.5px; grid-column: 2; align-self: start; }
    /* 장점 타일: 2열로 키워서 썸네일 제목이 읽히게 */
    .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .adv-item { border-radius: 12px; }
    .news-photos { gap: 8px; }
    .site-footer { padding-bottom: 72px; } /* 플로팅 버튼 자리 */
    .lb-nav { width: 40px; height: 40px; } .lb-prev { left: 8px; } .lb-next { right: 8px; }
    .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lb-stage img, .lb-stage video { max-width: 95vw; max-height: 78vh; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .kakao-btn { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 14px; }
    .header-actions .btn-xs { display: none; }
    .gift-card, .rental-card { padding: 28px 22px; }
    .event-note { padding: 22px 20px; }
    .cta { padding: 96px 0; }
}

/* ───────── 유료 서비스 상세 (2026-10-28) — index 카드 + products/*.html ───────── */
.paid-services { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.paid-services-head { max-width: 640px; margin-bottom: 36px; }
.paid-services-head h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 6px 0 12px; }
.paid-services-head p { color: var(--muted); line-height: 1.8; }
.paid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.paid-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.paid-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(145, 121, 94, 0.18); }
.paid-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: #f6f1ea; }
.paid-card-body { padding: 18px 20px 22px; }
.paid-card-body h4 { font-size: 18px; font-weight: 800; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.paid-card-body h4 em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--white); background: var(--primary); border-radius: 999px; padding: 2px 8px; letter-spacing: .04em; }
.paid-card-body p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.paid-price { font-size: 15px; font-weight: 800; color: var(--primary-dark, var(--primary)); }
@media (max-width: 900px) { .paid-grid { grid-template-columns: 1fr; } .paid-services-head h3 { font-size: 24px; } }

.product-body { background: var(--bg, #fdfbf8); }
.product-header { position: sticky; top: 0; }
.product-nav { display: flex; gap: 6px; justify-content: center; }
.product-nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.product-nav a.active { background: var(--primary); color: var(--white); }
.product-nav a:not(.active):hover { background: var(--bg-soft, #f3ede4); color: var(--ink); }
.product-main { padding: 48px 0 80px; }
.product-intro { text-align: center; padding: 24px var(--gutter) 36px; }
.product-intro h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 12px; color: var(--ink); }
.product-desc { color: var(--muted); font-size: 17px; line-height: 1.8; max-width: 640px; margin: 0 auto 10px; }
.product-price { font-weight: 800; color: var(--primary-dark, var(--primary)); font-size: 16px; }
.product-sheet { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 48px rgba(145, 121, 94, 0.12); }
.product-sheet img { display: block; width: 100%; height: auto; }
.product-cta { text-align: center; padding-top: 44px; }
.product-cta p { color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.product-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.product-footer { padding: 28px 0; }
.footer-copy { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0; }
.footer-copy a { color: inherit; }
@media (max-width: 640px) { .product-nav { display: none; } .product-intro h1 { font-size: 28px; } .product-main { padding-top: 28px; } }