/* ════════════════════════════════════════════════════════════
   SUDIANA THEME — main stylesheet
   Color variables (--pri, --acc, …) are injected from the
   Customizer via wp_add_inline_style(). Static tokens below.
   ════════════════════════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --dark: #05140C;
  --tx: #1E2923;
  --txL: #526056;
  --txXL: #91A096;
  --ff: 'Mozilla Headline', sans-serif;
  --fd: 'Mozilla Headline', sans-serif;
  --shadow-sm: 0 2px 8px rgba(12, 46, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(12, 46, 28, 0.06);
  --shadow-lg: 0 16px 48px rgba(12, 46, 28, 0.1);
  --shadow-glow: 0 0 24px rgba(197, 160, 89, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* ── Design tokens ──────────────────────────────────────────
     One source of truth for spacing and type. Every padding,
     margin, and font-size should reference these so the whole
     theme stays on a single rhythm (8px spacing base, 1.25
     "major third" type scale). ──────────────────────────────── */
  --sp-1: 8px;   --sp-2: 16px;  --sp-3: 24px;  --sp-4: 32px;
  --sp-5: 48px;  --sp-6: 64px;  --sp-7: 96px;  --sp-8: 128px;

  --fs-display: clamp(40px, 6vw, 76px);
  --fs-h1: clamp(34px, 5vw, 56px);
  --fs-h2: clamp(28px, 4vw, 44px);
  --fs-h3: clamp(20px, 2.4vw, 24px);
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-sm: 13px;

  --container: 1200px;
  --nav-offset: 90px; /* fixed-header height, for scroll-margin on anchors */
}

/* Arabic uses a single unified font for every text. Re-point both font tokens
   at IBM Plex Sans Arabic in RTL so anything using var(--ff)/var(--fd) — or
   inheriting them — switches automatically, headings and body alike. */
