/* Shared look for page-builder site modules */
.sm-section {
    margin-block: 1.75rem;
}

.sm-section--tight {
    margin-block: 1rem;
}

.sm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ea580c;
}

.sm-kicker::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
}

.sm-title {
    margin: 0;
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
    font-weight: 800;
    line-height: 1.45;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.sm-subtitle {
    margin: 0.55rem 0 0;
    max-width: 42rem;
    font-size: 0.875rem;
    line-height: 1.85;
    color: #64748b;
}

.sm-head {
    margin-bottom: 1.35rem;
}

.sm-head--center {
    text-align: center;
}

.sm-head--center .sm-subtitle {
    margin-inline: auto;
}

.sm-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sm-card:hover {
    border-color: #fdba74;
    box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.28);
    transform: translateY(-2px);
}

.sm-card__glow {
    pointer-events: none;
    position: absolute;
    inset-inline-end: -2rem;
    inset-block-start: -2rem;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.14), transparent 70%);
}

.sm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #fff7ed, #ffedd5);
    color: #ea580c;
    box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.sm-icon--dark {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    color: #fff;
    box-shadow: none;
}

.sm-icon--soft {
    background: #f8fafc;
    color: #334155;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.sm-stat {
    text-align: center;
    padding: 1.35rem 1rem;
    border-radius: 1.15rem;
    border: 1px solid #e2e8f0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sm-stat__value {
    font-size: clamp(1.15rem, 1rem + 0.55vw, 1.55rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ea580c;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
}

.sm-stat__label {
    margin-top: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.sm-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #334155;
}

.sm-check__mark {
    flex-shrink: 0;
    margin-top: 0.15rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #059669;
    box-shadow: inset 0 0 0 1px #a7f3d0;
}

.sm-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid transparent;
}

.sm-banner--soft {
    background: linear-gradient(120deg, #f8fafc, #eff6ff);
    border-color: #e2e8f0;
    color: #0f172a;
}

.sm-banner--orange {
    background: linear-gradient(120deg, #fff7ed, #ffedd5);
    border-color: #fed7aa;
    color: #0f172a;
}

.sm-banner--dark {
    background: linear-gradient(120deg, #0f172a, #1e293b);
    border-color: #1e293b;
    color: #fff;
}

.sm-banner--dark .sm-banner__text {
    color: #cbd5e1;
}

.sm-banner__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.sm-banner__text {
    margin: 0.4rem 0 0;
    max-width: 36rem;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #64748b;
}

.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 0.65rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.sm-btn:hover {
    transform: translateY(-1px);
}

.sm-btn--primary {
    background: #ea580c;
    color: #fff;
}

.sm-btn--primary:hover {
    background: #f97316;
}

.sm-btn--ghost {
    background: #fff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.sm-btn--ghost:hover {
    border-color: #60a5fa;
    color: #2563eb;
}

.sm-btn--on-dark {
    background: #ea580c;
    color: #fff;
}

.sm-quote {
    position: relative;
    border-radius: 1.35rem;
    border: 1px solid #e2e8f0;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), transparent 40%),
        linear-gradient(180deg, #fff, #f8fafc);
    padding: 2rem 1.5rem;
}

.sm-quote__mark {
    position: absolute;
    inset-inline-start: 1.25rem;
    inset-block-start: 0.85rem;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 900;
    color: rgba(234, 88, 12, 0.18);
}

.sm-quote__text {
    position: relative;
    margin: 0;
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
    font-weight: 600;
    line-height: 2;
    color: #1e293b;
}

.sm-quote__meta {
    margin-top: 1.15rem;
    font-size: 0.875rem;
    color: #64748b;
}

.sm-quote__meta strong {
    color: #0f172a;
    font-weight: 800;
}

.sm-process {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .sm-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .sm-process {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sm-process__item {
    position: relative;
    padding: 1.2rem 1.1rem;
    border-radius: 1.15rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.sm-process__step {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #ea580c;
    text-transform: none;
}

.sm-process__num {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 0.7rem;
}

.sm-compare-bad {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-color: #e2e8f0;
}

.sm-compare-good {
    background: linear-gradient(180deg, #fff7ed, #fff);
    border-color: #fed7aa;
}

.sm-price {
    padding: 1.5rem;
}

.sm-price--featured {
    border-color: #fb923c;
    background:
        radial-gradient(circle at top, rgba(249, 115, 22, 0.12), transparent 50%),
        #fff;
    box-shadow: 0 18px 35px -24px rgba(234, 88, 12, 0.55);
}

.sm-price__amount {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 1rem;
}

.sm-price__amount strong {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.sm-price__amount span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.sm-dark {
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    padding: 1.75rem 1.5rem;
    color: #fff;
    background: linear-gradient(125deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
}

.sm-dark::before {
    content: "";
    position: absolute;
    inset-inline-end: -4rem;
    inset-block-start: -3rem;
    width: 14rem;
    height: 14rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 65%);
}

.sm-dark > * {
    position: relative;
}

.sm-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.35);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: #e2e8f0;
}

.sm-alert {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border-radius: 1rem;
    border: 1px solid transparent;
    padding: 1rem 1.1rem;
}

.sm-alert__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sm-alert--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.sm-alert--info .sm-alert__icon {
    background: #dbeafe;
    color: #2563eb;
}

.sm-alert--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.sm-alert--success .sm-alert__icon {
    background: #d1fae5;
    color: #059669;
}

.sm-alert--warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.sm-alert--warning .sm-alert__icon {
    background: #fef3c7;
    color: #d97706;
}

.sm-steps-panel {
    border-radius: 1.35rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.5rem 1.25rem;
}

@media (min-width: 640px) {
    .sm-steps-panel {
        padding: 1.75rem 1.5rem;
    }
}

.sm-step-card {
    height: 100%;
    border-radius: 1.15rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff, #f8fafc);
    padding: 1.2rem;
}

.sm-step-card__num {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 16px -10px rgba(234, 88, 12, 0.8);
}

.sm-hero-preview {
    border-radius: 1.35rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.4rem;
    box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.35);
}

.sm-fade-up {
    animation: smFadeUp 0.45s ease both;
}

@keyframes smFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-media-figure img {
    display: block;
}

.sm-media-figure {
    width: 100%;
}
