/*
Theme Name: 答位 · 城市分站 GEO
Author: 答位
Description: 面向工厂制造业与本地服务企业的城市分站 GEO 优化主题，突出 AI 推荐、城市覆盖、联系电话和真实案例。
Version: 1.1.8
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dawai-city-geo
Tags: custom-logo, custom-menu, featured-images, one-column, responsive-layout
*/

:root {
  --dw-blue: #3157ff;
  --dw-blue-dark: #1936cb;
  --dw-violet: #7b4dff;
  --dw-cyan: #3fc7ff;
  --dw-ink: #11142a;
  --dw-muted: #646980;
  --dw-line: rgba(29, 39, 81, .1);
  --dw-surface: #ffffff;
  --dw-soft: #f5f6ff;
  --dw-radius: 28px;
  --dw-shadow: 0 24px 70px rgba(41, 52, 122, .12);
  --dw-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dw-ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.dw-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.dw-container { width: min(calc(100% - 40px), var(--dw-max)); margin-inline: auto; }
.dw-section { padding: 112px 0; position: relative; overflow: hidden; }
.dw-section--soft { background: var(--dw-soft); }
.dw-section--dark { background: #0b1029; color: #fff; }
.dw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(49, 87, 255, .16);
  border-radius: 999px;
  color: var(--dw-blue);
  background: rgba(255,255,255,.74);
  box-shadow: 0 8px 28px rgba(53, 65, 140, .06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.dw-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--dw-blue), var(--dw-cyan)); box-shadow: 0 0 0 5px rgba(49,87,255,.08); }
