
/* ============================================================
   SGS PUBLIC WEBSITE — Section Components
   ============================================================ */

/* ---- Auth / Sign-in page ---- */
.sgs-auth-section { background-color: var(--sgs-light); }

.sgs-auth-card {
    background-color: #fff;
    border: 1px solid var(--sgs-border);
    border-radius: 0.75rem;
    padding: 2.25rem 2rem;
    height: 100%;
}

.sgs-auth-card h2,
.sgs-auth-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1.25rem;
}

.sgs-auth-card .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sgs-muted-fg);
    margin-bottom: 0.35rem;
}
.sgs-auth-card .form-label .form-question {
    font-size: 16px;
    font-weight: bold;
    color: var(--sgs-muted-fg);
    margin-bottom: 0.35rem;
}

.sgs-auth-card .btn.active {
    background-color: var(--tfs-accent);
    border-color: var(--tfs-accent);
}

.sgs-auth-card .form-control {
    font-size: 0.875rem;
    border: 1px solid var(--sgs-border);
    border-radius: 0.4rem;
    padding: 0.55rem 0.75rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sgs-auth-card .form-control:focus {
    border-color: var(--sgs-accent);
    box-shadow: 0 0 0 3px rgba(201,76,8,0.1);
    outline: none;
}

.sgs-auth-card .form-check-label {
    font-size: 0.8rem;
    color: var(--sgs-muted-fg);
}

.sgs-auth-card hr {
    border-color: var(--sgs-border);
    margin: 1.25rem 0;
}

.sgs-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--sgs-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    margin-top: 0.5rem;
}

.sgs-auth-btn:hover { background-color: #a63e06; }

/* Login status card (shown when signed in) */
.login-status {
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    background-color: #fff;
    border: 1px solid var(--sgs-border);
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-status p {
    margin: 0;
    font-size: 0.9rem;
    color: #111;
}

.login-status .sgs-auth-btn {
    width: auto;
    margin-top: 0;
}

/* ---- Interior page header ---- */
.sgs-page-header {
    background-color: var(--sgs-dark);
    color: #fff;
    padding: 4rem 0 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sgs-page-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0.5rem 0 0;
    line-height: 1.15;
}

@media (min-width: 992px) {
    .sgs-page-header__title { font-size: 2.75rem; }
}

/* ---- Rich text content area ---- */
.sgs-richtext-section {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--sgs-border);
}

.sgs-richtext-body {
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--sgs-muted-fg);
}

.sgs-richtext-body h2,
.sgs-richtext-body h3,
.sgs-richtext-body h4 {
    color: #111;
    font-weight: 600;
    margin-top: 2rem;
}

.sgs-richtext-body a { color: var(--sgs-accent); }
.sgs-richtext-body a:hover { color: #a63e06; }

/* ---- Services section ---- */
.sgs-services-section { background-color: var(--sgs-light); }

/* ---- Passport launcher card ---- */
.sgs-launcher-card {
    background-color: #fff;
    border: 1px solid var(--sgs-border);
    border-radius: 0.75rem;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sgs-launcher-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: rgba(201,76,8,0.25);
}

.sgs-launcher-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    background-color: rgba(201,76,8,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sgs-launcher-card__icon i { font-size: 1.1rem; color: var(--sgs-accent); }

.sgs-launcher-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1.25rem;
}

.sgs-launcher-card__desc {
    font-size: 0.82rem;
    color: var(--sgs-muted-fg);
    line-height: 1.6;
    margin-bottom: 0.65rem;
}

.sgs-launcher-card__error {
    font-size: 0.8rem;
    color: #c00;
    background-color: #fff0f0;
    border: 1px solid #fcc;
    border-radius: 0.4rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.sgs-launcher-card__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.sgs-launcher-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sgs-muted-fg);
    margin-bottom: 0;
}

.sgs-launcher-card__select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--sgs-border);
    border-radius: 0.4rem;
    color: #111;
    background-color: #fff;
    appearance: auto;
    transition: border-color 0.15s;
}

.sgs-launcher-card__select:focus {
    outline: none;
    border-color: var(--sgs-accent);
    box-shadow: 0 0 0 3px rgba(201,76,8,0.1);
}

.sgs-launcher-card__status {
    font-size: 0.8rem;
    color: var(--sgs-muted-fg);
    min-height: 1.2em;
}

.sgs-launcher-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--sgs-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: auto;
    width: 100%;
}

