/* 专业家政（haoxian-mastercard）：由原模板的手写 CSS 移植（暖灰画布、胶囊导航、圆形肖像卡片）。
   类名统一加 mc- 前缀，避免与 _shared/base.css 的公共类互相覆盖。 */
:root {
  --mc-canvas: #f3f0ee;
  --mc-lifted: #fcfbfa;
  --mc-white: #fff;
  --mc-ink: #141413;
  --mc-charcoal: #262627;
  --mc-slate: #696969;
  --mc-taupe: #d1cdc7;
  --mc-orange: #cf4500;
  --mc-orange-light: #f37338;
  --mc-orange-dim: #9a3a0a;
  --mc-shadow-1: 0 4px 24px rgba(0,0,0,.04);
  --mc-shadow-2: 0 24px 48px rgba(0,0,0,.08);
  --mc-shadow-warm: 0 24px 64px rgba(180,100,50,.1);
  --mc-font: 'Sofia Sans', 'Inter', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 公共页面配色 */
  --page-accent: #cf4500;
  --page-bg: #f3f0ee;
  --page-ink: #141413;
  --page-muted: #696969;
  --page-surface: #fcfbfa;
  --page-font: var(--mc-font);
  --page-radius: 24px;
}
body { background: var(--mc-canvas); color: var(--mc-ink); font-family: var(--mc-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--mc-orange); color: #fff; }
:focus-visible { outline: 2px solid var(--mc-orange); outline-offset: 2px; }

.mc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .mc-wrap { padding: 0 48px; } }

/* 胶囊导航：悬浮在顶部 */
.mc-nav-bar { position: sticky; top: 16px; z-index: 100; padding: 0 16px; }
.mc-nav { max-width: 1040px; margin: 16px auto 0; background: var(--mc-white); border-radius: 999px; box-shadow: var(--mc-shadow-1); padding: 10px 14px 10px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mc-logo { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--mc-ink); text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.32px; }
.mc-logo img { height: 28px; width: auto; }
.mc-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-logo::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--mc-orange); }
.mc-links { display: none; gap: 32px; align-items: center; }
.mc-links a, .mc-menu__panel a { color: var(--mc-charcoal); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: -.32px; transition: color .2s; }
.mc-links a:hover, .mc-menu__panel a:hover { color: var(--mc-orange); }
.mc-menu { position: relative; }
.mc-menu > summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; background: var(--mc-canvas); display: flex; align-items: center; justify-content: center; color: var(--mc-ink); }
.mc-menu > summary::-webkit-details-marker { display: none; }
.mc-menu__panel { position: absolute; right: 0; top: calc(100% + 12px); width: 200px; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--mc-white); border-radius: 24px; box-shadow: var(--mc-shadow-2); }
@media (min-width: 960px) { .mc-links { display: flex; } .mc-menu { display: none; } }

/* 按钮 */
.mc-btn-primary, .mc-btn-secondary, .mc-btn-orange { display: inline-block; border-radius: 20px; font-size: 16px; letter-spacing: -.32px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.mc-btn-primary { background: var(--mc-ink); color: var(--mc-canvas); border: 1.5px solid var(--mc-ink); padding: 10px 28px; font-weight: 500; }
.mc-btn-primary:hover { background: var(--mc-charcoal); border-color: var(--mc-charcoal); }
.mc-btn-secondary { background: var(--mc-white); color: var(--mc-ink); border: 1.5px solid var(--mc-ink); padding: 10px 28px; }
.mc-btn-secondary:hover { background: var(--mc-lifted); }
.mc-btn-orange { background: var(--mc-orange); color: #fff; border: 1.5px solid var(--mc-orange); padding: 8px 22px; font-weight: 600; }
.mc-btn-orange:hover { background: var(--mc-orange-dim); border-color: var(--mc-orange-dim); }

/* 首屏 */
.mc-hero { text-align: center; padding: 104px 0 96px; position: relative; overflow: hidden; }
.mc-hero::after { content: ''; position: absolute; left: 50%; bottom: -260px; width: 720px; max-width: 120vw; height: 420px; transform: translateX(-50%); border-radius: 50%; border: 1.5px dashed var(--mc-orange-light); opacity: .5; pointer-events: none; }
.mc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--mc-slate); font-size: 14px; font-weight: 700; letter-spacing: .56px; text-transform: uppercase; }
.mc-eyebrow::before { content: '•'; color: var(--mc-orange-light); font-size: 18px; }
.mc-headline { max-width: 860px; margin: 0 auto 28px; font-size: clamp(40px, 6.5vw, 72px); font-weight: 500; line-height: 1.05; letter-spacing: -1.28px; overflow-wrap: anywhere; }
.mc-headline em { font-style: normal; color: var(--mc-orange); }
.mc-sub { max-width: 560px; margin: 0 auto 48px; color: var(--mc-slate); font-size: 18px; line-height: 1.6; }
.mc-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; position: relative; z-index: 1; }

