/* ============================================================
   sections.css — 섹션별 모양 (index.html 의 ①~⑫ 순서)
   ------------------------------------------------------------
   휴대폰 기준으로 먼저 쓰고, 넓은 화면은 @media 안에서 바꿉니다.
   ============================================================ */

/* ── 상단 메뉴 ── 첫 화면 위에서는 투명, 내려가면 밝은 배경 */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s;
}
.header__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.header.is-scrolled, body.menu-open .header {
  background: rgba(255, 252, 247, .92); color: var(--c-cocoa);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.logo { display: inline-flex; align-items: baseline; gap: 0.55rem; line-height: 1; margin-right: auto; }
.logo__en { font-family: var(--f-accent); font-style: italic; font-weight: 500; font-size: 1.75rem; letter-spacing: 0.02em; }
.logo__ko { font-size: 0.82rem; font-weight: 600; opacity: .75; letter-spacing: 0.05em; }
.nav { display: none; gap: 1.6rem; }
.nav__link { position: relative; font-size: 0.95rem; font-weight: 550; padding: 0.4rem 0; opacity: .88; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { opacity: 1; }
.header__tel { display: none; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.header__cta { display: none; min-height: 44px; padding: 0 1.2rem; font-size: 0.93rem; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: none; color: inherit; position: relative; margin-right: -0.6rem;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.8px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
body.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--c-crust); transform: scaleX(0); transform-origin: left; }

.mnav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--c-paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { font-size: 1.45rem; font-weight: 700; padding: 0.85rem 0; border-bottom: 1px solid var(--c-line); letter-spacing: -0.02em; }
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }

/* ── ① 첫 화면 ── */
.hero { position: relative; color: #fff; padding-top: calc(var(--header-h) + 2.5rem); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(30, 19, 12, .55) 0%, rgba(30, 19, 12, .25) 30%, rgba(30, 19, 12, .7) 70%, rgba(30, 19, 12, .92) 100%);
}
.hero__in { display: grid; gap: 2.5rem; padding-bottom: 2rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(255, 252, 247, .14); border: 1px solid rgba(255, 252, 247, .28); font-size: 0.88rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-butter); box-shadow: 0 0 0 4px rgba(239, 203, 123, .25); }
.hero__title {
  font-size: var(--fs-hero); font-weight: 780; line-height: 1.14; letter-spacing: -0.045em;
  margin-top: 1.2rem; white-space: pre-line; text-wrap: balance;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .ln > span { display: inline-block; }
.hero__desc { margin-top: 1.4rem; font-size: var(--fs-lead); line-height: 1.75; color: rgba(255, 252, 247, .86); max-width: 33em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.hero__btns .btn--ghost { color: #fff; }

/* 빠른 상담 카드 */
.quick {
  background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-lg); padding: 1.6rem;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); display: flex; flex-direction: column; gap: 1rem;
}
.quick__title { font-size: 1.3rem; font-weight: 760; letter-spacing: -0.03em; }
.quick__desc { color: var(--c-muted); font-size: 0.92rem; margin-top: -0.6rem; }
.quick__fields { display: grid; gap: 0.85rem; }
.quick .agree { font-size: 0.88rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: var(--fs-small); color: var(--c-error); text-align: center; min-height: 0; }
.form__msg:empty { display: none; }

.hero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding-top: 0; padding-bottom: 2.5rem;
}
.fact { padding: 1.1rem 0; border-top: 1px solid rgba(255, 252, 247, .22); display: flex; flex-direction: column; gap: 0.15rem; }
.fact b { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); font-weight: 760; letter-spacing: -0.03em; }
.fact span { font-size: 0.86rem; color: rgba(255, 252, 247, .72); }

/* 흐르는 띠 */
/* position·z-index: 스크롤 때 첫 화면 사진(아래로 천천히 내려옴)이 띠를 덮지 않게 */
.marquee { position: relative; z-index: 1; background: var(--c-cocoa); color: var(--c-butter); overflow: hidden; padding: 1.1rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-accent); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem); padding-right: 0.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── ② 브랜드 ── */
.brand__grid { display: grid; gap: 3rem; align-items: center; }
.brand__statement {
  font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.7rem); font-weight: 720; line-height: 1.38; letter-spacing: -0.035em; margin-top: 1.2rem;
}
.brand__statement .w { transition: color .3s; }
.brand__statement .w.off { color: rgba(42, 28, 20, .18); }
.brand__en { font-family: var(--f-accent); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); color: var(--c-crust); margin-top: 1.6rem; }
.brand__body { margin-top: 1.2rem; color: var(--c-muted); max-width: 34em; }
.brand__fig figcaption { margin-top: 0.9rem; font-size: var(--fs-small); color: var(--c-muted); padding-left: 1rem; border-left: 2px solid var(--c-butter); }
.brand__img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.brand__img img { height: 115%; margin-top: -7%; }

