/* ZaClinic theme — base (from approved mockup) */

/* ============ ZaClinic landing — design tokens ============ */
:root {
  --c-brand-50: #eef5ff;
  --c-brand-100: #dbe9ff;
  --c-brand-500: #1f7bff;
  --c-brand-600: #1565e8;
  --c-brand-700: #0d4fc4;
  --c-navy: #142a4d;
  --c-text: #243553;
  --c-muted: #5b6b86;
  --c-line: #e1e9f5;
  --c-tint: #f4f8ff;
  --c-ok: #15803d;
  --radius: 20px;
  --shadow-sm: 0 6px 24px rgba(20, 42, 77, .06);
  --shadow-md: 0 16px 48px rgba(21, 101, 232, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--c-text);
  line-height: 1.75; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Arabic: headings = Almarai, text = Tajawal. English: Poppins. */
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] summary {
  font-family: "Tajawal", system-ui, sans-serif;
}
html[lang="ar"] body { font-size: 17px; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .kicker, html[lang="ar"] .chip {
  font-family: "Almarai", "Tajawal", system-ui, sans-serif;
}
html[lang="en"] body, html[lang="en"] button, html[lang="en"] input, html[lang="en"] summary,
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4,
html[lang="en"] .kicker, html[lang="en"] .chip {
  font-family: "Poppins", system-ui, sans-serif;
}
html[lang="en"] body { font-size: 16px; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 { letter-spacing: -.01em; }

h1, h2, h3, h4 { color: var(--c-navy); margin: 0; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--c-brand-500); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
section[id] { scroll-margin-top: 84px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1.06rem; border-radius: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
  color: #fff; box-shadow: 0 10px 26px rgba(21, 101, 232, .3);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(21, 101, 232, .4); }
.btn-ghost { background: #fff; color: var(--c-brand-700); border-color: var(--c-brand-100); }
.btn-ghost:hover { border-color: var(--c-brand-500); background: var(--c-brand-50); }
.btn-white { background: #fff; color: var(--c-brand-700); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-img { display: block; height: 50px; width: auto; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-weight: 500; color: var(--c-text); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--c-line);
  background: #fff; color: var(--c-navy); font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.lang-toggle:hover { border-color: var(--c-brand-500); background: var(--c-brand-50); }

/* ============ Hero ============ */
.hero {
  padding: 72px 0 96px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(31, 123, 255, .14), transparent 60%),
    radial-gradient(700px 380px at 0% 20%, rgba(6, 182, 212, .10), transparent 60%),
    #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px;
  background: var(--c-brand-50); color: var(--c-brand-700); border: 1px solid var(--c-brand-100);
  border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #06b6d4; box-shadow: 0 0 0 0 rgba(6, 182, 212, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(6, 182, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); } }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.2; }
.hero .sub { margin-top: 20px; font-size: 1.15rem; color: var(--c-muted); max-width: 34em; line-height: 1.9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-micro { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--c-muted); font-size: .93rem; }
.hero-micro > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-micro svg { color: var(--c-ok); flex: 0 0 auto; }

/* Hero product mock */
.hero-visual { position: relative; padding: 18px; }
.hero-card { background: #fff; border: 1px solid var(--c-line); border-radius: 22px; box-shadow: 0 30px 80px rgba(21, 101, 232, .18); overflow: hidden; }
.hero-card-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f6f9ff; border-bottom: 1px solid var(--c-line); }
.hero-card-top i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.hero-card-top i:nth-child(2) { background: #ffd166; }
.hero-card-top i:nth-child(3) { background: #4cd490; }
.hero-card-top .url { margin-inline-start: auto; direction: ltr; font-size: .78rem; color: var(--c-muted); background: #fff; border: 1px solid var(--c-line); padding: 3px 12px; border-radius: 999px; font-family: "Poppins", sans-serif; }
.hero-card-body { padding: 18px; display: grid; gap: 12px; }
.hb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hb-stat { background: var(--c-brand-50); border-radius: 14px; padding: 12px 8px; text-align: center; }
.hb-stat b { display: block; font-size: 1.45rem; font-weight: 800; color: var(--c-brand-700); line-height: 1.3; font-family: "Poppins", sans-serif; }
.hb-stat small { display: block; font-size: .74rem; color: var(--c-muted); line-height: 1.4; }
.hb-appt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 14px; }
.hb-appt .av { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700)); font-family: "Poppins", sans-serif; }
.hb-appt .t { flex: 1; min-width: 0; }
.hb-appt .t b { display: block; color: var(--c-navy); font-size: .96rem; line-height: 1.4; }
.hb-appt .t small { color: var(--c-muted); font-size: .8rem; }
.hb-appt .tag { flex: 0 0 auto; padding: 3px 11px; border-radius: 999px; background: #e8f7ee; color: var(--c-ok); font-size: .76rem; font-weight: 700; }
.hb-appt .tag.warn { background: #fff3dc; color: #b45309; }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 8px; background: #fff;
  padding: 10px 16px; border-radius: 14px; box-shadow: 0 14px 40px rgba(20, 42, 77, .16);
  font-weight: 700; font-size: .86rem; color: var(--c-navy); border: 1px solid var(--c-line);
}
.hero-float svg { color: var(--c-ok); }
.hero-float.f1 { top: 0; inset-inline-end: 0; animation: float 5s ease-in-out infinite; }
.hero-float.f2 { bottom: 0; inset-inline-start: 0; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section.tint { background: var(--c-tint); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.kicker { display: inline-block; padding: 5px 16px; margin-bottom: 14px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-600); font-weight: 800; font-size: .86rem; letter-spacing: .04em; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--c-muted); font-size: 1.05rem; line-height: 1.95; }
.stat-highlight {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700)); color: #fff;
  font-weight: 700; font-size: 1.08rem; box-shadow: 0 10px 28px rgba(21, 101, 232, .28);
}
.placeholder { display: inline-block; padding: 6px 14px; border: 1.5px dashed #f0b429; background: #fff8e1; color: #92660a; border-radius: 10px; font-size: .86rem; }

/* Feature cards */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-brand-100); }
.pain-card .num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700)); font-family: "Poppins", sans-serif; }
.pain-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pain-card p { color: var(--c-muted); font-size: .97rem; line-height: 1.85; }
.pain-card .result { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--c-line); color: var(--c-ok); font-weight: 700; font-size: .92rem; line-height: 1.6; }
.pain-card .result svg { flex: 0 0 auto; margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; counter-increment: step; background: var(--c-tint); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px 24px 26px; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--c-brand-600); color: #fff; font-weight: 800; font-size: 1.1rem; font-family: "Poppins", sans-serif; box-shadow: 0 8px 20px rgba(21, 101, 232, .3); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: .95rem; }