html[dir="rtl"] {
  --ff: 'IBM Plex Sans Arabic', sans-serif;
  --fd: 'IBM Plex Sans Arabic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--cream);
  color: var(--tx);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--acc); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--pri-light); border: 2px solid var(--cream); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--acc); }

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .particle, .hero-badge-dot, .scroll-indicator { animation: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.fu { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fi { animation: fadeIn 0.5s ease both; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; } .d4 { animation-delay: 0.4s; } .d5 { animation-delay: 0.5s; }

/* ── NAV ── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); padding: 24px 0; background: transparent; }
#nav.scrolled { background: rgba(250, 248, 244, 0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(12, 46, 28, 0.05); padding: 12px 0; box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1300px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; position: relative; }
/* The logo sits left; .nav-links fills the rest of the bar. Inside it the menu
   takes the centre (flex:1, centred) while the actions (CTA + language) keep
   their natural width on the right. The menu can shrink/wrap-free so it never
   overlaps the button. */
.nav-links { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; margin-inline-start: 24px; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; min-width: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-link { background: none; border: none; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--pri); font-family: inherit; padding: 6px 0; position: relative; transition: color 0.3s; text-decoration: none; white-space: nowrap; }
#nav:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.85); }
#nav:not(.scrolled) .nav-link:hover, #nav:not(.scrolled) .nav-link.active { color: var(--acc-light); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--acc); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.logo-wrap { display: flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none; }
.logo-name { font-size: 24px; font-weight: 800; letter-spacing: 6px; color: var(--pri); font-family: var(--fd); transition: color 0.3s; }
#nav:not(.scrolled) .logo-name { color: var(--white); }
.logo-tag { font-size: 8px; letter-spacing: 4px; color: var(--acc); text-transform: uppercase; margin-top: -2px; font-weight: 600; }
.custom-logo { max-height: 48px; width: auto; }

#mob-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 4px solid var(--acc); padding: 20px 32px; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-lg); border-top: 1px solid rgba(0,0,0,0.05); }
#mob-menu a, #mob-menu button { display: block; width: 100%; text-align: left; padding: 14px 0; background: none; border: none; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 16px; font-weight: 600; color: var(--tx); cursor: pointer; font-family: inherit; transition: color 0.2s; text-decoration: none; }
html[dir="rtl"] #mob-menu a, html[dir="rtl"] #mob-menu button { text-align: right; }
#mob-menu a.active { color: var(--acc); font-weight: 800; }
/* The mob-menu sits on a light panel, so its links must stay dark regardless of
   the nav scroll state (which otherwise turns .nav-link white at the top). */
#nav:not(.scrolled) #mob-menu .nav-link, #nav #mob-menu a, #nav #mob-menu .nav-link { color: var(--tx); }
#mob-menu .nav-link.active, #mob-menu a.active { color: var(--acc); }
/* The CTA button inside the mobile menu must look exactly like the desktop
   header button. Reset every property the generic #mob-menu a rule overrides so
   the shared .bg styling (gradient, white text, spacing, shadow) shows through. */
#mob-menu a.bg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: auto;
	padding: 16px 32px;
	background: var(--acc);
	color: var(--pri);
	border: none;
	border-bottom: none;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(197, 160, 89, 0.22);
}
#mob-menu a.bg:hover { color: var(--pri); }

/* ── Buttons ──
   One button system, three variants — .bg (primary, solid accent),
   .bo (secondary, outline), and the hero's .cta-* which now inherit the
   same size/weight/letter-spacing so a button reads identically wherever
   it appears. Solid fills (no gradient) for a cleaner, more premium look. */
.bg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; background: var(--acc); color: var(--pri); border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; font-family: inherit; box-shadow: 0 4px 14px rgba(197, 160, 89, 0.22); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; text-decoration: none; }
.bg:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35); color: var(--pri); }
.bg::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent); transform: skewX(-25deg); transition: 0.75s; }
.bg:hover::before { left: 150%; }
.bo { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; background: transparent; border: 2px solid var(--pri); color: var(--pri); border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; font-family: inherit; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; }
.bo:hover { background: var(--pri); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bo.lt { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.bo.lt:hover { background: var(--white); color: var(--pri); border-color: var(--white); }

/* ── Cards ── */
.cd { background: var(--white); border: 1px solid rgba(12, 46, 28, 0.06); border-radius: var(--radius-md); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.cd:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(197, 160, 89, 0.3); }
.cd::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--acc), var(--acc-light)); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.cd:hover::after { width: 100%; }
.p-svg, .ind-svg { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); width: 48px; height: 48px; color: var(--pri); display: inline-block; }
.cd:hover .p-svg, .cd:hover .ind-svg { transform: translateY(-6px) scale(1.08); color: var(--acc); filter: drop-shadow(0 4px 8px rgba(197, 160, 89, 0.2)); }
.product-thumb { border-radius: var(--radius-sm); margin-bottom: 8px; }
.country-flag { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; font-size: 36px; }
.cd:hover .country-flag { transform: scale(1.15) rotate(4deg); }

/* ── Sections ── */
.sec { padding: var(--sp-7) var(--sp-4); position: relative; }
/* Any section with an id is a jump target (#faq, #why-sudiana, #social-proof):
   offset it so the fixed header never covers its heading on anchor navigation. */
.sec[id], [id].stats-section { scroll-margin-top: var(--nav-offset); }
.sec-inner { max-width: var(--container); margin: 0 auto; }
.st { font-family: var(--fd); font-size: var(--fs-h2); font-weight: 700; color: var(--pri); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
html[dir="rtl"] .st { letter-spacing: 0; line-height: 1.3; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(197, 160, 89, 0.08); border: 1px solid rgba(197, 160, 89, 0.2); border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--brn); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.badge:hover { background: rgba(197, 160, 89, 0.15); transform: translateY(-2px); box-shadow: var(--shadow-glow); border-color: var(--acc); }

/* ── Forms (generic input styling; applies to form-plugin forms too) ── */
input, textarea, select { width: 100%; padding: 16px 20px; border: 1.5px solid rgba(12, 46, 28, 0.1); background: var(--white); font-size: 14px; color: var(--tx); outline: none; border-radius: var(--radius-sm); font-family: inherit; transition: all 0.3s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12); }
textarea { resize: vertical; min-height: 120px; }

/* ════════ Fluent Forms — themed to the Sudiana identity ════════
   Scoped to .sudiana-form-wrap (the template wrapper) so it only restyles the
   forms embedded on the theme's form pages, not any admin/preview context. */
.sudiana-form-wrap .fluentform { margin: 0; }
.sudiana-form-wrap .ff-el-group { margin-bottom: var(--sp-3); }

