/* =========================================================
   R.B INVESTMENT — Return on Business
   Main stylesheet | Dark premium theme (RTL + LTR ready)
   ========================================================= */

:root {
  --bg: #0b0c0e;
  --bg-soft: #101216;
  --bg-card: #14161b;
  --teal-900: #0e2733;
  --teal-800: #102b38;
  --teal-700: #12303c;
  --accent: #2cc6c6;
  --accent-2: #1ba3a3;
  --silver: #d8d8dd;
  --silver-2: #9a9aa0;
  --silver-3: #6c6c73;
  --white: #f5f6f8;
  --star: #f5b942;
  --wa: #25d366;
  --danger: #e5484d;
  --success: #30a46c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --grad-silver: linear-gradient(135deg, #ececf0 0%, #b9b9c0 45%, #8f8f97 100%);
  --grad-text: linear-gradient(120deg, #ffffff 0%, #cfcfd6 55%, #8f8f97 100%);
  --grad-accent: linear-gradient(120deg, #2cc6c6, #17a9a9);
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 78px;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--silver);
  font-size: 16.5px;
  line-height: 1.8;
  font-family: var(--font-ar);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-inline-start: 1.2em; margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--white); line-height: 1.35; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: rgba(44, 198, 198, 0.35); color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.section--teal { background: radial-gradient(1000px 500px at 85% -10%, rgba(44, 198, 198, 0.10), transparent 60%), linear-gradient(180deg, var(--teal-900), var(--teal-800)); }
.section--line { border-top: 1px solid var(--border); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.section-desc { color: var(--silver-2); font-size: 1.05rem; margin: 0; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--accent); }
.muted { color: var(--silver-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--grad-silver); color: #101114; box-shadow: 0 12px 30px rgba(185, 185, 192, 0.18); }
.btn-primary:hover { box-shadow: 0 16px 38px rgba(185, 185, 192, 0.30); transform: translateY(-3px); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-accent { background: var(--grad-accent); color: #04211f; font-weight: 800; }
.btn-accent:hover { box-shadow: 0 14px 34px rgba(44, 198, 198, 0.35); transform: translateY(-3px); }
.btn-wa { background: var(--wa); color: #062b16; }
.btn-wa:hover { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }
.btn-lg { padding: 17px 40px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  background: rgba(11, 12, 14, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { background: rgba(11, 12, 14, 0.92); border-bottom-color: var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand-mark { height: 46px; width: auto; mix-blend-mode: lighten; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--white); font-size: 1.02rem; letter-spacing: 0.14em; font-weight: 700; }
.brand-text small { color: var(--accent); font-size: 0.66rem; letter-spacing: 0.30em; text-transform: uppercase; }
html[lang="ar"] .brand-text strong { letter-spacing: 0.04em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-size: 0.97rem; font-weight: 500;
  color: var(--silver); transition: color 0.2s, background 0.2s; position: relative;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: ""; position: absolute; bottom: 2px; inset-inline: 14px;
  height: 2px; background: var(--grad-accent); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--silver-2); border: 1px solid var(--border-strong);
  padding: 7px 14px; border-radius: 999px; transition: 0.25s;
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--silver); border-radius: 2px; transition: 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0.82) 55%, var(--bg) 100%),
    linear-gradient(120deg, var(--teal-900) 0%, #0b0c0e 60%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.35; transform: scale(1.05);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.hero::after {
  content: ""; position: absolute; z-index: 1; inset-block: 0;
  inset-inline-start: clamp(18px, 6vw, 90px); width: 1px;
  background: linear-gradient(180deg, transparent, rgba(44, 198, 198, 0.65), transparent);
  animation: lineFade 4s ease-in-out infinite;
}
@keyframes lineFade { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.hero-inner { position: relative; z-index: 2; max-width: 850px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(44, 198, 198, 0.4); color: var(--accent);
  background: rgba(44, 198, 198, 0.08);
  border-radius: 999px; padding: 8px 18px; font-size: 0.88rem; font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(44, 198, 198, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(44, 198, 198, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 198, 198, 0); } }

.hero h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.25; margin-bottom: 22px; font-weight: 800; }
.hero p.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--silver-2); max-width: 640px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--border); padding-top: 30px; max-width: 850px;
}
.stat-num { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stat-num .suffix { font-size: 0.65em; }
.stat-label { color: var(--silver-2); font-size: 0.9rem; }

.scroll-hint {
  position: absolute; z-index: 2; bottom: 26px; inset-inline-end: clamp(18px, 6vw, 90px);
  color: var(--silver-3); font-size: 0.78rem; letter-spacing: 0.2em;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px;
}
.scroll-hint::after { content: ""; width: 1px; height: 54px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); border-color: rgba(44, 198, 198, 0.45); box-shadow: var(--shadow-1); }
.card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: inline-start;
  transition: transform 0.4s ease;
}
.card:hover::before { transform: scaleX(1); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Services ---------- */
.service-icon {
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(44, 198, 198, 0.1); border: 1px solid rgba(44, 198, 198, 0.32);
  color: var(--accent); transition: 0.35s;
}
.card:hover .service-icon { background: var(--grad-accent); color: #04211f; transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--silver-2); font-size: 0.97rem; margin-bottom: 16px; }
.card .more { color: var(--accent); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: "←"; transition: transform 0.3s; }
html[lang="en"] .card .more::after { content: "→"; }
.card:hover .more::after { transform: translateX(-5px); }
html[lang="en"] .card:hover .more::after { transform: translateX(5px); }

/* ---------- Projects ---------- */
.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-8px); border-color: rgba(44, 198, 198, 0.45); box-shadow: var(--shadow-1); }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--teal-800); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; opacity: 0.9; }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-roi {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  background: rgba(11, 12, 14, 0.82); border: 1px solid rgba(44, 198, 198, 0.55);
  color: var(--accent); font-weight: 800; font-size: 0.92rem;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-loc { color: var(--accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.project-body h3 { font-size: 1.15rem; margin: 0; }
.project-body p { color: var(--silver-2); font-size: 0.94rem; margin: 0; flex: 1; }
.project-meta { display: flex; gap: 16px; flex-wrap: wrap; border-top: 1px dashed var(--border); padding-top: 14px; margin-top: 8px; font-size: 0.86rem; color: var(--silver-2); }
.project-meta strong { color: var(--white); font-weight: 700; }

/* ---------- Case studies ---------- */
.case-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.case-media { position: relative; min-height: 300px; background: var(--teal-800); }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.case-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.case-tag { align-self: flex-start; background: rgba(44, 198, 198, 0.12); border: 1px solid rgba(44, 198, 198, 0.4); color: var(--accent); font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.case-metric { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.case-metric b { display: block; color: var(--accent); font-size: 1.35rem; font-weight: 800; }
.case-metric span { font-size: 0.8rem; color: var(--silver-2); }

/* ---------- Reviews ---------- */
.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: var(--star); letter-spacing: 3px; font-size: 1rem; }
.review-card blockquote { margin: 0; color: var(--silver); font-size: 1rem; line-height: 1.9; }
.review-card blockquote::before { content: "”"; color: var(--accent); font-size: 2.4rem; line-height: 0; vertical-align: -0.35em; margin-inline-end: 6px; font-family: Georgia, serif; }
.review-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(44, 198, 198, 0.5); background: var(--teal-700);
}
.review-author b { display: block; color: var(--white); font-size: 0.98rem; }
.review-author span { color: var(--silver-2); font-size: 0.84rem; }
.review-verified { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-size: 0.78rem; font-weight: 600; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-media { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--teal-800); position: relative; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; opacity: 0.9; }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-cat {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: rgba(11, 12, 14, 0.85); border: 1px solid rgba(44, 198, 198, 0.5);
  color: var(--accent); font-size: 0.76rem; font-weight: 700;
  padding: 5px 13px; border-radius: 999px;
}
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 14px; color: var(--silver-3); font-size: 0.82rem; }
.post-body h3 { font-size: 1.12rem; margin: 0; line-height: 1.6; }
.post-body h3 a { transition: color 0.25s; }
.post-body h3 a:hover { color: var(--accent); }
.post-body p { color: var(--silver-2); font-size: 0.94rem; margin: 0; flex: 1; }
.post-more { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.post-more::after { content: " ←"; }
html[lang="en"] .post-more::after { content: " →"; }

.author-box {
  display: flex; gap: 18px; align-items: center;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 36px;
}
.author-box img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(44, 198, 198, 0.5); }
.author-box b { color: var(--white); display: block; }
.author-box span { color: var(--accent); font-size: 0.85rem; }
.author-box p { margin: 6px 0 0; color: var(--silver-2); font-size: 0.92rem; }

/* ---------- Article prose ---------- */
.article-hero { padding: calc(var(--header-h) + 60px) 0 40px; background: linear-gradient(180deg, var(--teal-900), var(--bg)); border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.87rem; color: var(--silver-3); }
.breadcrumb a { color: var(--silver-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:not(:last-child)::after { content: "‹"; margin-inline-start: 8px; color: var(--silver-3); }
html[lang="en"] .breadcrumb li:not(:last-child)::after { content: "›"; }
.article-hero h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); max-width: 900px; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--silver-2); font-size: 0.9rem; align-items: center; }

.prose { max-width: 820px; margin-inline: auto; font-size: 1.08rem; }
.prose > p { margin-bottom: 1.35em; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 0.7em; padding-top: 0.6em; border-top: 1px solid var(--border); }
.prose h3 { font-size: 1.25rem; margin: 1.7em 0 0.6em; color: var(--accent); }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.prose li { margin-bottom: 0.55em; color: var(--silver); }
.prose strong { color: var(--white); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 24px; border-inline-start: 3px solid var(--accent);
  background: rgba(44, 198, 198, 0.07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--white); font-style: normal;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--border-strong); padding: 12px 14px; text-align: start; }
