:root {
    --box: #071738;
    --muted: #bcd7f3;
    --accent: #2f80ed;
    --radius: 12px;
    --gap: 24px;
  }

.solutions-section {
    /*background: radial-gradient(circle at center, rgb(46 73 76 / 77%) 0%, rgb(0 0 0 / 92%) 100%), url(tile.jpg);*/
    color: #101616;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow-x: hidden; /* prevent scrollbars on small devices */
    flex-direction: column;
    padding: 60px;
    padding-top: 100px;
    scroll-margin-top: 60px;
    background: radial-gradient(circle at center, rgb(46 73 76 / 40%) 0%, rgb(57 70 78 / 1%) 100%);
    background-position: center, 75px 0;
}

.solutions-section > h1 {
    font-size:40px; text-align: center; margin-bottom: 30px;
    color: #ffffff;
    color: #958e6a;
    /*text-shadow:
        0 0 8px rgba(255,255,255,0.6),
        0 0 16px rgba(255,255,255,0.4);*/
    font-family: "Oswald", monospace;
    text-transform: uppercase;
    line-height: 1;
}

.process {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}

.process-row {
    display: flex;
    align-items: center;
    gap: var(--gap);
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.solution {
    background: #ffffff80;
    /*border-radius: var(--radius);*/
    padding: 40px;
    flex: 1 1 240px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    min-height: 210px;
    box-sizing: border-box;
}

.solution h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.solution p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 40ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;

}

/* Desktop: horizontal layout */
@media (min-width: 769px) {
    .process-row {
    flex-direction: row;
    }
}

/* Mobile: stacked layout with proper margins */
@media (max-width: 768px) {
    .process-row {
    flex-direction: column;
    align-items: stretch;
    gap: calc(var(--gap) / 1.5);
    padding-right: 10px; /* add breathing space on right */
    }
    .arrow {
    margin: 8px auto;
    }
    .arrow img {
    transform: rotate(90deg);
    }
    .solution {
    width: 100%;
    flex: 1 1 auto;
    min-height: initial;
    }
}
