/* Shared public site styles — keep templates free of inline CSS */

.icon-fill {
    font-variation-settings: "FILL" 1;
}

.icon-sm {
    font-size: 12px;
}

.icon-md {
    font-size: 18px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 4px 20px rgba(27, 43, 68, 0.04);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #05162e, #1b2b44);
}

.ambient-shadow {
    box-shadow: 0 4px 30px rgba(27, 43, 68, 0.04);
}

.card-shadow {
    box-shadow: 0 4px 20px rgba(27, 43, 68, 0.04);
}

.bento-card {
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(27, 43, 68, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
    box-shadow: 0 10px 30px rgba(27, 43, 68, 0.08);
    transform: translateY(-2px);
    border-color: #c5c6ce;
}

.cta-primary {
    background-color: #FF6B35;
    color: #5d1900;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cta-primary:hover {
    background-color: #ab3500;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(171, 53, 0, 0.22);
}

.cta-primary:focus-visible,
.field-control:focus-visible,
.nav-link:focus-visible,
.lang-flag-btn:focus-visible {
    outline: 2px solid #1b2b44;
    outline-offset: 2px;
}

.field-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 0.25rem;
    padding: 0.75rem;
    font-size: 16px;
    line-height: 24px;
    color: #05162e;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-control:focus {
    border-color: #1b2b44;
    box-shadow: 0 0 0 1px #1b2b44;
    outline: none;
}

.filter-btn.active {
    background-color: #1b2b44;
    color: #fff;
    border-color: #1b2b44;
}

.card-hover:hover {
    box-shadow: 0 10px 30px rgba(27, 43, 68, 0.08);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.project-card.is-hidden {
    display: none;
}

[data-project-category].is-hidden,
[data-member-services].is-hidden {
    display: none;
}

/* Contact wizard: all steps stay visible without JS; the wizard collapses them under .js */
.form-step {
    transition: opacity 0.3s ease-in-out;
}

.js .form-step {
    display: none;
    opacity: 0;
}

.js .form-step.active {
    display: block;
    opacity: 1;
}

html:not(.js) .form-step [data-action],
html:not(.js) #progress-bar,
html:not(.js) #step-label {
    display: none;
}

