/* ==========================================================================
   اوجاسافت — Luxury Minimal Theme
   Font: Estedad (aminabedi68/Estedad, SIL OFL 1.1)
   ========================================================================== */

/* ============================ Tokens ============================ */
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================ Tokens ============================ */
:root {
  --bg: #F7F8F6;
  --bg-soft: #EFF2EF;
  --surface: #FFFFFF;
  --ink: #17181A;
  --ink-soft: #3A3D40;
  --muted: #6D7470;
  --line: rgba(23, 24, 26, 0.09);
  --line-soft: rgba(23, 24, 26, 0.055);

  --green: #1E5B48;
  --green-2: #5E9C80;
  --green-3: #143B2F;
  --green-tint: #E2EDE7;
  --green-line: rgba(30, 91, 72, 0.2);

  --grad-brand: linear-gradient(120deg, #1E5B48, #2F7A5F 55%, #3E8F6D);
  --grad-luxe: linear-gradient(115deg, #143B2F 0%, #1E5B48 45%, #3E8F6D 100%);
  --grad-luxe-dark: linear-gradient(115deg, #8FC0A8 0%, #A8CDB6 50%, #D9E9DF 100%);

  --dark: #0F1411;
  --dark-2: #161C18;
  --dark-line: rgba(240, 246, 242, 0.1);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;

  --shadow-sm: 0 2px 10px rgba(17, 24, 20, 0.05);
  --shadow-md: 0 18px 45px -18px rgba(17, 24, 20, 0.16);
  --shadow-lg: 0 40px 90px -40px rgba(17, 24, 20, 0.32);

  --container: 1200px;
  --font: 'Estedad', 'Segoe UI', Tahoma, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================ Reset ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(94, 156, 128, 0.3); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

/* ============================ Utilities ============================ */
.grad {
  background: var(--grad-luxe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-dark {
  background: var(--grad-luxe-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================ Project Hero ============================ */
.project-hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(94, 156, 128, 0.25), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.project-hero-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(30, 91, 72, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 90% 50% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 50% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 42px;
  text-align: center;
}
.project-meta div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.project-meta small {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.project-meta i {
  width: 1px;
  height: 18px;
  background: var(--line-soft);
}

/* ============================ Project Showcase ============================ */
.project-showcase {
  padding-block: clamp(50px, 5vw, 90px);
}
.project-cover {
  position: relative;
  margin-bottom: 40px;
}
.project-cover-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.project-cover-main img {
  width: 100%;
  display: block;
  border-radius: inherit;
}
.project-cover-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(19, 18, 14, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.project-cover-zoom {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.project-cover-zoom:hover {
  transform: scale(1.08);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ============================ Project Detail ============================ */
.project-detail {
  padding-block: clamp(70px, 7vw, 130px);
}
.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}
.project-content { margin-top: 42px; }
.project-entry-content {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 2.15;
}
.project-entry-content > * + * { margin-top: 18px; }
.project-entry-content h2,
.project-entry-content h3,
.project-entry-content h4 { color: var(--ink); font-weight: 800; line-height: 1.65; }
.project-entry-content ul,
.project-entry-content ol { padding-inline-start: 22px; }
.project-entry-content ul { list-style: disc; }
.project-entry-content ol { list-style: decimal; }
.project-entry-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.project-entry-content img { height: auto; border-radius: var(--radius-sm); }
.project-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 14px;
}
.project-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.project-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.project-list-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(30, 91, 72, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
}
.project-list div strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.project-list div small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 4px;
}

.project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.project-service {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(30, 91, 72, 0.06);
  border: 1px solid rgba(30, 91, 72, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-2);
}

/* ============================ Project Aside ============================ */
.project-aside { min-width: 0; }
.project-info-card {
  position: sticky;
  top: 110px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.project-info-card h3 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 19px;
  font-weight: 800;
}
.project-info-card ul { display: grid; }
.project-info-card li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.project-info-card li small { flex: none; color: var(--muted); font-size: 12.5px; }
.project-info-card li strong { text-align: left; font-size: 13.5px; line-height: 1.8; }
.project-visit {
  margin-top: 26px;
  width: 100%;
  justify-content: center;
}
.project-share {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.project-share h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.share-row {
  display: flex;
  gap: 12px;
}
.share-row a,
.share-row button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.share-row a:hover,
.share-row button:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.project-related {
  padding-block: clamp(74px, 9vw, 118px);
  background: linear-gradient(180deg, var(--bg-soft), transparent 220px), var(--bg);
}
.project-related + .cta { padding-top: clamp(70px, 8vw, 100px); }

/* ============================ Responsive Projects ============================ */
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-info-card {
    position: static;
    margin-top: 26px;
  }
}

@media (max-width: 640px) {
  .project-meta { gap: 18px 24px; }
  .project-meta i { display: none; }
  .project-meta div { width: calc(50% - 12px); flex-direction: column; gap: 3px; }
  .project-cover-label { bottom: 14px; left: 14px; }
  .project-detail { padding-top: 40px; }
  .project-content { margin-top: 0; }
  .project-info-card { padding: 24px 20px; }
  .project-related .portfolio-intro { align-items: flex-start; }
}

/* Persian text flow */
.section-lead, .testi blockquote, .cta-banner > p, .form-hint, .footer-about {
  text-align: justify;
  text-justify: inter-word;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--green);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green));
}
.eyebrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--green);
  transform: rotate(45deg);
  background: var(--bg);
}
.eyebrow-dark { color: var(--green-2); }
.eyebrow-dark::before { background: linear-gradient(90deg, transparent, var(--green-2)); }
.eyebrow-dark::after { border-color: var(--green-2); background: var(--dark); }

.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.section-lead {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 2;
  margin-top: 18px;
  max-width: 56ch;
}

/* ============================ Buttons ============================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn svg { transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(30, 91, 72, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(30, 91, 72, 0.6); }
.btn-primary:hover svg { transform: translateX(-4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost-dark:hover { border-color: var(--green-2); color: var(--green-2); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn-light:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--bg); transform: translateY(-2px); }
.btn-outline:hover svg { transform: translateX(-4px); }

.btn-lg { padding: 17px 34px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] .btn-label { opacity: 0; }
.btn[aria-busy="true"] .btn-loading { opacity: 1; }
.btn-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.btn-loading svg { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.skip-link {
  position: fixed; top: -60px; right: 16px; z-index: 2000;
  padding: 12px 20px; background: var(--ink); color: var(--bg);
  border-radius: 10px; font-weight: 600; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============================ Topbar ============================ */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 9px;
}
.topbar-note { display: flex; align-items: center; gap: 10px; }
.topbar-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 4px rgba(94, 156, 128, 0.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(94, 156, 128, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(94, 156, 128, 0.05); }
}
.topbar-contact { display: flex; align-items: center; gap: 12px; }
.topbar-contact a:hover { color: var(--green-2); }
.topbar-sep { opacity: 0.35; }

/* ============================ Header ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 246, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.scrolled {
  background: rgba(247, 248, 246, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(17, 24, 20, 0.22);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 14px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  color: var(--green);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 12px;
  display: block;
}
.tel { direction: ltr; unicode-bidi: isolate; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0.6px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute; right: 14px; left: 14px; bottom: 6px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { font-weight: 700; }

.nav-cta { display: none; }
.header-cta { padding: 12px 22px; font-size: 14px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 200; }
.burger span {
  width: 24px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.hero-glow-1 {
  width: 520px; height: 520px; top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(94, 156, 128, 0.28), transparent 65%);
}
.hero-glow-2 {
  width: 640px; height: 640px; bottom: -260px; right: -160px;
  background: radial-gradient(circle, rgba(30, 91, 72, 0.16), transparent 65%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(23, 24, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 26, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1.5px;
}
.hero-sub {
  margin-top: 26px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 2.1;
  max-width: 46ch;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero-trust {
  display: flex; align-items: center; gap: 16px;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  color: #fff; border: 2px solid var(--bg);
}
.trust-avatars span:nth-child(1) { background: #3d3a33; }
.trust-avatars span:nth-child(2) { background: #a08c68; margin-right: -10px; }
.trust-avatars span:nth-child(3) { background: #cfb98c; margin-right: -10px; color: #2c2a22; }
.trust-avatars span:nth-child(4) { background: var(--green); margin-right: -10px; }
.hero-trust p { font-size: 14px; color: var(--muted); }
.hero-trust strong { color: var(--ink); font-weight: 700; }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; padding: 30px 0; }
.visual-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(30, 91, 72, 0.25);
  animation: ringFloat 8s ease-in-out infinite;
}
.visual-ring-1 { width: 460px; height: 460px; }
.visual-ring-2 { width: 380px; height: 380px; border-style: dashed; animation-delay: -2.5s; }
.visual-ring-3 { width: 300px; height: 300px; border-color: rgba(30, 91, 72, 0.15); animation-delay: -5s; }
@keyframes ringFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.mockup {
  position: relative;
  width: min(400px, 88%);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
}
.hero-visual:hover .mockup { transform: rotate(0deg); }
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #F4F6F4;
}
.mockup-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D9DED9; }
.mockup-bar span:first-child { background: #E2A99A; }
.mockup-bar i {
  margin-inline-start: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 3px 12px;
  border-radius: 20px;
}
.mockup-body { padding: 20px; }
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mockup-title { display: grid; gap: 8px; }
.mg { display: block; background: linear-gradient(90deg, #E8EEE9, #CFDAD3); border-radius: 6px; }
.mg-1 { height: 13px; width: 130px; }
.mg-2 { height: 9px; width: 90px; }
.mockup-pill { width: 54px; height: 22px; border-radius: 20px; background: var(--grad-brand); }

.mockup-cards { display: grid; gap: 10px; margin-bottom: 18px; }
.mc {
  background: #F1F5F1;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid; gap: 7px;
}
.mg-bar { height: 8px; }
.mg-b1 { width: 82%; }
.mg-b2 { width: 60%; }
.mg-b3 { width: 46%; opacity: 0.5; }

.mockup-chart {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  height: 86px; padding: 14px 8px 0;
  border-top: 1px dashed var(--line);
}
.chart-col { display: flex; align-items: flex-end; flex: 1; }
.chart-col i {
  width: 100%; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #7FB69D, #2F7A5F 70%, #1E5B48);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chart-anim .chart-col i { transform: scaleY(1); }
.chart-anim .chart-col:hover i { transform: scaleY(1) translateY(-4px); }
.c1 i { height: 38%; }
.c2 i { height: 55%; }
.c3 i { height: 42%; }
.c4 i { height: 72%; }
.c5 i { height: 58%; }
.c6 i { height: 84%; }
.c7 i { height: 66%; }

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 12px 18px 12px 16px;
  box-shadow: var(--shadow-md);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-1 { top: 6%; right: 0; }
.chip-2 { bottom: 10%; left: 0; animation-delay: -2.5s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.chip-ic {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--green);
}
.chip-ic.brand { background: var(--grad-brand); color: #fff; }
.float-chip strong { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.float-chip small { font-size: 11.5px; color: var(--muted); }

/* Marquee */
.hero-marquee {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  border-block: 1px solid var(--line-soft);
  padding-block: 22px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 17px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--green); font-size: 9px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================ Stats ============================ */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-block: 60px;
  overflow: hidden;
}
.stat {
  padding: 42px 30px;
  text-align: center;
  border-inline-start: 1px solid var(--line-soft);
}
.stat:first-child { border-inline-start: none; }
.stat-num {
  display: block;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ============================ Sections base ============================ */
section { position: relative; }
.about, .services, .process, .testimonials, section.blog, .contact {
  padding-block: clamp(70px, 9vw, 120px);
}

/* ============================ About ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; display: grid; place-items: center; }
.about-media::before {
  content: "";
  position: absolute;
  top: 34px;
  inset-inline-end: -26px;
  width: min(430px, 88%);
  height: 84%;
  border: 1px solid rgba(30, 91, 72, 0.26);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}
.about-media::after {
  content: "";
  position: absolute;
  bottom: 30px;
  inset-inline-start: -30px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(94, 156, 128, 0.3), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.about-frame {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(94, 156, 128, 0.2), transparent 55%),
    #FBFCFA;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(15, 20, 17, 0.35);
}
.about-frame-glow {
  position: absolute; inset: -30%;
  background: conic-gradient(from 90deg, transparent, rgba(94, 156, 128, 0.35), transparent 30%);
  animation: rotateGlow 14s linear infinite;
  z-index: 0;
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }
.about-photo {
  position: absolute; inset: 0;
  z-index: 1;
}
.about-photo::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(160deg, rgba(30, 91, 72, 0.3), transparent 46%),
    linear-gradient(0deg, rgba(20, 59, 47, 0.34), rgba(20, 59, 47, 0.06) 55%);
  z-index: 1;
  pointer-events: none;
}
.about-photo::after {
  content: "";
  position: absolute;
  top: -45%; bottom: -45%;
  left: -65%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(12deg);
  animation: sheen 7s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes sheen {
  0%, 55% { left: -65%; }
  100% { left: 170%; }
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 7s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-media:hover .about-photo img { transform: scale(1.06); }
.about-photo-shade {
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(125% 95% at 50% 18%, transparent 56%, rgba(6, 10, 8, 0.42) 100%),
    linear-gradient(210deg, rgba(9, 14, 11, 0.28), transparent 48%),
    linear-gradient(0deg, rgba(9, 14, 11, 0.58), transparent 60%);
}
.about-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 3;
}
.about-list { margin-top: 34px; display: grid; gap: 22px; }
.about-list li { display: flex; align-items: flex-start; gap: 18px; }
.about-check {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(30, 91, 72, 0.25);
}
.about-list strong { display: block; font-size: 16px; font-weight: 700; }
.about-list small { font-size: 14px; color: var(--muted); line-height: 1.8; display: block; margin-top: 3px; }
.about-actions { margin-top: 38px; }

/* ============================ Services ============================ */
.services { background: var(--bg-soft); }
.services::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30, 91, 72, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
}
.section-note {
  max-width: 40ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bento::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.bento:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 91, 72, 0.35);
}
.bento:hover::before { transform: scaleX(1); }
.bento-num {
  position: absolute;
  top: 22px;
  inset-inline-end: 22px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green);
  background: var(--green-tint);
  border: 1px solid rgba(30, 91, 72, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.bento:hover .bento-num { background: var(--grad-brand); color: #fff; }
.bento-ic {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(30, 91, 72, 0.22);
  margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.bento:hover .bento-ic {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-3px);
}
.bento h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.bento p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  transition: gap 0.3s var(--ease);
}
.bento:hover .bento-link { gap: 12px; }
.bento-feature {
  grid-column: span 2;
  padding: 36px 32px;
  background:
    radial-gradient(120% 100% at 92% 0%, rgba(94, 156, 128, 0.14), transparent 55%),
    var(--surface);
}
.bento-feature h3 { font-size: 21px; }
.bento-tall { grid-row: span 2; }
.bento-tall .bento-ic { width: 58px; height: 58px; }
.card {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 91, 72, 0.35);
}
.card:hover::before { transform: scaleX(1); }
.card-ic {
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(30, 91, 72, 0.25);
  margin-bottom: 24px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .card-ic {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-3px);
}
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  transition: gap 0.3s var(--ease);
}
.card:hover .card-link { gap: 12px; }

