/*
Theme Name: Apresiasi
Theme URI: https://apresiasi.jomos.com.my
Author: Jomos Applications Sdn Bhd
Author URI: https://jomos.com.my
Description: Lightweight custom theme for Apresiasi, the ceremony and event management system by Jomos Applications Sdn Bhd. Dark violet and amber brand, Poppins, no build tools.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apresiasi
*/

:root {
  --bg: #0b0620;
  --bg-2: #120a2e;
  --card: #1a1040;
  --card-2: #211552;
  --line: rgba(196, 181, 253, 0.16);
  --line-strong: rgba(168, 85, 247, 0.5);
  --text: #ece9fb;
  --muted: #b3aad6;
  --violet: #7c3aed;
  --purple: #a855f7;
  --indigo: #6366f1;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --green: #25d366;
  --radius: 16px;
  --radius-img: 12px;
  --shadow: 0 18px 50px rgba(8, 3, 30, 0.55);
  --shadow-img: 0 10px 30px rgba(4, 2, 16, 0.55);
  --shadow-img-hover: 0 22px 50px rgba(4, 2, 16, 0.75);
  --ease: 200ms ease;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c4b5fd; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ddd6fe; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 14px; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--amber); color: #1a0f00; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.eyebrow { color: var(--amber); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.grad { background: linear-gradient(90deg, var(--purple), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 600px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.3; transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(90deg, var(--violet), var(--purple)); color: #fff; box-shadow: 0 10px 30px rgba(124, 58, 237, .45); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 36px rgba(124, 58, 237, .6); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.btn-amber { background: var(--amber); color: #1a0f00; box-shadow: 0 10px 30px rgba(245, 158, 11, .35); }
.btn-amber:hover { background: var(--amber-2); color: #1a0f00; }
.btn-wa { background: var(--green); color: #052e16; box-shadow: 0 10px 30px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #2ee57a; color: #052e16; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: 8px 18px; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 6, 32, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(4, 2, 16, .5); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; transition: height var(--ease); }
.site-header.is-scrolled .nav-inner { height: 62px; }
.brand { display: flex; align-items: center; }
.brand img { width: 150px; height: auto; transition: width var(--ease); }
.site-header.is-scrolled .brand img { width: 128px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 8px 12px; border-radius: 10px; display: block; transition: color var(--ease), background var(--ease); }
.nav-links a:hover, .nav-links .current-menu-item > a, .nav-links .current_page_parent > a { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform var(--ease), top var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url('assets/img/hero-bg.webp') center/cover no-repeat; transform: scale(1); animation: heroZoom 24s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 6, 32, .25), var(--bg) 96%); }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero { padding: 70px 0 50px; }
.page-hero h1 { margin-bottom: 10px; }