/* Labels */
.sudiana-form-wrap .ff-el-input--label label,
.sudiana-form-wrap .ff-el-input--label {
  font-family: var(--ff); font-size: var(--fs-sm); font-weight: 700;
  color: var(--pri); letter-spacing: 0.01em; margin-bottom: 8px;
}
.sudiana-form-wrap .ff-el-is-required.asterisk-right label:after,
.sudiana-form-wrap .ff-el-input--label.asterisk-right:after { color: var(--acc-dark); }

/* Inputs, textareas, selects — match the theme's native field styling */
.sudiana-form-wrap .ff-el-form-control,
.sudiana-form-wrap input[type="text"],
.sudiana-form-wrap input[type="email"],
.sudiana-form-wrap input[type="tel"],
.sudiana-form-wrap input[type="number"],
.sudiana-form-wrap input[type="url"],
.sudiana-form-wrap textarea,
.sudiana-form-wrap select {
  width: 100%; padding: 15px 18px;
  border: 1.5px solid rgba(12, 46, 28, 0.12);
  background: var(--white); color: var(--tx);
  font-size: 14px; font-family: var(--ff);
  border-radius: var(--radius-sm); outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.sudiana-form-wrap .ff-el-form-control:focus,
.sudiana-form-wrap textarea:focus,
.sudiana-form-wrap select:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12);
}
.sudiana-form-wrap textarea.ff-el-form-control { min-height: 130px; resize: vertical; }
.sudiana-form-wrap .ff-el-form-control::placeholder { color: var(--txXL); }

/* Two-column rows keep the theme's grid gap */
.sudiana-form-wrap .ff-el-group.ff-el-column-container,
.sudiana-form-wrap .ff-columns-container { gap: var(--sp-3); }

/* Submit button = the theme's primary button (.bg) */
.sudiana-form-wrap .ff-btn-submit,
.sudiana-form-wrap .ff_btn_style {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; background: var(--acc); color: var(--pri);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--ff); font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.22);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}
.sudiana-form-wrap .ff-btn-submit:hover,
.sudiana-form-wrap .ff_btn_style:hover {
  transform: translateY(-2px); color: var(--pri);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

/* Checkboxes / radios accent */
.sudiana-form-wrap input[type="checkbox"],
.sudiana-form-wrap input[type="radio"] { width: auto; accent-color: var(--acc); }

/* Validation + success messaging in theme colors */
.sudiana-form-wrap .ff-el-is-error .ff-el-form-control { border-color: #c8452b; }
.sudiana-form-wrap .error.text-danger,
.sudiana-form-wrap .ff-el-is-error .text-danger { color: #9c2a1a; font-size: 12.5px; }
.sudiana-form-wrap .ff-message-success {
  padding: var(--sp-4); text-align: center;
  background: rgba(197, 160, 89, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md); color: var(--pri);
  font-size: 15px; line-height: 1.7;
}

/* RTL: Fluent Forms honours dir on the wrapper; nudge required asterisks */
html[dir="rtl"] .sudiana-form-wrap .ff-el-input--label label { letter-spacing: 0; }

/* ── Grids ── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Hero (centered) ── */
/* ════════ HERO (cinematic edition) ════════ */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  background: var(--pri-dark);
}
/* Background image + overlays. */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35) saturate(1.1); } /* brightness overridden inline per Customizer setting */
.hero-overlay-gradient {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(12, 46, 28, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6, 26, 15, 0.7) 0%, rgba(12, 46, 28, 0.5) 40%, rgba(12, 46, 28, 0.7) 100%);
}
.hero-vignette { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%); }
/* Subtle grain — self-contained SVG fractal noise as a data URI. No external
   request (keeps the GDPR/privacy posture of the self-hosted fonts) and no
   third-party point of failure or CSP conflict. */
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.05; pointer-events: none; z-index: 3; }

/* Floating particles (created by main.js). */
.hero-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.particle { position: absolute; width: 3px; height: 3px; background: var(--acc); border-radius: 50%; opacity: 0; animation: floatUp linear infinite; }
@keyframes floatUp {
  0%   { opacity: 0;   transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { opacity: 0;   transform: translateY(-10vh) scale(1); }
}

/* Decorative hairlines. */
.hero-deco-line { position: absolute; z-index: 4; pointer-events: none; }
.hero-deco-line.left  { top: 15%; left: 5%; width: 1px; height: 120px; background: linear-gradient(180deg, transparent, var(--acc), transparent); opacity: 0.25; }
.hero-deco-line.right { bottom: 15%; right: 5%; width: 1px; height: 120px; background: linear-gradient(180deg, transparent, var(--acc), transparent); opacity: 0.25; }
.hero-deco-line.top   { top: 12%; left: 50%; transform: translateX(-50%); width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); opacity: 0.3; }