/* ── ③ 경쟁력 ── */
.points { background: var(--c-paper); }
.points__list { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.point { display: grid; gap: 1.4rem; }
.point__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.point__img img { transition: transform 1.2s var(--ease); }
.point:hover .point__img img { transform: scale(1.04); }
.point__no { font-family: var(--f-accent); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--c-crust); }
.point__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); font-weight: 740; letter-spacing: -0.035em; line-height: 1.3; margin: 0.6rem 0 0.7rem; }
.point__body p { color: var(--c-muted); max-width: 30em; }

/* ── ④ 매장의 하루 ── */
.day { background: var(--c-cocoa); color: var(--c-paper); padding: var(--section) 0; overflow: hidden; }
.day .eyebrow { color: var(--c-butter); }
.day .lead { color: rgba(255, 252, 247, .7); }
.day__head { margin-bottom: 3rem; }
.day__viewport { position: relative; }
.day__track { display: grid; gap: 0; padding: 0 var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; }
.slot-time { position: relative; padding: 0 0 2.2rem 2.2rem; border-left: 1px solid rgba(255, 252, 247, .2); }
.slot-time::before {
  content: ''; position: absolute; left: -6px; top: 0.55rem; width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-cocoa); border: 1.5px solid rgba(255, 252, 247, .5);
}
.slot-time::before { transition: background-color .45s, border-color .45s, box-shadow .45s; }
/* 불 켜짐: 스크롤이 지나간 시간 칸마다 차례로 (motion.js 가 is-lit 을 붙임). 굽는 시간은 빛 번짐을 더 크게 */
.slot-time.is-lit::before, html:not(.motion-on) .slot-time::before { background: var(--c-butter); border-color: var(--c-butter); box-shadow: 0 0 0 5px rgba(239, 203, 123, .18); }
.slot-time.is-bake.is-lit::before, html:not(.motion-on) .slot-time.is-bake::before { box-shadow: 0 0 0 7px rgba(239, 203, 123, .24), 0 0 18px rgba(239, 203, 123, .55); }
.slot-time time { transition: opacity .45s; }
html.motion-on .slot-time:not(.is-lit) time { opacity: .55; }
.slot-time time { font-family: var(--f-accent); font-style: italic; font-size: 2.3rem; line-height: 1; color: var(--c-butter); font-variant-numeric: lining-nums; }
.slot-time h3 { font-size: 1.2rem; font-weight: 700; margin-top: 0.6rem; letter-spacing: -0.02em; }
.slot-time p { margin-top: 0.4rem; color: rgba(255, 252, 247, .72); font-size: 0.95rem; max-width: 24em; }
.day__bar { display: none; }