/* Segments */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seg { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.seg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.seg.hot { border: 2px solid var(--c-brand-500); box-shadow: var(--shadow-md); }
.seg .chip { position: absolute; top: -14px; inset-inline-start: 24px; padding: 4px 14px; border-radius: 999px; background: var(--c-brand-600); color: #fff; font-size: .78rem; font-weight: 700; }
.seg h3 { font-size: 1.2rem; margin-bottom: 8px; }
.seg p { color: var(--c-muted); }

/* Testimonials */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tst .quote { color: var(--c-navy); font-size: 1.03rem; line-height: 1.95; }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.tst .av { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-100); color: var(--c-brand-700); font-weight: 800; }
.tst .who b { display: block; color: var(--c-navy); line-height: 1.4; }
.tst .who small { color: var(--c-muted); font-size: .85rem; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--c-brand-100); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--c-navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-50); color: var(--c-brand-600); font-size: 1.3rem; font-weight: 500; line-height: 1; font-family: "Poppins", sans-serif; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--c-brand-600); color: #fff; }
.faq .a { padding: 0 22px 20px; color: var(--c-muted); line-height: 1.95; }
.faq > p { margin-top: 22px; }

/* Final CTA */
.final {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 68px 28px; border-radius: 28px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(6, 182, 212, .35), transparent 60%), linear-gradient(135deg, var(--c-navy), var(--c-brand-700));
  box-shadow: 0 30px 80px rgba(13, 79, 196, .28);
}
.final h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.final p { max-width: 620px; margin: 14px auto 0; color: rgba(255, 255, 255, .86); font-size: 1.08rem; line-height: 1.9; }
.final .hero-ctas { justify-content: center; margin-top: 30px; }
.final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.final .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ============ Footer ============ */
.footer { background: var(--c-tint); border-top: 1px solid var(--c-line); padding: 64px 0 26px; color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; align-items: start; }
.footer .logo-img { height: 58px; }
.footer p { margin-top: 16px; color: var(--c-muted); max-width: 28em; }
.footer h4 { font-size: 1.05rem; margin-bottom: 16px; }
.footer-grid > div > a { display: block; padding: 5px 0; color: var(--c-muted); transition: color .15s; }
.footer-grid > div > a:hover { color: var(--c-brand-600); }
.footer .social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer .social a {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-navy);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.footer .social a:hover { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; transform: translateY(-3px); }
.footer .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer .contact-list li { display: flex; align-items: center; gap: 12px; }
.footer .contact-list .ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--c-line); color: var(--c-brand-600); }
.footer .contact-list a { color: var(--c-navy); font-weight: 600; font-family: "Poppins", sans-serif; unicode-bidi: isolate; }
.footer .contact-list a:hover { color: var(--c-brand-600); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: .9rem; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .pain-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .seg-grid, .tst-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .nav-inner { min-height: 68px; gap: 12px; }
  .logo-img { height: 36px; }
  .nav-cta .btn-ghost { display: none; }
  .pain-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { padding: 12px 6px; }
  .final { padding: 48px 20px; border-radius: 22px; }
}

/* inner pages */

/* ================= INNER PAGES — additions ================= */
main[data-page] { display: none; }
main[data-page].active { display: block; }
.arr { flex: 0 0 auto; }
html[dir="rtl"] .arr { transform: scaleX(-1); }
.nav-links a.active { background: var(--c-brand-50); color: var(--c-brand-700); font-weight: 700; }
.nav-links a { white-space: nowrap; }

