/* Contact page: the two photo spaces (.ct-p1 / .ct-p2) and the LINE add-friend layout (.ln-*).
   Every picture spot is a fixed element: grey placeholder until a picture is set in the theme editor (select it → Background). */
.ct-ph { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #e6ebf4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238a93a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15h8l3-5h14l3 5h8v22H6z'/%3E%3Ccircle cx='24' cy='26' r='7'/%3E%3C/svg%3E") center / 40px no-repeat; background-color: #e6ebf4; }
.ct-fig { margin: 0 0 10px; position: relative; overflow: hidden; background: #fff; }
.ct-fig figcaption { padding: 4px 2px 0; font-size: 12px; font-weight: 500; color: var(--navy); }


/* ---- LINE add-friend layout */
:root { --ln-green: #05a041; }
.ln { --ln-blue: #d6ebf5; --ln-arrow: #1f7ae0; }
/* the LINE card on the Contact / Buy / Sell pages uses the same green as the LINE guide page */
.line-card { background: var(--ln-green); }
.line-card .lc-badge, .line-card .lc-btn, .line-card .lq-open { color: var(--ln-green); }
.line-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 34px; padding: 26px 36px 26px 26px; margin: 14px 0 6px; border-left: 8px solid rgba(255, 255, 255, .45); }
.lf-qrcol { padding: 0; } .lf-qrcol .lq-desk { display: block; } .lf-qrcol .lq-box { width: 190px; padding: 12px; border: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); } .lf-qrcol .lq-box .lq-img { width: 100%; } .lf-qrcol .lq-cap { font-size: 11.5px; }
.line-card .lc-body { min-width: 0; }
.lf-pic { position: relative; display: block; align-self: end; width: 232px; height: 300px; margin: 0 -14px -26px 0; background: url('/img/contact/line-staff-phone.webp') bottom center / contain no-repeat; color: inherit; text-decoration: none; }
.lf-pic-t { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 5px 12px; white-space: nowrap; font-size: 11.5px; font-weight: 700; background: #fff; color: var(--ln-green); border-radius: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.lf-pic:hover .lf-pic-t { background: var(--ln-green); color: #fff; box-shadow: 0 0 0 2px #fff; }
.lf-guide { margin-top: 34px; }
.line-card .lc-badge { padding: 2px 14px; font-size: 12px; letter-spacing: 1px; }
.line-card h2 { margin: 8px 0 8px; font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: .5px; }
.line-card p { max-width: 640px; margin: 0 0 18px; font-size: 15px; line-height: 1.85; }
.lf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.line-card .lc-btn { gap: 12px; min-width: 340px; padding: 17px 34px; font-size: 21px; box-shadow: 0 6px 0 rgba(0, 0, 0, .22); transition: transform .15s ease, box-shadow .15s ease; }
.line-card .lc-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0, 0, 0, .22); text-decoration: none; }
.line-card .lc-btn svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.lf-actions small { max-width: 230px; font-size: 12px; line-height: 1.6; opacity: .95; }
.ln-ph { background: #e6ebf4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238a93a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15h8l3-5h14l3 5h8v22H6z'/%3E%3Ccircle cx='24' cy='26' r='7'/%3E%3C/svg%3E") center / 36px no-repeat; }
.ln-h { position: relative; margin: 30px 0 12px; padding-left: 22px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.ln-h::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--ln-green); }

.ln-qrcard { flex: none; align-self: center; display: flex; width: 300px; border: 1px solid #d5dbe8; background: #fff; }
.ln-qrname { flex: 1 1 0; display: grid; place-items: center; padding: 10px; background: var(--ln-blue); color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.9; text-align: center; white-space: pre-line; }
.ln-qrbox { flex: none; width: 150px; padding: 6px; text-align: center; }
.ln-qrbox .lq-box { width: 100%; padding: 0; border: 0; } .ln-qrbox .lq-box .lq-img { width: 100%; } .ln-qrbox .lq-cap { display: none; }
.ln-id { margin-top: 2px; font-size: 13px; color: var(--navy); }
.ln-lead { align-self: center; padding-bottom: 8px; }
.ln-lead p { margin: 0 0 12px; font-size: 17px; line-height: 2; white-space: pre-line; color: var(--navy); }
.ln-more { display: inline-block; padding: 8px 16px; border: 1px solid #b9c3dd; background: #fff; color: var(--royal, var(--navy)); font-size: 16px; text-decoration: none; box-shadow: 0 2px 2px rgba(0, 0, 0, .12); }
.ln-more:hover { background: var(--soft, #f3f5f9); text-decoration: none; }
.ln-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; background: var(--ln-green); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 8px rgba(0, 0, 0, .18); }
.ln-btn:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }

.ln-band { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 30px 44px; }
.ln-band h3 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 36px); font-weight: 300; line-height: 1.45; white-space: pre-line; }
.ln-band p { margin: 0; font-size: 15px; font-weight: 500; line-height: 2; white-space: pre-line; }
.ln-a { background: var(--ln-green); color: #fff; } .ln-a h3, .ln-a p { color: #fff; }
/* the account block inside the green band: QR card, text and the details button */
.ln-acct { display: contents; }   /* its QR card and text become cells of the band's row */
.ln-a { grid-template-columns: minmax(0, 1.05fr) 270px minmax(0, .95fr) 210px; align-items: center; gap: 20px 28px; padding-bottom: 0; }
.ln-a h3 { font-size: clamp(20px, 2.2vw, 27px); } .ln-a p { font-size: 13.5px; }
.ln-a .ln-qrcard { width: 270px; } .ln-a .ln-pic-a { order: 4; height: 300px; align-self: end; background-position: bottom center; }
.ln-a .ln-lead { align-self: center; padding: 0; } .ln-a .ln-lead p { margin: 0 0 14px; font-size: 15px; line-height: 1.95; color: #fff; }
.ln-a .ln-more { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .75); color: #fff; box-shadow: none; } .ln-a .ln-more:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.ln-a .ln-btn { background: #fff; color: var(--ln-green); }
.ln-banner-box { display: block; }
.ln-banner { width: 100%; aspect-ratio: 1920 / 819; background: #e6f1e6 url('/img/contact/line-banner.webp') center / cover no-repeat; }
.ln-banner-box .ln-btn { display: flex; width: 100%; margin-top: 10px; }
.ln-b { background: var(--ln-blue); color: var(--navy); } .ln-b h3, .ln-b p { color: var(--navy); }
.ln-pic-a, .ln-pic-b { height: 230px; }
.ln-pic-a { background: url('/img/contact/line-staff-phone.webp') bottom center / contain no-repeat; }
.ln-pic-b { background: url('/img/contact/line-appraisal.webp') center / contain no-repeat; }

.ln-steps { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr); row-gap: 22px; align-items: stretch; }
.ln-step { padding: 16px 16px 18px; border: 1px solid #d5dbe8; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .09); }
.ln-sh { margin-bottom: 10px; padding: 6px 4px; background: var(--navy); color: var(--on-dark, #fff); font-size: 16px; text-align: center; }
.ln-step p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.9; }
.ln-shot { aspect-ratio: 4 / 3; background-size: 36px; }
.ln-shot-1 { background: url('/img/contact/line-step-1.webp') center / cover no-repeat; } .ln-shot-2 { background: url('/img/contact/line-step-2.webp') center / cover no-repeat; }
.ln-shot-3 { background: url('/img/contact/line-step-3.webp') center / cover no-repeat; } .ln-shot-id { background: url('/img/contact/line-step-id.webp') center / cover no-repeat; } .ln-shot-add { background: url('/img/contact/line-step-add.webp') center / cover no-repeat; }
.ln-arrow { display: grid; place-items: center; }
.ln-arrow::before { content: ''; border: 9px solid transparent; border-left: 14px solid var(--ln-arrow); border-right: 0; }
.ln-stepqr { display: flex; justify-content: center; } .ln-stepqr .lq-box { width: 190px; } .ln-stepqr .lq-box .lq-img { width: 100%; } .ln-stepqr .lq-cap { display: none; }
.ln-step .ln-btn { width: 100%; }
.f-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .f-row2 select.inp { width: 100%; }
.lc-how { display: inline-block; margin-top: 16px; color: inherit; font-size: 13px; text-decoration: underline; } .lc-how:hover { color: inherit; opacity: .85; }
.line-card .lc-act .lc-btn { padding: 14px 34px; font-size: 18px; }
.ln-go { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.ln-staff { grid-column: 3 / 6; grid-row: 2; align-self: end; height: 320px; justify-self: center; width: 100%; max-width: 380px; background: url('/img/contact/line-staff-thumbs.webp') bottom center / contain no-repeat; }
.ln-two .ln-staff { grid-column: 4 / 6; grid-row: 1; height: 300px; min-height: 0; max-width: none; align-self: end; }

/* ---- Sell page: step-by-step guide */
.sf { margin: 26px 0 8px; }
.sf-h { margin: 0 0 6px; padding-left: 12px; border-left: 5px solid var(--gold); font-size: 21px; font-weight: 700; color: var(--navy); }
.sf-lead { margin: 0 0 16px; font-size: 13.5px; line-height: 1.9; color: #444; }
.sf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sf-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 16px; background: #fff; border: 1px solid #d5dbe8; border-top: 3px solid var(--navy); box-shadow: 0 2px 6px rgba(0, 0, 0, .07); }
.sf-no { flex: none; display: grid; justify-items: center; align-content: center; width: 52px; height: 52px; background: var(--navy); color: var(--on-dark, #fff); font-size: 22px; font-weight: 700; line-height: 1; }
.sf-no small { margin-bottom: 2px; font-size: 8.5px; font-weight: 400; letter-spacing: 1px; opacity: .85; }
.sf-t { margin: 2px 0 5px; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.sf-p { margin: 0; font-size: 12.5px; line-height: 1.85; color: #444; }
.sf-docs { margin-top: 14px; padding: 14px 18px 12px; background: #f6f8fc; border: 1px solid #d5dbe8; }
.sf-docs h3 { margin: 0 0 8px; font-size: 14px; color: var(--navy); }
.sf-docs ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13px; }
.sf-docs li::before { content: '✓'; margin-right: 6px; color: var(--gold); font-weight: 700; }
.sf-note { margin: 0; font-size: 11.5px; color: #666; }

/* Buy page: the steps as rows (title left, text in the middle, photo right, dotted lines between) */
.sf-rows .sf-h { margin: 0 0 4px; padding: 0 0 6px; border-left: 0; border-bottom: 1px solid #222; font-size: 20px; color: #111; }
.sf-rows .sf-lead { margin: 10px 0 6px; }
.sf-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.sf-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-template-rows: auto 1fr; gap: 6px 16px; align-items: start; padding: 14px 0; border-bottom: 1px dotted #999; }
.sf-row:nth-last-child(-n+2) { border-bottom: 0; }
.sf-row .sf-t { grid-column: 1; grid-row: 1; } .sf-row .sf-p { grid-column: 1; grid-row: 2; } .sf-row .sf-ph { grid-column: 2; grid-row: 1 / span 2; }
.sf-rows .sf-t { margin: 0; font-size: 15px; font-weight: 700; color: #111; }
.sf-rows .sf-p { font-size: 13px; line-height: 1.8; color: #111; }
.sf-ph { width: 100%; aspect-ratio: 4 / 3; background: #e6ebf4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238a93a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15h8l3-5h14l3 5h8v22H6z'/%3E%3Ccircle cx='24' cy='26' r='6'/%3E%3C/svg%3E") center / 36px no-repeat; }
.sf-ph-1 { background: url('/img/buy/step-1.webp') center / cover no-repeat; }
.sf-phs-1 { background: url('/img/sell/step-1.webp') center / cover no-repeat; }
.sf-phs-2 { background: url('/img/sell/step-2.webp') center / cover no-repeat; }
.sf-phs-3 { background: url('/img/sell/step-3.webp') center / cover no-repeat; }
.sf-phs-4 { background: url('/img/sell/step-4.webp') center / cover no-repeat; }
.sf-phs-5 { background: url('/img/sell/step-5.webp') center / cover no-repeat; }
.sf-phs-6 { background: url('/img/sell/step-6.webp') center / cover no-repeat; }
.sf-ph-2 { background: url('/img/buy/step-2.webp') center / cover no-repeat; }
.sf-ph-3 { background: url('/img/buy/step-3.webp') center / cover no-repeat; }
.sf-ph-4 { background: url('/img/buy/step-4.webp') center / cover no-repeat; }
.sf-ph-5 { background: url('/img/buy/step-5.webp') center / cover no-repeat; }
.sf-ph-6 { background: url('/img/buy/step-6.webp') center / cover no-repeat; }

/* privacy page */
.pv h1 { margin: 6px 0 12px; } .pv-sec { margin-top: 22px; } .pv-h { margin: 0 0 8px; padding-left: 12px; border-left: 5px solid var(--gold); font-size: 17px; color: var(--navy); }
.pv-p { margin: 0 0 8px; font-size: 14px; line-height: 2; color: #333; max-width: 860px; }
.pv-opt { margin-top: 10px; padding: 14px 16px; background: #f6f8fc; border: 1px solid #d5dbe8; max-width: 860px; } .pv-state { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
@media (max-width: 767px) {
  .sf-list { grid-template-columns: minmax(0, 1fr); } .sf-row { grid-template-columns: minmax(0, 1fr) 110px; padding: 12px 0; gap: 4px 12px; } .sf-row:nth-last-child(2) { border-bottom: 1px dotted #999; } .sf-rows .sf-p { font-size: 12.5px; }
  .sf-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } .sf-h { font-size: 18px; } .sf-step { padding: 10px 12px; } .sf-no { width: 44px; height: 44px; font-size: 19px; } .sf-docs ul { display: block; } .sf-docs li { margin-bottom: 3px; }
  .ln-h { margin: 22px 0 10px; font-size: 16px; padding-left: 18px; } .ln-h::before { width: 10px; height: 10px; margin-top: -5px; }
  .ln-qrcard { display: none; } .ln-a { padding-bottom: 20px; } .ln-a .ln-pic-a { order: 2; height: 240px; align-self: auto; } .ln-a .ln-lead { order: 3; align-self: stretch; padding: 0; } .ln-a .ln-lead p { font-size: 14px; line-height: 1.9; } .ln-more { display: none; } .ln-lead .ln-btn { display: flex; width: 100%; }
  .ln-band { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 18px; } .ln-band h3 { font-size: 24px; } .ln-band p { font-size: 13.5px; line-height: 1.9; } .ln-pic-a, .ln-pic-b { height: 170px; }
  .f-row2 { grid-template-columns: minmax(0, 1fr); }
  .line-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px 16px 18px; border-left-width: 5px; } .lf-qrcol, .lf-pic { display: none; } .line-card h2 { font-size: 22px; } .line-card p { font-size: 13.5px; margin-bottom: 14px; }
  .line-card .lc-btn { min-width: 0; width: 100%; padding: 15px 20px; font-size: 19px; } .lf-actions { display: block; } .lf-actions small { display: block; max-width: none; margin-top: 8px; }
  .ln-steps { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ln-arrow { height: 18px; } .ln-arrow::before { border: 9px solid transparent; border-top: 12px solid var(--ln-arrow); border-bottom: 0; }
  .ln-staff, .ln-two .ln-staff { grid-column: 1; grid-row: auto; } .ln-staff { height: 200px; margin-top: 6px; }
}
