/* SELOS 官网样式
   - 只用系统字体，不引用任何外部资源（国内国外打开都快，也没有第三方请求）。
   - 左右方向全部用逻辑属性（inline-start / inline-end）写，阿拉伯语、波斯语页面自动镜像。
   - 颜色取自品牌标志：墨蓝、琥珀金、天蓝。 */

:root {
  --ink: #0B1E33;
  --amber: #F6A81C;
  --sky: #80C7E3;
  --paper: #FFFFFF;
  --soft: #F3F5F8;
  --text: #1B2B3F;
  --muted: #5B6B7E;
  --line: #DCE2E9;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-line: rgba(255, 255, 255, .2);
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 48px);
  --r: 20px;
  --top: 68px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); }
:lang(zh) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif; }
:lang(ar), :lang(fa) { font-family: "Vazirmatn", "Noto Sans Arabic", "Segoe UI", "Geeza Pro", "Dubai", Tahoma, Arial, sans-serif; line-height: 1.9; }
[id] { scroll-margin-top: calc(var(--top) + 16px); }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pic { width: 44px; height: 44px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 语言建议条（只在默认语言页面、访客浏览器是别的语言时出现） ---------- */
.suggest { background: var(--amber); color: var(--ink); font-size: 15px; }
.suggest[hidden] { display: none; }
.suggest-in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding-block: 6px; }
.suggest a { font-weight: 700; }
.suggest button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 6px 10px; border-radius: 8px; text-decoration: underline; }

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--on-dark); }
.top-in { display: flex; align-items: center; gap: 18px; height: var(--top); }
.brand { display: flex; align-items: center; margin-inline-end: auto; }
.brand img { display: block; height: 36px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-end: 10px; }
.nav a { padding: 8px 0; font-size: 15px; color: var(--on-dark-2); text-decoration: none; }
.nav a:hover { color: var(--on-dark); }

.pick { position: relative; }
.pick > summary { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--on-dark-line); border-radius: 999px; font-size: 15px; color: var(--on-dark); cursor: pointer; list-style: none; user-select: none; }
.pick > summary::-webkit-details-marker { display: none; }
.pick > summary:hover { border-color: var(--on-dark-2); }
.pick .chev { width: 16px; height: 16px; transition: transform .15s; }
.pick[open] .chev { transform: rotate(180deg); }
.pick > ul { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 210px; margin: 0; padding: 8px; list-style: none; background: var(--paper); color: var(--text); border-radius: 16px; box-shadow: 0 20px 60px rgba(11, 30, 51, .28); }
.pick li a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.pick li a:hover { background: var(--soft); }
.pick li a[aria-current] { background: var(--soft); color: var(--ink); font-weight: 700; }
.menu { display: none; }
.menu > summary { padding: 0 10px; }

/* ---------- 主视觉 ---------- */
.hero { padding: 0; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(56px, 8vw, 112px) clamp(44px, 6vw, 84px); }
.eyebrow { margin: 0; color: var(--amber); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.h1 { margin: 20px 0 24px; font-size: clamp(38px, 6.4vw, 80px); line-height: 1.08; font-weight: 800; letter-spacing: -.012em; }
.h1 span { display: block; }
.lead { margin: 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-2); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 28px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; text-align: center; }
.btn.primary { background: var(--amber); color: var(--ink); }
.btn.primary:hover { background: #FFB733; }
.btn.ghost { border: 1.5px solid var(--on-dark-line); color: var(--on-dark); }
.btn.ghost:hover { border-color: var(--on-dark); }
.mark { display: block; width: 100%; max-width: 420px; height: auto; justify-self: end; }
.band { display: block; width: 100%; height: clamp(54px, 6.4vw, 88px); }
.hero .band { margin-bottom: clamp(20px, 2.8vw, 36px); }

/* 字形较长的语言，标题小一号，避免在窄屏上折行太碎 */
:lang(pl) .h1, :lang(fr) .h1 { font-size: clamp(30px, 4.5vw, 58px); }
:lang(ru) .h1, :lang(es) .h1 { font-size: clamp(28px, 4vw, 52px); }
/* 中文、阿拉伯文、波斯文：不加字距、不转大写 */
:lang(zh) .eyebrow { letter-spacing: .08em; }
:lang(zh) .h1 { letter-spacing: 0; line-height: 1.18; }
:lang(ar) .eyebrow, :lang(fa) .eyebrow, :lang(ar) .h1, :lang(fa) .h1, :lang(ar) h2, :lang(fa) h2, :lang(ar) .label, :lang(fa) .label, :lang(ar) .region, :lang(fa) .region { letter-spacing: 0; }
:lang(ar) .h1, :lang(fa) .h1 { line-height: 1.35; }

/* ---------- 通用段落 ---------- */
section { padding-block: clamp(64px, 9vw, 116px); }
h2 { margin: 0 0 18px; font-size: clamp(27px, 3.5vw, 44px); line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: -.01em; max-width: 22em; }
:lang(zh) h2 { letter-spacing: 0; line-height: 1.3; }
:lang(ar) h2, :lang(fa) h2 { line-height: 1.5; }
h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; color: var(--ink); }
p { margin: 0 0 14px; }
.sub { max-width: 40em; margin: 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }

