/* ============================================================
   ACCSOFT — HOMEPAGE STYLES  (clean rewrite v4)
   ============================================================ */

/* ── TOP BAR ─────────────────────────────────────────────────── */
.top-bar {
  background: var(--color-primary-dark);
  padding: 0;
  height: 36px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.top-bar__message {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.82);
  flex: 1;
}

.top-bar__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out);
}

.top-bar__link:hover { color: var(--color-white); }
.top-bar__link svg  { flex-shrink: 0; opacity: 0.7; }

.top-bar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .top-bar__contacts { display: none; }
  .top-bar__message  { justify-content: center; }
}

/* Header sits below the 36px top-bar */
.has-top-bar .site-header { top: 36px; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-text-primary);
  /* top-bar=36px  header=72px  total=108px */
  padding-top: 108px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(45,106,45,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(212,149,106,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #0F1F0F 0%, #1A2A1A 40%, #141414 100%);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__bg-orb--1 {
  width: 500px; height: 500px;
  top: -120px; right: 5%;
  background: rgba(45,106,45,0.18);
}

.hero__bg-orb--2 {
  width: 300px; height: 300px;
  bottom: 10%; left: 0;
  background: rgba(212,149,106,0.10);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
}

/* ── Hero content ──── */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(45,106,45,0.2);
  border: 1px solid rgba(45,106,45,0.4);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw + 1rem, 5.5rem);
  font-weight: var(--fw-semibold);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-green {
  background: linear-gradient(135deg, #7DC87D 0%, #4AAD4A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__body {
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.65);
  max-width: 48ch;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Product quick-link pills */
.hero__product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.hero__pill:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--color-white);
}

.hero__pill svg { display: inline; flex-shrink: 0; opacity: 0.7; }

/* Trust bar */
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__trust-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1;
}

.hero__trust-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.hero__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* ── Hero visual / dashboard ── */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__dashboard {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero__dashboard-main {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 32px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero__dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.hero__dashboard-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.hero__dashboard-period {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}

.hero__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 80px;
  margin-bottom: var(--space-5);
}

.hero__chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(45,106,45,0.3);
  position: relative;
  transition: background var(--duration-base) var(--ease-out);
}

.hero__chart-bar--active {
  background: linear-gradient(180deg, #5FB85F 0%, var(--color-primary) 100%);
  box-shadow: 0 0 16px rgba(45,106,45,0.4);
}

.hero__chart-bar--accent {
  background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

.hero__kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.hero__kpi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.hero__kpi-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__kpi-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  margin-top: 4px;
}

.hero__kpi-trend--up   { color: #5FB85F; }
.hero__kpi-trend--down { color: var(--color-accent); }

/* Floating cards */
.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
}

.hero__float-card--1 {
  top: -20px;
  left: -32px;
  animation: cardFloat 4s ease-in-out infinite;
}

.hero__float-card--2 {
  bottom: 20px;
  right: -24px;
  animation: cardFloat 4s ease-in-out infinite 2s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero__float-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon--green { background: var(--color-primary-xlight); color: var(--color-primary); }
.hero__float-icon--blue  { background: var(--color-secondary-xlight); color: var(--color-secondary); }

.hero__float-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.hero__float-text small {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero__scroll-text {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.8; }
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__body  { max-width: 54ch; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust   { justify-content: center; }
  .hero__product-pills { justify-content: center; }
  .hero__visual  { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: 108px; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero__trust { flex-wrap: wrap; gap: var(--space-3); }
  .hero__trust-divider { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SOLUTIONS SECTION
═══════════════════════════════════════════════════════════ */
.solutions { background: var(--color-bg); }

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.solution-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out);
  cursor: default;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-6px);
}

.solution-card:hover::before { transform: scaleX(1); }

.solution-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.solution-card__icon {
  width: 56px; height: 56px;
  background: var(--color-primary-xlight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  transition: background var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-spring);
}

.solution-card:hover .solution-card__icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.08) rotate(-3deg);
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}

.solution-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.solution-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.solution-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.solution-card__features li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--color-primary-xlight);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%232D6A2D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  margin-top: var(--space-5);
  transition: gap var(--duration-base) var(--ease-out);
}

.solution-card:hover .solution-card__link { gap: var(--space-3); }

@media (max-width: 1024px) { .solutions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .solutions__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE SECTION
═══════════════════════════════════════════════════════════ */
.why-choose { background: var(--color-white); }

.why-choose__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.why-choose__visual { position: relative; }

.why-choose__image-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-xlight), var(--color-accent-xlight));
  aspect-ratio: 4/5;
  max-height: 580px;
}

