:root {

    --bg: #f5f7fb;

    --surface: #ffffff;

    --surface-2: #f0f4f9;

    --text: #0f172a;

    --muted: #5b6472;

    --line: #d9e2ec;

    --primary: #b7238a;

    --primary-dark: #8f1c6d;

    --accent: #eeeaef00;

    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);

    --radius: 8px;

    --radius-sm: 14px;

    --container: 1180px;

}



*,

*::before,

*::after {

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    margin: 0;

    font-family: "DM Sans", sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.6;

}







img {

    max-width: 100%;

    display: block;

}



a {

    color: inherit;

    text-decoration: none;

}



ul {

    margin: 0;

    padding-left: 1.1rem;

}



.container {

    width: min(var(--container), calc(100% - 7rem));

    margin: 0 auto;

}



.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(245, 247, 251, 0.82);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(217, 226, 236, 0.7);

}



.nav-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    min-height: 78px;

}



.logo {

    display: flex;

    flex-direction: column;

    line-height: 1;

}



.logo-mark {

    font-weight: 800;

    font-size: 1.1rem;

    letter-spacing: -0.03em;

    color: var(--primary);

}



.logo-text {

    font-size: 0.85rem;

    color: var(--muted);

}



.main-nav {

    display: flex;

    align-items: center;

    gap: 1.4rem;

    flex-wrap: wrap;

    justify-content: center;

}



.mobile-menu-toggle {

    display: none;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    width: 44px;

    height: 44px;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    gap: 6px;

    z-index: 1001;

}



.hamburger-line {

    display: block;

    width: 28px;

    height: 2px;

    background: var(--text);

    border-radius: 2px;

    transition: transform 0.3s ease, opacity 0.3s ease;

}



.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {

    transform: rotate(45deg) translate(6px, 6px);

}



.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {

    opacity: 0;

}



.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {

    transform: rotate(-45deg) translate(6px, -6px);

}



.mobile-nav-dropdown {

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    background: rgba(245, 247, 251, 0.98);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(217, 226, 236, 0.7);

    padding: 1rem 0;

    display: none;

    flex-direction: column;

    gap: 0.5rem;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);

    z-index: 999;

}



.mobile-nav-dropdown.open {

    display: flex;

}



.mobile-nav-dropdown a {

    padding: 0.75rem 2rem;

    color: var(--text);

    font-weight: 500;

    transition: background 0.2s ease;

}



.mobile-nav-dropdown a:hover {

    background: var(--surface-2);

}



.mobile-dropdown-actions {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

    padding: 1rem 2rem;

    border-top: 1px solid var(--line);

    margin-top: 0.5rem;

}



.mobile-dropdown-actions .lang-toggle {

    justify-content: center;

}



.main-nav a {

    font-size: 0.95rem;

    color: var(--muted);

    transition: color 0.2s ease;

}



.main-nav a:hover {

    color: var(--text);

}



.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0.95rem 1.35rem;

    border: none;

    border-radius: var(--radius-sm);

    font-weight: 500;

    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;

}



.btn:hover {

    transform: translateY(-1px);

}



.btn-small {

    padding: 0.75rem 1rem;

    font-size: 0.95rem;

}



.btn-primary {

    background: var(--primary);

    color: #fff;

}



.btn-primary:hover {

    background: var(--primary-dark);

}



.btn-secondary {

    background: transparent;

    border: 1px solid var(--line);

    color: var(--text);

}

.btn-tertiary {

    background: transparent;

    border: 1px solid var(--line);

    color: var(--text);

}

.full-width {

    width: 100%;

}



.hero {

    padding: 4rem 0 4rem;

    background:

        radial-gradient(circle at top left, rgba(216, 232, 245, 0.95), transparent 35%),

        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);

}



.hero-copy {

    max-width: 66%;

}



.eyebrow,

.section-kicker,

.card-label {

    text-transform: uppercase;

    letter-spacing: 0.14em;

    font-size: 0.78rem;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 1rem;

}



