/* ==========================================================================
   Mizan theme — main stylesheet (RTL-first, uses logical properties)
   ========================================================================== */
@font-face { font-family: Cairo; font-weight: 400; font-display: swap; src: url(../fonts/cairo-arabic-400-normal.woff2) format("woff2"); }
@font-face { font-family: Cairo; font-weight: 600; font-display: swap; src: url(../fonts/cairo-arabic-600-normal.woff2) format("woff2"); }
@font-face { font-family: Cairo; font-weight: 700; font-display: swap; src: url(../fonts/cairo-arabic-700-normal.woff2) format("woff2"); }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(../fonts/cairo-arabic-800-normal.woff2) format("woff2"); }
@font-face { font-family: Cairo; font-weight: 900; font-display: swap; src: url(../fonts/cairo-arabic-900-normal.woff2) format("woff2"); }

:root {
	--navy: #0B2745; --navy-dark: #071B30; --navy-light: #183D61;
	--gold: #B58B36; --gold-dark: #8A6726; --gold-light: #F2E8D2;
	--ivory: #FAF7F0; --white: #FFFFFF; --text: #263445; --muted: #6B7280; --border: #E5E7EB;
	--ok: #237A57; --ok-bg: #EAF6EF; --info: #2563A6; --info-bg: #EBF3FC; --warn: #946200; --warn-bg: #FFF4D6; --err: #B93838; --err-bg: #FDECEC;
	--radius: 14px; --shadow: 0 18px 50px rgba(7, 27, 48, .12); --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: Cairo, "Segoe UI", Tahoma, sans-serif; font-size: 16px; line-height: 1.85; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.4; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; inset-inline-start: 10px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.mz-icon { flex-shrink: 0; }
.muted { color: var(--muted); }
::selection { background: var(--gold-light); color: var(--navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: all .18s; line-height: 1.4; white-space: nowrap; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); color: #fff; }
.btn-primary:active { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #a47d2f; color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(181, 139, 54, .35); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--navy); background: var(--white); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: var(--gold); }
.btn-lg { padding: 14px 26px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(7, 27, 48, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.site-logo .logo-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--white); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(7, 27, 48, .08); }
.site-logo .logo-mark img { width: 34px; height: 34px; object-fit: contain; }
.site-logo strong { display: block; font-size: 22px; font-weight: 900; line-height: 1.1; color: var(--navy); }
.site-logo small { display: block; font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.custom-logo-link img { max-height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; }
.main-nav li { position: relative; }
.main-nav li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.main-nav li a:hover, .main-nav .current-menu-item > a { color: var(--navy); background: var(--gold-light); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 210px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; }
.main-nav li:hover > .sub-menu { display: flex; }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-inline-start: auto; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: inline; } .nav-open .nav-toggle .i-open { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding: 70px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% 10%, rgba(181, 139, 54, .18), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(24, 61, 97, .9), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: var(--ivory); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.badge-gold { display: inline-flex; align-items: center; gap: 8px; background: rgba(181, 139, 54, .16); color: #E9C77F; border: 1px solid rgba(181, 139, 54, .45); padding: 5px 14px; border-radius: 99px; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; line-height: 1.35; margin-bottom: 18px; }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 14px; }
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual .shot { transform: perspective(1600px) rotateY(8deg) rotateX(2deg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--text); padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; animation: float 5s ease-in-out infinite; }
.float-card b { display: block; color: var(--navy); } .float-card small { color: var(--muted); }
.fc-1 { top: 18%; inset-inline-end: -20px; } .fc-2 { bottom: 14%; inset-inline-start: -24px; animation-delay: -2.5s; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; } .dot-err { background: var(--err); box-shadow: 0 0 0 4px var(--err-bg); } .dot-ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
@keyframes float { 50% { transform: translateY(-8px); } }
.play-btn { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); padding: 12px 20px; border-radius: 99px; font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 22px 16px; text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.stat b { display: block; font-size: 34px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Screenshot frame ---------- */
.shot { margin: 0; background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid rgba(7, 27, 48, .08); box-shadow: 0 30px 70px rgba(7, 27, 48, .28); }
.shot-bar { height: 26px; background: #F1EEE6; display: flex; gap: 6px; align-items: center; padding: 0 12px; direction: ltr; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d2c4; }
.shot img { display: block; width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head.light h2 { color: #fff; } .section-head.light p { color: rgba(255, 255, 255, .78); }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-dark); font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.section-navy .kicker { color: var(--gold); }
.kicker::before, .section-head .kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); }
.lead-dark { font-size: 17.5px; color: var(--muted); }

/* pain */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); border-top: 3px solid var(--err); }
.pain-card h3 { font-size: 18px; margin-top: 10px; } .pain-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.pain-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--err-bg); color: var(--err); }
.journey { margin-top: 40px; background: var(--navy); border-radius: 20px; padding: 30px; color: #fff; }
.journey h3 { color: #fff; text-align: center; font-size: 22px; margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { background: var(--navy-light); border-radius: 12px; padding: 16px 12px; text-align: center; font-size: 14.5px; line-height: 1.6; position: relative; }
.steps li b { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 16px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); background: var(--white); }
.feature h3 { font-size: 18px; margin: 14px 0 6px; } .feature p { font-size: 14.5px; color: var(--muted); margin: 0; }
.f-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; }
.split-visual.stack { display: grid; gap: 18px; }
.split-visual.stack .shot:nth-child(2) { margin-inline-start: 40px; margin-top: -60px; }
.checks { list-style: none; margin: 18px 0; padding: 0; }
.checks li { position: relative; padding-inline-start: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6726' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chips span { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--border); color: var(--navy); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.mini-chips .mz-icon { color: var(--gold); }
.icon-list { display: grid; gap: 18px; margin-top: 20px; }
.icon-list > div { display: flex; gap: 14px; align-items: flex-start; }
.icon-list > div > span { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-light); color: var(--gold-dark); display: grid; place-items: center; flex-shrink: 0; }
.icon-list p { margin: 0; color: var(--muted); font-size: 15px; } .icon-list b { display: block; color: var(--navy); font-size: 17px; }

/* marketplace */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 14px; }
.flow-step { flex: 1; max-width: 300px; background: var(--navy-light); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 28px 20px; text-align: center; }
.flow-step span { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; background: rgba(181, 139, 54, .18); color: var(--gold); display: grid; place-items: center; }
.flow-step b { display: block; font-size: 20px; color: #fff; } .flow-step small { color: rgba(255, 255, 255, .7); font-size: 14px; }
.flow-arrow { align-self: center; color: var(--gold); }

/* ai */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.ai-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; }
.ai-card h3 { margin-top: 14px; font-size: 20px; } .ai-card p { color: var(--muted); font-size: 15px; }
.ai-card .shot { box-shadow: 0 10px 30px rgba(7, 27, 48, .12); margin-top: 6px; }
.ai-card .shot img { max-height: 230px; object-fit: cover; object-position: top; }
.stars { color: var(--gold); display: flex; gap: 2px; margin: 10px 0; } .stars .mz-icon { fill: var(--gold); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--gold); box-shadow: 0 24px 60px rgba(181, 139, 54, .2); transform: translateY(-8px); }
.plan-tag { position: absolute; top: -14px; inset-inline-start: 24px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 13px; padding: 3px 14px; border-radius: 99px; }
.plan h3 { font-size: 22px; margin: 0; } .plan-users { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; } .price b { font-size: 44px; font-weight: 900; color: var(--navy); line-height: 1; } .price span { color: var(--muted); font-size: 14px; }
.plan .checks { flex: 1; font-size: 15px; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.trust > div { display: flex; gap: 12px; align-items: center; background: var(--ivory); border-radius: 14px; padding: 16px; }
.trust .mz-icon { color: var(--gold); width: 30px; height: 30px; } .trust span { font-size: 14px; color: var(--muted); line-height: 1.6; } .trust b { display: block; color: var(--navy); font-size: 15.5px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold); box-shadow: 0 10px 30px rgba(7, 27, 48, .06); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: 0 0 18px; }

/* cta */
.cta-band { padding: 0 0 90px; }
.section-white + .cta-band { background: var(--white); }
.cta-inner { display: flex; align-items: center; gap: 26px; background: var(--navy); border-radius: 24px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(181, 139, 54, .15); }
.cta-mark { background: var(--ivory); border-radius: 18px; padding: 14px; flex-shrink: 0; } .cta-mark img { display: block; }
.cta-copy { flex: 1; } .cta-copy h2 { color: #fff; font-size: 30px; margin-bottom: 6px; } .cta-copy p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Blog ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 50px; position: relative; }
.page-hero::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin: 0; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: rgba(255, 255, 255, .78); margin: 8px 0 0; }
.breadcrumbs, .breadcrumbs a { color: rgba(255, 255, 255, .65); font-size: 13px; }
.content-area { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 50px; padding-bottom: 80px; }
.has-sidebar .content-area { grid-template-columns: 1fr 300px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
body:not(.has-sidebar) .post-grid.two { grid-template-columns: repeat(3, 1fr); }
.post-card { background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-thumb { display: block; aspect-ratio: 16/9; background: var(--gold-light); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { display: grid; place-items: center; height: 100%; } .thumb-placeholder img { width: 70px; height: auto; opacity: .85; object-fit: contain; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 19px; margin: 6px 0 8px; } .card-title a { color: var(--navy); } .card-title a:hover { color: var(--gold-dark); }
.card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.read-more { font-weight: 800; color: var(--gold-dark); font-size: 14px; }
.entry-meta { font-size: 13px; color: var(--muted); } .entry-meta a { color: var(--gold-dark); } .entry-meta.light, .entry-meta.light a { color: rgba(255, 255, 255, .7); }
.meta-sep { margin: 0 4px; opacity: .6; }
.post-hero { padding: 64px 0; } .post-hero h1 { margin-top: 8px; }
.entry { background: var(--white); border-radius: 18px; padding: 36px; border: 1px solid var(--border); }
.entry-thumb { margin: -36px -36px 28px; } .entry-thumb img { width: 100%; border-radius: 18px 18px 0 0; display: block; }
.entry-content { font-size: 17px; line-height: 2; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; } .entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 20px; background: var(--gold-light); border-inline-start: 4px solid var(--gold); border-radius: 10px; color: var(--navy); font-weight: 600; }
.entry-content a { color: var(--navy-light); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.entry-content th { background: var(--ivory); color: var(--navy); } .entry-content th, .entry-content td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: start; }
.entry-content img { border-radius: 12px; }
.entry-content code { background: var(--ivory); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.tags a { display: inline-block; background: var(--ivory); border: 1px solid var(--border); border-radius: 99px; padding: 2px 12px; font-size: 13px; margin: 0 0 6px 6px; color: var(--navy); }
.post-cta { display: flex; align-items: center; gap: 16px; background: var(--navy); color: #fff; border-radius: 18px; padding: 22px; margin: 28px 0; }
.post-cta img { background: var(--ivory); border-radius: 12px; padding: 6px; } .post-cta b { display: block; color: #fff; font-size: 18px; } .post-cta p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14.5px; } .post-cta div { flex: 1; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 24px 0; font-weight: 700; }
.single-col { padding-top: 40px; }
.sidebar .widget { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 18px; }
.widget-title { font-size: 17px; border-bottom: 2px solid var(--gold-light); padding-bottom: 8px; }
.widget ul { list-style: none; padding: 0; margin: 0; } .widget li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.search-form { display: flex; gap: 8px; margin-bottom: 26px; }
input[type=search], input[type=text], input[type=email], input[type=url], input[type=tel], textarea, select { font-family: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text); width: 100%; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--gold-light); border-color: var(--gold); }
.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--border); color: var(--navy); font-weight: 700; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-note { background: var(--white); border: 1px dashed var(--border); padding: 30px; border-radius: 14px; text-align: center; color: var(--muted); }
.comments-area { margin-top: 30px; background: var(--white); padding: 28px; border-radius: 18px; border: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; } .comment-body { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; } .comment-form p { margin-bottom: 14px; }
.notfound { text-align: center; padding: 100px 0; } .notfound h1 { font-size: 90px; font-weight: 900; margin: 10px 0 0; color: var(--gold); } .notfound .search-form { max-width: 420px; margin: 20px auto; }
.full-width > * { max-width: var(--container); margin-inline: auto; padding-inline: 20px; } .full-width > .alignfull { max-width: none; padding: 0; }

/* WordPress core */
.alignleft { float: left; margin: 0 1.5em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.5em; } .aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.sticky .post-card { border-color: var(--gold); }
.has-navy-color { color: var(--navy); } .has-gold-color { color: var(--gold); } .has-ivory-background-color { background: var(--ivory); } .has-navy-background-color { background: var(--navy); } .has-gold-light-background-color { background: var(--gold-light); } .has-gold-background-color { background: var(--gold); } .has-white-background-color { background: #fff; }
.wp-block-button__link { background: var(--navy); color: #fff; border-radius: 10px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .78); padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-grid:has(> div:nth-child(4)) { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .78); } .site-footer a:hover { color: var(--gold); }
.footer-logo strong { color: #fff !important; } .footer-logo small { color: var(--gold) !important; }
.footer-brand p { margin-top: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 8px; }
.site-footer .menu { display: block; } .site-footer .menu a { padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 10px; } .contact-list .mz-icon { color: var(--gold); }
.social { display: flex; gap: 14px; flex-wrap: wrap; } .stores { display: flex; gap: 8px; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; font-size: 13.5px; }
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.feature-grid, .pain-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.ai-grid { grid-template-columns: 1fr 1fr; } .ai-grid > :last-child { grid-column: span 2; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-grid; }
	.main-nav { position: fixed; inset: 76px 0 auto 0; background: var(--ivory); flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 14px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s; max-height: calc(100vh - 76px); overflow: auto; }
	.nav-open .main-nav { transform: none; }
	.main-nav ul { flex-direction: column; }
	.main-nav .sub-menu { position: static; display: flex; box-shadow: none; padding-inline-start: 14px; }
	.nav-actions .btn { flex: 1; }
	.hero-grid, .split { grid-template-columns: 1fr; }
	.split-rev .split-copy { order: 0; }
	.hero-visual .shot { transform: none; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .plan.best { transform: none; }
	.trust { grid-template-columns: 1fr; }
	.flow { flex-direction: column; align-items: center; } .flow-arrow { transform: rotate(-90deg); } .flow-step { width: 100%; max-width: 420px; }
	.cta-inner { flex-direction: column; text-align: center; padding: 30px 22px; }
	.has-sidebar .content-area { grid-template-columns: 1fr; }
	.post-grid, body:not(.has-sidebar) .post-grid.two { grid-template-columns: 1fr 1fr; }
	.footer-grid, .footer-grid:has(> div:nth-child(4)) { grid-template-columns: 1fr 1fr; }
	.split-visual.stack .shot:nth-child(2) { margin: 0; }
}
@media (max-width: 600px) {
	body { font-size: 15px; }
	.section { padding: 64px 0; }
	.feature-grid, .pain-grid, .ai-grid, .post-grid, .post-grid.two, body:not(.has-sidebar) .post-grid.two, .footer-grid, .footer-grid:has(> div:nth-child(4)) { grid-template-columns: 1fr; }
	.ai-grid > :last-child { grid-column: auto; }
	.steps { grid-template-columns: 1fr 1fr; }
	.float-card { display: none; }
	.hero-actions .btn { width: 100%; }
	.entry { padding: 22px; } .entry-thumb { margin: -22px -22px 20px; }
	.post-cta { flex-direction: column; text-align: center; }
	.footer-bottom { flex-direction: column; align-items: center; }
}

/* footer widgets (classic + block) */
.site-footer .widget { margin-bottom: 22px; }
.site-footer .widget-title, .site-footer .widget h2, .site-footer .wp-block-heading, .site-footer .widget h3 { color: #fff; font-size: 17px; margin: 0 0 14px; }
.site-footer .widget li { border: 0; padding: 0; }
.site-footer .widget select, .site-footer .widget input { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); }

/* core block widgets in sidebar */
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.widget .wp-block-search__label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.widget .wp-block-search__input { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; }
.widget .wp-block-search__button { background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; margin: 0; }
.widget .wp-block-search__button:hover { background: var(--navy-light); }
.widget .wp-block-latest-posts, .widget .wp-block-latest-comments { padding: 0; margin: 0; list-style: none; }
.widget .wp-block-latest-posts li, .widget .wp-block-latest-comments li { padding: 8px 0; border-bottom: 1px solid var(--border); margin: 0; }
.widget .wp-block-group h2, .widget h2.wp-block-heading { font-size: 17px; color: var(--navy); margin: 0 0 10px; }
.site-footer .widget h2.wp-block-heading, .site-footer .widget .wp-block-group h2 { color: #fff; }
.site-footer .widget .wp-block-latest-posts li, .site-footer .widget .wp-block-latest-comments li { border-color: rgba(255,255,255,.1); }
