:root {
    --site-primary: var(--cm-primary, #680326);
    --site-secondary: var(--cm-accent, #7c0c0c);
    --site-text: var(--cm-text, #010710);
    --site-button: var(--cm-primary, #86042b);
    --site-surface: color-mix(in srgb, var(--site-primary) 6%, #ffffff);
    --site-surface-2: color-mix(in srgb, var(--site-secondary) 7%, #ffffff);
    --site-border: color-mix(in srgb, var(--site-primary) 14%, #d4dce7);
    --site-border-strong: color-mix(in srgb, var(--site-primary) 22%, #c4d0de);
    --site-shadow: 0 22px 52px color-mix(in srgb, var(--site-primary) 12%, transparent);
    --site-shadow-soft: 0 14px 32px rgba(15, 23, 42, 0.08);
    --site-dark: #0f172a;
}

body.public-page {
    background:
        radial-gradient(70rem 28rem at 100% 0%, color-mix(in srgb, var(--site-primary) 16%, transparent), transparent 58%),
        radial-gradient(50rem 22rem at 0% 100%, color-mix(in srgb, var(--site-secondary) 16%, transparent), transparent 56%),
        linear-gradient(180deg, #f8fbff 0%, #eef4f8 46%, #f7fafc 100%);
    color: var(--site-text);
    font-size: 0.95rem;
}

.public-main {
    overflow: clip;
}

.public-section {
    padding-block: 1rem 1.2rem;
}

.public-topbar {
    padding-block: 0.9rem;
    background: rgba(248, 251, 255, 0.84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.public-topbar-shell {
        display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.4rem;
    box-shadow: 0 10px 30px rgb(45 61 98 / 26%);
}

.public-brand {
    min-width: 0;
}

.public-brand-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, color-mix(in srgb, var(--site-primary) 14%, #fff), color-mix(in srgb, var(--site-secondary) 12%, #fff));
    border: 1px solid var(--site-border);
    color: var(--site-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.public-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.public-brand-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.public-brand-subtitle {
    font-size: 0.76rem;
    color: #64748b;
}

.public-nav {
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.public-nav a {
    color: #334155;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.55rem 0.85rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.public-nav a:hover {
    background: color-mix(in srgb, var(--site-primary) 10%, #fff);
    color: var(--site-primary);
    transform: translateY(-1px);
}

.public-hero-section {
    padding-top: 1.2rem;
    padding-bottom: 1rem;
}

.hero-shell {
    position: relative;
    padding: 1rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(34rem 18rem at 100% 0%, color-mix(in srgb, var(--site-primary) 18%, transparent), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--site-secondary) 7%, #ffffff));
    box-shadow: var(--site-shadow);
    overflow: hidden;
}

.hero-shell::before,
.hero-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-shell::before {
    inset-inline-end: -4rem;
    top: -4rem;
    width: 20rem;
    height: 20rem;
    background: color-mix(in srgb, var(--site-primary) 16%, transparent);
    filter: blur(28px);
}

.hero-shell::after {
    inset-inline-start: -3rem;
    bottom: -4rem;
    width: 20rem;
    height: 20rem;
    background: color-mix(in srgb, var(--site-secondary) 15%, transparent);
    filter: blur(32px);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-eyebrow,
.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--site-primary) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--site-primary) 20%, #e2e8f0);
    color: var(--site-primary);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-title,
.section-display {
    font-size: clamp(1rem, 2vw, 2.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.8rem;
    color: #0f172a;
}

.hero-description,
.section-lead,
.about-paragraph,
.service-text,
.feature-text,
.public-footer-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 0;
    text-align: justify;
}

.hero-description {
    max-width: 38rem;
    margin-bottom: 1.15rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.hero-pills span {
    padding: 0.48rem 0.82rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.92);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    /* gap: 0.75rem; */
    margin-bottom: 1.35rem;
}

.public-btn-primary,
.public-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2rem;
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.public-btn-primary {
    background: linear-gradient(135deg, var(--site-button), color-mix(in srgb, var(--site-secondary) 36%, var(--site-button)));
    border: 0;
    color: #fff !important;
    /* box-shadow: 0 18px 34px color-mix(in srgb, var(--site-button) 28%, transparent); */
}

.public-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.public-btn-outline {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--site-border-strong);
    color: var(--site-primary);
}

.public-btn-outline:hover {
    color: var(--site-primary);
    background: #fff;
    transform: translateY(-2px);
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-mini-card,
.public-kpi,
.feature-card,
.service-card,
.team-card,
.contact-card,
.faq-side-card,
.public-empty-card,
.about-content-card,
.about-media-card,
.stats-shell {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.hero-mini-card {
    padding: 1rem;
    border-radius: 0.4rem;
}

.hero-mini-card strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--site-primary);
}

.hero-mini-card span {
    color: #64748b;
    font-size: 0.83rem;
}

.hero-visual-wrap {
    position: relative;
    display: grid;
    gap: 1rem;
}

.hero-visual-card {
    position: relative;
    border-radius: 0.4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 48px rgba(15, 23, 42, 0.14);
}

.hero-visual-main {
    min-height: 28rem;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 28rem;
    object-fit: cover;
}

.hero-floating-panel {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    padding: 1rem 1.1rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
}

.hero-floating-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.hero-visual-side {
    width: min(19rem, 80%);
    margin-inline-start: auto;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--site-dark) 94%, #fff), color-mix(in srgb, var(--site-primary) 36%, var(--site-dark)));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-side-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.35rem;
}

.section-heading-wrap {
    margin-bottom: 1.3rem;
}

.section-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.section-display {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 0.55rem;
}

.section-link {
    white-space: nowrap;
    align-self: center;
    text-decoration: none;
    color: var(--site-primary);
    font-weight: 800;
}

.about-shell {
    position: relative;
}

.about-media-card,
.about-content-card {
    border-radius: 0.4rem;
}

.about-media-card {
    padding: 0.9rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), color-mix(in srgb, var(--site-primary) 8%, #ffffff));
}

.about-image {
    width: 100%;
    min-height: 30rem;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4rem;
}

.about-content-card {
    padding: 1.6rem;
}

.about-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #0f172a;
}

.about-paragraph {
    margin-bottom: 1.15rem;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.about-feature-box {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.4rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 6%, #fff), rgba(255, 255, 255, 0.88));
    border: 1px solid var(--site-border);
}

.about-feature-box span {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--site-primary);
    color: #fff;
    flex-shrink: 0;
}

.about-feature-box strong,
.feature-title,
.service-title,
.team-name,
.public-footer-title,
.contact-form-title {
    color: #0f172a;
    font-weight: 800;
}

.public-list {
    list-style: none;
    padding-right: 0;
    margin: 0;
}

.public-list li {
    position: relative;
    padding-right: 1.25rem;
    margin-bottom: 0.55rem;
    color: #475569;
    line-height: 1.8;
}

.public-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--site-primary), var(--site-secondary));
}

.public-list-strong li {
    font-weight: 700;
}

.service-card,
.team-card,
.contact-card,
.feature-card,
.public-kpi,
.faq-side-card,
.public-empty-card,
.stats-shell {
    border-radius: 0.4rem;
}

.service-card {
    overflow: hidden;
    height: 100%;
}

.service-card-media {
    position: relative;
    padding: 0.8rem 0.8rem 0;
}

.service-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.4rem;
}

.service-order {
    position: absolute;
    top: 1.45rem;
    left: 1.45rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.service-card-body {
    padding: 1rem 1rem 1.15rem;
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.service-text {
    font-size: 0.94rem;
    margin-bottom: 0.85rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--site-primary);
    font-weight: 800;
}

.feature-band-wrap {
    margin-block: 1.4rem;
}

.feature-band {
    border-radius: 0.4rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0f172a, color-mix(in srgb, var(--site-primary) 26%, #0f172a));
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.section-heading-wrap-light .section-display,
.section-heading-wrap-light .section-lead,
.section-heading-wrap-light .section-eyebrow {
    color: #fff;
}

.section-heading-wrap-light .section-lead {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading-wrap-light .section-eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-card-dark {
    height: 100%;
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.feature-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--site-primary) 12%, #fff);
    color: var(--site-primary);
}

.feature-icon-large {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.feature-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.stats-shell {
    padding: 1.35rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), color-mix(in srgb, var(--site-secondary) 8%, #ffffff));
}

.public-kpi {
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--site-primary) 4%, #ffffff));
}

.public-kpi-value {
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    line-height: 1;
    font-weight: 800;
    color: var(--site-primary);
    margin-bottom: 0.45rem;
}

.team-card {
    overflow: hidden;
}

.team-image-wrap {
    padding: 0.85rem 0.85rem 0;
}

.team-image {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 1rem;
}

.team-card-body {
    padding: 1rem 1rem 1.15rem;
}

.team-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: #64748b;
    margin-bottom: 0;
}

.gallery-showcase {
    position: relative;
    padding: 1rem;
    border-radius: 0.6rem;
    border: 1px solid color-mix(in srgb, var(--site-primary) 18%, #dbe4f0);
    background:
        radial-gradient(28rem 16rem at 100% 0%, color-mix(in srgb, var(--site-primary) 18%, transparent), transparent 65%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.95), color-mix(in srgb, var(--site-secondary) 7%, #ffffff));
    box-shadow: 0 18px 42px color-mix(in srgb, var(--site-primary) 16%, transparent);
}

.gallery-headline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.gallery-kicker,
.gallery-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.gallery-kicker {
    color: #0f172a;
    background: color-mix(in srgb, var(--site-secondary) 14%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--site-secondary) 24%, #dbe4f0);
}

.gallery-count {
    color: var(--site-primary);
    background: color-mix(in srgb, var(--site-primary) 11%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--site-primary) 22%, #dbe4f0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    grid-column: span 4;
    min-height: 14rem;
    margin: 0;
    border-radius: 0.55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    animation: galleryFadeUp 0.52s ease forwards;
    animation-delay: calc(var(--item-order, 0) * 65ms);
}

.gallery-item-lg {
    grid-column: span 8;
    min-height: 20.5rem;
}

.gallery-trigger {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
    position: relative;
    cursor: zoom-in;
}

.gallery-trigger img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.55s ease, filter 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04) 40%, rgba(2, 6, 23, 0.72) 100%);
    opacity: 0.92;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    inset-inline: 0.7rem;
    bottom: 0.62rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    color: #f8fafc;
}

.gallery-caption-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.gallery-caption-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.2);
    border: 1px solid rgba(248, 250, 252, 0.44);
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-trigger img,
.gallery-trigger:focus-visible img {
    transform: scale(1.07);
    filter: saturate(1.12);
}

.gallery-item:hover .gallery-overlay,
.gallery-trigger:focus-visible .gallery-overlay {
    opacity: 0.72;
}

.gallery-trigger:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--site-primary) 76%, #ffffff);
    outline-offset: -2px;
}

.gallery-preview-modal .modal-content {
    border-radius: 0.8rem;
    background: #020617;
    color: #f8fafc;
}

.gallery-preview-modal .btn-close {
    filter: invert(1) grayscale(100%);
}

.gallery-preview-image {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 0.6rem;
    background: #0b1220;
}

@keyframes galleryFadeUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.faq-side-card {
    margin-top: 1.2rem;
    padding: 1.2rem;
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 0.4rem !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.75rem;
    box-shadow: var(--site-shadow-soft);
}

.faq-accordion .accordion-button {
    padding: 1rem 1.1rem;
    font-size: 0.94rem;
    font-weight: 800;
    background: transparent;
    color: #0f172a;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--site-primary);
    background: color-mix(in srgb, var(--site-primary) 8%, #ffffff);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 0 1.1rem 1rem;
    line-height: 1.85;
    color: #475569;
}

.contact-shell {
    padding: 1.4rem;
    border-radius: 0.4rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, var(--site-primary) 7%, #ffffff));
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--site-shadow);
}

.contact-card {
    padding: 1.25rem;
}

.contact-info-card {
    background: linear-gradient(145deg, #0f172a, color-mix(in srgb, var(--site-primary) 30%, #0f172a));
    color: #fff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.contact-info-intro h3,
.contact-form-title,
.public-footer-title {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.contact-highlight-list {
    display: grid;
    gap: 0.8rem;
    margin-block: 1.2rem;
}

.contact-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-highlight-item span {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.94);
}

.contact-form-title {
    margin-bottom: 1rem;
}

.contact-form-card .form-control {
    min-height: 3rem;
    border-radius: 1rem;
    border-color: color-mix(in srgb, var(--site-primary) 14%, #d7dce3);
    padding-inline: 0.95rem;
}

.contact-form-card textarea.form-control {
    min-height: 8rem;
    resize: vertical;
}

.social-link {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: inherit;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
    color: inherit;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.contact-map-wrap {
    overflow: hidden;
    border-radius: 1rem;
}

.map-frame {
    width: 100%;
    min-height: 22rem;
    border: 0;
    border-radius: 1rem;
}

.public-empty-card {
    padding: 1.2rem;
    text-align: center;
    color: #64748b;
}

.public-footer {
    padding-block: 1.2rem 1.4rem;
}

.public-footer-shell {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.3rem;
    padding: 1.45rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.86);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), color-mix(in srgb, var(--site-primary) 6%, #ffffff));
    box-shadow: var(--site-shadow-soft);
}

.public-footer-brand {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.public-brand-mark-footer {
    width: 3.2rem;
    height: 3.2rem;
}

.public-footer-links,
.public-footer-contact-list {
    display: grid;
    gap: 0.55rem;
}

.public-footer-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 700;
}

.public-footer-links a:hover {
    color: var(--site-primary);
}

.public-footer-bottom {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.login-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 0.4rem;
}

@media (max-width: 1199.98px) {
    .hero-title,
    .section-display {
        font-size: clamp(1.7rem, 5vw, 2.8rem);
    }

    .public-footer-shell {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item-lg {
        grid-column: span 6;
    }
}

@media (max-width: 991.98px) {
    body.public-page {
        font-size: 0.9rem;
    }

    .public-topbar-shell,
    .hero-shell,
    .contact-shell,
    .feature-band,
    .public-footer-shell {
        border-radius: 1.4rem;
    }

    .hero-shell::before {
        width: 17rem;
        height: 9rem;
    }
    .hero-shell::after {
        width: 9rem;
        height: 10rem;
    }
    .hero-visual-main{
        min-height: 10rem;
    }
    .hero-img,
    .about-image {
        min-height: 13rem;
        object-fit: contain;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading-row,
    .public-footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .public-topbar-shell {
        padding: 0.75rem;
    }

    .public-brand-title {
        font-size: 0.92rem;
    }

    .hero-shell,
    .contact-shell,
    .feature-band,
    .stats-shell,
    .public-footer-shell {
        padding: 1rem;
    }

    .hero-title,
    .section-display {
        font-size: 1rem;
        line-height: 1.4;
    }

    .service-image{
        height: 18rem;
    }
    .team-image {
        height: 10rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .gallery-item,
    .gallery-item-lg {
        grid-column: auto;
        min-height: 12.5rem;
    }

    .gallery-showcase {
        padding: 0.8rem;
    }

    .gallery-headline-row {
        margin-bottom: 0.7rem;
    }

    .gallery-kicker,
    .gallery-count {
        font-size: 0.72rem;
        padding: 0.32rem 0.62rem;
    }

    .gallery-caption-label {
        font-size: 0.74rem;
    }

    .map-frame {
        min-height: 10rem;
    }
}