.kicker-container {

    position: relative;

}



.hero h1 {

    margin: 0 0 2.2rem;

    font-size: clamp(3rem, 4.5vw, 6rem);

    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -0.05em;



}



.hero-actions {

    display: flex;

    gap: 0.9rem;

    flex-wrap: wrap;



}



.section {

    padding: 5rem 0;

}

#mission {

    padding: 10rem 0;

}

.section-light {

    background: var(--surface);

}



.section-heading {

    display: flex;

    flex-direction: column;

    max-width: 800px;

    margin: 0 auto 8rem;

    text-align: left;

}

.expertise-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.expertise-layout .section-heading {
    max-width: none;
    margin: 0 0 4rem 0;
}



.section-heading.left {

    margin-left: 0;

    margin-right: 0;

    text-align: left;

}



.services-grid h2 {

    grid-column: span 3;

    text-align: center;

    font-weight: 200;

    margin: 0 0 1rem;

    font-size: clamp(1.4rem, 2.8vw, 3rem);

    line-height: 1.2;

    letter-spacing: -0.035em;

}



.section-heading h2 {

    margin: 0 0 1rem;

    font-size: clamp(2rem, 3.8vw, 3rem);

    line-height: 1.2;

    letter-spacing: -0.035em;

}



.section-intro {

    color: var(--muted);

    font-size: 1.1rem;

    margin: 0;

}



.info-card,

.service-card,

.consultant-card,

.detail-card {

    background: var(--surface);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}



.info-card {

    padding: 1.6rem;

}



.info-card h3 {

    margin-top: 0;

    margin-bottom: 0.6rem;

    font-size: 1.15rem;

}



.service-card h3 {

    margin-top: 0;

    margin-bottom: 0.6rem;

    font-size: 1.9rem;

    line-height: 1.2;

}



.info-card p {

    margin: 0;

    color: var(--muted);

}



.services-grid {

    display: grid;

    grid-template-columns: repeat(1, 1fr);

    grid-auto-rows: auto;

    gap: 1.3rem;


}



.service-card {

    padding: 1.8rem;

    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);

    cursor: pointer;

    position: relative;

    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

    display: flex;

    flex-direction: column;

}






.service-card:hover,

.service-card:focus-within {

    transform: translateY(-4px);

    border-color: rgba(170, 13, 113, 0.22);

    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);

}



.card-action {

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    margin-top: auto;

    font-weight: 700;

    color: var(--primary);

}



.card-action::after {

    content: "›";

}



.header-actions {

    display: flex;

    gap: 1rem;

    align-items: center;

}



.logo {

    display: flex;

    align-items: center;

    gap: 0.9rem;

}



.logo-img {

    max-height: 42px;

    width: auto;

}



.lang-toggle {

    display: inline-flex;

    gap: 0rem;



}



.lang-switch {

    min-width: 44px;

    border: none;

    color: var(--text);
    padding: 1rem 0rem;
    background: transparent;

}



.lang-switch.active {

    background: transparent;

    color: var(--primary);

    border: none;

}



.expertise-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 1.5rem;

    z-index: 2000;

}



.expertise-modal.open {

    display: flex;

}



@keyframes slideInUp {

    from {
        opacity: 0;
        transform: translateY(34px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}



/* Normal open: animate expertise panel in */

.expertise-modal.open .expertise-modal-panel {

    animation: slideInUp 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;

}



/* Split-layout rules live in the consolidated grid section at end of file */



.expertise-modal-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(15, 23, 42, 0.55);

    backdrop-filter: blur(2px);

}



.expertise-modal-panel {

    position: relative;

    width: min(760px, calc(100% - 2rem));

    max-height: calc(100vh - 3rem);

    overflow: auto;

    background: var(--surface);

    border-radius: 28px;

    padding: 2rem;

    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);

    z-index: 1;

}



.modal-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 50%;

    background: rgba(15, 23, 42, 0.07);

    color: var(--text);

    font-size: 1.5rem;

    cursor: pointer;

    display: grid;

    place-items: center;

}



