h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/*CSS Implementation*/

@font-face {
    font-family: "Roboto";
    src: url("Font/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
    font-display: swap;
    font-weight: 100 900;
}

:root {
    --bg: #ffffff;
    --bg-soft: #f7f7f5;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --surface-strong: #f0efec;
    --ink: #141313;
    --text: #231f20;
    --muted: #66615d;
    --muted-strong: #484542;
    --inverse: #ffffff;
    --primary: #111111;
    --primary-light: #2a2827;
    --border: rgba(20, 19, 19, 0.12);
    --border-strong: rgba(20, 19, 19, 0.24);
    --glass-border: rgba(255, 255, 255, 0.52);
    --shadow-sm: 0 10px 30px rgba(17, 17, 17, 0.07);
    --shadow-md: 0 22px 60px rgba(17, 17, 17, 0.12);
    --shadow-dark: 0 28px 70px rgba(0, 0, 0, 0.28);
    --container: 1460px;
    --section-space: clamp(72px, 8vw, 118px);
    --radius: 8px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    position: relative;
    margin: 0;
    min-height: 100%;
    color: var(--text);
    background: linear-gradient(90deg, rgba(20, 19, 19, 0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(20, 19, 19, 0.025) 1px, transparent 1px), var(--bg);
    background-size: 72px 72px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56) 42%, rgba(255, 255, 255, 0.94)), url("Images/REVIVORLOGOICON.svg") center 46% / min(44vw, 520px) auto no-repeat;
        opacity: 0.9;
        pointer-events: none;
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        background: linear-gradient(115deg, transparent 0 26%, rgba(20, 19, 19, 0.04) 26.1% 26.4%, transparent 26.5% 100%), linear-gradient(245deg, transparent 0 58%, rgba(20, 19, 19, 0.045) 58.1% 58.4%, transparent 58.5% 100%);
        pointer-events: none;
    }

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img,
svg {
    display: block;
}

.page-wrap {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.contact-strip {
    position: relative;
    z-index: 12;
    overflow: hidden;
    background: #050505;
    color: #fff;
    font-weight: 800;
}

    .contact-strip::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    }

.contact-strip-inner {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 8px 32px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

    .contact-strip-inner span + span {
        border-left: 1px solid rgba(255, 255, 255, 0.45);
        padding-left: 28px;
    }

.contact-strip-link {
    position: relative;
    color: #fff;
    text-decoration: none;
}

    .contact-strip-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 1px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.35s var(--ease);
    }

    .contact-strip-link:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

header {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: 0 -32px;
    border-bottom: 1px solid rgba(20, 19, 19, 0.09);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    header.is-scrolled {
        border-color: rgba(20, 19, 19, 0.12);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
    }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    padding: 14px 32px;
}

.brand,
.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    transition: transform 0.35s var(--ease);
}

    .brand-logo:hover {
        transform: translateY(-1px);
    }

    .brand-logo img {
        width: 104px;
        height: auto;
    }

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(16px, 2vw, 28px);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

    .nav-links a,
    .footer-links a,
    .social-links a {
        color: inherit;
        text-decoration: none;
    }

    .nav-links a {
        position: relative;
        padding: 9px 0;
        transition: color 0.25s ease, transform 0.25s var(--ease);
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 4px;
            height: 1px;
            background: var(--primary);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.35s var(--ease);
        }

        .nav-links a:hover,
        .nav-links a.is-active {
            color: var(--primary);
        }

        .nav-links a:hover {
            transform: translateY(-1px);
        }

            .nav-links a:hover::after,
            .nav-links a.is-active::after {
                transform: scaleX(1);
                transform-origin: left;
            }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: min(720px, calc(100vh - 126px));
    padding: clamp(88px, 12vw, 156px) 0 clamp(72px, 9vw, 116px);
}

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .hero::before {
        inset: clamp(28px, 5vw, 66px) -32px clamp(26px, 4vw, 54px);
        z-index: -2;
        border-top: 1px solid rgba(20, 19, 19, 0.1);
        border-bottom: 1px solid rgba(20, 19, 19, 0.1);
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.48)), repeating-linear-gradient(90deg, transparent 0 44px, rgba(20, 19, 19, 0.045) 45px 46px);
        mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    }

    .hero::after {
        right: clamp(0px, 4vw, 42px);
        top: 50%;
        z-index: -1;
        width: min(36vw, 390px);
        aspect-ratio: 1;
/*        border: 1px solid rgba(20, 19, 19, 0.12);*/
/*        background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32)), url("Images/REVIVORLOGOICON.svg") center / 48% auto no-repeat;*/
/*        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 30px 80px rgba(17, 17, 17, 0.12);*/
        opacity: 0.82;
        transform: translate3d(0, -50%, 0) rotate(45deg);
        animation: heroMark 12s var(--ease-soft) infinite alternate;
    }

    .hero h1 {
        margin: 0;
        max-width: 980px;
        color: var(--primary);
        font-size: clamp(3.15rem, 7.2vw, 6.9rem);
        font-weight: 900;
        letter-spacing: 0;
        line-height: 0.93;
        text-wrap: balance;
    }

    .hero p {
        max-width: 760px;
        margin: clamp(26px, 3vw, 36px) 0 0;
        color: var(--muted-strong);
        font-size: clamp(1.04rem, 1.7vw, 1.32rem);
        line-height: 1.62;
        text-wrap: pretty;
    }