.sgs-launcher-card__btn:hover { background-color: #a63e06; }
.sgs-launcher-card__btn:disabled {
    background-color: var(--sgs-border);
    color: var(--sgs-muted-fg);
    cursor: not-allowed;
}

/* ---- Controls wrapper (account select + button) ---- */
.sgs-launcher-card__controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.sgs-launcher-card__account-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

/* ---- Wide / horizontal card modifier ---- */
/* Row 1: icon + title   Row 2: account select + launch button */
.sgs-launcher-card--wide {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
    row-gap: 0.75rem;
    align-items: center;
    padding: 1rem 1.25rem;
    height: auto;
}

/* Icon spans row 1 only, vertically centred with the title */
.sgs-launcher-card--wide .sgs-launcher-card__icon {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: center;
}

/* Title sits next to the icon on row 1 */
.sgs-launcher-card--wide__title {
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

/* Maintenance alert spans both columns */
.sgs-launcher-card--wide__maint {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: 0.82rem;
}

/* Form occupies col 2, auto-placed after any maintenance alert */
.sgs-launcher-card--wide__form {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Fields row: select grows, button is fixed */
.sgs-launcher-card--wide__fields {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.sgs-launcher-card--wide__field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.sgs-launcher-card--wide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--sgs-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
}

.sgs-launcher-card--wide__btn:hover { background-color: #a63e06; }
.sgs-launcher-card--wide__btn:disabled {
    background-color: var(--sgs-border);
    color: var(--sgs-muted-fg);
    cursor: not-allowed;
}

/* Collapse to stacked on small screens */
@media (max-width: 575px) {
    .sgs-launcher-card--wide {
        grid-template-columns: auto 1fr;
    }
    .sgs-launcher-card--wide__fields {
        flex-direction: column;
        align-items: stretch;
    }
    .sgs-launcher-card--wide__btn { width: 100%; }
}

/* ---- Services right-hand maintenance panel ---- */
.sgs-services-panel {
    background-color: #fff;
    border: 1px solid var(--sgs-border);
    border-radius: 0.75rem;
    padding: 1.5rem 1.75rem;
    position: sticky;
    top: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--sgs-muted-fg);
}

.sgs-services-panel h2,
.sgs-services-panel h3,
.sgs-services-panel h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}

.sgs-services-panel h2:first-child,
.sgs-services-panel h3:first-child,
.sgs-services-panel h4:first-child { margin-top: 0; }

.sgs-services-panel p { margin-bottom: 0.25rem; }

body.sgs-website {
    font-family: 'Inter', sans-serif;
}

/* Utility bar override for SGS public site */
body.sgs-website .utility-bar {
    background-color: var(--sgs-mid);
    font-size: 0.75rem;
}

/* Header override — white sticky */
body.sgs-website .site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background-color: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.sgs-website .main-nav {
    background-color: transparent;
    min-height: 4.5rem;
}

/* Brand logo block */
.sgs-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.sgs-brand:hover { text-decoration: none; }

.sgs-brand__logo {
    height: 2.5rem;
    width: auto;
}

.sgs-brand__title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #111;
}

.sgs-brand__sub {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sgs-muted-fg);
}

/* Nav links */
body.sgs-website .main-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0,0,0,0.7);
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
}

body.sgs-website .main-nav .nav-link:hover,
body.sgs-website .main-nav .nav-link:focus,
body.sgs-website .main-nav .show > .nav-link {
    color: #111;
    background-color: var(--sgs-light);
}

body.sgs-website .main-nav .nav-link.active {
    color: var(--sgs-accent);
}

/* Dropdown panel */
body.sgs-website .sgs-dropdown-menu {
    border: 1px solid var(--sgs-border);
    border-radius: 0.6rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 0.75rem;
    min-width: 22rem;
}

.sgs-dropdown-item {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: background 0.15s;
}

.sgs-dropdown-item:hover {
    background-color: var(--sgs-light);
    text-decoration: none;
}

.sgs-dropdown-item__name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111;
}

.sgs-dropdown-item:hover .sgs-dropdown-item__name {
    color: var(--sgs-accent);
}

.sgs-dropdown-item__desc {
    display: block;
    font-size: 0.75rem;
    color: var(--sgs-muted-fg);
    margin-top: 0.1rem;
}

/* Header CTA buttons */
.sgs-btn-outline {
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--sgs-border);
    color: #111;
    background: transparent;
    padding: 0.4rem 1rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.sgs-btn-outline:hover {
    background-color: var(--sgs-light);
    color: #111;
    text-decoration: none;
}

.sgs-btn-accent {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--sgs-accent);
    color: #fff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 0.2rem;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.sgs-btn-accent:hover {
    background-color: #a63e06;
    color: #fff;
    text-decoration: none;
}

/* ---- Shared section helpers ---- */
.sgs-section {
    padding: 5rem 0;
}

@media (min-width: 992px) {
    .sgs-section { padding: 2.75rem 0; }
}

.sgs-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sgs-accent);
    margin-bottom: 1rem;
}

.sgs-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #111;
    margin-bottom: 1rem;
}

.sgs-section-title--light { color: #fff; }

@media (min-width: 992px) {
    .sgs-section-title { font-size: 2.25rem; }
}

.sgs-section-desc {
    font-size: 1rem;
    color: var(--sgs-muted-fg);
    max-width: 42rem;
    line-height: 1.7;
    margin: 0 auto 3.5rem;
}



.sgs-section-desc--light { color: rgba(255,255,255,0.7); }

.sgs-section-subtitle {
    font-size: 1rem;
    color: var(--sgs-muted-fg);
    line-height: 1.65;
    margin-top: 0.5rem;
    max-width: 42rem;
}

.sgs-section-head { text-align: center; margin-bottom: 3.5rem; }

/* ---- Content Page Hero (Solution / Industry pages) ---- */
.sgs-content-hero {
    position: relative;
    background-color: #77787B;
    color: #fff;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    .sgs-content-hero { padding: 7rem 0 5rem; }
}

.sgs-content-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sgs-content-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    filter: brightness(0.55);
}

.sgs-content-hero .container {
    position: relative;
    z-index: 1;
}

.sgs-content-hero .sgs-section-label {
    color: var(--sgs-accent);
}

.sgs-content-hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
    .sgs-content-hero__title { font-size: 2.75rem; }
}

.sgs-content-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 42rem;
}

