/* ============================================================
   支付服务网 PAY SERVICE — 全局样式
   简洁 · 现代 · 科技感 · 蓝色系
   ============================================================ */

:root {
  --primary: #1667FF;
  --primary-deep: #0A47C9;
  --primary-dark: #08328F;
  --accent: #35C4FF;
  --navy-900: #061A3B;
  --navy-800: #0A2148;
  --navy-700: #10305F;
  --ink: #16263F;
  --ink-2: #52637F;
  --line: #E3EBF7;
  --bg: #F5F9FF;
  --card: #FFFFFF;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(10, 33, 72, 0.06);
  --shadow-md: 0 12px 34px rgba(10, 33, 72, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 33, 72, 0.16);
  --grad-primary: linear-gradient(135deg, #3D8BFF 0%, #1667FF 45%, #0A47C9 100%);
  --grad-cyan: linear-gradient(135deg, #35C4FF 0%, #1667FF 100%);
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all 0.22s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 8px 22px rgba(22, 103, 255, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 103, 255, 0.42); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #EAF2FF; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-light { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 26px rgba(2, 18, 50, 0.28); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 17px; }

/* ============ 头部 ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 33, 72, 0.08); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(22, 103, 255, 0.35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; color: var(--navy-800); letter-spacing: 0.5px; }
.brand-text small { font-size: 11px; color: var(--ink-2); letter-spacing: 1.2px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.62); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 15px; border-radius: 8px; color: var(--ink);
  font-size: 15px; font-weight: 500; transition: all 0.2s ease;
}
.nav-link:hover { color: var(--primary); background: rgba(22, 103, 255, 0.06); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-tel { letter-spacing: 0.5px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: all 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 103, 255, 0.35), transparent 65%);
  top: -260px; right: -180px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding-top: 92px; padding-bottom: 100px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(53, 196, 255, 0.12); border: 1px solid rgba(53, 196, 255, 0.35);
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
}
.hero h1 { font-size: 46px; font-weight: 800; margin: 22px 0 18px; letter-spacing: 0.5px; }
.text-gradient {
  background: linear-gradient(90deg, #6FB3FF 0%, #35C4FF 60%, #7FD8FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; color: rgba(226, 238, 255, 0.85); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(226, 238, 255, 0.9); }
.hero-points svg { color: var(--accent); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.device {
  width: 310px; padding: 16px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px rgba(2, 14, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: perspective(1100px) rotateY(-9deg) rotateX(3deg);
  animation: floatY 5.5s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: perspective(1100px) rotateY(-9deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(-9deg) rotateX(3deg) translateY(-12px); } }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.device-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.device-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.device-qr { background: #fff; border-radius: 14px; padding: 18px; display: flex; justify-content: center; }
.device-qr svg { width: 168px; height: 168px; }
.device-amount { padding: 14px 6px 6px; display: flex; align-items: baseline; justify-content: space-between; }
.device-amount small { font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.device-amount strong { font-size: 26px; font-weight: 800; color: #fff; }
.device-channels { display: flex; gap: 8px; padding: 6px 2px 2px; }
.device-channels li {
  flex: 1; text-align: center; font-size: 12px; padding: 6px 0; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85);
}
.float-chip {
  position: absolute; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--navy-800); background: #fff; box-shadow: 0 14px 30px rgba(2, 14, 40, 0.35);
  animation: floatChip 4.5s ease-in-out infinite;
}
.chip-a { top: 6%; left: -6%; }
.chip-b { top: 44%; right: -8%; animation-delay: 1.2s; }
.chip-c { bottom: 4%; left: 6%; animation-delay: 2.1s; }
@keyframes floatChip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ 信任条 ============ */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--ink); }
.trust-item svg { color: var(--primary); flex: none; }

/* ============ 通用区块 ============ */
.section { padding: 84px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: var(--primary); text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow.light { color: var(--accent); }
.section-head h2 { font-size: 34px; color: var(--navy-800); }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head-row .section-head { text-align: left; margin: 0; }
.link-more { font-weight: 600; font-size: 15px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ============ 服务卡片 ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: all 0.25s ease; position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-cyan); opacity: 0; transition: opacity 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(22, 103, 255, 0.3); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(22, 103, 255, 0.10), rgba(53, 196, 255, 0.16));
  color: var(--primary); margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--ink-2); }
.service-card .service-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--primary); }

/* ============ 步骤 ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(22, 103, 255, 0.3);
}
.step-card h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--ink-2); }

/* ============ 优势 ============ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; transition: all 0.25s ease;
}
.why-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card svg { color: var(--primary); margin-bottom: 14px; }
.why-card h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--ink-2); }

/* ============ 文章卡片 ============ */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(22, 103, 255, 0.10); color: var(--primary);
}
.article-meta time { font-size: 13px; color: var(--ink-2); }
.article-card h3 { font-size: 17px; line-height: 1.45; margin-bottom: 10px; }
.article-card h3 a { color: var(--navy-800); }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
.article-more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--primary); }