section {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--section-space) 0;
}

    section + section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(20, 19, 19, 0.16), transparent);
    }

.section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 930px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

    .section-header p {
        margin: 0;
        color: var(--muted);
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .section-header h2 {
        margin: 0;
        color: var(--primary);
        font-size: clamp(2.1rem, 4.4vw, 4.2rem);
        font-weight: 900;
        line-height: 0.98;
        letter-spacing: 0;
        text-wrap: balance;
    }

.solutions-grid,
.process-grid,
.industry-grid,
.impact-grid,
.case-grid {
    display: grid;
    gap: 18px;
}

.solutions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid,
.case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.solution-card,
.process-card,
.impact-card,
.insight-card {
    position: relative;
    overflow: hidden;
    min-height: 204px;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 245, 0.74)), var(--surface-solid);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    transition: border-color 0.4s ease, box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s ease;
    will-change: transform;
}

    .solution-card::before,
    .process-card::before,
    .impact-card::before,
    .insight-card::before,
    .industry-pill::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(135deg, rgba(20, 19, 19, 0.38), transparent 35%, rgba(20, 19, 19, 0.18));
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
    }

    .solution-card::after,
    .process-card::after,
    .impact-card::after,
    .insight-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: 24px;
        right: 24px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(20, 19, 19, 0.34), transparent);
        opacity: 0;
        transform: scaleX(0.4);
        transition: opacity 0.35s ease, transform 0.45s var(--ease);
    }

    .solution-card:hover,
    .process-card:hover,
    .impact-card:hover,
    .insight-card:hover {
        border-color: rgba(20, 19, 19, 0.22);
        background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(245, 245, 243, 0.9)), var(--surface-solid);
        box-shadow: var(--shadow-md);
        transform: translateY(-7px);
    }

        .solution-card:hover::before,
        .process-card:hover::before,
        .impact-card:hover::before,
        .insight-card:hover::before,
        .industry-pill:hover::before {
            opacity: 1;
        }

        .solution-card:hover::after,
        .process-card:hover::after,
        .impact-card:hover::after,
        .insight-card:hover::after {
            opacity: 1;
            transform: scaleX(1);
        }

    .solution-card h3,
    .process-card h3,
    .impact-card h3,
    .insight-card h3 {
        margin: 0 0 12px;
        color: var(--primary);
        font-size: clamp(1.05rem, 1.4vw, 1.24rem);
        font-weight: 900;
        line-height: 1.18;
        letter-spacing: 0;
    }

    .solution-card p,
    .process-card p,
    .impact-card p,
    .insight-card p {
        margin: 0;
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.62;
    }

    .solution-card .tag {
        display: inline-flex;
        margin-bottom: 18px;
        padding: 6px 10px;
        border: 1px solid rgba(20, 19, 19, 0.1);
        border-radius: var(--radius);
        background: rgba(20, 19, 19, 0.06);
        color: var(--primary);
        font-size: 0.68rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        line-height: 1;
        text-transform: uppercase;
    }

.about-card {
    min-height: 0;
    background: linear-gradient(145deg, rgba(20, 19, 19, 0.04), rgba(20, 19, 19, 0.015)), rgba(255, 255, 255, 0.78);
}

    .about-card p {
        max-width: 980px;
        color: var(--muted-strong);
        font-size: clamp(1rem, 1.45vw, 1.18rem);
    }

.about-card-note {
    margin-top: 16px;
    color: var(--muted);
}

