/* 词元知意 v3 首页样式
   融合方案：A 版的版式骨架（建筑首屏、产品大图卡）× 改版的工程纪律
   （一次性动效、语义结构、验证对比度）。
   品牌色 #6153E5 与定稿图标 logos/avatar-slim.svg 完全一致，全站仅此一个强调色。
   质感层：移植原版 site-polish 的手法并收敛到单强调色——细网格纸面纹理、
   多层柔和投影 + 卡片顶部内高光、按钮品牌色光晕与按压反馈、
   玻璃拟态固定导航、联系区斜纹纹理、logo 品牌色投影。
   动效约定：仅一次性入场（CSS/JS 级联淡入）、悬停反馈与导航滚动状态，
   统一缓出曲线，无循环动画、无视差；折叠开合的高度过渡例外地用标准
   缓入缓出曲线（开合同为 600ms、同曲线，互斥切换时区块底边不回弹），
   缓出曲线前段过快会让卡片下缘闪跳。
   圆角约定：按钮与卡片 6px，状态徽标 4px。 */

:root {
  color-scheme: light;
  --paper: #fafafc;
  --white: #ffffff;
  --ink: #1a1b2e;
  --muted: #5c6172;
  --accent: #6153e5;
  --accent-hover: #4e41c7;
  --accent-tint: #ecebfa;
  --line: #e5e6ee;
  --soft: #f1f0f6;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --page-width: 1180px;
  /* 投影体系：卡片顶部一道内高光模拟「嵌入面板」，环境影偏品牌靛蓝 */
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 16px 40px rgba(31, 27, 74, .07);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 22px 48px rgba(31, 27, 74, .11);
  --glow: 0 10px 26px rgba(97, 83, 229, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #e2dff9; }

.wrap { width: min(var(--page-width), calc(100% - 96px)); margin-inline: auto; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 18px; background: var(--ink); color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ===== 页头：玻璃拟态固定导航，滚动后加深底色并落下投影 ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  height: 84px;
  background: rgba(250, 250, 252, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border-bottom: 1px solid rgba(229, 230, 238, .66);
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 250, 252, .92);
  box-shadow: 0 12px 32px rgba(26, 27, 46, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 6px; filter: drop-shadow(0 5px 8px rgba(97, 83, 229, .18)); transition: transform 300ms var(--ease); }
.brand:hover img { transform: scale(1.05); }
.brand-name { font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: .05em; }
.brand-name small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  position: relative; padding: 12px 0;
  font-size: 14px; font-weight: 550; color: var(--muted);
  transition: color 180ms;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 280ms var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav .nav-contact { color: var(--ink); font-weight: 600; }
.menu-toggle {
  display: none; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  font-size: 14px;
}

/* ===== 首屏：建筑大图 + 左侧标题 ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: 680px; height: min(820px, 92svh);
  background: var(--paper);
}
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 三层遮罩：顶部保页头可读，左侧保标题可读，品牌色微光晕提亮标题区 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 560px 460px at 16% 58%, rgba(97, 83, 229, .08), transparent 72%),
    linear-gradient(180deg, rgba(250, 250, 252, .92), rgba(250, 250, 252, 0) 24%),
    linear-gradient(90deg, rgba(250, 250, 252, .97) 0%, rgba(250, 250, 252, .88) 34%, rgba(250, 250, 252, .45) 58%, rgba(250, 250, 252, .04) 84%, rgba(250, 250, 252, 0) 100%);
}
/* 首屏与产品区之间：一条向两侧渐隐的品牌色分隔线 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(97, 83, 229, .38) 46%, rgba(97, 83, 229, .14) 74%, transparent);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.hero h1 {
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 700; line-height: 1.35; letter-spacing: -.04em;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
/* 强调字仍用品牌紫，只做同色系明度微渐变 */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 em {
    background: linear-gradient(118deg, var(--accent) 24%, #8b7df2 88%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}
.headline-line { display: block; overflow: hidden; }
.headline-line > span { display: inline-block; }
.hero-description {
  font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); line-height: 1.9;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ===== 按钮：品牌色光晕 + 悬停上浮 + 按压回弹 ===== */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 50px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  transition: background-color 200ms, border-color 200ms, transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.button-primary { background: var(--accent); color: var(--white); box-shadow: var(--glow); }
.button-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(78, 65, 199, .28); }
.button-primary:active { transform: translateY(1px) scale(.985); box-shadow: 0 6px 18px rgba(78, 65, 199, .2); }
.button-secondary { border-color: #b9b1e8; color: var(--accent); background: rgba(255, 255, 255, .68); box-shadow: 0 4px 16px rgba(31, 27, 74, .05); }
.button-secondary:hover { border-color: var(--accent); background: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 27, 74, .08); }
.button-secondary:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.arrow { display: inline-block; font-family: Arial, sans-serif; transition: transform 280ms var(--ease); }
a:hover .arrow { transform: translateX(4px); }
/* 斜向箭头沿 45° 方向让位，而不是水平滑动 */
.text-link:hover .arrow, .nav-contact:hover span, .nav-contact:focus-visible span { transform: translate(2px, -2px); }
.nav-contact span { display: inline-block; transition: transform 260ms var(--ease); }

/* ===== 区块通用 ===== */
.section { padding: 92px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading .section-note { margin-top: 16px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.6; margin-bottom: 14px; }
h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 650; line-height: 1.45; letter-spacing: -.03em; }
.section-note { color: var(--muted); font-size: 15px; line-height: 1.9; }

/* 纸面网格纹理：1px 细线、28px 网格，叠在区块底色上、内容之下 */
.products, .about, .services, .contact { position: relative; }
.section > .wrap { position: relative; }
.products::before, .about::before, .services::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(84, 76, 146, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 76, 146, .02) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===== 产品：同级产品并列，场景图与文字分离 ===== */
.products { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-cover { position: relative; min-width: 0; display: flex; flex-direction: column; }
.product-visual { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #edf0f7; }
.product-art {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 900ms var(--ease);
}
.mofang .product-art { object-position: 76% center; }
.product-cover:hover .product-art, .product-cover:focus-within .product-art { transform: scale(1.035); }
.product-copy { position: relative; flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 26px 0 0; }
.product-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.status {
  display: inline-block; flex-shrink: 0; align-self: flex-start; margin-top: 7px;
  padding: 3px 9px; border-radius: 4px; font-size: 12px; line-height: 1.6;
  color: #2e6b4f; background: #eff8f1; border: 1px solid #cbe5d5;
}
.status-beta { color: #4a3fb8; background: #efedfb; border-color: #d9d5f3; }
.product-heading h3 { font-size: 30px; line-height: 1.35; letter-spacing: -.02em; font-weight: 650; }
.product-english { color: var(--muted); font-size: 13px; margin-top: 5px; }
.product-description { flex: 1; color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 22px; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.product-features li + li { border-left: 1px solid #cdd0da; padding-left: 12px; }
.product-actions { display: flex; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 12px; position: relative; z-index: 2; }
.card-link { transition: color 180ms; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-cover:hover .card-link { color: var(--accent); }
.secondary-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 40px;
  font-size: 13px; color: var(--ink);
}
.secondary-link:hover { color: var(--accent); }
.text-link, .inline-link, .secondary-link { transition: color 180ms, text-decoration-color 200ms; }

/* ===== 关于 ===== */
/* 各区块交界统一画一条细线（联系区同），避免两块浅底色渐变交界被看成异常白条 */
.about, .contact { border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; }
.about-copy { color: var(--muted); font-size: 15.5px; line-height: 2; }
.about-copy p + p { margin-top: 20px; }
.about-lead { color: var(--ink); font-size: 18px; font-weight: 550; line-height: 1.85; }
.brand-note {
  margin-top: 28px; padding-left: 18px;
  border-left: 2px solid #d5cff2;
  font-size: 13.5px; line-height: 2;
}

/* ===== 我们能做什么：语义折叠列表 ===== */
.services { background: var(--soft); border-top: 1px solid var(--line); }
.services-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 92px; }
.services-heading .section-note { margin-top: 18px; }
.text-link {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px;
  margin-top: 22px; color: var(--accent); font-size: 14px; font-weight: 600;
}
.service-list { border-top: 1px solid #d9dbe6; }
.service {
  border-bottom: 1px solid #d9dbe6;
  transition: background-color 320ms var(--ease), box-shadow 320ms var(--ease),
    padding-inline 380ms var(--ease), margin-inline 380ms var(--ease);
}
/* 末项之下直接衔接区块底，不再画分隔线 */
.service:last-of-type { border-bottom: none; }
/* 悬停高亮：负外边距抵消内边距，文字位置不动，仅出现带呼吸空间的高亮面板 */
.service summary {
  padding: 23px 20px; margin-inline: -20px;
  cursor: pointer; list-style: none; border-radius: 6px;
  transition: background-color 200ms var(--ease),
    padding-inline 380ms var(--ease), margin-inline 380ms var(--ease);
}
.service summary:hover { background: rgba(255, 255, 255, .65); }
.service summary:hover .service-number, .service summary:focus-visible .service-number { color: var(--accent); }
/* 展开态：整项连成一张白卡，题行与内容一体；文字横向位置与闭合态完全一致。
   卡片的横向外扩（padding/margin 同步互补过渡）与白底、投影一起渐变出现；
   两侧数值必须与 summary 保持同曲线同时长，文字才不会横移。
   收起进行中（.is-closing）这些规则整体退出匹配：白底/投影/外扩从收起的
   第一帧起并行消退，在 500ms 高度过渡内完成，落定时不再有横向后撤的拖尾。 */
.service[open]:not(.is-closing) {
  background: var(--white);
  border-radius: 6px;
  padding-inline: 20px; margin-inline: -20px;
  box-shadow: var(--shadow-soft);
}
.service[open]:not(.is-closing) summary { padding-inline: 0; margin-inline: 0; }
.service[open]:not(.is-closing) summary:hover { background: none; }
.service summary::-webkit-details-marker { display: none; }
.service h3 { display: flex; align-items: center; gap: 18px; font-size: 19px; font-weight: 600; line-height: 1.6; }
.service-number { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; transition: color 200ms var(--ease); }
.service[open]:not(.is-closing) .service-number { color: var(--accent); font-weight: 600; }
.service-indicator { position: relative; margin-left: auto; flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); }
.service-indicator::before, .service-indicator::after {
  content: ""; position: absolute; left: 1px; right: 1px; top: 7px; height: 1.5px; background: currentColor;
}
.service-indicator::after { transform: rotate(90deg); transition: transform 200ms var(--ease); }
.service[open] .service-indicator::after { transform: rotate(0); }
/* JS 收起动画进行中：指示符与编号立即回到闭合态，不等动画结束 */
.service.is-closing .service-indicator::after { transform: rotate(90deg); }
.service-content { padding: 0 0 24px 34px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.service-content p + p { margin-top: 12px; }
.inline-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px;
  color: var(--accent); font-size: 13px; font-weight: 600; text-underline-offset: 5px;
  text-decoration: underline; text-decoration-color: transparent;
}
.inline-link:hover { text-decoration-color: currentColor; }
.inline-link span { display: inline-block; transition: transform 260ms var(--ease); }
.inline-link:hover span { transform: translate(2px, -2px); }

/* ===== 联系：居中斜纹面板（复用原版 contact-inner 版式，收敛到单强调色） ===== */
.contact-panel {
  position: relative; overflow: hidden;
  padding: 64px 48px; border-radius: 6px; text-align: center;
  background: var(--accent-tint);
  border: 1px solid rgba(97, 83, 229, .2);
  box-shadow: var(--shadow-soft);
}
.contact-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-20deg, transparent 0 31px, rgba(97, 83, 229, .045) 32px 33px);
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { text-wrap: balance; }
.contact-panel .section-note { margin-top: 12px; }
.contact-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap; margin: 38px 0 40px;
}
.contact-item {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color 180ms, transform 260ms var(--ease);
}
.contact-item:hover, .contact-item:focus-visible { color: var(--accent); transform: translateY(-2px); }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(97, 83, 229, .1); color: var(--accent);
  transition: background-color 260ms var(--ease), transform 260ms var(--ease);
}
.contact-item:hover .contact-icon, .contact-item:focus-visible .contact-icon {
  background: rgba(97, 83, 229, .16); transform: scale(1.08);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-divider { width: 1px; height: 24px; background: #dcd8f4; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--line); padding: 27px 0; color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.legal { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 11px; margin-top: 6px; overflow-wrap: anywhere; }
.site-footer a {
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: color 180ms, text-decoration-color 200ms;
}
.site-footer a:hover { color: var(--ink); text-decoration-color: currentColor; }
.footer-inner > a { white-space: nowrap; padding-block: 5px; }

/* ===== 一次性入场动效 =====
   首屏由 CSS 完成一次入场（遮罩行升起 + 淡入，元素间 130–620ms 级联）；
   后续区块由 js/main.js 在进入视口时做一次性 720ms 级联淡入。
   全部使用缓出曲线与 transform/opacity，系统开启「减少动态效果」时禁用。 */
@media (prefers-reduced-motion: no-preference) {
  .headline-line > span { animation: line-rise 1200ms var(--ease) both; }
  .headline-line:nth-child(2) > span { animation-delay: 180ms; }
  .hero-description { animation: fade-up 1050ms var(--ease) 520ms both; }
  .hero-actions { animation: fade-up 1050ms var(--ease) 680ms both; }
  .hero-scene img { animation: scene-in 1800ms var(--ease) both; }
  .service[open] .service-content { animation: content-in 460ms var(--ease); }
}
@keyframes line-rise { from { transform: translateY(110%); opacity: .25; } to { transform: translateY(0); opacity: 1; } }
@keyframes fade-up { from { transform: translateY(22px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes scene-in { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
@keyframes content-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nav-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 72px); }
  .site-nav { gap: 24px; }
  .about-layout, .services-layout { gap: 56px; }
  .product-grid { gap: 22px; }
  .desktop-break { display: none; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-cover { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
  .product-copy { padding: 0; }
  .product-visual { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 74px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 10px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .97);
    padding: 14px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(21, 27, 46, .08);
  }
  .site-nav.is-open { display: flex; animation: nav-drop 300ms var(--ease); }
  .site-nav a { padding: 13px 0; font-size: 16px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-contact { margin-top: 4px; }

  .hero { min-height: 660px; height: auto; align-items: flex-start; padding-top: 128px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 50px); letter-spacing: -.035em; line-height: 1.4; margin-bottom: 20px; }
  .hero-description { font-size: 15px; max-width: 400px; margin-bottom: 28px; }
  .mobile-copy-break { display: none; }
  /* 图片下沉到标题下方，纵向遮罩保证文字可读 */
  .hero-scene { inset: 240px -35% -6% -35%; }
  .hero-scene img { object-position: 68% bottom; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(250, 250, 252, .94) 0%, rgba(250, 250, 252, .92) 34%,
      rgba(250, 250, 252, .6) 54%, rgba(250, 250, 252, .12) 78%, rgba(250, 250, 252, 0) 100%);
  }

  .section { padding: 60px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-note br { display: none; }
  h2 { font-size: 28px; }

  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-visual { aspect-ratio: 3 / 2; }
  .product-copy { padding-top: 22px; }
  .product-topline { margin-bottom: 14px; }
  .product-heading h3 { font-size: 28px; }
  .product-description { margin-bottom: 18px; }
  .product-features { margin-bottom: 20px; }

  .about-layout, .services-layout { grid-template-columns: 1fr; gap: 30px; }
  .about-copy { font-size: 15px; }
  .service summary { padding: 20px 14px; margin-inline: -14px; }
  .service[open]:not(.is-closing) { padding-inline: 14px; margin-inline: -14px; }
  .service[open]:not(.is-closing) summary { padding-inline: 0; margin-inline: 0; }
  .service h3 { gap: 14px; font-size: 18px; }
  .service-content { padding-left: 30px; font-size: 14px; }

  .contact-panel { padding: 48px 24px; }
  .contact h2 { font-size: 26px; }
  .contact-grid { flex-direction: column; gap: 16px; }
  .contact-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .legal { display: block; }
  .legal span { display: block; margin-top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