.modal-close:hover {

    background: rgba(15, 23, 42, 0.12);

}



.factsheet-back-button {

    left: 1rem;

    right: auto;

    width: auto;

    height: auto;

    padding: 0.2rem 0.3rem;

    font-size: 1.02rem;

    font-weight: 500;

    border-radius: 0;

    background: transparent;

    border: none;

    box-shadow: none;

    color: var(--primary);

    display: inline-flex;

    align-items: center;

    gap: 0.2rem;

    z-index: 2;

}



.factsheet-back-button:hover,

.factsheet-back-button:focus-visible {

    background: transparent;

    color: var(--primary);

    text-decoration: underline;

}



.modal-content {

    display: grid;

    gap: 1.2rem;

}



.modal-kicker {

    letter-spacing: 0.08em;

    font-size: 0.78rem;

}



#expertise-modal-title {

    margin: 0;

    font-size: clamp(1.5rem, 2.1vw, 2rem);

    line-height: 1.2;

}



.modal-description {

    margin: 0;

    color: var(--muted);

    font-size: 1.03rem;

    line-height: 1.7;

}



.modal-projects-heading {

    margin: 1rem 0 0.6rem;

    font-weight: 700;

    font-size: 1.03rem;

    color: var(--text);

}



.modal-projects ul {

    list-style: none;

    margin: 0;

    padding: 0;

}



.modal-projects li+li {

    margin-top: 0;

}



.modal-projects li {

    border-bottom: 1px solid rgba(15, 23, 42, 0.1);

}



.modal-projects a,

.modal-projects .factsheet-link {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 0.8rem;

    color: var(--primary);

    text-decoration: none;

    background: transparent;

    border: none;

    border-radius: 0;

    padding: 0.9rem 0.15rem;

    cursor: pointer;

    font: inherit;

    font-weight: 600;

    line-height: 1.35;

    transition: color 0.22s ease, transform 0.22s ease;

}



.modal-projects .factsheet-link::after {

    content: "\203A";

    font-size: 0.95rem;

    font-weight: 600;

    color: color-mix(in srgb, var(--primary) 70%, black 30%);

}



.modal-projects a:hover,

.modal-projects .factsheet-link:hover {

    color: color-mix(in srgb, var(--primary) 80%, black 20%);

    transform: translateY(-1px);

    text-decoration: none;

}



.modal-projects .factsheet-link:focus-visible {

    outline: 2px solid color-mix(in srgb, var(--primary) 45%, white 55%);

    outline-offset: 2px;

}



.modal-note {

    color: color-mix(in srgb, var(--muted) 86%, var(--text) 14%);

    font-size: 0.92rem;

    line-height: 1.55;

    margin-top: 1.1rem;

    padding: 0.85rem 0.9rem;

    background: rgba(15, 23, 42, 0.04);

    border-radius: 10px;

}



.modal-note:empty {

    display: none;

}



/* Fact Sheet Lightbox */

.factsheet-modal {

    position: fixed;

    inset: 0;

    display: none;

    z-index: 2001;

}



.factsheet-modal.open {

    display: flex;

    align-items: center;

    justify-content: center;

}



/* Normal open: animate factsheet panel in */

.factsheet-modal.open .factsheet-modal-panel {

    animation: slideInUp 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;

}



/* Split-layout rules live in the consolidated grid section at end of file */



.factsheet-modal-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(15, 23, 42, 0.75);

    backdrop-filter: blur(4px);

}



.factsheet-modal-panel {

    position: relative;

    width: 90vw;

    height: 90vh;

    max-width: 1000px;

    overflow: auto;

    background: var(--surface);

    border-radius: 28px;

    padding: 2rem;

    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.3);

    z-index: 1;

}



.factsheet-modal-content {

    display: grid;

    gap: 1.5rem;

}