/* Mock window */
.mock { background: rgba(26, 16, 64, .88); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); transition: transform .3s ease; }
.mock:hover { transform: rotate(0); }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3b2f6b; }
.mock-title { margin-left: 10px; font-size: .85rem; color: var(--muted); }
.mock-body { padding: 18px 18px 8px; }
.funnel-row { display: grid; grid-template-columns: 150px 1fr 44px; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 10px; }
.funnel-row b { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--indigo), var(--purple)); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .bar i { transform: scaleX(0); }
.js .in .bar i, .js .bar i.in { transform: scaleX(1); }
.mock-note { font-size: .72rem; color: var(--muted); opacity: .75; text-align: right; margin: 6px 0 4px; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 700; line-height: 1; background: linear-gradient(90deg, var(--amber), var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat p { color: var(--muted); margin: 10px 0 0; font-size: .92rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform var(--ease), border-color var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card h3 { margin-bottom: 8px; }
.ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(124, 58, 237, .22); font-size: 1.35rem; margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; color: #d8b4fe; }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.flow { display: flex; flex-direction: column; gap: 8px; }
.flow-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.flow-step b { display: block; }
.flow-step span { color: var(--muted); font-size: .9rem; }
.flow-step.hot { border-color: rgba(245, 158, 11, .6); background: linear-gradient(135deg, rgba(124, 58, 237, .35), var(--card)); }
.flow-arrow { text-align: center; color: var(--muted); font-size: .85rem; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--purple)); font-weight: 700; margin-bottom: 14px; }
.steps b { display: block; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .92rem; }

/* Images */
.img-frame { border-radius: var(--radius-img); box-shadow: var(--shadow-img); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform var(--ease), box-shadow var(--ease); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; border-radius: var(--radius-img); transition: transform var(--ease); }
.img-frame.r43 img { aspect-ratio: 4 / 3; }
.img-frame.r11 img { aspect-ratio: 1 / 1; }
a.img-frame:hover, .card-post:hover .img-frame { transform: translateY(-4px); box-shadow: var(--shadow-img-hover); }
a.img-frame:hover img, .card-post:hover .img-frame img { transform: scale(1.04); }
.entry-content img, .wp-block-image img { border-radius: var(--radius-img); box-shadow: var(--shadow-img); }
.entry-content figure { margin: 28px 0; }
.entry-content figcaption { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 10px; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--ease), border-color var(--ease); }
.card-post:hover { border-color: var(--line-strong); }
.card-post .img-frame { border-radius: 0; border: 0; box-shadow: none; }
.card-post .img-frame img { border-radius: 0; }
.card-post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-post h3 { margin: 0; font-size: 1.1rem; }
.card-post h3 a { color: var(--text); text-decoration: none; }
.card-post h3 a:hover { color: #ddd6fe; }
.card-post p { color: var(--muted); margin: 0; font-size: .92rem; }
.post-meta { color: var(--muted); font-size: .82rem; display: flex; gap: 10px; flex-wrap: wrap; }
.post-meta a { color: var(--amber); text-decoration: none; }
.read-more { margin-top: auto; color: #c4b5fd; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* Single / entry */
.entry { max-width: 820px; margin: 0 auto; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 1.6rem; margin-top: 40px; }
.entry-content h3 { margin-top: 30px; }
.entry-content p, .entry-content li { color: #d9d4f2; }
.entry-content a { color: #c4b5fd; }
.entry-hero { margin: 0 0 30px; }
.editor-note { background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .5); border-left: 4px solid var(--amber); border-radius: 10px; padding: 14px 18px; font-size: .95rem; color: #fde68a; margin: 0 0 24px; }
.editor-note strong { color: var(--amber-2); }
.sample-note { font-size: .78rem; color: var(--muted); opacity: .8; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.post-nav a { text-decoration: none; color: #c4b5fd; font-weight: 600; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); }
.pagination .current { background: var(--violet); border-color: var(--violet); }

/* Feature detail blocks */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-child { border-bottom: 0; }
.feature-block.rev > :first-child { order: 2; }
.feature-block p, .feature-block li { color: var(--muted); }
.feature-block h2 { font-size: 1.7rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.chip-list li { background: rgba(124, 58, 237, .18); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: #ddd6fe; }

/* Role table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--amber); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 500; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; transition: transform var(--ease), border-color var(--ease); }
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.contact-card .ico { margin: 0 auto 14px; }
.contact-card p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.contact-card a.big { font-size: 1.05rem; font-weight: 600; color: var(--text); text-decoration: none; word-break: break-word; }
.demo-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select { background: rgba(11, 6, 32, .7); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: 1rem; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--purple); outline-offset: 0; border-color: var(--purple); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* CTA */
.cta-box { background: linear-gradient(135deg, rgba(124, 58, 237, .45), rgba(26, 16, 64, .9)); border: 1px solid var(--line-strong); border-radius: 24px; padding: 56px 32px; text-align: center; box-shadow: var(--shadow); }
.cta-box p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.cta-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 22px; color: var(--muted); font-size: .95rem; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta-contact a { color: var(--text); text-decoration: none; }
.cta-contact a:hover { color: var(--amber-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #080418; padding: 60px 0 30px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: var(--text); font-size: .95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

/* Floating buttons */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform var(--ease), box-shadow var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); color: #fff; box-shadow: 0 16px 36px rgba(37, 211, 102, .6); }
.wa-float svg { width: 32px; height: 32px; }
.back-top { position: fixed; right: 24px; bottom: 90px; z-index: 60; width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--text); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--card-2); border-color: var(--line-strong); }
.back-top svg { width: 20px; height: 20px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.cookie-banner p { margin: 0; flex: 1 1 260px; color: var(--muted); }
.cookie-banner p a { color: #ddd6fe; }
.cookie-banner.hidden { display: none; }

/* 404 */
.error-page { padding: 100px 0; text-align: center; }
.error-code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 700; line-height: 1; background: linear-gradient(90deg, var(--purple), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Reveal animations (JS-enhanced only; everything visible without JS) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in { transform: none; }

/* Alignment helpers */
.alignwide { max-width: var(--wrap); }
.wp-block-buttons .wp-block-button__link { border-radius: 999px; }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .post-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); box-shadow: 0 24px 40px rgba(4, 2, 16, .6); z-index: 5; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta { order: 3; }
  .hero { padding: 60px 0 70px; }
  .hero-grid, .split, .feature-block, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child, .feature-block.rev > :first-child { order: 0; }
  .mock { transform: none; }
  .section { padding: 64px 0; }
  .funnel-row { grid-template-columns: 120px 1fr 40px; }
}
@media (max-width: 560px) {
  .cards, .post-grid, .contact-grid, .steps, .stats, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-box { padding: 40px 20px; }
  .back-top { right: 18px; bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .bar i { transform: none; }
  .hero-bg { animation: none; }
}
