/* Marketing site components (navbar, hero, sections, cards, footer) */

body.marketing {
  background: var(--cream);
  margin: 0;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
body.marketing img, body.marketing iframe, body.marketing svg { max-width: 100%; height: auto; }

/* Two-column layouts used on Contact / About */
.split-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.split-2 > * { min-width: 0; }
@media (max-width: 991.98px) {
  .split-2 { grid-template-columns: 1fr; gap: 32px; }
}

.container-mkt {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

/* ----------------------- Promo bar ----------------------- */
.promo-bar {
  background: var(--brand-dark);
  color: var(--cream);
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  position: relative;
}
.promo-bar a { color: var(--accent); font-weight: 600; }
.promo-bar .promo-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: var(--cream); opacity: .7; cursor: pointer;
}
.promo-bar .promo-close:hover { opacity: 1; }

/* ----------------------- News ticker (shared: public + dashboard) ----------------------- */
.news-ticker {
  position: relative;
  background: linear-gradient(90deg, var(--mint) 0%, var(--cream-2, #f7f1e0) 100%);
  border-bottom: 1px solid rgba(95,126,120,.18);
  padding: 8px 16px;
}
.news-ticker-inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1320px; margin: 0 auto; min-height: 28px;
}
.news-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--brand-darker, #2c3c39);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; flex-shrink: 0;
}
.news-headline {
  flex: 1; min-width: 0;
  color: var(--ink); font-weight: 500; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-headline a { color: var(--ink); }
.news-headline a:hover { color: var(--accent-dark); }
.news-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-soft); flex-shrink: 0;
}
.news-nav { display: flex; gap: 4px; flex-shrink: 0; }
.news-nav button {
  width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: var(--surface); color: var(--brand-dark);
  display: grid; place-items: center; cursor: pointer; font-size: 11px;
}
.news-nav button:hover { background: var(--accent); color: var(--brand-darker, #2c3c39); }
.news-close {
  width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  font-size: 16px; line-height: 1; flex-shrink: 0;
}
.news-close:hover { background: rgba(31,42,38,.08); }

@media (max-width: 767.98px) {
  .news-date { display: none; }
  .news-ticker-inner { gap: 8px; }
}

/* ----------------------- Navbar ----------------------- */
.mkt-navbar {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(241, 234, 215, .85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(95,126,120,.15);
  transition: background .25s, box-shadow .25s, padding .25s;
}
.mkt-navbar.scrolled {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.mkt-navbar .nav-inner {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}
.mkt-navbar.scrolled .nav-inner { padding-block: 8px; }
.mkt-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 20px;
  font-family: var(--font-display-en);
}
.mkt-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--surface); padding: 4px; }
.mkt-brand:hover { color: var(--brand-dark); }

.mkt-nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0 auto 0 0; padding: 0;
}
.mkt-nav-links a {
  position: relative; display: block; color: var(--ink); font-weight: 500;
  padding: 10px 14px; border-radius: var(--radius-sm); transition: color .2s;
}
.mkt-nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .25s, left .25s;
}
.mkt-nav-links a:hover, .mkt-nav-links a.active { color: var(--brand-dark); }
.mkt-nav-links a:hover::after, .mkt-nav-links a.active::after { width: calc(100% - 28px); left: 14px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex; gap: 0; background: var(--surface); border: 1px solid var(--sand);
  border-radius: var(--radius-pill); padding: 3px; font-size: 13px;
}
.lang-switch a {
  padding: 4px 10px; border-radius: var(--radius-pill); color: var(--ink); font-weight: 600;
}
.lang-switch a.active { background: var(--brand); color: #fff; }

/* Buttons */
.btn-mkt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 600; letter-spacing: .3px; border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer; font-family: inherit;
}
.btn-primary-mkt {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(227,165,62,.35);
}
.btn-primary-mkt:hover {
  background: var(--accent-dark); color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(138,106,31,.4);
}
.btn-ghost-mkt {
  background: transparent; color: var(--brand); border-color: var(--brand);
}
.btn-ghost-mkt:hover { background: var(--brand); color: #fff; }
.btn-mkt.btn-lg { padding: 14px 30px; font-size: 17px; }

/* User dropdown */
.btn-user {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--sand);
  border-radius: var(--radius-pill); padding: 6px 14px 6px 6px;
  color: var(--ink); font-weight: 500; cursor: pointer;
}
.btn-user:hover { border-color: var(--accent); background: var(--cream); }
.btn-user .avatar, .btn-user .avatar-fallback { width: 32px; height: 32px; border-radius: 50%; }
.btn-user .avatar { object-fit: cover; }
.btn-user .avatar-fallback {
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 13px;
}
.dropdown-menu-mkt {
  border: 1px solid rgba(95,126,120,.15); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; min-width: 240px; background: var(--surface);
}
.dropdown-menu-mkt .dropdown-item, .dropdown-menu-mkt button.dropdown-item {
  border-radius: var(--radius-sm); padding: 9px 12px; display: flex; align-items: center; gap: 10px;
}
.dropdown-menu-mkt .dropdown-item:hover { background: var(--cream); color: var(--brand-dark); }
.dropdown-menu-mkt form { margin: 0; }