.factsheet-language-toggle {

    display: inline-flex;

    gap: 0.35rem;

    justify-self: end;

    padding: 0.25rem;

    border: 1px solid var(--line);

    border-radius: 999px;

    background: color-mix(in srgb, var(--surface) 86%, #ffffff 14%);

}



.factsheet-lang-btn {

    border: none;

    border-radius: 999px;

    padding: 0.26rem 0.65rem;

    font-size: 0.76rem;

    font-weight: 600;

    letter-spacing: 0.02em;

    color: var(--muted);

    background: transparent;

    cursor: pointer;

    transition: background-color 0.2s ease, color 0.2s ease;

}



.factsheet-lang-btn:hover,

.factsheet-lang-btn:focus-visible {

    color: var(--text);

    background: color-mix(in srgb, var(--line) 42%, transparent 58%);

    outline: none;

}



.factsheet-lang-btn.active {

    color: var(--primary);

    background: color-mix(in srgb, var(--primary) 14%, white 86%);

}



.factsheet-language-content {

    width: 100%;

}



.consultants-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1.4rem;

}



.consultant-card {

    padding: 1.5rem;

    display: grid;

    grid-template-columns: 104px 1fr;

    gap: 1rem;

    align-items: start;

    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    cursor: pointer;

    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;

}



.consultant-card:hover,

.consultant-card:focus-visible {

    transform: translateY(-3px);

    border-color: rgba(170, 13, 113, 0.24);

    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.11);

    outline: none;

}



.consultant-avatar {

    width: 104px;

    height: 104px;

    border-radius: 24px;

    overflow: hidden;

    background: #e9eff6;

    display: grid;

    place-items: center;

    border: 1px solid var(--line);

}



.consultant-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;



}



.consultant-content {

    display: grid;

    gap: 0.6rem;

}



.consultant-content h3 {

    margin: 0;

    font-size: 1.26rem;

    line-height: 1.2;

}



.consultant-role {

    margin: 0;

    color: var(--primary);

    font-weight: 600;

}



.consultant-summary {

    margin: 0;

    color: var(--muted);

    line-height: 1.55;

}



.meta-list {

    margin: 0.25rem 0 0;

    padding-left: 1rem;

    color: var(--muted);

}



.meta-list li+li {

    margin-top: 0.25rem;

}



.consultant-action {

    margin-top: 0.3rem;

    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

    font-weight: 700;

    color: var(--primary);

}



.consultant-action::after {

    content: "›";

}



.consultant-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 1.5rem;

    z-index: 2100;

}



.consultant-modal.open {

    display: flex;

}



.consultant-modal-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(15, 23, 42, 0.55);

    backdrop-filter: blur(2px);

}



.consultant-modal-panel {

    position: relative;

    width: min(720px, calc(100% - 2rem));

    max-height: calc(100vh - 3rem);

    overflow: auto;

    background: var(--surface);

    border-radius: 24px;

    padding: 2rem;

    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.2);

    z-index: 1;

    animation: slideInUp 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;

}



.consultant-modal-content {

    display: grid;

    gap: 1rem;

}



.consultant-modal-bottom-row {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1rem;

}



.consultant-modal-header {

    display: grid;

    grid-template-columns: 120px minmax(0, 1fr);

    gap: 0.9rem;

    align-items: center;

}



.consultant-modal-photo {

    width: 120px;

    height: 120px;

    border-radius: 22px;

    object-fit: cover;

    border: 1px solid var(--line);

    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);

}



.consultant-modal-header-text {

    display: grid;

    gap: 0.35rem;

}



.consultant-modal-header h3 {

    margin: 0;

    font-size: clamp(1.5rem, 2.2vw, 2rem);

    line-height: 1.2;

}



.consultant-modal-role {

    margin: 0;

    color: var(--primary);

    font-weight: 600;

}



.consultant-modal-lead {

    margin: 0;

    color: var(--muted);

    line-height: 1.65;

}