.prose th { background: rgba(44, 198, 198, 0.12); color: var(--white); }
.prose tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; border: 1px solid var(--border); }
.prose .callout {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid rgba(44, 198, 198, 0.35); border-radius: var(--radius);
  padding: 22px 26px; margin: 1.8em 0;
}
.prose .callout b { color: var(--accent); display: block; margin-bottom: 6px; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; border-top: 1px solid var(--border); padding-top: 26px; }
.post-nav a { flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; transition: 0.3s; background: var(--bg-soft); }
.post-nav a:hover { border-color: var(--accent); }
.post-nav a small { color: var(--silver-3); display: block; margin-bottom: 4px; }
.post-nav a b { color: var(--white); font-size: 0.95rem; }
.post-nav a.next { text-align: end; }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 74px) 0 66px;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(44, 198, 198, 0.14), transparent 60%),
    linear-gradient(180deg, var(--teal-900), var(--bg));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.page-hero p { color: var(--silver-2); max-width: 680px; margin: 14px auto 0; font-size: 1.05rem; }

/* ---------- About founder ---------- */
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { border-radius: 20px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-2); width: 100%; }
.founder-photo::after {
  content: ""; position: absolute; inset-block: 26px; inset-inline-end: -16px;
  width: 55%; border: 2px solid rgba(44, 198, 198, 0.5); border-radius: 20px; z-index: -1;
}
.founder-quote {
  border-inline-start: 3px solid var(--accent); padding-inline-start: 20px;
  color: var(--white); font-size: 1.06rem; margin: 22px 0;
}
.founder-sign { color: var(--accent); font-weight: 700; letter-spacing: 0.06em; }
.check-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--silver); }
.check-list li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(44, 198, 198, 0.15); color: var(--accent);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
  border: 1px solid rgba(44, 198, 198, 0.4);
}