/* Content. */
.hero-content { position: relative; z-index: 10; width: 100%; max-width: 860px; margin: 0 auto; padding: 120px 24px 80px; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Badge. */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; background: rgba(197, 160, 89, 0.1); border: 1px solid rgba(197, 160, 89, 0.25); border-radius: 100px; margin-bottom: 32px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: pulseDot 2s infinite; }
@keyframes pulseDot {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 8px rgba(197, 160, 89, 0); }
}
.hero-badge-text { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--acc); }
html[dir="rtl"] .hero-badge-text { letter-spacing: 0; font-size: 12px; }

/* Title. */
.hero-title { font-family: var(--fd); font-size: var(--fs-display); line-height: 1.05; font-weight: 700; color: var(--white); margin-bottom: var(--sp-3); letter-spacing: -0.03em; }
html[dir="rtl"] .hero-title { line-height: 1.4; letter-spacing: 0; }
.hero-title .line { display: block; }
.hero-title .gold { color: var(--acc); }
.hero-title .italic { font-style: italic; color: var(--acc-light); }

/* Subtitle. */
.hero-subtitle { font-family: var(--ff); font-size: clamp(16px, 2vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, 0.7); max-width: 620px; margin-bottom: 48px; font-weight: 300; }

/* CTAs. */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 56px; }
.cta-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: var(--acc); color: var(--pri); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius-sm); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 20px rgba(197, 160, 89, 0.25); }
.cta-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35); }
.cta-primary .cta-icon { display: inline-flex; transition: transform 0.3s ease; }
.cta-primary:hover .cta-icon { transform: translateX(3px); }
html[dir="rtl"] .cta-primary:hover .cta-icon { transform: translateX(-3px); }
.cta-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius-sm); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.cta-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
html[dir="rtl"] .cta-primary, html[dir="rtl"] .cta-secondary { letter-spacing: 0; }

/* Trust badges. */
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 32px; opacity: 0.75; transition: opacity 0.4s ease; }
.hero-trust:hover { opacity: 1; }
.trust-item { display: flex; align-items: center; gap: 6px; }
.trust-icon { color: var(--acc); flex-shrink: 0; }
.trust-text { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
html[dir="rtl"] .trust-text { letter-spacing: 0; font-size: 12px; }

/* Scroll indicator. */
.scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; color: var(--acc); animation: bounceSlow 2s infinite; transition: color 0.3s; }
.scroll-indicator:hover { color: var(--acc-light); }

/* Scroll-reveal helpers. */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.15s; } .stagger-2 { transition-delay: 0.35s; }
.stagger-3 { transition-delay: 0.55s; } .stagger-4 { transition-delay: 0.75s; }
.stagger-5 { transition-delay: 0.95s; }