/* ============ CTA ============ */
.cta { position: relative; background: linear-gradient(135deg, #0A2148 0%, #0A47C9 100%); overflow: hidden; padding: 78px 0; }
.cta::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 196, 255, 0.30), transparent 65%);
  top: -180px; left: -120px;
}
.cta::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 103, 255, 0.40), transparent 65%);
  bottom: -180px; right: -80px;
}
.cta-inner { position: relative; z-index: 2; text-align: center; color: #fff; }
.cta h2 { font-size: 34px; margin-bottom: 12px; }
.cta p { color: rgba(226, 238, 255, 0.85); font-size: 17px; }
.cta .btn { margin-top: 28px; }
.cta-note { margin-top: 18px !important; font-size: 14px !important; color: rgba(226, 238, 255, 0.6) !important; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.contact-card svg { color: var(--primary); margin: 0 auto 14px; }
.contact-card h3 { font-size: 16px; color: var(--navy-800); margin-bottom: 8px; }
.contact-card p { font-size: 15px; color: var(--ink); font-weight: 600; }
.contact-card .sub { font-size: 13px; color: var(--ink-2); font-weight: 400; margin-top: 4px; }

/* ============ 内页 Hero ============ */
.page-hero {
  position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 64px 0 58px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 40%, transparent 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 38px; font-weight: 800; }
.page-hero p { margin-top: 12px; color: rgba(226, 238, 255, 0.8); font-size: 16px; max-width: 640px; }
.page-hero-sm { padding: 48px 0 42px; }
.article-nav { margin: 0 0 14px !important; }
.article-nav a { color: var(--accent); font-size: 14px; }

/* ============ 服务详情块 ============ */
.service-block {
  display: grid; grid-template-columns: 200px 1fr; gap: 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.service-block-left .service-icon { width: 72px; height: 72px; }
.service-block h2 { font-size: 23px; color: var(--navy-800); margin-bottom: 10px; }
.service-block .lead { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.service-block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-block .cols h4 { font-size: 14px; color: var(--primary); margin-bottom: 8px; }
.service-block .cols li { font-size: 14px; color: var(--ink); padding: 4px 0 4px 18px; position: relative; }
.service-block .cols li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ============ FAQ ============ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px; background: none; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--navy-800); font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .ic { flex: none; width: 20px; height: 20px; position: relative; transition: transform 0.25s ease; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.faq-q .ic::before { left: 3px; right: 3px; top: 9px; height: 2px; }
.faq-q .ic::after { top: 3px; bottom: 3px; left: 9px; width: 2px; }
.faq-item.open .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 15px; color: var(--ink-2); }

/* ============ 文章正文 ============ */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow-sm); }
.article-body h2 { font-size: 21px; color: var(--navy-800); margin: 30px 0 12px; }
.article-body p { font-size: 16px; color: var(--ink); margin-bottom: 16px; }
.article-body ul { margin-bottom: 16px; }
.article-body ul li { font-size: 16px; color: var(--ink); padding: 3px 0 3px 22px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.article-meta-line { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; }
.article-cta {
  margin-top: 26px; background: linear-gradient(135deg, #0A2148, #0A47C9);
  border-radius: var(--radius); padding: 34px 30px; text-align: center; color: #fff;
}
.article-cta h3 { font-size: 20px; margin-bottom: 8px; }
.article-cta p { color: rgba(226, 238, 255, 0.85); margin-bottom: 20px; }

/* ============ 博客列表 ============ */
.blog-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.blog-list .article-card { flex-direction: row; gap: 26px; align-items: flex-start; padding: 28px 30px; }
.blog-list .article-card h3 { font-size: 19px; }

/* ============ 关于页 ============ */
.about-intro { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 42px; box-shadow: var(--shadow-sm); }
.about-intro p { font-size: 16px; color: var(--ink); margin-bottom: 16px; }
.about-intro p:last-child { margin-bottom: 0; }

/* ============ 页脚 ============ */
.site-footer { background: var(--navy-900); color: rgba(226, 238, 255, 0.75); padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-about p { font-size: 14px; margin-top: 16px; max-width: 380px; }
.footer-tags { font-size: 13px; color: rgba(226, 238, 255, 0.5); }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-col ul li { font-size: 14px; padding: 5px 0; }
.footer-col ul a { color: rgba(226, 238, 255, 0.75); }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); padding: 20px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 6px; }
.footer-bottom p { font-size: 13px; color: rgba(226, 238, 255, 0.5); }
.footer-note { font-size: 12.5px !important; }

/* ============ 悬浮按钮与提示 ============ */
.float-call {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%; color: #fff;
  background: var(--grad-primary); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(22, 103, 255, 0.45); transition: transform 0.2s ease;
}
.float-call:hover { transform: scale(1.08); }
#toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: var(--navy-800); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 90;
  box-shadow: var(--shadow-lg);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 滚动显现 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .services-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-points { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 10px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 22px;
    box-shadow: var(--shadow-lg); gap: 2px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all 0.25s ease;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .header-tel { display: none; }
  .service-block { grid-template-columns: 1fr; gap: 20px; }
  .service-block .cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero-inner { padding-top: 60px; padding-bottom: 72px; }
  .hero h1 { font-size: 33px; }
  .services-grid, .articles-grid, .why-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .article-body { padding: 28px 22px; }
  .blog-list .article-card { flex-direction: column; gap: 12px; }
  .section-head h2, .cta h2 { font-size: 27px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-intro { padding: 28px 24px; }
  .float-chip { display: none; }
}
