@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ajg-green: #183f2a;
    --ajg-green-light: #4f7a55;
    --ajg-black: #0b0b0b;
    --ajg-white: #ffffff;
    --ajg-gray: #f5f5f3;
    --ajg-text: #1a1a1a;
    --ajg-border: #e7e7e2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--ajg-white);
    color: var(--ajg-text);
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ajg-border);
}

.nav-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 145px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 15px;
    font-weight: 500;
}

    .main-nav a {
        transition: 0.2s ease;
    }

        .main-nav a:hover {
            color: var(--ajg-green);
        }

.nav-contact {
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--ajg-black);
    color: var(--ajg-white) !important;
}

    .nav-contact:hover {
        background: var(--ajg-green);
    }
.hero {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 85% 20%, rgba(24, 63, 42, 0.08), transparent 35%), var(--ajg-white);
}

.hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
    padding: 90px 0;
}

.hero-copy {
    max-width: 700px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ajg-green);
}

.hero h1 {
    margin: 0;
    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 600;
    color: var(--ajg-black);
}

.hero p {
    margin: 28px 0 0;
    max-width: 620px;
    font-size: 20px;
    line-height: 1.6;
    color: #606060;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--ajg-black);
    color: var(--ajg-white);
}

    .btn-primary:hover {
        background: var(--ajg-green);
        transform: translateY(-1px);
    }

.btn-secondary {
    border: 1px solid var(--ajg-border);
    background: var(--ajg-white);
}

    .btn-secondary:hover {
        border-color: var(--ajg-green);
        color: var(--ajg-green);
    }

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-logo-card {
    width: 100%;
    max-width: 470px;
    aspect-ratio: 1 / 1;
    border-radius: 38px;
    background: var(--ajg-black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

    .hero-logo-card img {
        width: 100%;
        height: auto;
        display: block;
    }

@media (max-width: 850px) {
    .main-nav {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 70px 0;
    }

    .hero h1 {
        font-size: clamp(48px, 13vw, 72px);
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-logo-card {
        max-width: 360px;
    }
}
.page-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.page-hero {
    padding: 120px 0 80px;
    background: var(--ajg-white);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ajg-green);
}

.page-hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(48px, 7vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 600;
    color: var(--ajg-black);
}

.page-hero p {
    margin: 28px 0 0;
    max-width: 720px;
    font-size: 20px;
    line-height: 1.65;
    color: #606060;
}

.services-section {
    padding: 30px 0 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 360px;
    padding: 34px;
    border: 1px solid var(--ajg-border);
    border-radius: 28px;
    background: var(--ajg-white);
    transition: 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(24, 63, 42, 0.35);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
    }

.service-number {
    display: block;
    margin-bottom: 90px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ajg-green);
}

.service-card h2 {
    margin: 0 0 18px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.service-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 850px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-number {
        margin-bottom: 50px;
    }
}
.projects-section {
    padding: 20px 0 120px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    min-height: 420px;
    padding: 36px;
    border: 1px solid var(--ajg-border);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    background: var(--ajg-white);
    transition: 0.25s ease;
}

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
    }

.project-featured {
    grid-column: span 2;
    min-height: 480px;
    background: radial-gradient(circle at 90% 10%, rgba(79, 122, 85, 0.25), transparent 35%), var(--ajg-black);
    color: var(--ajg-white);
    border: none;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ajg-green-light);
}

.project-featured .project-meta {
    color: #8fb495;
}

.project-card h2 {
    margin: auto 0 18px;
    max-width: 700px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.project-card p {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.7;
    color: #666;
}

.project-featured p {
    color: #c8c8c8;
}

.project-tag {
    margin-top: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ajg-green);
}

.project-featured .project-tag {
    color: #8fb495;
}

@media (max-width: 850px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-featured {
        grid-column: span 1;
    }

    .project-card {
        min-height: 360px;
    }
}
.about-section {
    padding: 20px 0 120px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: start;
}

.about-main h2 {
    margin: 0 0 28px;
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -0.04em;
    color: var(--ajg-black);
}

.about-main p {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.8;
    color: #5f5f5f;
}

.about-panel {
    padding: 38px;
    border-radius: 30px;
    background: var(--ajg-black);
    color: var(--ajg-white);
}

    .about-panel > span {
        display: block;
        margin-bottom: 70px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #8fb495;
    }

    .about-panel h3 {
        margin: 0 0 34px;
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -0.04em;
    }

    .about-panel p {
        margin: 0;
        line-height: 2;
        color: #c8c8c8;
    }

@media (max-width: 850px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.contact-section {
    padding: 20px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 130px;
}

.contact-label {
    display: block;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ajg-green);
}

.contact-info h2 {
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.contact-info p {
    margin: 0 0 32px;
    max-width: 480px;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}

.contact-email {
    font-size: 17px;
    font-weight: 600;
    color: var(--ajg-green);
}

.contact-form {
    padding: 40px;
    border: 1px solid var(--ajg-border);
    border-radius: 30px;
    background: var(--ajg-gray);
}

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        margin-bottom: 9px;
        font-size: 14px;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #d8d8d3;
        border-radius: 14px;
        padding: 15px 16px;
        font: inherit;
        background: var(--ajg-white);
        color: var(--ajg-text);
        outline: none;
        transition: 0.2s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--ajg-green);
            box-shadow: 0 0 0 3px rgba(24, 63, 42, 0.08);
        }

    .form-group textarea {
        resize: vertical;
    }

.contact-submit {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 999px;
    background: var(--ajg-black);
    color: var(--ajg-white);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

    .contact-submit:hover {
        background: var(--ajg-green);
        transform: translateY(-1px);
    }

@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-info {
        position: static;
    }

    .contact-form {
        padding: 28px;
    }
}
.site-footer {
    margin-top: 40px;
    background: var(--ajg-black);
    color: var(--ajg-white);
}

.footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-footer > .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 80px 0;
}

.footer-brand {
    max-width: 430px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 24px;
}

.footer-brand p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #bcbcbc;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

    .footer-links > div {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .footer-links span {
        margin-bottom: 10px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #8fb495;
    }

    .footer-links a {
        color: #c8c8c8;
        transition: 0.2s ease;
    }

        .footer-links a:hover {
            color: var(--ajg-white);
        }

.footer-bottom {
    border-top: 1px solid #242424;
}

.footer-bottom-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    color: #8f8f8f;
}

.footer-bottom a:hover {
    color: var(--ajg-white);
}

@media (max-width: 850px) {
    .site-footer > .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 20px 0;
    }
}
.home-services {
    padding: 120px 0;
    background: var(--ajg-gray);
}

.home-section-heading {
    max-width: 820px;
    margin-bottom: 60px;
}

    .home-section-heading h2 {
        margin: 0;
        font-size: clamp(42px, 6vw, 68px);
        line-height: 1.05;
        letter-spacing: -0.045em;
        font-weight: 600;
        color: var(--ajg-black);
    }

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-service-card {
    min-height: 340px;
    padding: 32px;
    border-radius: 28px;
    background: var(--ajg-white);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ajg-border);
    transition: 0.25s ease;
}

    .home-service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
    }

    .home-service-card > span {
        font-size: 13px;
        font-weight: 600;
        color: var(--ajg-green);
    }

    .home-service-card h3 {
        margin: auto 0 16px;
        font-size: 28px;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .home-service-card p {
        margin: 0 0 24px;
        color: #666;
        font-size: 16px;
        line-height: 1.65;
    }

    .home-service-card a {
        font-size: 14px;
        font-weight: 600;
        color: var(--ajg-green);
    }

@media (max-width: 850px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        min-height: 280px;
    }
}
.home-projects {
    padding: 120px 0;
    background: var(--ajg-white);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

.featured-project {
    min-height: 520px;
    padding: 34px;
    border-radius: 30px;
    border: 1px solid var(--ajg-border);
    background: var(--ajg-gray);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.25s ease;
}

.featured-project-main {
    background: radial-gradient(circle at 80% 10%, rgba(79, 122, 85, 0.22), transparent 35%), var(--ajg-black);
    color: var(--ajg-white);
    border: none;
}

.featured-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
}

.featured-project-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ajg-green);
}

.featured-project-main .featured-project-top {
    color: #8fb495;
}

.featured-project-bottom h3 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.featured-project-bottom p {
    margin: 0 0 26px;
    max-width: 650px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.featured-project-main .featured-project-bottom p {
    color: #c8c8c8;
}

.featured-project-bottom a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ajg-green);
}

.featured-project-main .featured-project-bottom a {
    color: #8fb495;
}

@media (max-width: 850px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project {
        min-height: 420px;
    }
}
.home-cta {
    padding: 40px 0 120px;
    background: var(--ajg-white);
}

.cta-card {
    padding: 80px 60px;
    border-radius: 36px;
    background: radial-gradient(circle at 85% 20%, rgba(79, 122, 85, 0.25), transparent 35%), var(--ajg-black);
    color: var(--ajg-white);
    text-align: center;
}

    .cta-card .section-kicker {
        color: #8fb495;
    }

    .cta-card h2 {
        margin: 0 auto;
        max-width: 850px;
        font-size: clamp(46px, 7vw, 82px);
        line-height: 1;
        letter-spacing: -0.05em;
        font-weight: 600;
    }

    .cta-card p {
        max-width: 680px;
        margin: 28px auto 0;
        font-size: 18px;
        line-height: 1.7;
        color: #c8c8c8;
    }

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--ajg-white);
    color: var(--ajg-black);
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

    .cta-button:hover {
        background: #eaeaea;
        transform: translateY(-2px);
    }

@media (max-width: 850px) {
    .cta-card {
        padding: 60px 28px;
    }

        .cta-card h2 {
            font-size: clamp(42px, 12vw, 64px);
        }
}

.home-about {
    padding: 120px 0;
    background: var(--ajg-gray);
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: start;
}

.home-about h2 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 600;
}

.home-about-copy p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.8;
    color: #606060;
}

.home-about-copy a {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ajg-green);
}

@media (max-width: 850px) {
    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

.mobile-menu-button {
    display: none;
    border: none;
    background: transparent;
    color: var(--ajg-black);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
}

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        padding: 10px 20px 24px;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--ajg-border);
    }

        .mobile-menu a {
            padding: 16px 4px;
            font-size: 18px;
            font-weight: 500;
            border-bottom: 1px solid var(--ajg-border);
        }

            .mobile-menu a:last-child {
                border-bottom: none;
                color: var(--ajg-green);
                font-weight: 600;
            }
}

.form-status {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--ajg-green);
}

.validation-message {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #b42318;
}

/* =========================================================
   AJG WEBSITE 2.0
   ========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--ajg-green);
    margin-bottom: 18px;
}

    .eyebrow.light {
        color: rgba(255,255,255,0.65);
    }


/* HERO */

.hero-modern {
    padding: 115px 0 105px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 40%, rgba(24,63,42,.08), transparent 32%), var(--ajg-white);
}

.hero-modern-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;
}

.hero-modern h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(3rem, 5vw, 5.6rem);
    line-height: .98;
    letter-spacing: -0.055em;
    color: var(--ajg-black);
    font-weight: 700;
}

    .hero-modern h1 span,
    .page-hero-modern h1 span {
        color: var(--ajg-green-light);
    }

.hero-modern-subtitle {
    max-width: 690px;
    margin: 30px 0;
    color: #60605b;
    font-size: 1.16rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn-primary-ajg,
.btn-secondary-ajg,
.btn-light-ajg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border-radius: 9px;
    font-weight: 600;
    text-decoration: none;
    transition: all .22s ease;
}

.btn-primary-ajg {
    background: var(--ajg-green);
    color: white;
}

    .btn-primary-ajg:hover {
        transform: translateY(-2px);
        background: #102f1f;
        color: white;
    }

.btn-secondary-ajg {
    background: white;
    color: var(--ajg-black);
    border: 1px solid var(--ajg-border);
}

    .btn-secondary-ajg:hover {
        transform: translateY(-2px);
        border-color: #c7c7c0;
        color: var(--ajg-black);
    }

.btn-light-ajg {
    background: white;
    color: var(--ajg-green);
}

    .btn-light-ajg:hover {
        transform: translateY(-2px);
        color: var(--ajg-green);
    }

.hero-capabilities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 38px;
}

    .hero-capabilities span {
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--ajg-gray);
        border: 1px solid var(--ajg-border);
        color: #5d5d58;
        font-size: .78rem;
    }


/* SYSTEM VISUAL */