@keyframes bounceSlow {
  0%, 100% { transform: translateX(-50%) translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50%      { transform: translateX(-50%) translateY(0);    animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ════════ STATS SECTION (green cards) ════════ */
.stats-section { background: var(--cream); padding: 80px 24px; position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.stats-section .stats-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.stats-section .stats-head .st { margin-top: 0; }
.stats-section .hero-stats { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-section .stat-item { background: var(--pri); border: 1px solid rgba(150, 117, 64, 0.2); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: 0 12px 30px rgba(12, 46, 28, 0.12), 0 2px 4px rgba(12, 46, 28, 0.05); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.stats-section .stat-item:hover { transform: translateY(-5px); background: var(--pri-light); border-color: rgba(150, 117, 64, 0.6); box-shadow: 0 24px 48px rgba(12, 46, 28, 0.2), 0 4px 8px rgba(12, 46, 28, 0.08); }
.stats-section .stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: rgba(197, 160, 89, 0.14); border: 1px solid rgba(197, 160, 89, 0.3); color: var(--acc-light); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.stats-section .stat-icon svg { width: 24px; height: 24px; display: block; }
.stats-section .stat-item:hover .stat-icon { background: rgba(197, 160, 89, 0.22); border-color: rgba(197, 160, 89, 0.55); transform: scale(1.06); }
.stats-section .stat-value { font-family: var(--ff); font-size: 38px; color: var(--white); font-weight: 700; line-height: 1.1; margin-bottom: 8px; }
.stats-section .stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--acc-light); opacity: 0.95; }
html[dir="rtl"] .stats-section .stat-label { letter-spacing: 0; font-size: 13px; }
/* Tablet & phone: always two per row. */
@media (max-width: 991px) { .stats-section .hero-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .stats-section { padding: 48px 16px; }
  .stats-section .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-section .stat-item { padding: 24px 12px; border-radius: var(--radius-md); }
  .stats-section .stat-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .stats-section .stat-icon svg { width: 20px; height: 20px; }
  .stats-section .stat-value { font-size: 28px; }
}

/* ── Product explorer ── */
.search-bar-wrap { position: relative; max-width: 480px; margin: 0 auto 28px; }
.search-input { padding-inline-start: 52px; }
.search-icon-svg { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 20px; color: var(--txL); pointer-events: none; }
.explorer-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn { padding: 10px 24px; border: 1.5px solid rgba(12,46,28,0.12); background: var(--white); border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--txL); cursor: pointer; font-family: inherit; transition: all 0.3s ease; width: auto; }
.tab-btn:hover { border-color: var(--acc); color: var(--acc-dark); }
.tab-btn.active { background: var(--pri); border-color: var(--pri); color: var(--white); }

/* ── TDS table (single product) ── */
.tds-table { width: 100%; border-collapse: collapse; }
.tds-table th, .tds-table td { padding: 14px 18px; font-size: 13.5px; border-bottom: 1px solid rgba(12,46,28,0.08); text-align: start; }
.tds-table th { background: var(--cream-dark); color: var(--pri); font-weight: 700; text-transform: uppercase; font-size: 11px; }
.tds-table td:first-child { font-weight: 600; color: var(--pri-light); }

/* ── FAQ ── */
.faq-q { cursor: pointer; padding: 24px 30px; background: var(--white); border: 1px solid rgba(12, 46, 28, 0.06); border-radius: var(--radius-sm); display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.faq-q:hover { border-color: var(--acc); box-shadow: var(--shadow-md); }
.faq-q.open { border-color: var(--acc); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-q svg { transition: transform 0.4s ease; color: var(--acc); flex-shrink: 0; margin-inline-start: 12px; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; padding: 0 30px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); background: var(--cream-dark); border: 1px solid transparent; border-top: none; border-bottom-left-radius: var(--radius-sm); border-bottom-right-radius: var(--radius-sm); }
.faq-a.open { max-height: 400px; padding: 20px 30px 24px; border-color: rgba(12, 46, 28, 0.06); }
.faq-item { margin-bottom: 14px; }

/* ── CTA ── */
.cta { background: linear-gradient(135deg, var(--pri-dark), var(--pri)); padding: 100px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-grid { position: absolute; inset: 0; z-index: 1; opacity: 0.03; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%); background-size: 24px 24px; }
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
/* Optional background photo (mirrors the hero overlay treatment). */
.cta.has-bg { background: var(--pri-dark); }
.cta-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta h2 { font-family: var(--fd); font-size: var(--fs-h2); color: var(--white); margin-bottom: var(--sp-2); line-height: 1.15; letter-spacing: -0.02em; }
.cta p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Social proof (testimonials + client logos) ── */
.social-proof .ts-grid { align-items: stretch; }
.ts-card { display: flex; flex-direction: column; text-align: start; }
.ts-stars { display: inline-flex; gap: 3px; margin-bottom: 16px; color: var(--acc); }
.ts-star svg { display: block; fill: rgba(12, 46, 28, 0.12); }
.ts-star.on svg { fill: var(--acc); }
.ts-quote {
  font-size: 15px; line-height: 1.85; color: var(--tx);
  margin: 0 0 24px; font-style: italic; position: relative; flex: 1;
}
.ts-quote::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 48px;
  color: var(--acc); opacity: 0.35; line-height: 0;
  position: absolute; inset-inline-start: -4px; top: 14px;
}
html[dir="rtl"] .ts-quote { font-style: normal; }
html[dir="rtl"] .ts-quote::before { content: '\201D'; }
.ts-author { display: flex; align-items: center; margin-top: auto; padding-top: 6px; border-top: 1px solid rgba(12, 46, 28, 0.06); }
.ts-author-meta { display: flex; flex-direction: column; min-width: 0; padding-top: 12px; }
.ts-name { font-weight: 700; color: var(--pri); font-size: 15px; }
.ts-role { font-size: 12px; color: var(--txL); margin-top: 2px; }

.clients-strip { margin-top: 64px; text-align: center; }
.clients-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--txXL); margin-bottom: 28px;
}
html[dir="rtl"] .clients-heading { letter-spacing: 0; font-size: 13px; }
.clients-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 20px 48px;
}
.client-logo {
  display: inline-flex; align-items: center; justify-content: center;
  filter: grayscale(1); opacity: 0.6; transition: filter 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}
