/* LumaVex landing — minimalist black on white */

:root {
    --text: #000;
    --muted: #555;
    --footer: #999;
    --border: #d0d0d0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 3rem;
    position: relative;
}

/* Language switcher — top right */
.lang-wrap {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    left: auto;
    z-index: 10;
}

.lang-switch details {
    position: relative;
}

.lang-switch summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: 0.8125rem;
    cursor: pointer;
    user-select: none;
}

.lang-switch summary::-webkit-details-marker {
    display: none;
}

.lang-switch summary::marker {
    content: "";
}

.lang-switch .lang-flag-img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.lang-switch .chevron {
    width: 0.65rem;
    height: 0.65rem;
    opacity: 0.6;
}

.lang-switch details[open] .chevron {
    transform: rotate(180deg);
}

.lang-switch .chevron {
    transition: transform 0.15s ease;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: auto;
    min-width: 11rem;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
}

.lang-menu a:hover {
    background: #f5f5f5;
}

.lang-menu a.is-current {
    font-weight: 600;
    background: #f0f0f0;
}

/* Main column */
.main {
    width: 100%;
    max-width: 28rem;
    text-align: center;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.company-title {
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
}

.meta {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.meta:last-of-type {
    margin-bottom: 0;
}

.office-block {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.office-label {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.addr {
    font-size: 0.875rem;
    color: var(--muted);
}

.btn-mail {
    display: inline-block;
    width: 100%;
    max-width: 16rem;
    padding: 0.65rem 1.25rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    border-radius: 0;
    margin-bottom: 1.5rem;
    transition: opacity 0.15s;
}

.btn-mail:hover {
    opacity: 0.88;
}

.contact-block {
    font-size: 0.875rem;
    color: var(--muted);
}

.contact-block p {
    margin: 0 0 0.35rem;
}

.contact-block p:last-child {
    margin-bottom: 0;
}

.contact-block a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-block a:hover {
    opacity: 0.8;
}

.site-footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--footer);
}

[dir="rtl"] .main {
    text-align: center;
}
