/* 와락(WARAK) v2 — 기준 레퍼런스 오늘의집 회사소개(bucketplace.com) 1440·390 실측값으로 짠 고객 CSS.
   수치만 따랐고 선택자 이름·코드는 우리 것. base.css 뒤에 불러온다. 폭에 따라 달라지는 규칙은 @media 안에.
   색: BI 가이드 v1.2 — 블랙 #231F20 · 화이트 · 오렌지 #FF6A13 · 아이스블루 #59CBE8 · 네이비 #0C2340 · 옐로우 #FEC600
   로고: 흰 바탕 = 블랙(09p). 회전·변형 없음(10p) */
:root {
  --ink: #231F20; --text: #231F20; --muted: #6b6668; --line: #e3e1e1; --soft: #f5f4f3; --box: #eeedeb;
  --w-orange: #FF6A13; --w-ice: #59CBE8; --w-navy: #0C2340; --w-yellow: #FEC600; --w-black: #231F20;
}
html { scroll-padding-top: 80px; }
body { color: var(--text); }
h1, h2, h3 { color: var(--ink); }
.r-wrap { width: min(1135px, 100% - 40px); margin-inline: auto; }

/* 머리글: 흰 바, 로고 왼쪽 · 메뉴 오른쪽 */
.topbar, .topbar.is-solid { background: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar__in, .topbar.is-solid .topbar__in { width: min(1135px, 100% - 40px); height: 120px; }
.mark__img { height: 28px; width: auto; }
.topbar .nav { gap: 50px; }
.topbar .nav a { font-size: 17px; font-weight: 500; color: #424242; text-shadow: none; }
.topbar .nav a:hover, .topbar .nav a.is-here { color: var(--ink); font-weight: 700; }
.topbar .nav a::after { display: none; }
.topbar .menu-btn i { background: var(--ink); }

/* 1 첫 화면 */
.r-hero { padding: 180px 0 80px; }
.r-hero__h { font-size: 50px; font-weight: 700; line-height: 66px; letter-spacing: -.8px; }
.r-hero__txt { margin-top: 50px; }
.r-hero__txt p { font-size: 18px; line-height: 33px; letter-spacing: -.4px; }
.r-hero__txt p + p { margin-top: 30px; }
.strip { margin-top: 90px; overflow: hidden; }
.strip__track { display: flex; gap: 20px; width: max-content; margin-left: -25px; }
.strip__card { position: relative; flex: 0 0 365px; height: 365px; overflow: hidden; }
.strip__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip__tags { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.strip__tags span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 600; color: var(--ink); }
.strip__cap { position: absolute; right: 18px; bottom: 16px; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }

/* 2 회색 구간 */
.r-grey { padding: 112px 0; background: var(--soft); }
.r-grey__grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 60px; align-items: start; }
.r-h2 { font-size: 36px; font-weight: 700; line-height: 52px; letter-spacing: -.8px; }
.keys { margin-top: 90px; }
.keys > div + div { margin-top: 40px; }
.keys dt { font-size: 15px; color: var(--muted); }
.keys dd { margin-top: 8px; font-size: 28px; line-height: 40px; letter-spacing: -.6px; color: var(--ink); }
.keys em { font-style: normal; font-weight: 700; color: var(--w-orange); }
.r-note { margin-top: 60px; font-size: 14px; color: var(--muted); }
.steps-box { padding: 40px 50px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.steps-box li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 0 0 30px; }
.steps-box li:last-child { padding-bottom: 0; }
.steps-box li::before { content: ""; position: absolute; left: 108px; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.steps-box li:not(:last-child)::after { content: ""; position: absolute; left: 109px; top: 20px; bottom: 6px; width: 1px; background: var(--line); }
.steps-box b { font-size: 15px; font-weight: 700; line-height: 22px; }
.steps-box span { padding-left: 14px; font-size: 16px; line-height: 22px; }
.steps-box li:last-child b { color: var(--w-orange); }

/* 3 서비스 */
.r-svc { padding: 112px 0 100px; }
.r-svc__h { max-width: 980px; }
.row { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 60px; align-items: center; margin-top: 80px; }
.row__box { height: 320px; padding: 28px; background: var(--box); display: flex; align-items: center; justify-content: center; }
.row__txt h3 { font-size: 30px; font-weight: 700; line-height: 42px; letter-spacing: -.8px; }
.row__txt p { margin-top: 24px; font-size: 18px; line-height: 33px; letter-spacing: -.4px; }
.row__txt p.row__meta { margin-top: 14px; font-size: 15px; line-height: 24px; color: var(--muted); }

.r-btns { display: flex; justify-content: center; gap: 24px; margin-top: 80px; }
.r-btn { display: inline-flex; align-items: center; justify-content: center; width: 260px; height: 64px; border-radius: 4px; background: var(--w-orange); color: var(--w-black); font-size: 18px; font-weight: 700; box-shadow: 0 6px 16px rgba(255, 106, 19, .25); transition: background-color .3s, color .3s; }
.r-btn:hover { background: var(--w-black); color: #fff; }
.r-btn.is-hole { border: 1px dashed var(--w-black); background: transparent; box-shadow: none; }
.r-btn.is-hole::after { content: " [메일 주소]"; margin-left: 4px; font-weight: 500; opacity: .7; }

/* 4 링크 한 줄 */
.r-link { padding: 100px 0; border-top: 1px solid var(--line); }
.r-link__a { display: inline-flex; align-items: center; gap: 12px; font-size: 36px; font-weight: 700; letter-spacing: -.8px; color: var(--ink); }
.r-link__a svg { color: var(--w-orange); transition: transform .3s; }
.r-link__a:hover svg { transform: translateX(6px); }

/* 5 전폭 사진 띠 */
.r-banner { position: relative; height: 440px; overflow: hidden; display: flex; align-items: center; }
.r-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.r-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .6) 42%, rgba(255, 255, 255, 0) 70%); }
.r-banner__in { position: relative; z-index: 2; }
.r-banner__h { font-size: 36px; font-weight: 700; line-height: 50px; letter-spacing: -.8px; }
.r-banner__p { margin-top: 14px; font-size: 18px; line-height: 30px; }
.r-banner__btn { display: inline-flex; align-items: center; justify-content: center; width: 240px; height: 64px; margin-top: 40px; border-radius: 4px; background: var(--w-black); color: #fff; font-size: 18px; font-weight: 700; transition: background-color .3s; }
.r-banner__btn:hover { background: var(--w-orange); color: var(--w-black); }
.r-banner__btn.is-hole { border: 1px dashed var(--w-black); background: transparent; color: var(--w-black); }
.r-banner__btn.is-hole::after { content: " [메일 주소]"; margin-left: 4px; font-weight: 500; opacity: .7; }

/* 바닥글 */
.r-foot { padding: 60px 0 50px; }
.r-foot__name { font-size: 18px; font-weight: 700; color: var(--ink); }
.r-foot__info { margin-top: 14px; font-size: 14px; line-height: 22px; color: var(--muted); }
.r-foot__info a[href]:hover { color: var(--ink); }
.r-foot__nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.r-foot__nav a:first-child { font-weight: 700; color: var(--ink); }
.r-foot__nav a.is-hole { cursor: default; }
.r-foot__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.r-foot__bottom img { width: 110px; height: auto; }
.r-foot__sns { color: var(--muted); }
.r-foot__sns:hover { color: var(--ink); }

/* ── 태블릿 ── */
@media (max-width: 1180px) {
  .topbar__in, .topbar.is-solid .topbar__in { height: 80px; }
  .r-hero { padding-top: 160px; }
  .r-grey__grid { grid-template-columns: minmax(0, 1fr) 440px; }
  .row { grid-template-columns: 400px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 960px) {
  .r-grey__grid { grid-template-columns: minmax(0, 1fr); }
  .steps-box { max-width: 560px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .row__box { max-width: 560px; }
  .r-btns { flex-wrap: wrap; }
}

/* ── 휴대폰 (기준 390 실측: 첫 제목 32/42, 본문 16/27, 좌우 20) ── */
@media (max-width: 640px) {
  .topbar__in, .topbar.is-solid .topbar__in { height: 64px; }
  .mark__img { height: 24px; }
  .r-hero { padding: 110px 0 60px; }
  .r-hero__h { font-size: 30px; line-height: 40px; letter-spacing: -.8px; }
  .r-hero__txt { margin-top: 32px; }
  .r-hero__txt p { font-size: 16px; line-height: 27px; }
  .r-hero__txt p + p { margin-top: 24px; }
  .strip { margin-top: 60px; }
  .strip__card { flex-basis: 240px; height: 240px; }
  .strip__track { gap: 12px; margin-left: -20px; }
  .strip__tags span { padding: 4px 9px; font-size: 11px; }
  .r-grey { padding: 80px 0 0; }
  .r-h2 { font-size: 26px; line-height: 38px; letter-spacing: -.6px; }
  .keys { margin-top: 50px; }
  .keys dd { font-size: 22px; line-height: 32px; }
  .r-note { margin-top: 30px; text-align: right; }
  .r-grey__grid { gap: 40px; }
  .steps-box { margin-inline: -20px; padding: 36px 20px; box-shadow: none; }
  .steps-box li { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-bottom: 24px; }
  .steps-box li::before { left: 84px; }
  .steps-box li:not(:last-child)::after { left: 85px; }
  .steps-box span { font-size: 15px; }
  .r-svc { padding: 80px 0; }
  .row { margin-top: 60px; gap: 24px; }
  .row__box { height: auto; min-height: 240px; padding: 22px; }
  .row__txt h3 { font-size: 22px; line-height: 32px; letter-spacing: -.5px; }
  .row__txt p { margin-top: 14px; font-size: 16px; line-height: 27px; }
  .r-btns { flex-direction: column; align-items: center; gap: 16px; margin-top: 60px; }
  .r-btn { width: 100%; max-width: 280px; height: 56px; font-size: 16px; }
  .r-link { padding: 60px 0; }
  .r-link__a { font-size: 24px; }
  .r-link__a svg { width: 24px; height: 24px; }
  .r-banner { height: auto; min-height: 480px; align-items: flex-start; padding: 60px 0; }
  .r-banner__img { object-position: 75% 50%; }
  .r-banner::before { background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .75) 55%, rgba(255, 255, 255, .1) 100%); }
  .r-banner__h { font-size: 26px; line-height: 38px; }
  .r-banner__p { font-size: 16px; line-height: 27px; }
  .r-banner__btn { width: 200px; height: 56px; margin-top: 28px; font-size: 16px; }
}

/* 누르는 영역 40px 이상 */
.r-foot__nav a { display: inline-flex; align-items: center; min-height: 40px; }
.r-foot__sns { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px; }
.r-link__a { min-height: 48px; }

/* v2 1회차 채점 반영 */
.steps-box li { padding-bottom: 38px; }
.strip__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); pointer-events: none; }
.strip__cap { z-index: 1; }
.row__k { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--w-orange); margin-bottom: 8px; }
.row__txt p.row__k { margin-top: 0; font-size: 13px; line-height: 18px; }
.r-badge { position: absolute; right: 16px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) {
  .steps-box li { padding-bottom: 26px; }
  .r-banner::before { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 80%); }
  .r-banner__img { object-position: 80% 50%; }
}

/* 서비스 줄 왼쪽 = 사진(대표님: 도식 카드 말고 사진으로) */
.row__box--photo { position: relative; margin: 0; padding: 0; overflow: hidden; display: block; }
.row__box--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .row__box--photo { height: auto; min-height: 0; aspect-ratio: 460 / 320; }
}