/* Hamburger */
.nav-hamburger {
  display: none; background: transparent; border: 1px solid var(--sand);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ----------------------- Hero ----------------------- */
.hero {
  position: relative; padding-block: var(--space-section);
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('/static/core/img/patterns/girih.svg');
  background-size: 380px; background-position: top right;
  opacity: .06; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.hero h1 { color: var(--ink); margin-bottom: 18px; }
.hero p.lead { font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--ink-soft); margin-bottom: 28px; max-width: 56ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-illustration { display: grid; place-items: center; }
.hero-illustration img, .hero-illustration svg { max-width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(31,42,38,.18)); }

/* ----------------------- Sections ----------------------- */
section.mkt-section { padding-block: var(--space-section); }
section.bg-cream { background: var(--cream); }
section.bg-surface { background: var(--surface); }
section.bg-mint { background: var(--mint); }
section.bg-brand { background: var(--brand); color: var(--cream); }
section.bg-brand h2 { color: #fff; }
section.bg-brand-dark { background: var(--brand-dark); color: var(--cream); }

.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(32px, 5vw, 64px); }
.section-head .eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* Stats bar */
.stats-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat-value { font-family: var(--font-display-en); font-size: clamp(2rem, 4vw, 3.25rem); color: var(--accent); font-weight: 700; }
.stat-label { color: var(--cream); opacity: .88; font-size: 14px; letter-spacing: .5px; }

/* Feature cards */
.grid-cards { display: grid; gap: var(--space-gap); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-mkt {
  background: var(--surface); border: 1px solid rgba(95,126,120,.15);
  border-radius: var(--radius); padding: var(--space-card);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-mkt:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.card-mkt .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 16px;
}
.card-mkt h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--ink); }
.card-mkt p { color: var(--ink-soft); margin: 0; }

/* Steps */
.steps-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: var(--space-card); position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}