.system-visual {
    height: 500px;
    position: relative;
}

    .system-visual::before {
        content: "";
        position: absolute;
        inset: 9%;
        border: 1px solid var(--ajg-border);
        border-radius: 50%;
    }

    .system-visual::after {
        content: "";
        position: absolute;
        inset: 23%;
        border: 1px dashed #d7d7d0;
        border-radius: 50%;
    }

.system-center {
    width: 145px;
    height: 145px;
    border-radius: 30px;
    background: var(--ajg-green);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 60px rgba(24,63,42,.2);
}

    .system-center img {
        max-width: 92px;
        max-height: 92px;
        object-fit: contain;
    }

.system-node {
    position: absolute;
    z-index: 4;
    min-width: 120px;
    padding: 15px 17px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--ajg-border);
    border-radius: 13px;
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .system-node:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0,0,0,.11);
    }

    .system-node small {
        display: block;
        font-size: .6rem;
        letter-spacing: .09em;
        color: #999;
        margin-bottom: 4px;
    }

    .system-node strong {
        font-size: .92rem;
    }

.node-web {
    top: 3%;
    left: 38%;
}

.node-mobile {
    top: 29%;
    left: 0;
}

.node-api {
    top: 29%;
    right: 0;
}

.node-data {
    bottom: 3%;
    left: 12%;
}

.node-cloud {
    bottom: 3%;
    right: 3%;
}


/* SECTIONS */

.section-modern {
    padding: 105px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

    .section-heading.centered {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .section-heading h2 {
        font-size: clamp(2rem, 4vw, 3.6rem);
        line-height: 1.05;
        letter-spacing: -.045em;
        margin-bottom: 20px;
    }

    .section-heading p {
        font-size: 1.05rem;
        line-height: 1.75;
        color: #696964;
    }


/* SERVICES */

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-modern-card {
    min-height: 300px;
    padding: 34px;
    border: 1px solid var(--ajg-border);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    background: white;
    transition: all .25s ease;
}

    .service-modern-card:hover {
        color: inherit;
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0,0,0,.07);
    }

.service-number {
    color: #a5a5a0;
    font-size: .78rem;
    margin-bottom: 55px;
}

.service-modern-card h3 {
    font-size: 1.5rem;
    letter-spacing: -.025em;
}

.service-modern-card p {
    color: #6b6b66;
    line-height: 1.7;
}

.stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
}

    .stack-row span {
        font-size: .72rem;
        padding: 6px 9px;
        border: 1px solid var(--ajg-border);
        border-radius: 999px;
        color: #676762;
        background: #fafaf8;
    }


/* CLIENT WORK */

.client-work-section {
    padding: 110px 0;
    background: var(--ajg-green);
    color: white;
}

.light-heading h2,
.light-heading p {
    color: white;
}

.light-heading p {
    opacity: .72;
}

.featured-client-card {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    padding: 55px;
    border-radius: 22px;
    background: rgba(255,255,255,.065);
    border: 1px solid rgba(255,255,255,.13);
}

.client-work-info h3 {
    margin-top: 18px;
    font-size: 2.5rem;
    letter-spacing: -.04em;
}

.client-work-info p {
    max-width: 630px;
    line-height: 1.75;
    color: rgba(255,255,255,.77);
}

.status-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .68rem;
    letter-spacing: .11em;
    color: #d8f2df;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #89db9c;
    box-shadow: 0 0 0 5px rgba(137,219,156,.12);
}

.stack-dark span {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.17);
    color: rgba(255,255,255,.78);
}

.client-link {
    display: inline-block;
    margin-top: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.client-work-architecture {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.architecture-box {
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
}

    .architecture-box small {
        display: block;
        font-size: .6rem;
        color: rgba(255,255,255,.45);
        letter-spacing: .1em;
    }

.architecture-arrow {
    text-align: center;
    color: rgba(255,255,255,.35);
    padding: 7px;
}


/* PROJECTS */

.projects-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-modern-card,
.project-full-card {
    border-radius: 18px;
    border: 1px solid var(--ajg-border);
    background: white;
    padding: 32px;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .project-modern-card:hover,
    .project-full-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,.07);
    }

    .project-modern-card h3,
    .project-full-card h2 {
        margin-top: 30px;
        letter-spacing: -.03em;
    }

    .project-modern-card p,
    .project-full-card p {
        color: #6a6a65;
        line-height: 1.7;
    }

.project-status {
    display: inline-block;
    font-size: .63rem;
    letter-spacing: .1em;
    font-weight: 700;
    padding: 6px 9px;
    border-radius: 999px;
}

    .project-status.live,
    .project-status.active {
        background: #eaf4ed;
        color: var(--ajg-green);
    }

    .project-status.development {
        background: #f2f2ef;
        color: #666;
    }

    .project-status.engagement {
        background: #eef1f5;
        color: #48586d;
    }

.section-action {
    margin-top: 38px;
}


/* PROCESS */

.how-we-work-modern {
    background: var(--ajg-gray);
    padding: 110px 0;
}

.process-modern {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 60px;
}

.process-step {
    width: 170px;
}

.process-number {
    font-size: .67rem;
    color: #999;
    margin-bottom: 18px;
}

.process-step strong {
    font-size: 1.05rem;
}

.process-step p {
    font-size: .84rem;
    color: #74746f;
    line-height: 1.55;
    margin-top: 8px;
}

.process-line {
    flex: 1;
    height: 1px;
    background: #d7d7d0;
    margin: 12px 16px 0;
}


/* TECHNOLOGY */

.technology-section {
    padding: 100px 0;
}

.technology-content {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

    .technology-content h2 {
        font-size: 2.5rem;
        letter-spacing: -.04em;
    }

.technology-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .technology-pills span {
        padding: 10px 15px;
        border: 1px solid var(--ajg-border);
        border-radius: 999px;
        background: white;
        font-size: .82rem;
    }


/* CTA */

.final-cta-modern {
    padding: 110px 0;
    background: #0e271a;
    color: white;
    text-align: center;
}

.final-cta-content {
    max-width: 750px;
}

.final-logo {
    max-width: 110px;
    margin-bottom: 30px;
}

.final-cta-modern h2 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    letter-spacing: -.05em;
}

.final-cta-modern p {
    color: rgba(255,255,255,.68);
    font-size: 1.08rem;
    margin: 20px 0 30px;
}


/* PAGE HERO */

.page-hero-modern {
    padding: 120px 0 90px;
    background: var(--ajg-gray);
}

    .page-hero-modern h1 {
        max-width: 850px;
        font-size: clamp(3rem, 6vw, 5.8rem);
        line-height: 1;
        letter-spacing: -.055em;
    }

    .page-hero-modern p {
        max-width: 700px;
        font-size: 1.12rem;
        line-height: 1.7;
        color: #696964;
        margin-top: 25px;
    }


/* SERVICES DETAIL */

.service-detail-modern {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 30px;
    padding: 65px 0;
    border-bottom: 1px solid var(--ajg-border);
}

.service-detail-number {
    font-size: .8rem;
    color: #aaa;
}

.service-detail-modern h2 {
    font-size: 2.2rem;
    letter-spacing: -.04em;
}

.service-detail-modern p {
    max-width: 760px;
    color: #676762;
    line-height: 1.75;
}


/* FULL PROJECTS */

.projects-full-grid {
    display: grid;
    gap: 22px;
}

.project-full-card {
    padding: 45px;
}

.featured-project {
    border-color: rgba(24,63,42,.3);
    background: #fbfcfa;
}

.project-lead {
    font-size: 1.15rem;
    color: var(--ajg-black) !important;
}


/* ABOUT */

.about-modern-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px;
}

    .about-modern-grid h2 {
        font-size: 3rem;
        letter-spacing: -.045em;
    }

.about-copy-modern p,
.about-direction-copy {
    font-size: 1.05rem;
    color: #62625d;
    line-height: 1.8;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hero-modern-grid,
    .featured-client-card,
    .technology-content,
    .about-modern-grid {
        grid-template-columns: 1fr;
    }

    .system-visual {
        height: 430px;
        margin-top: 30px;
    }

    .services-modern-grid,
    .projects-modern-grid {
        grid-template-columns: 1fr;
    }

    .process-modern {
        flex-direction: column;
        gap: 28px;
    }

    .process-step {
        width: 100%;
    }

    .process-line {
        width: 1px;
        height: 25px;
        margin: -10px 0 -10px 12px;
        flex: none;
    }

    .service-detail-modern {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 600px) {

    .hero-modern {
        padding-top: 75px;
    }

        .hero-modern h1 {
            font-size: 3rem;
        }

    .system-visual {
        transform: scale(.88);
        margin-left: -5%;
        margin-right: -5%;
    }

    .featured-client-card {
        padding: 30px 22px;
    }

    .section-modern,
    .client-work-section,
    .how-we-work-modern,
    .technology-section {
        padding: 75px 0;
    }

    .service-modern-card {
        padding: 26px;
    }
}

.project-domain {
    display: inline-block;
    margin-top: -6px;
    margin-bottom: 20px;
    color: var(--ajg-green);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

    .project-domain:hover {
        text-decoration: underline;
    }

/* =========================================================
   AJG CLIENT PORTAL
   ========================================================= */

.portal-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 255px 1fr;
    background: #f6f7f5;
    color: var(--ajg-text);
}

.portal-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 28px 20px;
    background: #0e271a;
    color: white;
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    min-height: 55px;
}

    .portal-brand img {
        max-width: 105px;
        max-height: 52px;
        object-fit: contain;
    }

.portal-client {
    margin-top: 38px;
    padding: 18px 14px;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

    .portal-client small {
        display: block;
        margin-bottom: 5px;
        font-size: .62rem;
        letter-spacing: .13em;
        color: rgba(255,255,255,.45);
    }

    .portal-client strong {
        font-size: .88rem;
        font-weight: 600;
    }

.portal-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 25px;
}

.portal-nav-link {
    display: flex;
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255,255,255,.68);
    font-size: .9rem;
    transition: all .2s ease;
}

    .portal-nav-link:hover {
        background: rgba(255,255,255,.08);
        color: white;
    }

.portal-sidebar-bottom {
    margin-top: auto;
}

.portal-back-link {
    display: block;
    padding: 12px 14px;
    color: rgba(255,255,255,.52);
    font-size: .78rem;
    text-decoration: none;
}

    .portal-back-link:hover {
        color: white;
    }

.portal-main {
    min-width: 0;
}

.portal-topbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    background: white;
    border-bottom: 1px solid var(--ajg-border);
}

.portal-topbar-label {
    font-size: .65rem;
    letter-spacing: .12em;
    font-weight: 700;
    color: #92928d;
}

.portal-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.portal-user-avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ajg-green);
    color: white;
    font-size: .72rem;
    font-weight: 700;
}

.portal-user strong,
.portal-user small {
    display: block;
}

.portal-user strong {
    font-size: .82rem;
}

.portal-user small {
    margin-top: 2px;
    font-size: .67rem;
    color: #8a8a85;
}

.portal-content {
    max-width: 1450px;
    margin: 0 auto;
    padding: 45px 40px 75px;
}

.portal-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 38px;
}

.portal-eyebrow {
    margin-bottom: 10px;
    font-size: .65rem;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--ajg-green);
}

.portal-page-heading h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: -.045em;
}

.portal-page-heading p {
    max-width: 620px;
    margin: 12px 0 0;
    color: #71716c;
    line-height: 1.65;
}

.portal-primary-button,
.portal-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 11px 17px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.portal-primary-button {
    background: var(--ajg-green);
    color: white;
}

    .portal-primary-button:hover {
        background: #102f1f;
        color: white;
        transform: translateY(-1px);
    }

.portal-secondary-button {
    background: white;
    color: var(--ajg-text);
    border: 1px solid var(--ajg-border);
}

    .portal-secondary-button:hover {
        color: var(--ajg-text);
        border-color: #c7c7c2;
    }

.portal-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.portal-stat-card {
    min-height: 150px;
    padding: 22px;
    background: white;
    border: 1px solid var(--ajg-border);
    border-radius: 14px;
}

    .portal-stat-card > span {
        display: block;
        margin-bottom: 23px;
        font-size: .62rem;
        letter-spacing: .11em;
        font-weight: 700;
        color: #92928c;
    }

    .portal-stat-card > strong {
        display: block;
        font-size: 2.1rem;
        letter-spacing: -.04em;
    }

    .portal-stat-card small {
        display: block;
        margin-top: 9px;
        color: #858580;
        font-size: .72rem;
    }

.portal-stat-date {
    font-size: 1.3rem !important;
}