.consultant-modal-contact-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 0.55rem;

    border-radius: 14px;

    padding: 0.9rem 1rem;

    min-height: 100%;

    background: var(--primary);

    color: #fff;

    text-decoration: none;

    border: 1px solid transparent;

    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;

}



.consultant-modal-contact-card:hover,

.consultant-modal-contact-card:focus-visible {

    transform: translateY(-1px);

    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);

    background: var(--primary-dark);

}



.consultant-modal-contact-card:focus-visible {

    outline: 2px solid rgba(255, 255, 255, 0.75);

    outline-offset: 2px;

}



.consultant-modal-contact-icon {

    width: 100px;

    height: 100px;

    object-fit: contain;

    line-height: 1;

}



.consultant-modal-contact-cta {

    font-weight: 700;

    text-align: center;

    color: #fff;

}



.consultant-modal-columns {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1rem;

}



.consultant-modal-block {

    border: 1px solid var(--line);

    border-radius: 14px;

    padding: 0.95rem 1rem;

    background: rgba(15, 23, 42, 0.02);

}



.consultant-modal-block h4 {

    margin: 0 0 0.45rem;

    font-size: 0.86rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--primary);

}



.consultant-modal-block p {

    margin: 0;

    color: var(--muted);

    line-height: 1.55;

}



.consultant-modal-expertise {

    margin: 0;

    padding-left: 1rem;

    color: var(--muted);

}



.consultant-modal-expertise li+li {

    margin-top: 0.3rem;

}



.avatar-placeholder {

    width: 120px;

    height: 120px;

    border-radius: 24px;

    background: linear-gradient(135deg, var(--accent), #eef4fa);

    display: grid;

    place-items: center;

    font-weight: 700;

    border: 1px solid var(--line);

}



.consultant-content h3 {

    margin: 0 0 0.35rem;

    font-size: 1.3rem;

}



.consultant-role {

    margin: 0 0 0.8rem;

    color: var(--primary);

    font-weight: 600;

}



.consultant-content p {

    margin-top: 0;

    color: var(--muted);

}



.meta-list {

    color: var(--muted);

}



#references .container {}



.logo-marquee {

    overflow: hidden;

    padding: 20px 0;

    position: relative;

    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);

    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);

}



.logo-track {

    display: flex;

    align-items: center;

    gap: 2.5rem;

    width: max-content;

    animation: logo-marquee 45s linear infinite;

}



.logo-marquee:hover .logo-track {

    animation-play-state: paused;

}



@keyframes logo-marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}



@media (prefers-reduced-motion: reduce) {

    .logo-track {
        animation: none;
    }

}



/* 2. Individual Slide Alignment */

.logo-item {

    display: flex !important;

    justify-content: center;

    align-items: center;

    min-height: 120px;

    padding: 0 20px;

    outline: none;

}



/* 3. Image Styling & "Drag-Fix" */

.logo-item img {

    max-width: 160px;

    max-height: 150px;

    width: auto;

    height: auto;

    margin: 0 auto;

    transition: all 0.3s ease;



    /* Prevents the browser from trying to "save image" while you drag */

    pointer-events: none;

    user-select: none;

    -webkit-user-drag: none;



    /* Optional: If you want them slightly faded until hover */

    opacity: 1;



}



.logo-item img:hover {

    filter: grayscale(0%);

    opacity: 1;

}



#contact {

    margin-top: 5rem;

}



.contact-grid {

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 1.5rem;

    align-items: start;

}



.contact-copy h2 {

    margin-top: 0;

    margin-bottom: 1rem;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.1;

    letter-spacing: -0.035em;

}



.contact-copy p {

    color: var(--muted);

    max-width: 52ch;

}



.contact-details {

    display: grid;

    gap: 1rem;

    margin-top: 1.8rem;

}



.detail-card {

    padding: 1.1rem 1.2rem;

}



.detail-label {

    display: block;

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: var(--primary);

    margin-bottom: 0.35rem;

}