/* Packages teaser */
.pkg-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 30px;
  border: 1.5px solid rgba(95,126,120,.15); transition: all .2s;
}
.pkg-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg-card.featured { border-color: var(--accent); position: relative; }
.pkg-card.featured::after {
  content: 'Recommended'; position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: 1px;
}
.pkg-name { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pkg-price { font-family: var(--font-display-en); font-size: 42px; font-weight: 700; color: var(--ink); }
.pkg-price small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.pkg-features { list-style: none; padding: 0; margin: 24px 0; }
.pkg-features li { padding: 8px 0; border-bottom: 1px dashed rgba(95,126,120,.18); color: var(--ink-soft); }
.pkg-features li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* Testimonials */
.testimonial-card {
  background: var(--surface); padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--sand);
}
.testimonial-quote { color: var(--ink); font-style: italic; line-height: 1.7; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-rating { color: var(--accent); }

/* FAQ */
.faq-item { background: var(--surface); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(95,126,120,.12); }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: 0; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q:hover { background: var(--cream); }
.faq-q i { color: var(--accent); transition: transform .2s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }

/* Final CTA */
.cta-final { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.cta-final h2 { color: #fff; }
.cta-final p { color: var(--cream); opacity: .9; margin-bottom: 28px; }

/* Footer */
.mkt-footer { background: var(--brand-dark); color: var(--cream); padding-top: 60px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: 40px; }
.mkt-footer h4 { color: #fff; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body-en); }
.mkt-footer a { color: var(--cream); opacity: .85; display: block; padding: 4px 0; }
.mkt-footer a:hover { opacity: 1; color: var(--accent); }
.footer-social a { display: inline-block; padding: 0; margin-right: 12px; font-size: 20px; }
.footer-bottom { border-top: 1px solid rgba(241,234,215,.18); padding: 20px 0; text-align: center; font-size: 14px; opacity: .8; }

/* Forms (public) */
.form-mkt label { font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; font-size: 14px; }
.form-mkt .form-control {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(95,126,120,.25); background: var(--surface);
  font-family: inherit; font-size: 16px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.form-mkt .form-control:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227,165,62,.15); }
.form-mkt textarea.form-control { min-height: 140px; resize: vertical; }
.form-mkt .field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.form-mkt .field-full { margin-bottom: 14px; }

/* Blog */
.blog-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(95,126,120,.12); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .thumb { aspect-ratio: 16/9; background: var(--cream); overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .thumb img { transform: scale(1.04); }
.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.25rem; margin: 6px 0 10px; color: var(--ink); }
.blog-card .meta { font-size: 13px; color: var(--ink-soft); margin-top: auto; padding-top: 14px; display: flex; gap: 12px; }
.cat-badge { display: inline-block; background: var(--mint); color: var(--brand-dark); padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.blog-post {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 60px); max-width: 820px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.blog-post h1 { margin-bottom: 12px; }
.blog-post .post-meta { color: var(--ink-soft); margin-bottom: 28px; font-size: 14px; }
.blog-post .featured-image { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.blog-post .post-body { font-size: 17px; line-height: 1.8; color: var(--ink); }
.blog-post .post-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 18px 0; }

/* ----------------------- Register page ----------------------- */
.register-layout {
  display: grid; grid-template-columns: 1.4fr .9fr;
  gap: 32px; align-items: start;
}
@media (max-width: 1099.98px) {
  .register-layout { grid-template-columns: 1fr; }
}
.register-card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.register-card .rc-head {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 28px 32px; color: #fff;
}
.register-card .rc-head h2 { color: #fff; margin: 0 0 4px; font-size: 1.6rem; }
.register-card .rc-head p { margin: 0; color: var(--cream); opacity: .85; font-size: 14px; }

.reg-steps {
  display: flex; gap: 8px; padding: 16px 24px;
  background: var(--cream-2, #f7f1e0);
  border-bottom: 1px solid var(--border, #e1d9bd);
  overflow-x: auto;
}
.reg-step {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 140px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
  background: transparent; transition: all .2s;
}
.reg-step .rs-num {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--border-2, #cfc59e);
  font-weight: 700; font-size: 12px; color: var(--ink-soft);
  flex-shrink: 0;
}
.reg-step.done .rs-num { background: var(--success, #2f8a5a); color: #fff; border-color: var(--success); }
.reg-step.done .rs-num::before { content: '\F26E'; font-family: 'bootstrap-icons'; }
.reg-step.done .rs-num span { display: none; }
.reg-step.active { background: var(--accent-light); color: var(--accent-dark); font-weight: 600; }
.reg-step.active .rs-num { background: var(--accent); color: var(--brand-darker, #2c3c39); border-color: var(--accent); }

.register-card .rc-body { padding: 28px 32px; }
.register-card h3.rc-section {
  font-family: var(--font-body-en);
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent-dark); font-weight: 700; margin: 28px 0 16px;
}
.register-card h3.rc-section:first-child { margin-top: 0; }

/* Password strength meter */
.pwd-meter { display: flex; gap: 5px; margin-top: 8px; }
.pwd-meter .seg {
  flex: 1; height: 5px; border-radius: 3px; background: var(--border, #e1d9bd);
  transition: background .2s;
}
.pwd-meter.s1 .seg:nth-child(-n+1) { background: #b94a48; }
.pwd-meter.s2 .seg:nth-child(-n+2) { background: #b9821c; }
.pwd-meter.s3 .seg:nth-child(-n+3) { background: var(--accent); }
.pwd-meter.s4 .seg { background: var(--success, #2f8a5a); }
.pwd-meter-label { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.pwd-meter-label.s1 { color: #b94a48; }
.pwd-meter-label.s2 { color: #b9821c; }
.pwd-meter-label.s3 { color: var(--accent-dark); }
.pwd-meter-label.s4 { color: var(--success, #2f8a5a); }

/* Register side panel */
.reg-side { display: flex; flex-direction: column; gap: 18px; }
.reg-side .card-plain {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border, #e1d9bd);
  padding: 22px;
}
.reg-side .card-plain h4 {
  font-family: var(--font-body-en);
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent-dark); font-weight: 700; margin: 0 0 14px;
}
.reg-side ul.feature-list { list-style: none; padding: 0; margin: 0; }
.reg-side ul.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; color: var(--ink); font-size: 14px;
}
.reg-side ul.feature-list li i { color: var(--success, #2f8a5a); font-size: 18px; flex-shrink: 0; }

.reg-quote {
  position: relative; background: var(--brand-dark); color: var(--cream);
  border-radius: var(--radius); padding: 24px; overflow: hidden;
}
.reg-quote::before {
  content: ''; position: absolute; inset: 0;
  background: url('/static/core/img/patterns/girih.svg') right center / 200px no-repeat;
  opacity: .08; pointer-events: none;
}
.reg-quote .q-text { font-family: var(--font-display-en); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--cream); margin-bottom: 14px; }
.reg-quote .q-person { display: flex; align-items: center; gap: 10px; position: relative; }
.reg-quote .q-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--brand-darker, #2c3c39); display: grid; place-items: center; font-weight: 700; }
.reg-quote .q-name { font-size: 13px; font-weight: 600; color: #fff; }
.reg-quote .q-meta { font-size: 11px; color: var(--cream); opacity: .75; }

.reg-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.reg-stats > div {
  background: var(--cream-2, #f7f1e0); padding: 14px; border-radius: var(--radius-sm);
  text-align: center;
}
.reg-stats .v { font-family: var(--font-display-en); font-size: 1.4rem; color: var(--accent-dark); font-weight: 700; line-height: 1; }
.reg-stats .l { font-size: 11px; color: var(--ink-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ----------------------- Split hero with owner photo ----------------------- */
.split-hero {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.split-hero > * { min-width: 0; }
.split-hero .eyebrow { margin-bottom: 12px; }
.split-hero h1 { margin-bottom: 16px; }
.split-hero .lead { max-width: 56ch; margin-bottom: 28px; }

.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border, #e1d9bd);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
}
.trust-chip i { color: var(--accent); }

.mini-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.mini-stats > div { display: flex; flex-direction: column; }
.mini-stats .mv { font-family: var(--font-display-en); font-size: 1.75rem; color: var(--accent-dark); font-weight: 700; line-height: 1; }
.mini-stats .ml { font-size: 12px; color: var(--ink-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.mini-stats .divider { width: 1px; background: var(--border, #e1d9bd); }

.quick-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.qc-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream-2, #f7f1e0);
  border-radius: var(--radius); padding: 14px 18px;
  transition: transform .15s, background .2s;
  color: var(--ink);
}
.qc-card:hover { background: var(--accent-light); transform: translateY(-1px); }
.qc-card .qc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.qc-card.qc-phone .qc-icon { background: var(--mint); color: var(--brand-dark); }
.qc-card.qc-wa .qc-icon { background: #d9efe1; color: #2f8a5a; }
.qc-card.qc-email .qc-icon { background: var(--accent-light); color: var(--accent-dark); }
.qc-label { font-size: 11px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1.5px; }
.qc-value { font-size: 15px; font-weight: 600; color: var(--ink); }
.qc-chev { margin-left: auto; color: var(--ink-mute); }

/* Owner photo card */
.owner-photo-wrap {
  position: relative; max-width: 480px; margin: 0 auto;
}
.owner-decor-gold, .owner-decor-mint {
  position: absolute; width: 78%; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); z-index: 0;
}
.owner-decor-gold {
  top: -16px; right: -16px; background: var(--accent);
}
.owner-decor-mint {
  bottom: -16px; left: -16px; background: var(--mint);
}
.owner-photo {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream); box-shadow: var(--shadow-md);
}
.owner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.owner-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,42,38,.35) 100%);
}
.owner-nameplate {
  position: absolute; bottom: 18px; left: -18px; z-index: 2;
  background: var(--surface); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
  max-width: 75%;
}
.owner-nameplate .nm-name { font-family: var(--font-display-en); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.owner-nameplate .nm-role { font-size: 11px; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

@media (max-width: 991.98px) {
  .split-hero { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .split-hero .lead, .trust-chips, .mini-stats { justify-content: center; margin-inline: auto; }
  .owner-photo-wrap { max-width: 420px; }
}
@media (max-width: 575.98px) {
  .owner-decor-gold, .owner-decor-mint { display: none; }
  .owner-nameplate { left: 12px; right: 12px; max-width: none; }
}

/* ----------------------- Blog detail polish ----------------------- */
.read-progress {
  position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1031;
  background: rgba(95,126,120,.12);
}
.read-progress > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  width: 0%; transition: width .1s linear;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 240px;
  gap: 32px; align-items: start;
}
@media (max-width: 1199.98px) {
  .blog-detail-layout { grid-template-columns: minmax(0, 1fr) 220px; }
  .share-rail { display: none; }
}
@media (max-width: 991.98px) {
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-toc { display: none; }
}

.share-rail {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.share-rail a, .share-rail button {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border, #e1d9bd);
  color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.share-rail a:hover, .share-rail button:hover {
  background: var(--accent); color: var(--brand-darker, #2c3c39); border-color: var(--accent);
  transform: translateY(-1px);
}
.share-rail .read-count {
  margin-top: 8px; font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-soft); text-align: center;
}

.blog-toc {
  position: sticky; top: 100px;
  background: var(--surface); border-radius: var(--radius);
  padding: 22px; border: 1px solid var(--border, #e1d9bd);
}
.blog-toc h4 {
  font-family: var(--font-body-en);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent-dark); font-weight: 700; margin: 0 0 14px;
}
.blog-toc ul { list-style: none; padding: 0; margin: 0; position: relative; }
.blog-toc ul::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: rgba(95,126,120,.18); border-radius: 1px;
}
.blog-toc li { position: relative; padding-left: 14px; margin-bottom: 4px; }
.blog-toc a {
  display: block; padding: 6px 0;
  font-size: 13px; color: var(--ink-soft);
  transition: color .2s;
}
.blog-toc a:hover { color: var(--brand-dark); }
.blog-toc a.active {
  color: var(--accent-dark); font-weight: 600;
}
.blog-toc a.active::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px; background: var(--accent); border-radius: 1px;
}

.blog-article {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-sm);
}
.blog-article .back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--ink-soft); margin-bottom: 18px;
}
.blog-article .back-link:hover { color: var(--accent-dark); }
.blog-article .hero-frame {
  aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--mint) 0%, var(--cream) 100%);
  margin-bottom: 28px;
}
.blog-article .hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.blog-article h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 12px; }
.blog-article .post-meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  color: var(--ink-soft); font-size: 14px;
  padding-bottom: 24px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(95,126,120,.15);
}
.blog-article .post-meta .mono { font-family: var(--font-mono); font-size: 13px; }
.blog-article .post-body { font-size: 17px; line-height: 1.85; color: var(--ink); }
.blog-article .post-body p { margin: 0 0 1.2em; text-wrap: pretty; }
.blog-article .post-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin: 1.6em 0 .6em; position: relative;
  padding-top: 14px;
}
.blog-article .post-body h2::before {
  content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
.blog-article .post-body h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; }
.blog-article .post-body ul, .blog-article .post-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.blog-article .post-body ul li::marker { color: var(--accent); }
.blog-article .post-body blockquote {
  position: relative; margin: 1.8em 0; padding: 24px 28px 24px 60px;
  background: var(--cream-2, #f7f1e0); border-radius: var(--radius);
  font-family: var(--font-display-en); font-style: italic; font-size: 1.25rem;
  color: var(--ink); line-height: 1.5;
}
.blog-article .post-body blockquote::before {
  content: '"'; position: absolute; left: 14px; top: -12px;
  font-family: var(--font-display-en); font-size: 80px; color: var(--accent);
  line-height: 1;
}
.blog-article .post-body blockquote cite {
  display: block; font-family: var(--font-body-en); font-size: 13px;
  font-style: normal; color: var(--accent-dark); margin-top: 10px;
}
.blog-article .post-body code {
  font-family: var(--font-mono); background: var(--cream-2, #f7f1e0);
  padding: 2px 6px; border-radius: 4px; font-size: .88em; color: var(--brand-dark);
}
.blog-article .post-body pre {
  background: var(--brand-dark); color: var(--cream);
  padding: 18px 22px; border-radius: var(--radius);
  overflow-x: auto; margin: 1.4em 0;
}
.blog-article .post-body pre code { background: transparent; color: inherit; padding: 0; }
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: var(--radius); margin: 1.4em 0;
}
.callout i { font-size: 22px; flex-shrink: 0; }
.callout-info { background: var(--mint); color: var(--brand-dark); }
.callout-info i { color: var(--brand); }
.callout-warn { background: var(--accent-light); color: var(--accent-dark); }
.callout-warn i { color: var(--accent-dark); }

.quranic-block {
  position: relative; padding: 28px 32px;
  background: var(--brand-dark); color: var(--cream);
  border-radius: var(--radius-lg); margin: 2em 0;
  overflow: hidden;
}
.quranic-block::before {
  content: ''; position: absolute; inset: 0;
  background: url('/static/core/img/patterns/girih.svg') center / 280px;
  opacity: .08; pointer-events: none;
}
.quranic-block .arabic {
  font-family: var(--font-arabic); font-size: 1.8rem; line-height: 2;
  text-align: center; direction: rtl; color: #fff;
}
.quranic-block .translit {
  text-align: center; margin: 12px 0 6px; font-style: italic; opacity: .85;
}
.quranic-block .ref {
  text-align: center; font-size: 13px; color: var(--accent); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}

.author-bio {
  display: flex; gap: 18px; align-items: center;
  background: var(--cream); border-radius: var(--radius);
  padding: 22px; margin-top: 36px;
}
.author-bio .avatar-lg {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 22px;
  flex-shrink: 0;
}
.author-bio h4 { margin: 0 0 4px; font-size: 1.1rem; }
.author-bio .role { font-size: 11px; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.author-bio .bio-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.author-bio .bio-actions a {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); color: var(--brand-dark); border: 1px solid var(--border, #e1d9bd);
}
.author-bio .bio-actions a:hover { background: var(--accent); color: var(--brand-darker, #2c3c39); border-color: var(--accent); }

/* Sticky mobile CTA */
.sticky-mobile-cta {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 1020;
  box-shadow: var(--shadow-lg);
}

/* Filigree divider */
.filigree-divider {
  height: 24px; background: url('/static/core/img/patterns/filigree.svg') center/auto 100% no-repeat;
  opacity: .35; margin-block: 24px;
}