/* ---------- Process / timeline ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-item { counter-increment: step; position: relative; padding-top: 58px; }
.process-item::before {
  content: "0" counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  font-size: 2.2rem; font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-item::after {
  content: ""; position: absolute; top: 26px; inset-inline-start: 66px; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(44, 198, 198, 0.6), transparent);
}
html[lang="en"] .process-item::after { background: linear-gradient(270deg, rgba(44, 198, 198, 0.6), transparent); left: 66px; right: auto; }
.process-item:last-child::after { display: none; }
.process-item h3 { font-size: 1.08rem; }
.process-item p { color: var(--silver-2); font-size: 0.93rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 20%, rgba(44, 198, 198, 0.16), transparent 60%),
    linear-gradient(135deg, var(--teal-800), var(--bg-soft));
  border: 1px solid rgba(44, 198, 198, 0.3);
  border-radius: 24px; padding: clamp(34px, 5vw, 60px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 8px; }
.cta-band p { color: var(--silver-2); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.form-group label .req { color: var(--accent); }
.form-control {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 13px 16px; color: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s; width: 100%;
}
.form-control::placeholder { color: var(--silver-3); }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(44, 198, 198, 0.18); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver-2) 50%), linear-gradient(135deg, var(--silver-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
html[dir="rtl"] select.form-control { background-position: 14px 55%, 20px 55%; background-image: linear-gradient(135deg, transparent 50%, var(--silver-2) 50%), linear-gradient(45deg, var(--silver-2) 50%, transparent 50%); }
.form-note { font-size: 0.83rem; color: var(--silver-3); }
.form-status { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; margin-top: 16px; }
.form-status.ok { display: block; background: rgba(48, 164, 108, 0.12); border: 1px solid rgba(48, 164, 108, 0.5); color: #7bd8a9; }
.form-status.err { display: block; background: rgba(229, 72, 77, 0.12); border: 1px solid rgba(229, 72, 77, 0.5); color: #ff9498; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 34px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; transition: 0.3s;
}
.contact-item:hover { border-color: rgba(44, 198, 198, 0.45); transform: translateY(-4px); }
.contact-item .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(44, 198, 198, 0.12); border: 1px solid rgba(44, 198, 198, 0.35); display: grid; place-items: center; color: var(--accent); }
.contact-item b { color: var(--white); display: block; font-size: 0.95rem; }
.contact-item span, .contact-item a { color: var(--silver-2); font-size: 0.93rem; }
.contact-item a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #08090b; border-top: 1px solid var(--border); padding: 64px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--silver-2); font-size: 0.94rem; margin-top: 16px; }
.footer-title { color: var(--white); font-size: 1.02rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--grad-accent); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--silver-2); font-size: 0.94rem; transition: 0.25s; display: inline-flex; gap: 8px; }
.footer-links a::before { content: "◂"; color: var(--accent); font-size: 0.7rem; transition: transform 0.25s; }
html[lang="en"] .footer-links a::before { content: "▸"; }
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { transform: translateX(-4px); }
html[lang="en"] .footer-links a:hover::before { transform: translateX(4px); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; color: var(--silver-2); font-size: 0.93rem; align-items: flex-start; }
.footer-contact .ico { color: var(--accent); flex: none; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: var(--silver-3); font-size: 0.87rem; }
.footer-bottom a:hover { color: var(--accent); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--silver-2); transition: 0.3s;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-4px); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 800;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7); animation: waPulse 2s infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Blog listing / filters ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  background: transparent; border: 1px solid var(--border-strong); color: var(--silver-2);
  border-radius: 999px; padding: 9px 22px; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; transition: 0.25s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--grad-accent); border-color: transparent; color: #04211f; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px;
  display: grid; place-items: center; border: 1px solid var(--border-strong);
  color: var(--silver-2); font-weight: 600; transition: 0.25s; font-size: 0.95rem;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--grad-accent); color: #04211f; border-color: transparent; }

/* ---------- 404 ---------- */
.err-hero { min-height: 82svh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.err-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 26px; } .mb-4 { margin-bottom: 40px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; top: -60px; inset-inline-start: 16px; background: var(--accent); color: #04211f; padding: 10px 18px; border-radius: 0 0 10px 10px; z-index: 1000; transition: top 0.3s; font-weight: 700; }
.skip-link:focus { top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-item::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    background: rgba(9, 10, 12, 0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 22px 26px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: rgba(44, 198, 198, 0.1); }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo { max-width: 440px; margin-inline: auto; }
  .case-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-cta .btn { width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-mark { height: 40px; }
  .post-nav { flex-direction: column; }
  .scroll-hint { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .scroll-hint, .hero-cta { display: none !important; }
  body { background: #fff; color: #111; }
}