.contact-form {

    padding: 1.6rem;

    background: var(--surface);

    border: 1px solid var(--line);

    border-radius: calc(var(--radius) + 4px);

    box-shadow: var(--shadow);

}

.form-success,
.form-error {

    display: none;

}

.form-success[data-fs-active] {

    display: block;

    padding: 1.6rem;

    background: color-mix(in srgb, var(--accent) 10%, var(--surface));

    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);

    border-radius: calc(var(--radius) + 4px);

    color: var(--text);

    font-weight: 500;

    text-align: center;

    margin-bottom: 1rem;

}

.form-error[data-fs-active] {

    display: block;

    padding: 0.8rem 1rem;

    background: color-mix(in srgb, #e55 10%, var(--surface));

    border: 1px solid color-mix(in srgb, #e55 40%, transparent);

    border-radius: var(--radius);

    color: #c00;

    font-size: 0.9rem;

    margin-bottom: 1rem;

}

.field-error {

    font-size: 0.82rem;

    color: #c00;

    margin-top: 0.25rem;

}



.form-row {

    display: flex;

    flex-direction: column;

    margin-bottom: 1rem;

}



.form-row label {

    font-size: 0.95rem;

    font-weight: 600;

    margin-bottom: 0.45rem;

}



.form-row input,

.form-row textarea {

    width: 100%;

    border: 1px solid var(--line);

    border-radius: 16px;

    background: #fff;

    padding: 1rem 1rem;

    font: inherit;

    color: var(--text);

    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;

}



.form-row input:focus,

.form-row textarea:focus {

    border-color: rgba(15, 61, 98, 0.45);

    box-shadow: 0 0 0 4px rgba(15, 61, 98, 0.08);

}



.toast {

    position: fixed;

    bottom: 2rem;

    left: 50%;

    transform: translateX(-50%) translateY(calc(100% + 2rem));

    display: flex;

    align-items: center;

    gap: 0.6rem;

    padding: 0.85rem 1.4rem;

    background: var(--primary);

    color: #fff;

    font-weight: 600;

    font-size: 0.95rem;

    border-radius: 999px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    z-index: 9999;

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;

    opacity: 0;

    pointer-events: none;

}

.toast--visible {

    transform: translateX(-50%) translateY(0);

    opacity: 1;

    pointer-events: auto;

}

.toast-error {

    position: fixed;

    bottom: 2rem;

    left: 50%;

    transform: translateX(-50%) translateY(calc(100% + 2rem));

    display: flex;

    align-items: center;

    gap: 0.6rem;

    padding: 0.85rem 1.4rem;

    background: #c00;

    color: #fff;

    font-weight: 600;

    font-size: 0.95rem;

    border-radius: 999px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    z-index: 9999;

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;

    opacity: 0;

    pointer-events: none;

}

.toast-error--visible {

    transform: translateX(-50%) translateY(0);

    opacity: 1;

    pointer-events: auto;

}



.site-footer {

    padding: 1.4rem 0 2rem;

    background: var(--bg);

    border-top: 1px solid rgba(217, 226, 236, 0.7);

}



.footer-row {

    display: flex;

    justify-content: space-between;

    gap: 1rem;

    flex-wrap: wrap;

    color: var(--muted);

    font-size: 0.95rem;

}



.footer-links {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}




/* ============================================
   MEDIA QUERIES - Best Practice Breakpoints
   ============================================ */

/* Small phones (up to 375px) */
@media (max-width: 375px) {
    :root {
        --container: 100%
    }

    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 4rem);
    }

    .eyebrow {
        font-size: clamp(.5rem, .75rem, 1rem);
    }

    .hero-copy {
        max-width: 80%;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    /* Header adjustments */
    .nav-row {
        min-height: 64px;
    }

    .logo-img {
        max-height: 34px;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.1rem;
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.4rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    /* Consultants */
    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .consultant-card {
        grid-template-columns: 80px 1fr;
        padding: 1.2rem;
    }

    .consultant-avatar {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .consultant-content h3 {
        font-size: 1.1rem;
    }

    /* Section intro text */
    .section-intro {
        font-size: 0.95rem;
    }

    /* Section padding */
    .section,
    .hero {
        padding: 3rem 0;
    }

    #mission {
        padding: 5rem 0;
    }
}

/* Phones (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
    :root {
        --container: 100%
    }

    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 4rem);
    }

    .eyebrow {
        font-size: clamp(.5rem, .75rem, 1rem);
    }

    .hero-copy {
        max-width: 80%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    /* Header */
    .nav-row {
        min-height: 68px;
    }

    .logo-img {
        max-height: 36px;
    }

    /* Buttons */
    .btn {
        padding: 0.85rem 1.15rem;
        font-size: 0.92rem;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 0.7rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    /* Consultants */
    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .consultant-card {
        grid-template-columns: 90px 1fr;
    }

    .consultant-avatar {
        width: 90px;
        height: 90px;
    }

    /* Section intro text */
    .section-intro {
        font-size: 0.98rem;
    }

    /* Sections */
    .section,
    .hero {
        padding: 3.5rem 0;
    }

    #mission {
        padding: 6rem 0;
    }
}

/* Phone horizontal / Small tablets (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
    :root {
        --container: 100%
    }

    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 4rem);
    }

    .eyebrow {
        font-size: clamp(.5rem, .75rem, 1rem);
    }

    .hero-copy {
        max-width: 80%;
    }

    /* Header */
    .nav-row {
        min-height: 70px;
    }

    /* Buttons */
    .hero-actions {
        flex-wrap: wrap;
    }

    /* Service cards */
    .service-card h3 {
        font-size: 1.6rem;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    /* Section intro text */
    .section-intro {
        font-size: 1rem;
    }

    /* Sections */
    .section,
    .hero {
        padding: 4rem 0;
    }

    #mission {
        padding: 7rem 0;
    }
}