.why-choose__image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-12);
}

.why-visual-chart { width: 100%; max-width: 320px; }

.why-choose__badge {
  position: absolute;
  bottom: var(--space-6);
  right: calc(-1 * var(--space-4));
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 180px;
  animation: cardFloat 4s ease-in-out infinite;
}

.why-choose__badge-icon {
  width: 42px; height: 42px;
  background: var(--color-primary-xlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.why-choose__badge strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.why-choose__badge small {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.why-choose__exp {
  position: absolute;
  top: var(--space-6);
  left: calc(-1 * var(--space-4));
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  min-width: 100px;
  box-shadow: var(--shadow-green);
}

.why-choose__exp-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1;
}

.why-choose__exp-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.why-choose__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: background var(--duration-fast) var(--ease-out);
}

.benefit-item:hover { background: var(--color-bg); }

.benefit-item__icon {
  width: 44px; height: 44px;
  background: var(--color-primary-xlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}

.benefit-item:hover .benefit-item__icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.benefit-item__title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.benefit-item__body {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

@media (max-width: 1024px) {
  .why-choose__inner { grid-template-columns: 1fr; }
  .why-choose__visual { order: -1; }
  .why-choose__image-wrap { max-height: 400px; }
  .why-choose__exp, .why-choose__badge { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SKILLS SECTION
═══════════════════════════════════════════════════════════ */
.skills { background: var(--color-white); }

.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.skills__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.skill-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.skill-bar__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
}

.skill-bar__percent {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
}

.skill-bar__track {
  height: 8px;
  background: var(--color-border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  width: 0;
  transition: width 1.2s var(--ease-out);
}

.skill-bar__fill--accent {
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
}

.skill-bar__fill--blue {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
}

.skills__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.skill-metric-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  transition: box-shadow var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.skill-metric-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.skill-metric-card--featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  grid-column: 1 / -1;
}

.skill-metric-card__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.skill-metric-card--featured .skill-metric-card__value { color: var(--color-white); }

.skill-metric-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-wide);
}

.skill-metric-card--featured .skill-metric-card__label { color: rgba(255,255,255,0.7); }

@media (max-width: 1024px) { .skills__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   STATS SECTION
═══════════════════════════════════════════════════════════ */
.stats {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 80% 50%, rgba(212,149,106,0.12) 0%, transparent 60%);
}

.stats__inner { position: relative; z-index: 1; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.stat-item {
  background: rgba(255,255,255,0.04);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  transition: background var(--duration-base) var(--ease-out);
}

.stat-item:hover { background: rgba(255,255,255,0.08); }

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__suffix { color: var(--color-accent-light); }

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-snug);
}

.stat-item__sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-1);
}

@media (max-width: 768px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats__grid { grid-template-columns: 1fr; } .stat-item { padding: var(--space-6); } }

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION
═══════════════════════════════════════════════════════════ */
.projects { background: var(--color-bg); }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.project-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-primary-xlight), var(--color-accent-xlight));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.04);
}

.why-choose__image-wrap img,
.popular-skills__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-2xl);
}

.project-card__image-inner {
  width: 80%; height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
}

.project-card__body { padding: var(--space-5) var(--space-6) var(--space-6); }

.project-card__industry {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.project-card__meta { font-size: var(--text-xs); color: var(--color-text-muted); }

.project-card__link {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--duration-base) var(--ease-out);
}

.project-card:hover .project-card__link { gap: var(--space-2); }

@media (max-width: 1024px) { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .projects__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════════════════════ */
.testimonials { background: var(--color-white); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: box-shadow var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-xlight);
  transform: translateY(-4px);
}

.testimonial-card__quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-primary-xlight);
  line-height: 0.8;
  margin-bottom: var(--space-4);
  display: block;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
}

.testimonial-card__star { color: var(--color-accent); font-size: var(--text-sm); }

.testimonial-card__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  flex-shrink: 0;
  color: var(--color-white);
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.testimonial-card__role { font-size: var(--text-xs); color: var(--color-text-muted); }

@media (max-width: 1024px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .testimonials__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   CLIENT LOGOS CAROUSEL
═══════════════════════════════════════════════════════════ */
.clients { background: var(--color-bg); }

.clients__intro {
  text-align: center;
  margin-bottom: var(--space-12);
}

.clients__intro p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.clients__track-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients__track {
  display: flex;
  gap: var(--space-8);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.clients__track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 72px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  flex-shrink: 0;
  transition: box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.client-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-xlight);
  transform: translateY(-2px);
}

.client-logo__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color var(--duration-base) var(--ease-out);
}