.process-card {
    display: grid;
    align-items: start;
    gap: 14px;
}

    .process-card .icon {
        display: grid;
        width: 50px;
        height: 50px;
        place-items: center;
        border: 1px solid rgba(20, 19, 19, 0.1);
        border-radius: var(--radius);
        background: linear-gradient(145deg, rgba(20, 19, 19, 0.1), rgba(20, 19, 19, 0.035)), #fff;
        transition: transform 0.4s var(--ease), background 0.3s ease;
    }

    .process-card:hover .icon {
        background: #111;
        transform: translateY(-3px) rotate(-2deg);
    }

    .process-card .icon svg {
        width: 24px;
        height: 24px;
        color: var(--primary);
        transition: color 0.3s ease, transform 0.4s var(--ease);
    }

    .process-card:hover .icon svg {
        color: #fff;
        transform: scale(1.05);
    }

.industry-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 17px 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(240, 239, 236, 0.8)), var(--surface-strong);
    color: var(--primary);
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s ease;
}

    .industry-pill:hover {
        border-color: rgba(20, 19, 19, 0.24);
        background: #fff;
        box-shadow: var(--shadow-sm);
        transform: translateY(-4px);
    }

.impact-card {
    display: grid;
    gap: 14px;
    min-height: 230px;
}

.impact-chart {
    position: relative;
    width: 100%;
    height: 94px;
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid rgba(20, 19, 19, 0.08);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(20, 19, 19, 0.06), transparent 75%), repeating-linear-gradient(90deg, transparent 0 21px, rgba(20, 19, 19, 0.04) 22px 23px);
}

    .impact-chart::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 40%);
    }

.chart-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 19, 19, 0.34), rgba(20, 19, 19, 0.1));
    clip-path: polygon(0 58%, 15% 38%, 35% 48%, 55% 22%, 72% 32%, 100% 18%, 100% 100%, 0 100%);
    opacity: 0.86;
    transform: translateY(28%);
    transition: transform 1.1s var(--ease), opacity 0.5s ease;
}

.impact-card.is-visible .chart-bar,
.impact-card:hover .chart-bar {
    transform: translateY(0);
}

.insight-card {
    min-height: 196px;
}

.enquiry-form {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%), linear-gradient(180deg, #090909, #171615);
    box-shadow: var(--shadow-dark);
}

    .enquiry-form::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px), url("Images/REVIVORLOGOICON.svg") right 34px top 28px / 128px auto no-repeat;
        background-size: 58px 58px, 58px 58px, 128px auto;
        opacity: 0.22;
        pointer-events: none;
    }

    .enquiry-form h2 {
        position: relative;
        margin: 0 0 28px;
        color: #fff;
        font-size: clamp(2.35rem, 4.8vw, 4.8rem);
        font-weight: 900;
        line-height: 0.94;
        letter-spacing: 0;
    }

.form-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .form-grid input,
    .form-grid textarea {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.92);
        color: var(--text);
        padding: 14px 16px;
        outline: none;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
        transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
    }

    .form-grid input {
        min-height: 50px;
    }

    .form-grid textarea {
        min-height: 132px;
        resize: vertical;
    }

        .form-grid input::placeholder,
        .form-grid textarea::placeholder {
            color: rgba(35, 31, 32, 0.56);
        }

        .form-grid input:focus,
        .form-grid textarea:focus {
            border-color: #fff;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16), 0 16px 30px rgba(0, 0, 0, 0.16);
            transform: translateY(-1px);
        }

.form-wide {
    grid-column: 1 / -1;
}

.form-consent {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

    .form-consent input {
        width: 16px;
        height: 16px;
        margin-top: 5px;
        accent-color: #fff;
    }

.btn {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    padding: 13px 24px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease), border-color 0.25s ease;
}

    .btn:hover {
        border-color: rgba(255, 255, 255, 0.32);
        background: var(--primary-light);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0) scale(0.99);
    }

.enquiry-submit {
    position: relative;
    min-width: 128px;
    background: #fff;
    color: #111;
}

    .enquiry-submit:hover {
        background: rgba(255, 255, 255, 0.88);
        color: #111;
    }

.footer {
    position: relative;
    display: grid;
    gap: 30px;
    margin: 0 -32px;
    padding: clamp(48px, 7vw, 74px) 32px 36px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%), #0a0a0a;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

    .footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px), url("Images/REVIVORLOGOICON.svg") right 32px bottom 24px / 260px auto no-repeat;
        background-size: 72px 72px, 72px 72px, 260px auto;
        opacity: 0.12;
        pointer-events: none;
    }

