/* BILOCO F76 | Corporate theme (DINCO-inspired editorial engineering style).
 * Every override is scoped to .theme-corporate; original theme remains untouched.
 * One declaration per line; no external fonts or JavaScript dependencies.
 */

/* ========== F76 CORPORATE 01: Tokens and site framework ========== */
.theme-corporate {
    --corp-primary: #102c3f;
    --corp-accent: #b65b16;
}
body.theme-corporate {
    --corp-ink: #172c3a;
    --corp-muted: #526371;
    --corp-line: #e1e5e8;
    --corp-paper: #f3f5f5;
    color: var(--corp-ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.theme-corporate *,
.theme-corporate *::before,
.theme-corporate *::after {
    box-sizing: border-box;
}
.theme-corporate img,
.theme-corporate picture {
    max-width: 100%;
}
.theme-corporate .site-header {
    height: 88px;
    background: #fff;
    border-bottom: 1px solid #edf0f1;
    box-shadow: 0 8px 30px rgba(7, 24, 36, .045);
}
.theme-corporate .header-inner {
    max-width: 1580px;
    min-height: 88px;
    padding-inline: clamp(18px, 4vw, 62px);
}
.theme-corporate .site-logo img {
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}
.theme-corporate .nav-link,
.theme-corporate .dropdown-toggle {
    color: var(--corp-ink);
    font-size: 13px;
    font-weight: 740;
}
.theme-corporate .nav-link:hover,
.theme-corporate .nav-link.is-active {
    color: var(--corp-accent);
}
.theme-corporate .nav-cta {
    border-radius: 3px;
    background: var(--corp-accent);
    border-color: var(--corp-accent);
    color: #fff;
    box-shadow: none;
    padding: 13px 17px;
}
.theme-corporate .language-native {
    border-radius: 3px;
}
.theme-corporate .language-native a,
.theme-corporate .translate-toggle {
    border-radius: 3px !important;
}
.theme-corporate .language-native a.active {
    background: var(--corp-primary);
    box-shadow: none;
}
.theme-corporate a:focus-visible,
.theme-corporate button:focus-visible,
.theme-corporate input:focus-visible,
.theme-corporate select:focus-visible {
    outline: 3px solid var(--corp-accent);
    outline-offset: 3px;
}

/* ========== F76 CORPORATE 02: Image-led homepage hero ========== */
.theme-corporate .corp-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(760px, calc(100vh - 88px));
    padding: 120px max(24px, calc((100% - 1380px) / 2));
    color: #fff;
    overflow: hidden;
    background: var(--corp-primary);
}
.theme-corporate .corp-hero-media,
.theme-corporate .corp-hero-scrim {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
}
.theme-corporate .corp-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.theme-corporate .corp-hero-scrim {
    background: linear-gradient(90deg, rgba(6, 27, 42, .92) 0%, rgba(11, 36, 52, .75) 42%, rgba(10, 30, 43, .16) 100%);
}
.theme-corporate .corp-hero-content {
    position: relative;
    max-width: 790px;
    padding-inline: 22px;
}
.theme-corporate .corp-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: #f0f4f5;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .16em;
}
.theme-corporate .corp-line {
    width: 46px;
    height: 3px;
    background: var(--corp-accent);
}
.theme-corporate .corp-eyebrow-divider {
    color: var(--corp-accent);
}
.theme-corporate .corp-hero h1 {
    max-width: 840px;
    margin: 0;
    font-size: clamp(43px, 5.8vw, 86px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.037em;
    text-wrap: balance;
    color: #fff;
}
.theme-corporate .corp-hero-description {
    max-width: 600px;
    margin: 28px 0 0;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.75;
    color: #e5e8eb;
}
.theme-corporate .corp-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}
.theme-corporate .corp-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.theme-corporate .corp-button:hover {
    transform: translateY(-2px);
}
.theme-corporate .corp-button-primary {
    border-color: var(--corp-accent);
    background: var(--corp-accent);
}
.theme-corporate .corp-button-outline {
    background: rgba(8, 26, 40, .25);
}
.theme-corporate .corp-hero-index {
    display: flex;
    position: absolute;
    right: clamp(18px, 5vw, 80px);
    bottom: 28px;
    gap: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

/* ========== F76 CORPORATE 03: Shared home section typography ========== */
.theme-corporate .biloco-home > .section:not(.contact-section) {
    padding: clamp(66px, 7vw, 112px) max(26px, calc((100% - 1320px) / 2));
}
.theme-corporate .corp-section-heading {
    min-width: 0;
    max-width: 780px;
}
.theme-corporate .corp-kicker {
    display: block;
    margin: 0 0 20px;
    color: var(--corp-accent);
    font-size: 12px;
    font-weight: 860;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
}
.theme-corporate .corp-section-heading h2,
.theme-corporate .corp-custom-section h2 {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 53px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    text-wrap: balance;
    color: var(--corp-primary);
}
.theme-corporate .corp-section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 42px;
}
.theme-corporate .corp-section-top > p {
    max-width: 310px;
    margin: 0;
    color: var(--corp-muted);
    line-height: 1.75;
}
.theme-corporate .corp-text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
    padding: 0 0 9px;
    border-bottom: 2px solid var(--corp-accent);
    color: var(--corp-primary);
    font-weight: 760;
    text-decoration: none;
}
.theme-corporate .corp-text-link:hover {
    color: var(--corp-accent);
}
.theme-corporate .corp-text-link > span {
    color: var(--corp-accent);
}