.client-logo:hover .client-logo__text { color: var(--color-primary); }

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--color-text-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45,106,45,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(212,149,106,0.10) 0%, transparent 50%);
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}

.cta-section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-5);
}

.cta-section__label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.cta-section__body {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.6);
  line-height: var(--lh-relaxed);
  max-width: 50ch;
}

.cta-section__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
  min-width: 220px;
}

.cta-section__guarantee {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  justify-content: center;
}

@media (max-width: 900px) {
  .cta-section__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-section__body  { margin-inline: auto; }
  .cta-section__label { justify-content: center; }
  .cta-section__actions { align-items: center; }
}

/* Scroll-reveal handled by global.css */

/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.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;
}

html { scroll-padding-top: 108px; }


/* ═══════════════════════════════════════════════════════════
   PRODUCT BAR — 4 main products below hero
═══════════════════════════════════════════════════════════ */
.product-bar {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-6) 0;
  position: relative;
  z-index: 2;
}

.product-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.product-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.product-bar__item:hover {
  background: rgba(255,255,255,0.12);
}

.product-bar__item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--ease-out);
}

.product-bar__item:hover::after { transform: scaleX(1); }

.product-bar__logo {
  height: 36px;
  width: auto;
  max-width: 90px;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  display: block;
  transition: opacity var(--duration-base) var(--ease-out);
}

.product-bar__item:hover .product-bar__logo { opacity: 1; }

.product-bar__info { flex: 1; min-width: 0; }

.product-bar__num {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 3px;
}

.product-bar__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--space-3);
}

.product-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px var(--space-4);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.product-bar__item:hover .product-bar__btn {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  .product-bar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .product-bar__grid { grid-template-columns: 1fr; }
  .product-bar__logo { height: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   POPULAR SKILLS SECTION
═══════════════════════════════════════════════════════════ */
.popular-skills {
  background: var(--color-bg);
  overflow: hidden;
}

.popular-skills__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

/* Left: text + skill bars */
.popular-skills__content {}

.popular-skills__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.popular-skills__heading span {
  color: var(--color-primary);
}

.popular-skills__body {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-10);
}

/* Circular skill meters */
.popular-skills__meters {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.skill-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.skill-meter__circle {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.skill-meter__svg {
  width: 110px;
  height: 110px;
  max-width: 110px;
  max-height: 110px;
  transform: rotate(-90deg);
  overflow: visible;
}

.skill-meter__track {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 8;
}

.skill-meter__fill {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283; /* circumference = 2*pi*45 */
  stroke-dashoffset: 40;  /* default ~86% shown */
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.skill-meter__fill--accent {
  stroke: var(--color-accent);
  stroke-dashoffset: 20;  /* ~93% shown */
}

.skill-meter__fill--blue {
  stroke: var(--color-secondary);
  stroke-dashoffset: 34;  /* ~88% shown */
}

/* colours merged into fill rules above */

.skill-meter__label-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-meter__pct {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1;
}

.skill-meter__name {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 90px;
  line-height: 1.3;
}

/* Right: image + badge */
.popular-skills__visual {
  position: relative;
}

.popular-skills__img-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 420px;
  background: linear-gradient(135deg, var(--color-primary-xlight), var(--color-accent-xlight));
}

.popular-skills__img-wrap svg {
  width: 100%;
  height: 100%;
  max-height: 420px;
  display: block;
}

.popular-skills__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popular-skills__badge {
  position: absolute;
  bottom: var(--space-6);
  right: calc(-1 * var(--space-6));
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-green);
  min-width: 120px;
}

.popular-skills__badge-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1;
}

.popular-skills__badge-txt {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  opacity: 0.9;
  margin-top: 4px;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .popular-skills__inner { grid-template-columns: 1fr; }
  .popular-skills__visual { display: none; }
}
@media (max-width: 600px) {
  .popular-skills__meters { gap: var(--space-5); }
  .skill-meter__circle { width: 88px; height: 88px; }
  .skill-meter__svg { width: 88px; height: 88px; }
  .skill-meter__pct { font-size: var(--text-lg); }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARDS — enhanced with logos
═══════════════════════════════════════════════════════════ */
.solution-card__product-logo {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: var(--space-4);
}

.solution-card--dark .solution-card__product-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   CLIENT LOGOS — real images
═══════════════════════════════════════════════════════════ */
.client-logo img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter var(--duration-base) var(--ease-out);
  display: block;
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ═══════════════════════════════════════════════════════════
   SKILL METER JS ANIMATION
═══════════════════════════════════════════════════════════ */
.skill-meter.is-animated .skill-meter__fill {
  /* stroke-dashoffset set by JS */
}