.client-logo:hover { filter: grayscale(0); opacity: 1; }
.client-logo img { max-height: 44px; width: auto; }
.client-text {
  font-family: var(--fd); font-weight: 700; font-size: 17px;
  letter-spacing: 1px; color: var(--pri-light);
}

@media (max-width: 860px) {
  .clients-row { gap: 16px 32px; }
  .client-logo img { max-height: 34px; }
  .client-text { font-size: 15px; }
}

/* ── Page header ── */
/* Top padding clears the fixed nav (~90px) plus breathing room; bottom uses the
   spacing scale. */
.page-head { padding: 150px var(--sp-4) var(--sp-6); background: linear-gradient(135deg, var(--pri-dark), var(--pri)); text-align: center; }
.page-head h1 { font-family: var(--fd); font-size: var(--fs-h1); color: var(--white); margin-bottom: var(--sp-2); line-height: 1.1; letter-spacing: -0.02em; }
.page-head p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }



/* ── Footer ── */
footer.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.6); padding: 90px 32px 40px; border-top: 4px solid var(--acc); position: relative; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 60px; }
.site-footer h4 { color: var(--white); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; font-weight: 700; position: relative; display: inline-block; }
html[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: 13px; }
.site-footer h4::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 20px; height: 2px; background: var(--acc); }
html[dir="rtl"] .site-footer h4::after { left: auto; right: 0; }
.site-footer a, .footer-link { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 13.5px; display: block; margin-bottom: 12px; cursor: pointer; transition: all 0.3s; }
.site-footer a:hover, .footer-link:hover { color: var(--acc-light); transform: translateX(4px); }
html[dir="rtl"] .site-footer a:hover, html[dir="rtl"] .footer-link:hover { transform: translateX(-4px); }
.footer-contact-row { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 12px; color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 30px; text-align: center; font-size: 12px; }

/* ── Mobile / lang ── */
.mob-btn { display: none; align-items: center; gap: 12px; }
.lang-btn { background: none; border: 1.5px solid var(--pri); padding: 6px 16px; cursor: pointer; font-size: 11px; font-weight: 700; color: var(--pri); letter-spacing: 1.5px; border-radius: 50px; transition: all 0.3s ease; text-decoration: none; width: auto; }
#nav:not(.scrolled) .lang-btn { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
#nav:not(.scrolled) .lang-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.lang-btn:hover { background: rgba(12, 46, 28, 0.05); }
.mob-btn button { background: none; border: 1.5px solid var(--pri); padding: 4px 10px; font-size: 11px; font-weight: 700; color: var(--pri); cursor: pointer; border-radius: 4px; transition: all 0.3s; width: auto; }
#nav:not(.scrolled) .mob-btn button { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.mob-btn button#mob-toggle { border: none; font-size: 24px; padding: 0; line-height: 1; }
#nav:not(.scrolled) .mob-btn button#mob-toggle { color: var(--white); }

/* ── Contact info list (contact page) ── */
.contact-col-title {
  font-family: var(--fd);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--pri);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-3); }
/* The column title participates in the flex gap; pull it back so it sits closer
   to the first row than the rows sit to each other. */