.portal-status-active {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ajg-green);
}

    .portal-status-active span,
    .portal-service-status span,
    .portal-status-dot {
        width: 7px;
        height: 7px;
        display: inline-block;
        border-radius: 50%;
        background: #58a66c;
        box-shadow: 0 0 0 4px rgba(88,166,108,.12);
    }

.portal-dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
}

.portal-panel {
    padding: 28px;
    background: white;
    border: 1px solid var(--ajg-border);
    border-radius: 15px;
}

.portal-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

    .portal-panel-heading span {
        display: block;
        margin-bottom: 6px;
        font-size: .61rem;
        letter-spacing: .11em;
        font-weight: 700;
        color: #999994;
    }

    .portal-panel-heading h2 {
        margin: 0;
        font-size: 1.25rem;
        letter-spacing: -.025em;
    }

    .portal-panel-heading > a {
        color: var(--ajg-green);
        font-size: .75rem;
        font-weight: 600;
        text-decoration: none;
    }

.portal-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 19px 0;
    border-top: 1px solid #efefeb;
}

.portal-service-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf3ef;
    color: var(--ajg-green);
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.portal-service-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .portal-service-info h3 {
        margin: 0 0 4px;
        font-size: .9rem;
    }

    .portal-service-info a,
    .portal-service-info p {
        margin: 0;
        color: #888883;
        font-size: .72rem;
        text-decoration: none;
    }

        .portal-service-info a:hover {
            color: var(--ajg-green);
        }

.portal-service-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ajg-green);
    font-size: .72rem;
    font-weight: 600;
}

.portal-subscription-status {
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #f1f7f3;
}

    .portal-subscription-status > div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .portal-subscription-status strong,
    .portal-subscription-status small {
        display: block;
    }

    .portal-subscription-status strong {
        font-size: .87rem;
        color: var(--ajg-green);
    }

    .portal-subscription-status small {
        margin-top: 2px;
        font-size: .68rem;
        color: #7b8d80;
    }

.portal-detail-list {
    margin-bottom: 22px;
}

    .portal-detail-list > div {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        padding: 13px 0;
        border-bottom: 1px solid #efefeb;
    }

    .portal-detail-list span {
        color: #83837e;
        font-size: .74rem;
    }

    .portal-detail-list strong {
        font-size: .75rem;
        font-weight: 600;
    }

.portal-inline-active {
    color: var(--ajg-green);
}

.portal-panel-copy {
    color: #777772;
    font-size: .82rem;
    line-height: 1.65;
}

.portal-support-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 24px;
}

.portal-text-link {
    color: var(--ajg-green);
    font-size: .76rem;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1050px) {
    .portal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .portal-shell {
        display: block;
    }

    .portal-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .portal-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-sidebar-bottom {
        margin-top: 20px;
    }

    .portal-topbar {
        padding: 0 20px;
    }

    .portal-content {
        padding: 30px 20px 60px;
    }

    .portal-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-stats-grid {
        grid-template-columns: 1fr;
    }

    .portal-user > div:last-child {
        display: none;
    }
}

.nav-client-login {
    padding: 8px 14px;
    border: 1px solid var(--ajg-green);
    border-radius: 8px;
    color: var(--ajg-green) !important;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

    .nav-client-login:hover {
        background: var(--ajg-green);
        color: white !important;
    }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--ajg-gray);
}

.login-card {
    width: 100%;
    max-width: 460px;
    padding: 44px;
    background: white;
    border: 1px solid var(--ajg-border);
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(0,0,0,.06);
}

.login-logo {
    display: inline-flex;
    margin-bottom: 40px;
}

    .login-logo img {
        max-width: 105px;
        max-height: 55px;
        object-fit: contain;
    }

.login-heading h1 {
    margin: 0;
    font-size: 2.4rem;
    letter-spacing: -.045em;
}

.login-heading p {
    margin-top: 13px;
    color: #73736e;
    line-height: 1.6;
}

.login-form {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.login-field {
    display: grid;
    gap: 7px;
}

    .login-field label {
        font-size: .78rem;
        font-weight: 600;
    }

    .login-field input {
        width: 100%;
        padding: 12px 13px;
        border: 1px solid var(--ajg-border);
        border-radius: 8px;
        outline: none;
        font: inherit;
    }

        .login-field input:focus {
            border-color: var(--ajg-green);
        }

.login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .82rem;
    color: #666b67;
    cursor: pointer;
}

    .login-remember input {
        width: 16px;
        height: 16px;
        accent-color: var(--ajg-green);
    }

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--ajg-green);
    color: white;
    font-weight: 600;
    text-decoration: none;
}

    .login-button:hover {
        background: #102f1f;
        color: white;
    }

.login-help {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--ajg-border);
    color: #858580;
    font-size: .76rem;
    line-height: 1.6;
}

    .login-help a {
        color: var(--ajg-green);
        text-decoration: none;
        font-weight: 600;
    }

/* =========================================================
   MOBILE NAV FIX
   ========================================================= */

.mobile-menu-button {
    display: none;
    position: relative;
    z-index: 1002;
    border: 0;
    background: transparent;
    color: var(--ajg-black);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-overlay {
    display: none;
}

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(0, 0, 0, 0.25);
    }

    .mobile-menu {
        position: fixed;
        top: 82px;
        left: 16px;
        right: 16px;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 102px);
        overflow-y: auto;
        padding: 16px;
        background: white;
        border: 1px solid var(--ajg-border);
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
    }

        .mobile-menu a {
            display: block;
            padding: 13px 14px;
            border-radius: 9px;
            color: var(--ajg-text);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
        }

            .mobile-menu a:hover {
                background: var(--ajg-gray);
                color: var(--ajg-green);
            }

    .mobile-client-portal {
        margin-top: 8px;
        background: var(--ajg-green);
        color: white !important;
        text-align: center;
        font-weight: 600 !important;
    }

        .mobile-client-portal:hover {
            background: #102f1f !important;
            color: white !important;
        }
}

/* =========================================================
   AJG ADMIN PLATFORM
   ========================================================= */

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
    background: #f6f7f5;
}

.admin-sidebar {
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 18px;
    background: #0d2418;
    color: white;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 38px;
}

    .admin-brand img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .admin-brand div {
        display: flex;
        flex-direction: column;
    }

    .admin-brand strong {
        font-size: 1rem;
    }

    .admin-brand span {
        font-size: .68rem;
        letter-spacing: .15em;
        opacity: .65;
    }

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .admin-nav a {
        padding: 12px 14px;
        border-radius: 9px;
        text-decoration: none;
        color: rgba(255,255,255,.76);
        font-size: .93rem;
    }

        .admin-nav a:hover {
            background: rgba(255,255,255,.08);
            color: white;
        }

.admin-sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .admin-sidebar-footer a,
    .admin-sidebar-footer button {
        color: rgba(255,255,255,.65);
        background: transparent;
        border: 0;
        text-decoration: none;
        cursor: pointer;
        font: inherit;
        padding: 0;
        text-align: left;
    }

.admin-main {
    min-width: 0;
}

.admin-topbar {
    min-height: 76px;
    padding: 0 34px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e6e8e4;
    background: white;
}

    .admin-topbar div {
        display: flex;
        flex-direction: column;
    }

    .admin-topbar span {
        font-size: .68rem;
        letter-spacing: .13em;
        color: #718076;
    }

    .admin-topbar strong {
        color: #18201b;
    }

.admin-content {
    max-width: 1400px;
    padding: 42px 34px 80px;
}

.admin-page-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

    .admin-page-heading h1 {
        margin: 4px 0 8px;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .admin-page-heading p {
        color: #657069;
        max-width: 650px;
    }

.admin-back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #315c42;
    text-decoration: none;
}

.admin-stat-grid,
.admin-client-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #e2e5e0;
    border-radius: 16px;
    background: white;
    text-decoration: none;
    color: #172019;
}

    .admin-stat-card span {
        font-size: .68rem;
        letter-spacing: .12em;
        color: #718076;
    }

    .admin-stat-card strong {
        font-size: 2rem;
        margin: 8px 0 4px;
    }

    .admin-stat-card small {
        color: #78827b;
    }

.admin-section {
    background: white;
    border: 1px solid #e2e5e0;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
}

.admin-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

    .admin-section-heading span {
        font-size: .67rem;
        letter-spacing: .13em;
        color: #758078;
    }

    .admin-section-heading h2 {
        margin: 4px 0 0;
    }

.admin-client-list {
    display: flex;
    flex-direction: column;
}

.admin-client-row,
.admin-record-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 4px;
    border-bottom: 1px solid #edf0eb;
}

.admin-client-row {
    color: #19201b;
    text-decoration: none;
}

    .admin-client-row div,
    .admin-record-row div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .admin-client-row span,
    .admin-record-row span {
        color: #758078;
        font-size: .85rem;
    }

.admin-client-row-right {
    align-items: flex-end;
}

.admin-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .72rem !important;
}

    .admin-status.active {
        background: #e7f3ea;
        color: #245c34;
    }

.admin-primary-button,
.admin-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    text-decoration: none;
    font-size: .87rem;
}

.admin-primary-button {
    background: #183f2a;
    color: white;
}

.admin-secondary-button {
    background: #f0f2ee;
    color: #243028;
}

.admin-empty {
    padding: 28px;
    border-radius: 12px;
    background: #f7f8f6;
    color: #748078;
}

@media (max-width: 900px) {

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
        min-height: auto;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .admin-sidebar-footer {
        margin-top: 22px;
    }

    .admin-stat-grid,
    .admin-client-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .admin-content {
        padding: 28px 16px 60px;
    }

    .admin-topbar {
        padding: 0 16px;
    }

    .admin-stat-grid,
    .admin-client-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-section {
        padding: 18px;
    }
}

/* =========================================================
   AJG ADMIN FORMS
   ========================================================= */

.admin-form-card {
    max-width: 900px;
    padding: 28px;
    background: white;
    border: 1px solid #e2e5e0;
    border-radius: 18px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form-full {
    grid-column: 1 / -1;
}

.admin-form-field label {
    font-size: .82rem;
    font-weight: 600;
    color: #334038;
}

.admin-form-field input,
.admin-form-field textarea,
.admin-form-field select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d9ded9;
    border-radius: 9px;
    background: white;
    color: #172019;
    font: inherit;
    outline: none;
}

.admin-form-field textarea {
    resize: vertical;
    min-height: 150px;
}

    .admin-form-field input:focus,
    .admin-form-field textarea:focus,
    .admin-form-field select:focus {
        border-color: #4f7a55;
        box-shadow: 0 0 0 3px rgba(79, 122, 85, .12);
    }

.admin-form-field input:disabled {
    background: #f3f5f2;
    color: #6d776f;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #edf0eb;
}

    .admin-form-actions button {
        border: 0;
        cursor: pointer;
        font: inherit;
    }

        .admin-form-actions button:disabled {
            opacity: .6;
            cursor: not-allowed;
        }

.admin-form-error {
    max-width: 900px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #e8cccc;
    border-radius: 10px;
    background: #fff5f5;
    color: #8a3030;
}

.admin-record-link {
    color: #19201b;
    text-decoration: none;
}

.admin-record-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.admin-status.pending {
    background: #fff4d7;
    color: #775a00;
}

.admin-status.danger {
    background: #fdeaea;
    color: #8a3030;
}

.admin-status.muted {
    background: #eff1ee;
    color: #677169;
}

