/* 교회 홈페이지 AI — church.pe.kr
   주보(교회 소식지)의 '예배 순서' 모양을 바탕으로 한 홍보 사이트 */
:root {
  --paper: #ffffff;
  --mist: #f5f7fa;
  --ink: #13213a;
  --ink-2: #3c4a61;
  --ink-3: #6b778a;
  --burgundy: #7a1f2b;
  --burgundy-deep: #5e1720;
  --gilt: #c9a44c;
  --line: #dce3ec;
  --serif: 'Hahmlet', 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --fs-sm: 0.875rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: clamp(2.25rem, 5.2vw, 3.75rem);
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-md); line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 99; }
.skip:focus { left: 8px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn.primary { background: var(--burgundy); color: #fff; }
.btn.primary:hover { background: var(--burgundy-deep); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: rgba(255,255,255,.08); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }

/* 머리말 */
.top { position: sticky; top: 0; z-index: 50; background: rgba(19,33,58,.97); color: #fff; backdrop-filter: saturate(1.2) blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.1875rem; text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand svg { flex: none; }
.top nav { margin-left: auto; }
.top nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.top nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: .9375rem; color: #d8e0ec; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.top .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 8px 16px 16px; margin: 0; }
  .top nav.open { display: block; }
  .top nav ul { flex-direction: column; }
  .top nav a { padding: 12px; font-size: 1rem; }
  .top .wrap > .btn { display: none; }
}

/* 첫 화면 */
.hero { background: var(--ink); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: var(--fs-3xl); line-height: 1.22; }
.hero .lead { margin-top: 22px; color: #c9d3e1; font-size: 1.125rem; max-width: 34em; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .note { margin-top: 18px; font-size: var(--fs-sm); color: #9aa8bc; }
@media (max-width: 920px) { .hero { padding: 44px 0 64px; } .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

/* 주보 카드: 접힌 종이 + 금박 테두리 + 점선 이음표 */
.bulletin { position: relative; background: var(--paper); color: var(--ink); border-radius: 4px 14px 14px 4px; padding: 30px 32px 26px 40px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); max-width: 520px; justify-self: end; width: 100%; }
.bulletin::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 4px 0 0 4px; background: linear-gradient(90deg, var(--gilt), #e3c97f 55%, var(--gilt)); }
.bulletin::after { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; border-left: 1px dashed #e3d6b4; }
.bulletin .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.bulletin .head strong { font-family: var(--serif); font-size: 1.25rem; }
.bulletin .head span { font-size: var(--fs-sm); color: var(--ink-3); white-space: nowrap; }
.order { list-style: none; margin: 8px 0 0; padding: 0; }
.order li { display: grid; grid-template-columns: 3.2em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order li:last-child { border-bottom: 0; }
.order b { font-family: var(--serif); font-weight: 600; color: var(--burgundy); }
.order p { font-size: .9688rem; line-height: 1.6; color: var(--ink-2); }
.bulletin .foot { margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.bulletin .foot::before { content: ""; flex: 1; border-top: 1px dotted var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .js .order li { opacity: 0; transform: translateY(6px); animation: rise .5s ease forwards; }
  .js .order li:nth-child(1) { animation-delay: .15s; } .js .order li:nth-child(2) { animation-delay: .3s; }
  .js .order li:nth-child(3) { animation-delay: .45s; } .js .order li:nth-child(4) { animation-delay: .6s; }
  .js .order li:nth-child(5) { animation-delay: .75s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .bulletin { padding: 24px 20px 20px 32px; } .order li { grid-template-columns: 2.8em 1fr; gap: 10px; } }

/* 구획 */
.band { padding: 96px 0; }
.band.mist { background: var(--mist); }
.band > .wrap > h2, .sec-head h2 { font-size: var(--fs-2xl); max-width: 22em; }
.sec-head { margin-bottom: 48px; max-width: 44em; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.0938rem; }
@media (max-width: 720px) { .band { padding: 64px 0; } .band > .wrap > h2, .sec-head h2 { font-size: var(--fs-xl); } .sec-head { margin-bottom: 32px; } }

/* 기능: 화면과 설명을 번갈아 */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature:nth-of-type(even) .shot { order: -1; }
.feature h3 { font-size: var(--fs-xl); }
.feature p { margin-top: 14px; color: var(--ink-2); }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 20px; margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
.feature li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--burgundy); }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -24px rgba(19,33,58,.45); }
.shot.phone { max-width: 300px; border-radius: 28px; border: 8px solid var(--ink); justify-self: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; } .feature:nth-of-type(even) .shot { order: 0; } }

/* AI 대화 예시 */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; }
.chat .q, .chat .a { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: .9688rem; line-height: 1.6; }
.chat .q { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.chat .a { background: var(--mist); color: var(--ink); border-bottom-left-radius: 4px; }
.chat .a small { display: block; margin-top: 6px; color: var(--ink-3); font-size: .8125rem; }

/* 자료 옮기기 */
.migrate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.flow { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gilt); }
.flow li { padding: 0 0 22px 22px; position: relative; }
.flow li::before { content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gilt); }
.flow b { display: block; font-family: var(--serif); font-size: 1.125rem; }
.flow span { color: var(--ink-2); font-size: 1rem; }
.migrate .from { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 860px) { .migrate { grid-template-columns: 1fr; gap: 32px; } }

/* 진행 과정 (실제 순서) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 20px 0 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 1.125rem var(--serif); margin-bottom: 14px; }
.steps b { display: block; font-family: var(--serif); font-size: 1.125rem; }
.steps span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .9688rem; line-height: 1.65; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr; gap: 22px; } .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; } .steps li::before { grid-row: span 2; margin: 0; } }

/* 준비 중 */
.soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.soon div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.soon div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.soon h3 { font-size: 1.1875rem; }
.soon em { font-style: normal; font-family: var(--sans); font-size: .8125rem; font-weight: 700; color: var(--burgundy); margin-left: 8px; vertical-align: 2px; }
.soon p { margin-top: 8px; color: var(--ink-2); font-size: .9688rem; }
@media (max-width: 860px) { .soon { grid-template-columns: 1fr; } .soon div, .soon div + div { padding: 20px 0; border-left: 0; } }

/* 자주 묻는 질문 */
.faq { max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* 상담 신청 */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.contact .info p { margin-top: 14px; color: var(--ink-2); }
.contact .info a { color: var(--burgundy); font-weight: 700; }
form.lead { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.f { display: block; margin-top: 16px; }
.f:first-child { margin-top: 0; }
.f > span { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: 6px; }
.f input, .f textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c8d2df; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,164,76,.35); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.two .f:nth-child(2) { margin-top: 0; }
fieldset.f { border: 0; padding: 0; margin: 16px 0 0; }
fieldset.f legend { font-weight: 700; font-size: .9375rem; margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #c8d2df; border-radius: 999px; font-size: .9375rem; cursor: pointer; }
.f .checks input, .agree input { accent-color: var(--burgundy); width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; }
.checks label:has(input:checked) { border-color: var(--burgundy); background: #fbf1f2; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: .9063rem; color: var(--ink-2); }
.agree input { margin-top: 5px; accent-color: var(--burgundy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-weight: 700; }
.form-msg.ok { color: #1f6b3a; }
.form-msg.err { color: var(--burgundy); }
form.lead .btn { width: 100%; margin-top: 20px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 28px; } .two { grid-template-columns: 1fr; } .two .f:nth-child(2) { margin-top: 16px; } form.lead { padding: 20px; } }

/* 마무리 띠 */
.cta { background: var(--burgundy); color: #fff; padding: 64px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: var(--fs-xl); max-width: 20em; }
.cta .btn.line:hover { background: rgba(255,255,255,.12); }
.cta .btn.white { background: #fff; color: var(--burgundy); }

/* 꼬리말 */
.site-foot { background: var(--ink); color: #9aa8bc; padding: 48px 0 40px; font-size: var(--fs-sm); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-foot strong { color: #fff; font-family: var(--serif); font-size: 1.0625rem; }
.site-foot a { color: #d8e0ec; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* 하위 페이지 (검색어별 소개, 개인정보) */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(1.875rem, 4.4vw, 3rem); }
.page-hero p { margin-top: 16px; color: #c9d3e1; font-size: 1.125rem; max-width: 40em; }
.page-hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.prose { max-width: 46em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose li { margin-top: 6px; }
.prose table { border-collapse: collapse; margin-top: 14px; width: 100%; font-size: .9688rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.crumb { font-size: var(--fs-sm); color: #9aa8bc; margin-bottom: 14px; }
.crumb a { color: #c9d3e1; }

/* 가입 · 요금 */
.signup { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .signup { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.join fieldset.f { border: 0; padding: 0; margin: 0 0 28px; }
.join fieldset.f > legend { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; margin-bottom: 8px; }
.join .slug-msg { margin-bottom: 4px; }
.join .hint { font-size: .875rem; color: var(--ink-3); margin-top: 10px; }
.slug { display: flex; align-items: stretch; border: 1px solid #c8d2df; border-radius: 10px; overflow: hidden; background: #fff; }
.slug input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.slug b { display: flex; align-items: center; padding: 0 14px; background: var(--mist); color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.slug:focus-within { outline: 3px solid rgba(201,164,76,.45); outline-offset: 1px; }
.slug-msg { display: block; margin-top: 6px; font-size: .875rem; color: var(--ink-3); }
.slug-msg.ok { color: #1f7a45; font-weight: 600; }
.slug-msg.err { color: var(--burgundy); font-weight: 600; }
.join .agree { margin-top: 12px; }
.join button[type=submit] { margin-top: 22px; width: 100%; }
.join-side { background: var(--mist); border-radius: 16px; padding: 28px; }
.join-side h2 { font-size: 1.25rem; }
.join-side ul { margin: 14px 0 0; padding: 0; list-style: none; }
.join-side li { padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.join-side li::before { content: "✓"; position: absolute; left: 0; color: var(--gilt); font-weight: 700; }
.join-side .price-line { margin-top: 18px; font-size: 1.0625rem; }
.join-side .muted { margin-top: 10px; font-size: .9375rem; color: var(--ink-3); }
.join-done h2 { font-size: var(--fs-2xl); }
.join-done .host { margin: 10px 0 24px; font-size: 1.125rem; word-break: break-all; }
.ready-steps li { opacity: .45; transition: opacity .3s; }
.ready-steps li.on { opacity: 1; }
.ready-steps li.on::before { background: var(--gilt); }
.plans { display: grid; gap: 20px; }
@media (min-width: 960px) { .plans { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: #fff; }
.plan.main { border: 2px solid var(--ink); box-shadow: 0 20px 50px -30px rgba(19,33,58,.5); }
.plan .k { font-weight: 700; color: var(--burgundy); letter-spacing: .02em; }
.plan .amt { font-family: var(--serif); font-size: 1.375rem; margin-top: 8px; }
.plan .amt b { font-size: 2.75rem; }
.plan .amt span { font-size: 1rem; color: var(--ink-3); font-family: var(--sans); }
.plan .sub { color: var(--ink-3); margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.plan li { padding: 7px 0 7px 22px; position: relative; color: var(--ink-2); font-size: 1rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--burgundy); }
.plan .btn { width: 100%; }
.pay-note { margin-top: 22px; color: var(--ink-3); font-size: .9375rem; }

/* 디자인 고르기 (가입) */
.style-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.style-pick label { position: relative; display: grid; gap: 2px; padding: 6px 6px 8px; border: 2px solid #e3e6ee; border-radius: 14px; cursor: pointer; background: #fff; font-size: 14px; }
.style-pick input { position: absolute; opacity: 0; pointer-events: none; }
.style-pick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; display: block; margin-bottom: 4px; }
.style-pick small { color: #6b7280; font-size: 12px; }
.style-pick label:has(input:checked) { border-color: #c9a44c; box-shadow: 0 0 0 3px rgba(201,164,76,.25); }
.style-pick label:has(input:focus-visible) { outline: 2px solid #c9a44c; outline-offset: 2px; }
/* 샘플 교회 모아 보기 */
.smp-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.smp { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #e6e8ef; box-shadow: 0 14px 40px -24px rgba(16,24,40,.35); display: flex; flex-direction: column; }
.smp-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.smp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.smp-img:hover img { transform: scale(1.04); }
.smp-img span { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; }
.smp-body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.smp-body .k { color: #b08a2e; font-weight: 700; font-size: 13px; margin: 0; }
.smp-body h2 { margin: 0; font-size: 1.3rem; }
.smp-body p { margin: 0; }
.smp-body .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* 언어 고르기 */
.langsw { position: relative; flex: none; }
.langsw summary { white-space: nowrap; }
.langsw summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 13px; color: inherit; }
.langsw summary::-webkit-details-marker { display: none; }
.langsw summary:hover, .langsw[open] summary { background: rgba(255,255,255,.1); }
.langsw ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px -18px rgba(0,0,0,.45); }
.langsw li a { display: block; padding: 9px 12px; border-radius: 9px; color: #13213a; text-decoration: none; font-size: 15px; }
.langsw li a:hover, .langsw li a[aria-current] { background: #f4efe2; }
.langsw li a[aria-current] { font-weight: 700; }
.lang-ask { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center;
  background: #fff; color: #13213a; padding: 10px 12px 10px 16px; border-radius: 16px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.45); max-width: calc(100% - 24px); font-weight: 600; }
.lang-ask .btn.line { color: #13213a; }
[dir="rtl"] .top nav { margin-left: 0; margin-right: auto; }
