/* Only the approved hero/counter, native controls and requested partner display. */
.sigma-home {
    --home-navy: #0b2154;
    --home-red: #d81324;
    --home-ink: #263348;
    --home-muted: #586474;
    --home-line: #dfe3e9;
    --home-grey: #f2f2f2;
}
.sigma-home .home-hero { color: var(--home-ink); -webkit-font-smoothing: antialiased; }
.sigma-home .home-hero h1 {
    color: var(--home-navy); font-family: Barlow, Arial, sans-serif;
    font-weight: 700; letter-spacing: -.025em;
}
.sigma-home .home-hero p { line-height: 1.75; }
.sigma-home [hidden] { display: none !important; }
.sigma-home .navbar-light.sticky-top { top: 0; }
.sigma-home .navbar .nav-item.show .dropdown-menu {
    top: 100%; opacity: 1; visibility: visible;
}
.sigma-home .navbar .dropdown-toggle { cursor: pointer; }
.sigma-home .navbar-brand img { max-width: 100%; object-fit: contain; }
.sigma-home .back-to-top::before { content: '↑'; font-size: 25px; line-height: 1; }
.sigma-home .back-to-top i { display: none; }
.sigma-home :focus-visible { outline: 3px solid #8f0d19; outline-offset: 5px; }
.sigma-home .navbar a:focus-visible { outline: 3px solid #8f0d19; outline-offset: 3px; }
.sigma-home .footer :focus-visible { outline-color: #fff; }
.home-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.home-skip-link {
    position: fixed; top: 12px; left: 16px; z-index: 2000;
    padding: 12px 20px; background: var(--home-navy); color: #fff;
    transform: translateY(-180%);
}
.home-skip-link:focus { transform: translateY(0); color: #fff; }
.home-container { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.home-eyebrow {
    display: flex; align-items: center; gap: 11px; margin: 0 0 18px;
    color: var(--home-red); font-size: 12px; font-weight: 500;
    letter-spacing: .13em; text-transform: uppercase; line-height: 1.4 !important;
}
.home-eyebrow::before { content: ''; width: 25px; height: 2px; background: currentColor; flex-shrink: 0; }
.home-text-link,
.home-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 13px;
    font-size: 14px; font-weight: 500; line-height: 1.45; text-decoration: none;
}
.home-text-link { color: var(--home-red); justify-content: flex-start; }
.home-text-link svg,
.home-button svg,
.home-icon-button svg {
    width: 20px; height: 20px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.7;
    stroke-linecap: round; stroke-linejoin: round;
}
.home-text-link:hover { color: var(--home-navy); text-decoration: underline; text-underline-offset: 5px; }
.home-button { min-height: 52px; padding: 14px 19px; border: 1px solid; border-radius: 3px; transition: background-color .2s, color .2s; }
.home-button-primary { color: #fff; background: var(--home-red); border-color: var(--home-red); }
.home-button-primary:hover { color: #fff; background: #b10f1e; border-color: #b10f1e; }
.home-button-outline { color: var(--home-navy); background: transparent; border-color: #bcc4d1; }
.home-button-outline:hover { color: #fff; background: var(--home-navy); border-color: var(--home-navy); }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-hero { padding: 64px 0 68px; background: #fff; }
.home-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 58px; }
.home-hero-copy { min-width: 0; padding-block: 16px; }
.sigma-home main .home-hero h1 { font-size: clamp(40px, 4.15vw, 60px); line-height: 1.06; margin: 0 0 24px; }
.home-hero h1 span { color: var(--home-red); }
.home-hero-intro { color: var(--home-muted); font-size: 17px; max-width: 490px; margin: 0; }
.home-hero-note { color: var(--home-muted); font-size: 12px; margin: 23px 0 0; letter-spacing: .025em; }
.home-hero-note span { color: var(--home-red); margin-inline: 9px; }
.home-hero-carousel {
    min-width: 0; border: 1px solid var(--home-line); border-radius: 5px;
    background: #fff; box-shadow: 0 14px 40px rgb(11 33 84 / 8%);
}
.home-hero-photos { overflow: hidden; border-radius: 4px 4px 0 0; aspect-ratio: 16 / 9; background: #eef1f4; }
.home-hero-slide { margin: 0; width: 100%; }
.home-hero-slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.home-hero-footer { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 20px 23px; }
.home-hero-caption { min-width: 0; }
.home-hero-caption > span { color: var(--home-red); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.home-hero-caption p { font-size: 14px; font-weight: 500; line-height: 1.4 !important; margin: 4px 0 0; color: var(--home-navy); }
.home-hero-controls { display: flex; gap: 5px; flex-shrink: 0; }
.home-icon-button,
.home-play-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 8px;
    color: var(--home-navy); background: #fff; border: 1px solid var(--home-line); border-radius: 3px;
    cursor: pointer; transition: background-color .2s, color .2s;
}
.home-play-button { min-width: 58px; font-size: 12px; }
.home-icon-button:hover,
.home-play-button:hover { color: #fff; background: var(--home-red); border-color: var(--home-red); }
.home-icon-button:disabled { opacity: .4; cursor: default; }
.home-hero-dots { display: flex; justify-content: center; gap: 4px; padding: 0 16px 10px; margin-top: -7px; }
.home-hero-dot { display: grid; place-items: center; width: 32px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.home-hero-dot span { display: block; height: 4px; width: 22px; background: #7b8798; border-radius: 2px; }
.home-hero-dot[aria-current="true"] span { background: var(--home-red); }
.home-enhanced-controls { display: none; }
.is-enhanced .home-enhanced-controls { display: flex; }
.home-impact { background: var(--home-navy); color: #fff; padding-block: 34px; }
.home-statistics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.home-stat { display: flex; flex-direction: column-reverse; align-items: flex-start; padding: 0 32px; border-left: 1px solid #334875; }
.home-stat:first-child { border-left: 0; padding-left: 0; }
.home-stat:last-child { padding-right: 0; }
.home-stat dd { font: 700 44px/1.05 Barlow, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; }
.home-stat dt { color: #e1e7f2; font-size: 13px; line-height: 1.5; font-weight: 400; max-width: 210px; }
.home-about-copy > p:not(.home-eyebrow) { color: var(--home-muted); font-size: 15px; }
.home-about-copy .home-text-link { margin-top: 9px; }
.home-section-heading p:not(.home-eyebrow) { color: var(--home-muted); font-size: 15px; margin: 0 0 12px; }
.home-section-heading > .home-text-link { flex-shrink: 0; margin-bottom: 3px; }
.home-service-card .home-text-link { margin-top: auto; font-size: 13px; }
.home-card-body .home-text-link { margin-top: auto; font-size: 13px; }
.home-ai-feature .home-eyebrow { font-size: 10px; margin-bottom: 8px; }
.home-ai-feature p:not(.home-eyebrow) { font-size: 13px; color: var(--home-muted); max-width: 620px; margin-bottom: 0; }
.home-ai-feature .home-text-link { font-size: 13px; }
.home-scroll-track {
    display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c4cbd5 transparent;
    padding: 3px 0 13px; min-width: 0;
}
.home-scroll-track > [data-carousel-item] { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start; }
.home-scroll-track:focus-visible { outline-offset: 6px; }
.home-scroll-track img { display: block; width: 100%; height: auto; }
.home-track-status { color: var(--home-muted); font-size: 12px; margin: 0; font-variant-numeric: tabular-nums; }
.home-control-buttons { display: flex; gap: 7px; }
.home-contact .home-eyebrow { color: #ff9ba4; }
.home-contact p:not(.home-eyebrow) { color: #d7dfed; font-size: 15px; margin-bottom: 20px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
.home-hero-grid { gap: 32px; grid-template-columns: 1fr 1fr; }
.home-hero-footer { padding: 15px; gap: 10px; }
.home-hero-caption p { font-size: 12px; }
.home-hero-caption > span { font-size: 9px; }
.home-hero-controls { gap: 3px; }
}
@media (max-width: 991.98px) {
.home-container { width: calc(100% - 48px); }
.home-hero { padding-block: 42px 54px; }
.home-hero-grid { grid-template-columns: 1fr; gap: 28px; }
.home-hero-copy { max-width: 680px; padding-block: 0; }
.sigma-home main .home-hero h1 { font-size: clamp(40px, 6vw, 57px); }
.home-hero-intro { max-width: 600px; }
.home-hero-carousel { max-width: 780px; width: 100%; }
.home-hero-note { margin-top: 19px; }
.home-stat { padding-inline: 20px; }
.home-stat dd { font-size: 38px; }
.home-stat dt { font-size: 12px; }
.home-ai-feature > .home-text-link { grid-column: 2; }
}
@media (max-width: 767.98px) {
.home-container { width: calc(100% - 36px); }
.home-statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
.home-stat { padding-inline: 24px; }
.home-stat:nth-child(3) { padding-left: 0; border-left: 0; }
.home-stat:nth-child(even) { padding-right: 0; }
.home-stat dd { font-size: 39px; }
.home-stat dt { font-size: 12px; max-width: 190px; }
.home-contact-grid > .home-button { justify-self: start; }
}
@media (max-width: 575.98px) {
.home-eyebrow { font-size: 11px; letter-spacing: .1em; }
.home-hero { padding-block: 34px 42px; }
.sigma-home main .home-hero h1 { font-size: clamp(34px, 8.7vw, 48px); }
.home-hero-intro { font-size: 15px; }
.home-actions { gap: 10px; }
.home-button { font-size: 12px; padding-inline: 13px; gap: 8px; }
.home-button svg { width: 17px; height: 17px; }
.home-hero-note { font-size: 10px; letter-spacing: 0; }
.home-hero-note span { margin-inline: 5px; }
.home-hero-footer { padding: 15px 12px; align-items: flex-start; gap: 10px; }
.home-hero-caption p { font-size: 12px; }
.home-hero-caption > span { font-size: 9px; }
.home-hero-controls { gap: 3px; }
.home-hero-controls .home-icon-button { min-width: 36px; padding-inline: 5px; }
.home-hero-controls .home-play-button { min-width: 47px; font-size: 11px; padding-inline: 6px; }
.home-ai-feature > .home-text-link { grid-column: 1; }
.home-scroll-track > [data-carousel-item] { flex-basis: 100%; }
.home-track-status { font-size: 11px; }
.sigma-home .back-to-top { right: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
.sigma-home *,
.sigma-home *::before,
.sigma-home *::after {
        animation: none !important; transition: none !important; scroll-behavior: auto !important;
    }
}

/* Partner-only refresh: a compact row in the original red/white/navy style. */
.restored-partners .restored-partner-track {
    gap: 20px; padding: 3px 0 12px; align-items: stretch;
}
.restored-partners .restored-partner-track > [data-carousel-item] {
    flex: 0 0 calc((100% - 80px) / 5);
    min-width: 0; height: 148px; padding: 22px 18px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid #e3e3e3; border-radius: 2px;
}
.restored-partners .restored-partner-item img {
    display: block; width: auto; height: auto;
    max-width: 100%; max-height: 102px; object-fit: contain;
}
.restored-partners .restored-partner-controls {
    justify-content: space-between; align-items: center; gap: 16px; margin-top: 15px;
}
@media (max-width: 991.98px) {
    .restored-partners .restored-partner-track > [data-carousel-item] {
        flex-basis: calc((100% - 40px) / 3);
    }
}
@media (max-width: 575.98px) {
    .restored-partners .restored-partner-track { gap: 14px; }
    .restored-partners .restored-partner-track > [data-carousel-item] {
        flex-basis: calc((100% - 14px) / 2); height: 132px; padding: 18px 14px;
    }
    .restored-partners .restored-partner-item img { max-height: 94px; }
    .restored-partners .home-track-status { font-size: 10px; }
}

/* Modern Our DNA carousel */
.dna-modern-section {
    position: relative;
    overflow: hidden;
    padding: 54px 0 58px;
    background: #0b2154;
    isolation: isolate;
}
.dna-modern-section::before {
    content: "";
    position: absolute;
    inset: -4%;
    z-index: -2;
    background: url("../assets/img/home/dna/dna-team-bg.webp") center 46% / cover no-repeat;
    transform: scale(1.08);
    animation: dnaBackgroundZoomOut 12s ease-out forwards;
    will-change: transform;
}
.dna-modern-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .72));
    pointer-events: none;
}
@keyframes dnaBackgroundZoomOut {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}
.dna-modern-section .container { position: relative; z-index: 1; }
.dna-modern-heading { max-width: 920px; margin: 0 auto 30px; }
.dna-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.dna-modern-heading h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Barlow", sans-serif;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    text-shadow: 0 2px 18px rgba(0,0,0,.22);
}
.dna-modern-carousel .owl-stage { display: flex; padding: 8px 0 18px; }
.dna-modern-carousel .owl-item { display: flex; }
.dna-card {
    position: relative;
    width: 100%;
    min-height: 250px;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    text-align: left !important;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(0,0,0,.20);
    backdrop-filter: blur(4px);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.dna-card:hover,
.dna-modern-carousel .owl-item.center .dna-card {
    transform: translateY(-4px);
    border-color: rgba(220, 19, 38, .48);
    box-shadow: 0 20px 44px rgba(0,0,0,.27);
}
.dna-card-topline {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #dc1326 0 62%, #10265b 62% 100%);
}
.dna-card-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #9aa3b4;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}
.dna-icon-badge {
    width: 82px;
    height: 82px;
    margin: 3px 0 18px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #dc1326;
    box-shadow: 0 10px 22px rgba(220, 19, 38, .22);
}
.dna-icon-badge img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain;
    display: block;
}
.dna-card h3 {
    margin: 0 0 8px;
    max-width: 330px;
    color: #10265b;
    font-family: "Barlow", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}
.dna-card p {
    margin: 0;
    max-width: 310px;
    color: #626b79;
    font-size: 13px;
    line-height: 1.5;
}
.dna-modern-carousel.testimonial-carousel .owl-dots {
    margin-top: 10px;
    align-items: center;
    gap: 7px;
}
.dna-modern-carousel.testimonial-carousel .owl-dot {
    width: 22px;
    height: 5px;
    margin: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255,255,255,.48);
    transition: width .3s ease, background .3s ease;
}
.dna-modern-carousel.testimonial-carousel .owl-dot.active {
    width: 40px;
    background: #dc1326;
}
@media (prefers-reduced-motion: reduce) {
    .dna-modern-section::before { animation: none; transform: scale(1); }
}
@media (max-width: 767.98px) {
    .dna-modern-section { padding: 42px 0 46px; }
    .dna-modern-heading { margin-bottom: 24px; }
    .dna-modern-heading h2 { font-size: clamp(28px, 8vw, 38px); }
    .dna-card { min-height: 235px; padding: 24px 20px 20px; }
    .dna-icon-badge { width: 76px; height: 76px; border-radius: 7px; }
    .dna-icon-badge img { width: 54px !important; height: 54px !important; }
    .dna-card h3 { font-size: 19px; }
}


/* Modern homepage contact / certification section */
.home-contact-modern {
    padding: 70px 0;
    background: #f4f5f7;
}
.home-contact-shell {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    overflow: hidden;
    min-height: 460px;
    background: #fff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 24px 55px rgba(15, 34, 78, .10);
}
.home-contact-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 58px;
    color: #fff;
    background: #10265b;
    overflow: hidden;
}
.home-contact-copy::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -125px;
    border: 44px solid rgba(255,255,255,.035);
    border-radius: 50%;
}
.home-contact-kicker,
.home-contact-card-head > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #dc1326;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.home-contact-kicker::before,
.home-contact-card-head > span::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}
.home-contact-copy h2 {
    margin: 0 0 22px;
    max-width: 560px;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.02;
}
.home-contact-copy h2 span { color: #fff; }
.home-contact-copy p {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 570px;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.75;
}
.home-contact-accent {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}
.home-contact-accent span:first-child { width: 54px; height: 4px; background: #dc1326; }
.home-contact-accent span:last-child { width: 18px; height: 4px; background: rgba(255,255,255,.35); }
.home-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 58px;
    background: #fff;
}
.home-contact-card-head { margin-bottom: 26px; }
.home-contact-card-head > span { margin-bottom: 10px; }
.home-contact-card-head h3 {
    margin: 0 0 8px;
    color: #10265b;
    font-family: "Barlow", sans-serif;
    font-size: 38px;
    font-weight: 700;
}
.home-contact-card-head p {
    margin: 0;
    color: #697386;
    font-size: 15px;
}
.home-contact-modern .form-control {
    min-height: 56px;
    border: 1px solid #d9dee7;
    border-radius: 0;
    background: #f8f9fb;
    color: #10265b;
    padding: 15px 17px;
    font-size: 15px;
    box-shadow: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.home-contact-modern textarea.form-control { min-height: 128px; resize: vertical; }
.home-contact-modern .form-control:focus {
    border-color: #dc1326;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220,19,38,.08);
}
.home-contact-modern .help-block { margin: 4px 0 0; min-height: 0; font-size: 12px; }
.home-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 190px;
    margin-top: 8px;
    padding: 16px 24px;
    border: 1px solid #dc1326;
    border-radius: 0;
    background: #dc1326;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.home-contact-submit span { font-size: 22px; line-height: 1; transition: transform .2s ease; }
.home-contact-submit:hover {
    background: #10265b;
    border-color: #10265b;
    transform: translateY(-2px);
}
.home-contact-submit:hover span { transform: translateX(4px); }
@media (max-width: 991.98px) {
    .home-contact-shell { grid-template-columns: 1fr; }
    .home-contact-copy, .home-contact-card { padding: 48px 38px; }
    .home-contact-copy { min-height: 340px; }
}
@media (max-width: 575.98px) {
    .home-contact-modern { padding: 48px 0; }
    .home-contact-copy, .home-contact-card { padding: 38px 24px; }
    .home-contact-copy h2 { font-size: 36px; }
    .home-contact-card-head h3 { font-size: 32px; }
    .home-contact-submit { width: 100%; }
}

/* Sigma counter copy: single line on desktop, responsive on narrow screens. */
@media (min-width: 1200px) {
  .home-impact .home-statistics { grid-template-columns: 1.7fr .85fr .95fr 1.38fr; }
  .home-impact .home-stat { padding-inline: 15px; min-width: 0; }
  .home-impact .home-stat:first-child { padding-left: 0; }
  .home-impact .home-stat:last-child { padding-right: 0; }
  .home-impact .home-stat dt { max-width: none; font-size: clamp(10px, .88vw, 13px); white-space: nowrap; letter-spacing: -.12px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .home-impact .home-statistics { grid-template-columns: 1.8fr .85fr .95fr 1.37fr; }
  .home-impact .home-stat { padding-inline: 10px; min-width: 0; }
  .home-impact .home-stat dt { max-width: none; font-size: 10px; white-space: nowrap; letter-spacing: -.15px; }
}
/* Logos remain fully visible without cropping in the existing navigation. */
.navbar-brand img[src*="sigma-23rd-anniversary"] { object-fit: contain; max-width: min(303px, 60vw); height: auto; }