/* ── ⑤ 창업 비용 ── */
.cost__grid { display: grid; gap: 2.5rem; align-items: start; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--c-salt); margin-bottom: 1.5rem; }
.tab { border: 0; background: none; min-height: 44px; padding: 0 1.3rem; border-radius: 999px; font-weight: 650; color: var(--c-muted); transition: all .25s var(--ease); }
.tab.is-on { background: var(--c-cocoa); color: #fff; }
.cost__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cost__table th, .cost__table td { text-align: left; padding: 1rem 0.4rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.cost__table thead th { font-size: var(--fs-small); color: var(--c-muted); font-weight: 600; padding-top: 0; }
.cost__table tbody th { font-weight: 650; width: 38%; }
.cost__table td:nth-child(2) { font-weight: 760; font-size: 1.1rem; white-space: nowrap; width: 20%; text-align: right; padding-right: 1.4rem; }
.cost__table thead th:nth-child(2) { text-align: right; padding-right: 1.4rem; }
.cost__table td:nth-child(3) { color: var(--c-muted); font-size: 0.9rem; }
.cost__table tbody tr { transition: background-color .2s; }
.cost__table tbody tr:hover { background: rgba(239, 203, 123, .14); }
.cost__sum {
  background: var(--c-cocoa); color: var(--c-paper); border-radius: var(--r-lg); padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  display: flex; flex-direction: column; gap: 0.6rem; box-shadow: var(--shadow);
}
.cost__sum-label { color: rgba(255, 252, 247, .7); font-weight: 600; }
.cost__total { display: flex; align-items: baseline; gap: 0.4rem; }
.cost__total b { font-size: clamp(3rem, 2.4rem + 2.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--c-butter); font-variant-numeric: tabular-nums; }
.cost__total span { font-size: 1.2rem; font-weight: 650; }
.cost__vat { font-size: var(--fs-small); color: rgba(255, 252, 247, .6); margin-top: -0.3rem; }
.cost__excluded { font-size: 0.92rem; color: rgba(255, 252, 247, .82); padding: 0.9rem 0; border-top: 1px solid rgba(255, 252, 247, .14); margin-top: 0.6rem; }
.cost__legal { font-size: 0.8rem; line-height: 1.65; color: rgba(255, 252, 247, .55); margin-top: 0.6rem; }

/* ── ⑥ 수익 계산기 ── */
.calc { background: var(--c-salt); }
.calc__grid { display: grid; gap: 1.5rem; }
.calc__inputs, .calc__result { background: var(--c-paper); border-radius: var(--r-lg); padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.4rem); }
.calc__inputs { display: flex; flex-direction: column; gap: 1.7rem; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.7rem; }
.range__top label { font-weight: 650; }
.range__top output { font-weight: 780; font-size: 1.15rem; color: var(--c-crust); font-variant-numeric: tabular-nums; white-space: nowrap; }
.range input[type=range] {
  --p: 50%;
  width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.range input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c-crust) var(--p), var(--c-salt) var(--p)); }
