
.mec-container {
  --mec-border: #e5e7eb;
  --mec-surface: #f9fafb;
  --mec-text: #111111;
  --mec-muted: #6b7280;
  --mec-accent: #c4a55a;
  --mec-primary-dim: rgba(196, 165, 90, 0.12);
  --mec-card-bg: #ffffff;
  --mec-card-muted: #6b7280;
  --mec-ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --mec-ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  max-width: 900px;
  margin: 0 auto;

}

/* ── Timeline wrapper ── */
/* .mec-timeline {
  padding-bottom: 120px;
} */

/* ── Entry row ── */
.mec-entry {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 0 48px;
  padding: 48px 0;
  /* border-top: 1px solid var(--mec-border); */
  position: relative;
  align-items: start;
  transition: opacity 0.65s var(--mec-ease-smooth);
}

/* .mec-entry:last-child {
  border-bottom: 1px solid var(--mec-border);
} */

.mec-entry.inactive {
  opacity: 0.28;
}

.mec-entry.active {
  opacity: 1;
}

/* ── Left meta column ── */
.mec-meta {
  position: sticky;
  top: 96px;
  height: min-content;
  padding-top: 8px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mec-meta-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  /* border: 1px solid var(--mec-border); */
  background: #000;
  transition: background 0.6s var(--mec-ease-smooth),
    border-color 0.6s var(--mec-ease-smooth),
    box-shadow 0.6s var(--mec-ease-smooth);
}

/* .mec-entry.active .mec-meta-icon {
  background: var(--mec-primary-dim);
  border-color: rgba(196, 165, 90, 0.4);
  box-shadow: 0 0 0 5px rgba(196, 165, 90, 0.07);
} */

.mec-meta-title {
  font-size: 19px;
  /* font-weight: 600; */
  color: var(--mec-text);
  line-height: 1.35;
  margin: 0;
  font-family: 'SatoshiBlack';
}

.mec-meta-subtitle {
  font-size: 14px;
  /* color: var(--mec-muted); */
  letter-spacing: 0.03em;
  margin-top: 0px;
  font-weight: 400;
  font-family: 'SatoshiBold';
}

/* ── Right white card ── */
.mec-card {
  background: #e9e9e9;
  border-radius: 18px;
  overflow: hidden;
  /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.05); */
  transition: box-shadow 0.65s var(--mec-ease-smooth),
    transform 0.65s var(--mec-ease-smooth);
  padding: 20px;
}

/* .mec-entry.active .mec-card {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.10),
    0 40px 80px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
} */

/* Card image — flush at top, full width */
.mec-card-image {
  width: 100%;
  display: block;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #f0f0f0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s var(--mec-ease-expo),
    transform 0.75s var(--mec-ease-expo);
  border-radius: 18px;
}

.mec-entry.active .mec-card-image {
  opacity: 1;
  transform: scale(1);
}

/* Card body */
.mec-card-body {
  padding: 20px 22px 24px;
}

.mec-content-desc {
  font-size: 18px;
  /* color: var(--mec-card-muted); */
  line-height: 1.6;
  margin: 0;
  font-family: 'SatoshiRegular';
  color: #000;
}

/* ── Expandable — real height animation via grid-rows trick ── */
.mec-expandable {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(10px);
  margin-top: 0;
  transition:
    grid-template-rows 0.75s var(--mec-ease-expo),
    opacity 0.55s var(--mec-ease-expo),
    transform 0.65s var(--mec-ease-expo),
    margin-top 0.55s var(--mec-ease-expo);
}

.mec-expandable-inner {
  overflow: hidden;
  min-height: 0;
}

.mec-entry.active .mec-expandable {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  margin-top: 18px;
}

/* ── List items — staggered slide-up ── */
.mec-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mec-items-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--mec-text);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mec-items-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--mec-accent);
  margin-top: 7px;
}

.mec-entry.active .mec-items-list li {
  opacity: 1;
  transform: translateY(0);
}

.mec-entry.active .mec-items-list li:nth-child(1) {
  transition-delay: 0.10s;
}

.mec-entry.active .mec-items-list li:nth-child(2) {
  transition-delay: 0.17s;
}

.mec-entry.active .mec-items-list li:nth-child(3) {
  transition-delay: 0.24s;
}

.mec-entry.active .mec-items-list li:nth-child(4) {
  transition-delay: 0.31s;
}

.mec-entry.active .mec-items-list li:nth-child(5) {
  transition-delay: 0.38s;
}

/* ── Button ── */
.mec-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  /* padding: 8px 16px; */
  padding: 46px 26px;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease 0.44s,
    transform 0.4s var(--mec-ease-expo) 0.44s,
    background 0.18s ease,
    border-color 0.18s ease;
}

.mec-entry.active .mec-entry-btn {
  opacity: 1;
  transform: translateY(0);
}

.mec-entry-btn:hover {
  background: #ececec;
  border-color: #ccc;
}

.mec-why-us {
  margin-bottom: 30px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .mec-entry {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .mec-meta {
    position: static;
    align-items: center;
  }

  .mec-meta-icon {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .mec-container {
    padding: 0 24px;
  }
}

@media only screen and (min-width: 1200px) {
  .mec-container {
    max-width: 1024px;
  }
}

@media (min-width: 1400px) {
  .mec-container {
    max-width: 1260px;
  }
}