/* mobile menu */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-navy); cursor: pointer; place-items: center; }
.mobile-menu { display: none; border-top: 1px solid var(--c-line); background: #fff; padding: 10px 0 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 8px; font-weight: 700; color: var(--c-navy); border-bottom: 1px solid var(--c-line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* preview switcher (preview only — not part of the theme) */
.pv-btn { position: fixed; inset-block-end: 18px; inset-inline-start: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer; background: var(--c-navy); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 14px 40px rgba(20, 42, 77, .35); }
.pv-panel { position: fixed; inset-block-end: 74px; inset-inline-start: 18px; z-index: 90; width: min(330px, calc(100vw - 36px)); max-height: 72vh; overflow: auto; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 24px 70px rgba(20, 42, 77, .3); padding: 10px; display: none; }
.pv-panel.open { display: block; }
.pv-panel h5 { margin: 10px 12px 4px; font-size: .78rem; letter-spacing: .06em; color: var(--c-muted); font-family: inherit; }
.pv-panel a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 600; color: var(--c-navy); font-size: .95rem; }
.pv-panel a:hover { background: var(--c-tint); }
.pv-panel a.active { background: var(--c-brand-50); color: var(--c-brand-700); }
.pv-panel a em { font-style: normal; font-size: .72rem; background: #06b6d4; color: #fff; padding: 1px 8px; border-radius: 999px; }

/* inner page hero */
.page-hero { padding: 52px 0 46px; text-align: center; border-bottom: 1px solid var(--c-line); background: radial-gradient(800px 320px at 85% -20%, rgba(31, 123, 255, .13), transparent 60%), radial-gradient(600px 300px at 0% 10%, rgba(6, 182, 212, .09), transparent 60%), var(--c-tint); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.page-hero .lead { margin: 14px auto 0; max-width: 680px; color: var(--c-muted); font-size: 1.1rem; line-height: 1.95; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: .9rem; color: var(--c-muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--c-brand-600); }
.crumbs .sep { opacity: .45; }
.page-hero.start { text-align: start; }
.page-hero.start .crumbs { justify-content: flex-start; }
.page-hero.start .lead { margin-inline: 0; }
.note { margin-top: 16px; }

/* packages cards */
.seg { display: flex; flex-direction: column; }
.seg .for { display: inline-block; align-self: flex-start; margin-bottom: 10px; color: var(--c-brand-600); font-weight: 800; font-size: .86rem; }
.seg .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 16px 0 2px; color: var(--c-navy); }
.seg .price small { color: var(--c-muted); font-size: .9rem; }
.seg .price b { font-size: 2.1rem; font-weight: 800; font-family: "Poppins", sans-serif; line-height: 1.2; }
.seg ul.mini { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.seg ul.mini li { display: flex; gap: 9px; align-items: flex-start; font-size: .96rem; color: var(--c-text); }
.seg ul.mini svg { color: var(--c-ok); flex: none; margin-top: 5px; }
.seg .more { margin-top: auto; padding-top: 24px; }
.seg .more .btn { width: 100%; }

/* package detail */
.pk-hero { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.pk-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.badge { display: inline-flex; padding: 5px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--c-brand-100); color: var(--c-brand-700); font-weight: 800; font-size: .86rem; margin-bottom: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; font-weight: 700; color: var(--c-navy); font-size: .93rem; }
.fact svg { color: var(--c-brand-600); }
.price-card { background: #fff; border: 1px solid var(--c-line); border-radius: 24px; box-shadow: var(--shadow-md); padding: 28px; }
.price-card .from { color: var(--c-muted); font-weight: 700; font-size: .92rem; }
.price-card .amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.price-card .amount b { font-size: 3rem; font-weight: 800; color: var(--c-navy); font-family: "Poppins", sans-serif; line-height: 1.15; }
.price-card .amount span { color: var(--c-muted); }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; padding-top: 18px; border-top: 1px dashed var(--c-line); }
.price-card li { display: flex; gap: 9px; align-items: flex-start; font-size: .96rem; }
.price-card li svg { color: var(--c-ok); flex: none; margin-top: 5px; }
.price-card .btn { width: 100%; }
.price-card .btn + .btn { margin-top: 10px; }
.price-card small { display: block; text-align: center; margin-top: 14px; color: var(--c-muted); font-size: .86rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feat .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-brand-50); color: var(--c-brand-600); }
.feat h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feat p { color: var(--c-muted); font-size: .93rem; line-height: 1.75; }
.tagv { display: inline-block; margin-inline-start: 8px; padding: 1px 10px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: .76rem; font-weight: 800; vertical-align: middle; }
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; }
.spec th, .spec td { padding: 14px 20px; text-align: start; border-bottom: 1px solid var(--c-line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 42%; background: var(--c-tint); color: var(--c-navy); font-weight: 700; }
.spec .yes { color: var(--c-ok); display: inline-flex; } .spec .no { color: #b6c0d1; }
.table-wrap { overflow-x: auto; border-radius: 18px; }
.cmp th, .cmp td { text-align: center; } .cmp th:first-child, .cmp td:first-child { text-align: start; }
.cmp thead th { background: var(--c-navy); color: #fff; font-family: inherit; width: auto; }
.cmp thead th:first-child { background: var(--c-navy); }
.cmp td.hl, .cmp th.hl { background: var(--c-brand-50); }
.cmp thead th.hl { background: var(--c-brand-600); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.seg-grid.two-up { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 900px) { .seg-grid.two-up { grid-template-columns: 1fr; } }

/* forms */
.book-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.book-side { background: linear-gradient(135deg, var(--c-navy), var(--c-brand-700)); color: #fff; border-radius: 24px; padding: 32px 28px; position: sticky; top: 100px; }
.book-side h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.book-side p { color: rgba(255, 255, 255, .86); line-height: 1.9; }
.book-side .sum { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 10px; }
.book-side .sum div { display: flex; justify-content: space-between; gap: 12px; }
.book-side .sum b { color: #fff; }
.book-side ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.book-side li { display: flex; gap: 9px; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.book-side li svg { color: #7ee2f2; flex: none; margin-top: 5px; }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card .hint { color: var(--c-muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--c-navy); font-size: .94rem; }
.field label i { color: #d64545; font-style: normal; margin-inline-start: 4px; }
.field input, .field select, .field textarea { font: inherit; color: var(--c-text); background: #fff; border: 1.5px solid var(--c-line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(31, 123, 255, .14); }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--c-muted); font-size: .92rem; }
.check input { margin-top: 6px; accent-color: var(--c-brand-600); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-actions small { color: var(--c-muted); }
.form-ok { display: none; text-align: center; padding: 34px 10px; }
.form-ok .okc { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e8f7ee; color: var(--c-ok); }
.form-ok p { color: var(--c-muted); margin: 8px 0 20px; }
.form-card.sent form { display: none; } .form-card.sent .form-ok { display: block; } .form-card.sent .hd { display: none; }

/* testimonials / video cards */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--c-line); background: #fff; font: inherit; font-weight: 700; color: var(--c-navy); cursor: pointer; transition: all .15s; }
.chips button:hover { border-color: var(--c-brand-500); }
.chips button.on { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }
.center-chips { justify-content: center; margin-bottom: 34px; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vid { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.vid:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vid-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: linear-gradient(135deg, var(--g1, #1f7bff), var(--g2, #0d4fc4)); }
.vid-thumb::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .09); inset-block-start: -110px; inset-inline-end: -70px; }
.vid-thumb::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .07); inset-block-end: -80px; inset-inline-start: -40px; }
.vid-thumb .label { position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-start: 14px; background: rgba(255, 255, 255, .2); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.play { position: absolute; z-index: 1; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--c-brand-600); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.play svg { margin-inline-start: 3px; }
.vid:hover .play { transform: scale(1.1); }
.vid-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vid-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.vid-meta span { padding: 2px 11px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: .78rem; font-weight: 800; }
.vid h3 { font-size: 1.1rem; }
.vid p { color: var(--c-muted); font-size: .95rem; }
.vid .watch { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--c-brand-600); font-weight: 800; background: none; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; text-align: start; }
.vid.quote { padding: 28px; background: linear-gradient(180deg, #fff, var(--c-tint)); }
.vid.quote .qm { font-size: 4rem; line-height: .6; color: var(--c-brand-100); font-family: Georgia, serif; height: 30px; }
.vid.quote .q { color: var(--c-navy); font-size: 1.05rem; line-height: 1.95; flex: 1; }
.vid.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.vid.quote .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-100); color: var(--c-brand-700); font-weight: 800; }
.vid.quote .who b { display: block; color: var(--c-navy); line-height: 1.4; } .vid.quote .who small { color: var(--c-muted); }
.vid.hide { display: none; }
.center-cta { text-align: center; margin-top: 36px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 40, .8); display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.open { display: flex; }
.lb-box { width: min(960px, 100%); border-radius: 18px; overflow: hidden; position: relative; background: #0b1730; }
.lb-frame { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; color: #fff; padding: 24px; background: linear-gradient(135deg, #142a4d, #0d4fc4); }
.lb-frame b { display: block; font-size: 1.3rem; margin-bottom: 8px; }
.lb-frame span { opacity: .85; }
.lb-close { position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--c-navy); font-size: 1.3rem; cursor: pointer; }

/* blog */
.blog-tools { display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; font: inherit; padding: 11px 14px; padding-inline-start: 44px; border: 1.5px solid var(--c-line); border-radius: 999px; background: #fff; }
.search input:focus { outline: none; border-color: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(31, 123, 255, .14); }
.search svg { position: absolute; inset-inline-start: 15px; inset-block-start: 50%; transform: translateY(-50%); color: var(--c-muted); }
.thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--g1, #1f7bff), var(--g2, #0d4fc4)); color: rgba(255, 255, 255, .92); }
.thumb svg { width: 64px; height: 64px; position: relative; z-index: 1; }
.thumb::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .09); inset-block-start: -90px; inset-inline-end: -60px; }
.featured { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--c-line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.featured .thumb { aspect-ratio: auto; min-height: 320px; }
.featured .body { padding: 38px 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.5; }
.featured p { color: var(--c-muted); line-height: 1.9; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pcard .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard h3 { font-size: 1.1rem; line-height: 1.6; }
.pcard p { color: var(--c-muted); font-size: .95rem; }
.cat { display: inline-block; align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: .78rem; font-weight: 800; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--c-muted); font-size: .85rem; margin-top: auto; }
.pcard.hide, .featured.hide { display: none; }
.empty { display: none; text-align: center; padding: 40px 0; color: var(--c-muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.pagination a { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fff; font-weight: 700; color: var(--c-navy); }
.pagination a.on { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }

/* single post */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-brand-500), #06b6d4); }
.post-head { max-width: 860px; margin-inline: auto; text-align: center; }
.post-head h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 800; line-height: 1.45; margin-top: 14px; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; color: var(--c-muted); font-size: .92rem; margin-top: 18px; }
.post-cover { margin-top: 34px; border-radius: 26px; overflow: hidden; }
.post-cover .thumb { aspect-ratio: 21 / 8; }
.post-cover .thumb svg { width: 96px; height: 96px; }
.post-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 44px; }
.toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.toc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 0; background: transparent; font: inherit; font-weight: 800; color: var(--c-navy); cursor: pointer; text-align: start; }
.toc-head .ttl { display: inline-flex; align-items: center; gap: 10px; }
.toc-head .chev { transition: transform .25s; color: var(--c-muted); }
.toc[data-open="true"] .toc-head .chev { transform: rotate(180deg); }
.toc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.toc[data-open="true"] .toc-body { grid-template-rows: 1fr; }
.toc-body > div { min-height: 0; overflow: hidden; }
.toc ol { list-style: none; margin: 0; padding: 0 12px 14px; max-height: calc(100vh - 230px); overflow: auto; }
.toc li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--c-muted); font-size: .95rem; line-height: 1.6; border-inline-start: 3px solid transparent; }
.toc li a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.toc li a.on { background: var(--c-brand-50); color: var(--c-brand-700); font-weight: 700; border-inline-start-color: var(--c-brand-600); }
.toc li.sub a { padding-inline-start: 28px; font-size: .9rem; }
.post-body { font-size: 1.08rem; line-height: 2.05; color: var(--c-text); }
.post-body > * + * { margin-top: 1.1em; }
.post-body .lead { font-size: 1.22rem; color: var(--c-navy); font-weight: 500; }
.post-body h2 { font-size: 1.65rem; font-weight: 800; margin-top: 2em; scroll-margin-top: 96px; }
.post-body h3 { font-size: 1.28rem; margin-top: 1.6em; scroll-margin-top: 96px; }
.post-body ul, .post-body ol { padding-inline-start: 1.4em; display: grid; gap: .5em; }
.post-body blockquote { margin: 1.6em 0; padding: 20px 26px; border-inline-start: 4px solid var(--c-brand-500); background: var(--c-brand-50); border-radius: 16px; color: var(--c-navy); font-weight: 500; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff8e1; border: 1px solid #f6e2a4; color: #6b4e07; line-height: 1.9; font-size: 1rem; }
.callout svg { flex: none; margin-top: 5px; }
.post-figure .thumb { border-radius: 18px; aspect-ratio: 16 / 8; }
.post-figure figcaption { margin-top: 8px; text-align: center; color: var(--c-muted); font-size: .9rem; line-height: 1.6; }
.post-foot { margin-top: 44px; display: grid; gap: 22px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--c-muted); font-weight: 700; }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--c-line); color: var(--c-navy); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }
.author { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-tint); }
.author .av { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700)); }
.author b { display: block; color: var(--c-navy); } .author p { color: var(--c-muted); font-size: .95rem; }
.cta-box { padding: 30px; border-radius: 22px; text-align: center; color: #fff; background: radial-gradient(500px 240px at 90% 0%, rgba(6, 182, 212, .35), transparent 60%), linear-gradient(135deg, var(--c-navy), var(--c-brand-700)); }
.cta-box h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.cta-box p { color: rgba(255, 255, 255, .86); margin-bottom: 18px; }

/* about / contact / legal / 404 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.two-col p { color: var(--c-muted); line-height: 2; margin-bottom: 12px; }
.about-visual { aspect-ratio: 4 / 3; border-radius: 28px; display: grid; place-items: center; background: radial-gradient(400px 260px at 80% 0%, rgba(6, 182, 212, .35), transparent 60%), linear-gradient(135deg, var(--c-brand-500), var(--c-navy)); color: #fff; box-shadow: var(--shadow-md); }
.about-visual svg { width: 110px; height: 110px; opacity: .92; }
.pain-grid.three { grid-template-columns: repeat(3, 1fr); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.c-side { display: grid; gap: 16px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.c-card .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--c-brand-50); color: var(--c-brand-600); }
.c-card small { display: block; color: var(--c-muted); }
.c-card b { color: var(--c-navy); font-family: "Poppins", sans-serif; font-size: 1.05rem; unicode-bidi: isolate; }
.c-social { padding: 22px; background: var(--c-tint); border: 1px solid var(--c-line); border-radius: 20px; }
.c-social h4 { margin-bottom: 12px; }
.c-social .social { display: flex; gap: 10px; }
.c-social .social a { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--c-line); color: var(--c-navy); transition: all .2s; }
.c-social .social a:hover { background: var(--c-brand-600); color: #fff; border-color: var(--c-brand-600); }
.legal { max-width: 820px; margin-inline: auto; }
.legal .upd { color: var(--c-muted); font-size: .92rem; margin-bottom: 8px; }
.nf { text-align: center; padding: 90px 0; }
.nf b { display: block; font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; font-family: "Poppins", sans-serif; background: linear-gradient(135deg, var(--c-brand-500), #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 1.8rem; margin: 18px 0 10px; } .nf p { color: var(--c-muted); margin-bottom: 26px; }
.faq-group { margin-bottom: 8px; }
.faq details.hide { display: none; }

@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pk-hero { grid-template-columns: 1fr; gap: 32px; }
  .book-grid { grid-template-columns: 1fr; } .book-side { position: static; }
  .vid-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { padding: 8px 9px; font-size: .94rem; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .featured { grid-template-columns: 1fr; } .featured .thumb { min-height: 220px; }
  .post-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .toc { position: static; }
  .toc ol { max-height: 55vh; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .pain-grid.three, .steps.three { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 34px; }
  .post-cover .thumb { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .feat-grid, .vid-grid, .post-grid, .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .post-body { font-size: 1.04rem; }
  .pv-btn span { display: none; } .pv-btn { padding: 14px; }
  .cmp th, .cmp td, .spec th, .spec td { padding: 12px 12px; font-size: .92rem; }
}

.seg .monthly { color: var(--c-muted); font-size: .9rem; margin-bottom: 4px; }
.seg .price b { font-size: 2.4rem; }
.seg .chip { inset-inline-start: 24px; }
.morefeat { margin-top: 12px; }
.morefeat summary { cursor: pointer; list-style: none; color: var(--c-brand-600); font-weight: 700; font-size: .93rem; display: inline-flex; gap: 6px; }
.morefeat summary::-webkit-details-marker { display: none; }
.morefeat summary::before { content: "+"; font-weight: 800; }
.morefeat[open] summary::before { content: "–"; }
.cardnote { display: block; margin-top: 10px; text-align: center; color: var(--c-muted); font-size: .82rem; line-height: 1.7; }

/* ===== live-demo hooks (theme settings colors) ===== */
.nav { background: var(--hdr-bg, rgba(255, 255, 255, .88)); }
.mobile-menu { background: var(--hdr-bg, #fff); }
.nav-links a { color: var(--hdr-text, var(--c-text)); }
.btn-primary { color: var(--btn-text, #fff); }

/* ===== admin mock-up ===== */
.adm { background: #f0f2f8; border: 1px solid var(--c-line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); }
.asave { display: flex; }
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--c-brand-600); background: var(--c-brand-600); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.abtn.ghost { background: #fff; color: var(--c-brand-700); border-color: var(--c-brand-100); }
.abtn:hover { filter: brightness(.96); }
.agrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.agrid.c4 { grid-template-columns: repeat(4, 1fr); }
.colorrow { display: flex; align-items: center; gap: 10px; } .colorrow code { color: var(--c-muted); font-size: .85rem; }
.hint { color: var(--c-muted); font-size: .84rem; line-height: 1.6; }
.social-row { align-items: end; grid-template-columns: 180px 1fr; }
.logoctl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.logoprev { padding: 14px 20px; border: 1.5px dashed var(--c-brand-100); border-radius: 12px; background: var(--c-tint); }
.logoprev .logo-img { height: 46px; }
.lbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.rep { display: grid; gap: 8px; }
.grip { color: #aab4c8; cursor: grab; letter-spacing: -2px; }
.mini-ck { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--c-muted); white-space: nowrap; }
.mini-ck input { accent-color: var(--c-brand-600); }
.rbtns { display: inline-flex; gap: 4px; }
.rbtns button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--c-line); background: #fff; cursor: pointer; font: inherit; color: var(--c-navy); }
.rbtns button:hover { border-color: var(--c-brand-500); } .rbtns .del:hover { background: #fdecec; border-color: #e99; color: #b42318; }
.rep-foot { display: flex; }
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.srow { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f7f9fe; border: 1px solid var(--c-line); border-radius: 10px; }
.srow .sname { flex: 1; font-weight: 600; font-size: .94rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #aab4c8; flex: none; } .dot.ok { background: #1aa05a; } .dot.warn { background: #e8a317; }
.lnk { color: var(--c-brand-600); font-weight: 700; font-size: .88rem; } .lnk.danger { color: #b42318; }
.shorts { display: flex; flex-wrap: wrap; gap: 8px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; line-height: 1.8; font-size: .95rem; }
.notice.ok { background: #e8f7ee; border: 1px solid #b9e4c9; color: #145c36; } .notice svg { flex: none; margin-top: 5px; }
.alist { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 8px; color: var(--c-text); line-height: 1.8; }
.reset { text-align: start; padding-inline: 4px; }

/* section inspector */
.insp { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.canvas { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.canvas-bar { padding: 10px 16px; background: #f0f2f8; border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: .85rem; font-weight: 700; }
.mock-sec { position: relative; margin: 16px; padding: 38px 20px 20px; border: 2px solid var(--c-brand-500); border-radius: 14px; background: var(--c-tint); transition: all .2s; }
.mock-sec.alt { border: 1.5px dashed var(--c-brand-100); background: #fff; }
.msl { position: absolute; inset-block-start: -2px; inset-inline-start: 14px; background: var(--c-brand-600); color: #fff; padding: 3px 12px; border-radius: 0 0 8px 8px; font-size: .78rem; font-weight: 700; }
.mock-sec.alt .msl { background: #aab4c8; }
.msbody { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mcard { height: 90px; border-radius: 10px; background: #fff; border: 1px solid var(--c-line); } .mcard.v { background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700)); border: 0; }
.offmsg { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; border-radius: 12px; background: repeating-linear-gradient(135deg, #f4f5f9, #f4f5f9 10px, #eceef5 10px, #eceef5 20px); color: var(--c-muted); font-weight: 700; text-align: center; padding: 10px; }
.mock-sec.off { border-color: #aab4c8; border-style: dashed; } .mock-sec.off .offmsg { display: flex; } .mock-sec.off .msl { background: #aab4c8; }
.side { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 8px 18px; display: grid; }
.sgroup { padding: 16px 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 12px; } .sgroup:last-child { border-bottom: 0; }
.sgroup h4 { font-size: .8rem; letter-spacing: .06em; color: var(--c-muted); }
.ctabs { display: flex; gap: 4px; }
.ctabs button { padding: 6px 16px; border-radius: 8px 8px 0 0; border: 1px solid var(--c-line); border-bottom: 0; background: #f0f2f8; font: 700 .85rem "Poppins", sans-serif; color: var(--c-muted); cursor: pointer; }
.ctabs button.on { background: #0f1b33; color: #fff; border-color: #0f1b33; }
.cpane { display: none; } .cpane.on { display: block; }
.cpane textarea { width: 100%; font: .85rem/1.7 ui-monospace, Menlo, Consolas, monospace; background: #0f1b33; color: #cfe3ff; border: 0; border-radius: 0 10px 10px 10px; padding: 12px; resize: vertical; text-align: left; }
.blocks { margin-top: 28px; } .blocks h4 { margin-bottom: 12px; }
.bchips { display: flex; flex-wrap: wrap; gap: 8px; }
.bchip { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-weight: 700; font-size: .9rem; color: var(--c-navy); }

/* ===== user guide ===== */
.guide-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.gsearch { max-width: 520px; margin: 22px auto 0; }
.guide-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.gnav { position: sticky; top: 96px; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-sm); display: grid; gap: 2px; }
.gnav h4 { padding: 6px 12px 10px; font-size: .95rem; }
.gnav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--c-muted); font-weight: 600; font-size: .95rem; border-inline-start: 3px solid transparent; }
.gnav a svg { flex: none; color: var(--c-brand-500); }
.gnav a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.gnav a.on { background: var(--c-brand-50); color: var(--c-brand-700); border-inline-start-color: var(--c-brand-600); }
.gmod { padding: 8px 0 40px; scroll-margin-top: 96px; }
.gmod + .gmod { padding-top: 36px; border-top: 1px solid var(--c-line); }
.gmod.hide, .gmod .vid.hide { display: none; }
.ghead { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.ghead .gi { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700)); }
.ghead h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); } .ghead p { color: var(--c-muted); margin-top: 4px; }
.ghead .cnt { margin-inline-start: auto; flex: none; padding: 3px 12px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-700); font-weight: 800; font-size: .8rem; }
.gmod .vid-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.vid .dur { position: absolute; z-index: 1; inset-block-end: 12px; inset-inline-end: 12px; background: rgba(10, 20, 40, .7); color: #fff; padding: 2px 9px; border-radius: 6px; font-size: .76rem; font-weight: 700; }
.vid.compact .vid-body { padding: 16px 18px 18px; gap: 4px; } .vid.compact h3 { font-size: 1rem; }
.gadd { margin-top: 12px; padding: 28px; border: 2px dashed var(--c-brand-100); border-radius: 20px; background: var(--c-tint); display: grid; gap: 10px; }
.gadd h3 { font-size: 1.15rem; } .gadd p { color: var(--c-muted); line-height: 1.9; }
.gadd code { direction: ltr; unicode-bidi: isolate; background: #fff; border: 1px solid var(--c-line); padding: 2px 8px; border-radius: 6px; font-size: .86rem; }
.gempty { display: none; text-align: center; color: var(--c-muted); padding: 40px 0; }

@media (max-width: 1080px) { .agrid.c4 { grid-template-columns: repeat(2, 1fr); } .astats { grid-template-columns: repeat(2, 1fr); } .insp { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 20px; }
  .gnav { position: static; padding: 6px; border-radius: 16px; }
  .gnav .gnav-btn { display: flex; }
  .gnav[data-open="false"] .gnav-list { display: none; }
  .gnav[data-open="true"] .chev { transform: rotate(180deg); }
  .rep-row { grid-template-columns: 1fr 1fr; } .rep-row .grip { display: none; } .rep-row input[type="text"]:nth-of-type(3) { grid-column: 1 / -1; }
  .sgrid, .agrid { grid-template-columns: 1fr; } .social-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .gmod .vid-grid { grid-template-columns: 1fr; } .ghead .cnt { display: none; } .adm-panel { padding: 10px; } .acard { padding: 18px 16px; } .adm-tabs { margin: 10px 10px 0; } }

.gnav-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 0; background: none; font: inherit; font-weight: 800; color: var(--c-navy); cursor: pointer; }
.gnav-list { display: grid; gap: 2px; }
.gnav-btn .chev { transition: transform .2s; }
@media (min-width: 901px) { .gnav-btn { pointer-events: none; } .gnav-btn .chev { display: none; } .gnav-btn { display: flex; padding: 6px 12px 10px; } }
/* inline review video */
.vid-player { position: relative; aspect-ratio: 16 / 9; background: #0b1730; color: #fff; display: grid; place-items: center; text-align: center; padding: 16px; }
@keyframes vp { to { width: 100%; } }
/* hero image swap (preview demo) */
.hero-swap { position: absolute; z-index: 5; inset-block-start: -6px; inset-inline-start: 0; display: flex; gap: 6px; }

/* ===== theme additions ===== */
.zc-vframe { position: relative; aspect-ratio: 16 / 9; background: #0b1730; overflow: hidden; }
.zc-vframe.zc-r-portrait { aspect-ratio: 9 / 16; }
.zc-vframe img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zc-vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zc-vplay { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: #fff; color: var(--c-brand-600); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.zc-vframe.is-playing .zc-vplay, .zc-vframe.is-playing .zc-vfallback, .zc-vframe.is-playing img { display: none; }
.zc-vfallback { position: absolute; inset-inline-start: 12px; inset-block-end: 10px; color: #fff; font-size: .8rem; opacity: .8; }
.is-style-zc-tint { background: var(--c-tint); }
.wa-float { position: fixed; inset-inline-start: 16px; inset-block-end: 16px; z-index: 60; background: #25d366; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.lang-toggle { display: inline-block; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--c-line); font-weight: 700; font-size: .9rem; }
body.zc-en { font-family: Poppins, Tajawal, sans-serif; }
.is-style-zc-hidden { opacity: .35; outline: 2px dashed #e11d48; } /* في المحرر فقط؛ لا يُطبع على الواجهة */

/* block buttons mirror .btn */
.wp-block-group .wp-block-buttons{display:contents}
.wp-block-group .wp-block-button.zc-btn{display:contents}
.wp-block-button.zc-btn .wp-block-button__link{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.wp-block-button.zc-btn .wp-block-button__link:hover{ transform: translateY(-2px); }
.wp-block-button.btn-sm .wp-block-button__link{ padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.wp-block-button.btn-lg .wp-block-button__link{ padding: 15px 28px; font-size: 1.06rem; border-radius: 14px; }
.wp-block-button.btn-primary .wp-block-button__link{
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
  color: #fff; box-shadow: 0 10px 26px rgba(21, 101, 232, .3);
}
.wp-block-button.btn-primary .wp-block-button__link:hover{ box-shadow: 0 14px 32px rgba(21, 101, 232, .4); }
.wp-block-button.btn-ghost .wp-block-button__link{ background: #fff; color: var(--c-brand-700); border-color: var(--c-brand-100); }
.wp-block-button.btn-ghost .wp-block-button__link:hover{ border-color: var(--c-brand-500); background: var(--c-brand-50); }
.wp-block-button.btn-white .wp-block-button__link{ background: #fff; color: var(--c-brand-700); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.wp-block-button.btn-primary .wp-block-button__link{ color: var(--btn-text, #fff); }
.final .wp-block-button.btn-ghost .wp-block-button__link{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.final .wp-block-button.btn-ghost .wp-block-button__link:hover{background:rgba(255,255,255,.12);border-color:#fff}
.wp-block-button.zc-btn .wp-block-button__link{text-decoration:none}
.wp-block-group,.wp-block-buttons{margin-block:0}
.wp-site-blocks>*{margin-block:0}
summary{cursor:pointer}
.wp-block-button.zc-btn .wp-block-button__link{width:auto;flex:0 0 auto}
@media(max-width:900px){.nav-cta .btn-ghost{display:none}.hero-ctas .wp-block-button__link{width:100%}}

/* tag selectors mirrored for block paragraphs */
.hero-micro > .zc-span{ display: inline-flex; align-items: center; gap: 6px; }
.hero-card-top .zc-i{ width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.hero-card-top .zc-i:nth-child(2){ background: #ffd166; }
.hero-card-top .zc-i:nth-child(3){ background: #4cd490; }
.hb-stat .zc-b{ display: block; font-size: 1.45rem; font-weight: 800; color: var(--c-brand-700); line-height: 1.3; font-family: "Poppins", sans-serif; }
.hb-stat .zc-small{ display: block; font-size: .74rem; color: var(--c-muted); line-height: 1.4; }
.hb-appt .t .zc-b{ display: block; color: var(--c-navy); font-size: .96rem; line-height: 1.4; }
.hb-appt .t .zc-small{ color: var(--c-muted); font-size: .8rem; }
.tst .who .zc-b{ display: block; color: var(--c-navy); line-height: 1.4; }
.tst .who .zc-small{ color: var(--c-muted); font-size: .85rem; }
.pv-panel a .zc-em{ font-style: normal; font-size: .72rem; background: #06b6d4; color: #fff; padding: 1px 8px; border-radius: 999px; }
.seg .price .zc-small{ color: var(--c-muted); font-size: .9rem; }
.seg .price .zc-b{ font-size: 2.1rem; font-weight: 800; font-family: "Poppins", sans-serif; line-height: 1.2; }
.price-card .amount .zc-b{ font-size: 3rem; font-weight: 800; color: var(--c-navy); font-family: "Poppins", sans-serif; line-height: 1.15; }
.price-card .amount .zc-span{ color: var(--c-muted); }
.price-card .zc-small{ display: block; text-align: center; margin-top: 14px; color: var(--c-muted); font-size: .86rem; }
.book-side .sum .zc-b{ color: #fff; }
.field .zc-label{ font-weight: 700; color: var(--c-navy); font-size: .94rem; }
.field .zc-label .zc-i{ color: #d64545; font-style: normal; margin-inline-start: 4px; }
.form-actions .zc-small{ color: var(--c-muted); }
.vid-meta .zc-span{ padding: 2px 11px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: .78rem; font-weight: 800; }
.vid.quote .who .zc-b{ display: block; color: var(--c-navy); line-height: 1.4; }
.vid.quote .who .zc-small{ color: var(--c-muted); }
.lb-frame .zc-b{ display: block; font-size: 1.3rem; margin-bottom: 8px; }
.lb-frame .zc-span{ opacity: .85; }
.progress .zc-i{ display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-brand-500), #06b6d4); }
.author .zc-b{ display: block; color: var(--c-navy); }
.c-card .zc-small{ display: block; color: var(--c-muted); }
.c-card .zc-b{ color: var(--c-navy); font-family: "Poppins", sans-serif; font-size: 1.05rem; unicode-bidi: isolate; }
.nf .zc-b{ display: block; font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; font-family: "Poppins", sans-serif; background: linear-gradient(135deg, var(--c-brand-500), #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-btn .zc-span{ display: none; }
.seg .price .zc-b{ font-size: 2.4rem; }
p.zc-span,p.zc-b,p.zc-small,p.zc-i,p.zc-strong,p.zc-label{margin:0}

.zc-hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pkg-hero .mini{list-style:none;padding:0;margin:18px auto 0;display:grid;gap:8px;justify-items:start;width:max-content;max-width:100%}
.pkg-hero .mini li{display:flex;gap:8px;align-items:center}
.menu-btn{flex:0 0 42px}
@media(max-width:600px){.logo-img{width:120px;height:auto}.nav-inner{gap:8px}.nav-cta{gap:6px}.lang-toggle{padding:6px 10px;font-size:.8rem}.nav-cta .btn-sm{padding:8px 10px;font-size:.82rem}}

/* ===== v0.2: dropdown menus, floating buttons, plans ===== */
.nav-dd { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-ic { font-size: .7rem; color: var(--c-muted); }
.nav-dd-menu { position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 210px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(20,42,77,.14); display: none; z-index: 70; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: grid; gap: 2px; }
.nav-dd-menu a { padding: 9px 12px; border-radius: 10px; white-space: nowrap; }
.nav-dd-menu a:hover { background: var(--c-tint, #f4f8ff); }
.mobile-menu a.sub { padding-inline-start: 28px; font-size: .92em; opacity: .85; }
.fabs { position: fixed; inset-inline-start: 16px; inset-block-end: 16px; z-index: 60; display: grid; gap: 10px; }
.fab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-weight: 800; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.fab-wa { background: #25d366; } .fab-call { background: var(--c-brand-600); }
.seg-grid.plans { margin-bottom: 40px; }
.seg-grid.plans.n1 { grid-template-columns: minmax(0, 460px); justify-content: center; }
.seg-grid.plans.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; margin-bottom: 40px; }
@media (max-width: 760px) { .seg-grid.plans.n2 { grid-template-columns: 1fr; } }
.seg-lead { color: var(--c-muted); margin: 8px 0 14px; }
.seg h3 a { color: inherit; }
.seg .price small:first-child { display: block; margin-bottom: 2px; }
.form-err { color: #b91c1c; font-weight: 700; margin-top: 8px; }
.pkg-hero h1 { margin-bottom: 8px; }
