/* ==========================================================
   SIDEKOM | Cards used across pages
   service cards, detailed services, steps, event stages, reasons, info panel
   ========================================================== */

/* ---------- Service card (home page) ---------- */

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow);
}
.service-card p { color: var(--muted); font-size: 0.96rem; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--navy-700);
  color: var(--gold-500);
}
.icon-badge .icon { width: 1.6rem; height: 1.6rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--navy-700);
  font-weight: 700;
  font-size: 0.95rem;
}
.text-link .icon { transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* Arrow pointing backwards ("Back to the blog", "See all packs") */
.icon-back { transform: scaleX(-1); }
.text-link:hover .icon-back { transform: scaleX(-1) translateX(4px); }

/* ---------- Detailed service (services page) ---------- */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail__intro { display: grid; gap: 16px; justify-items: start; }
.service-detail__intro h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0; }
.service-detail__intro p { color: var(--muted); }
.service-detail__list {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-50);
}
.service-detail__list .check-list { gap: 14px; }
.service-detail__list .check-list li { font-weight: 600; color: var(--ink); }

@media (max-width: 820px) {
  .service-detail { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Method steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step {
  counter-increment: step;
  position: relative;
  padding: 34px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-500);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}

/* ---------- Events ---------- */

/* Compact version used in the dark band on the home page */
.events-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.events-teaser h2 { margin-bottom: 18px; }
.events-teaser .button-row { margin-top: 30px; }
.stage-pills { display: grid; gap: 14px; }
.stage-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}
.stage-pill__label {
  flex: none;
  min-width: 86px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-pill strong { color: var(--white); font-weight: 700; }

@media (max-width: 900px) {
  .events-teaser { grid-template-columns: minmax(0, 1fr); }
}

/* Full cards used on the events page */
.stage-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--gold-500);
}
.stage-card__label {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy-700);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Numbered reasons ("why SIDEKOM") ---------- */

.reasons { counter-reset: reason; display: grid; }
.reason {
  counter-increment: reason;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.reason:first-child { border-top: 0; padding-top: 0; }
.reason::before {
  content: "0" counter(reason);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gold-500);
}
.reason h3 { margin-bottom: 6px; }
.reason p { color: var(--muted); }

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}
.why-layout__intro { margin-bottom: 36px; }
.why-layout__intro h2 { margin-bottom: 16px; }
@media (max-width: 900px) {
  .why-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Info panel (agency model) ---------- */

.info-panel {
  display: grid;
  gap: 28px;
  padding: clamp(26px, 3.2vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.info-panel h3 { margin-bottom: 14px; }
.info-panel hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0; }