@media (max-width: 600px) {

    .admin-form-card {
        padding: 18px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-full {
        grid-column: auto;
    }

    .admin-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

        .admin-form-actions a,
        .admin-form-actions button {
            width: 100%;
        }
}

/* =========================================================
   AJG QUOTES
   ========================================================= */

.quote-form-card {
    max-width: 1100px;
}

.admin-field-help {
    color: #78827b;
    font-size: .78rem;
}

.quote-builder {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e8ebe7;
}

.quote-builder-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

    .quote-builder-heading span {
        font-size: .67rem;
        letter-spacing: .13em;
        color: #758078;
    }

    .quote-builder-heading h2 {
        margin: 4px 0 0;
    }

    .quote-builder-heading button {
        border: 0;
        cursor: pointer;
    }

.quote-item-editor {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 100px 130px 130px 42px;
    gap: 12px;
    align-items: end;
    padding: 16px 0;
    border-bottom: 1px solid #edf0eb;
}

    .quote-item-editor label {
        display: block;
        margin-bottom: 7px;
        font-size: .77rem;
        font-weight: 600;
        color: #5e6961;
    }

    .quote-item-editor input {
        width: 100%;
        padding: 11px 12px;
        border: 1px solid #d9ded9;
        border-radius: 9px;
        background: white;
        color: #172019;
        font: inherit;
    }

.quote-item-total {
    min-height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .quote-item-total strong {
        min-height: 43px;
        display: flex;
        align-items: center;
        font-size: .96rem;
    }

.quote-item-remove {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .quote-item-remove button {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 8px;
        background: #f3f4f2;
        color: #6f7771;
        cursor: pointer;
    }

        .quote-item-remove button:hover {
            background: #fdeaea;
            color: #8a3030;
        }

.quote-total-panel {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    padding: 24px 0 6px;
}

    .quote-total-panel span {
        color: #68736b;
        font-size: .9rem;
    }

    .quote-total-panel strong {
        min-width: 140px;
        text-align: right;
        font-size: 1.65rem;
    }

.quote-form-bottom {
    margin-top: 30px;
}


/* =========================================================
   QUOTE DISPLAY
   ========================================================= */

.quote-description {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #59645d;
    margin: 18px 0 26px;
}

.quote-breakdown {
    margin-top: 24px;
    border: 1px solid #e5e8e3;
    border-radius: 14px;
    overflow: hidden;
}

.quote-table-header,
.quote-table-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 90px 120px 130px;
    gap: 15px;
    align-items: center;
}

.quote-table-header {
    padding: 11px 16px;
    background: #f4f6f3;
    color: #737d76;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.quote-table-row {
    padding: 15px 16px;
    border-top: 1px solid #edf0eb;
    color: #253028;
}

    .quote-table-row > :last-child,
    .quote-table-header > :last-child {
        text-align: right;
    }

.quote-table-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 18px 16px;
    border-top: 1px solid #dde2dc;
    background: #fafbfa;
}

    .quote-table-total span {
        color: #657069;
    }

    .quote-table-total strong {
        min-width: 120px;
        text-align: right;
        font-size: 1.25rem;
    }

.quote-legacy-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e7eae6;
}

    .quote-legacy-total strong {
        font-size: 1.4rem;
    }

.quote-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edf0eb;
}

    .quote-detail-meta div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .quote-detail-meta span {
        color: #78827b;
        font-size: .72rem;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .quote-detail-meta strong {
        color: #273129;
        font-size: .88rem;
    }


/* =========================================================
   CLIENT QUOTE STATUS
   ========================================================= */

.quote-client-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 600;
}

    .quote-client-status.pending {
        background: #fff4d7;
        color: #775a00;
    }

    .quote-client-status.accepted {
        background: #e7f3ea;
        color: #245c34;
    }

    .quote-client-status.declined {
        background: #fdeaea;
        color: #8a3030;
    }

    .quote-client-status.expired {
        background: #eff1ee;
        color: #677169;
    }

.quote-client-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #edf0eb;
}

    .quote-client-actions button {
        min-height: 42px;
        padding: 0 18px;
        border-radius: 9px;
        font: inherit;
        font-size: .88rem;
        cursor: pointer;
    }

.quote-accept-button {
    border: 0;
}

.quote-decline-button {
    border: 1px solid #d9ded9;
    background: white;
    color: #525d55;
}

    .quote-decline-button:hover {
        background: #faf1f1;
        color: #8a3030;
        border-color: #e6cccc;
    }

.quote-client-actions button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.quote-response {
    margin-top: 24px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 600;
}

    .quote-response.accepted {
        background: #e8f4eb;
        color: #245c34;
    }

    .quote-response.declined {
        background: #f7eeee;
        color: #803636;
    }


/* =========================================================
   QUOTE MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .quote-builder-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .quote-item-editor {
        grid-template-columns: 1fr 1fr;
    }

    .quote-item-description {
        grid-column: 1 / -1;
    }

    .quote-item-total {
        min-height: auto;
    }

    .quote-item-remove {
        justify-content: flex-end;
    }

    .quote-table-header {
        display: none;
    }

    .quote-table-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 16px;
    }

        .quote-table-row > :first-child {
            grid-column: 1 / -1;
            margin-bottom: 5px;
        }

        .quote-table-row > :last-child {
            text-align: right;
        }

    .quote-client-actions {
        flex-direction: column-reverse;
    }

        .quote-client-actions button {
            width: 100%;
        }

    .quote-detail-meta {
        gap: 18px;
    }
}

/* =========================================================
   AJG BILLING
   ========================================================= */

.invoice-form-card {
    max-width: 1100px;
}

.invoice-quote-import {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e8ebe7;
}

    .invoice-quote-import label {
        grid-column: 1 / -1;
    }

.invoice-payment-section {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e8ebe7;
}

.invoice-installment-editor {
    display: grid;
    grid-template-columns: 80px 130px 170px minmax(220px, 1fr) 42px;
    gap: 12px;
    align-items: end;
    padding: 16px 0;
    border-bottom: 1px solid #edf0eb;
}

    .invoice-installment-editor label {
        display: block;
        margin-bottom: 7px;
        font-size: .77rem;
        font-weight: 600;
        color: #5e6961;
    }

    .invoice-installment-editor input {
        width: 100%;
        padding: 11px 12px;
        border: 1px solid #d9ded9;
        border-radius: 9px;
        background: white;
        color: #172019;
        font: inherit;
    }

.invoice-plan-summary {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin-top: 20px;
    padding: 20px;
    background: #f7f8f6;
    border-radius: 12px;
}

    .invoice-plan-summary div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: right;
    }

    .invoice-plan-summary span {
        color: #778078;
        font-size: .72rem;
        text-transform: uppercase;
        letter-spacing: .07em;
    }

    .invoice-plan-summary strong {
        font-size: 1.05rem;
    }

.invoice-info-box {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f3f6f3;
    border-radius: 10px;
    color: #59645d;
    line-height: 1.5;
}


/* CLIENT BILLING */

.billing-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.billing-invoice-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

    .billing-invoice-amount strong {
        font-size: 1.3rem;
    }

    .billing-invoice-amount span {
        color: #778078;
        font-size: .75rem;
    }

.billing-plan {
    margin-top: 24px;
    border: 1px solid #e4e8e3;
    border-radius: 14px;
    overflow: hidden;
}

.billing-plan-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    background: #f5f7f4;
}

    .billing-plan-heading span {
        font-size: .68rem;
        letter-spacing: .1em;
        color: #6f7972;
    }

    .billing-plan-heading strong {
        font-size: .86rem;
    }

.billing-installment {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 15px 16px;
    border-top: 1px solid #edf0eb;
}

    .billing-installment > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .billing-installment span {
        color: #78827b;
        font-size: .78rem;
    }

.billing-installment-right {
    align-items: flex-end;
}

.billing-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .68rem !important;
    font-weight: 600;
}

    .billing-status.paid {
        background: #e7f3ea;
        color: #245c34;
    }

    .billing-status.due {
        background: #fff4d7;
        color: #765900;
    }

    .billing-status.past-due {
        background: #fdeaea;
        color: #8a3030;
    }

    .billing-status.upcoming {
        background: #eff1ee;
        color: #69726b;
    }

.billing-pay-button {
    white-space: nowrap;
}

.billing-single-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf0eb;
}


@media (max-width: 760px) {

    .invoice-quote-import {
        grid-template-columns: 1fr;
    }

    .invoice-installment-editor {
        grid-template-columns: 1fr 1fr;
    }

    .invoice-payment-link-field {
        grid-column: 1 / -1;
    }

    .invoice-plan-summary {
        flex-direction: column;
        gap: 14px;
    }

    .billing-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .billing-installment {
        grid-template-columns: 1fr auto;
    }

    .billing-pay-button {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* =========================================================
   AJG SUPPORT
   ========================================================= */

.support-create-card,
.support-reply-card {
    padding: 24px;
    margin-bottom: 28px;
    background: white;
    border: 1px solid #e3e7e2;
    border-radius: 16px;
}

.support-create-heading,
.support-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .support-create-heading span,
    .support-section-heading span {
        font-size: .67rem;
        letter-spacing: .12em;
        color: #758078;
    }

    .support-create-heading h2,
    .support-section-heading h2 {
        margin: 4px 0 0;
    }

.support-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 17px;
}

    .support-form-field label,
    .support-reply-card label {
        font-size: .82rem;
        font-weight: 600;
        color: #354139;
    }

    .support-form-field input,
    .support-form-field textarea,
    .support-form-field select,
    .support-reply-card textarea {
        width: 100%;
        padding: 12px 13px;
        border: 1px solid #d9ded9;
        border-radius: 9px;
        background: white;
        color: #172019;
        font: inherit;
    }

.support-priority-field {
    max-width: 220px;
}

.support-create-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

    .support-create-actions button {
        border: 0;
        cursor: pointer;
    }

.portal-support-error {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #e8cccc;
    border-radius: 10px;
    background: #fff5f5;
    color: #8a3030;
}


/* TICKET LIST */

.support-ticket-list,
.support-admin-list {
    overflow: hidden;
    background: white;
    border: 1px solid #e3e7e2;
    border-radius: 16px;
}

.support-ticket-row,
.support-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    color: #19201b;
    text-decoration: none;
    border-bottom: 1px solid #edf0eb;
}

    .support-ticket-row:last-child,
    .support-admin-row:last-child {
        border-bottom: 0;
    }

    .support-ticket-row:hover,
    .support-admin-row:hover {
        background: #fafbfa;
    }

    .support-ticket-main,
    .support-admin-row > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

        .support-ticket-main > span,
        .support-admin-row > div:first-child > span {
            color: #758078;
            font-size: .79rem;
        }

.support-ticket-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-ticket-right,
.support-admin-row-right {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* STATUS */

.support-status,
.support-priority {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .68rem !important;
    font-weight: 600;
}

    .support-status.open {
        background: #edf2ff;
        color: #365797;
    }

    .support-status.progress {
        background: #fff4d7;
        color: #755900;
    }

    .support-status.waiting {
        background: #f4edff;
        color: #644491;
    }

    .support-status.resolved {
        background: #e7f3ea;
        color: #245c34;
    }

    .support-status.closed {
        background: #eff1ee;
        color: #677169;
    }

    .support-priority.low {
        background: #eff1ee;
        color: #68716a;
    }

    .support-priority.normal {
        background: #edf2ff;
        color: #365797;
    }

    .support-priority.high {
        background: #fff0dc;
        color: #85550e;
    }

    .support-priority.urgent {
        background: #fdeaea;
        color: #8a3030;
    }


/* CONVERSATION */

.portal-back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #315c42;
    text-decoration: none;
}

.support-ticket-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #69736c;
    font-size: .86rem;
}

.support-conversation {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.support-message {
    max-width: 760px;
    padding: 16px 18px;
    border-radius: 14px;
}

    .support-message.client-message {
        align-self: flex-end;
        background: #183f2a;
        color: white;
    }

    .support-message.admin-message {
        align-self: flex-start;
        background: white;
        border: 1px solid #e2e6e1;
        color: #1d261f;
    }

.support-message-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 9px;
    font-size: .78rem;
}

    .support-message-header span {
        opacity: .68;
    }

.support-message-body {
    white-space: pre-wrap;
    line-height: 1.6;
}


/* ADMIN CONTROLS */

.support-admin-controls {
    display: grid;
    grid-template-columns: 220px 220px auto;
    gap: 14px;
    align-items: end;
    padding: 20px;
    margin-bottom: 24px;
    background: white;
    border: 1px solid #e3e7e2;
    border-radius: 14px;
}

    .support-admin-controls button {
        border: 0;
        cursor: pointer;
    }

.admin-support-reply {
    max-width: 900px;
}

.support-admin-stats {
    margin-bottom: 26px;
}


@media (max-width: 760px) {

    .support-ticket-row,
    .support-admin-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-ticket-right,
    .support-admin-row-right {
        width: 100%;
        justify-content: space-between;
    }

    .support-message {
        max-width: 92%;
    }

    .support-admin-controls {
        grid-template-columns: 1fr;
    }

    .support-create-actions {
        justify-content: stretch;
    }

        .support-create-actions button {
            width: 100%;
        }
}

/* =========================================================
   AJG WEBSITE 3.0 POLISH
   ========================================================= */

.service-anchor {
    scroll-margin-top: 115px;
}

.service-card-link {
    margin-top: 28px;
    color: var(--ajg-green);
    font-size: .82rem;
    font-weight: 700;
}

.service-modern-card-wide {
    grid-column: 1 / -1;
}

.home-positioning {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--ajg-gray);
}