.footer-top,
.footer-bottom {
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(260px, 0.92fr) minmax(560px, 1.2fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}

.footer-brand {
    margin-bottom: 18px;
}

    .footer-brand img {
        width: 176px;
        height: auto;
        filter: brightness(0) invert(1);
    }

.footer-summary {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

    .footer-links h4 {
        margin: 0 0 15px;
        color: #fff;
        font-size: 0.86rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .footer-links a {
        position: relative;
        display: table;
        margin-bottom: 10px;
        color: rgba(255, 255, 255, 0.66);
        transition: color 0.22s ease, transform 0.22s var(--ease);
    }

        .footer-links a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 1px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s var(--ease);
        }

        .footer-links a:hover {
            color: #fff;
            transform: translateX(2px);
        }

            .footer-links a:hover::after {
                transform: scaleX(1);
                transform-origin: left;
            }

.footer-bottom,
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom {
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
}

.social-links {
    gap: 12px;
}

    .social-links a {
        display: inline-grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 50%;
        color: rgba(255, 255, 255, 0.72);
        background: rgba(255, 255, 255, 0.03);
        transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
    }

        .social-links a:hover {
            border-color: rgba(255, 255, 255, 0.42);
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            transform: translateY(-3px);
        }

    .social-links svg {
        width: 17px;
        height: 17px;
        fill: currentColor;
    }

/* Scroll and entrance animation system */
.hero h1,
.hero p,
.reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}

body.is-loaded .hero h1 {
    animation: fadeUp 0.9s var(--ease) 0.08s forwards;
}

body.is-loaded .hero p {
    animation: fadeUp 0.9s var(--ease) 0.22s forwards;
}

.reveal.is-visible {
    animation: fadeUp 0.86s var(--ease) forwards;
    animation-delay: var(--reveal-delay, 0ms);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroMark {
    from {
        transform: translate3d(0, -50%, 0) rotate(45deg) scale(0.96);
    }

    to {
        transform: translate3d(-14px, -52%, 0) rotate(45deg) scale(1.02);
    }
}

@media (max-width: 1180px) {
    .solutions-grid,
    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid,
    .case-grid,
    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --section-space: 58px;
    }

    html {
        scroll-padding-top: 150px;
    }

    .page-wrap {
        padding: 0 18px;
    }

    .contact-strip-inner {
        justify-content: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 8px 18px;
        font-size: 0.84rem;
    }

        .contact-strip-inner span + span {
            border-left: 0;
            padding-left: 0;
        }

    header {
        margin: 0 -18px;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        min-height: 0;
        padding: 16px 18px;
    }

    .brand-logo img {
        width: 148px;
    }

    .nav-links {
        justify-content: flex-start;
        gap: 4px 18px;
        font-size: 0.74rem;
    }

    .hero {
        min-height: auto;
        padding: 68px 0 60px;
    }

        .hero::before {
            inset-inline: -18px;
        }

        .hero::after {
            top: auto;
            right: 8px;
            bottom: 24px;
            width: min(54vw, 230px);
            opacity: 0.34;
            animation: none;
            transform: rotate(45deg);
        }

        .hero h1 {
            font-size: clamp(2.9rem, 15vw, 5rem);
            line-height: 0.95;
        }

        .hero p {
            font-size: 1rem;
        }

    .solutions-grid,
    .process-grid,
    .industry-grid,
    .impact-grid,
    .case-grid,
    .footer-links,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .solution-card,
    .process-card,
    .impact-card,
    .insight-card {
        min-height: auto;
    }

    .industry-pill {
        min-height: 58px;
    }

    .enquiry-form {
        padding: 30px 18px;
    }

    .form-grid textarea {
        min-height: 132px;
    }

    .footer {
        margin: 0 -18px;
        padding: 42px 18px 30px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: clamp(2.45rem, 14vw, 3.8rem);
    }

    .section-header h2 {
        font-size: clamp(1.9rem, 12vw, 3rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero h1,
    .hero p,
    .reveal {
        opacity: 1;
        transform: none;
    }
}

.legal-hero {
    padding: 120px 0 80px;
    text-align: center;
}

.legal-badge {
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 20px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

    .legal-sidebar a {
        display: block;
        padding: 10px 0;
        color: #666;
        text-decoration: none;
    }

.legal-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 50px;
}

    .legal-card section {
        margin-bottom: 50px;
    }

    .legal-card h2 {
        margin-bottom: 16px;
    }

    .legal-card ul {
        padding-left: 20px;
    }

.contact-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
}

.hero {
    opacity: 1 !important;
    transform: none !important;
}

header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

