/*
Theme Name: Zaintopia
Theme URI: https://zaintopia.com
Author: ZainTopia
Description: ثيم منصة زينتوبيا — الكتابة العلاجية وعادات السعادة. RTL عربي، أنواع محتوى مخصصة (الخدمات، الأكاديمية، المنتجات، اللقاءات، آراء العملاء، الأسئلة الشائعة) وأقسام رئيسية تفاعلية (ماكينة المشاعر، كارت اليوم، مساحة الحرق الآمن).
Version: 1.0.0
Requires at least: 6.4
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: zaintopia
Tags: rtl-language-support, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============ Tokens ============ */
:root {
	--zt-cyan: #17b3c7;
	--zt-cyan-600: #0e8ea0;
	--zt-cyan-50: #e8f8fa;
	--zt-ink: #0b2530;
	--zt-ink-2: #12333f;
	--zt-amber: #f4a62a;
	--zt-amber-600: #d98a0f;
	--zt-emerald: #12a37a;
	--zt-plum: #6c2f63;
	--zt-plum-2: #8e3b7f;
	--zt-cream: #fbf7f0;
	--zt-paper: #ffffff;
	--zt-text: #1d2f36;
	--zt-muted: #5c6f76;
	--zt-line: #e3e9eb;
	--zt-wa: #25d366;

	--zt-radius: 18px;
	--zt-radius-sm: 10px;
	--zt-shadow: 0 10px 30px -12px rgba(11, 37, 48, .25);
	--zt-shadow-lg: 0 24px 60px -20px rgba(11, 37, 48, .35);
	--zt-font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
	--zt-font-display: "El Messiri", "Tajawal", serif;
	--zt-container: 1180px;
	--zt-gutter: clamp(16px, 4vw, 32px);
	--zt-section-y: clamp(56px, 9vw, 110px);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--zt-font);
	font-size: 17px;
	line-height: 1.8;
	color: var(--zt-text);
	background: var(--zt-paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--zt-cyan-600); text-decoration: none; }
a:hover { color: var(--zt-ink); }
h1, h2, h3, h4 { font-family: var(--zt-font-display); line-height: 1.35; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--zt-amber); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0; z-index: 1000;
	inset-inline-start: 12px; top: 12px; background: var(--zt-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}

.zt-container { width: 100%; max-width: var(--zt-container); margin-inline: auto; padding-inline: var(--zt-gutter); }
.zt-container--narrow { max-width: 820px; }
.zt-center { text-align: center; margin-top: 2rem; }
.zt-small { font-size: .88rem; color: var(--zt-muted); }
.is-hidden { display: none !important; }

