:root {
    --color-primary: #101F3D;
    --color-accent: #B87333;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background-color: #F8F9FA;
}
body {
    min-width: 320px;
    overflow-x: hidden;
    background-color: #F8F9FA;
    color: var(--color-primary);
    line-height: 1.5;
}
body.bg-bglight,
.bg-bglight {
    background-color: #F8F9FA !important;
}

.text-primary {
    color: var(--color-primary) !important;
}
.text-accent {
    color: var(--color-accent) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}
.border-accent {
    border-color: var(--color-accent) !important;
}

img,
svg,
video,
canvas,
iframe {
    display: block;
    max-width: 100%;
}
img {
    height: auto;
}

iframe {
    border: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
[role="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}
footer,
#contact-footer {
    background-color: var(--color-primary);
    border-top-color: var(--color-accent);
}


.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(16, 31, 61, 0.08);
}

#navbar.is-scrolled {
    box-shadow: 0 12px 30px rgba(16, 31, 61, 0.12);
}
#mobile-menu {
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}
body.nav-open {
    overflow: hidden;
}
.foo {
    display: block;
}
.lang-switch-btn {
    will-change: transform, box-shadow;
}
.lang-switch-btn[aria-busy="true"] {
    pointer-events: none;
    opacity: 0.85;
}
.image-size-note {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 30;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    max-width: min(92%, 28rem);
    font-size: 0.75rem;
    line-height: 1.25;
    color: #FFFFFF;
    background: rgba(16, 31, 61, 0.88);
    backdrop-filter: blur(10px);
}
.image-size-note strong {
    color: #F6C78B;
    font-weight: 700;
}
@media (max-width: 767px) {
    html {
        scroll-padding-top: 4.5rem;
    }

    .image-size-note {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: none;
    }
}

.line-clamp-4 {
    max-height: 6.8em;
    overflow: hidden;
}