.sgs-content-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ---- Hero Section ---- */
.sgs-hero {
    position: relative;
    background-color: var(--sgs-dark);
    color: #fff;
    overflow: hidden;
}

/* ── Carousel: lock height so slides never cause a jolt ── */
.sgs-hero--carousel {
    /* Minimum height matches the tallest expected slide at each breakpoint.
       All carousel-items are position:absolute (except active), so without
       a fixed height the wrapper collapses and snaps on transition.        */
    min-height: 520px;
}

@media (min-width: 768px)  { .sgs-hero--carousel { min-height: 580px; } }
@media (min-width: 992px)  { .sgs-hero--carousel { min-height: 680px; } }
@media (min-width: 1200px) { .sgs-hero--carousel { min-height: 720px; } }

/* Make every slide fill the full carousel height */
.sgs-hero--carousel .carousel,
.sgs-hero--carousel .carousel-inner,
.sgs-hero--carousel .carousel-item {
    height: 100%;
}

/* Smooth crossfade — extend Bootstrap's default 600ms */
.sgs-hero--carousel .carousel-item {
    transition: opacity 0.8s ease-in-out !important;
}

/* Fade the text content in slightly after the background image */
.sgs-hero--carousel .carousel-item .sgs-hero__inner {
    opacity: 0;
    transition: opacity 0.6s ease-in-out 0.3s;
}

.sgs-hero--carousel .carousel-item.active .sgs-hero__inner {
    opacity: 1;
}

.sgs-hero__bg {
    position: absolute;
    inset: 0;
}

.sgs-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.sgs-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(60,60,60,0.8) 55%, rgba(60,60,60,0.3) 100%);
}

.sgs-hero__gridlines {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

.sgs-hero__gridline {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #fff;
}

.sgs-hero__inner {
    position: relative;
    padding: 7rem 0;
}

@media (min-width: 992px) {
    .sgs-hero__inner { padding: 10rem 0; }
}

.sgs-hero__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sgs-accent);
    margin-bottom: 1.5rem;
}

.sgs-hero__title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

@media (min-width: 992px) {
    .sgs-hero__title { font-size: 3.25rem; }
}

.sgs-hero__title-accent { color: var(--sgs-accent); }

.sgs-hero__desc {
    font-size: 1.1rem;
    color: var(--sgs-whitesectiondescriptiontext);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 38rem;
}

.sgs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.sgs-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--sgs-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: 0.2rem;
    text-decoration: none;
    transition: background 0.15s;
}

.sgs-hero__btn-primary:hover { background-color: #a63e06; color: #fff; text-decoration: none; }

.sgs-hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: 0.2rem;
    text-decoration: none;
    transition: background 0.15s;
}

.sgs-hero__btn-secondary:hover { background-color: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }

.sgs-hero__trust {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* ---- Trust Bar ---- */
.sgs-trustbar {
    border-top: 1px solid var(--sgs-border);
    border-bottom: 1px solid var(--sgs-border);
    background-color: #fff;
    padding: 1.5rem 0;
}

.sgs-trustbar__label {
    text-align: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(107,114,128,0.5);
    margin-bottom: 1.25rem;
}

.sgs-trustbar__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.sgs-trustbar__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(0,0,0,0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.15s;
}

.sgs-trustbar__item:hover { color: var(--sgs-accent); }

/* ---- Solutions Grid ---- */
.sgs-solutions { background-color: var(--sgs-light); }

.sgs-solution-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--sgs-border);
    background-color: #fff;
    text-decoration: none;
    height: 100%;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.sgs-solution-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: var(--sgs-iconbackgroundhover);/* OLD = rgba(201,76,8,0.3);*/
    transform: translateY(-2px);
    text-decoration: none;
}

/* Highlighted card — accent border treatment */
.sgs-solution-card--highlight {
    border-color: rgba(201,76,8,0.35);
    background-color: rgba(201,76,8,0.03);
}

.sgs-solution-card--highlight:hover {
    border-color: rgba(201,76,8,0.6);
}

/* Header row: icon + category tag side by side */
.sgs-solution-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.sgs-solution-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    background-color: var(--sgs-iconbackground);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sgs-solution-card:hover .sgs-solution-card__icon { background-color: var(--sgs-iconbackgroundhover); }

.sgs-solution-card__icon i { font-size: 1.1rem; color: var(--sgs-accent); }

.sgs-solution-card__category {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sgs-muted-fg);
    border: 1px solid var(--sgs-border);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 0.15rem;
}

.sgs-solution-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.sgs-solution-card__desc {
    font-size: 0.8125rem;
    color: var(--sgs-muted-fg);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.sgs-solution-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sgs-accent);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.15s;
    margin-top: auto;
}

.sgs-solution-card:hover .sgs-solution-card__link { gap: 0.5rem; }

/* Image-header variant (eCert home) — square corners so the uploaded image sits flush */
.sgs-solution-card--media {
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

/* Cards are static (no link) — cancel the interactive hover lift/shadow */
.sgs-solution-card--media:hover {
    box-shadow: none;
    border-color: var(--sgs-border);
    transform: none;
}

.sgs-solution-card--media .sgs-solution-card__image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3.5;
    background-color: var(--sgs-light);
    overflow: hidden;
}

.sgs-solution-card--media .sgs-solution-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sgs-solution-card--media .sgs-solution-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2rem 2.25rem 2.25rem;
}