.positioning-statement {
    max-width: 960px;
}

    .positioning-statement h2 {
        margin: 0;
        max-width: 930px;
        font-size: clamp(2.5rem, 5vw, 4.7rem);
        line-height: 1.04;
        letter-spacing: -.05em;
    }

    .positioning-statement p {
        max-width: 720px;
        margin: 28px 0 0;
        font-size: 1.08rem;
        line-height: 1.8;
        color: #676762;
    }


/* PLATFORM */

.platform-section {
    padding: 110px 0;
    background: #102d1e;
    color: white;
}

.platform-showcase {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 80px;
    align-items: center;
}

.platform-copy h2 {
    max-width: 650px;
    margin: 0 0 28px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.03;
    letter-spacing: -.05em;
}

.platform-copy p {
    max-width: 650px;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
}

.platform-link {
    display: inline-block;
    margin-top: 20px;
    color: white;
    font-weight: 600;
}

.platform-flow {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.045);
}

.platform-flow-item {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.05);
}

    .platform-flow-item small,
    .platform-flow-item strong,
    .platform-flow-item span {
        display: block;
    }

    .platform-flow-item small {
        margin-bottom: 6px;
        color: rgba(255,255,255,.45);
        font-size: .62rem;
        letter-spacing: .12em;
    }

    .platform-flow-item strong {
        font-size: 1rem;
    }

    .platform-flow-item span {
        margin-top: 5px;
        color: rgba(255,255,255,.56);
        font-size: .77rem;
    }

.platform-flow-core {
    background: rgba(255,255,255,.1);
}

.platform-flow-line {
    width: 1px;
    height: 28px;
    margin: 0 auto;
    background: rgba(255,255,255,.18);
}


/* SERVICES */

.services-intro {
    padding: 90px 0 25px;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

    .services-intro-grid h2 {
        margin: 0;
        font-size: clamp(2.2rem, 4vw, 3.6rem);
        letter-spacing: -.045em;
    }

    .services-intro-grid p {
        margin: 0 0 20px;
        color: #686863;
        font-size: 1.04rem;
        line-height: 1.8;
    }

.service-label {
    margin-bottom: 10px;
    color: var(--ajg-green);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.service-fit {
    max-width: 780px;
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 3px solid var(--ajg-green);
    background: #f5f7f4;
}

    .service-fit strong,
    .service-fit span {
        display: block;
    }

    .service-fit strong {
        margin-bottom: 6px;
        color: var(--ajg-green);
        font-size: .73rem;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .service-fit span {
        color: #626b64;
        line-height: 1.65;
    }


/* ABOUT */

.about-story-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
}

    .about-story-grid h2 {
        margin: 0;
        font-size: clamp(2.3rem, 4vw, 3.8rem);
        line-height: 1.05;
        letter-spacing: -.045em;
    }

.about-story-copy p {
    margin: 0 0 24px;
    color: #62625d;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-principles-section {
    padding: 100px 0;
    background: var(--ajg-gray);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.about-principle {
    min-height: 300px;
    padding: 30px;
    border: 1px solid var(--ajg-border);
    border-radius: 17px;
    background: white;
}

    .about-principle > span {
        color: var(--ajg-green);
        font-size: .72rem;
    }

    .about-principle h3 {
        margin: 75px 0 16px;
        font-size: 1.35rem;
    }

    .about-principle p {
        color: #6b6b66;
        line-height: 1.7;
    }

.about-perspective-section {
    padding: 100px 0;
}

.about-perspective-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    padding: 55px;
    border-radius: 22px;
    background: #102d1e;
    color: white;
}

    .about-perspective-card h2 {
        margin: 0;
        font-size: clamp(2.3rem, 4vw, 3.8rem);
        line-height: 1.05;
        letter-spacing: -.045em;
    }

    .about-perspective-card p {
        color: rgba(255,255,255,.72);
        line-height: 1.8;
    }

.about-direction-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
}

    .about-direction-grid h2 {
        margin: 0;
        font-size: clamp(2.2rem, 4vw, 3.7rem);
        line-height: 1.05;
        letter-spacing: -.045em;
    }

.about-content-pill {
    width: fit-content;
    max-width: 100%;
    margin: 35px auto 0;
    padding: 11px 17px;
    border: 1px solid var(--ajg-border);
    border-radius: 999px;
    background: white;
    color: #696964;
    font-size: .8rem;
}


/* KNOWLEDGE */

.knowledge-section {
    padding: 110px 0;
    background: #fafaf8;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.knowledge-card {
    min-height: 310px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ajg-border);
    border-radius: 17px;
    background: white;
}

    .knowledge-card > span {
        color: var(--ajg-green);
        font-size: .66rem;
        font-weight: 700;
        letter-spacing: .11em;
    }

    .knowledge-card h3 {
        margin: 70px 0 16px;
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .knowledge-card p {
        color: #6a6a65;
        line-height: 1.7;
    }

    .knowledge-card small {
        margin-top: auto;
        padding-top: 24px;
        color: #9a9a95;
    }

.knowledge-note {
    margin-top: 24px;
    color: #8b8b86;
    font-size: .8rem;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .platform-showcase,
    .services-intro-grid,
    .about-story-grid,
    .about-perspective-card,
    .about-direction-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-principles-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .service-modern-card-wide {
        grid-column: auto;
    }

    .about-perspective-card {
        padding: 36px 28px;
    }
}

@media (max-width: 600px) {

    .platform-section,
    .knowledge-section,
    .about-principles-section,
    .about-perspective-section {
        padding: 75px 0;
    }

    .platform-flow {
        padding: 18px;
    }

    .about-principle,
    .knowledge-card {
        min-height: auto;
    }

        .about-principle h3,
        .knowledge-card h3 {
            margin-top: 45px;
        }
}

/* =========================================================
   ADMIN INVOICE DETAILS
   ========================================================= */

.invoice-admin-installment {
    padding: 22px 0;
    border-top: 1px solid #e8ebe7;
}

    .invoice-admin-installment:first-of-type {
        border-top: 0;
    }

.invoice-admin-installment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

    .invoice-admin-installment-heading > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .invoice-admin-installment-heading span {
        color: #758078;
        font-size: .67rem;
        letter-spacing: .12em;
    }

.invoice-admin-success {
    max-width: 900px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #cfe3d4;
    border-radius: 10px;
    background: #eef7f0;
    color: #245c34;
}

/* =========================================================
   AJG WEBSITE 4.0 — CINEMATIC HOME
   HOMEPAGE ONLY
   ========================================================= */

:root {
    --ajg-neon: #61e27e;
    --ajg-neon-soft: #a8efb8;
    --ajg-night: #060907;
    --ajg-night-2: #0b100d;
    --ajg-night-3: #101713;
    --ajg-night-border: rgba(119, 190, 137, 0.28);
}


/* =========================================================
   HOME SHELL
   ========================================================= */

.ajg-home-shell {
    overflow: hidden;
    background: var(--ajg-night);
    color: white;
}


/* =========================================================
   HEADER — HOME ONLY
   ========================================================= */

body:has(.ajg-home-shell) .site-header {
    background: rgba(6, 9, 7, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

body:has(.ajg-home-shell) .main-nav a {
    color: rgba(255, 255, 255, 0.76);
}

    body:has(.ajg-home-shell) .main-nav a:hover {
        color: var(--ajg-neon);
    }

body:has(.ajg-home-shell) .nav-contact {
    background: var(--ajg-neon);
    color: #061008 !important;
}

    body:has(.ajg-home-shell) .nav-contact:hover {
        background: #79ed91;
        color: #061008 !important;
    }

body:has(.ajg-home-shell) .nav-client-login {
    border-color: rgba(97, 226, 126, 0.7);
    color: #c9f6d2 !important;
}

    body:has(.ajg-home-shell) .nav-client-login:hover {
        background: var(--ajg-neon);
        color: #061008 !important;
    }

body:has(.ajg-home-shell) .mobile-menu-button {
    color: white;
}


/* =========================================================
   HERO
   ========================================================= */

.ajg-home-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    min-height: 760px;
    isolation: isolate;
    overflow: hidden;
    background: #050806;
}

.ajg-home-hero-art {
    position: absolute;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.015);
    animation: ajgHeroDrift 18s ease-in-out infinite alternate;
}

.ajg-home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: linear-gradient( 90deg, rgba(4, 7, 5, 0.96) 0%, rgba(4, 7, 5, 0.84) 32%, rgba(4, 7, 5, 0.40) 62%, rgba(4, 7, 5, 0.16) 100% ), linear-gradient( 0deg, #060907 0%, rgba(6, 9, 7, 0.74) 13%, transparent 48% );
}

.ajg-home-hero-glow {
    position: absolute;
    z-index: -2;
    width: 700px;
    height: 700px;
    right: -220px;
    top: -250px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(97, 226, 126, 0.16), transparent 67% );
    filter: blur(14px);
}

.ajg-home-hero-inner {
    min-height: calc(100vh - 82px);
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: 110px;
    padding-bottom: 82px;
}

.ajg-home-hero-copy {
    width: min(690px, 72%);
}


/* EYEBROW */

.ajg-home-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #a8cfb1;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

    .ajg-home-eyebrow > span {
        width: 42px;
        height: 3px;
        flex: 0 0 42px;
        border-radius: 3px;
        background: var(--ajg-neon);
        box-shadow: 0 0 16px rgba(97, 226, 126, 0.35);
    }

    .ajg-home-eyebrow.dark {
        color: #42654b;
    }


/* HERO TITLE */

.ajg-home-hero h1 {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin: 0;
    font-size: clamp(4.5rem, 8.1vw, 8.2rem);
    line-height: 0.79;
    letter-spacing: -0.075em;
    font-weight: 700;
}

.ajg-home-hero-line {
    display: block;
    color: white;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

    .ajg-home-hero-line.ajg-home-accent {
        color: var(--ajg-neon);
        text-shadow: 0 0 38px rgba(97, 226, 126, 0.16);
    }


/* SCALE STROKE */

.ajg-home-signature-stroke {
    width: 250px;
    height: 17px;
    position: relative;
    margin: 4px 0 25px 5px;
}

    .ajg-home-signature-stroke i,
    .ajg-home-signature-stroke b {
        position: absolute;
        left: 0;
        display: block;
        border-radius: 4px;
        background: var(--ajg-neon);
        transform-origin: left center;
    }

    .ajg-home-signature-stroke i {
        top: 6px;
        width: 100%;
        height: 4px;
        transform: rotate(-2deg);
    }

    .ajg-home-signature-stroke b {
        top: 11px;
        left: 40px;
        width: 150px;
        height: 2px;
        opacity: 0.65;
        transform: rotate(2deg);
    }


/* HERO COPY */

.ajg-home-hero-subtitle {
    max-width: 610px;
    margin: 0;
    color: #d8dfda;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.65;
}


/* HERO BUTTONS */

.ajg-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.ajg-home-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 0 25px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

    .ajg-home-btn:hover {
        transform: translateY(-2px);
    }

.ajg-home-btn-primary {
    background: var(--ajg-neon);
    color: #041008;
    box-shadow: 0 12px 34px rgba(40, 205, 78, 0.17);
}

    .ajg-home-btn-primary:hover {
        background: #76ec8e;
        color: #041008;
        box-shadow: 0 16px 40px rgba(40, 205, 78, 0.22);
    }

.ajg-home-btn-ghost {
    border: 1px solid rgba(214, 235, 219, 0.60);
    background: rgba(7, 12, 8, 0.30);
    color: white;
    backdrop-filter: blur(13px);
}

    .ajg-home-btn-ghost:hover {
        color: white;
        background: rgba(255, 255, 255, 0.10);
    }


/* LIVE HERO PANEL */

.ajg-home-live-panel {
    position: absolute;
    right: 0;
    bottom: 84px;
    width: 245px;
    padding: 21px;
    border: 1px solid rgba(123, 185, 138, 0.28);
    border-radius: 19px;
    background: rgba(9, 15, 11, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.ajg-home-live-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #738078;
}

.ajg-home-live-state {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ajg-neon);
}

    .ajg-home-live-state i,
    .ajg-home-case-live i,
    .ajg-home-console-status i {
        width: 7px;
        height: 7px;
        display: inline-block;
        border-radius: 50%;
        background: var(--ajg-neon);
        box-shadow: 0 0 0 5px rgba(97, 226, 126, 0.10), 0 0 18px rgba(97, 226, 126, 0.30);
    }

.ajg-home-live-panel > strong {
    display: block;
    font-size: 1rem;
}

.ajg-home-live-metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
}

    .ajg-home-live-metric b {
        color: var(--ajg-neon);
        font-size: 1.8rem;
        letter-spacing: -0.045em;
    }

    .ajg-home-live-metric span {
        color: #7e8b82;
        font-size: 0.7rem;
    }