/* ---------- 为什么 ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.pains li { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r); background: var(--soft); font-size: 19px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.pains .pic { color: var(--muted); }
.outro { margin: 34px 0 0; font-size: clamp(20px, 2.2vw, 27px); font-weight: 800; color: var(--ink); }
.outro::before { content: ""; display: block; width: 56px; height: 6px; margin-bottom: 18px; border-radius: 3px; background: var(--amber); }

/* ---------- 服务 ---------- */
.services { background: var(--soft); }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.card { padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r); background: var(--paper); }
.card .pic { margin-bottom: 18px; color: var(--amber); }
.card h3 { font-size: 26px; }
.card > p { color: var(--text); }
.label { margin: 22px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
:lang(zh) .label { letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 15px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 600; color: var(--ink); }
.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 13px 0; padding-inline-start: 30px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.25em; width: 16px; height: 5px; border-radius: 3px; background: var(--amber); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 42px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-top: 26px; border-top: 6px solid var(--ink); }
.steps li:nth-child(2) { border-top-color: var(--amber); }
.steps .n { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.steps p { margin: 0; color: var(--muted); }

/* ---------- 门店 ---------- */
.stores { background: var(--ink); color: var(--on-dark); }
.stores h2 { color: var(--on-dark); }
.stores .sub { color: var(--on-dark-2); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.place { display: flex; flex-direction: column; min-height: 210px; padding: 28px; border: 1px solid var(--on-dark-line); border-radius: var(--r); }
.place h3 { margin: 6px 0 auto; font-size: clamp(28px, 3vw, 38px); color: var(--on-dark); }
.region { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
:lang(zh) .region { letter-spacing: .04em; }
.tag { align-self: flex-start; margin: 22px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; }
.place.remote { background: rgba(255, 255, 255, .06); border-color: transparent; }
.place.remote .pic { color: var(--amber); }
.place.remote h3 { margin: 14px 0 8px; font-size: 24px; }
.place.remote p { margin: 0; color: var(--on-dark-2); }

/* ---------- 关于 ---------- */
.about-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.big { font-size: clamp(19px, 2vw, 24px); line-height: 1.6; font-weight: 600; color: var(--ink); }
:lang(ar) .big, :lang(fa) .big { line-height: 1.9; }
.about p:not(.big) { color: var(--muted); }
.emblem-panel { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r); background: var(--soft); }
.emblem-panel svg { display: block; width: 100%; max-width: 250px; height: auto; }

/* ---------- 联系 ---------- */
.contact { padding-top: 0; }
.contact .band { margin-bottom: clamp(48px, 7vw, 88px); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(28px, 5vw, 60px); border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.panel h2 { color: var(--on-dark); }
.panel .sub { color: var(--on-dark-2); }
.ways { margin: 0; }
.ways div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 15px 0; border-top: 1px solid var(--on-dark-line); }
.ways div:last-child { border-bottom: 1px solid var(--on-dark-line); }
.ways dt { color: var(--on-dark-2); }
.ways dd { margin: 0; font-weight: 700; }
.ways dd, .ways dd a { direction: ltr; unicode-bidi: isolate; }
.ways dd a { white-space: nowrap; }
/* 号码分段只靠间距，不放真的空格：复制出来是连着的一串 */
.num { white-space: nowrap; }
.num span + span { margin-inline-start: .28em; }
.ways dd > .num { -webkit-user-select: all; user-select: all; }
.ways a { color: var(--amber); text-decoration: none; }
.ways a:hover { text-decoration: underline; }
.todo { padding: 22px; border: 2px dashed var(--amber); border-radius: 14px; color: var(--amber); font-weight: 700; }

/* ---------- 页脚 ---------- */
.foot { padding-block: 44px; background: var(--ink); color: var(--on-dark-2); font-size: 14px; }
.foot-in { display: grid; gap: 22px; }
.foot-logo { display: block; width: 230px; height: auto; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-langs a { text-decoration: none; }
.foot-langs a:hover, .foot-langs a[aria-current] { color: var(--on-dark); }
.legal { margin: 0; }
.legal a { color: inherit; }
.legal .icp { display: inline-block; white-space: nowrap; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero-in, .about-in, .panel { grid-template-columns: minmax(0, 1fr); }
  .mark { max-width: 190px; justify-self: start; order: -1; }
  .cards2, .cards3, .pains { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place { min-height: 0; }
  .place h3 { margin-bottom: 0; }
  .emblem-panel svg { max-width: 170px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .top-in { gap: 10px; }
  .brand img { height: 32px; }
  .pick.lang > summary span { max-width: 5.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
}