html:not(.js) .form-step + .form-step {
    margin-top: 2rem;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.option-card {
    position: relative;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.option-radio {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.option-card-content {
    pointer-events: none;
}

.option-card.selected {
    border-color: #1b2b44;
    background-color: #f3f4f5;
    box-shadow: 0 4px 16px rgba(27, 43, 68, 0.06);
}

.option-card.selected .check-icon {
    opacity: 1;
}

.address-suggestions {
    max-height: 12rem;
    overflow-y: auto;
}

.address-suggestions[aria-busy="true"]::before {
    content: "";
    display: block;
    height: 0.5rem;
    margin: 0.75rem;
    border-radius: 0.25rem;
    background: linear-gradient(90deg, #edeeef 25%, #f8f9fa 50%, #edeeef 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.2s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.bg-contact-map {
    background-image: url("/static/img/contact-map.jpg");
}

.bg-home-hero {
    background-image: url("/static/img/hero-home.jpg");
}

.wizard-progress {
    width: var(--progress, 33.3333%);
}

/* Nav */
.nav-link {
    transition: color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-nav-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: min(22.5rem, calc(100vw - 1.5rem));
    max-height: min(78vh, 40rem);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(27, 43, 68, 0.16);
    padding: 0.5rem;
    z-index: 60;
}
.mobile-nav-dropdown__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #05162e;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
}
.mobile-nav-dropdown__row:hover,
.mobile-nav-dropdown__row:active {
    background: #f3f4f5;
}
.mobile-nav-dropdown__row.is-active {
    box-shadow: inset 0 -2px 0 #FF6B35;
}
.mobile-nav-dropdown__row--toggle .material-symbols-outlined {
    color: #64748b;
}
.mobile-nav-dropdown__services.is-collapsed .mobile-nav-dropdown__mega {
    display: none;
}
.mobile-nav-dropdown__mega {
    padding: 0 0.35rem 0.65rem;
}
.mobile-nav-dropdown__grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
}
.mobile-nav-dropdown__grid .mega-link {
    padding: 0.7rem;
    border: 1px solid #E2E8F0;
    background: #f8fafc;
}
.mobile-nav-dropdown__grid .mega-link:hover,
.mobile-nav-dropdown__grid .mega-link:active {
    background: #fff7f3;
    border-color: #ffd4c2;
}
.mobile-nav-dropdown__all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.55rem 0.35rem 0;
    padding: 0.35rem 0.15rem;
    color: #FF6B35;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
.mobile-nav-dropdown__all .material-symbols-outlined {
    font-size: 1.1rem;
}
.mobile-nav-dropdown__lang {
    padding: 0.35rem 0.5rem 0.5rem;
}
.mobile-nav-dropdown__lang .lang-dropdown {
    margin-left: 0;
    width: 100%;
}
.mobile-nav-dropdown__lang .lang-dropdown__btn {
    width: 100%;
    justify-content: center;
}
.mobile-nav-dropdown__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem 0.35rem 0.35rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-link.is-active {
    color: #1b2b44;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 #FF6B35;
}

/* Language flags */
.lang-flags {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.lang-flag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.lang-flag-btn:hover,
.lang-flag-btn:focus-visible {
    border-color: #1b2b44;
    background: #f3f4f5;
    outline: none;
}

.lang-flag-btn.is-active {
    border-color: #1b2b44;
    background: #e8edf3;
}

.site-footer-shell {
    width: 100%;
    background-color: #05162e;
}

.admin-gallery-thumb {
    height: 64px;
    margin: 4px;
    border-radius: 4px;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .bento-card:hover,
    .card-hover:hover,
    .cta-primary:hover {
        transform: none;
    }
}

.project-body ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.75rem 0;
}

.project-body li + li {
    margin-top: 0.35rem;
}

.project-body p + p,
.project-body p + ul,
.project-body ul + p {
    margin-top: 0.75rem;
}

/* Mega menu */
.site-nav {
    position: relative;
    z-index: 50;
}
.site-nav .nav-link,
.site-nav .mega-trigger,
.site-nav .lang-dropdown,
.site-nav .cta-primary {
    position: relative;
    z-index: 2;
}
.mega-item {
    position: relative;
    z-index: 1;
}
.mega-item.is-open {
    z-index: 3;
}
/* Hover bridge only as wide as the trigger — never cover sibling nav links. */
.mega-item::after {
    content: "";
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.6rem;
}
.mega-item.is-open::after {
    display: block;
}
.mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}
.mega-trigger__chevron {
    font-size: 1.1rem;
    transition: transform 0.15s ease;
}
.mega-item.is-open .mega-trigger__chevron {
    transform: rotate(180deg);
}
.mega-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    transform: none;
    width: max(28rem, 100%);
    min-width: 18rem;
    max-width: min(40rem, calc(100vw - 2rem));
    max-height: min(70vh, 32rem);
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(27, 43, 68, 0.12);
    padding: 0.75rem;
    z-index: 60;
    pointer-events: auto;
}
.mega-panel[hidden] {
    display: none !important;
    pointer-events: none !important;
}
.mega-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}
.mega-link {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: #05162e;
    text-decoration: none;
    transition: background-color 0.15s ease;
    min-width: 0;
}
.mega-link:hover {
    background: #f3f4f5;
}
.mega-link .material-symbols-outlined {
    color: #FF6B35;
    margin-top: 0.1rem;
    flex-shrink: 0;
    font-size: 1.35rem;
}
.mega-link strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}
.mega-link small {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #64748b;
    margin-top: 0.2rem;
    line-height: 1.35;
    font-size: 0.8rem;
}
.mega-link--cta {
    background: #f8fafc;
}

/* Hostinger-style language dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 0.5rem;
}
.lang-dropdown__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #E2E8F0;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem 0.35rem 0.55rem;
    cursor: pointer;
    color: #05162e;
    font-size: 0.875rem;
}
.lang-dropdown__flag {
    font-size: 1.1rem;
    line-height: 1;
}
.lang-dropdown__name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.lang-dropdown__option-code {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.lang-dropdown__chevron {
    font-size: 1rem;
    color: #64748b;
}
.lang-dropdown__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    min-width: 11rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px rgba(27, 43, 68, 0.12);
    padding: 0.35rem;
    z-index: 70;
}
.lang-dropdown__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lang-dropdown__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    background: transparent;
    border-radius: 0.5rem;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    color: #05162e;
    text-align: left;
}
.lang-dropdown__option:hover,
.lang-dropdown__option.is-active {
    background: #f3f4f5;
}

/* Service tile multi-select */
.service-tile-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}
.service-tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.service-tile__face {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    min-height: 4.5rem;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    padding: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.service-tile__face .material-symbols-outlined {
    color: #FF6B35;
}
.service-tile.is-selected .service-tile__face,
.service-tile input:checked + .service-tile__face {
    border-color: #1b2b44;
    background: #f3f4f5;
    box-shadow: 0 4px 14px rgba(27, 43, 68, 0.08);
}

/* How-it-works roadmap */
.how-roadmap {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .how-roadmap {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
    .how-roadmap::before {
        content: "";
        position: absolute;
        top: 2rem;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, #E2E8F0, #FF6B35, #E2E8F0);
        z-index: 0;
    }
}
.how-roadmap__step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    border: 1px solid #E2E8F0;
}
.how-roadmap__icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 0.75rem;
    background: #1b2b44;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f8f9fa;
}
.how-roadmap__icon--done {
    background: #FF6B35;
    color: #5d1900;
}
.how-roadmap__icon .material-symbols-outlined {
    font-size: 1.75rem;
}

