:root {
    --black: #070706;
    --night: #11100e;
    --ink: #f8f1e4;
    --muted: rgba(248, 241, 228, 0.68);
    --soft: rgba(248, 241, 228, 0.1);
    --line: rgba(232, 198, 118, 0.22);
    --gold: #d6b25e;
    --gold-strong: #f0d287;
    --emerald: #1f6f5b;
    --ruby: #8e2f27;
    --glass: rgba(13, 12, 10, 0.62);
    --panel: rgba(19, 18, 15, 0.78);
    --shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
    --content-max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--black);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(214, 178, 94, 0.16), transparent 28rem),
        radial-gradient(circle at 90% 14%, rgba(31, 111, 91, 0.12), transparent 24rem),
        linear-gradient(180deg, #070706, #12100d 46%, #080807);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px clamp(18px, 4vw, 58px);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 6, 0.72);
    backdrop-filter: blur(22px);
}

.site-header > .brand,
.site-header > .top-nav {
    position: relative;
}

.site-header > .brand {
    margin-right: auto;
    margin-left: max(18px, calc((100vw - var(--content-max)) / 2));
}

.site-header > .top-nav {
    margin-right: max(18px, calc((100vw - var(--content-max)) / 2));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand img {
    width: clamp(82px, 9vw, 148px);
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(214, 178, 94, 0.24));
}

.brand span {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-nav a {
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.top-nav a:hover {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(248, 241, 228, 0.06);
}

.country-switcher {
    display: inline-flex;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 4px 8px 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 241, 228, 0.06);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.country-switcher span {
    color: var(--gold-strong);
}

.country-switcher select {
    width: auto;
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    padding: 3px 28px 3px 10px;
    background: rgba(248, 241, 228, 0.92);
    color: #15130f;
    font-size: 0.86rem;
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: calc(100vh - 79px);
    overflow: hidden;
    display: grid;
    align-items: end;
    padding: clamp(28px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(7, 7, 6, 0.9), rgba(7, 7, 6, 0.52) 42%, rgba(7, 7, 6, 0.18)),
        linear-gradient(180deg, rgba(7, 7, 6, 0.04), rgba(7, 7, 6, 0.88)),
        url("/assets/img/luxury-atrium.png") center/cover;
}

.hero-content,
.hero-signature {
    margin-left: max(0px, calc((100vw - var(--content-max)) / 2));
}

.hero-signature {
    right: max(clamp(18px, 5vw, 72px), calc((100vw - var(--content-max)) / 2));
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 8vh;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 210, 135, 0.76), transparent);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 820px;
    gap: 20px;
}

.eyebrow {
    margin: 0;
    color: var(--gold-strong);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 8vw, 7.9rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 0.98;
}

h3 {
    margin-bottom: 8px;
}

.hero-copy {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.7;
}

.hero-actions,
.contact-bar,
.form-actions,
.quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 19px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 900;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #11100e;
    border-color: rgba(240, 210, 135, 0.7);
    background: linear-gradient(135deg, #fff2be, #d6b25e 54%, #9a722d);
    box-shadow: 0 18px 52px rgba(214, 178, 94, 0.24);
}

.button.ghost {
    background: rgba(248, 241, 228, 0.06);
}

.button.danger {
    border-color: rgba(194, 72, 61, 0.44);
    color: #ffd8d3;
}

.hero-signature {
    position: absolute;
    right: clamp(18px, 5vw, 72px);
    bottom: clamp(28px, 5vw, 72px);
    z-index: 2;
    width: min(420px, calc(100% - 36px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 7, 6, 0.58);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-signature strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.hero-signature span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.quick-stats {
    margin-top: 4px;
}

.quick-stats span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--gold-strong);
    background: rgba(248, 241, 228, 0.06);
    font-size: 0.82rem;
    font-weight: 900;
}

.country-entry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    max-width: 720px;
}

.country-door {
    position: relative;
    min-height: 154px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(240, 210, 135, 0.36);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(248, 241, 228, 0.12), rgba(248, 241, 228, 0.04)),
        rgba(7, 7, 6, 0.64);
    box-shadow: 0 22px 70px rgba(0,0,0,0.34);
    backdrop-filter: blur(14px);
}

.country-door::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-strong), transparent);
    content: "";
}

.country-door span {
    display: block;
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.country-door small {
    color: var(--muted);
    line-height: 1.5;
}

.section {
    width: min(var(--content-max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(48px, 7vw, 96px) 0;
}

.section.alt {
    width: 100%;
    padding-right: max(18px, calc((100vw - var(--content-max)) / 2));
    padding-left: max(18px, calc((100vw - var(--content-max)) / 2));
    background: linear-gradient(180deg, rgba(248, 241, 228, 0.04), rgba(248, 241, 228, 0.015));
    border-block: 1px solid rgba(214, 178, 94, 0.12);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading p {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.country-grid,
.store-grid,
.product-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.country-card,
.store-card,
.product-card,
.admin-card,
.notice,
.empty-state,
.form-panel,
.table-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(248, 241, 228, 0.1), rgba(248, 241, 228, 0.04));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.country-card,
.store-card,
.admin-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 22px;
}

.country-card::before,
.store-card::before,
.admin-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    content: "";
}

.country-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.country-card span,
.store-card span {
    display: block;
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
}

.country-card small,
.store-card small,
.admin-card small {
    color: var(--muted);
    line-height: 1.55;
}

.store-card img {
    width: 78px;
    height: 78px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(248, 241, 228, 0.9);
    object-fit: contain;
    padding: 10px;
}

.category-strip,
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-strip a,
.filters a,
.status {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 15px;
    background: rgba(248, 241, 228, 0.06);
    color: var(--muted);
    font-weight: 900;
}

.filters a.active,
.category-strip a:hover {
    color: #11100e;
    background: linear-gradient(135deg, #fff2be, #d6b25e);
}

.notice,
.empty-state {
    width: min(var(--content-max), calc(100% - 36px));
    margin: 22px auto;
    padding: 18px 20px;
    color: var(--muted);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 28px max(18px, calc((100vw - var(--content-max)) / 2));
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto;
}

.form-panel,
.table-panel {
    padding: 22px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    background: rgba(248, 241, 228, 0.92);
    color: #15130f;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid rgba(214, 178, 94, 0.14);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--gold-strong);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.link-action {
    color: var(--gold-strong);
    font-weight: 900;
    background: transparent;
    border: 0;
    cursor: pointer;
}

@media (max-width: 900px) {
    .site-header,
    .site-footer,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        padding: 14px 18px;
    }

    .site-header > .brand,
    .site-header > .top-nav {
        margin-right: 0;
        margin-left: 0;
    }

    .top-nav {
        width: 100%;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .brand img {
        width: 112px;
        height: 48px;
    }

    .hero {
        min-height: 860px;
        align-items: start;
        padding-top: 70px;
    }

    .hero-signature {
        right: 18px;
        bottom: 26px;
        left: 18px;
        width: auto;
    }
}
