/**
 * Additional layouts for native GSC growth pages.
 *
 * This file only composes the existing Ordina tokens and primitives.
 */

.ordina-growth-page .site-main {
    overflow: clip;
}

.growth-hero .service-hero__copy h1 {
    font-size: clamp(46px, 4.2vw, 64px);
}

.growth-hero .service-hero__copy > p {
    max-width: 620px;
}

.service-visual--commerce {
    background: var(--ord-blue-soft);
}

.growth-visual__example-label {
    position: absolute;
    top: 22px;
    left: 24px;
    z-index: 4;
    padding: 7px 10px;
    color: var(--ord-petrol);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 93, 130, 0.14);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.commerce-stack {
    width: min(100%, 410px);
    padding: 18px;
    background: var(--ord-white);
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(1, 40, 60, 0.16);
}

.commerce-stack__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 4px 14px;
    color: var(--ord-muted);
    border-bottom: 1px solid var(--ord-line);
    font-size: 10px;
}

.commerce-stack__head strong {
    padding: 5px 8px;
    color: var(--ord-petrol);
    background: var(--ord-lime);
    border-radius: 4px;
    font-weight: 500;
}

.commerce-stack__core {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    gap: 10px;
    margin-top: 14px;
    color: var(--ord-white);
    background: var(--ord-petrol);
    border-radius: 8px;
}

.commerce-stack__core svg {
    width: 22px;
    height: 22px;
    color: var(--ord-lime);
}

.commerce-stack__core span {
    font-size: 18px;
    font-weight: 500;
}

.commerce-stack__modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.commerce-stack__modules div {
    min-height: 76px;
    padding: 14px;
    background: var(--ord-soft);
    border: 1px solid var(--ord-line);
    border-radius: 7px;
}

.commerce-stack__modules small,
.commerce-stack__modules strong {
    display: block;
}

.commerce-stack__modules small {
    color: var(--ord-blue);
    font-size: 9px;
}

.commerce-stack__modules strong {
    margin-top: 7px;
    color: var(--ord-petrol);
    font-size: 11px;
    font-weight: 500;
}

.growth-overview,
.growth-content-section,
.growth-matrix-section,
.growth-proof-section {
    padding: 110px 40px;
    background: var(--ord-white);
}

.growth-content-section--soft,
.growth-matrix-section {
    background: var(--ord-soft);
}

.growth-heading h2 {
    max-width: 800px;
    margin: 16px 0 0;
    color: var(--ord-ink);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
}

.growth-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: end;
    gap: 72px;
}

.growth-heading--split > p {
    max-width: 520px;
    margin: 0;
    color: var(--ord-muted);
    font-size: 14px;
    line-height: 1.7;
}

.growth-overview__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
    max-width: 980px;
    margin-top: 54px;
    padding-top: 28px;
    border-top: 1px solid var(--ord-line);
}

.growth-overview__copy p {
    margin: 0;
    color: var(--ord-muted);
    font-size: 15px;
    line-height: 1.75;
}

.growth-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 62px;
}

.growth-decision-card {
    min-height: 390px;
    padding: 30px;
    background: var(--ord-soft);
    border: 1px solid var(--ord-line);
    border-radius: 12px;
}

.growth-decision-card > span {
    display: inline-flex;
    padding: 6px 9px;
    color: var(--ord-petrol);
    background: var(--ord-blue-soft);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 500;
}

.growth-decision-card h3 {
    margin: 58px 0 0;
    color: var(--ord-ink);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.growth-decision-card p {
    margin: 14px 0 0;
    color: var(--ord-muted);
    font-size: 13px;
    line-height: 1.65;
}

.growth-decision-card ul {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--ord-line);
    list-style: none;
}

.growth-decision-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--ord-ink);
    font-size: 12px;
    line-height: 1.5;
}

.growth-decision-card li svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: var(--ord-blue);
}

.growth-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 58px;
}

.growth-content-card {
    min-height: 250px;
    padding: 30px;
    background: var(--ord-white);
    border: 1px solid var(--ord-line);
    border-radius: 12px;
}