.contact-info .contact-col-title { margin-bottom: calc(var(--sp-1) * -1); }
.contact-row { display: flex; align-items: center; gap: 18px; }
.contact-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-dark);
  color: var(--acc);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-row:hover .contact-icon {
  background: var(--acc);
  color: var(--white);
  border-color: var(--acc);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.contact-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--txXL);
}
html[dir="rtl"] .contact-label { letter-spacing: 0; font-size: 13px; }
.contact-value {
  font-size: 16px; font-weight: 700; color: var(--pri);
  text-decoration: none; word-break: break-word;
  transition: color 0.3s ease;
}
a.contact-value:hover { color: var(--acc-dark); }

/* ════════════════════════════════════════════════════════════
   BLOG — archive (list) + single article
   ════════════════════════════════════════════════════════════ */

/* ── Shared: category chip, meta row, placeholder visual ── */
.blog-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 50px;
  background: rgba(197, 160, 89, 0.12); border: 1px solid rgba(197, 160, 89, 0.25);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brn);
}
html[dir="rtl"] .blog-chip { letter-spacing: 0; font-size: 12px; }
.blog-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--txL); font-weight: 600; }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--txXL); flex-shrink: 0; }
/* Gradient placeholder for posts with no featured image. */
.blog-ph { position: relative; width: 100%; height: 100%; background: linear-gradient(135deg, var(--pri) 0%, var(--pri-light) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-ph::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(197,160,89,0.25), transparent 55%); }
.blog-ph svg { width: 46px; height: 46px; color: rgba(197, 160, 89, 0.55); position: relative; z-index: 1; }

/* ── Archive: featured hero article ── */
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--white); border: 1px solid rgba(12, 46, 28, 0.07);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-md); transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-featured:hover { box-shadow: var(--shadow-lg); }
.blog-featured-media { position: relative; min-height: 340px; overflow: hidden; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-featured:hover .blog-featured-media img { transform: scale(1.04); }
.blog-featured-badge { position: absolute; top: 20px; inset-inline-start: 20px; z-index: 2; padding: 6px 14px; border-radius: 50px; background: var(--acc); color: var(--pri); font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
html[dir="rtl"] .blog-featured-badge { letter-spacing: 0; font-size: 12px; }
.blog-featured-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body .blog-meta { margin-bottom: 16px; }
.blog-featured-title { font-family: var(--fd); font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; color: var(--pri); letter-spacing: -0.02em; margin-bottom: 14px; }
html[dir="rtl"] .blog-featured-title { letter-spacing: 0; line-height: 1.4; }
.blog-featured-excerpt { font-size: 15px; line-height: 1.8; color: var(--txL); margin-bottom: 24px; }
.blog-read-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc-dark); text-decoration: none; transition: gap 0.3s ease; }
html[dir="rtl"] .blog-read-link { letter-spacing: 0; }
.blog-read-link svg { transition: transform 0.3s ease; }
.blog-featured:hover .blog-read-link { gap: 12px; }

/* ── Archive: post grid ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(12, 46, 28, 0.06); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(197, 160, 89, 0.3); }
.blog-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-card:hover .blog-card-media img { transform: scale(1.06); }
.blog-card-media .blog-chip { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: transparent; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-title { font-family: var(--fd); font-size: 19px; font-weight: 700; line-height: 1.32; color: var(--pri); margin-bottom: 10px; letter-spacing: -0.01em; }
html[dir="rtl"] .blog-card-title { letter-spacing: 0; line-height: 1.45; }
.blog-card-excerpt { font-size: 13.5px; line-height: 1.7; color: var(--txL); margin-bottom: 18px; flex: 1; }
.blog-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(12, 46, 28, 0.06); }
.blog-card-foot .blog-meta { font-size: 12px; }
.blog-card-foot .blog-read-link { font-size: 11px; }

@media (max-width: 860px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 220px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Single article ── */
.article-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--acc), var(--acc-light)); z-index: 1300; transition: width 0.1s linear; }
.article-hero { background: linear-gradient(135deg, var(--pri-dark), var(--pri)); padding: 150px var(--sp-4) var(--sp-6); text-align: center; }
.article-hero-inner { max-width: 820px; margin: 0 auto; }
.article-hero .blog-chip { background: rgba(197, 160, 89, 0.18); border-color: rgba(197, 160, 89, 0.35); color: var(--acc-light); margin-bottom: 22px; }
.article-hero-title { font-family: var(--fd); font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--white); margin-bottom: 22px; text-wrap: balance; }
html[dir="rtl"] .article-hero-title { letter-spacing: 0; line-height: 1.35; }
.article-hero-meta { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; color: rgba(255, 255, 255, 0.7); font-size: 13.5px; font-weight: 600; }
.article-hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.article-hero-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: var(--pri); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; margin-inline-end: 4px; }