.sgs-solution-card--media .sgs-solution-card__title {
    font-size: 1.125rem;
}

.sgs-solution-card--media .sgs-solution-card__desc {
    font-size: 0.9375rem;
}

.sgs-solution-card--media .sgs-solution-card__link {
    font-size: 0.9375rem;
}

/* ---- Why Choose Us ---- */
.sgs-why { background-color: #ffffff; }

.sgs-why-card {
    text-align: center;
    padding: 1.75rem;
    border-radius: 0.75rem;
    background-color: #fff;
    border: 1px solid var(--sgs-border);
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.sgs-why-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border-color: rgba(201,76,8,0.2);
    transform: translateY(-2px);
}

.sgs-why-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background-color: rgba(201,76,8,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.sgs-why-card__icon i { font-size: 1.35rem; color: var(--sgs-accent); }

.sgs-why-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.5rem;
}

.sgs-why-card__desc {
    font-size: 0.8rem;
    color: var(--sgs-muted-fg);
    line-height: 1.65;
    margin: 0;
}

/* ---- Hybrid Section ---- */
.sgs-hybrid {
    background-color: #fff;
    border-top: 1px solid var(--sgs-border);
}

.sgs-hybrid__check-list { list-style: none; padding: 0; margin: 0 0 2rem; }

.sgs-hybrid__check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #111;
    line-height: 1.6;
}

.sgs-hybrid__check-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: rgba(201,76,8,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.sgs-hybrid__check-icon i { font-size: 0.65rem; color: var(--sgs-accent); }

.sgs-hybrid-table {
    border-radius: 0.75rem;
    border: 1px solid var(--sgs-border);
    overflow: hidden;
}

.sgs-hybrid-table__header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    background-color: var(--sgs-light);
    border-bottom: 1px solid var(--sgs-border);
}

.sgs-hybrid-table__hcell {
    padding: 1rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sgs-muted-fg);
    border-left: 1px solid var(--sgs-border);
}

.sgs-hybrid-table__hcell:first-child { border-left: none; }

.sgs-hybrid-table__hcell--accent {
    background-color: rgba(201,76,8,0.05);
    color: var(--sgs-accent);
    font-weight: 700;
}

.sgs-hybrid-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    border-bottom: 1px solid var(--sgs-border);
}

.sgs-hybrid-table__row:last-child { border-bottom: none; }

.sgs-hybrid-table__cell {
    padding: 0.875rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--sgs-border);
}

.sgs-hybrid-table__cell:first-child {
    justify-content: flex-start;
    padding-left: 1rem;
    border-left: none;
}

.sgs-hybrid-table__cell--accent { background-color: rgba(201,76,8,0.04); }

.sgs-hybrid-table__feature {
    font-size: 0.75rem;
    font-weight: 500;
    color: #111;
    text-align: left;
}

.sgs-icon-check { color: var(--sgs-accent); font-size: 0.9rem; }
.sgs-icon-x { color: rgba(107,114,128,0.4); font-size: 0.9rem; }
.sgs-icon-partial { color: rgba(107,114,128,0.6); font-size: 0.9rem; }

/* ---- Industries Section ---- */
.sgs-industries { background-color: var(--sgs-dark); }

.sgs-industry-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.05);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.sgs-industry-card:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(201,76,8,0.4);
    text-decoration: none;
}

.sgs-industry-card i { font-size: 1.1rem; color: var(--sgs-accent); flex-shrink: 0; }

.sgs-industry-card__name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.15s;
}

.sgs-industry-card:hover .sgs-industry-card__name { color: var(--sgs-accent); }

.sgs-industry-card--dashed {
    border-style: dashed;
    border-color: rgba(255,255,255,0.2);
    justify-content: center;
    background-color: transparent;
}

.sgs-industry-card--dashed:hover {
    border-color: rgba(201,76,8,0.4);
    background-color: transparent;
}

.sgs-industry-card--dashed .sgs-industry-card__name { color: rgba(255,255,255,0.5); }

/* ---- Capabilities Section ---- */
.sgs-capabilities { background-color: var(--sgs-light); }

.sgs-capability-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--sgs-border);
    background-color: #fff;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.sgs-capability-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    border-color: rgba(201,76,8,0.3);
    transform: translateY(-2px);
}

.sgs-capability-card__bar {
    width: 2rem;
    height: 2px;
    border-radius: 9999px;
    background-color: rgba(201,76,8,0.3);
    margin-bottom: 0.75rem;
    transition: background 0.2s;
}

.sgs-capability-card:hover .sgs-capability-card__bar { background-color: var(--sgs-accent); }

.sgs-capability-card__label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.35rem;
    transition: color 0.2s;
}

.sgs-capability-card:hover .sgs-capability-card__label { color: var(--sgs-accent); }

.sgs-capability-card__desc { font-size: 0.75rem; color: var(--sgs-muted-fg); line-height: 1.6; margin: 0; }

/* ---- Credentials Section ---- */
/* Credentials on --sgs-light background (default for homePage) */
.sgs-credentials { background-color: var(--sgs-light); color: #111; }

.sgs-credential-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--sgs-border);
    background-color: #fff;
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sgs-credential-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-color: rgba(201,76,8,0.25);
}