/* ========== F76 CORPORATE 04: About ========== */
.theme-corporate .corp-about {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr);
    gap: clamp(38px, 6vw, 100px);
    background: #fff;
}
.theme-corporate .corp-about-copy {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 22px;
}
.theme-corporate .corp-side-line {
    width: 58px;
    height: 4px;
    background: var(--corp-accent);
}
.theme-corporate .corp-about-copy p {
    margin: 0;
    color: var(--corp-muted);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.9;
}

/* ========== F76 CORPORATE 05: Services ========== */
.theme-corporate .corp-services {
    background: var(--corp-paper);
}
.theme-corporate .corp-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.theme-corporate .corp-service-tile {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}
.theme-corporate .corp-service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(9, 34, 47, .1);
}
.theme-corporate .corp-service-media {
    aspect-ratio: 1.65;
    overflow: hidden;
    background: #dee7ea;
}
.theme-corporate .corp-service-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.theme-corporate .corp-service-tile:hover .corp-service-media img {
    transform: scale(1.04);
}
.theme-corporate .corp-service-info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 26px 22px 31px;
}
.theme-corporate .corp-service-index {
    color: var(--corp-accent);
    font-weight: 850;
    font-size: 14px;
}
.theme-corporate .corp-service-info h3 {
    margin: 0 0 13px;
    font-size: clamp(18px, 1.55vw, 23px);
    font-weight: 770;
    line-height: 1.25;
    color: var(--corp-primary);
}
.theme-corporate .corp-service-info p {
    margin: 0;
    color: var(--corp-muted);
    font-size: 14px;
    line-height: 1.6;
}
.theme-corporate .corp-service-arrow {
    color: var(--corp-accent);
    font-size: 20px;
}