/* Tablets (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    :root {
        --container: 100%
    }

    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 4rem);
    }

    .eyebrow {
        font-size: clamp(.55rem, .8rem, 1rem);
    }

    .hero-copy {
        max-width: 80%;
    }

    .main-nav {
        display: none;
    }

    .expertise-layout {
        grid-template-columns: 1fr;
    }


    .consultant-card {
        grid-template-columns: 1fr;
    }

    .avatar-placeholder {
        width: 100%;
        height: 180px;
    }

    .section,
    .hero {
        padding: 4rem 0;
    }

    #mission {
        padding: 7rem 0;
    }

    /* Consultants grid - force 1 column */
    .consultants-grid {
        grid-template-columns: 1fr;
    }

    /* Section intro text */
    .section-intro {
        font-size: 1rem;
    }

    .consultant-modal-bottom-row {
        grid-template-columns: 1fr;
    }

    .consultant-modal-header {
        grid-template-columns: 1fr;
    }

    .consultant-modal-photo {
        width: 112px;
        height: 112px;
    }

    .consultant-avatar {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .consultant-modal-panel {
        padding: 1.4rem;
    }

    .consultant-modal-columns {
        grid-template-columns: 1fr;
    }

    /* Service cards */
    .service-card h3 {
        font-size: 1.7rem;
    }
}

/* Small laptops / Large tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --container: 100%
    }

    .hero h1 {
        font-size: clamp(2rem, 4vw, 4rem);
    }

    .eyebrow {
        font-size: clamp(.6rem, .85rem, 1rem);
    }

    .hero-copy {
        max-width: 80%;
    }

    .expertise-layout {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    /* Service cards */
    .service-card h3 {
        font-size: 1.8rem;
    }

    /* Section intro text */
    .section-intro {
        font-size: 1.02rem;
    }

    #mission {
        padding: 8rem 0;
    }
}

