:root {
    --bg: #f4efe7;
    --surface: rgba(255, 252, 247, 0.82);
    --surface-strong: #fffaf2;
    --text: #1f2933;
    --muted: #5c6773;
    --line: rgba(31, 41, 51, 0.08);
    --brand: #2eb562;
    --brand-dark: #38886d;
    --accent: #12343b;
    --shadow: 0 24px 60px rgba(18, 52, 59, 0.12);
    --section-gap: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: #888;
    background: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Manrope', serif;
    color: #333;
}

.brand strong {
    color: #4e5a4f;
    font-size: 1.1rem;
}

.brand small {
    color: #9BAE8E;
}


a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    /*width: min(1000px, calc(100% - 32px));*/
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 32px;
    background: #fff;
    border: 1px solid rgba(207, 212, 217, 0.5);
}


img {
    max-width: 100%;
    height: auto;
}

.site-header,
.site-footer,
.content-card,
.service-card,
.stat-card,
.hero-panel,
.reference-card,
.team-card {
    backdrop-filter: blur(18px);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 16px;
    border: 1px solid rgba(207, 212, 217, 0.5);
    border-radius: 0;
    background: #fdfaf5;
    box-shadow: none;
}

.site-header .site-nav a {
    color: #575757;
    padding: 8px 12px;
    border-radius: 8px;
}

.site-header .site-nav a:hover,
.site-header .site-nav a.is-active {
    background: #e9ecef;
    color: #444;
}

.site-content
{
    background: #f8f9fa;
    margin: 0 auto;
    max-width: 1180px;
    padding: 36px 10px;
    opacity: 0.8;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand span:last-child {
    min-width: 0;
}

.brand strong,
.site-footer strong {
    display: block;
    font-size: 1rem;
}

.brand small {
    color: var(--muted);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(18, 52, 59, 0.1);
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.background
{
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat ;
    background-size: 100% auto;
}

.career-background
{
    background-image: url("../images/career_background.jpg");
    background-repeat: no-repeat ;
    background-size: 100% auto;
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.application {
    margin-top: 18px;
}

.hero,
.content-grid,
.stats-grid,
.services-grid,
.contact-grid,
.timeline,
.team-grid,
.testimonial-strip {
    display: grid;
    gap: var(--section-gap);
}

.hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    align-items: stretch;
}

.hero-copy {
    padding: 20px 0;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(15, 60, 69, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
}

.eyebrow {
    margin: 0 0 10px;
    letter-spacing: 0.16em;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Source Serif 4', serif;
    line-height: 1.05;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    max-width: 12ch;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card h3 {
    word-wrap: break-word; 
    overflow-wrap: break-word; 
}

.lead,
.content-card p,
.service-card p,
.hero-panel li,
.site-footer p,
.site-footer span,
.contact-list,
.reference-card p,
.team-card p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
}

.button-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    box-shadow: 0 14px 34px rgba(181, 80, 46, 0.25);
}

.button-secondary {
    border: 1px solid rgba(18, 52, 59, 0.14);
    background: rgba(255, 255, 255, 0.42);
}

.content-middle {
    display: grid;
    gap: 18px;
    max-width: 480px;
    margin: auto;
}

.hero-panel,
.content-card,
.service-card,
.stat-card,
.reference-card,
.team-card {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-panel ul,
.contact-list {
    margin: 0;
    padding-left: 18px;
}

.hero-panel-metric {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.hero-panel-metric strong {
    display: block;
    margin-bottom: 8px;
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0 12px;
}

.stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2.5rem;
    font-family: 'Source Serif 4', serif;
}

.content-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.team-grid,
.testimonial-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.accent-card {
    background: linear-gradient(180deg, rgba(18, 52, 59, 0.92), rgba(15, 34, 39, 0.96));
    color: #f2f4f5;
}

.accent-card p,
.accent-card h2,
.accent-card .eyebrow {
    color: inherit;
}



.page-intro {
    max-width: 760px;
}

.timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.wide-card {
    margin-top: 24px;
}

.reference-sector,
.team-role {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(198, 90, 45, 0.1);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-list {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-grid-extended {
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form span {
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    font: inherit;
    color: var(--text);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-top: 1px solid rgba(207, 212, 217, 0.8);
    background: #f8f9fa;
    color: #686868;
}

.site-footer a {
    color: #575757;
    font-weight: 700;
}

.table-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #ccc;
}

.table-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.table-cell {
    flex: 1; 
    padding: 10px;
    text-align: left;
}

.table-header .table-cell 
{
    font-weight: bold;
    background-color: #f4f4f4;
}

.text-start
{
    text-align: left;
}

@media (max-width: 1080px) {
    .hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    }

    .services-grid,
    .team-grid,
    .testimonial-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
    }

    .hero,
    .content-grid,
    .contact-grid,
    .timeline,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid,
    .testimonial-strip,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .site-header,
    .site-footer {
        align-items: flex-start;
    }

    h1 {
        max-width: 14ch;
        font-size: clamp(2.4rem, 8vw, 4rem);
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 12px;
    }

    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: flex;
        width: 100%;
        margin-left: 0;
        padding-top: 6px;
        flex-direction: column;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-8px);
    }

    .site-nav.is-open {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.42);
    }

    .site-header,
    .hero-panel,
    .content-card,
    .service-card,
    .stat-card,
    .site-footer {
        padding: 20px;
        border-radius: 22px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.1rem, 11vw, 3rem);
    }

    h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .hero-copy {
        padding: 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .testimonial-strip {
        margin-top: 20px;
    }

    main {
        padding: 28px 0;
    }

    .brand {
        width: 100%;
    }

    .brand strong,
    .brand small {
        overflow-wrap: anywhere;
    }

    .text-start
    {
        max-width: 45px;
    }
}