/* ============================ Products ============================ */
.products {
  background: var(--dark);
  color: #fff;
  padding-block: clamp(80px, 10vw, 130px);
  overflow: hidden;
}
.products-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(94, 156, 128, 0.12), transparent 60%),
    radial-gradient(500px 380px at 5% 100%, rgba(30, 91, 72, 0.1), transparent 60%);
}
.section-head-dark .section-title { color: #fff; }
.section-head-dark .section-note { color: rgba(255, 255, 255, 0.6); }

.products-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.product-card {
  position: relative;
  display: block;
  flex: 0 1 360px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(94, 156, 128, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.product-logo {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(120deg, rgba(94, 156, 128, 0.22), rgba(30, 91, 72, 0.16));
  border: 1px solid rgba(94, 156, 128, 0.3);
  color: var(--green-2);
}
.product-tag {
  font-size: 11.5px; font-weight: 600;
  color: #0F1411;
  background: var(--grad-brand);
  padding: 5px 12px;
  border-radius: 20px;
}
.product-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.product-card p { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.9; }
.product-card .card-link { color: var(--green-2); }

/* ============================ Process ============================ */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline: 0;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(94, 156, 128, 0.5) 10%, rgba(30, 91, 72, 0.45) 90%, transparent);
}
.step {
  position: relative;
  padding-top: 40px;
}
.step-num {
  position: absolute;
  top: -15px;
  left: 50%;
  margin-inline-start: -22px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--green-line);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  direction: ltr;
  unicode-bidi: isolate;
  z-index: 2;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover .step-num {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px -10px rgba(30, 91, 72, 0.55);
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
}
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.step:hover h3 { color: var(--green); }

.track-glow {
  position: absolute;
  top: 2.5px;
  right: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 14px 3px rgba(94, 156, 128, 0.5);
  animation: trackMove 7s ease-in-out infinite;
}
@keyframes trackMove {
  0% { right: 0; opacity: 0; }
  12% { opacity: 1; }
  50% { right: calc(100% - 9px); opacity: 1; }
  88% { opacity: 1; }
  100% { right: calc(100% - 9px); opacity: 0; }
}
.track-leaf {
  position: absolute;
  top: -10px;
  inset-inline-end: -2px;
  color: var(--green-2);
  z-index: 1;
  transform: rotate(-10deg);
}

/* ============================ Testimonials ============================ */
.testimonials { background: var(--bg-soft); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 38px 30px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testi::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(30, 91, 72, 0.42), rgba(94, 156, 128, 0.14) 38%, rgba(30, 91, 72, 0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.4s var(--ease);
  z-index: 1;
}
.testi::after {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 96px;
  background: radial-gradient(120% 100% at 85% 0%, rgba(94, 156, 128, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.testi:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 52px -24px rgba(30, 91, 72, 0.38), 0 10px 26px -18px rgba(30, 91, 72, 0.28);
}
.testi:hover::before {
  background: linear-gradient(150deg, rgba(30, 91, 72, 0.75), rgba(94, 156, 128, 0.32) 40%, rgba(30, 91, 72, 0.7));
}
.testi-quote {
  position: absolute;
  top: -16px;
  inset-inline-end: 26px;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 8px;
  border: 1px solid rgba(30, 91, 72, 0.2);
  z-index: 2;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testi:hover .testi-quote {
  transform: scale(1.07) rotate(-6deg);
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}
.testi-stars {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 3px;
  color: var(--green);
  margin-bottom: 20px;
}
.testi blockquote {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-soft);
  flex: 1;
}
.testi figcaption {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #8FC0A8, #3E8F6D);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px rgba(30, 91, 72, 0.3);
}
.testi figcaption strong { display: block; font-size: 14.5px; font-weight: 700; }
.testi figcaption small { font-size: 12.5px; color: var(--muted); }

/* ============================ Blog ============================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.post-cover {
  height: 200px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.post-cover::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(94, 156, 128, 0.4), transparent 50%),
    linear-gradient(140deg, #2A2720, #15130E);
}
.post-cover::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(94, 156, 128, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 50% 60%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 60%, #000, transparent 75%);
}
.post-cover-2::before {
  background:
    radial-gradient(circle at 25% 25%, rgba(94, 156, 128, 0.35), transparent 55%),
    linear-gradient(140deg, #20241F, #0F1410);
}
.post-cover-3::before {
  background:
    radial-gradient(circle at 75% 30%, rgba(94, 156, 128, 0.3), transparent 55%),
    linear-gradient(140deg, #262018, #120E08);
}
.post-cover span {
  position: relative; z-index: 1;
  font-size: 14px; font-weight: 700;
  color: var(--green-2);
  border: 1px solid rgba(94, 156, 128, 0.45);
  background: rgba(19, 18, 14, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 30px;
}
.post-body { padding: 26px 26px 28px; }
.post-body time,
.post-body .post-meta {
  font-size: 12.5px; color: var(--green);
  font-weight: 600;
}
.post-body h2,
.post-body h3 {
  font-size: 17.5px; font-weight: 800;
  line-height: 1.7;
  margin-block: 12px 6px;
}

.blog-archive {
  padding-block: clamp(72px, 9vw, 118px);
  background: linear-gradient(180deg, var(--bg-soft), transparent 210px), var(--bg);
}
.blog-archive-heading { margin-bottom: 36px; }
.blog-archive-grid { align-items: stretch; }
.blog-archive-grid .post { height: 100%; }
.blog-archive-grid .post-body { display: flex; min-height: 220px; flex-direction: column; }
.blog-archive-grid .post-body p { margin-bottom: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.blog-archive-grid .card-link { margin-top: auto; }
.blog-empty { padding: 40px; text-align: center; color: var(--muted); }

/* ============================ CTA banner ============================ */
.cta { padding: 0 0 clamp(70px, 9vw, 110px); }
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, #121713, #1C2620 50%, #121713);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 156, 128, 0.25);
  padding: clamp(50px, 7vw, 80px);
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 300px at 50% -20%, rgba(94, 156, 128, 0.25), transparent 60%),
    radial-gradient(400px 260px at 12% 110%, rgba(94, 156, 128, 0.12), transparent 60%);
}
.cta-banner .eyebrow { justify-content: center; position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.4;
  position: relative; z-index: 1;
}
.cta-banner > p {
  margin: 18px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 2;
  position: relative; z-index: 1;
}
.cta-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ============================ Contact ============================ */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-list { margin-top: 38px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--green);
  box-shadow: var(--shadow-sm);
}
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.contact-list a, .contact-list p { font-size: 15px; font-weight: 600; line-height: 1.8; display: block; }
.contact-list a:hover { color: var(--green); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow-md);
}
.contact-card h3 { font-size: 21px; font-weight: 800; }
.form-hint { font-size: 13.5px; color: var(--muted); margin-block: 10px 26px; line-height: 1.8; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.req { color: var(--green); }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14.5px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #AAB1AD; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 91, 72, 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-error { min-height: 0; font-size: 12.5px; color: #C0503F; margin-top: 7px; display: none; }
.field.error input, .field.error textarea { border-color: #C0503F; background: #FBF3F1; }
.field.error .field-error { display: block; }

.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }

/* ============================ Footer ============================ */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(60px, 8vw, 90px);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(94, 156, 128, 0.1), transparent 70%);
  pointer-events: none;
}
.footer::after {
  content: "Ojasoft";
  position: absolute;
  inset-inline-end: -16px;
  bottom: -10px;
  font-size: clamp(84px, 13vw, 180px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  direction: ltr;
  pointer-events: none;
  user-select: none;
}
.footer > .container { position: relative; z-index: 1; }
.brand-dark .brand-text strong { color: #fff; }
.brand-dark .brand-text small { color: rgba(255, 255, 255, 0.5); }
.brand-dark .brand-mark { color: var(--green-2); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 44px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-enamad-col { align-items: start; }
.footer-enamad-col .enamad {
  margin-top: 4px;
  padding: 10px 10px 8px;
  border-radius: 14px;
}
.footer-enamad-col .enamad-inner {
  width: auto; height: auto;
  padding: 8px;
  border-radius: 10px;
}
.footer-enamad-col .enamad img { width: 125px; height: 136px; }
.footer-about {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
  max-width: 40ch;
}
.socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.footer-trust .socials { margin-top: 0; }
.footer-trust .enamad { margin-top: 0; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--green-2), transparent);
}
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s var(--ease), padding-inline-start 0.25s var(--ease);
}
.footer-col a:hover { color: var(--green-2); padding-inline-start: 6px; }
.footer-contact p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.6); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}
.footer-made .grad { font-weight: 700; }