.range input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c-crust) var(--p), var(--c-salt) var(--p)); }
.range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; margin-top: -10px;
  background: #fff; border: 2px solid var(--c-crust); box-shadow: 0 4px 12px -4px rgba(133, 73, 26, .6); transition: transform .2s;
}
.range input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--c-crust); }
.range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__fixed { font-size: var(--fs-small); color: var(--c-muted); padding-top: 1.2rem; border-top: 1px dashed var(--c-line); }
.calc__result { display: flex; flex-direction: column; gap: 0.4rem; }
.calc__label { font-weight: 650; color: var(--c-muted); }
.calc__profit { display: flex; align-items: baseline; gap: 0.4rem; }
.calc__profit b { font-size: clamp(3rem, 2.3rem + 3vw, 4.8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--c-cocoa); }
.calc__profit b.is-minus { color: var(--c-error); }
.calc__profit span { font-size: 1.25rem; font-weight: 650; }
.calc__rate { color: var(--c-muted); font-size: 0.95rem; }
.calc__rate b { color: var(--c-crust); font-variant-numeric: tabular-nums; }
.calc__bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 1.2rem 0 0.6rem; background: var(--c-salt); }
.seg { height: 100%; transition: flex-basis .5s var(--ease); flex: 0 0 0%; }
.seg--mat, .dot--mat { background: #D9A35A; }
.seg--labor, .dot--labor { background: #8C6A52; }
.seg--rent, .dot--rent { background: #B9A792; }
.seg--etc, .dot--etc { background: #D8CDBF; }
.seg--profit { background: var(--c-crust); }
.calc__rows { display: flex; flex-direction: column; }
.calc__rows .row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--c-line); font-size: 0.95rem; }
.calc__rows dt { color: var(--c-muted); display: flex; align-items: center; gap: 0.5rem; }
.calc__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__rows .row--sales dt { color: var(--c-ink); font-weight: 650; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.calc__note { font-size: var(--fs-small); color: var(--c-muted); margin-top: 0.8rem; }
.calc__legal { margin: 1.5rem auto 0; max-width: 52em; text-align: center; font-size: 0.82rem; color: var(--c-muted); line-height: 1.7; }

/* ── ⑦ 개설 절차 ── */
.steps__grid { display: grid; gap: 2.5rem; position: relative; }
.steps__head .btn { margin-top: 2rem; }
.steps__list { position: relative; counter-reset: step; }
.step { display: grid; grid-template-columns: 3.6rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--c-line); position: relative; }
.step:first-child { padding-top: 0; }
.step__no {
  width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-accent); font-style: italic; font-size: 1.35rem; font-weight: 500;
  background: var(--c-paper); border: 1.5px solid var(--c-line); color: var(--c-crust); position: relative; z-index: 1;
  transition: background-color .4s, color .4s, border-color .4s;
}
.step.is-on .step__no { background: var(--c-crust); border-color: var(--c-crust); color: #fff; }
.step h3 { font-size: 1.2rem; font-weight: 720; letter-spacing: -0.02em; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.step h3 small { font-size: 0.78rem; font-weight: 650; color: var(--c-crust); background: rgba(239, 203, 123, .3); padding: 0.15rem 0.6rem; border-radius: 999px; }
.step p { margin-top: 0.4rem; color: var(--c-muted); }

/* ── ⑧ 본사 지원 ── */
.support { background: var(--c-paper); }
.support__list { display: grid; gap: 1rem; }
.sup { padding: 1.8rem; border-radius: var(--r-md); background: var(--c-flour); border: 1px solid var(--c-line); transition: transform .35s var(--ease), box-shadow .35s; }
.sup:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sup svg { width: 44px; height: 44px; color: var(--c-crust); }
.sup h3 { font-size: 1.15rem; font-weight: 720; margin-top: 1.2rem; letter-spacing: -0.02em; }
.sup p { color: var(--c-muted); margin-top: 0.45rem; font-size: 0.95rem; }

/* ── ⑨ 매장 사진 ── */
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.gallery__note { font-size: var(--fs-small); color: var(--c-muted); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g .slot { border-radius: var(--r-md); aspect-ratio: 1; }
.g--2 .slot, .g--4 .slot { aspect-ratio: 4 / 5; }
.g figcaption { font-size: 0.85rem; color: var(--c-muted); margin-top: 0.6rem; }
.g img { transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.04); }

/* ── ⑩ 자주 묻는 질문 ── */
.faq { background: var(--c-paper); }
.faq__grid { display: grid; gap: 1rem; }
.qa { border-bottom: 1px solid var(--c-line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font-size: 1.08rem; font-weight: 680; letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--c-line);
  background: linear-gradient(currentColor, currentColor) center / 11px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 11px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--c-butter); border-color: var(--c-butter); }
.qa summary:hover { color: var(--c-crust); }
.qa p { padding: 0 3rem 1.5rem 0; color: var(--c-muted); }

/* ── ⑪ 상담 신청 ── */
.apply { position: relative; padding: var(--section) 0; color: var(--c-paper); isolation: isolate; overflow: hidden; background: var(--c-cocoa); }
.apply__bg { position: absolute; inset: 0; z-index: -1; border-radius: 0; opacity: .32; }
.apply__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, var(--c-cocoa) 25%, rgba(42, 28, 20, .55)); }
.apply .eyebrow { color: var(--c-butter); }
.apply .lead { color: rgba(255, 252, 247, .78); }
.apply__grid { display: grid; gap: 2.5rem; align-items: start; }
.apply__contact { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 252, 247, .18); }
.apply__k { font-size: var(--fs-small); color: rgba(255, 252, 247, .6); }
.apply__tel { display: inline-block; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 780; letter-spacing: -0.03em; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.apply__hours { color: rgba(255, 252, 247, .7); font-size: 0.93rem; }
.apply__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.apply__links .btn { color: var(--c-paper); min-height: 48px; }
.apply__card { background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); }
.lead-form { display: flex; flex-direction: column; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; }
.agrees { display: flex; flex-direction: column; gap: 0.7rem; padding-top: 0.3rem; }
.btn--big { min-height: 60px; font-size: 1.08rem; margin-top: 0.3rem; }
.done { text-align: center; padding: 2rem 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.done:focus { outline: none; }
.done__icon { width: 64px; height: 64px; color: var(--c-ok); }
.done h3 { font-size: 1.5rem; font-weight: 760; letter-spacing: -0.03em; }
.done p { color: var(--c-muted); max-width: 26em; }
.done__demo { font-size: var(--fs-small); background: rgba(239, 203, 123, .3); color: var(--c-cocoa) !important; padding: 0.6rem 0.9rem; border-radius: var(--r-sm); }
.done__tel { color: var(--c-cocoa); }

/* ── ⑫ 푸터 ── */
.footer { background: #1D130D; color: rgba(255, 252, 247, .62); padding: 3.5rem 0 calc(6rem + env(safe-area-inset-bottom)); font-size: 0.86rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255, 252, 247, .12); }
.logo--foot { color: var(--c-paper); margin: 0; }
.footer__privacy { color: var(--c-paper); font-weight: 700; }
.footer__info { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 1.6rem; line-height: 1.8; }
.footer__demo { margin-top: 1rem; color: var(--c-butter); }
.footer__copy { margin-top: 1rem; }

/* 휴대폰 아래 고정 버튼 */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255, 252, 247, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--c-line);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.dock.is-show { transform: none; }
.dock a { min-height: 52px; display: grid; place-items: center; border-radius: 14px; font-weight: 700; }
.dock__tel { border: 1.5px solid var(--c-cocoa); color: var(--c-cocoa); }
.dock__cta { background: var(--c-crust); color: #fff; }

/* ============================================================
   넓은 화면
   ============================================================ */
@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(4, 1fr); }
  .fact { padding-right: 1rem; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .g--2, .g--4 { margin-top: 3rem; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .support__list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .brand__grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 6rem); }
  .point { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
  .point:nth-child(even) .point__img { order: 2; }
  .cost__grid { grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .cost__sum { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .calc__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 6vw, 6rem); }
  .steps__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .faq__grid { grid-template-columns: 0.75fr 1.25fr; gap: clamp(3rem, 6vw, 6rem); }
  .apply__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); }
  .apply__info { position: sticky; top: calc(var(--header-h) + 2rem); }
}