/* ========== F76 CORPORATE 06: Projects ========== */
.theme-corporate .corp-projects {
    background: #fff;
}
.theme-corporate .corp-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
}
.theme-corporate .corp-project-card {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.theme-corporate .corp-project-picture {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.55;
    background: #e7ecef;
}
.theme-corporate .corp-project-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.theme-corporate .corp-project-card:hover img {
    transform: scale(1.04);
}
.theme-corporate .corp-project-marker {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 15px;
    background: var(--corp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 770;
}
.theme-corporate .corp-project-info {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 3px solid transparent;
}
.theme-corporate .corp-project-info h3 {
    font-size: clamp(19px, 2vw, 26px);
    margin: 0 0 8px;
    color: var(--corp-primary);
    line-height: 1.35;
}
.theme-corporate .corp-project-info p {
    margin: 0;
    color: var(--corp-muted);
    font-size: 13px;
}
.theme-corporate .corp-project-info > span {
    color: var(--corp-accent);
    font-size: 24px;
}

/* ========== F78 CORPORATE 07: Compact process, number and title on one line ========== */
.theme-corporate .corp-process {
    background: var(--corp-primary);
    color: #fff;
}
.theme-corporate .corp-process .corp-section-heading h2 {
    color: #fff;
}
.theme-corporate .corp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .3);
}
.theme-corporate .corp-process-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    min-height: 92px;
    padding: 18px 16px;
    border-right: 1px solid rgba(255, 255, 255, .18);
}
.theme-corporate .corp-process-step:not(:first-child) {
    padding-left: 16px;
}
.theme-corporate .corp-process-step h3 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #fff;
    line-height: 1.4;
    font-size: 16px;
    font-weight: 750;
    overflow-wrap: break-word;
}
.theme-corporate .corp-process-step-badge {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: var(--corp-accent);
    color: #fff;
    font-size: 17px;
    font-weight: 850;
    line-height: 1;
}
.theme-corporate .corp-news {
    background: var(--corp-paper);
}
.theme-corporate .corp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.theme-corporate .corp-news-card {
    min-width: 0;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
.theme-corporate .corp-news-picture {
    aspect-ratio: 1.7;
    overflow: hidden;
    background: #dde5e8;
}
.theme-corporate .corp-news-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-corporate .corp-news-copy {
    padding: 23px 22px 26px;
}
.theme-corporate .corp-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--corp-muted);
    font-size: 12px;
}
.theme-corporate .corp-news-copy h3 {
    margin: 13px 0 24px;
    font-size: 19px;
    line-height: 1.4;
    color: var(--corp-primary);
}
.theme-corporate .corp-custom-section {
    background: #fff;
}
.theme-corporate .corp-custom-section p {
    max-width: 850px;
    line-height: 1.75;
    color: var(--corp-muted);
}

/* ========== F76 CORPORATE 08: Existing shared contact + footer ========== */
.theme-corporate .contact-section {
    background: #e9eef0;
    border: 0;
}
.theme-corporate .contact-section h2 {
    color: var(--corp-primary);
}
.theme-corporate .lead-form,
.theme-corporate .contact-company-mini {
    border-radius: 3px;
    box-shadow: 0 12px 30px rgba(10, 32, 47, .06);
}
.theme-corporate .lead-form input,
.theme-corporate .lead-form select,
.theme-corporate .lead-form textarea {
    border-radius: 3px;
}
.theme-corporate .lead-form button[type=submit] {
    border-radius: 3px;
    background: var(--corp-accent);
    border-color: var(--corp-accent);
}
.theme-corporate .site-footer {
    background: var(--corp-primary);
}
.theme-corporate .mobile-actions a.primary {
    background: var(--corp-accent);
}