.sgs-credential-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(201,76,8,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sgs-credential-card__icon i { font-size: 1.1rem; color: var(--sgs-accent); }

.sgs-credential-card__title { font-size: 0.875rem; font-weight: 600; color: #111; margin-bottom: 0.25rem; }

.sgs-credential-card__desc { font-size: 0.75rem; color: var(--sgs-muted-fg); line-height: 1.6; margin: 0; }

/* ---- Process Section ---- */
.sgs-process {
    background-color: #fff;
    border-top: 1px solid var(--sgs-border);
}

.sgs-process-step {
    position: relative;
}

/* Horizontal connector line between steps on md+ */
@media (min-width: 768px) {
    .sgs-process-step--connector::after {
        content: '';
        position: absolute;
        top: 1.5rem;
        right: -2.5rem;
        width: 2rem;
        height: 1px;
        background-color: var(--sgs-border);
    }
}

.sgs-process-step__number {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: var(--sgs-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
}

.sgs-process-step__title { font-size: 1.1rem; font-weight: 600; color: #111; margin-bottom: 0.75rem; }

.sgs-process-step__desc { font-size: 0.875rem; color: var(--sgs-muted-fg); line-height: 1.7; margin: 0; }

/* ---- About Page ---- */
.sgs-about-body-text p {
    font-size: 0.9375rem;
    color: var(--sgs-muted-fg);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.sgs-credential-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sgs-credential-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-color: rgba(191,75,20,0.2);
}

.sgs-credential-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background-color: rgba(191,75,20,0.1);
    color: var(--sgs-accent);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sgs-credential-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.4rem;
}

.sgs-credential-card__desc {
    font-size: 0.8rem;
    color: var(--sgs-muted-fg);
    line-height: 1.65;
    margin: 0;
}

/* Timeline */
.sgs-timeline {
    position: relative;
    max-width: 860px;
}

.sgs-timeline__item {
    display: grid;
    grid-template-columns: 4rem 2rem 1fr;
    gap: 0 1.25rem;
    margin-bottom: 0;
}

.sgs-timeline__marker {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sgs-timeline__dot {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    background-color: var(--sgs-accent);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--sgs-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.sgs-timeline__line {
    width: 2px;
    flex: 1;
    background-color: #e0e0e0;
    margin-top: 0.35rem;
    min-height: 2.5rem;
}

.sgs-timeline__item:last-child .sgs-timeline__line {
    display: none;
}

.sgs-timeline__year {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sgs-accent);
    text-align: right;
    padding-top: 0.1rem;
    white-space: nowrap;
}

.sgs-timeline__content {
    grid-column: 3;
    grid-row: 1;
    padding-bottom: 2.5rem;
}

.sgs-timeline__title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.4rem;
}

.sgs-timeline__desc {
    font-size: 0.875rem;
    color: var(--sgs-muted-fg);
    line-height: 1.7;
    margin: 0;
}

/* SGS Group dark band */
.sgs-about-sgs-group {
    background-color: var(--sgs-mid) !important;
    color: #fff;
}

.sgs-about-sgs-group__icon {
    font-size: 2.5rem;
    color: var(--sgs-accent);
    margin-bottom: 1.25rem;
}

.sgs-about-sgs-group__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.sgs-about-sgs-group__desc {
    font-size: 1rem;
    color: var(--sgs-whitesectiondescriptiontext);
    line-height: 1.7;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

/* ---- Pricing Cards ---- */
.sgs-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sgs-pricing-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: rgba(191,75,20,0.2);
}

.sgs-pricing-card--highlighted {
    border-color: var(--sgs-accent);
    background-color: rgba(191,75,20,0.03);
    box-shadow: 0 6px 30px rgba(191,75,20,0.12);
}

.sgs-pricing-card__badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--sgs-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.9rem;
    border-radius: 99px;
    white-space: nowrap;
}

.sgs-pricing-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    background-color: rgba(191,75,20,0.1);
    color: var(--sgs-accent);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.sgs-pricing-card--highlighted .sgs-pricing-card__icon {
    background-color: var(--sgs-accent);
    color: #fff;
}

.sgs-pricing-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.2rem;
}

.sgs-pricing-card__subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sgs-accent);
    margin-bottom: 1rem;
}

.sgs-pricing-card__desc {
    font-size: 0.875rem;
    color: var(--sgs-muted-fg);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.sgs-pricing-card__includes-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.6rem;
}

.sgs-pricing-card__includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #222;
    flex: 1;
}

.sgs-pricing-card__footer {
    border-top: 1px solid #e8e8e8;
    padding-top: 1.25rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sgs-pricing-card__pricing-text {
    font-size: 0.78rem;
    color: var(--sgs-muted-fg);
    line-height: 1.5;
}

.sgs-pricing-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #ccc;
    color: #111;
    background-color: #fff;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sgs-pricing-card__btn:hover {
    border-color: var(--sgs-accent);
    color: var(--sgs-accent);
    text-decoration: none;
}

.sgs-pricing-card__btn--accent {
    background-color: var(--sgs-accent);
    border-color: var(--sgs-accent);
    color: #fff;
}

.sgs-pricing-card__btn--accent:hover {
    background-color: #a63e06;
    border-color: #a63e06;
    color: #fff;
}

/* ---- Contact Page ---- */
.sgs-contact-form__pot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.sgs-contact-form__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sgs-muted-fg);
    margin-bottom: 0.4rem;
}

.sgs-contact-form__required { color: var(--sgs-accent); }

.sgs-contact-form__input,
.sgs-contact-form__select,
.sgs-contact-form__textarea {
    display: block;
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #111;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    transition: border-color 0.15s ease;
}

