/* ============================================================
   AMX 数字工坊 - 全站样式
   设计基调：大气简洁 · 商务科技蓝 · 全终端自适应
   ============================================================ */

:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-deep: #0b1e46;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: #e5eaf3;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
    --shadow-lg: 0 24px 60px rgba(11, 30, 70, .16);
    --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 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);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------------- 顶部导航 ---------------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px;
    width: 46px; height: 46px; border-radius: 12px;
}
.logo-text { font-size: 20px; font-weight: 700; color: var(--ink); }
.logo-text em { font-style: normal; color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a {
    padding: 8px 16px; border-radius: 8px;
    color: var(--ink-2); font-size: 15px; font-weight: 500;
    transition: color .2s, background .2s;
}
.main-nav > a:hover { color: var(--primary); background: var(--bg-soft); }
.main-nav > a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav-cta {
    margin-left: 10px !important;
    background: var(--primary); color: #fff !important; font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(29, 78, 216, .28);
}
.nav-cta:hover { background: var(--primary-dark); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.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; overflow: hidden;
    background: linear-gradient(135deg, #0b1e46 0%, #16337d 55%, #1d4ed8 100%);
    color: #fff;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero::after {
    content: ""; position: absolute;
    width: 560px; height: 560px; border-radius: 50%;
    right: -160px; top: -180px;
    background: radial-gradient(circle, rgba(14, 165, 233, .35), transparent 65%);
}
.hero-inner { position: relative; z-index: 1; padding: 108px 0 96px; text-align: center; max-width: 860px; margin: 0 auto; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    padding: 6px 16px; border-radius: 999px; font-size: 13.5px; letter-spacing: 1px;
    margin-bottom: 26px; color: #dbeafe;
}
.hero-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }

.hero h1 {
    font-size: clamp(32px, 5.4vw, 56px);
    line-height: 1.25; letter-spacing: 1px; font-weight: 800;
    margin-bottom: 22px;
    text-wrap: balance;
}
.hero h1 .hl {
    background: linear-gradient(90deg, #38bdf8, #a78bfa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
    font-size: clamp(15px, 2vw, 18px); color: #c7d5f5;
    max-width: 640px; margin: 0 auto 38px; text-wrap: balance;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 32px; border-radius: 10px; font-size: 15.5px; font-weight: 600;
    border: 1px solid transparent; cursor: pointer; transition: all .22s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(249, 115, 22, .35); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-blue { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(29, 78, 216, .25); }
.btn-blue:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* 数据统计条 */
.hero-stats {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    max-width: 880px; margin: 0 auto; padding-bottom: 64px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius); overflow: hidden;
}
.hero-stats .stat { background: rgba(11, 30, 70, .55); padding: 22px 10px; text-align: center; }
.hero-stats b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; }
.hero-stats b i { font-style: normal; color: #fbbf24; }
.hero-stats span { font-size: 13px; color: #9db4e2; }

/* ---------------- 区块通用 ---------------- */

.section { padding: 92px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .kicker {
    display: inline-block; color: var(--accent); font-weight: 700; font-size: 14px;
    letter-spacing: 3px; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--ink-3); margin-top: 14px; font-size: 15.5px; }

/* ---------------- 服务卡片 ---------------- */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
    width: 62px; height: 62px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe); color: var(--primary);
    margin-bottom: 20px;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary), #0ea5e9); color: #fff; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--ink-3); font-size: 14.5px; flex: 1; }
.service-card .more { margin-top: 18px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-card .more::after { content: "→"; transition: transform .2s; }
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------------- 核心优势 ---------------- */

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-item {
    display: flex; gap: 20px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .25s, transform .25s;
}
.feature-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-num {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    color: #fff; font-weight: 800; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.feature-item h3 { font-size: 18px; margin-bottom: 8px; }
.feature-item p { color: var(--ink-3); font-size: 14.5px; }

/* ---------------- 服务流程 ---------------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
    text-align: center; padding: 30px 14px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
    position: relative; transition: box-shadow .25s, transform .25s;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step::before {
    counter-increment: step; content: "0" counter(step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
    background: var(--bg-soft); color: var(--primary); font-weight: 800; font-size: 16px;
    border: 2px solid #dbe6ff;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-3); }

/* ---------------- 案例 ---------------- */

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.work-thumb img, .work-thumb .thumb-ph {
    width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.work-thumb .thumb-ph { display: flex; align-items: center; justify-content: center; }
.work-thumb .thumb-ph span { color: rgba(255,255,255,.92); font-size: 46px; font-weight: 800; }
.work-card:hover .work-thumb img, .work-card:hover .work-thumb .thumb-ph { transform: scale(1.05); }
.work-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.work-cat {
    align-self: flex-start; font-size: 12px; color: var(--primary);
    background: #eff6ff; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; font-weight: 600;
}
.work-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.work-body h3 a { color: var(--ink); }
.work-body h3 a:hover { color: var(--primary); }
.work-body p { color: var(--ink-3); font-size: 14px; flex: 1; }

/* ---------------- 媒体矩阵 ---------------- */

.media-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.media-card {
    text-align: center; padding: 30px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .25s, box-shadow .25s;
}
.media-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.media-emoji {
    width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 27px;
    background: var(--bg-soft);
}
.media-card h3 { font-size: 16px; margin-bottom: 6px; }
.media-card p { font-size: 12.5px; color: var(--ink-3); }

/* ---------------- 新闻 ---------------- */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; align-items: center; }
.news-meta .cat { color: var(--primary); font-weight: 600; }
.news-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { color: var(--ink-3); font-size: 14px; flex: 1; }
.news-card time { font-size: 12.5px; color: #94a3b8; margin-top: 14px; }

/* ---------------- CTA ---------------- */

.cta-band {
    background: linear-gradient(120deg, var(--primary-deep), var(--primary) 60%, #0ea5e9);
    border-radius: 20px; padding: 56px 40px; text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,.08); right: -80px; top: -120px;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; position: relative; }
.cta-band p { color: #c7d5f5; margin-bottom: 28px; position: relative; }

/* ---------------- 页头 banner（内页） ---------------- */

.page-banner {
    background: linear-gradient(135deg, #0b1e46, #1d4ed8);
    color: #fff; padding: 64px 0; text-align: center;
}
.page-banner h1,
.page-banner .banner-title { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 1px; font-weight: 700; }
.page-banner .crumbs { margin-top: 10px; font-size: 13.5px; color: #9db4e2; }
.page-banner .crumbs a { color: #c7d5f5; }

/* ---------------- 内页通用 ---------------- */

.page-wrap { padding: 64px 0 88px; }
.page-grid { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
/* 统一：侧栏（栏目）固定在左列，正文内容固定在右列（与 HTML 顺序无关） */
.page-grid > aside { grid-column: 1; grid-row: 1; min-width: 0; }
.page-grid > article { grid-column: 2; grid-row: 1; min-width: 0; }

.side-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; margin-bottom: 22px;
}
.side-card h3 { font-size: 16px; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--primary); }
.side-card ul li a {
    display: block; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px;
}
.side-card ul li a:hover, .side-card ul li a.on { background: #eff6ff; color: var(--primary); }
.side-card .contact-line { font-size: 14px; color: var(--ink-2); padding: 6px 0; display: flex; gap: 8px; }

.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 40px; }
.content-card h1.rt { font-size: 26px; line-height: 1.4; margin-bottom: 14px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-3); font-size: 13.5px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }

.rich { color: var(--ink-2); font-size: 15.5px; }
.rich p { margin-bottom: 14px; }
.rich h2, .rich h3 { color: var(--ink); margin: 26px 0 12px; font-size: 19px; }
.rich ul, .rich ol { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin-bottom: 6px; }
.rich img { border-radius: 10px; margin: 16px 0; }
.rich a { text-decoration: underline; }

/* 列表页 */
.item-list { display: grid; gap: 18px; }
.list-item {
    display: flex; gap: 22px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px; transition: box-shadow .25s, border-color .25s;
}
.list-item:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.list-thumb { flex-shrink: 0; width: 200px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.list-thumb img, .list-thumb .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.list-thumb .thumb-ph { display: flex; align-items: center; justify-content: center; }
.list-thumb .thumb-ph span { color: rgba(255,255,255,.92); font-size: 34px; font-weight: 800; }
.list-item h3 { font-size: 17px; margin-bottom: 8px; }
.list-item h3 a { color: var(--ink); }
.list-item h3 a:hover { color: var(--primary); }
.list-item p { color: var(--ink-3); font-size: 14px; }
.list-item .meta { font-size: 12.5px; color: #94a3b8; margin-top: 10px; display: flex; gap: 16px; }

.empty-tip {
    text-align: center; color: var(--ink-3); padding: 60px 0;
    background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pg-item {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font-size: 14px;
}
a.pg-item:hover { border-color: var(--primary); color: var(--primary); }
.pg-current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pg-dots { color: var(--ink-3); align-self: center; }

/* ---------------- 表单 ---------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field label i { color: #ef4444; font-style: normal; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px;
    font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; } /* 蜜罐 */
.form-tip { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.form-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; }
.form-msg.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.form-msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* ---------------- 页脚 ---------------- */

.site-footer { background: var(--primary-deep); color: #94a8ce; margin-top: 40px; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
    padding: 64px 0 44px;
}
.footer-logo .logo-mark { background: linear-gradient(135deg, var(--primary), #0ea5e9); }
.footer-logo .logo-text { color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.9; margin: 18px 0 20px; color: #8195c2; }
.footer-contact li { font-size: 14px; padding: 4px 0; }
.footer-contact a { color: #c7d5f5; }
.footer-contact strong { color: #b7c6ea; font-weight: 600; }

.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { padding: 5px 0; }
.footer-col a { color: #8195c2; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-links ul { display: flex; flex-direction: column; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom a { color: #8195c2; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .dot { margin: 0 8px; color: rgba(255,255,255,.25); }

/* ---------------- 动效 ---------------- */

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .7s ease both; }
.fade-up.d1 { animation-delay: .12s; }
.fade-up.d2 { animation-delay: .24s; }
.fade-up.d3 { animation-delay: .36s; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1024px) {
    .services-grid, .works-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .media-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .page-grid { grid-template-columns: 1fr; }
    /* 单列模式下取消固定行列，正文在前、栏目在后，按 HTML 顺序自然排列 */
    .page-grid > aside, .page-grid > article { grid-column: auto; grid-row: auto; }
}

@media (max-width: 768px) {
    .header-inner { height: 62px; }

    /* 移动端抽屉导航 */
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 62px; left: 0; right: 0; z-index: 99;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px 5% 20px; box-shadow: var(--shadow-lg);
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
    }
    .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .main-nav > a { padding: 13px 14px; font-size: 16px; }
    .nav-cta { margin: 10px 0 0 !important; text-align: center; }

    .hero-inner { padding: 64px 0 56px; }
    .hero-actions .btn { width: 100%; max-width: 320px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats .stat:last-child { grid-column: 1 / -1; }

    .section { padding: 60px 0; }
    .services-grid, .works-grid, .news-grid, .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .content-card { padding: 26px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .list-item { flex-direction: column; }
    .list-thumb { width: 100%; }
}

@media (max-width: 420px) {
    .steps { grid-template-columns: 1fr; }
    .logo-text { font-size: 17px; }
}