/* ========== F76 CORPORATE 09: All existing subpage types ========== */
.theme-corporate .page-hero,
.theme-corporate .listing-hero,
.theme-corporate .article-hero,
.theme-corporate .search-hero {
    position: relative;
    padding: clamp(64px, 6vw, 110px) max(24px, calc((100% - 1320px) / 2));
    background: linear-gradient(118deg, var(--corp-primary) 0%, #315465 100%);
    color: #fff;
    border: 0;
    border-radius: 0;
}
.theme-corporate .page-hero::after,
.theme-corporate .listing-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 9%;
    height: 100%;
    width: 2px;
    background: rgba(255,255,255,.1);
    pointer-events: none;
}
.theme-corporate .page-hero h1,
.theme-corporate .listing-hero h1,
.theme-corporate .article-hero h1,
.theme-corporate .search-hero h1 {
    color: #fff;
    font-size: clamp(35px, 4.8vw, 66px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.028em;
    text-wrap: balance;
}
.theme-corporate .article-hero.article-detail-hero h1 {
    font-size: clamp(31px, 4vw, 54px);
}
.theme-corporate .page-hero p,
.theme-corporate .listing-hero p,
.theme-corporate .article-hero p,
.theme-corporate .search-hero p {
    color: #e0e9ec;
}
.theme-corporate .section-kicker {
    color: var(--corp-accent);
    letter-spacing: .14em;
}
.theme-corporate .page-hero .section-kicker,
.theme-corporate .listing-hero .section-kicker {
    color: #f0ac64;
}
.theme-corporate main > .section,
.theme-corporate main > .content-section {
    max-width: none;
}
.theme-corporate .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.theme-corporate .project-card,
.theme-corporate .service-card,
.theme-corporate .news-list-item,
.theme-corporate .news-feature,
.theme-corporate .news-small {
    border-radius: 3px;
    overflow: hidden;
    border-color: var(--corp-line);
    box-shadow: none;
}
.theme-corporate .project-card:hover,
.theme-corporate .service-card:hover,
.theme-corporate .news-list-item:hover {
    box-shadow: 0 16px 30px rgba(6, 29, 42, .09);
}
.theme-corporate .project-card h3,
.theme-corporate .service-card h3,
.theme-corporate .news-list-copy h2 {
    color: var(--corp-primary);
}
.theme-corporate .project-visual,
.theme-corporate .service-card-media,
.theme-corporate .news-list-image {
    background: #e3eaed;
}
.theme-corporate .project-list-head a,
.theme-corporate .pagination a,
.theme-corporate .pagination span {
    border-radius: 3px;
}
.theme-corporate .project-list-head a.active,
.theme-corporate .pagination .active {
    border-color: var(--corp-accent);
    background: var(--corp-accent);
    color: #fff;
}
.theme-corporate .content-main-with-sidebar {
    gap: clamp(24px, 4vw, 65px);
}
.theme-corporate .prose,
.theme-corporate .content-reading-shell {
    line-height: 1.85;
}
.theme-corporate .prose h2,
.theme-corporate .prose h3 {
    color: var(--corp-primary);
}
.theme-corporate .blc-detail-featured img {
    width: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 3px;
}
.theme-corporate .section-title h2 {
    color: var(--corp-primary);
}
.theme-corporate .share-bar a,
.theme-corporate .share-bar button {
    border-radius: 3px;
}

/* ========== F76 CORPORATE 10: Tablet & mobile ========== */
@media (max-width: 1100px) {
    .theme-corporate .corp-service-grid,
    .theme-corporate .corp-news-grid,
    .theme-corporate .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .theme-corporate .corp-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .theme-corporate .corp-process-step:nth-child(even) {
        border-right: 0;
    }
}
@media (max-width: 980px) {
    .theme-corporate .site-header,
    .theme-corporate .header-inner {
        min-height: 76px;
        height: 76px;
    }
    .theme-corporate .main-nav {
        top: 76px;
        background: #fff;
    }
    .theme-corporate .corp-hero {
        min-height: 610px;
        padding-block: 95px;
    }
    .theme-corporate .corp-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
}
@media (max-width: 700px) {
    .theme-corporate .corp-hero {
        min-height: 630px;
        padding: 78px 20px 86px;
        align-items: center;
    }
    .theme-corporate .corp-hero-content {
        padding-inline: 0;
    }
    .theme-corporate .corp-hero-scrim {
        background: linear-gradient(0deg, rgba(7, 27, 42, .94) 0%, rgba(7, 27, 42, .74) 54%, rgba(8, 27, 39, .32) 100%);
    }
    .theme-corporate .corp-hero h1 {
        font-size: clamp(35px, 9vw, 48px);
    }
    .theme-corporate .corp-hero-description {
        font-size: 16px;
    }
    .theme-corporate .corp-hero-buttons {
        gap: 10px;
    }
    .theme-corporate .corp-button {
        padding: 12px 15px;
        gap: 10px;
        min-height: 46px;
        font-size: 13px;
    }
    .theme-corporate .corp-hero-index {
        right: 20px;
        bottom: 18px;
    }
    .theme-corporate .biloco-home > .section:not(.contact-section) {
        padding: 62px 18px;
    }
    .theme-corporate .corp-section-top {
        align-items: start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 25px;
    }
    .theme-corporate .corp-service-grid,
    .theme-corporate .corp-news-grid,
    .theme-corporate .corp-project-grid,
    .theme-corporate .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .theme-corporate .corp-process-grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 28px;
    }
    /* F78: Keep the orange number circle on the left of the heading on phones. */
    .theme-corporate .corp-process-step,
    .theme-corporate .corp-process-step:not(:first-child) {
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 13px 0;
        gap: 12px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }
    .theme-corporate .corp-process-step h3 {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
    }
    .theme-corporate .corp-process-step-badge {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .theme-corporate .page-hero,
    .theme-corporate .listing-hero,
    .theme-corporate .article-hero,
    .theme-corporate .search-hero {
        padding: 54px 18px;
    }
    .theme-corporate .article-hero.article-detail-hero {
        padding: 28px 18px;
    }
    .theme-corporate .page-hero h1,
    .theme-corporate .listing-hero h1 {
        font-size: clamp(31px, 8vw, 43px);
    }
    .theme-corporate .contact-section {
        padding: 54px 18px 78px;
    }
    .theme-corporate .project-grid {
        gap: 18px;
    }
    .theme-corporate .mobile-actions {
        background: #fff;
    }
}
@media (prefers-reduced-motion: reduce) {
    .theme-corporate .corp-service-tile,
    .theme-corporate .corp-service-media img,
    .theme-corporate .corp-project-picture img,
    .theme-corporate .corp-button {
        transition: none;
    }
}

/* ========================================================================
 * BILOCO F79 CORPORATE HEADER + FOOTER
 * Mobile header: left navigation / true-centred logo / language & search right.
 * Footer: editable project CTA, clearer brand hierarchy and responsive columns.
 * Scoped to Theme 02; Theme 01 HTML/CSS behaviour is unchanged.
 * ======================================================================== */

/* BILOCO F79 [CORPORATE FOOTER] Introductory project contact band */
.theme-corporate .site-footer {
    position: relative;
    overflow: hidden;
    background: var(--corp-primary);
    color: #f3f7f8;
}
.theme-corporate .corp-footer-intro {
    position: relative;
    background: linear-gradient(113deg, #19394c 0%, var(--corp-primary) 76%);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    overflow: hidden;
}
.theme-corporate .corp-footer-intro::after {
    content: "";
    position: absolute;
    right: -130px;
    top: -180px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 50%;
    pointer-events: none;
}
.theme-corporate .corp-footer-intro-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    max-width: 1460px;
    margin: 0 auto;
    padding: 54px clamp(22px, 5vw, 68px);
}
.theme-corporate .corp-footer-intro-copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 775px;
}
.theme-corporate .corp-footer-kicker {
    display: block;
    margin-bottom: 10px;
    color: #e99b57;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
}
.theme-corporate .corp-footer-intro h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.16;
    letter-spacing: -.028em;
    overflow-wrap: anywhere;
}
.theme-corporate .corp-footer-intro p {
    margin: 13px 0 0;
    color: #b9c9d0;
    font-size: 15px;
    line-height: 1.7;
}
.theme-corporate .corp-footer-contact-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 52px;
    padding: 13px 19px;
    border: 1px solid var(--corp-accent);
    border-radius: 4px;
    background: var(--corp-accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 760;
    transition: filter .18s ease, transform .18s ease;
}
.theme-corporate .corp-footer-contact-cta:hover {
    color: #fff;
    filter: brightness(1.12);
    transform: translateY(-2px);
    text-decoration: none;
}
.theme-corporate .corp-footer-contact-cta span {
    font-size: 20px;
    line-height: 1;
}

