/* Gutenberg frontend styles (child theme)
 * Purpose: block-editor related utilities and block content styling.
 * Keep this file Gutenberg-specific to avoid mixing with global components.
 */

/* ==================== Gutenberg Alignments (Block Editor Frontend) ==================== */
.page__editor-content .alignwide,
.service__editor-content .alignwide,
.support__editor-content .alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.page__editor-content .alignfull,
.service__editor-content .alignfull,
.support__editor-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.page__editor-content [data-align="wide"],
.service__editor-content [data-align="wide"],
.support__editor-content [data-align="wide"] {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.page__editor-content [data-align="full"],
.service__editor-content [data-align="full"],
.support__editor-content [data-align="full"] {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ==================== Step Cards / Process Grid ==================== */
.sf-step-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .sf-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sf-step-grid {
    grid-template-columns: 1fr;
  }
}

.sf-step-card {
  position: relative;
  border-radius: 18px;
  padding: 28px 22px;
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.14), rgba(255, 153, 51, 0.04));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.sf-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.sf-step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.sf-step-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.sf-step-icon img,
.sf-step-icon svg {
  width: 42px;
  height: 42px;
}

.sf-step-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sf-step-desc {
  text-align: center;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.65;
}

.sf-step-card--peach { background: linear-gradient(135deg, rgba(255, 153, 51, 0.18), rgba(255, 153, 51, 0.04)); }
.sf-step-card--lavender { background: linear-gradient(135deg, rgba(132, 115, 255, 0.18), rgba(132, 115, 255, 0.04)); }
.sf-step-card--cyan { background: linear-gradient(135deg, rgba(77, 202, 255, 0.18), rgba(77, 202, 255, 0.04)); }
.sf-step-card--pink { background: linear-gradient(135deg, rgba(255, 92, 177, 0.18), rgba(255, 92, 177, 0.04)); }
.sf-step-card--gold { background: linear-gradient(135deg, rgba(255, 195, 84, 0.20), rgba(255, 195, 84, 0.05)); }
.sf-step-card--mint { background: linear-gradient(135deg, rgba(98, 222, 168, 0.18), rgba(98, 222, 168, 0.04)); }
