/* LOGO DESIGN COMPARISON */
.logo-comparison {
    --lc-border: #e0ebef;
    --lc-tint: #effbff;
}

/* HEADING */
/* TABLE SURFACE */
.logo-comparison__panel {
    overflow: hidden;
    border: 1px solid var(--lc-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 38px rgba(25, 73, 103, 0.055);
}

.logo-comparison__table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    text-align: left;
}

/* COLUMN WIDTHS */
.logo-comparison__table th:first-child {
    width: 24%;
}

.logo-comparison__table thead th:nth-child(2) {
    width: 25%;
}

.logo-comparison__table thead th:nth-child(3) {
    width: 18%;
}

.logo-comparison__table thead th:last-child {
    width: 33%;
}

/* TABLE HEAD */
.logo-comparison__table thead th {
    padding: 25px 23px;
    border-bottom: 1px solid var(--lc-border);
    background: #f5f9fb;
    color: var(--cs-c-title);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    vertical-align: middle;
}

.logo-comparison__table thead th:first-child {
    color: #647480;
    font-size: 14px;
    font-weight: 600;
}

.logo-comparison__table thead th:last-child {
    border-bottom-color: #0870af;
    background: linear-gradient(135deg, #0870af, #287db3);
    color: #ffffff;
    font-size: 18px;
}

/* TABLE BODY */
.logo-comparison__table tbody th,
.logo-comparison__table tbody td {
    padding: 21px 23px;
    color: var(--cs-c-text);
    font-size: var(--cs-fs-subtext);
    line-height: 1.75;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.logo-comparison__table tbody th {
    background: #fcfdfe;
    color: var(--cs-c-title);
    font-weight: 600;
}

.logo-comparison__table tbody tr + tr > * {
    border-top: 1px solid var(--lc-border);
}

.logo-comparison__table tr > * + * {
    border-left: 1px solid var(--lc-border);
}

/* HIGHLIGHTED COMPANY COLUMN */
.logo-comparison__table tbody td:last-child {
    border-left-color: #cbe9f3;
    background: var(--lc-tint);
    color: #144a6c;
    font-weight: 600;
}

.logo-comparison__table tbody tr + tr > td:last-child {
    border-top-color: #d4eaf7;
}

/* ACCESSIBLE CAPTION */
.logo-comparison__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* SMALL DESKTOP / TABLET */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .logo-comparison__table thead th,
    .logo-comparison__table tbody th,
    .logo-comparison__table tbody td {
        padding: 19px 16px;
    }

    .logo-comparison__table thead th {
        font-size: 14px;
    }

    .logo-comparison__table thead th:last-child {
        font-size: 16px;
    }
}

/* MOBILE — EACH FEATURE BECOMES A COMPARISON CARD */
@media (max-width: 767.98px) {
    .logo-comparison__panel {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .logo-comparison__table,
    .logo-comparison__table tbody {
        display: block;
        width: 100%;
    }

    .logo-comparison__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .logo-comparison__table tbody tr {
        display: block;
        overflow: hidden;
        border: 1px solid var(--lc-border);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 5px 18px rgba(25, 73, 103, 0.035);
    }

    .logo-comparison__table tbody tr + tr {
        margin-top: 16px;
    }

    .logo-comparison__table tbody th,
    .logo-comparison__table tbody td {
        display: block;
        width: 100%;
        padding: 16px 20px;
        border: 0;
    }

    .logo-comparison__table tbody th:first-child {
        width: 100%;
        padding: 18px 20px;
        border-bottom: 1px solid var(--lc-border);
        background: #f4f9fb;
        font-size: 16px;
        line-height: 1.5;
    }

    .logo-comparison__table tbody td + td {
        border-top: 1px solid #ebf4f7;
    }

    .logo-comparison__table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: #1c6ea0;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.5;
    }

    .logo-comparison__table tbody td:last-child {
        border-top: 1px solid #d4eaf7;
        background: var(--lc-tint);
    }

    .logo-comparison__table tbody td:last-child::before {
        color: var(--cs-c-blue);
    }
}

/* ========== GOLDEN RATIO — COLOURFUL DESIGN PRINCIPLES ========== */
/* HEADING */
/* CARD COLOURS */
.logo-harmony__card--blue {
    --card-accent: #2878c8;
    --card-tint: #edf7ff;
    --card-border: #d2e9f7;
}

.logo-harmony__card--amber {
    --card-accent: #b58020;
    --card-tint: #fff7e9;
    --card-border: #efdfbd;
}

.logo-harmony__card--purple {
    --card-accent: #8053b9;
    --card-tint: #f5effc;
    --card-border: #e4d7f3;
}

.logo-harmony__card--teal {
    --card-accent: #287db3;
    --card-tint: #edf9f5;
    --card-border: #cee9e1;
}

.logo-harmony__card--coral {
    --card-accent: #c56958;
    --card-tint: #fff2ee;
    --card-border: #f0d8d1;
}

/* CARD */
.logo-harmony__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(58, 58, 58, 0.045);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

/* ILLUSTRATION HEADER */
.logo-harmony__art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 162px;
    padding: 23px;
    border-bottom: 1px solid var(--card-border);
    background: radial-gradient(ellipse at 50% 90%, #ffffff 0%, transparent 70%), var(--card-tint);
}

/* SMALL COLOUR ACCENT */
.logo-harmony__art::after {
    content: "";
    position: absolute;
    right: 26px;
    bottom: -2px;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--card-accent);
}