.growth-content-section:not(.growth-content-section--soft) .growth-content-card {
    background: var(--ord-soft);
}

.growth-content-card > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--ord-petrol);
    background: var(--ord-blue-soft);
    border-radius: 8px;
}

.growth-content-card > span svg {
    width: 18px;
    height: 18px;
}

.growth-content-card h3 {
    margin: 42px 0 0;
    color: var(--ord-ink);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.growth-content-card p {
    margin: 13px 0 0;
    color: var(--ord-muted);
    font-size: 13px;
    line-height: 1.7;
}

.growth-table-wrap {
    margin-top: 58px;
    overflow-x: auto;
    border: 1px solid var(--ord-line);
    border-radius: 12px;
    background: var(--ord-white);
}

.growth-table-wrap:focus-visible {
    outline: 3px solid var(--ord-lime);
    outline-offset: 3px;
}

.growth-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.growth-table th,
.growth-table td {
    padding: 22px 24px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--ord-line);
    font-size: 13px;
    line-height: 1.6;
}

.growth-table thead th {
    color: var(--ord-petrol);
    background: var(--ord-blue-soft);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.growth-table tbody th {
    width: 24%;
    color: var(--ord-ink);
    font-weight: 500;
}

.growth-table td {
    color: var(--ord-muted);
}

.growth-table tbody tr:last-child th,
.growth-table tbody tr:last-child td {
    border-bottom: 0;
}

.growth-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 14px;
    margin-top: 56px;
}

.growth-process-grid .process-card {
    min-height: 320px;
}

.growth-process-grid .process-card h3 {
    margin-top: 86px;
    overflow-wrap: anywhere;
    font-size: clamp(18px, 1.55vw, 22px);
    hyphens: auto;
}

.growth-proof-section {
    color: var(--ord-white);
    background: var(--ord-petrol);
}

.growth-proof {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 78px;
}

.growth-proof__media {
    min-height: 500px;
    margin: 0;
    overflow: hidden;
    background: var(--ord-soft);
    border-radius: 12px;
}

.growth-proof__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.growth-proof__copy h2 {
    max-width: 570px;
    margin: 18px 0 0;
    color: var(--ord-white);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.14;
}

.growth-proof__copy > p {
    max-width: 540px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.75;
}

.growth-proof__copy .button {
    margin-top: 30px;
    color: var(--ord-petrol);
    background: var(--ord-lime);
}

.growth-proof__copy .button svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 1100px) {
    .growth-heading--split,
    .growth-proof {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .growth-decision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .growth-proof__copy {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .growth-hero .service-hero__copy h1 {
        font-size: 42px;
    }

    .commerce-stack {
        width: min(100%, 340px);
    }

    .growth-overview,
    .growth-content-section,
    .growth-matrix-section,
    .growth-proof-section {
        padding: 80px 12px;
    }

    .growth-heading h2,
    .growth-proof__copy h2 {
        font-size: 34px;
    }

    .growth-heading--split,
    .growth-overview__copy,
    .growth-decision-grid,
    .growth-card-grid,
    .growth-proof {
        grid-template-columns: 1fr;
    }

    .growth-heading--split {
        gap: 20px;
    }

    .growth-overview__copy {
        gap: 20px;
        margin-top: 40px;
    }

    .growth-decision-grid,
    .growth-card-grid,
    .growth-process-grid {
        margin-top: 42px;
    }

    .growth-decision-card {
        min-height: 340px;
    }

    .growth-decision-card h3 {
        margin-top: 46px;
    }

    .growth-content-card {
        min-height: 230px;
    }

    .growth-table-wrap {
        margin-top: 42px;
    }

    .growth-table th,
    .growth-table td {
        padding: 18px;
    }

    .growth-process-grid {
        grid-template-columns: 1fr;
    }

    .growth-process-grid .process-card {
        min-height: 260px;
    }

    .growth-process-grid .process-card h3 {
        margin-top: 58px;
    }

    .growth-proof {
        gap: 40px;
    }

    .growth-proof__media,
    .growth-proof__media img {
        min-height: 360px;
    }
}