@media (min-width: 1024px) {
  .nav, .header__cta { display: inline-flex; }
  .menu-btn, .mnav { display: none; }
  .header__tel { display: inline-flex; }
  .dock { display: none; }
  .footer { padding-bottom: 3.5rem; }

  .hero { min-height: max(720px, var(--hero-h, 100vh)); display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 3rem); }
  .hero__in { grid-template-columns: 1fr 380px; align-items: end; gap: clamp(3rem, 6vw, 6rem); padding-bottom: 3rem; }
  .hero__shade { background: linear-gradient(90deg, rgba(30, 19, 12, .82) 0%, rgba(30, 19, 12, .5) 45%, rgba(30, 19, 12, .15) 75%), linear-gradient(180deg, rgba(30, 19, 12, .45) 0%, transparent 25%, transparent 60%, rgba(30, 19, 12, .75) 100%); }
  .hero__facts { padding-bottom: 2rem; }
  .support__list { grid-template-columns: repeat(4, 1fr); }

  /* ④ 하루: 가로로 이어진 카드, 스크롤하면 옆으로 흐름 (motion.js) */
  .day { padding: 0; }
  .day__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 2rem) 0 3rem; }
  .day__head { margin-bottom: 3.5rem; }
  .day__track { display: flex; gap: 0; max-width: none; padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: max-content; }
  .slot-time { width: 300px; flex: none; padding: 2.2rem 2.2rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 252, 247, .2); }
  .slot-time::before { left: 0; top: -6px; }
  .day__bar { display: block; position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); right: var(--gutter); bottom: -2.5rem; height: 2px; background: rgba(255, 252, 247, .12); max-width: var(--wrap); }
  .day__bar span { display: block; height: 100%; width: 100%; background: var(--c-butter); transform: scaleX(0); transform-origin: left; }

}

/* 노트북 폭: 제목이 네 줄로 꺾이지 않게 조금 작게 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__in { grid-template-columns: 1fr 340px; gap: 3rem; }
  .hero__title { font-size: 3rem; }
}

@media (min-width: 1280px) {
  .hero__in { grid-template-columns: 1fr 400px; }
}

/* ⑦ 절차: 번호를 잇는 세로선 (--line 0~1 은 motion.js가 스크롤에 맞춰 바꿈) */
.steps__list::before, .steps__list::after { content: ''; position: absolute; left: calc(1.45rem - 0.75px); top: 1.4rem; bottom: 3rem; width: 1.5px; background: var(--c-line); }
.steps__list::after { background: var(--c-crust); transform: scaleY(var(--line, 1)); transform-origin: top; }
