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

.info-section {
    background-color: #8a8f68;
    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;
}

.info-section > h1 {
    font-size: 80px;
    margin-left: 30px;
    text-align: center;
    margin-bottom: 30px;
    color: #000000;
    font-family: font-1, monospace;
    text-transform: uppercase;
    line-height: 1;
}

.info-section .process {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    align-items: stretch;
    justify-content: center;
    max-width: 1000px;
    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;
}

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

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

.info-div p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;

    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

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

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

/* Mobile: stacked layout with proper margins */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column-reverse;
    }

    .info-section > h1 {
        font-size: 60px;
        margin-left: 0;
    }
}