/* ============================ Toast ============================ */
.toast {
  position: fixed;
  bottom: 30px; right: 50%;
  transform: translate(50%, 140%);
  z-index: 1500;
  display: flex; align-items: center; gap: 14px;
  background: var(--dark);
  color: #fff;
  border: 1px solid rgba(94, 156, 128, 0.35);
  border-radius: 16px;
  padding: 16px 24px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease-spring), opacity 0.4s var(--ease);
  opacity: 0;
  max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(50%, 0); opacity: 1; }
.toast-ic {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #fff;
}

/* ============================ Back to top ============================ */
.back-top {
  position: fixed;
  bottom: 26px;
  right: auto;
  left: 26px;
  z-index: 100;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--dark);
  color: var(--green-2);
  border: 1px solid rgba(94, 156, 128, 0.3);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--green); color: #fff; }

/* ============================ Reveal animations ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* When GSAP drives animation, disable CSS transitions to avoid conflicts */
html.gsap .reveal { transition: none !important; }

/* ============================ Clients strip ============================ */
.clients {
  padding-block: 14px 6px;
  text-align: center;
}
.clients-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 30px;
  letter-spacing: 0.3px;
}
.clients-label::before, .clients-label::after {
  content: "◆";
  color: var(--green);
  font-size: 7px;
  margin-inline: 14px;
  vertical-align: middle;
}
.clients-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-inline: 30px;
}
.clients-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  cursor: default;
  opacity: 0.72;
}
.clients-group img {
  max-height: 56px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.clients-group span:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.clients-group span:hover img { filter: grayscale(0); }

/* ============================ WhatsApp float ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  left: auto;
  z-index: 100;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  line-height: 0;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.34);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 38px -12px rgba(18, 140, 126, 0.75); }
.whatsapp-float:focus-visible { outline: 3px solid rgba(37, 211, 102, 0.35); outline-offset: 4px; }
.whatsapp-float svg { display: block; width: 26px; height: 26px; flex: none; }

/* ============================ eNamad ============================ */
.enamad {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 16px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.footer-trust .enamad {
  margin-top: 0;
}
.enamad::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.enamad::after {
  content: "";
  position: absolute; inset: -40px;
  background: radial-gradient(circle at 50% 0%, rgba(94, 156, 128, 0.14), transparent 60%);
  pointer-events: none;
}
.enamad:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 156, 128, 0.42);
  box-shadow: 0 18px 36px -20px rgba(94, 156, 128, 0.4);
}
.enamad:hover::before { opacity: 1; }
.enamad-inner {
  display: grid;
  place-items: center;
  width: 78px; height: 78px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.35);
}
.enamad img { width: 74px; height: 74px; }
.enamad-label {
  position: relative;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease);
}
.enamad:hover .enamad-label { color: var(--green-2); }

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-copy { text-align: center; }
  .about-list { text-align: right; max-width: 520px; margin-inline: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bento-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-feature { grid-column: span 2; }
  .bento-tall { grid-row: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-grid::before, .track-glow, .track-leaf { display: none; }
  .step { padding-top: 24px; border-top: 1px solid var(--line-soft); }
  .step-num {
    position: static;
    display: inline-block;
    width: auto; height: auto;
    margin: 0 0 12px;
    border: none;
    background: none;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 0;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: none; }
  .stat:nth-child(1), .stat:nth-child(3) { border-bottom: 1px solid var(--line-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; gap: 4px; text-align: center; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(247, 248, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 8px; text-align: center; }
  .nav-link { font-size: 20px; padding: 10px 20px; }
  .nav-cta { display: inline-flex; margin-top: 10px; }
  .nav-link::after { display: none; }

  .hero-title { font-size: clamp(34px, 9vw, 48px); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 20px 0 30px; }
  .visual-ring-1 { width: 320px; height: 320px; }
  .visual-ring-2 { width: 260px; height: 260px; }
  .visual-ring-3 { width: 200px; height: 200px; }
  .float-chip { padding: 10px 14px; }
  .chip-1 { top: 0; right: -6px; }
  .chip-2 { bottom: 4%; left: -6px; }

  .bento-grid, .testi-grid, .blog-grid, .process-grid { grid-template-columns: 1fr; }
  .bento-feature { grid-column: span 1; }
  .bento-tall { grid-row: span 1; }
  .products-grid .product-card { flex-basis: 100%; }
  .process-grid { gap: 36px; }
  .process-grid::before, .track-glow, .track-leaf { display: none; }
  .step { padding-top: 22px; border-top: 1px solid var(--line-soft); }
  .step-num {
    position: static;
    display: inline-block;
    width: auto; height: auto;
    margin: 0 0 12px;
    border: none;
    background: none;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 0;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 18px; }
  .stat:nth-child(2) { border-inline-start: none; }
  .contact-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-banner { padding: 46px 24px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .about-frame { max-width: 340px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-inline-start: none !important; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: none; }
  .topbar-contact { flex-wrap: wrap; justify-content: center; }
}

/* ============================ Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-col i, .chart-anim .chart-col i { transform: scaleY(1) !important; transition-delay: 0s !important; }
}

/* ============================ Contact page ============================ */
.page-hero {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px);
  text-align: center;
  overflow: hidden;
}
.page-hero-glow-1 {
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 420px at 12% 0%, rgba(94, 156, 128, 0.14), transparent 60%),
    radial-gradient(560px 400px at 90% 10%, rgba(30, 91, 72, 0.1), transparent 60%);
  pointer-events: none;
}
.page-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30, 91, 72, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero-title {
  position: relative;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.4;
  margin-top: 20px;
}
.page-hero-sub {
  position: relative;
  max-width: 52ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.page-crumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  direction: rtl;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 6px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.page-crumb a { color: var(--green); font-weight: 700; }
.page-crumb a:hover { text-decoration: underline; }
.page-crumb svg { flex: 0 0 auto; transform: none; }

.contact-extras {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-top: 54px;
}
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
}
.connect-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.connect-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.connect-card > p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 22px;
}
.connect-actions { display: grid; gap: 12px; margin-top: auto; }
.connect-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.connect-btn .c-ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green);
  flex: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.connect-btn .c-dir {
  margin-inline-start: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.connect-btn:hover {
  border-color: rgba(30, 91, 72, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.connect-btn:hover .c-ic { background: var(--grad-brand); color: #fff; }

.contact-pagewrap { padding-block: clamp(60px, 8vw, 90px); }

@media (max-width: 1024px) {
  .contact-extras { grid-template-columns: 1fr; }
  .map-card, .map-card iframe { min-height: 260px; }
}

/* ============================ About page ============================ */
.about-storywrap { background: var(--bg-soft); }
.values { background: var(--bg); }
.values-head { text-align: center; max-width: 660px; margin: 0 auto clamp(40px, 5vw, 58px); }
.values-head .eyebrow { justify-content: center; }
.values-head .section-title { margin-top: 18px; }
.values-head .section-lead { margin: 16px auto 0; max-width: 52ch; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.value:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 91, 72, 0.35);
}
.value:hover::before { transform: scaleX(1); }
.value-ic {
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(30, 91, 72, 0.24);
  margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.value:hover .value-ic {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-3px);
}
.value h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.value p { font-size: 14.5px; color: var(--muted); line-height: 1.95; }
.value-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.value-tags span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 999px;
  padding: 5px 11px;
}

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-grid .value { padding: 30px 26px; }
}

/* ============================ Article page ============================ */
.article-page,
.article-wrap { background: var(--bg); }
.article-wrap { padding-block: clamp(40px, 6vw, 70px); }
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 820px;
  margin-inline: auto;
  background: transparent;
}
.article-layout.post {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: none;
}
.article-layout.post:hover {
  transform: none;
  box-shadow: none;
}
.article-header { text-align: center; }
.article-header .eyebrow { justify-content: center; }
.article-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin-top: 6px;
}
.article-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  margin: 20px auto 0;
  max-width: 54ch;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}