.article-cover { max-width: 960px; margin: calc(var(--sp-6) * -1) auto 0; padding: 0 var(--sp-4); position: relative; z-index: 5; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }

.article-body { max-width: 720px; margin: 0 auto; padding: var(--sp-6) var(--sp-4) 0; }

/* Share bar */
.article-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: var(--sp-4) 0; margin-top: var(--sp-5); border-top: 1px solid rgba(12, 46, 28, 0.08); }
.article-share-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--txL); margin-inline-end: 4px; }
html[dir="rtl"] .article-share-label { letter-spacing: 0; }
.share-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream-dark); border: 1px solid rgba(12, 46, 28, 0.08); color: var(--pri); text-decoration: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.share-btn:hover { background: var(--acc); color: var(--pri); border-color: var(--acc); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.share-btn svg { width: 18px; height: 18px; }
.share-btn.copied { background: var(--pri); color: var(--white); border-color: var(--pri); }

/* Related posts */
.article-related { background: var(--cream); padding: var(--sp-7) var(--sp-4); margin-top: var(--sp-7); }
.article-related-inner { max-width: var(--container); margin: 0 auto; }
.article-related h2 { font-family: var(--fd); font-size: var(--fs-h2); color: var(--pri); text-align: center; margin-bottom: var(--sp-5); letter-spacing: -0.02em; }
html[dir="rtl"] .article-related h2 { letter-spacing: 0; }

/* ── Generic article/prose ── */
.prose { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.85; color: var(--tx); }
.prose h2, .prose h3 { font-family: var(--fd); color: var(--pri); margin: 32px 0 14px; }
.prose p { margin-bottom: 18px; }
.prose img { border-radius: var(--radius-md); margin: 24px 0; }
.article-meta { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--brn); font-weight: 700; margin-bottom: 16px; }

/* ── Responsive ── */
/* Medium screens: tighten the centred menu so it never collides with the CTA. */
@media (max-width: 1100px) and (min-width: 861px) {
  .nav-menu { gap: 12px; }
  .nav-link { font-size: 15px; letter-spacing: 0.5px; }
  .nav-actions .bg { padding: 9px 14px !important; }
}

@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .mob-btn { display: flex !important; }
  .g2, .g3 { grid-template-columns: 1fr !important; gap: 10px; }
  .g4 { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .sec { padding: var(--sp-6) 20px; }
  .hero-content { padding: 110px 20px 64px; }
  .hero-trust { gap: 16px; }

  /* Product cards read cramped on phones with the desktop 32px padding and wide
     grid gaps. Tighten both. The padding is set inline in sudiana_product_card(),
     so it needs !important to win over the element style attribute. */
  .product-card { padding: 5px !important; }
}

/* ── Floating WhatsApp button (all screens) ── */
.sudiana-wa {
  position: fixed; z-index: 1200;
  bottom: 24px; inset-inline-end: 24px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  animation: sudianaWaPulse 2.6s ease-out infinite;
}
.sudiana-wa:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55); color: #fff; }
.sudiana-wa svg { display: block; }
@keyframes sudianaWaPulse {
  0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .sudiana-wa { animation: none; } }

/* ── Mobile sticky CTA bar (phones only) ── */
.sudiana-sticky-cta { display: none; }
@media (max-width: 860px) {
  .sudiana-sticky-cta {
    display: flex; align-items: center; gap: 10px;
    position: fixed; z-index: 1150;
    inset-inline: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(12, 46, 28, 0.08);
    box-shadow: 0 -4px 20px rgba(12, 46, 28, 0.08);
  }
  .sudiana-sticky-cta .ssc-main {
    flex: 1; padding: 14px 20px; font-size: 12px; margin: 0;
  }
  .sudiana-sticky-cta .ssc-call {
    flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--pri); color: var(--pri);
    border-radius: var(--radius-sm); text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .sudiana-sticky-cta .ssc-call:hover { background: var(--pri); color: var(--white); }
  /* Lift the WhatsApp button above the sticky bar so they never overlap. */
  .sudiana-wa { bottom: 84px; inset-inline-end: 16px; width: 50px; height: 50px; }
}