/* Project detail */
.project-detail__hero-band {
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
}
.project-detail__hero {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #05162e;
    min-height: clamp(24rem, 63vw, 42rem);
}
.project-detail__hero-img {
    width: 100%;
    height: clamp(24rem, 63vw, 42rem);
    object-fit: cover;
    display: block;
}
.project-hero-tags {
    position: absolute;
    top: clamp(1rem, 3vw, 1.75rem);
    left: clamp(1rem, 3vw, 1.75rem);
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 2.75rem);
    grid-auto-flow: row;
    gap: 0.5rem;
}
.project-hero-tags__item {
    width: 2.75rem;
    height: 2.75rem;
}
.project-hero-tags__link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(5, 22, 46, 0.18);
    color: #FF6B35;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.project-hero-tags__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(5, 22, 46, 0.22);
    color: #ab3500;
}
.project-hero-tags__item .material-symbols-outlined {
    font-size: 1.35rem;
}
.project-hero-title {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 2;
    width: 33.333%;
    max-width: 33.333%;
    box-sizing: border-box;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(5, 22, 46, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
.project-hero-title__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1b2b44;
    margin-bottom: 0.5rem;
}
.project-hero-title__heading {
    font-size: clamp(1.1rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
    color: #05162e;
    margin: 0;
}
.project-hero-title__location {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.35;
}
.project-detail__below {
    padding-top: 2rem;
    padding-bottom: 1rem;
}
.project-detail__fallback {
    margin-bottom: 1rem;
}
.project-detail__summary {
    margin-bottom: 2rem;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 0.85rem;
    box-shadow: 0 4px 18px rgba(27, 43, 68, 0.04);
}
.project-detail__summary-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #334155;
}
.project-detail__meta-panel {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
    .project-detail__meta-panel {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}
.project-detail__meta-heading {
    font-size: 1.35rem;
    font-weight: 600;
    color: #05162e;
    margin: 0 0 1rem;
}
.project-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.65rem;
}
.project-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #E2E8F0;
    background: #fff;
    border-radius: 0.65rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.project-tag:hover {
    border-color: #FF6B35;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.12);
    transform: translateY(-1px);
}
.project-tag__icon {
    color: #FF6B35;
    font-size: 1.25rem;
}
.project-tag__label {
    font-size: 0.875rem;
    color: #05162e;
    line-height: 1.25;
}
.project-team-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.project-team-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    padding: 0.65rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.project-team-card--lead {
    border-color: #FF6B35;
    background: linear-gradient(135deg, #fff 0%, #fff7f3 100%);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.14);
}
.project-team-card:hover {
    border-color: #c5c6ce;
    box-shadow: 0 8px 20px rgba(27, 43, 68, 0.08);
}
.project-team-card__photo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #edeeef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.project-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-team-card__name {
    display: block;
    font-weight: 600;
    color: #05162e;
}
.project-team-card__role {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.15rem;
}
.project-roadmap {
    padding-bottom: 3rem;
}
.project-roadmap__connector {
    display: flex;
    justify-content: center;
    padding: 1.25rem 0;
    color: #FF6B35;
}
.project-roadmap__connector--flip {
    transform: scaleX(-1);
}
.project-roadmap__arrow {
    width: 2.5rem;
    height: 4rem;
    opacity: 0.85;
}
.project-stage-card {
    max-width: 100%;
}
@media (min-width: 1024px) {
    .project-stage-card {
        max-width: 58%;
    }
    .project-stage-card--right {
        margin-left: auto;
    }
}
.project-stage-card__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 0.95rem;
    padding: 1.35rem;
    align-items: stretch;
}
.project-stage-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.project-stage-card--image-first .project-stage-card__body {
    flex-direction: column-reverse;
}
.project-stage-card__text,
.project-stage-card__media {
    width: 100%;
}
.project-stage__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1b2b44;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    width: 100%;
}
.project-stage__badge .material-symbols-outlined {
    color: #FF6B35;
    font-size: 1.15rem;
}
.project-stage-card__text {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.project-stage-card__media {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #edeeef;
    margin: 0;
}
.project-stage-card__media img,
.project-lightbox-trigger img {
    width: 100%;
    min-height: 12rem;
    max-height: 28rem;
    object-fit: cover;
    display: block;
}
.project-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.project-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0.85rem 0;
}
.project-body li {
    position: relative;
    padding-left: 1.75rem;
    margin-top: 0.55rem;
}
.project-body li::before {
    content: "check_circle";
    font-family: "Material Symbols Outlined";
    font-variation-settings: "FILL" 1;
    position: absolute;
    left: 0;
    top: 0;
    color: #FF6B35;
    font-size: 1.1rem;
    line-height: 1.4;
}
.project-gallery__mosaic {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 7rem;
    grid-auto-flow: dense;
    gap: 0.65rem;
}
@media (max-width: 767px) {
    .project-gallery__mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 6rem;
    }
    .project-hero-title {
        width: min(72%, 16rem);
        max-width: min(72%, 16rem);
    }
    .project-hero-tags {
        grid-template-columns: repeat(3, 2.4rem);
    }
    .project-hero-tags__item {
        width: 2.4rem;
        height: 2.4rem;
    }
}
.project-gallery__cell {
    grid-column: span var(--mosaic-col, 1);
    grid-row: span var(--mosaic-row, 1);
}
.project-gallery__item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #05162e;
    cursor: pointer;
}
.project-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.project-gallery__img--mono {
    display: block;
}
.project-gallery__img--color {
    position: absolute;
    inset: 0;
    opacity: 0;
}
.project-gallery__tone--warm .project-gallery__img--mono,
.project-gallery__cell.tone-warm .project-gallery__img--mono {
    filter: sepia(0.28) saturate(0.45) brightness(1.03);
}
.project-gallery__cell.tone-cool .project-gallery__img--mono {
    filter: saturate(0.35) hue-rotate(195deg) brightness(1.02);
}
.project-gallery__cell.tone-sage .project-gallery__img--mono {
    filter: sepia(0.15) saturate(0.4) hue-rotate(65deg) brightness(1.02);
}
.project-gallery__cell.tone-sand .project-gallery__img--mono {
    filter: sepia(0.35) saturate(0.5) hue-rotate(5deg) brightness(1.04);
}
.project-gallery__cell.tone-slate .project-gallery__img--mono {
    filter: grayscale(0.35) saturate(0.5) brightness(1.03);
}
.project-gallery__item:hover .project-gallery__img--color,
.project-gallery__item:focus-visible .project-gallery__img--color {
    opacity: 1;
}
.project-gallery__item:hover .project-gallery__img,
.project-gallery__item:focus-visible .project-gallery__img {
    transform: scale(1.02);
}
.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(5, 22, 46, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.project-lightbox[hidden] {
    display: none !important;
}
.project-lightbox__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: calc(100vh - 8rem);
    padding: 0 3rem;
}
.project-lightbox__img {
    max-width: min(96vw, 1920px);
    max-height: calc(100vh - 8rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.35rem;
    user-select: none;
    touch-action: pan-y;
}
.project-lightbox__caption {
    width: min(96vw, 1920px);
    margin-top: 0.75rem;
    padding: 0.85rem 1.15rem;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    text-align: center;
}
.project-lightbox__caption[hidden] {
    display: none !important;
}
.project-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
    z-index: 2;
}
.project-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
    z-index: 2;
    display: none;
}
@media (min-width: 768px) {
    .project-lightbox__nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.project-lightbox__nav--prev {
    left: 1rem;
}
.project-lightbox__nav--next {
    right: 1rem;
}
body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .lang-dropdown__name {
        display: inline;
    }
    .mega-panel {
        left: 0;
        transform: none;
        width: min(22rem, calc(100vw - 1.5rem));
    }
    .mega-panel__grid {
        grid-template-columns: 1fr;
    }
}

[hidden] { display: none !important; }