.sgs-contact-form__input:focus,
.sgs-contact-form__select:focus,
.sgs-contact-form__textarea:focus {
    outline: none;
    border-color: var(--sgs-accent);
    box-shadow: 0 0 0 3px rgba(191,75,20,0.12);
}

.sgs-contact-form__input.is-invalid,
.sgs-contact-form__select.is-invalid {
    border-color: #dc3545;
}

.sgs-contact-form__textarea { resize: vertical; }

/* Success state */
.sgs-contact-success {
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    padding: 3.5rem 2rem;
    text-align: center;
}

.sgs-contact-success__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: rgba(191,75,20,0.1);
    color: var(--sgs-accent);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.sgs-contact-success__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.sgs-contact-success__desc { color: var(--sgs-muted-fg); }

/* Sidebar */
.sgs-contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sgs-contact-info-card {
    background-color: var(--sgs-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.sgs-contact-info-card__title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 1.25rem;
}

.sgs-contact-info-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sgs-contact-info-card__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--sgs-muted-fg);
}

.sgs-contact-info-card__list a { color: inherit; text-decoration: none; }
.sgs-contact-info-card__list a:hover { color: var(--sgs-accent); }
.sgs-contact-info-card__icon { color: var(--sgs-accent); }

.sgs-contact-reasons-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    background-color: #fff;
}

.sgs-contact-reasons-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111;
}

.sgs-contact-reasons-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--sgs-muted-fg);
}

.sgs-contact-reasons-card__list li { display: flex; align-items: center; gap: 0.5rem; }

.sgs-contact-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--sgs-muted-fg);
}

/* ---- CTA Section ---- */
.sgs-cta {
    background-color: var(--sgs-mid);
    color: #fff;
    padding: 5rem 0;
}

@media (min-width: 992px) {
    .sgs-cta { padding: 7rem 0; }
}

.sgs-cta__title { font-size: 2rem; font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; color: #fff; }

@media (min-width: 992px) {
    .sgs-cta__title { font-size: 2.75rem; }
}

.sgs-cta__desc {
    font-size: 1.1rem;
    color: var(--sgs-whitesectiondescriptiontext);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.sgs-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.sgs-cta__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--sgs-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.9rem 2rem;
    border-radius: 0.2rem;
    text-decoration: none;
    transition: background 0.15s;
}

.sgs-cta__btn-primary:hover { background-color: #a63e06; color: #fff; text-decoration: none; }

.sgs-cta__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.9rem 2rem;
    border-radius: 0.2rem;
    text-decoration: none;
    transition: background 0.15s;
}

.sgs-cta__btn-secondary:hover { background-color: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }

/* ---- Footer ---- */
.sgs-footer { background-color: var(--sgs-verydark); /*was sgs-dark*/ color: #fff; }

.sgs-footer__main { padding: 4rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

.sgs-footer__brand-desc {
    font-size: 0.875rem;
    color: var(--sgs-whitesectiondescriptiontext);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 22rem;
}

.sgs-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--sgs-whitesectiondescriptiontext);
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.15s;
}

.sgs-footer__contact-link:hover { color: var(--sgs-accent); text-decoration: none; }

.sgs-footer__col-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}

.sgs-footer__nav-list { list-style: none; padding: 0; margin: 0; }

.sgs-footer__nav-list li { margin-bottom: 0.75rem; }

.sgs-footer__nav-link {
    font-size: 0.875rem;
    color: var(--sgs-whitesectiondescriptiontext);
    text-decoration: none;
    transition: color 0.15s;
}

.sgs-footer__nav-link:hover { color: var(--sgs-accent); text-decoration: none; }

.sgs-footer__bottom {
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.sgs-footer__bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.15s; }
.sgs-footer__bottom a:hover { color: var(--sgs-accent); }

/* Hover-activated dropdowns on desktop */
@media (min-width: 992px) {
    body.sgs-website .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* ---- Mega-menu ---- */
body.sgs-website .sgs-mega-menu {
    border: 1px solid var(--sgs-border);
    border-radius: 0.6rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 1.25rem;
    min-width: 0;
    width: 680px;
}

@media (min-width: 992px) {
    body.sgs-website .sgs-mega-item {
        position: static;
    }
    body.sgs-website .sgs-mega-item .sgs-mega-menu {
        left: 50%;
        transform: translateX(-50%);
    }
}

.sgs-mega-menu__inner {
    display: flex;
    gap: 0;
}

.sgs-mega-menu__col {
    flex: 1 1 0%;
    min-width: 0;
}

.sgs-mega-menu__divider {
    width: 1px;
    background-color: var(--sgs-border);
    margin: 0 1rem;
    flex-shrink: 0;
}

.sgs-mega-menu__heading {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sgs-accent);
    padding: 0.25rem 0.75rem 0.6rem;
}

/* Mobile: stack columns */
@media (max-width: 991px) {
    body.sgs-website .sgs-mega-menu {
        width: 100%;
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0;
    }
    .sgs-mega-menu__inner {
        flex-direction: column;
    }
    .sgs-mega-menu__divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }
}

/* Authenticated nav link */
body.sgs-website .sgs-nav-link--auth {
    color: var(--sgs-accent) !important;
}

/* Admin nav link */
body.sgs-website .sgs-nav-link--admin {
    color: var(--sgs-mid) !important;
}