.ajg-home-live-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 17px;
}

    .ajg-home-live-tags span {
        padding: 5px 7px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        color: #8e9a92;
        font-size: 0.55rem;
        letter-spacing: 0.08em;
    }


/* =========================================================
   POSITIONING STATEMENT
   ========================================================= */

.ajg-home-statement {
    padding: 95px 0 52px;
    background: var(--ajg-night);
}

.ajg-home-statement-inner {
    max-width: 930px;
}

.ajg-home-statement h2,
.ajg-home-section-heading h2,
.ajg-home-platform-copy h2,
.ajg-home-final h2 {
    margin: 0;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.ajg-home-statement h2 {
    max-width: 900px;
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.ajg-home-statement p {
    max-width: 720px;
    margin: 28px 0 0;
    color: #8d9991;
    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   THREE PILLARS
   ========================================================= */

.ajg-home-pillars {
    padding: 34px 0 36px;
    background: var(--ajg-night);
}

.ajg-home-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ajg-home-pillar {
    min-height: 390px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(84, 158, 102, 0.45);
    border-radius: 25px;
    background: #0d130f;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
}

.ajg-home-pillar-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.ajg-home-pillar:hover
.ajg-home-pillar-art {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.ajg-home-pillar-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient( 0deg, rgba(5, 9, 6, 0.97) 0%, rgba(5, 9, 6, 0.78) 36%, rgba(5, 9, 6, 0.12) 78%, rgba(5, 9, 6, 0.05) 100% );
}

.ajg-home-pillar-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
}

    .ajg-home-pillar-copy > span {
        color: var(--ajg-neon);
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.16em;
    }

    .ajg-home-pillar-copy h3 {
        max-width: 240px;
        margin: 9px 0;
        color: white;
        font-size: 1.55rem;
        line-height: 1.02;
        letter-spacing: -0.035em;
    }

    .ajg-home-pillar-copy p {
        max-width: 300px;
        margin: 0;
        color: #c9d3cc;
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .ajg-home-pillar-copy b {
        display: block;
        margin-top: 18px;
        color: var(--ajg-neon);
        font-size: 1.45rem;
        text-align: right;
    }


/* =========================================================
   SYSTEM PULSE
   ========================================================= */

.ajg-home-pulse {
    padding: 10px 0 95px;
    background: var(--ajg-night);
}

.ajg-home-pulse-card {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    align-items: center;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(125, 184, 139, 0.30);
    border-radius: 25px;
    background: radial-gradient( circle at 100% 50%, rgba(97, 226, 126, 0.10), transparent 34% ), rgba(13, 20, 15, 0.82);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.ajg-home-pulse-title,
.ajg-home-pulse-stat {
    min-height: 122px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 29px;
}

    .ajg-home-pulse-title > span {
        margin-bottom: 5px;
        color: var(--ajg-neon);
        font-size: 0.61rem;
        font-weight: 700;
        letter-spacing: 0.15em;
    }

    .ajg-home-pulse-title strong {
        font-size: 1.75rem;
        letter-spacing: -0.04em;
    }

.ajg-home-pulse-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

    .ajg-home-pulse-stat b {
        font-size: 1.15rem;
    }

    .ajg-home-pulse-stat span {
        margin-top: 5px;
        color: #8d9991;
        font-size: 0.72rem;
    }

    .ajg-home-pulse-stat.accent b {
        color: var(--ajg-neon);
    }


/* =========================================================
   ECOSYSTEM
   ========================================================= */

.ajg-home-ecosystem {
    padding: 115px 0;
    background: radial-gradient( circle at 20% 30%, rgba(24, 63, 42, 0.12), transparent 26% ), #0a0f0c;
}

.ajg-home-section-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

    .ajg-home-section-heading.centered {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

        .ajg-home-section-heading.centered
        .ajg-home-eyebrow {
            justify-content: center;
        }

    .ajg-home-section-heading h2 {
        font-size: clamp(2.6rem, 5vw, 4.8rem);
    }

    .ajg-home-section-heading p {
        max-width: 660px;
        margin: 20px 0 0;
        color: #8c9990;
        font-size: 1rem;
        line-height: 1.7;
    }

.ajg-home-ecosystem-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}


/* CORE */

.ajg-home-core {
    min-height: 470px;
    position: relative;
    display: grid;
    place-items: center;
}

.ajg-home-core-ring {
    position: absolute;
    border: 1px solid rgba(97, 226, 126, 0.18);
    border-radius: 50%;
}

    .ajg-home-core-ring.ring-one {
        inset: 7%;
        animation: ajgSpin 36s linear infinite;
    }

    .ajg-home-core-ring.ring-two {
        inset: 22%;
        border-style: dashed;
        animation: ajgSpinReverse 26s linear infinite;
    }

.ajg-home-core-center {
    width: 175px;
    height: 175px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(97, 226, 126, 0.55);
    border-radius: 38px;
    background: radial-gradient( circle at 50% 20%, rgba(97, 226, 126, 0.12), transparent 50% ), #102619;
    box-shadow: 0 0 80px rgba(97, 226, 126, 0.08), 0 28px 60px rgba(0, 0, 0, 0.32);
}

    .ajg-home-core-center img {
        width: 100px;
        max-height: 90px;
        object-fit: contain;
    }

    .ajg-home-core-center span {
        position: absolute;
        bottom: 22px;
        color: #8eb898;
        font-size: 0.55rem;
        font-weight: 700;
        letter-spacing: 0.16em;
    }


/* MODULES */

.ajg-home-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.ajg-home-module {
    min-height: 215px;
    position: relative;
    padding: 23px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background: rgba(18, 25, 20, 0.86);
    color: white;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

    .ajg-home-module:hover {
        transform: translateY(-4px);
        border-color: rgba(97, 226, 126, 0.34);
        color: white;
        background: #141d17;
    }

    .ajg-home-module > small {
        color: var(--ajg-neon);
        font-size: 0.57rem;
        font-weight: 700;
        letter-spacing: 0.15em;
    }

    .ajg-home-module > strong {
        display: block;
        margin-top: 28px;
        font-size: 1.15rem;
    }

    .ajg-home-module > p {
        max-width: 300px;
        margin: 9px 0 0;
        color: #89958d;
        font-size: 0.76rem;
        line-height: 1.55;
    }

    .ajg-home-module > span {
        position: absolute;
        top: 20px;
        right: 22px;
        color: #526058;
        font-size: 0.65rem;
    }

.ajg-home-module-accent {
    border-color: rgba(97, 226, 126, 0.45);
    background: radial-gradient( circle at 100% 0%, rgba(97, 226, 126, 0.15), transparent 45% ), #183f2a;
}


/* =========================================================
   AJG PLATFORM
   ========================================================= */

.ajg-home-platform {
    padding: 115px 0;
    background: #07100a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ajg-home-platform-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.ajg-home-platform-copy h2 {
    max-width: 680px;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.ajg-home-platform-copy p {
    max-width: 650px;
    margin: 25px 0 0;
    color: #8f9b93;
    line-height: 1.75;
}

.ajg-home-inline-link {
    display: inline-block;
    margin-top: 27px;
    color: var(--ajg-neon);
    font-weight: 700;
    text-decoration: none;
}

    .ajg-home-inline-link:hover {
        color: #8bf1a0;
    }


/* PLATFORM CONSOLE */

.ajg-home-platform-console {
    padding: 25px;
    border: 1px solid rgba(128, 186, 142, 0.25);
    border-radius: 23px;
    background: radial-gradient( circle at 50% 0%, rgba(97, 226, 126, 0.09), transparent 40% ), rgba(14, 22, 16, 0.90);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}

.ajg-home-console-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

    .ajg-home-console-top > div:first-child span,
    .ajg-home-console-top > div:first-child strong {
        display: block;
    }

    .ajg-home-console-top > div:first-child span {
        margin-bottom: 4px;
        color: #617067;
        font-size: 0.57rem;
        letter-spacing: 0.13em;
    }

    .ajg-home-console-top > div:first-child strong {
        font-size: 0.95rem;
    }

.ajg-home-console-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ajg-neon);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.10em;
}

.ajg-home-console-node {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
}

    .ajg-home-console-node small,
    .ajg-home-console-node strong,
    .ajg-home-console-node span {
        display: block;
    }

    .ajg-home-console-node small {
        margin-bottom: 6px;
        color: #67756c;
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }

    .ajg-home-console-node strong {
        font-size: 0.95rem;
    }

    .ajg-home-console-node span {
        margin-top: 5px;
        color: #7d8981;
        font-size: 0.7rem;
    }

    .ajg-home-console-node.core {
        border-color: rgba(97, 226, 126, 0.30);
        background: rgba(24, 63, 42, 0.68);
    }

.ajg-home-console-line {
    width: 1px;
    height: 25px;
    margin: 0 auto;
    background: linear-gradient( var(--ajg-neon), rgba(97, 226, 126, 0.13) );
}


/* =========================================================
   CLIENT WORK / ERL
   ========================================================= */

.ajg-home-client-work {
    padding: 115px 0;
    background: #0a0e0b;
}

.ajg-home-case {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 58px;
    padding: 52px;
    border: 1px solid rgba(129, 180, 141, 0.24);
    border-radius: 27px;
    background: radial-gradient( circle at 100% 0%, rgba(97, 226, 126, 0.08), transparent 35% ), #101612;
}

.ajg-home-case-live {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b7efc3;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.ajg-home-case-copy h3 {
    margin: 18px 0 16px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.045em;
}

.ajg-home-case-copy p {
    max-width: 610px;
    color: #9ba69f;
    line-height: 1.75;
}

.ajg-home-case-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 26px;
}

    .ajg-home-case-stack span {
        padding: 6px 10px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 999px;
        color: #9ba69f;
        background: rgba(255, 255, 255, 0.025);
        font-size: 0.66rem;
    }

.ajg-home-case-system {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ajg-home-case-system-head {
    margin-bottom: 17px;
}

    .ajg-home-case-system-head span,
    .ajg-home-case-system-head strong {
        display: block;
    }

    .ajg-home-case-system-head span {
        margin-bottom: 4px;
        color: #67746c;
        font-size: 0.57rem;
        letter-spacing: 0.13em;
    }

    .ajg-home-case-system-head strong {
        font-size: 1rem;
    }

.ajg-home-case-layer {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

    .ajg-home-case-layer small,
    .ajg-home-case-layer strong {
        display: block;
    }

    .ajg-home-case-layer small {
        margin-bottom: 5px;
        color: #69756d;
        font-size: 0.54rem;
        letter-spacing: 0.13em;
    }

    .ajg-home-case-layer strong {
        font-size: 0.9rem;
    }

    .ajg-home-case-layer.accent {
        border-color: rgba(97, 226, 126, 0.27);
        background: rgba(24, 63, 42, 0.65);
    }

.ajg-home-case-arrow {
    padding: 7px 0;
    color: rgba(97, 226, 126, 0.43);
    text-align: center;
}


/* =========================================================
   PROCESS
   ========================================================= */

.ajg-home-process {
    padding: 115px 0;
    background: #f2f3ef;
    color: #171b18;
}

    .ajg-home-process
    .ajg-home-section-heading p {
        color: #6b726d;
    }

.ajg-home-process-grid {
    display: flex;
    align-items: flex-start;
    margin-top: 60px;
}

.ajg-home-process-step {
    width: 170px;
    flex: 0 0 170px;
}

    .ajg-home-process-step > span {
        display: block;
        margin-bottom: 18px;
        color: #909891;
        font-size: 0.66rem;
    }

    .ajg-home-process-step > strong {
        font-size: 1.05rem;
    }

    .ajg-home-process-step > p {
        margin: 8px 0 0;
        color: #727a74;
        font-size: 0.8rem;
        line-height: 1.55;
    }

.ajg-home-process-line {
    height: 1px;
    flex: 1;
    margin: 13px 16px 0;
    background: #cdd2cd;
}


/* =========================================================
   KNOWLEDGE
   ========================================================= */

.ajg-home-knowledge {
    padding: 115px 0;
    background: #080c09;
}

.ajg-home-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.ajg-home-knowledge-card {
    min-height: 315px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #101612;
}

    .ajg-home-knowledge-card > span {
        color: var(--ajg-neon);
        font-size: 0.59rem;
        font-weight: 700;
        letter-spacing: 0.13em;
    }

    .ajg-home-knowledge-card h3 {
        margin: 70px 0 15px;
        font-size: 1.35rem;
        line-height: 1.2;
        letter-spacing: -0.025em;
    }

    .ajg-home-knowledge-card p {
        margin: 0;
        color: #8d9991;
        font-size: 0.83rem;
        line-height: 1.65;
    }

    .ajg-home-knowledge-card small {
        margin-top: auto;
        padding-top: 25px;
        color: #5f6b63;
    }


/* =========================================================
   FINAL CTA
   ========================================================= */

.ajg-home-final {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #050806;
}

.ajg-home-final-art {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.ajg-home-final-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient( circle at 70% 45%, rgba(97, 226, 126, 0.07), transparent 35% ), linear-gradient( 90deg, rgba(4, 7, 5, 0.97), rgba(4, 7, 5, 0.76) 48%, rgba(4, 7, 5, 0.49) );
}

.ajg-home-final-content {
    padding-top: 95px;
    padding-bottom: 95px;
}

.ajg-home-final-logo {
    width: 108px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 34px;
}

.ajg-home-final h2 {
    max-width: 780px;
    font-size: clamp(3rem, 6vw, 6rem);
}

.ajg-home-final p {
    max-width: 600px;
    margin: 23px 0 32px;
    color: #a1aca4;
    font-size: 1.04rem;
    line-height: 1.7;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes ajgHeroDrift {

    from {
        transform: scale(1.015) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.045) translate3d(-8px, -4px, 0);
    }
}

@keyframes ajgSpin {

    to {
        transform: rotate(360deg);
    }
}

@keyframes ajgSpinReverse {

    to {
        transform: rotate(-360deg);
    }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .ajg-home-live-panel {
        display: none;
    }

    .ajg-home-hero-copy {
        width: 82%;
    }

    .ajg-home-platform-grid,
    .ajg-home-case,
    .ajg-home-ecosystem-layout {
        grid-template-columns: 1fr;
    }

    .ajg-home-core {
        min-height: 390px;
    }

    .ajg-home-platform-grid,
    .ajg-home-case {
        gap: 42px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE / TABLET
   ========================================================= */

@media (max-width: 850px) {

    body:has(.ajg-home-shell)
    .mobile-menu {
        background: rgba(9, 14, 10, 0.98);
        border-color: rgba(255, 255, 255, 0.08);
    }

        body:has(.ajg-home-shell)
        .mobile-menu a {
            color: white;
            border-bottom-color: rgba(255, 255, 255, 0.07);
        }


    .ajg-home-hero {
        min-height: 760px;
    }

    .ajg-home-hero-inner {
        min-height: 760px;
        padding-top: 75px;
        padding-bottom: 58px;
    }

    .ajg-home-hero-copy {
        width: 100%;
    }

    .ajg-home-hero-art {
        object-position: 60% center;
    }

    .ajg-home-hero-overlay {
        background: linear-gradient( 0deg, rgba(4, 7, 5, 0.97) 0%, rgba(4, 7, 5, 0.76) 54%, rgba(4, 7, 5, 0.31) 100% );
    }

    .ajg-home-hero h1 {
        font-size: clamp(4rem, 15vw, 6rem);
    }


    .ajg-home-pillar-grid {
        grid-template-columns: 1fr;
    }

    .ajg-home-pillar {
        min-height: 370px;
    }


    .ajg-home-pulse-card {
        grid-template-columns: 1fr 1fr;
    }

    .ajg-home-pulse-title {
        grid-column: 1 / -1;
    }

    .ajg-home-pulse-stat:nth-child(4) {
        grid-column: 1 / -1;
    }

    .ajg-home-pulse-stat {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }


    .ajg-home-module-grid {
        grid-template-columns: 1fr;
    }


    .ajg-home-process-grid {
        flex-direction: column;
        gap: 22px;
    }

    .ajg-home-process-step {
        width: 100%;
        flex: auto;
    }

    .ajg-home-process-line {
        width: 1px;
        height: 25px;
        flex: none;
        margin: -6px 0 -6px 12px;
    }


    .ajg-home-knowledge-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RESPONSIVE — PHONE
   ========================================================= */

@media (max-width: 600px) {

    .ajg-home-hero {
        min-height: 700px;
    }

    .ajg-home-hero-inner {
        min-height: 700px;
        padding-bottom: 48px;
    }

    .ajg-home-hero h1 {
        font-size: clamp(3.6rem, 17vw, 5.1rem);
    }

    .ajg-home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ajg-home-btn {
        width: 100%;
    }


    .ajg-home-statement,
    .ajg-home-ecosystem,
    .ajg-home-platform,
    .ajg-home-client-work,
    .ajg-home-process,
    .ajg-home-knowledge {
        padding-top: 78px;
        padding-bottom: 78px;
    }


    .ajg-home-pillar-grid {
        gap: 11px;
    }


    .ajg-home-pulse {
        padding-bottom: 75px;
    }

    .ajg-home-pulse-card {
        grid-template-columns: 1fr;
    }

    .ajg-home-pulse-title,
    .ajg-home-pulse-stat,
    .ajg-home-pulse-stat:nth-child(4) {
        grid-column: auto;
    }


    .ajg-home-core {
        min-height: 320px;
    }

    .ajg-home-core-center {
        width: 145px;
        height: 145px;
        border-radius: 31px;
    }

        .ajg-home-core-center img {
            width: 82px;
        }


    .ajg-home-case {
        padding: 28px 22px;
    }


    .ajg-home-final {
        min-height: 590px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ajg-home-hero-art,
    .ajg-home-core-ring {
        animation: none !important;
    }

    .ajg-home-pillar-art,
    .ajg-home-module,
    .ajg-home-btn {
        transition: none !important;
    }
}

/* =========================================================
   AJG WEBSITE 4.1 — LIGHT HOME
   PASTE AT THE VERY END OF THE CURRENT CSS
   ========================================================= */

:root {
    --ajg-light-green: #183f2a;
    --ajg-light-green-dark: #0e271a;
    --ajg-light-green-soft: #e8f0ea;
    --ajg-light-green-pale: #f1f6f2;
    --ajg-light-accent: #4f7a55;
    --ajg-light-black: #0b0b0b;
    --ajg-light-text: #1a1a1a;
    --ajg-light-muted: #686863;
    --ajg-light-subtle: #8a8a85;
    --ajg-light-white: #ffffff;
    --ajg-light-gray: #f5f5f3;
    --ajg-light-border: #e3e4df;
}


/* =========================================================
   HOME SHELL
   ========================================================= */

.ajg-light-home {
    background: var(--ajg-light-white);
    color: var(--ajg-light-text);
    overflow: hidden;
}


/* =========================================================
   HEADER — WHITE AGAIN
   ========================================================= */

body:has(.ajg-light-home) .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--ajg-light-border);
    backdrop-filter: blur(14px);
}

body:has(.ajg-light-home) .main-nav a {
    color: var(--ajg-light-text);
}

    body:has(.ajg-light-home) .main-nav a:hover {
        color: var(--ajg-light-green);
    }

body:has(.ajg-light-home) .nav-contact {
    background: var(--ajg-light-black);
    color: white !important;
}

    body:has(.ajg-light-home) .nav-contact:hover {
        background: var(--ajg-light-green);
        color: white !important;
    }

body:has(.ajg-light-home) .nav-client-login {
    border-color: var(--ajg-light-green);
    color: var(--ajg-light-green) !important;
    background: white;
}

    body:has(.ajg-light-home) .nav-client-login:hover {
        background: var(--ajg-light-green);
        color: white !important;
    }

body:has(.ajg-light-home) .mobile-menu-button {
    color: var(--ajg-light-black);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.ajg-light-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--ajg-light-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .ajg-light-eyebrow > span {
        width: 40px;
        height: 3px;
        flex: 0 0 40px;
        border-radius: 999px;
        background: var(--ajg-light-green);
    }

    .ajg-light-eyebrow.light {
        color: #b4cdbb;
    }

        .ajg-light-eyebrow.light > span {
            background: #7db28a;
        }


/* =========================================================
   HERO
   ========================================================= */

.ajg-light-hero {
    padding: 80px 0 95px;
    background: radial-gradient( circle at 85% 20%, rgba(79, 122, 85, 0.10), transparent 34% ), var(--ajg-light-white);
}

.ajg-light-hero-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 70px;
    align-items: center;
}

.ajg-light-hero-copy {
    max-width: 620px;
}

.ajg-light-hero h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-size: clamp(4rem, 7vw, 7.1rem);
    line-height: 0.82;
    letter-spacing: -0.07em;
    font-weight: 700;
    color: var(--ajg-light-black);
}

    .ajg-light-hero h1 > span {
        display: block;
    }

    .ajg-light-hero h1 .accent {
        color: var(--ajg-light-green);
    }

.ajg-light-hero-lead {
    max-width: 570px;
    margin: 32px 0 0;
    color: var(--ajg-light-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}


/* HERO ACTIONS */

.ajg-light-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.ajg-light-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .ajg-light-button:hover {
        transform: translateY(-2px);
    }

    .ajg-light-button.primary {
        background: var(--ajg-light-green);
        color: white;
        box-shadow: 0 12px 30px rgba(24, 63, 42, 0.14);
    }

        .ajg-light-button.primary:hover {
            background: var(--ajg-light-green-dark);
            color: white;
        }

    .ajg-light-button.secondary {
        border: 1px solid #cfd4cf;
        background: white;
        color: var(--ajg-light-text);
    }

        .ajg-light-button.secondary:hover {
            border-color: var(--ajg-light-green);
            color: var(--ajg-light-green);
        }


/* CAPABILITIES */

.ajg-light-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 32px;
}

    .ajg-light-capabilities span {
        padding: 6px 10px;
        border: 1px solid var(--ajg-light-border);
        border-radius: 999px;
        background: #fafbf9;
        color: #6c746e;
        font-size: 0.68rem;
    }


/* =========================================================
   HERO VISUAL / WELCOME BANNER
   ========================================================= */

.ajg-light-hero-visual {
    min-width: 0;
}

.ajg-light-hero-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid #dfe3dd;
    border-radius: 32px;
    background: var(--ajg-light-gray);
    box-shadow: 0 28px 70px rgba(18, 32, 22, 0.11);
}

    .ajg-light-hero-image-frame > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.8s ease;
    }

    .ajg-light-hero-image-frame:hover > img {
        transform: scale(1.018);
    }


/* FLOATING HERO BADGE */

.ajg-light-image-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 310px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.10);
}

    .ajg-light-image-badge small,
    .ajg-light-image-badge strong {
        display: block;
    }

    .ajg-light-image-badge small {
        margin-bottom: 5px;
        color: var(--ajg-light-green);
        font-size: 0.56rem;
        font-weight: 700;
        letter-spacing: 0.14em;
    }

    .ajg-light-image-badge strong {
        color: #283029;
        font-size: 0.84rem;
        line-height: 1.45;
    }


/* =========================================================
   POSITIONING
   ========================================================= */

.ajg-light-positioning {
    padding: 105px 0;
    background: var(--ajg-light-gray);
}

.ajg-light-positioning-content {
    max-width: 950px;
}

.ajg-light-positioning h2 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -0.052em;
    color: var(--ajg-light-black);
}

.ajg-light-positioning p {
    max-width: 700px;
    margin: 28px 0 0;
    color: var(--ajg-light-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.ajg-light-section-heading {
    max-width: 830px;
    margin-bottom: 55px;
}

    .ajg-light-section-heading h2 {
        margin: 0;
        font-size: clamp(2.5rem, 4.6vw, 4.3rem);
        line-height: 1.04;
        letter-spacing: -0.05em;
        color: var(--ajg-light-black);
    }

    .ajg-light-section-heading p {
        max-width: 650px;
        margin: 20px 0 0;
        color: var(--ajg-light-muted);
        line-height: 1.75;
    }


/* =========================================================
   VISUAL PILLARS
   ========================================================= */

.ajg-light-pillars {
    padding: 115px 0;
    background: white;
}

.ajg-light-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ajg-light-pillar-card {
    overflow: hidden;
    border: 1px solid var(--ajg-light-border);
    border-radius: 26px;
    background: white;
    box-shadow: 0 16px 40px rgba(18, 34, 23, 0.045);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

    .ajg-light-pillar-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 55px rgba(18, 34, 23, 0.08);
    }

.ajg-light-pillar-image {
    height: 280px;
    overflow: hidden;
    background: var(--ajg-light-gray);
}

    .ajg-light-pillar-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.ajg-light-pillar-card:hover
.ajg-light-pillar-image img {
    transform: scale(1.025);
}

.ajg-light-pillar-content {
    min-height: 245px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    padding: 27px;
}

.ajg-light-pillar-number {
    color: #a0a6a1;
    font-size: 0.68rem;
}

.ajg-light-pillar-content small {
    color: var(--ajg-light-green);
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.ajg-light-pillar-content h3 {
    margin: 9px 0 10px;
    font-size: 1.45rem;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.ajg-light-pillar-content p {
    margin: 0;
    color: var(--ajg-light-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}


/* =========================================================
   ECOSYSTEM
   ========================================================= */

.ajg-light-ecosystem {
    padding: 115px 0;
    background: radial-gradient( circle at 100% 0%, rgba(79, 122, 85, 0.10), transparent 34% ), var(--ajg-light-green-pale);
}

.ajg-light-ecosystem-heading {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 55px;
}

    .ajg-light-ecosystem-heading h2 {
        max-width: 720px;
        margin: 0;
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        line-height: 1.02;
        letter-spacing: -0.052em;
    }

    .ajg-light-ecosystem-heading > p {
        margin: 0;
        color: #657168;
        line-height: 1.8;
    }


/* MODULE GRID */

.ajg-light-module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.ajg-light-module {
    min-height: 295px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid #dce4dd;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.87);
    color: var(--ajg-light-text);
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(20, 50, 29, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .ajg-light-module:hover {
        transform: translateY(-4px);
        border-color: rgba(24, 63, 42, 0.34);
        color: var(--ajg-light-text);
        box-shadow: 0 22px 45px rgba(20, 50, 29, 0.08);
    }

    .ajg-light-module > span {
        position: absolute;
        top: 23px;
        right: 24px;
        color: #a1aaa3;
        font-size: 0.64rem;
    }

    .ajg-light-module > small {
        color: var(--ajg-light-green);
        font-size: 0.59rem;
        font-weight: 700;
        letter-spacing: 0.14em;
    }

    .ajg-light-module h3 {
        margin: 63px 0 13px;
        font-size: 1.4rem;
        letter-spacing: -0.035em;
    }

    .ajg-light-module p {
        margin: 0;
        color: #6b756d;
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .ajg-light-module > strong {
        margin-top: auto;
        padding-top: 28px;
        color: var(--ajg-light-green);
        font-size: 0.75rem;
    }

    .ajg-light-module.featured {
        border-color: var(--ajg-light-green);
        background: var(--ajg-light-green);
        color: white;
    }

        .ajg-light-module.featured > span,
        .ajg-light-module.featured > small,
        .ajg-light-module.featured > strong {
            color: #c8e2ce;
        }

        .ajg-light-module.featured p {
            color: rgba(255, 255, 255, 0.70);
        }

        .ajg-light-module.featured:hover {
            color: white;
            background: var(--ajg-light-green-dark);
        }


/* =========================================================
   AJG PLATFORM — DARK GREEN ACCENT SECTION
   ========================================================= */

.ajg-light-platform {
    padding: 115px 0;
    background: radial-gradient( circle at 85% 25%, rgba(90, 148, 102, 0.22), transparent 32% ), var(--ajg-light-green-dark);
    color: white;
}

.ajg-light-platform-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.ajg-light-platform-copy h2 {
    max-width: 680px;
    margin: 0;
    color: white;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.03;
    letter-spacing: -0.052em;
}

.ajg-light-platform-copy p {
    max-width: 650px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
}

.ajg-light-platform-link {
    display: inline-block;
    margin-top: 27px;
    color: white;
    font-weight: 700;
    text-decoration: none;
}

    .ajg-light-platform-link:hover {
        color: #b8d9c0;
    }


/* PLATFORM MAP */

.ajg-light-platform-map {
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.ajg-light-platform-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

    .ajg-light-platform-map-head small,
    .ajg-light-platform-map-head strong {
        display: block;
    }

    .ajg-light-platform-map-head small {
        margin-bottom: 4px;
        color: rgba(255, 255, 255, 0.43);
        font-size: 0.58rem;
        letter-spacing: 0.13em;
    }

    .ajg-light-platform-map-head strong {
        font-size: 0.95rem;
    }

    .ajg-light-platform-map-head > span {
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(120, 201, 139, 0.13);
        color: #a8ddb3;
        font-size: 0.57rem;
        font-weight: 700;
        letter-spacing: 0.1em;
    }

.ajg-light-platform-node {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

    .ajg-light-platform-node small,
    .ajg-light-platform-node strong,
    .ajg-light-platform-node span {
        display: block;
    }

    .ajg-light-platform-node small {
        margin-bottom: 6px;
        color: rgba(255, 255, 255, 0.43);
        font-size: 0.54rem;
        letter-spacing: 0.13em;
    }

    .ajg-light-platform-node strong {
        font-size: 0.95rem;
    }

    .ajg-light-platform-node span {
        margin-top: 5px;
        color: rgba(255, 255, 255, 0.53);
        font-size: 0.71rem;
    }

    .ajg-light-platform-node.core {
        border-color: rgba(150, 214, 165, 0.27);
        background: rgba(255, 255, 255, 0.10);
    }

.ajg-light-platform-line {
    width: 1px;
    height: 27px;
    margin: 0 auto;
    background: linear-gradient( #79ad85, rgba(255, 255, 255, 0.12) );
}


/* =========================================================
   CLIENT WORK
   ========================================================= */

.ajg-light-client-work {
    padding: 115px 0;
    background: white;
}

.ajg-light-case {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 65px;
    padding: 52px;
    border: 1px solid var(--ajg-light-border);
    border-radius: 28px;
    background: radial-gradient( circle at 100% 0%, rgba(79, 122, 85, 0.08), transparent 36% ), #fafbf9;
    box-shadow: 0 18px 48px rgba(15, 35, 20, 0.05);
}

.ajg-light-live {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ajg-light-green);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

    .ajg-light-live i {
        width: 7px;
        height: 7px;
        display: inline-block;
        border-radius: 50%;
        background: #55a768;
        box-shadow: 0 0 0 5px rgba(85, 167, 104, 0.12);
    }

.ajg-light-case-copy h3 {
    margin: 18px 0 16px;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    letter-spacing: -0.045em;
}

.ajg-light-case-copy p {
    max-width: 620px;
    margin: 0;
    color: var(--ajg-light-muted);
    line-height: 1.75;
}

.ajg-light-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
}

    .ajg-light-stack span {
        padding: 6px 10px;
        border: 1px solid #dadeD9;
        border-radius: 999px;
        background: white;
        color: #68716a;
        font-size: 0.67rem;
    }

.ajg-light-case-copy > a {
    display: inline-block;
    margin-top: 28px;
    color: var(--ajg-light-green);
    font-weight: 700;
    text-decoration: none;
}


/* CASE MAP */

.ajg-light-case-map {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ajg-light-case-layer {
    padding: 19px 21px;
    border: 1px solid #dce1dc;
    border-radius: 14px;
    background: white;
}

    .ajg-light-case-layer small,
    .ajg-light-case-layer strong {
        display: block;
    }

    .ajg-light-case-layer small {
        margin-bottom: 5px;
        color: #909991;
        font-size: 0.55rem;
        letter-spacing: 0.13em;
    }

    .ajg-light-case-layer strong {
        font-size: 0.92rem;
    }

    .ajg-light-case-layer.active {
        border-color: #b7cab9;
        background: var(--ajg-light-green-soft);
    }

.ajg-light-case-arrow {
    display: block;
    padding: 7px 0;
    color: #94a699;
    text-align: center;
}


/* =========================================================
   PROCESS
   ========================================================= */

.ajg-light-process {
    padding: 115px 0;
    background: var(--ajg-light-gray);
}

.ajg-light-process-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

    .ajg-light-process-heading h2 {
        margin: 0;
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        line-height: 1.03;
        letter-spacing: -0.052em;
    }

    .ajg-light-process-heading > p {
        max-width: 600px;
        margin: 20px 0 0;
        color: var(--ajg-light-muted);
    }

.ajg-light-process-row {
    display: flex;
    align-items: flex-start;
}

    .ajg-light-process-row > div {
        width: 170px;
        flex: 0 0 170px;
    }

        .ajg-light-process-row > div > span {
            display: block;
            margin-bottom: 18px;
            color: #929892;
            font-size: 0.65rem;
        }

        .ajg-light-process-row > div > strong {
            font-size: 1.03rem;
        }

        .ajg-light-process-row > div > p {
            margin: 8px 0 0;
            color: #737a74;
            font-size: 0.8rem;
            line-height: 1.55;
        }

    .ajg-light-process-row > i {
        height: 1px;
        flex: 1;
        margin: 13px 16px 0;
        background: #d0d3cf;
    }


/* =========================================================
   FINAL CTA
   ========================================================= */

.ajg-light-final {
    padding: 110px 0;
    background: radial-gradient( circle at 85% 20%, rgba(90, 148, 102, 0.22), transparent 32% ), var(--ajg-light-green-dark);
    color: white;
}

.ajg-light-final-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;
    align-items: end;
}

.ajg-light-final h2 {
    max-width: 880px;
    margin: 0;
    color: white;
    font-size: clamp(2.8rem, 5vw, 5.1rem);
    line-height: 1.03;
    letter-spacing: -0.052em;
}

.ajg-light-final p {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.7;
}

.ajg-light-final-action {
    display: flex;
    justify-content: flex-end;
}

.ajg-light-button.final {
    background: white;
    color: var(--ajg-light-green);
    white-space: nowrap;
}

    .ajg-light-button.final:hover {
        background: #eef3ef;
        color: var(--ajg-light-green);
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .ajg-light-hero-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 42px;
    }

    .ajg-light-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ajg-light-platform-grid,
    .ajg-light-case {
        gap: 45px;
    }

    .ajg-light-final-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ajg-light-final-action {
        justify-content: flex-start;
    }
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 850px) {

    body:has(.ajg-light-home) .mobile-menu {
        background: white;
        border-color: var(--ajg-light-border);
    }

        body:has(.ajg-light-home) .mobile-menu a {
            color: var(--ajg-light-text);
        }


    .ajg-light-hero {
        padding: 70px 0 80px;
    }

    .ajg-light-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ajg-light-hero-copy {
        max-width: 720px;
    }

    .ajg-light-hero h1 {
        font-size: clamp(4.2rem, 14vw, 6.2rem);
    }

    .ajg-light-hero-image-frame {
        min-height: 430px;
    }


    .ajg-light-pillar-grid {
        grid-template-columns: 1fr;
    }

    .ajg-light-pillar-image {
        height: 360px;
    }


    .ajg-light-ecosystem-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .ajg-light-platform-grid,
    .ajg-light-case {
        grid-template-columns: 1fr;
    }


    .ajg-light-process-row {
        flex-direction: column;
        gap: 22px;
    }

        .ajg-light-process-row > div {
            width: 100%;
            flex: auto;
        }

        .ajg-light-process-row > i {
            width: 1px;
            height: 25px;
            flex: none;
            margin: -7px 0 -7px 11px;
        }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 600px) {

    .ajg-light-hero {
        padding-top: 55px;
        padding-bottom: 70px;
    }

        .ajg-light-hero h1 {
            font-size: clamp(3.8rem, 18vw, 5.3rem);
        }

    .ajg-light-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ajg-light-button {
        width: 100%;
    }

    .ajg-light-hero-image-frame {
        min-height: 330px;
        border-radius: 22px;
    }

    .ajg-light-image-badge {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }


    .ajg-light-positioning,
    .ajg-light-pillars,
    .ajg-light-ecosystem,
    .ajg-light-platform,
    .ajg-light-client-work,
    .ajg-light-process,
    .ajg-light-final {
        padding-top: 78px;
        padding-bottom: 78px;
    }


    .ajg-light-pillar-image {
        height: 280px;
    }

    .ajg-light-pillar-content {
        min-height: auto;
        grid-template-columns: 35px 1fr;
        padding: 23px;
    }


    .ajg-light-module-grid {
        grid-template-columns: 1fr;
    }

    .ajg-light-module {
        min-height: 250px;
    }


    .ajg-light-platform-map {
        padding: 20px;
    }


    .ajg-light-case {
        padding: 27px 21px;
    }


    .ajg-light-final h2 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ajg-light-pillar-card,
    .ajg-light-pillar-image img,
    .ajg-light-hero-image-frame > img,
    .ajg-light-module,
    .ajg-light-button {
        transition: none !important;
    }
}