@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-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;
}