/* Aqara Malaysia: clean, image-led, monochrome */
:root {
  --ink: #111;
  --ink-2: #444;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --bg: #fff;
  --soft: #f5f5f7;
  --accent: #0a6cff;
  --radius: 20px;
  --wrap: 1240px;
  --hdr: 64px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.lang-zh { --font: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center.lead, .lead.center { margin-left: auto; margin-right: auto; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 26px; font: 500 15px var(--font); text-decoration: none; cursor: pointer; transition: opacity .2s, background .2s; }
.btn:hover { opacity: .85; }
.btn.sm { padding: 8px 18px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn.ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn.wide { display: flex; width: 100%; margin-top: 20px; }
.btn[disabled] { opacity: .5; cursor: wait; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); margin-bottom: 10px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.logo span { font-size: 13px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
nav.main { flex: 1; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: center; }
nav.main li > a { display: block; padding: 0 14px; line-height: var(--hdr); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
nav.main li > a:hover, nav.main li > a[aria-current] { color: var(--ink); }
nav.main li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--ink); }
.mega { position: absolute; left: 0; right: 0; top: var(--hdr); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.06); padding: 32px 0 36px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.mcols { display: flex; gap: 72px; }
.mcols a { display: block; padding: 6px 0; font-size: 16px; font-weight: 500; text-decoration: none; }
.mcols a:hover { color: var(--accent); }
.mtiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.mtile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; border-radius: 16px; text-decoration: none; font-size: 14px; font-weight: 500; text-align: center; transition: background .2s; }
.mtile:hover { background: var(--soft); }
.mtile img { width: 64px; height: 64px; object-fit: contain; }
.mfoot { margin-top: 20px; text-align: right; font-weight: 500; }
.mfoot a { text-decoration: none; }
.tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--ink); font: 500 13px var(--font); }
.icon-btn:hover { background: var(--soft); }
.langsw { position: relative; }
.langmenu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.1); padding: 6px; min-width: 170px; display: none; }
.langsw.open .langmenu { display: block; }
.langmenu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.langmenu a:hover { background: var(--soft); }
.langmenu a[aria-current]::after { content: '✓'; float: right; }
.tools .btn { margin-left: 8px; }
.menu-btn { display: none; }

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.35); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 64px 24px 32px; overflow-y: auto; }
.drawer .close { position: absolute; right: 16px; top: 14px; font-size: 18px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { padding: 16px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.drawer summary::after { content: '+'; font-weight: 400; }
.drawer details[open] summary::after { content: '–'; }
.drawer .mbody { padding-bottom: 16px; }
.drawer .mbody > a { display: block; font-weight: 600; padding: 4px 0 12px; text-decoration: none; }
.drawer .mcols { flex-direction: column; gap: 12px; }
.drawer .mtiles { grid-template-columns: repeat(3, 1fr); }
.drawer .mtile img { width: 48px; height: 48px; }
.drawer .mfoot { text-align: left; }

/* Search overlay */
.search { position: fixed; inset: 0; z-index: 70; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); overflow-y: auto; }
.search-in { padding-top: 40px; padding-bottom: 40px; max-width: 820px; }
.search-bar { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--ink); }
.search-bar input { flex: 1; border: 0; background: none; font: 500 24px var(--font); padding: 14px 0; outline: none; }
.search-results { list-style: none; padding: 0; margin: 24px 0 0; }
.search-results a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-results a:hover strong { color: var(--accent); }
.search-results small { display: block; color: var(--muted); }
.search-results .tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.search-results mark { background: #fff3a0; }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #222; }
.hero.tall { min-height: calc(100vh - var(--hdr)); max-height: 900px; }
.hero picture img, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.05) 75%), linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0) 40%); }
.hero-txt { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero-txt h1 { max-width: 760px; }
.hero-txt p { max-width: 560px; font-size: 19px; color: rgba(255,255,255,.9); }
.hero .kicker { color: rgba(255,255,255,.8); }
.phead { background: var(--soft); padding: 72px 0 56px; }
.phead p { font-size: 19px; color: var(--ink-2); max-width: 720px; }

/* Sections */
.block { padding: 96px 0; }
.block.tight { padding: 48px 0 80px; }
.block.alt { background: var(--soft); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.row-head a { font-weight: 500; text-decoration: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.round-img img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }

/* Category strip + product cards */
.cat-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 32px 0 48px; }
.cat-strip a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 132px; padding: 18px 8px; border-radius: 18px; text-decoration: none; font-size: 14px; font-weight: 500; text-align: center; transition: background .2s; }
.cat-strip a:hover { background: var(--soft); }
.cat-strip img { width: 72px; height: 72px; object-fit: contain; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.pcard { display: flex; flex-direction: column; background: var(--soft); border-radius: var(--radius); padding: 20px 20px 24px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.block.alt .pcard { background: #fff; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); }
.pimg { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pimg img { max-height: 100%; object-fit: contain; transition: transform .35s; }
.pcard:hover .pimg img { transform: scale(1.04); }
.pcard h3 { font-size: 17px; margin-bottom: 4px; }
.pcard p { font-size: 14px; color: var(--muted); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; position: sticky; top: var(--hdr); background: #fff; padding: 12px 0; z-index: 5; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font: 500 14px var(--font); cursor: pointer; }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-group { margin-bottom: 40px; }
.cat-group h2 { font-size: 28px; }
.cat-group h2 small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 8px; }

/* Media band */
.media-band { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; background: #111; color: #fff; }
.media-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.media-txt { position: relative; padding-bottom: 56px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.media-txt p { font-size: 19px; max-width: 560px; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
.ind { grid-column: span 2; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: #333; }
.ind:nth-child(4), .ind:nth-child(5) { grid-column: span 3; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ind:hover img { transform: scale(1.05); }
.ind::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0) 60%); }
.ind div { position: relative; z-index: 1; padding: 24px; }
.ind h3 { font-size: 22px; margin-bottom: 4px; }
.ind p { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); }

/* Stats, ecosystem, features */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.stats div { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.block:not(.alt) .stats div { background: var(--soft); }
.stats strong { display: block; font-size: 34px; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 14px; }
.eco-title { margin-top: 56px; }
.eco { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; margin-top: 24px; }
.eco img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.eco img:hover { filter: none; opacity: 1; }
.cards4, .cards3 { display: grid; gap: 20px; margin-top: 40px; }
.cards4 { grid-template-columns: repeat(4, 1fr); }
.cards4.why { grid-template-columns: repeat(5, 1fr); }
.cards3 { grid-template-columns: repeat(3, 1fr); }
.feat { background: var(--soft); border-radius: var(--radius); padding: 28px; text-decoration: none; }
.block.alt .feat { background: #fff; }
.feat p { color: var(--ink-2); font-size: 15px; margin: 0; }
.num { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pillar { border-top: 2px solid var(--ink); padding-top: 24px; }
.pillar h3 { font-size: 28px; }
.pillar p { color: var(--ink-2); }

/* Split banner */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-txt { padding: 72px; align-self: center; max-width: 620px; }
.split-txt p { font-size: 18px; color: var(--ink-2); }

.split.rev { background: #fff; }
.split.rev .split-img { order: 2; }
.split-txt .checks { margin: 8px 0 24px; }
.awards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; margin-top: 24px; }
.awards img { height: 88px; width: auto; object-fit: contain; }
.excl { background: var(--ink); color: #fff; padding: 56px 0; }
.excl-in { display: flex; align-items: center; gap: 48px; }
.excl-in img { height: 64px; width: auto; filter: invert(1); flex-shrink: 0; }
.excl h2 { font-size: clamp(24px, 2.6vw, 34px); }
.excl p { color: rgba(255,255,255,.8); margin: 0; max-width: 760px; }
.excl .kicker { color: rgba(255,255,255,.6); margin-bottom: 8px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.platform { background: var(--soft); border-radius: var(--radius); padding: 28px; text-align: center; }
.platform img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 16px; }
.platform p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post-img { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--soft); margin-bottom: 16px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post-img img { transform: scale(1.04); }
.post p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.post time { font-size: 13px; color: var(--muted); }
.article { padding: 48px 0 80px; }
.article .back { display: inline-block; margin-bottom: 32px; text-decoration: none; color: var(--muted); }
.article h1 { font-size: clamp(30px, 4vw, 48px); }
.article time { color: var(--muted); }
.art-img { border-radius: var(--radius); margin: 32px 0; width: 100%; max-height: 520px; object-fit: cover; }
.article p { font-size: 18px; color: var(--ink-2); }

/* Product page */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.pdp { padding: 32px 0 80px; }
.pdp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.gallery { position: sticky; top: calc(var(--hdr) + 20px); }
.gmain { background: var(--soft); border-radius: 24px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.gmain img { max-height: 100%; object-fit: contain; }
.gthumbs { display: flex; gap: 10px; margin-top: 12px; }
.gthumbs button { width: 76px; height: 76px; border-radius: 14px; border: 2px solid transparent; background: var(--soft); padding: 6px; cursor: pointer; }
.gthumbs button.on { border-color: var(--ink); }
.gthumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo h1 { font-size: clamp(32px, 3.6vw, 48px); }
.pinfo .tagline { font-size: 20px; color: var(--ink-2); }
.pinfo h3 { font-size: 15px; margin-top: 28px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 16px; }
.checks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.specs { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.specs th { width: 36%; color: var(--muted); font-weight: 500; }

/* Partner */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.type img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 20px; }
.type p { color: var(--ink-2); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.tier { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.tier.t1 { background: var(--soft); }
.tier.t2 { background: var(--ink); color: #fff; }
.tier.t2 p { color: rgba(255,255,255,.8); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; margin: 40px 0 0; }
.steps li { counter-increment: s; font-weight: 600; font-size: 17px; padding-top: 20px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.pfilters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.pfilters select { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font: 500 14px var(--font); background: #fff; }
.plist { display: grid; gap: 12px; }
.pentry { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--soft); border-radius: 16px; padding: 20px 24px; }
.pentry h3 { margin: 0 0 4px; font-size: 18px; }
.pentry p { margin: 0; color: var(--muted); font-size: 14px; }
.pentry .pill { background: #fff; }
.pact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-weight: 500; }
.pempty { padding: 24px; background: var(--soft); border-radius: 16px; }

/* Support */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq p { color: var(--ink-2); padding-bottom: 12px; }
.sup-links { margin-top: 0; }
.sup-links .feat h3 { margin: 0; }
.sup-links .feat:hover { background: #ececf0; }

/* Forms */
.cta-block { background: var(--soft); }
.cta-block .two { align-items: start; }
.card-form { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 1px 0 var(--line); }
.contact { align-items: start; }
.contact .card-form { background: var(--soft); }
.contact-lines { line-height: 1.9; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lead label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.lead label.full { grid-column: 1 / -1; }
.lead input, .lead select, .lead textarea { font: 15px var(--font); padding: 12px 14px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.lead .invalid { border-color: #d70015; }
.lead label.consent { flex-direction: row; align-items: flex-start; gap: 10px; margin: 18px 0; font-weight: 400; font-size: 13px; }
.lead label.consent input { width: auto; margin-top: 3px; }
.lead .hp { position: absolute; left: -9999px; }
.notice { margin-top: 14px; font-size: 14px; }
.notice.ok { color: #0a7a33; }
.notice.err { color: #d70015; }

/* Footer */
.ftr { background: var(--soft); padding: 64px 0 32px; font-size: 14px; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { font-size: 13px; margin: 0 0 14px; }
.ftr-top a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-2); }
.ftr-top a:hover { color: var(--ink); }
.ftr-brand img { margin-bottom: 14px; }
.ftr-brand p { color: var(--ink-2); max-width: 320px; }
.ftr-brand .muted a { display: inline; color: var(--ink); font-weight: 500; }
.badge-dist { display: inline-block; font-weight: 600; font-size: 12px; background: var(--ink); color: #fff !important; padding: 4px 10px; border-radius: 999px; }
.ftr-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 12px; }
.ftr-bottom a { color: var(--muted); }

/* WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }

.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px; }
.logo-panel { background: #fff; border-radius: var(--radius); min-height: 420px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; padding: 48px 32px; text-align: center; }
.logo-panel .sw { height: 64px; width: auto; }
.logo-panel .aq { height: 72px; width: auto; }
.logo-panel .x { font-size: 32px; color: var(--muted); font-weight: 300; }
.logo-panel p { flex-basis: 100%; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ftr .contact-lines a { padding: 0; }
.prose p { font-size: 16px; color: var(--ink-2); }

/* Responsive */
@media (max-width: 1100px) {
  nav.main { display: none; }
  .menu-btn { display: inline-flex; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .cards4, .stats { grid-template-columns: repeat(2, 1fr); }
  .cards4.why { grid-template-columns: repeat(3, 1fr); }
  .ftr-top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .block { padding: 64px 0; }
  .two, .pdp-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard { padding: 14px 14px 18px; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind, .ind:nth-child(4), .ind:nth-child(5) { grid-column: auto; min-height: 280px; }
  .cards3, .types, .tiers, .posts, .pillars { grid-template-columns: 1fr; }
  .cards4.why { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split-txt { padding: 40px 24px; }
  .split-img img { min-height: 260px; }
  .split.rev .split-img { order: 0; }
  .excl-in { flex-direction: column; align-items: flex-start; gap: 20px; }
  .platforms { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .card-form { padding: 20px; }
  .hide-sm { display: none; }
  .hero { min-height: 480px; }
  .hero.tall { min-height: 78vh; }
  .hero .shade { background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,0)); }
  .cat-strip a { width: 30%; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .pact { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  video[autoplay] { display: none; }
}