/* 版块 */
.mc-section { padding: 88px 0; }
@media (min-width: 768px) { .mc-section { padding: 112px 0; } }
.mc-section--white { background: var(--mc-white); }
.mc-section-head { text-align: center; margin-bottom: 64px; }
.mc-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--mc-slate); font-size: 13px; font-weight: 700; letter-spacing: .56px; text-transform: uppercase; }
.mc-kicker::before { content: '•'; color: var(--mc-orange-light); }
.mc-title { margin: 0; font-size: clamp(30px, 4.5vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.8px; }
.mc-more { display: inline-block; margin-top: 20px; color: var(--mc-orange); font-weight: 600; text-decoration: none; }
.mc-about { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .mc-about { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.mc-about__text { color: var(--mc-charcoal); font-size: 18px; line-height: 1.75; }
.mc-about__text p + p { margin-top: 18px; }
.mc-about__card { border-radius: 40px; background: var(--mc-canvas); padding: 40px; box-shadow: var(--mc-shadow-warm); }

/* 圆形肖像卡片（案例） */
.mc-orbit { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.mc-orbit-card { width: 260px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--mc-ink); text-decoration: none; }
.mc-portrait { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; position: relative; margin-bottom: 24px; box-shadow: var(--mc-shadow-2); background: var(--mc-lifted); display: flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.mc-orbit-card:hover .mc-portrait { transform: scale(1.03); }
.mc-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-portrait__mark { font-size: 64px; font-weight: 500; color: var(--mc-orange-light); }
.mc-satellite { position: absolute; bottom: 4px; right: 4px; width: 48px; height: 48px; border-radius: 50%; background: var(--mc-white); box-shadow: var(--mc-shadow-1); display: flex; align-items: center; justify-content: center; }
.mc-satellite svg { width: 18px; height: 18px; stroke: var(--mc-ink); }
.mc-orbit-card__client { margin-bottom: 6px; color: var(--mc-slate); font-size: 13px; font-weight: 700; letter-spacing: .56px; }
.mc-orbit-card__title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.4px; line-height: 1.3; }
.mc-orbit-card__desc { margin-top: 8px; color: var(--mc-slate); font-size: 14px; line-height: 1.5; }

/* 稿件 */
.mc-columns { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .mc-columns { grid-template-columns: 1fr 1fr; } }
.mc-panel { background: var(--mc-white); border-radius: 32px; padding: 28px; box-shadow: var(--mc-shadow-1); min-width: 0; }
.mc-section--white .mc-panel { background: var(--mc-canvas); box-shadow: none; }
.mc-panel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 20px; font-weight: 500; }
.mc-panel__head a { color: var(--mc-orange); font-size: 14px; font-weight: 600; text-decoration: none; }
.mc-list { list-style: none; margin: 0; padding: 0; }
.mc-list li + li { border-top: 1px solid var(--mc-taupe); }
.mc-list a { display: block; padding: 18px 0; color: var(--mc-ink); text-decoration: none; }
.mc-list a:hover .mc-list__title { color: var(--mc-orange); }
.mc-list__date { display: block; margin-bottom: 2px; color: var(--mc-slate); font-size: 13px; }
.mc-list__title { display: block; font-size: 17px; line-height: 1.45; transition: color .2s; }
.mc-list__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; color: var(--mc-slate); font-size: 14px; }
.mc-faq a { display: flex; gap: 12px; align-items: flex-start; }
.mc-faq__q { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--mc-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

/* 联系 */
.mc-contact-card { max-width: 960px; margin: 0 auto; background: var(--mc-ink); color: var(--mc-canvas); border-radius: 40px; padding: 48px 24px; text-align: center; }
@media (min-width: 768px) { .mc-contact-card { padding: 64px; } }
.mc-contact-card .mc-kicker { color: var(--mc-taupe); }
.mc-contact { display: grid; gap: 12px; margin: 40px 0 0; text-align: left; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mc-contact { grid-template-columns: repeat(2, 1fr); } }
.mc-contact div { padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.06); min-width: 0; }
.mc-contact dt { margin-bottom: 4px; color: var(--mc-taupe); font-size: 13px; }
.mc-contact dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.mc-contact a { color: var(--mc-orange-light); }
.mc-contact-img { display: block; max-width: 200px; width: 100%; margin: 28px auto 0; border-radius: 20px; background: #fff; padding: 10px; }

/* 页脚 */
.mc-footer { padding: 64px 0 48px; color: var(--mc-slate); font-size: 14px; }
.mc-footer__grid { display: grid; gap: 32px; margin-bottom: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .mc-footer__grid { grid-template-columns: 2fr 1fr; } }
.mc-footer__brand { color: var(--mc-ink); font-size: 20px; font-weight: 600; }
.mc-footer__desc { max-width: 440px; margin-top: 12px; line-height: 1.7; }
.mc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; overflow-wrap: anywhere; }
.mc-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--mc-taupe); font-size: 13px; }
.mc-footer a { color: inherit; text-decoration: none; }
.mc-footer a:hover { color: var(--mc-orange); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