/* --------------------------------------------------
   SOLUTION PAGE COMPONENTS
-------------------------------------------------- */

/* ---------- Overview Panel ---------- */

.sgs-overview-panel {
    background-color: var(--sgs-light);
    border: 1px solid var(--sgs-border);
    border-radius: 0.75rem;
    padding: 2rem;
}

.sgs-overview-panel__heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sgs-dark);
    margin-bottom: 1.25rem;
}

.sgs-overview-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sgs-overview-panel__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--sgs-dark);
    line-height: 1.5;
}

.sgs-overview-panel__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    min-width: 1.35rem;
    border-radius: 50%;
    background-color: rgba(201, 76, 8, 0.12);
    color: var(--sgs-accent);
    font-size: 0.7rem;
    margin-top: 0.1rem;
}

/* ---------- Capability Chips (7-col grid) ---------- */

.sgs-capability-col {
    flex: 0 0 auto;
    width: calc(100% / 7);
}

@media (max-width: 991.98px) {
    .sgs-capability-col { width: 25%; }
}

@media (max-width: 575.98px) {
    .sgs-capability-col { width: 50%; }
}

.sgs-capability-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--sgs-light);
    border: 1px solid var(--sgs-border);
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 100%;
}

.sgs-capability-chip:hover {
    border-color: rgba(201, 76, 8, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sgs-capability-chip__icon {
    font-size: 1rem;
    color: var(--sgs-accent);
}

.sgs-capability-chip__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sgs-dark);
    line-height: 1.3;
}

/* ---------- Why SGS Items ---------- */

.sgs-why-sgs-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--sgs-border);
    border-radius: 0.65rem;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sgs-why-sgs-item:hover {
    border-color: var(--sgs-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sgs-why-sgs-item__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    min-width: 1.6rem;
    border-radius: 50%;
    background-color: rgba(201, 76, 8, 0.12);
    color: var(--sgs-accent);
    font-size: 0.85rem;
    margin-top: 0.1rem;
}

.sgs-why-sgs-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sgs-dark);
    margin-bottom: 0.25rem;
}

.sgs-why-sgs-item__desc {
    font-size: 0.8rem;
    color: var(--sgs-muted-fg);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ---------- Model Picker Cards ---------- */

.sgs-model-picker .sgs-section-label--light {
    color: rgba(255, 255, 255, 0.6);
}

.sgs-model-picker .sgs-section-title--light {
    color: #ffffff;
}

.sgs-model-picker .sgs-section-subtitle--light {
    color: rgba(255, 255, 255, 0.6);
}

.sgs-model-card {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.sgs-model-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.sgs-model-card--highlight {
    border: 2px solid var(--sgs-accent);
}

.sgs-model-card--highlight:hover {
    border-color: var(--sgs-accent);
}

.sgs-model-card__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.sgs-model-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.sgs-model-card__subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sgs-accent);
    margin-bottom: 0.85rem;
}

.sgs-model-card--highlight .sgs-model-card__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.sgs-model-card__desc {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.sgs-model-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sgs-model-card__features li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sgs-model-card__check {
    color: var(--sgs-accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ---------- Who We Support Items ---------- */

.sgs-who-support-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.65rem;
    background-color: var(--sgs-light);
    border: 1px solid var(--sgs-border);
    transition: border-color 0.2s;
    height: 100%;
}

.sgs-who-support-item:hover {
    border-color: rgba(201, 76, 8, 0.25);
}

.sgs-who-support-item__icon {
    font-size: 1rem;
    color: var(--sgs-accent);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.sgs-who-support-item__title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sgs-dark);
    margin-bottom: 0.2rem;
}

.sgs-who-support-item__desc {
    font-size: 0.775rem;
    color: var(--sgs-muted-fg);
    margin-bottom: 0;
    line-height: 1.45;
}

/* ---- Who We Are section ---- */
.sgs-who-we-are { padding-bottom: 0; }

.sgs-who-we-are__body {
    font-size: 1.05rem;
    color: var(--sgs-muted-fg);
    line-height: 1.85;
}

/* ---- Who We Are tiles ---- */
.sgs-who-tiles-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    padding: 0 80px 0 80px;
}

.sgs-who-tile {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-color: var(--sgs-mid);
    border-right: 1px solid rgba(180,180,180,0.4);
}

.sgs-who-tile:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .sgs-who-tiles-row {
        flex-direction: column;
    }
    .sgs-who-tile {
        flex-basis: auto;
        border-right: none;
        border-bottom: 1px solid rgba(180,180,180,0.4);
        min-height: 220px;
    }
    .sgs-who-tile:last-child {
        border-bottom: none;
    }
}

.sgs-who-tile__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sgs-who-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.72) 100%);
}

.sgs-who-tile__body {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.5rem 0.75rem;
    flex: 1;
}

.sgs-who-tile__section-title {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sgs-accent);
    margin-bottom: 0.5rem;
}

.sgs-who-tile__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.sgs-who-tile__desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,1);
    line-height: 1.6;
    margin-bottom: 0;
}

.sgs-who-tile__footer {
    position: relative;
    z-index: 1;
    padding: 0.75rem 1.5rem 1.25rem;
    display: flex;
    justify-content: flex-end;
}

.sgs-who-tile__btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 0;
    padding: 0.4rem 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}