.dw-section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.dw-section-head h2 { margin: 18px 0 16px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.035em; }
.dw-section-head p { margin: 0; color: var(--dw-muted); font-size: 18px; line-height: 1.8; }
.dw-gradient-text { color: transparent; background: linear-gradient(105deg, #2145ef 0%, #6d54ff 56%, #21a9f3 100%); -webkit-background-clip: text; background-clip: text; }

/* Header */
.dw-header { position: sticky; top: 0; z-index: 90; height: 72px; border-bottom: 1px solid transparent; background: rgba(255,255,255,.78); backdrop-filter: blur(18px); transition: .25s ease; }
.dw-header.is-scrolled { border-color: var(--dw-line); box-shadow: 0 12px 32px rgba(33, 44, 105, .07); }
.dw-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.dw-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dw-brand__logo { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; filter: drop-shadow(0 8px 15px rgba(43,91,234,.2)); }
.dw-brand__mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2e51ff, #8b52ff); border-radius: 12px; box-shadow: 0 10px 24px rgba(70, 65, 235, .26); font-size: 18px; font-weight: 900; }
.dw-brand__name { display: flex; flex-direction: column; line-height: 1; }
.dw-brand__name strong { font-size: 21px; letter-spacing: .04em; }
.dw-brand__name small { margin-top: 5px; color: #858a9d; font-size: 9px; letter-spacing: .08em; }
.custom-logo { max-height: 42px; width: auto; }
.dw-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; color: #34384d; }
.dw-nav > ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.dw-nav a { position: relative; padding: 8px 0; }
.dw-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: var(--dw-blue); transition: right .25s ease; }
.dw-nav a:hover::after, .dw-nav .current-menu-item a::after { right: 0; }
.dw-header__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 12px; color: #fff; background: var(--dw-blue); box-shadow: 0 10px 24px rgba(49, 87, 255, .22); font-size: 14px; font-weight: 700; }
.dw-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--dw-line); border-radius: 12px; background: #fff; color: var(--dw-ink); }

/* Hero */
.dw-hero { min-height: 760px; padding: 86px 0 92px; overflow: hidden; position: relative; background: radial-gradient(circle at 12% 8%, rgba(87,105,255,.18), transparent 30%), radial-gradient(circle at 84% 18%, rgba(95,223,255,.22), transparent 27%), linear-gradient(180deg,#fbfcff 0%,#f5f6ff 78%,#fff 100%); }
.dw-hero::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(49,87,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(49,87,255,.055) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom,#000,transparent 80%); }
.dw-hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.dw-hero__orb--one { width: 270px; height: 270px; right: 11%; top: 90px; border: 1px solid rgba(89,79,255,.16); box-shadow: inset 0 0 80px rgba(95,90,255,.08); }
.dw-hero__orb--two { width: 120px; height: 120px; left: 4%; bottom: 100px; background: linear-gradient(145deg,rgba(62,204,255,.18),rgba(105,71,255,.06)); }
.dw-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.dw-hero h1 { margin: 24px 0 24px; max-width: 710px; font-size: clamp(48px, 5.9vw, 76px); line-height: 1.08; letter-spacing: -.052em; }
.dw-hero__lead { max-width: 650px; margin: 0 0 30px; color: #585e75; font-size: 20px; line-height: 1.8; }
.dw-hero__lead strong { color: var(--dw-ink); }
.dw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dw-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.dw-btn:hover { transform: translateY(-2px); }
.dw-btn--primary { color: #fff; background: linear-gradient(110deg,#2d50f4,#6c4eff); box-shadow: 0 16px 34px rgba(57,72,237,.28); }
.dw-btn--ghost { background: rgba(255,255,255,.82); border-color: rgba(33,43,91,.13); color: var(--dw-ink); box-shadow: 0 10px 30px rgba(45,54,112,.07); }
.dw-hero__proof { display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 32px 0 0; padding: 0; list-style: none; color: #454a60; font-size: 14px; }
.dw-hero__proof li { display: flex; align-items: center; gap: 8px; }
.dw-check { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: var(--dw-blue); font-size: 11px; font-weight: 900; }
.dw-visual { position: relative; min-height: 530px; display: grid; place-items: center; }
.dw-dashboard { width: min(100%, 510px); padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 32px; background: rgba(255,255,255,.82); backdrop-filter: blur(20px); box-shadow: 0 38px 90px rgba(45,55,137,.22); transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); }
.dw-dashboard__top { display: flex; align-items: center; gap: 7px; padding: 4px 4px 17px; }
.dw-dashboard__top i { width: 9px; height: 9px; border-radius: 50%; background: #dfe2ef; }
.dw-dashboard__top i:first-child { background: #8c6cff; }
.dw-dashboard__top span { margin-left: auto; color: #979bab; font-size: 11px; }
.dw-search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid #e4e7f4; border-radius: 15px; background: #f8f9ff; color: #2a2d3c; font-size: 14px; }
.dw-search svg { color: var(--dw-blue); flex: 0 0 auto; }
.dw-ai-answer { margin-top: 13px; padding: 21px; border: 1px solid #e9eaf5; border-radius: 20px; background: #fff; box-shadow: 0 13px 34px rgba(42,53,124,.08); }
.dw-ai-answer__head { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.dw-ai-answer__bot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg,#2f5cff,#26c6ef); font-weight: 900; }
.dw-ai-answer__head strong { display: block; font-size: 14px; }
.dw-ai-answer__head small { color: #9498a9; }
.dw-ai-answer p { margin: 0 0 12px; color: #5f6477; font-size: 13px; line-height: 1.75; }
.dw-result { padding: 16px; border-radius: 16px; background: linear-gradient(135deg,#f1f4ff,#f6fbff); border: 1px solid rgba(49,87,255,.12); }
.dw-result__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.dw-result__title strong { font-size: 15px; }
.dw-rank { padding: 4px 8px; color: var(--dw-blue); background: #fff; border-radius: 999px; font-size: 10px; font-weight: 800; }
.dw-result__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; color: #63697d; font-size: 12px; }
.dw-phone-chip { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding: 10px 12px; border-radius: 11px; color: #fff; background: linear-gradient(110deg,#3157ff,#7350ff); font-weight: 700; }
.dw-float-card { position: absolute; padding: 12px 15px; border: 1px solid rgba(255,255,255,.85); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 16px 38px rgba(44,55,125,.14); backdrop-filter: blur(16px); font-size: 12px; font-weight: 800; animation: dw-float 4s ease-in-out infinite; }
.dw-float-card--city { left: -20px; top: 94px; color: var(--dw-blue); }
.dw-float-card--phone { right: -22px; bottom: 92px; color: #0d9473; animation-delay: -1.6s; }
.dw-float-card--rate { left: 20px; bottom: 22px; color: #7a45eb; animation-delay: -2.7s; }
@keyframes dw-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Trust strip */
.dw-trust { position: relative; z-index: 4; margin-top: -32px; }
.dw-trust__inner { display: grid; grid-template-columns: 1.3fr repeat(4,1fr); align-items: center; gap: 10px; padding: 22px 28px; border: 1px solid rgba(39,51,109,.08); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--dw-shadow); }
.dw-trust strong { font-size: 14px; }
.dw-trust span { text-align: center; color: #767b8e; font-size: 13px; font-weight: 700; }

/* Buyer questions */
.dw-question-section { padding-top: 128px; background: linear-gradient(180deg,#fff 0%,#f7f9ff 100%); }
.dw-question-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.dw-question { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid rgba(49,87,255,.13); border-radius: 24px; background: #fff; box-shadow: 0 18px 45px rgba(43,54,126,.075); }
.dw-question > span { width: max-content; padding: 6px 9px; border-radius: 8px; color: var(--dw-blue); background: #eef1ff; font-size: 11px; font-weight: 800; }
.dw-question strong { margin: 24px 0; font-size: 20px; line-height: 1.65; }
.dw-question small { color: #9599aa; }
.dw-question-answer { max-width: 880px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; margin: 24px auto 0; padding: 22px 26px; border-radius: 18px; color: #fff; background: linear-gradient(110deg,#2d50f4,#714fff); box-shadow: 0 18px 40px rgba(50,71,235,.22); }
.dw-question-answer span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.15); font-size: 11px; font-weight: 800; white-space: nowrap; }
.dw-question-answer strong { font-size: 15px; line-height: 1.7; }

/* Cards */
.dw-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.dw-card { padding: 30px; border: 1px solid var(--dw-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(43,54,126,.065); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dw-card:hover { transform: translateY(-6px); border-color: rgba(49,87,255,.22); box-shadow: 0 24px 58px rgba(43,54,126,.12); }
.dw-card__icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: var(--dw-blue); background: #eef1ff; font-size: 21px; font-weight: 900; }
.dw-card h3 { margin: 0 0 12px; font-size: 21px; }
.dw-card p { margin: 0; color: var(--dw-muted); font-size: 14px; line-height: 1.75; }

/* Formula */
.dw-formula { padding: 48px; border: 1px solid rgba(255,255,255,.09); border-radius: 34px; background: radial-gradient(circle at 50% 0, rgba(76,102,255,.2), transparent 46%), linear-gradient(135deg,#101836,#090d21); box-shadow: 0 30px 90px rgba(3,8,30,.35); }
.dw-formula__items { display: grid; grid-template-columns: repeat(7,auto); align-items: center; justify-content: center; gap: 14px; }
.dw-formula__item { min-width: 150px; padding: 24px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.055); text-align: center; }
.dw-formula__item b { display: block; margin-bottom: 8px; color: #fff; font-size: 22px; }
.dw-formula__item small { color: #aeb7d5; }
.dw-formula__plus { color: #69789f; font-size: 22px; }
.dw-formula__result { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; color: #bcc6e4; font-size: 14px; }
.dw-formula__result span { padding: 8px 12px; border-radius: 999px; background: rgba(80,105,255,.14); color: #dbe2ff; }

/* Service value */
.dw-value-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.dw-value { grid-column: span 2; min-height: 210px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--dw-line); border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(43,54,126,.055); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.dw-value:nth-child(4) { grid-column: 2 / span 2; }
.dw-value:nth-child(5) { grid-column: 4 / span 2; }
.dw-value:hover { transform: translateY(-5px); border-color: rgba(49,87,255,.2); box-shadow: 0 20px 48px rgba(43,54,126,.1); }
.dw-value > b { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 14px; color: var(--dw-blue); background: #eef1ff; font-size: 13px; }
.dw-value h3 { margin: 0 0 9px; font-size: 20px; }
.dw-value p { margin: 0; color: var(--dw-muted); font-size: 14px; line-height: 1.7; }

/* Stats */
.dw-stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--dw-line); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--dw-shadow); }
.dw-stat { padding: 40px 28px; text-align: center; border-right: 1px solid var(--dw-line); }
.dw-stat:last-child { border-right: 0; }
.dw-stat strong { display: block; color: var(--dw-blue); font-size: clamp(36px,4vw,54px); line-height: 1; letter-spacing: -.04em; }
.dw-stat span { display: block; margin-top: 12px; color: var(--dw-muted); font-size: 14px; }

/* Cases */
.dw-cases-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.dw-cases-note { color: var(--dw-muted); font-size: 13px; }
.dw-slider-controls { display: flex; gap: 10px; }
.dw-slider-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--dw-line); border-radius: 13px; background: #fff; color: var(--dw-ink); box-shadow: 0 8px 22px rgba(43,54,126,.07); }
.dw-cases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 5px 28px; }
.dw-cases::-webkit-scrollbar { display: none; }
.dw-case { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--dw-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(43,54,126,.09); transition: transform .24s ease; }
.dw-case:hover { transform: translateY(-5px); }
.dw-case__media { position: relative; height: 430px; overflow: hidden; background: #f3f4fa; cursor: zoom-in; }
.dw-case__media { width: 100%; padding: 0; border: 0; text-align: left; }
.dw-case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.dw-case:hover .dw-case__media img { transform: scale(1.025); }
.dw-case__badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(17,20,42,.78); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; }
.dw-case__body { padding: 19px; }
.dw-case__body h3 { margin: 0 0 8px; font-size: 17px; }
.dw-case__body p { margin: 0; color: var(--dw-muted); font-size: 13px; line-height: 1.55; }
.dw-case__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; color: #9296a8; font-size: 11px; }
.dw-lightbox { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(7,10,25,.88); backdrop-filter: blur(10px); }
.dw-lightbox.is-open { display: flex; }
.dw-lightbox img { max-height: 90vh; max-width: min(92vw,720px); border-radius: 20px; box-shadow: 0 30px 90px #000; }
.dw-lightbox__close { position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 25px; }

/* Steps & industries */
.dw-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.dw-step { position: relative; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--dw-line); }
.dw-step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 30px; color: var(--dw-blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.dw-step:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--dw-blue); background: #fff; border: 1px solid var(--dw-line); }
.dw-step h3 { margin: 0 0 11px; font-size: 20px; }
.dw-step p { margin: 0; color: var(--dw-muted); font-size: 14px; line-height: 1.7; }
.dw-industries { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.dw-industry { min-height: 190px; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035)); }
.dw-industry small { color: #7889c3; font-weight: 800; }
.dw-industry h3 { margin: 22px 0 10px; font-size: 22px; }
.dw-industry p { margin: 0; color: #9fa9c7; font-size: 14px; line-height: 1.7; }

/* FAQ & form */
.dw-faq { max-width: 880px; margin: 0 auto; }
.dw-faq details { border-bottom: 1px solid rgba(29,39,81,.055); }
.dw-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 800; }
.dw-faq summary::-webkit-details-marker { display: none; }
.dw-faq summary::after { content: ""; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: linear-gradient(var(--dw-blue),var(--dw-blue)) center / 10px 2px no-repeat, linear-gradient(var(--dw-blue),var(--dw-blue)) center / 2px 10px no-repeat, #eef1ff; }
.dw-faq details[open] summary::after { background: linear-gradient(var(--dw-blue),var(--dw-blue)) center / 10px 2px no-repeat, #eef1ff; }
.dw-faq details p { margin: -6px 45px 24px 4px; color: var(--dw-muted); line-height: 1.8; }
.dw-contact { display: grid; grid-template-columns: .88fr 1.12fr; gap: 28px; padding: 54px; border-radius: 34px; background: linear-gradient(145deg,#2b4df0 0%,#5947f1 54%,#784fff 100%); color: #fff; box-shadow: 0 35px 90px rgba(57,62,212,.3); position: relative; overflow: hidden; }
.dw-contact::before { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -190px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025); }
.dw-contact__copy, .dw-form, .dw-contact-card { position: relative; z-index: 2; }
.dw-contact h2 { margin: 16px 0; font-size: clamp(34px,4vw,50px); line-height: 1.15; letter-spacing: -.04em; }
.dw-contact__copy > p { color: rgba(255,255,255,.76); line-height: 1.75; }
.dw-contact__detail { margin-top: 30px; display: grid; gap: 11px; font-size: 14px; }
.dw-contact__detail a { font-weight: 800; }
.dw-contact-benefits { display: grid; gap: 10px; margin-top: 28px; }
.dw-contact-benefits span { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.86); font-size: 14px; }
.dw-contact-benefits b { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: rgba(255,255,255,.14); font-size: 10px; }
.dw-contact-card { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 26px; padding: 28px; border-radius: 24px; background: #fff; color: var(--dw-ink); box-shadow: 0 20px 55px rgba(13,20,78,.2); }
.dw-qr { width: 190px; aspect-ratio: 1; padding: 9px; border: 1px solid #eceef6; border-radius: 18px; background: #fff; }
.dw-contact-card__label { display: block; margin-bottom: 8px; color: var(--dw-blue); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.dw-contact-card strong { display: block; font-size: 24px; }
.dw-contact-card p { margin: 9px 0 20px; color: var(--dw-muted); font-size: 13px; line-height: 1.65; }
.dw-contact-card .dw-btn { width: 100%; padding-inline: 16px; }
.dw-form { padding: 28px; border-radius: 24px; background: #fff; color: var(--dw-ink); box-shadow: 0 20px 55px rgba(13,20,78,.2); }
.dw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dw-field { display: grid; gap: 7px; }
.dw-field--full { grid-column: 1 / -1; }
.dw-field label { color: #454a60; font-size: 12px; font-weight: 800; }
.dw-field input, .dw-field textarea { width: 100%; border: 1px solid #e3e5ef; border-radius: 12px; background: #fafbff; padding: 12px 13px; color: var(--dw-ink); outline: 0; transition: border .2s, box-shadow .2s; }
.dw-field input:focus, .dw-field textarea:focus { border-color: rgba(49,87,255,.58); box-shadow: 0 0 0 4px rgba(49,87,255,.08); }
.dw-field textarea { min-height: 90px; resize: vertical; }
.dw-form .dw-btn { width: 100%; margin-top: 15px; border: 0; }
.dw-form__hint { margin: 11px 0 0; color: #9a9eae; text-align: center; font-size: 11px; }
.dw-alert { margin-bottom: 14px; padding: 11px 13px; border-radius: 10px; font-size: 13px; }
.dw-alert--success { background: #eafaf5; color: #13765d; }
.dw-alert--error { background: #fff0f0; color: #a93636; }
.dw-honeypot { position: absolute !important; left: -9999px !important; }

/* Content templates */
.dw-page-hero { padding: 90px 0 60px; background: linear-gradient(180deg,#f5f6ff,#fff); }
.dw-page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(40px,6vw,70px); line-height: 1.1; }
.dw-page-hero p { max-width: 760px; margin: 20px 0 0; color: var(--dw-muted); font-size: 18px; line-height: 1.75; }
.dw-content { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 70px 0 110px; line-height: 1.85; color: #40455a; }
.dw-content h2, .dw-content h3 { color: var(--dw-ink); line-height: 1.3; }
.dw-content a { color: var(--dw-blue); text-decoration: underline; }
.dw-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 70px 0 110px; }
.dw-post-card { overflow: hidden; border: 1px solid var(--dw-line); border-radius: 22px; background: #fff; }
.dw-post-card__thumb { aspect-ratio: 16/10; background: var(--dw-soft); }
.dw-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dw-post-card__body { padding: 23px; }
.dw-post-card h2, .dw-post-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.42; }
.dw-post-card p { color: var(--dw-muted); font-size: 14px; line-height: 1.7; }
.dw-article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.dw-post-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 25px; color: #fff; background: radial-gradient(circle at 75% 20%,rgba(63,199,255,.68),transparent 35%), linear-gradient(135deg,#2648df,#7550ff); text-align: center; font-size: 23px; font-weight: 900; letter-spacing: .07em; line-height: 1.2; }
.dw-post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 13px; color: #9296a8; font-size: 11px; }
.dw-post-meta a { color: inherit; }
.dw-text-link { display: inline-flex; margin-top: 12px; color: var(--dw-blue); font-size: 13px; font-weight: 800; }
.dw-text-post-list { max-width: 1040px; margin: 0 auto; border-top: 1px solid rgba(29,39,81,.055); }
.dw-text-post { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 46px; align-items: center; column-gap: 25px; padding: 30px 4px 24px; border-bottom: 1px solid rgba(29,39,81,.055); }
.dw-text-post .dw-post-meta { grid-column: 1; display: flex; justify-content: flex-end; gap: 8px 14px; margin: 15px 0 0; text-align: right; }
.dw-text-post__content h2, .dw-text-post__content h3 { margin: 0 0 9px; font-size: 22px; line-height: 1.45; }
.dw-text-post__content p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--dw-muted); font-size: 14px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dw-text-post__arrow { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--dw-line); border-radius: 50%; color: var(--dw-blue); background: #fff; font-size: 17px; transition: transform .2s, color .2s, background .2s; }
.dw-text-post:hover .dw-text-post__arrow { transform: translateX(4px); color: #fff; background: var(--dw-blue); }
.dw-text-post__arrow--muted { color: #b6b9c6; }
.dw-section-action { display: flex; justify-content: center; margin-top: 38px; }
.dw-post-list-layout { padding: 65px 0 110px; }
.dw-post-list-layout .dw-post-grid { padding-bottom: 45px; }
.dw-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dw-pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 13px; border: 1px solid var(--dw-line); border-radius: 11px; background: #fff; color: var(--dw-muted); }
.dw-pagination .current { color: #fff; border-color: var(--dw-blue); background: var(--dw-blue); }
.dw-empty-state { grid-column: 1 / -1; padding: 70px 30px; border: 1px dashed rgba(49,87,255,.25); border-radius: 24px; background: var(--dw-soft); text-align: center; }
.dw-article-container { width: min(calc(100% - 40px), 1180px); }
.dw-article-hero { padding: 82px 0 58px; }
.dw-article-hero .dw-article-container { position: relative; }
.dw-article-hero .dw-article-container::after { content: ""; position: absolute; right: 0; bottom: -58px; left: 0; height: 1px; background: rgba(29,39,81,.045); }
.dw-article-hero h1 { max-width: 880px; margin-top: 18px; font-size: clamp(36px,4.4vw,56px); line-height: 1.16; letter-spacing: -.035em; }
.dw-article-hero p { max-width: 800px; font-size: 16px; }
.dw-article-layout { display: grid; grid-template-columns: minmax(0, 800px) minmax(280px, 320px); align-items: start; gap: 58px; }
.dw-article-main { width: auto; margin: 0; padding: 52px 0 100px; }
.dw-article-cover { margin: 0 0 46px; }
.dw-article-cover img { width: 100%; border-radius: 24px; }
.dw-article-content { font-size: 17px; }
.dw-article-content h2 { margin-top: 2.2em; font-size: 31px; }
.dw-article-content h3 { margin-top: 1.8em; font-size: 24px; }
.dw-article-content blockquote { margin: 32px 0; padding: 20px 24px; border-left: 4px solid var(--dw-blue); border-radius: 0 15px 15px 0; background: var(--dw-soft); color: #4c5269; }
.dw-article-content img { border-radius: 16px; }
.dw-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--dw-line); }
.dw-article-tags span, .dw-article-tags a { padding: 7px 11px; border-radius: 999px; background: var(--dw-soft); color: var(--dw-muted); font-size: 12px; text-decoration: none; }
.dw-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 100px; }
.dw-post-nav__item { display: block; padding: 24px; border: 1px solid var(--dw-line); border-radius: 18px; color: var(--dw-ink) !important; text-decoration: none !important; }
.dw-post-nav__item--next { grid-column: 2; text-align: right; }
.dw-post-nav small { display: block; margin-bottom: 8px; color: #999dae; }
.dw-post-nav--article { margin-top: 58px; padding-bottom: 0; }
.dw-article-sidebar { padding: 52px 0 100px; }
.dw-sidebar-box { position: sticky; top: 102px; padding: 25px; border: 1px solid var(--dw-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 46px rgba(43,54,126,.075); }
.dw-sidebar-box__eyebrow { color: var(--dw-blue); font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.dw-sidebar-box h2 { margin: 8px 0 18px; font-size: 22px; }
.dw-sidebar-posts { border-top: 1px solid var(--dw-line); }
.dw-sidebar-post { display: grid; grid-template-columns: 38px 1fr 18px; gap: 9px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--dw-line); }
.dw-sidebar-post small { padding-top: 3px; color: #9a9eae; font-size: 10px; }
.dw-sidebar-post strong { font-size: 14px; line-height: 1.55; }
.dw-sidebar-post span { color: var(--dw-blue); transition: transform .2s; }
.dw-sidebar-post:hover span { transform: translateX(3px); }
.dw-sidebar-empty { color: var(--dw-muted); font-size: 13px; line-height: 1.7; }

/* Footer */
.dw-footer { background: #080c1e; color: #fff; padding: 66px 0 28px; }
.dw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 45px; }
.dw-footer__brand p { max-width: 430px; color: #8e97b5; font-size: 14px; line-height: 1.8; }
.dw-footer h3 { margin: 0 0 18px; font-size: 14px; }
.dw-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: #8e97b5; font-size: 13px; }
.dw-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: #666f8e; font-size: 12px; }

.dw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.dw-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .dw-nav, .dw-header__cta { display: none; }
  .dw-menu-toggle { display: grid; place-items: center; }
  .dw-nav.is-open { display: flex; position: fixed; top: 72px; left: 20px; right: 20px; padding: 22px; flex-direction: column; align-items: stretch; gap: 8px; border: 1px solid var(--dw-line); border-radius: 18px; background: #fff; box-shadow: var(--dw-shadow); }
  .dw-nav.is-open > ul { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .dw-nav.is-open a { display: block; padding: 12px; }
  .dw-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .dw-hero__copy { text-align: center; }
  .dw-hero h1, .dw-hero__lead { margin-left: auto; margin-right: auto; }
  .dw-actions, .dw-hero__proof { justify-content: center; }
  .dw-visual { min-height: 500px; }
  .dw-dashboard { transform: none; }
  .dw-card-grid, .dw-steps { grid-template-columns: repeat(2,1fr); }
  .dw-value { grid-column: span 3; }
  .dw-value:nth-child(4) { grid-column: span 3; }
  .dw-value:nth-child(5) { grid-column: 2 / span 4; }
  .dw-question-grid { grid-template-columns: 1fr; }
  .dw-step::after { display: none !important; }
  .dw-formula__items { grid-template-columns: 1fr 30px 1fr; }
  .dw-formula__items .dw-formula__plus:nth-of-type(4) { display: none; }
  .dw-formula__item:last-child { grid-column: 2 / 4; }
  .dw-stats { grid-template-columns: repeat(2,1fr); }
  .dw-stat:nth-child(2) { border-right: 0; }
  .dw-stat:nth-child(-n+2) { border-bottom: 1px solid var(--dw-line); }
  .dw-contact { grid-template-columns: 1fr; }
  .dw-post-grid, .dw-article-grid { grid-template-columns: repeat(2,1fr); }
  .dw-article-layout { grid-template-columns: 1fr; gap: 0; }
  .dw-article-main { padding-bottom: 40px; }
  .dw-article-sidebar { padding: 0 0 90px; }
  .dw-sidebar-box { position: static; }
}

@media (max-width: 720px) {
  .dw-container { width: min(calc(100% - 28px), var(--dw-max)); }
  .dw-section { padding: 78px 0; }
  .dw-section-head { margin-bottom: 38px; }
  .dw-section-head h2 { font-size: 36px; }
  .dw-section-head p { font-size: 16px; }
  .dw-text-post { grid-template-columns: 1fr 40px; column-gap: 12px; padding: 25px 0 20px; }
  .dw-text-post .dw-post-meta { grid-column: 1; justify-content: flex-start; text-align: left; }
  .dw-text-post__content h2, .dw-text-post__content h3 { font-size: 19px; }
  .dw-text-post__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .dw-article-container { width: min(calc(100% - 28px), 1180px); }
  .dw-article-hero { padding: 58px 0 42px; }
  .dw-article-hero .dw-article-container::after { bottom: -42px; }
  .dw-article-hero h1 { font-size: 36px; }
  .dw-brand__name small { display: none; }
  .dw-hero { min-height: auto; padding: 62px 0 75px; }
  .dw-hero h1 { font-size: 47px; }
  .dw-hero__lead { font-size: 17px; }
  .dw-actions { align-items: stretch; }
  .dw-btn { flex: 1 1 100%; }
  .dw-visual { min-height: 440px; }
  .dw-dashboard { padding: 12px; border-radius: 24px; }
  .dw-float-card--city { left: -4px; top: 40px; }
  .dw-float-card--phone { right: -5px; bottom: 48px; }
  .dw-float-card--rate { left: 0; bottom: -8px; }
  .dw-trust { margin-top: -12px; }
  .dw-trust__inner { grid-template-columns: 1fr 1fr; padding: 22px; }
  .dw-trust strong { grid-column: 1 / -1; text-align: center; }
  .dw-card-grid, .dw-steps, .dw-industries, .dw-post-grid, .dw-article-grid, .dw-value-grid { grid-template-columns: 1fr; }
  .dw-value, .dw-value:nth-child(4), .dw-value:nth-child(5) { grid-column: auto; min-height: auto; }
  .dw-value > b { margin-bottom: 20px; }
  .dw-question-answer { grid-template-columns: 1fr; text-align: center; }
  .dw-question-answer span { margin: 0 auto; }
  .dw-card { padding: 25px; }
  .dw-formula { padding: 30px 20px; }
  .dw-formula__items { grid-template-columns: 1fr; }
  .dw-formula__plus { transform: rotate(90deg); margin: 0 auto; }
  .dw-formula__item:last-child { grid-column: auto; }
  .dw-stats { grid-template-columns: 1fr 1fr; }
  .dw-stat { padding: 30px 16px; }
  .dw-stat strong { font-size: 38px; }
  .dw-cases { grid-auto-columns: 82%; }
  .dw-contact { padding: 34px 20px; }
  .dw-contact-card { grid-template-columns: 1fr; text-align: center; }
  .dw-qr { margin: 0 auto; }
  .dw-form { padding: 22px 16px; }
  .dw-form__grid { grid-template-columns: 1fr; }
  .dw-field--full { grid-column: auto; }
  .dw-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .dw-footer__bottom { flex-direction: column; }
  .dw-post-nav { grid-template-columns: 1fr; }
  .dw-post-nav__item--next { grid-column: 1; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .dw-reveal { opacity: 1; transform: none; }
}