.logo-harmony__art svg {
    display: block;
    width: 160px;
    height: 112px;
    max-width: 100%;
}

/* COPY */
.logo-harmony__body {
    flex: 1;
    padding: 26px;
}

.logo-harmony__body h3 {
    margin: 0 0 12px;
    color: var(--cs-c-title);
    font-size: clamp(19px, 1.5vw, 21px);
    font-weight: 700;
    line-height: 1.45;
}

.logo-harmony__body p {
    margin: 0;
    color: var(--cs-c-text);
    font-size: var(--cs-fs-subtext);
    line-height: 1.85;
    overflow-wrap: break-word;
}

/* HOVER */
@media (hover: hover) {
    .logo-harmony__card:hover {
        transform: translateY(-4px);
        border-color: var(--card-accent);
        box-shadow: 0 15px 32px rgba(58, 58, 58, 0.09);
    }
}

/* TABLET */
@media (max-width: 991.98px) {
    .logo-harmony__body {
        padding: 24px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .logo-harmony__card {
        border-radius: 17px;
    }

    .logo-harmony__art {
        min-height: 145px;
        padding: 18px;
    }

    .logo-harmony__body {
        padding: 24px 22px;
    }

    .logo-harmony__body p {
        line-height: 1.8;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .logo-harmony__card {
        transition: none;
    }

    .logo-harmony__card:hover {
        transform: none;
    }
}

/* LOGO DESIGN PROCESS */
.logo-workflow {
    --lw-border: #ddecf1;
    --lw-gradient: linear-gradient(135deg, #0870af, #24a8db);
}

/* CONNECTED PROCESS SURFACE */
.logo-workflow__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--lw-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(29, 72, 99, 0.045);
}

.logo-workflow__step {
    position: relative;
    min-width: 0;
    padding: 28px 23px 30px;
}

.logo-workflow__step + .logo-workflow__step {
    border-left: 1px solid var(--lw-border);
}

/* CONNECTING ARROWS */
.logo-workflow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    right: -10px;
    z-index: 1;
    width: 19px;
    height: 19px;
    border-top: 1px solid var(--lw-border);
    border-right: 1px solid var(--lw-border);
    background: #ffffff;
    transform: rotate(45deg);
}

/* ICON LEFT — NUMBER RIGHT */
.logo-workflow__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
}

