/* CT-BY · cj-three-ways · v3 — thick cards + inline-expand (panel is hidden until JS opens it under a clicked module card) */
.cj3w {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(63,95,85,0.045) 0%, rgba(232,227,216,0.22) 100%);
  border-top: 1px solid #E8E3D8;
  border-bottom: 1px solid #E8E3D8;
  position: relative;
  scroll-margin-top: 80px;
  animation: cj3w-rise 0.36s ease-out both;
}
.cj3w.cj3w--hidden { display: none !important; }
@keyframes cj3w-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cj3w-wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.cj3w-head { text-align: center; margin-bottom: 40px; }
.cj3w-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3F5F55;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Montserrat', -apple-system, sans-serif;
}
.cj3w-title {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 500;
  margin: 0;
  color: #1F1F1D;
  line-height: 1.18;
  letter-spacing: -0.005em;
  display: inline-block;
  position: relative;
}
.cj3w-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #3F5F55;
  margin: 14px auto 0;
}
.cj3w-sub {
  font-size: clamp(13px, 1.3vw, 15px);
  color: #6F6F68;
  margin: 6px auto 0;
  font-family: 'Montserrat', sans-serif;
  max-width: 580px;
  line-height: 1.55;
}

.cj3w-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cj3w-way {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #ECE6D9;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.cj3w-way:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -22px rgba(28,38,33,0.28);
  border-color: #D4CEBE;
}

.cj3w-img {
  aspect-ratio: 4/4;
  background: linear-gradient(135deg, #EDE5D6 0%, #DDD5C2 100%);
  overflow: hidden;
  position: relative;
}
.cj3w-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.cj3w-img__ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #B8AE96; font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cj3w-body {
  padding: 24px 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
}

.cj3w-num {
  font-family: Georgia, serif;
  font-size: 26px;
  color: #3F5F55;
  font-weight: 500;
  line-height: 1;
}
.cj3w-wtitle {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 2px 0 4px;
  color: #1F1F1D;
  line-height: 1.25;
  letter-spacing: -0.008em;
}

.cj3w-fit {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 2px 0;
}
.cj3w-flabel {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3F5F55;
  font-weight: 600;
  white-space: nowrap;
}
.cj3w-ftxt {
  font-size: 13.5px;
  color: #3a4942;
  line-height: 1.5;
}

.cj3w-wsum {
  font-size: 14px;
  color: #3a4942;
  margin: 4px 0 0;
  line-height: 1.55;
}
.cj3w-places {
  font-size: 12.5px;
  color: #6F6F68;
  margin: 2px 0 0;
  font-style: italic;
}

.cj3w-case {
  margin-top: 6px;
  padding: 10px 12px;
  border-left: 3px solid #C29A3B;
  background: rgba(194, 154, 59, 0.06);
  border-radius: 0 6px 6px 0;
}
.cj3w-clabel {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e4f0f;
  font-weight: 600;
  margin-bottom: 3px;
}
.cj3w-ctitle {
  display: block;
  font-size: 13.5px;
  color: #1F1F1D;
  margin-bottom: 4px;
}
.cj3w-clink {
  font-size: 12px;
  color: #3F5F55;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Foot — specialist on left, 2 buttons on right */
.cj3w-foot {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #F0EBDD;
}
.cj3w-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cj3w-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #EDE5D6 0%, #DDD5C2 100%);
  flex-shrink: 0;
}
.cj3w-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cj3w-avatar__ph { width: 100%; height: 100%; }
.cj3w-pname { display: flex; flex-direction: column; font-size: 13px; }
.cj3w-pname small {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6F6F68;
  margin-bottom: 1px;
}
.cj3w-pname span { color: #1F1F1D; font-weight: 600; font-family: Georgia, serif; font-size: 15px; line-height: 1.2; }
.cj3w-pmore { font-size: 11px; color: #3F5F55; text-decoration: underline; margin-left: 4px; font-weight: 400; font-family: 'Montserrat', sans-serif; }

.cj3w-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cj3w-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3F5F55;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.18s;
}
.cj3w-btn:hover { background: #335048; transform: translateY(-1px); }
.cj3w-btn--out {
  background: #fff;
  color: #3F5F55 !important;
  border: 1.5px solid #3F5F55;
  padding: 8.5px 16px;
}
.cj3w-btn--out:hover { background: rgba(63,95,85,0.06); }

.cj3w-shortcut {
  text-align: center;
  margin-top: 32px;
  font-size: 13.5px;
  color: #6F6F68;
  font-family: 'Montserrat', sans-serif;
}
.cj3w-shortcut a {
  color: #3F5F55;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  border-bottom: 1px solid #3F5F55;
  padding-bottom: 1px;
}

@media (max-width: 860px) {
  .cj3w { padding: 56px 0; }
  .cj3w-wrap { padding: 0 20px; }
  .cj3w-head { margin-bottom: 28px; }
  .cj3w-way { grid-template-columns: 1fr; }
  .cj3w-img { aspect-ratio: 16/10; }
  .cj3w-body { padding: 20px 20px 22px; }
  .cj3w-foot { grid-template-columns: 1fr; gap: 12px; }
  .cj3w-btns { justify-content: flex-start; }
  .cj3w-wtitle { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .cj3w-way, .cj3w-btn { transition: none; }
  .cj3w-way:hover { transform: none; }
}
