.grid {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding-top: 1.15rem;
    position: relative;
    z-index: 1;
}

.block {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.5rem;
    padding: 1.6rem 1.75rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-heavy);
    scroll-margin-top: var(--scroll-offset);
}

.block-header {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-right: 0.5rem;
}

.block-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 42px;
    flex-shrink: 0;
    color: var(--pink);
    line-height: 1;
}

.block-icon.ic-badge,
.block-icon.ic-badge--iconoir {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.block-icon i {
    display: block;
    font-size: 2.25rem;
    line-height: 1;
    color: inherit;
}

.block-title {
    font-size: 1.02rem;
    font-weight: 650;
}

.block-title span {
    color: var(--yellow);
}

.block-body {
    color: var(--text);
    font-size: 0.96rem;
}

.block-body strong {
    color: var(--yellow);
}

.block-body p+ul {
    margin-top: 0.85rem;
}

.block-body ul+p {
    margin-top: 0.95rem;
}

.block-body p+p {
    margin-top: 0.65rem;
}

.block-body ul {
    margin-top: 0.4rem;
    padding-left: 0;
    list-style: none;
}

.block-body li {
    position: relative;
    margin-top: 0.25rem;
    padding-left: 1.2rem;
    color: var(--text);
}

.block-body li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    box-shadow: 0 0 7px var(--white-60);
}

.block-underline {
    width: 80px;
    height: 2px;
    margin-top: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--yellow), var(--pink));
    transform: scaleX(0);
    transform-origin: left;
}

.process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem 0.75rem;
    margin-top: 0.9rem;
}

.process-step {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-full);
    background: var(--glass);
    box-shadow: var(--shadow-soft);
    color: var(--text-92);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.process-step::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 0.55rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    box-shadow:
        0 0 10px var(--yellow-30),
        0 0 10px var(--pink-15);
}

#situation {
    margin-bottom: 2.8rem;
}

.tech-stack {
    margin-top: 0.9rem;
    color: var(--text-86);
}

.tech-stack .tech-label {
    color: var(--cream-92);
    font-weight: 750;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.55rem;
    margin-top: 0.65rem;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-full);
    background: var(--glass);
    box-shadow: var(--shadow-soft);
    color: var(--text-92);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.tech-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    opacity: 0.9;
}

@media (min-width: 680px) {
    .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -0.75rem;
        width: 0.75rem;
        height: 2px;
        border-radius: var(--radius-full);
        background: linear-gradient(90deg, var(--yellow-50), var(--pink-50));
        opacity: 0.75;
        transform: translateY(-50%);
    }
}

@media (max-width: 720px) {
    .block {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.35rem 1.25rem 1.45rem;
    }

    .block-header {
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .tech-tags {
        justify-content: center;
    }

    .micro-copy {
        font-size: 0.84rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 680px) {
    .process {
        justify-content: center;
    }
}

.micro-copy {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: transparent;
    background-image: linear-gradient(90deg,
            rgb(var(--yellow-rgb) / 0.98) 0%,
            rgb(var(--gold-accent-rgb) / 0.98) 28%,
            rgb(var(--coral-accent-rgb) / 0.96) 62%,
            rgb(var(--pink-rgb) / 0.96) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter:
        drop-shadow(0 0 6px rgb(var(--yellow-rgb) / 0.10)) drop-shadow(0 0 12px rgb(var(--pink-rgb) / 0.10));
}

.micro-copy::before {
    content: "✦ ";
}

.cta-call {
    display: inline-block;
}

a.cta-primary {
    position: relative;
    isolation: isolate;
    display: inline-block;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--pink), var(--yellow));
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    will-change: transform;
}

a.cta-primary::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--pink), var(--yellow));
    filter: blur(16px);
    opacity: 0.55;
    transform: scale(1);
    animation: cta-pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

a.cta-primary:hover {
    transform: translateY(-2px);
}

a.cta-primary:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

a.cta-primary[data-magnet]:hover,
a.cta-primary[data-magnet]:focus-visible {
    box-shadow:
        0 0 0 1px rgb(var(--white-rgb) / 0.08),
        0 10px 26px rgb(var(--pink-rgb) / 0.24),
        0 10px 24px rgb(var(--yellow-rgb) / 0.20);
}

@keyframes cta-pulse-glow {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.06);
    }
}