/* BILOCO F79 [CORPORATE FOOTER] Company / navigation / contact columns */
.theme-corporate .site-footer .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, .72fr) minmax(0, .72fr);
    gap: clamp(26px, 4vw, 68px);
    max-width: 1460px;
    margin: 0 auto;
    padding: 58px clamp(22px, 5vw, 68px) 52px;
}
.theme-corporate .site-footer .footer-company-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
}
.theme-corporate .site-footer .footer-brand-logo {
    width: 92px;
    height: 92px;
    max-width: 92px;
    max-height: 92px;
    padding: 8px;
    border-radius: 5px;
    box-shadow: none;
}
.theme-corporate .footer-company-copy > strong {
    max-width: 440px;
    color: #fff;
    font-size: 17px;
    font-weight: 790;
    line-height: 1.45;
}
.theme-corporate .footer-company-copy > p:not(.company-info-row) {
    margin-bottom: 8px;
}
.theme-corporate .footer-company-copy .footer-muted,
.theme-corporate .footer-company-copy .footer-hotline {
    color: #bacbd3;
    font-size: 13px;
    line-height: 1.65;
}
.theme-corporate .site-footer .company-info-row {
    margin: 9px 0 !important;
    gap: 10px;
}
.theme-corporate .site-footer .company-info-icon {
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .17);
}
.theme-corporate .site-footer .footer-grid > div:not(.footer-company-card) > b {
    display: block;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 15px;
    font-weight: 790;
}
.theme-corporate .site-footer .footer-explore > a,
.theme-corporate .site-footer .footer-direct-contact > a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 15px;
    padding: 0;
    color: #c4d2d9;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.theme-corporate .site-footer .footer-explore > a:hover,