.sgs-who-tile__btn:hover {
    background-color: var(--sgs-accent);
    border-color: var(--sgs-accent);
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------
   ECERT WORLD HOME — Document type cards (Panel 1)
-------------------------------------------------- */

.ecw-doctype-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.ecw-doctype-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid var(--sgs-border);
    border-radius: 8px;
    padding: .7rem .7rem;
    width: 150px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ecw-doctype-card:hover {
    border-color: var(--sgs-accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.ecw-doctype-card__img {
    width: 64px;
    height: auto;
    object-fit: contain;
}

.ecw-doctype-card__icon-placeholder {
    width: 64px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sgs-light);
    border-radius: 4px;
    font-size: 1.75rem;
    color: var(--sgs-accent);
}

.ecw-doctype-card__name {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sgs-dark);
    line-height: 1.3;
}

.ecw-doctype-card__desc {
    font-size: 0.7rem;
    color: var(--sgs-muted-fg);
    line-height: 1.4;
    margin: 0;
}

/* --------------------------------------------------
   ECERT WORLD HOME — Location / country cards (Panel 2)
-------------------------------------------------- */

.ecw-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.ecw-location-region__title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sgs-accent);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sgs-accent);
}

.ecw-location-region__countries {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ecw-country-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.875rem;
    border-radius: 6px;
    border: 1px solid var(--sgs-border);
    background: #fff;
    text-decoration: none;
    color: var(--sgs-dark);
    font-weight: 600;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ecw-country-card:hover {
    border-color: var(--sgs-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-decoration: none;
    color: var(--sgs-dark);
}

.ecw-country-card__flag {
    width: 1.5rem;
    height: 1.125rem;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    line-height: 1;
}

.ecw-country-card__flag-icon {
    font-size: 1rem;
    color: var(--sgs-accent);
    flex-shrink: 0;
}

.ecw-country-card__name {
    flex: 1;
}

.ecw-country-card__badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.ecw-country-card__badge--live {
    background-color: rgba(0, 114, 206, 0.1);
    color: #0072CE;
}

.ecw-country-card--interest .ecw-country-card__badge--interest {
    background-color: rgba(201,76,8,0.1);
    color: var(--sgs-accent);
}

/* --------------------------------------------------
   ECERT WORLD HOME — Chamber CTA (Panel 3)
-------------------------------------------------- */

.ecw-chamber-section {
    color: #fff;
}

/* --------------------------------------------------
   ECERT WORLD HOME — Document validation (Panel 4)
-------------------------------------------------- */

.ecw-validation-section__img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.ecw-validation-section__placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--sgs-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--sgs-accent);
}


/* --------------------------------------------------
   ECERT WORLD HOME — TFS Style overrides
-------------------------------------------------- */

/*From--sgs-section-desc*/
.ecw-section-desc {
    font-size: 1rem;
    color: var(--sgs-muted-fg);
    max-width: 42rem;
    line-height: 1.7;
  
}




.SmallText {
    font-size: .8rem;

}

/* ─── Member profile dropdown (utility bar) ─────────────────────────────── */
.utility-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.utility-profile__username {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tfs-primary-200);
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utility-profile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tfs-primary-200);
    color: var(--tfs-accent);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 0.25rem 0.45rem;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

.utility-profile__btn:hover,
.utility-profile__btn:focus {
    background-color: var(--tfs-primary-100);
    color: var(--tfs-accent);
}

.utility-profile__menu {
    min-width: 210px;
    font-size: 0.82rem;
    border-radius: 0.5rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
    border: 1px solid var(--sgs-border, rgba(0, 0, 0, 0.1));
    padding: 0.4rem 0;
    z-index: 1200;
}

.utility-profile__menu .dropdown-item {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    color: #333;
}

.utility-profile__menu .dropdown-item:hover,
.utility-profile__menu .dropdown-item:focus {
    background-color: var(--sgs-light, #f5f5f5);
    color: var(--sgs-accent, #c94c08);
}

.utility-profile__menu .dropdown-item.text-danger:hover,
.utility-profile__menu .dropdown-item.text-danger:focus {
    background-color: #fdf0ee;
    color: #c0392b;
}

/* ─── Inline-style replacements ───────────────────────────────────────────── */

/* MFA widget */
.mfa-qr-img {
    width: 180px;
    height: 180px;
}

.mfa-code-input {
    max-width: 200px;
}

/* Footer brand invert */
.sgs-brand__logo--invert {
    filter: brightness(0) invert(1);
}

.sgs-brand__title--light {
    color: #fff;
}

.sgs-brand__sub--light {
    color: rgba(255, 255, 255, 0.6);
}

/* Hero decorative gridlines */
.sgs-hero__gridlines .sgs-hero__gridline:nth-child(1) { left: 16.66%; }
.sgs-hero__gridlines .sgs-hero__gridline:nth-child(2) { left: 33.33%; }
.sgs-hero__gridlines .sgs-hero__gridline:nth-child(3) { left: 50%; }
.sgs-hero__gridlines .sgs-hero__gridline:nth-child(4) { left: 66.66%; }
.sgs-hero__gridlines .sgs-hero__gridline:nth-child(5) { left: 83.33%; }

/* Passport launcher error alert */
.passport-launch-error {
    border: 1px solid #c00;
    padding: 8px;
    margin: 8px 0;
}

/* Admin badge */
.badge--admin {
    font-size: 0.6em;
    vertical-align: middle;
}

/* Reset password success */
.text-success-msg {
    color: green;
}

/* eCert registration */
.form-control--readonly-display {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}