/* ============ Buttons, badges ============ */
.zt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; line-height: 1.2; cursor: pointer; text-align: center;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.zt-btn:hover { transform: translateY(-2px); box-shadow: var(--zt-shadow); }
.zt-btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.zt-btn--block { display: flex; width: 100%; }
.zt-btn--cyan { background: var(--zt-cyan); color: #fff; }
.zt-btn--cyan:hover { background: var(--zt-cyan-600); color: #fff; }
.zt-btn--amber { background: var(--zt-amber); color: var(--zt-ink); }
.zt-btn--amber:hover { background: var(--zt-amber-600); color: var(--zt-ink); }
.zt-btn--dark { background: var(--zt-ink); color: #fff; }
.zt-btn--dark:hover { background: var(--zt-ink-2); color: #fff; }
.zt-btn--wa { background: var(--zt-wa); color: #fff; }
.zt-btn--wa:hover { background: #1ebe5a; color: #fff; }
.zt-btn--light { background: #fff; color: var(--zt-ink); }
.zt-btn--light:hover { color: var(--zt-ink); }
.zt-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.zt-btn--line { background: transparent; color: var(--zt-ink); border-color: var(--zt-line); }
.zt-btn--line:hover { border-color: var(--zt-cyan); color: var(--zt-cyan-600); }
.zt-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.zt-actions--center { justify-content: center; }

.zt-pill, .zt-badge, .zt-tag, .zt-eyebrow {
	display: inline-block; font-size: .82rem; font-weight: 700; border-radius: 999px; line-height: 1.4;
}
.zt-pill { padding: .4em 1em; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.zt-badge { padding: .3em .9em; background: var(--zt-cyan-50); color: var(--zt-cyan-600); }
.zt-badge--amber { background: #fff2dc; color: #9a5d00; }
.zt-tag { padding: .2em .8em; background: #f1f4f5; color: var(--zt-muted); }
.zt-eyebrow { color: var(--zt-cyan-600); letter-spacing: .02em; margin-bottom: .6rem; }

.zt-copy {
	border: 1px dashed currentColor; background: transparent; border-radius: 6px;
	padding: .1em .6em; font-size: .8rem; cursor: pointer; margin-inline-start: .35em; opacity: .85;
}
.zt-copy:hover { opacity: 1; }

/* ============ Header ============ */
.zt-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 37, 48, .92); color: #fff;
	backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.admin-bar .zt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .zt-header { top: 46px; } }
.zt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.zt-brand__link { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.zt-brand__link:hover { color: #fff; }
.zt-brand .custom-logo { max-height: 56px; width: auto; }
.zt-logo-mark { width: 40px; height: 40px; color: var(--zt-cyan); flex: none; }
.zt-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.zt-brand__text strong { font-family: var(--zt-font-display); font-size: 1.35rem; letter-spacing: .02em; }
.zt-brand__text small { font-size: .7rem; opacity: .7; direction: ltr; text-align: start; }

.zt-nav { display: flex; align-items: center; gap: 1.25rem; }
.zt-menu { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.zt-menu a { display: block; padding: .5em .75em; color: rgba(255, 255, 255, .85); border-radius: 8px; font-weight: 500; font-size: .95rem; }
.zt-menu a:hover, .zt-menu .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .08); }
.zt-menu .sub-menu { display: none; }

.zt-nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; color: #fff;
}
.zt-nav-toggle__bar, .zt-nav-toggle__bar::before, .zt-nav-toggle__bar::after {
	position: absolute; inset-inline: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s;
}
.zt-nav-toggle__bar { top: 21px; }
.zt-nav-toggle__bar::before, .zt-nav-toggle__bar::after { content: ""; inset-inline: 0; }
.zt-nav-toggle__bar::before { top: -7px; }
.zt-nav-toggle__bar::after { top: 7px; }
.zt-nav-open .zt-nav-toggle__bar { background: transparent; }
.zt-nav-open .zt-nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); background: #fff; }
.zt-nav-open .zt-nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); background: #fff; }

@media (max-width: 1080px) {
	.zt-nav-toggle { display: block; }
	.zt-nav {
		position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
		background: var(--zt-ink); padding: 1rem var(--zt-gutter) 1.5rem; max-height: calc(100vh - 74px); overflow-y: auto;
		transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s;
	}
	.zt-nav-open .zt-nav { transform: none; visibility: visible; }
	.zt-menu { flex-direction: column; }
	.zt-menu a { padding: .8em .5em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
}

/* ============ Sections ============ */
.zt-section { padding-block: var(--zt-section-y); position: relative; }
.zt-section--cream { background: var(--zt-cream); }
.zt-section--dark { background: var(--zt-ink); color: #e6f0f2; }
.zt-section--cyan { background: linear-gradient(160deg, var(--zt-cyan-600), #0a6f80); color: #fff; }
.zt-section--amber { background: linear-gradient(160deg, #fff4df, #ffe7bc); }
.zt-section--emerald { background: linear-gradient(160deg, #0f8f6b, #0b6b54); color: #fff; }
.zt-section--plum { background: radial-gradient(circle at 20% 0%, var(--zt-plum-2), var(--zt-plum) 60%, #3f1a3a); color: #fff; }
.zt-section--dark .zt-eyebrow, .zt-section--cyan .zt-eyebrow,
.zt-section--emerald .zt-eyebrow, .zt-section--plum .zt-eyebrow { color: var(--zt-amber); }
.zt-section--dark .zt-lead, .zt-section--cyan .zt-lead,
.zt-section--emerald .zt-lead, .zt-section--plum .zt-lead { color: rgba(255, 255, 255, .8); }

.zt-section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.zt-section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .4em; }
.zt-lead { font-size: 1.1rem; color: var(--zt-muted); }
.zt-subhead { font-size: 1.5rem; margin: 3.5rem 0 1.5rem; text-align: center; }
.zt-subhead small { display: block; font-family: var(--zt-font); font-size: .9rem; color: var(--zt-emerald); font-weight: 700; }

.zt-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.zt-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.zt-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ============ Cards ============ */
.zt-card {
	background: var(--zt-paper); color: var(--zt-text);
	border-radius: var(--zt-radius); box-shadow: var(--zt-shadow); padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(11, 37, 48, .05);
}
.zt-card--glass { background: rgba(255, 255, 255, .06); color: inherit; border-color: rgba(255, 255, 255, .12); box-shadow: none; }

.zt-offer, .zt-post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.zt-offer:hover, .zt-post-card:hover { transform: translateY(-4px); box-shadow: var(--zt-shadow-lg); }
.zt-offer__media { display: block; aspect-ratio: 16 / 10; background: var(--zt-cyan-50); overflow: hidden; }
.zt-offer__media img { width: 100%; height: 100%; object-fit: cover; }
.zt-offer__body { padding: 1.4rem 1.4rem .5rem; flex: 1; }
.zt-offer__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.zt-offer__title { font-size: 1.25rem; margin-bottom: .35em; }
.zt-offer__title a { color: var(--zt-ink); }
.zt-offer__title a:hover { color: var(--zt-cyan-600); }
.zt-offer__meta { font-size: .9rem; color: var(--zt-muted); margin-bottom: .5em; }
.zt-offer__excerpt { font-size: .95rem; color: var(--zt-muted); }
.zt-offer__foot { padding: 1rem 1.4rem 1.4rem; border-top: 1px dashed var(--zt-line); }
.zt-offer__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.zt-post-card__ph { display: grid; place-items: center; height: 100%; color: var(--zt-cyan); }
.zt-post-card__ph .zt-logo-mark { width: 64px; height: 64px; opacity: .5; }

.zt-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; }
.zt-price__now { font-family: var(--zt-font-display); font-size: 1.55rem; font-weight: 700; color: var(--zt-ink); }
.zt-price__old { color: var(--zt-muted); font-size: .95rem; }
.zt-price__usd { font-size: .9rem; color: var(--zt-muted); }
.zt-price__note { flex-basis: 100%; font-size: .82rem; color: var(--zt-emerald); font-weight: 700; }

.zt-checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.zt-checklist li { position: relative; padding-inline-start: 1.8em; margin-bottom: .45em; }
.zt-checklist li::before {
	content: "✓"; position: absolute; inset-inline-start: 0; top: .1em;
	width: 1.3em; height: 1.3em; border-radius: 50%; display: grid; place-items: center;
	background: var(--zt-cyan-50); color: var(--zt-cyan-600); font-size: .8em; font-weight: 800;
}
.zt-checklist--sm { font-size: .92rem; }

/* ============ Hero ============ */
.zt-hero {
	background: radial-gradient(1000px 600px at 85% -10%, rgba(23, 179, 199, .35), transparent 60%),
		radial-gradient(800px 500px at 0% 110%, rgba(244, 166, 42, .18), transparent 60%), var(--zt-ink);
	color: #fff; padding-block: clamp(60px, 10vw, 130px); overflow: hidden;
}
.zt-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; }
.zt-hero__title { font-size: clamp(2.2rem, 5.6vw, 4rem); margin: 1rem 0; line-height: 1.25; }
.zt-hero__text { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 40ch; }
.zt-hero__chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.zt-hero__chips li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); padding: .35em .9em; border-radius: 999px; font-size: .9rem; }
.zt-hero__chips strong { color: var(--zt-amber); }
.zt-hero__img { border-radius: 32px; box-shadow: var(--zt-shadow-lg); }
.zt-hero__orb {
	position: relative; aspect-ratio: 1; max-width: 420px; margin-inline: auto; border-radius: 50%;
	display: grid; place-items: center;
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), transparent 40%),
		linear-gradient(145deg, var(--zt-cyan), var(--zt-plum-2));
	box-shadow: 0 30px 80px -20px rgba(23, 179, 199, .6);
}
.zt-hero__orb .zt-logo-mark { width: 40%; height: 40%; color: #fff; }
.zt-hero__orb-ring { position: absolute; inset: -18px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 50%; animation: zt-spin 40s linear infinite; }
.zt-hero__orb-ring--2 { inset: -44px; border-color: rgba(244, 166, 42, .3); animation-duration: 70s; animation-direction: reverse; }
@keyframes zt-spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
	.zt-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.zt-hero__text { margin-inline: auto; }
	.zt-hero .zt-actions, .zt-hero__chips { justify-content: center; }
	.zt-hero__visual { order: -1; max-width: 260px; margin-inline: auto; }
}

/* ============ About ============ */
.zt-about { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zt-about__photo { margin: 0; }
.zt-about__photo img, .zt-about__placeholder { border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--zt-shadow-lg); }
.zt-about__placeholder { display: grid; place-items: center; background: linear-gradient(160deg, var(--zt-cyan), var(--zt-emerald)); color: #fff; }
.zt-about__placeholder .zt-logo-mark { width: 30%; height: auto; color: #fff; }
.zt-about__name { font-size: 1.8rem; }
.zt-method { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 1.5rem; }
.zt-method div { background: #fff; border-radius: 14px; padding: 1rem .75rem; text-align: center; box-shadow: var(--zt-shadow); }
.zt-method strong { display: block; font-family: var(--zt-font-display); font-size: 1.4rem; color: var(--zt-cyan); }
.zt-method span { font-size: .88rem; font-weight: 700; }
@media (max-width: 860px) {
	.zt-about { grid-template-columns: 1fr; }
	.zt-about__photo { max-width: 320px; margin-inline: auto; }
	.zt-method { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Trust ============ */
.zt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.zt-stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--zt-radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.zt-stat__num { display: block; font-family: var(--zt-font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--zt-amber); line-height: 1.3; }
.zt-stat__label { font-size: .95rem; opacity: .85; }
.zt-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.zt-video { margin: 0; }
.zt-video__frame { aspect-ratio: 16 / 9; border-radius: var(--zt-radius); overflow: hidden; background: var(--zt-ink-2); }
.zt-video__frame iframe { width: 100%; height: 100%; }
.zt-video__frame--empty { display: grid; place-items: center; font-size: 2.5rem; color: rgba(255, 255, 255, .3); border: 1px dashed rgba(255, 255, 255, .15); }
.zt-video figcaption { margin-top: .6rem; font-weight: 700; text-align: center; }
.zt-partners { margin-top: 3rem; text-align: center; }
.zt-partners__label { display: block; font-size: .85rem; opacity: .7; margin-bottom: 1rem; }
.zt-partners ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.zt-partners li { padding: .55em 1.2em; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; font-weight: 700; font-size: .92rem; }
@media (max-width: 760px) {
	.zt-stats { grid-template-columns: repeat(2, 1fr); }
	.zt-videos { grid-template-columns: 1fr; }
}

/* ============ Circles ============ */
.zt-circles { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
.zt-circles__nav { display: flex; flex-direction: column; gap: 1rem; }
.zt-circle {
	width: 150px; height: 150px; border-radius: 50%; border: 3px solid transparent; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
	font-weight: 800; color: #fff; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.zt-circle--academy { background: linear-gradient(145deg, var(--zt-cyan), var(--zt-cyan-600)); }
.zt-circle--products { background: linear-gradient(145deg, var(--zt-plum-2), var(--zt-plum)); }
.zt-circle--kids { background: linear-gradient(145deg, var(--zt-emerald), #0b6b54); }
.zt-circle__icon { font-size: 2rem; }
.zt-circle:hover { transform: scale(1.05); }
.zt-circle[aria-pressed="true"] { border-color: var(--zt-amber); box-shadow: 0 0 0 6px rgba(244, 166, 42, .25); }
.zt-circle-preview__title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-top: .75rem; }
.zt-circle-preview { transition: box-shadow .3s; }
.zt-circle-preview.is-pulse { animation: zt-pulse .6s ease; }
@keyframes zt-pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 179, 199, .5); } 100% { box-shadow: 0 0 0 14px rgba(23, 179, 199, 0); } }
@media (max-width: 760px) {
	.zt-circles { grid-template-columns: 1fr; }
	.zt-circles__nav { flex-direction: row; justify-content: center; }
	.zt-circle { width: 100px; height: 100px; font-size: .8rem; }
	.zt-circle__icon { font-size: 1.5rem; }
}

/* ============ Emotion machine ============ */
.zt-machine {
	display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
	background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 28px; padding: clamp(1.25rem, 4vw, 2.5rem);
}
.zt-field { display: block; margin-bottom: 1rem; }
.zt-field span { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.zt-field input, .zt-field select, .zt-burn textarea {
	width: 100%; padding: .75em 1em; border-radius: 12px; border: 1.5px solid var(--zt-line); background: #fff; color: var(--zt-text);
}
.zt-field input:focus, .zt-field select:focus, .zt-burn textarea:focus { border-color: var(--zt-cyan); outline: none; box-shadow: 0 0 0 4px rgba(23, 179, 199, .15); }
.zt-machine__ask { font-weight: 700; margin-top: 1.5rem; }
.zt-machine__buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.tactile-btn {
	display: flex; align-items: center; gap: .6rem; padding: 1rem; border-radius: 14px; cursor: pointer; text-align: start;
	background: linear-gradient(180deg, #fff, #f1e9f0); color: var(--zt-plum); font-weight: 800; border: 0;
	box-shadow: 0 6px 0 #c9a8c3, 0 10px 20px rgba(0, 0, 0, .2); transition: transform .1s, box-shadow .1s;
}
.tactile-btn span { font-size: 1.4rem; }
.tactile-btn:hover { transform: translateY(-1px); }
.tactile-btn.is-pressed, .tactile-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 #c9a8c3, 0 3px 8px rgba(0, 0, 0, .2); background: linear-gradient(180deg, #ffe7bc, #ffd68a); }
.zt-machine__status { margin-top: 1.25rem; font-family: ui-monospace, monospace; font-size: .9rem; color: var(--zt-amber); }
.zt-machine__slot { position: relative; min-height: 320px; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px; }
.zt-machine__slot::before { content: ""; position: absolute; top: 0; inset-inline: 8%; height: 12px; background: #1b0b19; border-radius: 8px; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.zt-receipt-placeholder { margin-top: 3rem; opacity: .6; font-style: italic; }
.zt-receipt {
	width: 100%; max-width: 380px; background: #fffdf7; color: var(--zt-text); padding: 1.5rem 1.4rem 1.2rem;
	font-size: .95rem; position: relative; box-shadow: var(--zt-shadow-lg);
	animation: zt-print .8s cubic-bezier(.2, .8, .2, 1);
	-webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
	mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
	padding-bottom: 1.8rem;
}
@keyframes zt-print { from { transform: translateY(-60%); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
.zt-receipt__head { display: flex; justify-content: space-between; font-family: ui-monospace, monospace; font-size: .8rem; color: var(--zt-muted); border-bottom: 2px dashed var(--zt-line); padding-bottom: .5rem; margin-bottom: .75rem; }
.zt-receipt h3 { color: var(--zt-plum); font-size: 1.3rem; }
.zt-receipt__for { font-weight: 700; }
.zt-receipt dt { font-weight: 800; color: var(--zt-cyan-600); font-size: .85rem; }
.zt-receipt dd { margin: 0 0 .8rem; }
.zt-receipt__pay { margin: .9rem 0 0; font-size: .85rem; color: var(--zt-muted); text-align: center; }
@media (max-width: 860px) {
	.zt-machine { grid-template-columns: 1fr; }
	.zt-machine__buttons { grid-template-columns: 1fr; }
}

/* ============ Services / session ============ */
.zt-session {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start;
	background: #fff; border-radius: 28px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--zt-shadow-lg);
	border-top: 6px solid var(--zt-amber); scroll-margin-top: 100px;
}
.zt-session__title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: .5rem; }
.zt-session__form { background: var(--zt-cream); box-shadow: none; }
.zt-session__form h4 { font-size: 1.2rem; }
@media (max-width: 860px) { .zt-session { grid-template-columns: 1fr; } }

/* Dark sections: cards keep light text color. */
.zt-section--cyan .zt-card, .zt-section--emerald .zt-card { color: var(--zt-text); }

/* ============ Kids box ============ */
.zt-box {
	display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 28px; padding: clamp(1.25rem, 4vw, 2.5rem);
}
.zt-box h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: .5rem; }
.zt-box .zt-price__now { color: #fff; font-size: 2.2rem; }
.zt-box .zt-price__old, .zt-box .zt-price__note { color: rgba(255, 255, 255, .8); }
.zt-box__items { list-style: none; counter-reset: zt; margin: 0; padding: 0; display: grid; gap: .75rem; }
.zt-box__items li {
	counter-increment: zt; background: #fff; color: var(--zt-text); border-radius: 14px; padding: .9rem 1rem;
	display: flex; gap: .8rem; align-items: center; font-weight: 700; box-shadow: var(--zt-shadow);
}
.zt-box__items li::before {
	content: counter(zt); flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
	background: var(--zt-amber); color: var(--zt-ink); font-weight: 800;
}
.zt-box__items li:last-child::before { content: "🎁"; background: #ffe7bc; }
@media (max-width: 860px) { .zt-box { grid-template-columns: 1fr; } }

/* ============ Testimonials ============ */
.zt-marquee {
	display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: .5rem var(--zt-gutter) 1.5rem; scrollbar-width: thin;
}
.zt-quote {
	flex: 0 0 min(85vw, 380px); scroll-snap-align: center; margin: 0;
	background: var(--zt-cream); border-radius: var(--zt-radius); padding: 1.6rem; position: relative;
}
.zt-quote::before { content: "”"; position: absolute; top: -.2em; inset-inline-end: .4em; font-size: 5rem; color: var(--zt-cyan); opacity: .25; font-family: serif; }
.zt-quote blockquote { margin: 0 0 1rem; }
.zt-quote figcaption { display: flex; align-items: center; gap: .75rem; }
.zt-quote figcaption span { display: flex; flex-direction: column; line-height: 1.4; }
.zt-quote small { color: var(--zt-muted); }
.zt-quote__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ============ Daily card + burn ============ */
.zt-flip { perspective: 1400px; min-height: 340px; }
.zt-flip__inner { position: relative; width: 100%; height: 100%; min-height: 340px; transition: transform .8s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.zt-flip__inner.is-flipped { transform: rotateY(180deg); }
.zt-flip__face {
	position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
	border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	box-shadow: var(--zt-shadow-lg);
}
.zt-flip__front {
	border: 0; cursor: pointer; color: #fff; gap: .5rem;
	background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px), linear-gradient(145deg, var(--zt-plum-2), var(--zt-ink));
}
.zt-flip__front strong { font-family: var(--zt-font-display); font-size: 1.6rem; }
.zt-flip__icon { font-size: 4rem; line-height: 1; }
.zt-flip__back { background: #fff; transform: rotateY(180deg); border: 3px solid var(--zt-amber); }
.zt-flip__question { font-family: var(--zt-font-display); font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--zt-ink); }
.zt-burn h3 { font-size: 1.4rem; }
.zt-burn textarea { resize: vertical; margin-bottom: 1rem; transition: opacity 1s, filter 1s, transform 1s; }
.zt-burn textarea.is-burning {
	animation: zt-burn 1.1s ease forwards;
	background: linear-gradient(0deg, #ff7a18, #ffb347 40%, #fff 80%); background-size: 100% 300%;
}
@keyframes zt-burn {
	0% { background-position: 0 100%; filter: none; }
	60% { background-position: 0 0; filter: sepia(1) saturate(4) blur(1px); }
	100% { opacity: 0; transform: translateY(-20px) scale(.97); filter: blur(4px); }
}
.zt-burn__feedback { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: #e8f7f1; color: #0b6b54; font-weight: 700; text-align: center; }

/* ============ Community ============ */
.zt-event { display: flex; gap: 1.25rem; align-items: flex-start; }
.zt-event__when {
	flex: none; width: 110px; text-align: center; border-radius: 16px; padding: 1rem .5rem;
	background: linear-gradient(160deg, var(--zt-cyan), var(--zt-cyan-600)); color: #fff;
}
.zt-event__when strong { display: block; font-family: var(--zt-font-display); font-size: 1.05rem; }
.zt-event__when span { font-size: .9rem; }
.zt-event__title { font-size: 1.2rem; }
.zt-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 2.5rem 0 2rem; }
.zt-chips a { display: block; padding: .4em 1.1em; border-radius: 999px; background: #fff; border: 1px solid var(--zt-line); color: var(--zt-ink); font-weight: 700; font-size: .92rem; }
.zt-chips a:hover, .zt-chips a[aria-current="page"] { background: var(--zt-ink); color: #fff; border-color: var(--zt-ink); }
@media (max-width: 520px) { .zt-event { flex-direction: column; } .zt-event__when { width: 100%; } }

/* ============ Payment ============ */
.zt-instapay { font-size: 1.4rem; font-weight: 800; color: var(--zt-amber); direction: ltr; text-align: end; }
.zt-table { width: 100%; border-collapse: collapse; }
.zt-table th, .zt-table td { padding: .8rem .5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: start; }
.zt-table td { font-weight: 800; color: var(--zt-amber); }

/* ============ FAQ ============ */
.zt-faq { display: grid; gap: .75rem; }
.zt-faq__item { background: var(--zt-cream); border-radius: 14px; border: 1px solid var(--zt-line); }
.zt-faq__item summary {
	list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 800; display: flex; justify-content: space-between; gap: 1rem;
}
.zt-faq__item summary::-webkit-details-marker { display: none; }
.zt-faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--zt-cyan-600); transition: transform .2s; }
.zt-faq__item[open] summary::after { transform: rotate(45deg); }
.zt-faq__answer { padding: 0 1.25rem 1.1rem; color: var(--zt-muted); }
.zt-faq__answer p:last-child { margin: 0; }

/* ============ Gifts ============ */
.zt-gift { text-align: center; }
.zt-gift__icon { font-size: 2.6rem; display: block; margin-bottom: .5rem; }
.zt-gift h3 { font-size: 1.35rem; }

/* ============ Footer ============ */
.zt-footer { background: #071a22; color: rgba(255, 255, 255, .78); padding-top: 4rem; font-size: .95rem; }
.zt-footer a { color: rgba(255, 255, 255, .85); }
.zt-footer a:hover { color: var(--zt-amber); }
.zt-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2rem; }
.zt-footer__brand p { margin-top: 1rem; }
.zt-footer__title { font-size: 1.05rem; color: #fff; margin-bottom: 1rem; }
.zt-footer__menu, .zt-footer .zt-menu, .zt-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.zt-footer .zt-menu { flex-direction: column; display: grid; }
.zt-footer .zt-menu a { padding: 0; background: none; }
.zt-footer__disclaimer { font-size: .88rem; opacity: .8; }
.zt-footer__bottom { margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; text-align: center; }
@media (max-width: 900px) { .zt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .zt-footer__grid { grid-template-columns: 1fr; } }

.zt-wa-float {
	position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: var(--zt-wa); color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
	transition: transform .2s;
}
.zt-wa-float:hover { transform: scale(1.08); color: #fff; }
.zt-wa-float svg { width: 30px; height: 30px; }

/* ============ Inner pages ============ */
.zt-page-hero { background: linear-gradient(160deg, var(--zt-ink), var(--zt-ink-2)); color: #fff; padding-block: clamp(48px, 8vw, 90px); text-align: center; }
.zt-page-hero__title { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.zt-page-hero .zt-lead { color: rgba(255, 255, 255, .8); max-width: 700px; margin-inline: auto; }
.zt-page-hero .zt-offer__meta, .zt-page-hero .zt-offer__meta a { color: rgba(255, 255, 255, .75); }
.zt-page-hero .zt-chips { margin-bottom: 0; }
.zt-crumbs { font-size: .88rem; opacity: .75; margin-bottom: .75rem; display: flex; gap: .4rem; justify-content: center; }
.zt-crumbs a { color: #fff; }

.zt-single { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.zt-single__aside { position: sticky; top: 100px; display: grid; gap: 1rem; }
@media (max-width: 900px) { .zt-single { grid-template-columns: 1fr; } .zt-single__aside { position: static; } }

.zt-entry { font-size: 1.08rem; }
.zt-entry > * + * { margin-top: 1.1em; }
.zt-entry h2 { font-size: 1.7rem; margin-top: 2em; }
.zt-entry h3 { font-size: 1.35rem; margin-top: 1.6em; }
.zt-entry img { border-radius: 14px; }
.zt-entry blockquote { margin-inline: 0; padding: 1rem 1.5rem; border-inline-start: 4px solid var(--zt-cyan); background: var(--zt-cream); border-radius: 10px; }
.zt-entry__media { margin: 0 0 2rem; }
.zt-entry ul:not(.zt-checklist), .zt-entry ol { padding-inline-start: 1.4em; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--zt-muted); }

.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.nav-links .page-numbers { padding: .45em .95em; border-radius: 10px; border: 1px solid var(--zt-line); color: var(--zt-ink); }
.nav-links .page-numbers.current { background: var(--zt-ink); color: #fff; border-color: var(--zt-ink); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation small { display: block; color: var(--zt-muted); }

.zt-empty { text-align: center; padding: 3rem 0; }
.search-form { display: flex; gap: .5rem; max-width: 460px; margin: 1rem auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: .7em 1em; border-radius: 999px; border: 1.5px solid var(--zt-line); }
.search-submit { padding: .7em 1.3em; border-radius: 999px; border: 0; background: var(--zt-cyan); color: #fff; font-weight: 700; cursor: pointer; }
.zt-404__code { font-family: var(--zt-font-display); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--zt-cyan); margin: 0; }
.zt-admin-hint { padding: 1rem; border: 2px dashed var(--zt-amber); border-radius: 12px; text-align: center; color: var(--zt-muted); }

.zt-comments { margin-top: 3rem; }
.zt-comments__list { list-style: none; padding: 0; }
.zt-comments__list .comment-body { padding: 1rem; border-radius: 12px; background: var(--zt-cream); margin-bottom: 1rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .7em 1em; border: 1.5px solid var(--zt-line); border-radius: 12px;
}
.comment-form .submit { padding: .75em 1.5em; border-radius: 999px; border: 0; background: var(--zt-ink); color: #fff; font-weight: 700; cursor: pointer; }

/* ============ About page (page-about.php) ============ */
.zt-section--tight { padding-block: clamp(32px, 5vw, 56px); }
.zt-founder-hero__role { color: var(--zt-amber); font-weight: 700; font-size: 1.1rem; margin-top: -.25rem; }
.zt-founder-hero__photo { margin: 0; max-width: 400px; margin-inline: auto; width: 100%; }
.zt-founder-hero__photo img, .zt-founder-hero__photo .zt-about__placeholder {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 28px 28px;
	border: 6px solid rgba(255, 255, 255, .08); box-shadow: var(--zt-shadow-lg);
}
.zt-founder-story { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.zt-founder-story .zt-section-title { text-align: start; }
.zt-founder-story aside { position: sticky; top: 100px; }
.zt-founder-quote {
	margin: 2rem 0 0; padding: 1.5rem 1.75rem; border-radius: var(--zt-radius);
	background: linear-gradient(160deg, var(--zt-plum-2), var(--zt-plum)); color: #fff;
}
.zt-founder-quote p { font-family: var(--zt-font-display); font-size: 1.3rem; margin-bottom: .5rem; }
.zt-founder-quote cite { font-style: normal; color: var(--zt-amber); font-weight: 700; }
@media (max-width: 860px) {
	.zt-founder-story { grid-template-columns: 1fr; }
	.zt-founder-story aside { position: static; }
	.zt-founder-hero__photo { max-width: 280px; }
}

.zt-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.zt-timeline::before { content: ""; position: absolute; inset-block: .5rem; inset-inline-start: 11px; width: 2px; background: linear-gradient(var(--zt-cyan), var(--zt-amber)); }
.zt-timeline li { position: relative; padding-inline-start: 3rem; padding-bottom: 1.75rem; }
.zt-timeline li::before {
	content: ""; position: absolute; inset-inline-start: 4px; top: .45rem; width: 16px; height: 16px; border-radius: 50%;
	background: #fff; border: 4px solid var(--zt-cyan);
}
.zt-timeline__year { display: inline-block; font-family: var(--zt-font-display); font-weight: 700; font-size: 1.25rem; color: var(--zt-cyan-600); }
.zt-timeline p { margin: 0; font-weight: 500; }

.zt-achieve { text-align: center; }
.zt-achieve .zt-checklist { text-align: start; }
.zt-achieve__num { font-family: var(--zt-font-display); font-size: 2rem; color: var(--zt-amber-600); }

/* ============ Block pages (front page / template-blocks.php) ============ */
/* Core blocks placed between Zaintopia sections get a readable container. */
.zt-blocks > :not(section):not(.alignfull):not(.alignwide) {
	max-width: var(--zt-container);
	margin-inline: auto;
	padding-inline: var(--zt-gutter);
}
.zt-blocks > .alignwide { padding-inline: var(--zt-gutter); }
.zt-blocks > :not(section):first-child { margin-top: var(--zt-section-y); }
.zt-blocks > :not(section):last-child { margin-bottom: var(--zt-section-y); }

/* ============ Reveal ============ */
.zt-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.zt-reveal.is-visible { opacity: 1; transform: none; }
.no-js .zt-reveal { opacity: 1; transform: none; }

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