.theme-corporate .site-footer .footer-direct-contact > a:hover {
    color: #fff;
    text-decoration: underline;
}
.theme-corporate .site-footer .footer-explore .footer-consultation-link {
    display: inline-flex !important;
    width: fit-content;
    min-height: 42px;
    margin-top: 7px !important;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .27);
    border-radius: 4px;
    background: transparent;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}
.theme-corporate .site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1460px;
    margin: 0 auto !important;
    padding: 21px clamp(22px, 5vw, 68px);
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: transparent;
    color: #aebfc7;
    font-size: 12px;
}
.theme-corporate .site-footer .footer-bottom a {
    color: #dce6eb;
    text-decoration: none;
}

/* BILOCO F79 [CORPORATE MOBILE HEADER] Same controls at all <=1100px widths */
@media (max-width: 1100px) {
    .theme-corporate .site-header,
    .theme-corporate .header-inner {
        height: 70px !important;
        min-height: 70px !important;
    }
    .theme-corporate .header-inner {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        max-width: none;
        padding: 0 14px;
    }
    .theme-corporate .header-inner > .site-logo {
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        max-width: min(172px, calc(100vw - 210px));
        min-width: 0;
        margin: 0;
        transform: translate(-50%, -50%);
    }
    .theme-corporate .site-logo img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 51px;
        height: auto;
        object-fit: contain;
    }
    .theme-corporate .header-inner > .menu-toggle {
        order: -1;
        margin-right: auto;
        display: flex;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 11px;
        border: 1px solid #e2e9ec;
        border-radius: 4px;
        background: #fff;
        color: var(--corp-primary);
        touch-action: manipulation;
        z-index: 4;
    }
    .theme-corporate .header-inner > .menu-toggle span {
        width: 21px;
        height: 2px;
        border-radius: 2px;
        background: var(--corp-primary);
    }
    .theme-corporate .header-inner > .menu-toggle[aria-expanded="true"] {
        border-color: var(--corp-accent);
    }
    .theme-corporate .header-mobile-tools.corp-mobile-tools {
        order: 2;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 5px;
        margin: 0 0 0 auto;
        z-index: 5;
    }
    .theme-corporate .corp-mobile-tools .corp-language-toggle,
    .theme-corporate .corp-mobile-tools .corp-mobile-search {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #e2e9ec;
        border-radius: 4px;
        background: #fff;
        color: var(--corp-primary);
        line-height: 1;
        text-decoration: none;
    }
    .theme-corporate .corp-mobile-tools .corp-language-toggle {
        gap: 3px;
        font-size: 12px;
        font-weight: 820;
        cursor: pointer;
    }
    .theme-corporate .corp-mobile-tools .corp-language-toggle svg {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }
    .theme-corporate .corp-mobile-tools .corp-mobile-search svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .theme-corporate .corp-mobile-tools .corp-mobile-search.is-active,
    .theme-corporate .corp-mobile-language.open .corp-language-toggle {
        border-color: var(--corp-accent);
        color: var(--corp-accent);
    }
    .theme-corporate .corp-mobile-tools .corp-language-menu {
        top: calc(100% + 10px);
        right: -49px;
        width: min(302px, calc(100vw - 24px));
        max-height: min(430px, calc(100dvh - 95px));
        padding: 11px;
        border-radius: 8px;
        border-color: #d9e3e7;
        box-shadow: 0 15px 44px rgba(7, 29, 43, .2);
    }
    .theme-corporate .corp-language-menu .corp-native-language {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 40px;
        border-radius: 5px;
    }
    .theme-corporate .corp-language-menu .corp-native-language.active {
        background: #edf4f4;
        color: var(--corp-primary);
    }
    .theme-corporate .corp-language-menu .translate-menu-title {
        grid-column: 1 / -1;
        margin: 3px 2px 5px;
        padding-bottom: 7px;
        border-bottom: 1px solid #e5ebee;
        color: var(--corp-muted);
        font-size: 11px;
        font-weight: 810;
    }
    .theme-corporate .corp-language-menu .corp-other-languages {
        margin-top: 10px;
    }
    .theme-corporate .main-nav {
        top: var(--mobile-header-height, 70px) !important;
        padding-top: 17px !important;
        border-color: #e4eaed !important;
        background: #fff;
    }
    .theme-corporate .main-nav .mobile-nav-list .nav-link.is-active,
    .theme-corporate .main-nav .mobile-nav-list .dropdown-toggle.is-active {
        border-left: 3px solid var(--corp-accent);
        background: #f5f7f6;
        color: var(--corp-primary);
    }
    .theme-corporate .site-footer .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px 36px;
    }
    .theme-corporate .site-footer .footer-company-card {
        grid-column: 1 / -1;
    }
}

