/* 메인페이지 (index.html · en.html 공용) — Figma "너랑_main_1" (PC 1920 / 모바일 390) 기준.
   색·폰트는 theme.css(디자인 가이드)를 따른다. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); color: var(--nr-ink); background: #fff; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.in { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.mo { display: none; }

/* 공통 제목 묶음 */
.eyebrow { font-family: 'Montserrat', var(--sans); font-size: 17px; line-height: 1.25; letter-spacing: .15em; text-transform: uppercase; color: var(--nr-sub); }
.h2 { font-size: 50px; line-height: 1.2; font-weight: 700; color: var(--nr-ink); margin-top: 20px; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 28px; color: var(--nr-gray); margin-top: 30px; }
.lead.tight { margin-top: 20px; }
.head-c { text-align: center; }
.on-dark .h2 { color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.7); }

/* 테두리 버튼 (더 알아보기 → / 프라이빗 상담신청하기 →) */
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 20px; height: 60px; padding: 0 30px; border: 1px solid var(--nr-main); color: var(--nr-main); font-size: 18px; font-weight: 700; text-decoration: none; background: transparent; cursor: pointer; font-family: inherit; transition: background .25s, color .25s; }
.btn-line:hover { background: var(--nr-main); color: #fff; }
.btn-line.white { border-color: #fff; color: #fff; }
.btn-line.white:hover { background: #fff; color: var(--nr-main); }
.arr { width: 22px; height: 7px; flex-shrink: 0; }

/* 스크롤하면 살짝 떠오르며 나타남 */
.fu { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.fu.v { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .fu { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── 1. 히어로 ── */
.hero { position: relative; height: clamp(560px, 46.875vw, 900px); overflow: hidden; color: #fff; text-align: center; background: #3a3330; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 7s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(20,14,10,.18); }
.hero-box { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 20px 40px; }
.hero-brand { font-size: 24px; letter-spacing: 1em; margin-right: -1em; color: rgba(255,255,255,.7); line-height: 1.2; }
.hero h1 { font-size: 64px; line-height: 1.2; font-weight: 200; margin-top: 15px; letter-spacing: -0.02em; }
.hero h1 b { font-weight: 700; }
.hero-sub { font-size: 20px; line-height: 30px; color: rgba(255,255,255,.7); max-width: 480px; margin-top: 30px; }
.hero-btns { display: flex; gap: 10px; margin-top: 70px; }
.hero-btns a { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 0 24px; height: 60px; font-size: 18px; font-weight: 700; color: #222; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hero-btns a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero-btns .w { background: #fff; } .hero-btns .k { background: var(--nr-kakao); }
.dots { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: background .3s; }
.dots button.active { background: #fff; }

/* ── 2. 너랑 스탠다드 ── */
.standard { position: relative; background: #FAF6F2 url('img/home/standard-bg.jpg') no-repeat; background-size: 2146px auto; background-position: calc(50% + 64px) -260px; padding: 150px 0 200px; overflow: hidden; }
.standard .txt { max-width: 640px; }
.std-row { display: grid; grid-template-columns: 1fr 450px 450px; gap: 20px; margin-top: 93px; align-items: start; }
.card-img { position: relative; height: 320px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 50px 40px; }
.card-img > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card-img:hover > img { transform: scale(1.05); }
.card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.62) 100%); }
.card-img > * { position: relative; z-index: 1; }
.card-img h3 { font-size: 26px; font-weight: 700; line-height: 1.2; }
.card-img p { font-size: 18px; line-height: 28px; color: rgba(255,255,255,.8); margin-top: 10px; }

/* ── 3. 신뢰와 검증 ── */
.trust { position: relative; padding: 200px 0; background: #6b5c52 url('img/home/trust-bg.jpg') center/cover no-repeat; color: #fff; }
.trust::before { content: ''; position: absolute; inset: 0; background: rgba(70,52,41,.2); }
.trust .in { position: relative; }
.trust .eyebrow { color: rgba(255,255,255,.6); }
.trust .lead { color: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 70px; }
.glass { background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 60px 30px 52px; text-align: center; min-height: 334px; }
.glass svg { width: 100px; height: 100px; color: #fff; display: block; margin: 0 auto; }
.glass h3 { font-size: 26px; font-weight: 700; line-height: 1.2; margin-top: 30px; }
.glass p { font-size: 18px; line-height: 28px; margin-top: 15px; }

/* ── 4. 전담 매칭 매니저 ── */
.managers { position: relative; background: var(--nr-dark); padding: 200px 0; overflow: hidden; }
.managers::before { content: ''; position: absolute; width: 792px; height: 792px; left: -320px; top: 601px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.managers::after { content: ''; position: absolute; width: 593px; height: 1169px; left: calc(50% + 530px); top: -509px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.managers .in { position: relative; z-index: 1; }
.mgr-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 70px; }
.mgr { background: var(--nr-dark); border: 1px solid rgba(255,255,255,.1); border-radius: 200px; box-shadow: 0 5px 30px rgba(0,0,0,.3); text-align: center; padding: 90px 40px 70px; min-height: 537px; }
.mgr img { width: 212px; height: 212px; border-radius: 50%; margin: 0 auto; background: #fff; object-fit: cover; }
.mgr h3 { font-size: 26px; font-weight: 700; color: var(--nr-sub); margin-top: 40px; line-height: 1.2; }
.mgr p { font-size: 18px; line-height: 28px; color: rgba(255,255,255,.8); margin-top: 20px; }

/* ── 5. 만남까지의 과정 ── */
.process { background: #f6f5f3 url('img/home/process-bg.jpg') center/cover no-repeat; padding: 200px 0; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; align-items: start; }
.step { height: 500px; padding: 0 35px 40px; }
.step:nth-child(1) { margin-top: 18px; } .step:nth-child(2) { margin-top: 111px; }
.step .num { font-size: 18px; font-weight: 700; }
.step h3 { margin-top: 20px; }
.step p { color: #fff; margin-top: 15px; }
.process .center { text-align: center; margin-top: 100px; }

/* ── 6. 대표 이야기 ── */
.founder { display: grid; grid-template-columns: 1fr 1fr; }
.founder .left { background: var(--nr-beige); padding: 200px 40px 200px max(20px, calc(50vw - 640px)); }
.founder .left .eyebrow { color: var(--nr-ink); }
.founder .title { font-family: 'Montserrat', var(--sans); font-size: 50px; font-weight: 700; line-height: 1.2; margin-top: 20px; letter-spacing: -0.01em; }
.f-imgs { display: flex; gap: 20px; margin-top: 120px; }
.f-imgs img { width: 240px; height: 320px; object-fit: cover; }
.founder .right { background: #fff; display: flex; align-items: center; padding: 120px max(20px, calc(50vw - 640px)) 120px 140px; }
.founder .story { max-width: 500px; }
.founder .story svg { width: 34px; height: 33px; color: var(--nr-main); display: block; }
.founder .story .body { font-size: 18px; line-height: 28px; color: var(--nr-ink); margin-top: 40px; }
.founder .story .body p + p { margin-top: 28px; }
.founder .story .sign { font-size: 20px; line-height: 26px; font-weight: 700; margin-top: 20px; }

/* ── 7. FAQ ── */
.faq { background: #f7f7f7 url('img/home/faq-bg.jpg') center/cover no-repeat; padding: 200px 0; }
.faq-list { margin-top: 100px; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-item + .faq-item { margin-top: 50px; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; font-size: 20px; font-weight: 500; line-height: 24px; color: var(--nr-ink); padding-bottom: 50px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--nr-main); }
.pm { position: relative; width: 20px; height: 20px; flex-shrink: 0; margin-right: 30px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--nr-sub); transition: transform .3s; }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm::after { transform: rotate(0deg); }
.faq-a { font-size: 20px; line-height: 30px; color: var(--nr-gray); margin-top: -10px; padding-bottom: 50px; max-width: 1100px; }
.faq-a p + p { margin-top: 14px; }
.faq-a a { color: var(--nr-main); font-weight: 600; }

/* ── 8. 상담 신청 ── */
.consult { position: relative; background: #2e2824 url('img/home/form-bg.jpg') center/cover no-repeat; padding: 200px 0; color: #fff; }
#consult-form { display: grid; grid-template-columns: 1fr 675px; column-gap: 40px; }
.c-text { grid-column: 1; grid-row: 1; }
.c-fields { grid-column: 2; grid-row: 1 / span 3; margin-top: 41px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 15px; align-content: start; }
.c-fields .full { grid-column: 1 / -1; }
.c-submit { grid-column: 1; grid-row: 2; margin-top: 70px; }
.c-note { grid-column: 1; grid-row: 3; margin-top: 40px; font-size: 16px; line-height: 28px; color: rgba(255,255,255,.6); }
.c-note a { color: rgba(255,255,255,.75); font-weight: 700; text-decoration: none; }
.inp { width: 100%; height: 70px; padding: 0 20px; border: 1px solid transparent; background: rgba(255,255,255,.1); color: #fff; font-family: inherit; font-size: 18px; font-weight: 500; outline: none; border-radius: 0; transition: border-color .2s, background .2s; }
.inp::placeholder { color: rgba(255,255,255,.5); opacity: 1; }
.inp:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); }
.inp:focus::placeholder { color: rgba(255,255,255,.45); }
.chk { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; font-size: 16px; line-height: 28px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk .box { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid #fff; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.chk .box svg { width: 16px; height: 12px; opacity: 0; transition: opacity .15s; }
.chk input:checked + .box svg { opacity: 1; }
.chk input:focus-visible + .box { outline: 2px solid #fff; outline-offset: 2px; }
.c-hint { grid-column: 1 / -1; margin-top: -8px; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.7); transition: color .2s; }
.c-hint.err { color: #ffb4a8; font-weight: 600; }
#age-check-error { grid-column: 1 / -1; display: none; font-size: 14px; color: #ffb4a8; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spin { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
#promo-badge { display: none; margin-top: 30px; padding: 18px 20px; border: 1px solid rgba(215,189,166,.45); background: rgba(0,0,0,.18); font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.85); }
#promo-badge .pb-name { font-family: 'Montserrat', var(--sans); font-weight: 600; letter-spacing: .14em; color: var(--nr-beige); margin-bottom: 8px; }
#promo-badge b { color: var(--nr-beige); font-weight: 600; }
#promo-badge a { color: var(--nr-beige); font-weight: 600; }
#form-ok { display: none; max-width: 560px; }
#form-ok h3 { font-size: 36px; font-weight: 700; margin-top: 20px; }
#form-ok .msg { font-size: 18px; line-height: 28px; color: rgba(255,255,255,.75); margin-top: 16px; }
#form-recap { margin-top: 28px; padding: 20px 24px; background: rgba(255,255,255,.1); font-size: 16px; line-height: 2; }
#form-recap span:first-child { display: inline-block; min-width: 110px; color: var(--nr-beige); font-weight: 600; }
#form-ok .small { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.65); margin-top: 14px; }
#form-ok .small a { color: #fff; }
#form-ok .k { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; height: 56px; padding: 0 28px; background: var(--nr-kakao); color: #222; font-weight: 700; text-decoration: none; }

/* ── 푸터 ── */
.footer { background: var(--nr-dark); color: #fff; padding: 108px 0 70px; }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ft-top svg { width: 34px; height: 33px; color: #fff; }
.ft-pills { display: flex; gap: 10px; }
.ft-pills a { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 60px; border: 1px solid #fff; border-radius: 999px; font-size: 18px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.ft-pills a:hover { background: #fff; color: var(--nr-dark); }
.ft-line { height: 1px; background: rgba(217,217,217,.2); margin-top: 50px; }
.ft-mid { display: flex; justify-content: space-between; gap: 40px; margin-top: 70px; }
.biz { display: grid; grid-template-columns: 118px 1fr; row-gap: 20px; font-size: 17px; line-height: 20px; }
.biz dt { color: rgba(255,255,255,.6); }
.biz a { text-decoration: none; } .biz a:hover { text-decoration: underline; }
.ft-cols { display: flex; gap: 61px; }
.ft-cols h4 { font-size: 16px; font-weight: 400; color: rgba(255,255,255,.4); line-height: 19px; }
.ft-cols ul { list-style: none; margin-top: 15px; }
.ft-cols li { font-size: 16px; line-height: 35px; }
.ft-cols a { text-decoration: none; } .ft-cols a:hover { color: var(--nr-beige); }
.sns { display: flex; gap: 15px; margin-top: 40px; }
.sns a { width: 52px; height: 52px; border-radius: 50%; background: #363430; color: #8c8882; display: flex; align-items: center; justify-content: center; transition: color .2s, background .2s; }
.sns a:hover { color: #fff; background: #45423d; }
.copy { font-size: 16px; color: rgba(255,255,255,.5); margin-top: 50px; }

/* ── 태블릿 ── */
@media (max-width: 1240px) {
  .std-row { grid-template-columns: 1fr 1fr; }
  .std-row .btn-cell { grid-column: 1 / -1; }
  .trust-row, .mgr-row, .step-row { gap: 20px; }
  .mgr { padding: 70px 24px 60px; }
  .mgr img { width: 180px; height: 180px; }
  .founder .right { padding-left: 60px; }
  #consult-form { grid-template-columns: 1fr 1.4fr; }
  .ft-mid { flex-direction: column; }
}
@media (max-width: 960px) {
  .h2 { font-size: 38px; } .hero h1 { font-size: 46px; }
  .trust-row, .mgr-row, .step-row { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .step:nth-child(n) { margin-top: 0; }
  .founder { grid-template-columns: 1fr; }
  .founder .left { padding: 120px 20px; }
  .founder .right { padding: 80px 20px; }
  #consult-form { grid-template-columns: 1fr; }
  .c-fields, .c-submit, .c-note { grid-column: 1; grid-row: auto; }
}

/* ── 모바일 (Figma m_너랑_main_1, 390px) ── */
@media (max-width: 640px) {
  .pc { display: none !important; } .mo { display: block; }
  .in { padding: 0 8px; }
  .eyebrow { font-size: 12px; }
  .h2 { font-size: 26px; margin-top: 8px; }
  .lead, .lead.tight { font-size: 15px; line-height: 20px; margin-top: 10px; }
  .btn-line { height: 45px; font-size: 15px; padding: 0 24px; gap: 14px; }

  .hero { height: 420px; }
  .hero-box { padding: 100px 20px 30px; }
  .hero-brand { font-size: 14px; }
  .hero h1 { font-size: 35px; margin-top: 10px; }
  .hero-sub { font-size: 12px; line-height: 18px; margin-top: 15px; max-width: 270px; }
  .hero-btns { margin-top: 22px; gap: 5px; }
  .hero-btns a { min-width: 140px; padding: 0 12px; height: 42px; font-size: 15px; }
  .dots { bottom: 30px; gap: 8px; } .dots button { width: 8px; height: 8px; }

  .standard { padding: 40px 0; background-image: url('img/home/standard-bg-m.jpg'); background-size: 1935px auto; background-position: -792px -400px; }
  .standard .txt { padding-right: 15px; }
  .std-row { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
  .std-row .btn-cell { display: none; }
  .card-img { height: 260px; padding: 0 20px 25px; }
  .card-img h3 { font-size: 22px; }
  .card-img p { font-size: 17px; line-height: 22px; }

  .trust { padding: 40px 0; }
  .trust-row { gap: 8px; margin-top: 30px; }
  .glass { min-height: 276px; padding: 40px 20px 36px; }
  .glass h3 { font-size: 22px; margin-top: 20px; }
  .glass p { font-size: 17px; line-height: 22px; margin-top: 10px; }

  .managers { padding: 40px 0; }
  .managers::before { left: -626px; top: 1204px; }
  .managers::after { left: 359px; top: -300px; height: 827px; }
  .mgr-row { gap: 30px; margin-top: 30px; }
  .mgr { min-height: 450px; padding: 40px 30px 50px; }
  .mgr img { width: 212px; height: 212px; }
  .mgr h3 { font-size: 22px; color: #B69A70; margin-top: 30px; }
  .mgr p { font-size: 17px; line-height: 22px; margin-top: 10px; }

  .process { padding: 40px 0; }
  .step-row { gap: 8px; margin-top: 30px; }
  .step { height: 465px; padding: 0 30px 40px; }
  .step h3 { font-size: 22px; margin-top: 15px; }
  .step p { font-size: 17px; line-height: 22px; margin-top: 10px; }
  .process .center { margin-top: 30px; }

  .founder .left { padding: 40px 8px 40px; text-align: center; }
  .founder .title { font-size: 26px; margin-top: 8px; }
  .f-imgs { flex-direction: column; gap: 8px; margin-top: 30px; }
  .f-imgs img { width: 100%; height: 320px; }
  .founder .right { padding: 32px 8px 40px; }
  .founder .story .body { margin-top: 40px; }

  .faq { padding: 40px 0; }
  .faq-list { margin-top: 30px; }
  .faq-item + .faq-item { margin-top: 20px; }
  .faq-item summary { font-size: 18px; line-height: 21px; padding-bottom: 20px; }
  .pm { width: 14px; height: 14px; margin-right: 0; } .pm::before, .pm::after { width: 14px; top: 6px; }
  .faq-a { font-size: 18px; line-height: 24px; margin-top: 0; padding-bottom: 20px; }

  .consult { padding: 40px 0; }
  .c-text { text-align: center; }
  .c-text .lead { color: #fff; }
  .c-text .eyebrow { color: rgba(255,255,255,.6); }
  .c-fields { margin-top: 30px; grid-template-columns: 1fr; gap: 8px; }
  .inp { height: 55px; padding: 0 15px; }
  .chk { margin-top: 12px; font-size: 16px; line-height: 22px; gap: 8px; }
  .chk .box { width: 22px; height: 22px; } .chk .box svg { width: 13px; height: 10px; }
  .c-submit { margin-top: 40px; text-align: center; }
  .c-note { margin-top: 20px; text-align: center; font-size: 14px; line-height: 22px; }
  #form-ok h3 { font-size: 26px; }

  .footer { padding: 46px 0 40px; }
  .ft-pills { gap: 8px; } .ft-pills a { width: 140px; height: 45px; font-size: 15px; }
  .ft-top svg { width: 34px; height: 33px; }
  .ft-line { margin-top: 30px; }
  .ft-mid { margin-top: 30px; gap: 40px; }
  .biz { grid-template-columns: 118px 1fr; line-height: 22px; }
  .ft-cols { gap: 61px; }
  .sns { margin-top: 30px; }
  .copy { margin-top: 30px; font-size: 14px; }
}
@media (max-width: 360px) { .hero-btns a { min-width: 130px; font-size: 14px; } .ft-pills a { width: 120px; } }

/* 영문 페이지: 디자인 가이드대로 영문은 Montserrat */
html[lang="en"] body { font-family: 'Montserrat', var(--sans); letter-spacing: 0; }
html[lang="en"] .h2 { font-size: 46px; letter-spacing: -0.01em; }
html[lang="en"] .hero h1 { font-size: 58px; letter-spacing: -0.01em; }
html[lang="en"] .lead, html[lang="en"] .card-img p, html[lang="en"] .glass p, html[lang="en"] .mgr p, html[lang="en"] .founder .story .body { font-size: 17px; }
html[lang="en"] .faq-item summary, html[lang="en"] .faq-a { font-size: 18px; }
@media (max-width: 960px) { html[lang="en"] .h2 { font-size: 34px; } html[lang="en"] .hero h1 { font-size: 40px; } }
@media (max-width: 640px) {
  html[lang="en"] .h2 { font-size: 24px; }
  html[lang="en"] .hero h1 { font-size: 30px; }
  html[lang="en"] .lead, html[lang="en"] .card-img p, html[lang="en"] .glass p, html[lang="en"] .mgr p { font-size: 15px; }
  html[lang="en"] .faq-item summary, html[lang="en"] .faq-a { font-size: 16px; }
}