.logo-workflow__icon {
    display: grid;
    flex: 0 0 55px;
    place-items: center;
    width: 55px;
    height: 55px;
    border: 1px solid #188ad1;
    border-radius: 15px;
    background: var(--lw-gradient);
    color: #ffffff;
    font-size: 24px;
    box-shadow:
        0 7px 16px rgba(8, 112, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-workflow__number {
    color: #adcfe2;
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

/* CONTENT */
.logo-workflow__content {
    min-width: 0;
}

.logo-workflow__content h3 {
    margin: 0 0 13px;
    color: var(--cs-c-title);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.logo-workflow__content p {
    margin: 0;
    color: var(--cs-c-text);
    font-size: var(--cs-fs-subtext);
    line-height: 1.85;
    overflow-wrap: break-word;
}

.logo-workflow__content strong {
    color: #1a7fbf;
    font-weight: 600;
}

/* FINAL STEP */
.logo-workflow__step:last-child {
    border-radius: 0 19px 19px 0;
    background: #f3fcff;
}

.logo-workflow__step:last-child .logo-workflow__number {
    color: var(--cs-c-blue);
}

/* HIGHLIGHTED TIMELINE */
.logo-workflow__timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: fit-content;
    max-width: 100%;
    margin: 27px auto 0;
    padding: 17px 25px;
    border: 1px solid #cce5f5;
    border-radius: 14px;
    background: #effafe;
}

.logo-workflow__timeline-icon {
    display: grid;
    flex: 0 0 43px;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid #d9eaf5;
    border-radius: 12px;
    background: #ffffff;
    color: var(--cs-c-blue);
    font-size: 21px;
}

.logo-workflow__timeline p {
    min-width: 0;
    margin: 0;
    color: #1686cc;
    font-size: var(--cs-fs-subtext);
    line-height: 1.75;
}

.logo-workflow__timeline strong {
    color: #096ca9;
    font-weight: 700;
}

/* SMALL DESKTOP */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .logo-workflow__step {
        padding: 25px 17px 27px;
    }

    .logo-workflow__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 21px;
    }

    .logo-workflow__number {
        font-size: 25px;
    }

    .logo-workflow__content h3 {
        font-size: 17px;
    }

    .logo-workflow__step:not(:last-child)::after {
        top: 40px;
    }
}

/* TABLET — VERTICAL PROCESS */
@media (max-width: 991.98px) {
    .logo-workflow__list {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .logo-workflow__step {
        display: flex;
        align-items: flex-start;
        gap: 27px;
        padding: 28px;
    }

    .logo-workflow__step + .logo-workflow__step {
        border-top: 1px solid var(--lw-border);
        border-left: 0;
    }

    .logo-workflow__top {
        flex: 0 0 48px;
        flex-direction: column;
        gap: 12px;
        margin: 0;
    }

    .logo-workflow__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 21px;
    }

    .logo-workflow__number {
        font-size: 23px;
    }

    .logo-workflow__content {
        flex: 1;
        padding-top: 2px;
    }

    .logo-workflow__content h3 {
        margin-bottom: 9px;
        font-size: 20px;
    }

    .logo-workflow__step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -8px;
        left: 44px;
        width: 15px;
        height: 15px;
        border-top: 0;
        border-right: 1px solid var(--lw-border);
        border-bottom: 1px solid var(--lw-border);
    }

    .logo-workflow__step:last-child {
        border-radius: 0 0 17px 17px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .logo-workflow__step {
        gap: 19px;
        padding: 24px 21px;
    }

    .logo-workflow__top {
        flex-basis: 44px;
    }

    .logo-workflow__icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    .logo-workflow__number {
        font-size: 22px;
    }

    .logo-workflow__content h3 {
        font-size: 19px;
    }

    .logo-workflow__content p {
        line-height: 1.8;
    }

    .logo-workflow__step:not(:last-child)::after {
        left: 35px;
    }

    .logo-workflow__timeline {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        margin-top: 22px;
        padding: 17px;
    }

    .logo-workflow__timeline-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 19px;
    }

    .logo-workflow__timeline strong {
        display: block;
        margin-bottom: 3px;
    }
}

.logo-challenges__image {
    display: block;
    flex: 0 0 auto;
    width: 85px;
    height: 85px;
    max-width: 100%;
    margin-bottom: 5px;
    object-fit: contain;
    object-position: left center;
}

.logo-about-image-bg {
    background: aliceblue;
}