/* BILOCO F79 [CORPORATE MOBILE FOOTER] Compact readable stack */
@media (max-width: 700px) {
    .theme-corporate .header-inner > .site-logo {
        max-width: min(138px, calc(100vw - 204px));
    }
    .theme-corporate .corp-footer-intro-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 40px 19px 42px;
    }
    .theme-corporate .corp-footer-intro h2 {
        font-size: clamp(27px, 7.2vw, 34px);
    }
    .theme-corporate .corp-footer-intro p {
        font-size: 14px;
        line-height: 1.7;
    }
    .theme-corporate .corp-footer-contact-cta {
        width: 100%;
        min-height: 49px;
    }
    .theme-corporate .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px;
        padding: 38px 19px 34px;
    }
    .theme-corporate .site-footer .footer-company-card {
        grid-column: auto;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
    }
    .theme-corporate .site-footer .footer-brand-logo {
        width: 72px;
        height: 72px;
        max-width: 72px;
        max-height: 72px;
        padding: 5px;
    }
    .theme-corporate .footer-company-copy > strong {
        font-size: 15px;
    }
    .theme-corporate .site-footer .footer-grid > div:not(.footer-company-card) > b {
        margin-bottom: 16px;
    }
    .theme-corporate .site-footer .footer-bottom {
        flex-wrap: wrap;
        padding: 19px 19px calc(21px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 359px) {
    .theme-corporate .header-inner {
        padding-inline: 10px;
    }
    .theme-corporate .header-inner > .site-logo {
        max-width: calc(100vw - 196px);
    }
    .theme-corporate .header-mobile-tools.corp-mobile-tools {
        gap: 3px;
    }
    .theme-corporate .corp-mobile-tools .corp-language-toggle,
    .theme-corporate .corp-mobile-tools .corp-mobile-search {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-corporate .corp-footer-contact-cta {
        transition: none;
    }
}

/* BILOCO F104 — remove vertical accent ONLY on service detail, expand title. */
.theme-corporate .page-hero.service-detail-hero::after {
    content: none;
    display: none;
}
.theme-corporate .page-hero.service-detail-hero > div {
    width: 100%;
    max-width: min(100%, 1180px);
    min-width: 0;
}
.theme-corporate .page-hero.service-detail-hero .service-hero-heading h1 {
    max-width: none;
    font-size: clamp(34px, 4.5vw, 60px);
    line-height: 1.11;
    overflow-wrap: break-word;
}
@media (max-width: 700px) {
    .theme-corporate .page-hero.service-detail-hero .service-hero-heading h1 {
        font-size: clamp(27px, 7.5vw, 42px);
        line-height: 1.13;
    }
}

/* BILOCO F105 — remove decorative hero line on public pages and listings.
 * The base ::after rule is retained for historical compatibility, overridden here.
 */
.theme-corporate .page-hero::after,
.theme-corporate .listing-hero::after {
    content: none;
    display: none;
}
body.theme-corporate > main > .page-hero > div,
body.theme-corporate > main > .article-hero.article-detail-hero .article-hero-shell {
    max-width: min(100%, 1240px);
}