.article-meta .meta-ic {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}
.article-meta time { color: var(--muted); }
.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  margin-top: 34px;
}
.article-cover img {
  width: 100%;
  height: clamp(240px, 44vw, 360px);
  display: block;
  object-fit: cover;
  object-position: center;
}
.article-cover figcaption {
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface);
}
.article-body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2.1;
  background: transparent;
}
.article-body h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.5;
  margin: 38px 0 16px;
}
.article-body h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  margin: 30px 0 12px;
}
.article-body p { margin: 16px 0; }
.article-body ul, .article-body ol {
  margin: 18px 0;
  padding-inline-start: 24px;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li { margin: 8px 0; }
.article-body strong { color: var(--ink); font-weight: 800; }
.article-body a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border-inline-start: 3px solid var(--green);
  background: var(--green-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-weight: 600;
}
.article-body blockquote p { margin: 0; }
.article-body code {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 14px;
  direction: ltr;
  display: inline-block;
}
.example-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.example-card strong { display: block; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.example-card p { margin: 0; font-size: 14px; line-height: 2; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.article-tags span,
.article-tags a {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 999px;
  padding: 6px 13px;
  text-decoration: none;
}
.article-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  padding-block: 26px;
  border-block: 1px solid var(--line-soft);
}
.article-share > span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.share-btn {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.share-btn:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.article-author .avatar {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 19px;
}
.article-author strong { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.article-author small { display: block; font-size: 12.5px; color: var(--green); font-weight: 700; margin-top: 3px; }
.article-author p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 8px; }
.related-title { text-align: center; margin-bottom: 30px; }
.related-title .eyebrow { justify-content: center; }
.related-title h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin-top: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-wrap .related { margin-top: 70px; }
.article-cta { padding-top: clamp(40px, 6vw, 70px); }
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-cover { margin-top: 12px; }
  .article-cover img { height: clamp(220px, 58vw, 320px); }
  .article-body { font-size: 15px; line-height: 2; }
  .article-share { flex-wrap: wrap; }
}
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================ Portfolio page ============================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid rgba(30, 91, 72, 0.42);
  outline-offset: 4px;
}

.portfolio-hero { padding-bottom: clamp(66px, 8vw, 104px); }
.portfolio-hero-orbit {
  position: absolute;
  width: clamp(360px, 48vw, 680px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(30, 91, 72, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.portfolio-hero-orbit::before,
.portfolio-hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(30, 91, 72, 0.07);
}
.portfolio-hero-orbit::before { inset: 11%; }
.portfolio-hero-orbit::after { inset: 23%; }

.portfolio-highlights {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 34px;
  padding: 16px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.portfolio-highlights > div { display: flex; align-items: baseline; gap: 8px; }
.portfolio-highlights strong { color: var(--green); font-size: 19px; font-weight: 800; }
.portfolio-highlights span { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.portfolio-highlights i { width: 1px; height: 24px; background: var(--line); }

.portfolio-showcase {
  padding-block: clamp(78px, 10vw, 132px);
  background: linear-gradient(180deg, var(--bg-soft), transparent 180px), var(--bg);
}
.portfolio-intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}
.portfolio-intro .section-lead { margin: 0; justify-self: end; }

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.portfolio-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.portfolio-filter {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.22s var(--ease), background 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.portfolio-filter:hover { color: var(--green); border-color: var(--green-line); transform: translateY(-1px); }
.portfolio-filter.is-active { color: #fff; border-color: var(--green); background: var(--green); }
.portfolio-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--muted);
  font-size: 12.5px;
}
.portfolio-hint svg { color: var(--green); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-card {
  grid-column: span 4;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.portfolio-card--featured { grid-column: span 8; }
.portfolio-card--half { grid-column: span 6; }
.portfolio-grid[data-visible-count="2"] .portfolio-card { grid-column: span 6; }
.portfolio-grid[data-visible-count="3"] .portfolio-card { grid-column: span 4; }
.portfolio-card[hidden] { display: none !important; }
.portfolio-card.is-filtered-in { animation: portfolioIn 0.36s var(--ease) both; }
@keyframes portfolioIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.portfolio-card:hover {
  transform: translateY(-7px);
  border-color: var(--green-line);
  box-shadow: var(--shadow-lg);
}
.portfolio-link { display: block; height: 100%; }
.portfolio-media {
  position: relative;
  height: 350px;
  overflow: hidden;
  isolation: isolate;
  background-color: #DDE4E0;
  background-image: var(--portfolio-image);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  transition: background-position 2.8s var(--ease);
}
.portfolio-card--featured .portfolio-media { height: 440px; }
.portfolio-card--half .portfolio-media { height: 380px; }
.portfolio-media.is-cover { background-size: cover; background-position: center; }
.portfolio-media--empty {
  background-image: radial-gradient(circle at 20% 20%, rgba(94, 156, 128, 0.34), transparent 38%),
                    linear-gradient(135deg, #dbe8e1, #eef3f0 55%, #cbdcd3);
}
.portfolio-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 18, 13, 0.12), transparent 30%, transparent 66%, rgba(8, 18, 13, 0.42));
  pointer-events: none;
}
.portfolio-index {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  padding-inline: 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 20, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
}
.portfolio-view {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 20, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.portfolio-view svg { transition: transform 0.25s var(--ease); }
.portfolio-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 24px 25px;
}
.portfolio-category {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15px;
}
.portfolio-info h2,
.portfolio-info h3 { font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; line-height: 1.55; }
.portfolio-arrow {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-link:hover .portfolio-media:not(.is-cover) { background-position: center bottom; }
  .portfolio-link:hover .portfolio-view { opacity: 1; transform: none; }
  .portfolio-link:hover .portfolio-view svg { transform: translate(-2px, 2px); }
  .portfolio-link:hover .portfolio-arrow {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
    transform: rotate(-4deg);
  }
}

.portfolio-approach { padding: 0 0 clamp(78px, 10vw, 120px); }
.portfolio-approach-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  padding: clamp(42px, 6vw, 72px);
  border: 1px solid rgba(94, 156, 128, 0.22);
  border-radius: var(--radius-lg);
  color: #fff;
  background: radial-gradient(480px 300px at 0% 100%, rgba(94, 156, 128, 0.16), transparent 66%),
              linear-gradient(120deg, #121713, #1A241E 55%, #121713);
  overflow: hidden;
}
.portfolio-approach-copy h2 { font-size: clamp(28px, 4vw, 43px); font-weight: 800; line-height: 1.45; }
.portfolio-approach-copy p {
  max-width: 52ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 2;
  text-align: justify;
}
.portfolio-approach-list { display: grid; gap: 12px; }
.portfolio-approach-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.portfolio-approach-list li > span {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-2);
  background: rgba(94, 156, 128, 0.11);
  font-size: 13px;
  font-weight: 800;
}
.portfolio-approach-list strong { display: block; font-size: 14.5px; }
.portfolio-approach-list small { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.5); font-size: 12.5px; }

.ojasoft-pagination { margin-top: 42px; }
.ojasoft-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ojasoft-pagination li { list-style: none; }
.ojasoft-pagination a,
.ojasoft-pagination span {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-soft);
}
.ojasoft-pagination .current,
.ojasoft-pagination a:hover { color: #fff; border-color: var(--green); background: var(--green); }
.portfolio-empty { text-align: center; color: var(--muted); }

@media (max-width: 1024px) {
  .portfolio-intro { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-intro .section-lead { justify-self: start; }
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; }
  .portfolio-card,
  .portfolio-card--half { grid-column: span 6; }
  .portfolio-card--featured { grid-column: span 12; }
  .portfolio-approach-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .portfolio-highlights { width: 100%; justify-content: space-around; gap: 10px; padding-inline: 14px; }
  .portfolio-highlights > div { flex-direction: column; align-items: center; gap: 0; }
  .portfolio-highlights strong { font-size: 17px; }
  .portfolio-highlights span { font-size: 10.5px; }
  .portfolio-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .portfolio-filter { flex: none; }
  .portfolio-hint { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-card,
  .portfolio-card--featured,
  .portfolio-card--half,
  .portfolio-grid[data-visible-count] .portfolio-card { grid-column: 1; }
  .portfolio-media,
  .portfolio-card--featured .portfolio-media,
  .portfolio-card--half .portfolio-media { height: 370px; }
  .portfolio-view { opacity: 1; transform: none; }
  .portfolio-info { padding: 20px; }
  .portfolio-approach-card { padding: 40px 24px; }
}

@media (max-width: 420px) {
  .portfolio-highlights { border-radius: 14px; }
  .portfolio-highlights i { height: 36px; }
  .portfolio-media,
  .portfolio-card--featured .portfolio-media,
  .portfolio-card--half .portfolio-media { height: 330px; }
  .portfolio-info h2,
  .portfolio-info h3 { font-size: 16px; }
  .portfolio-arrow { width: 40px; height: 40px; }
}