/* Laptops (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    :root {
        --container: 100%
    }

    .hero-copy {
        max-width: 80%;
    }

    .hero h1 {
        font-size: clamp(3rem, 3.3vw, 4.5rem);
    }

    .expertise-layout {
        grid-template-columns: 1fr 1.3fr;
    }
}

/* Desktops / Larger laptops (1281px - 1440px) */
@media (min-width: 1281px) and (max-width: 1440px) {
    :root {
        --container: 100%
    }

    .hero-copy {
        max-width: 80%;
    }
}

/* Big external screens (1441px - 1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
    :root {
        --container: 100%
    }

    .hero-copy {
        max-width: 80%;
    }



    .hero h1 {
        font-size: clamp(3rem, 4vw, 5.5rem);
    }

    .section-heading h2 {
        font-size: clamp(2.2rem, 3.5vw, 3rem);
    }
}

/* Ultra-wide / 4K (1921px and up) */
@media (min-width: 1921px) {
    :root {
        --container: 100%
    }

    .hero-copy {
        max-width: 85%;
    }

    .hero h1 {
        font-size: clamp(3rem, 4.3vw, 5.5rem);
    }

    .section-heading h2 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }



    .services-grid h2 {
        font-size: clamp(1.8rem, 3vw, 3.2rem);
    }

    .service-card h3 {
        font-size: 2.1rem;
    }

    .consultant-content h3 {
        font-size: 1.5rem;
    }

    .contact-copy h2 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
}

/* Mobile-first overrides for smaller screens */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .expertise-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 100%;
    }

    .section,
    .hero {
        padding: 3rem 0;
    }

    #mission {
        padding: 5rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .consultant-card {
        grid-template-columns: 1fr;
    }

    .avatar-placeholder {
        width: 100%;
        height: 180px;
    }

    /* Header adjustments */
    .nav-row {
        min-height: 64px;
    }

    .logo-img {
        max-height: 34px;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.1rem;
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.4rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    /* Consultant cards */
    .consultant-card {
        grid-template-columns: 80px 1fr;
        padding: 1.2rem;
    }

    .consultant-avatar {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .consultant-content h3 {
        font-size: 1.1rem;
    }

    /* Section intro text */
    .section-intro {
        font-size: 0.95rem;
    }
}

/* ============================================
   SPLIT-LAYOUT GRID (Expertise + Factsheet)
   When a fact sheet is open, both modals share one
   grid overlay (.modal-stack). Desktop: two columns
   (side-by-side). Mobile: two rows (stacked).
   The modals become plain grid items; the wrapper
   handles positioning and the shared backdrop.
   ============================================ */

/* Grid wrapper activates only while a fact sheet is open */
.modal-stack:has(.factsheet-modal.split-layout) {
    position: fixed;
    inset: 0;
    z-index: 2001;
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
}

/* Modals become grid items instead of full-screen fixed overlays */
.modal-stack:has(.factsheet-modal.split-layout) .expertise-modal.split-layout,
.modal-stack:has(.factsheet-modal.split-layout) .factsheet-modal.split-layout {
    position: static;
    inset: auto;
    left: auto;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: none;
    pointer-events: auto;
    min-width: 0;
    min-height: 0;
}

/* The per-modal backdrops are replaced by the wrapper background */
.modal-stack:has(.factsheet-modal.split-layout) .expertise-modal-backdrop,
.modal-stack:has(.factsheet-modal.split-layout) .factsheet-modal-backdrop {
    display: none;
}

/* Panels fill their grid cell */
.modal-stack:has(.factsheet-modal.split-layout) .expertise-modal-panel,
.modal-stack:has(.factsheet-modal.split-layout) .factsheet-modal-panel {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 24px;
    box-shadow: none;
    overflow: auto;
}

/* Left column text alignment for the expertise panel */
.modal-stack:has(.factsheet-modal.split-layout) .modal-content,
.modal-stack:has(.factsheet-modal.split-layout) .modal-content * {
    text-align: left;
}

/* Tablet and below: stack into two rows instead of two columns */
@media (max-width: 1024px) {
    .modal-stack:has(.factsheet-modal.split-layout) {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 40vh) minmax(0, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
}