:root {
    --bg: #14110f;
    --text: #fff9f1;
    --muted: rgba(255, 255, 255, 0.78);
    --line: rgba(255, 255, 255, 0.14);
    --brand: #c98c55;
    --brand-2: #f1ca90;
    --input-bg: #faf5ee;
    --error: #ff6b5f;
    --error-soft: rgba(255, 107, 95, 0.13);
    --success: #8ef0b5;
    --radius-xl: 24px;
    --radius-lg: 12px;
    --radius-pill: 999px;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    overflow-x: hidden;
}

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

.page {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    padding: 28px;
    overflow-x: hidden;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(18, 14, 12, .58), rgba(18, 14, 12, .66) 45%, rgba(18, 14, 12, .88)),
        url("../img/binbirdireksarnici.jpg") center / cover no-repeat;
}

.shell {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 26px;
    opacity: 1;
    transform: none;
}

.site-menu {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(241, 202, 144, .15);
    border-radius: 22px;
    background: linear-gradient(110deg, #0e1016, #151519 65%, #0e1016);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.site-menu::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; border-radius: 0 8px 8px 0; background: linear-gradient(var(--brand-2), var(--brand)); }
.site-menu::after { content: ""; position: absolute; inset: 20px 16px 20px auto; width: 240px; background: radial-gradient(circle, rgba(212,163,105,.3) 1.4px, transparent 1.8px) 0 0 / 12px 12px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.header-brand, .menu-copy { position: relative; z-index: 1; min-width: 0; }
.header-brand { text-align: center; }
.menu-logo { display: block; width: 100%; line-height: 0; }
.brand-logo { display: block; width: 100%; height: auto; }
.event-date { margin: 4px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: .12em; }
.event-location { margin: 0; color: #c8b59f; font-size: 11px; line-height: 1.6; }
.menu-copy { display: grid; gap: 12px; }
.site-menu .menu-title { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.45; letter-spacing: .055em; font-weight: 600; padding: 13px 18px; background: rgba(0,0,0,.16); }
.menu-title .dot { flex: 0 0 8px; }
.menu-subtitle { margin: 0; padding: 16px 18px; border-left: 4px solid var(--brand-2); border-radius: 14px; background: rgba(212,163,105,.12); color: #eee5da; font-size: 15px; font-weight: 600; line-height: 1.65; }

.language-switch {
    position: relative;
    z-index: 1;
    display: inline-grid;
    grid-column: 3;
    justify-self: end;
    grid-template-columns: repeat(2, 48px);
    gap: 8px;
    margin: 0;
    padding: 0;
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.language-switch a.is-active {
    border-color: transparent;
    background: linear-gradient(110deg, var(--brand-2), var(--brand));
    color: #101010;
    box-shadow: 0 16px 28px rgba(212, 163, 105, 0.24);
}

.menu-title,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 16px rgba(212, 163, 105, 0.9);
}

.panel {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(32, 27, 24, .95), rgba(19, 17, 16, .96));
    box-shadow: var(--shadow);
}

.alert,
.application-form,
.success-screen {
    position: relative;
    z-index: 1;
}

.application-form {
    display: grid;
    gap: 32px;
}

.section {
    display: grid;
    gap: 16px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
}

.section-no {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(110deg, var(--brand-2), var(--brand));
    color: #101010;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(212, 163, 105, 0.24);
}

.section + .section {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.section-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.section-head span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 700;
}

.grid,
.grid-3 {
    display: grid;
    gap: 16px;
}

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

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

.full {
    grid-column: 1 / -1;
}

.field {
    display: grid;
    gap: 9px;
}

.field > span,
.label-title {
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding-left: 6px;
}

.required::after {
    content: " *";
    color: var(--brand-2);
}

.input,
select,
textarea {
    width: 100%;
    border: 0;
    border-radius: 10px;
    outline: none;
    background: var(--input-bg);
    color: #181818;
    padding: 17px 22px;
    font-size: 16px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02), 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow .18s ease, background .18s ease;
}

select.input {
    appearance: none;
    cursor: pointer;
    padding-right: 46px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--brand) 50%),
        linear-gradient(135deg, var(--brand) 50%, transparent 50%);
    background-position:
        calc(100% - 25px) 24px,
        calc(100% - 17px) 24px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

select option {
    color: #181818;
    background: #ffffff;
}

textarea.input {
    height: 65px;
    border-radius: var(--radius-lg);
    resize: vertical;
}

.input::placeholder {
    color: #8e8e8e;
}

.input:focus,
select:focus,
textarea:focus {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 163, 105, 0.3), 0 14px 28px rgba(0, 0, 0, 0.14);
}

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.option:hover {
    border-color: rgba(212, 163, 105, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.option input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand);
}

.option strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
}

.option span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.signature-section {
    display: none;
}

.signature-pad {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.signature-pad__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.signature-title {
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 800;
}

.signature-clear {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 900;
}

.signature-canvas {
    display: block;
    width: 100%;
    height: 220px;
    border-radius: 18px;
    background:
        linear-gradient(0deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
        repeating-linear-gradient(0deg, transparent 0 34px, rgba(16, 16, 16, 0.08) 35px);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    cursor: crosshair;
    touch-action: none;
}

.signature-hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.5;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.submit-row {
    display: grid;
    gap: 14px;
    margin-top: 4px;
}

.btn,
.secondary-action {
    appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 20px 34px;
    cursor: pointer;
    color: #101010;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: box-shadow .18s ease, filter .18s ease;
}

.btn-primary,
.secondary-action {
    background: linear-gradient(110deg, var(--brand-2), var(--brand));
    box-shadow: 0 20px 44px rgba(212, 163, 105, 0.28);
}

.btn-primary:hover,
.secondary-action:hover {
    filter: brightness(1.03);
}

.note {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    display: none;
}

.alert {
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid rgba(255, 107, 95, 0.38);
    border-radius: var(--radius-lg);
    background: var(--error-soft);
    color: #ffd1cc;
    line-height: 1.6;
}

.alert strong {
    display: block;
    margin-bottom: 4px;
}

.alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.field-error {
    margin: -4px 0 0;
    color: #ffd1cc;
    font-size: 13px;
    font-weight: 800;
}

.inline-error {
    margin-top: -2px;
}

.success-screen {
    display: grid;
    justify-items: start;
    gap: 14px;
    padding: clamp(16px, 3vw, 28px);
}

.success-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(110deg, var(--brand-2), var(--brand));
    color: #14110f;
    font-size: 34px;
    font-weight: 950;
    box-shadow: 0 20px 42px rgba(212, 163, 105, 0.26);
}

.success-screen h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.success-screen p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.75;
}

.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: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 860px) {
    .page { padding: 24px 18px; }
    .language-switch { grid-column: 2; grid-row: 1; }
    .panel { padding: 26px; }
    .grid-3 { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .signature-section { display: grid; }
}

@media (max-width: 520px) {
    .page { padding: 18px 12px 32px; }
    .shell { gap: 24px; }
    .language-switch { grid-template-columns: repeat(2, 40px); gap: 5px; }
    .language-switch a { width: 40px; min-height: 44px; font-size: 12px; }
    .event-date { font-size: 18px; }
    .event-location { font-size: 12px; }
    .panel { padding: 22px 16px; border-radius: 16px; }
    .grid, .grid-3 { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 18px; }
    .input, select, textarea { padding: 16px; font-size: 16px; }
    .btn, .secondary-action { padding: 18px; font-size: 14px; }
    .signature-pad { padding: 12px; }
    .signature-canvas { height: 190px; }
}

@media (min-width: 861px) and (max-width: 1024px) {
    .signature-section { display: grid; }
}

:where(a, button):focus-visible { outline: 3px solid var(--brand-2); outline-offset: 4px; }
.option:has(input:checked) { border-color: var(--brand-2); background: rgba(212, 163, 105, .14); }

/* Stand packages: a native radio group with a full-card hit target. */
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.package-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 20px; border: 1px solid rgba(241,202,144,.22); border-radius: 20px; background: linear-gradient(145deg, #24201e, #151413); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.package-radio { position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; accent-color: var(--brand-2); }
.package-top { display: flex; flex-direction: column; gap: 9px; padding-right: 16px; }
.package-name { color: var(--brand-2); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.package-dimensions { color: #bcb1a4; font-size: 13px; letter-spacing: .12em; }
.package-area { margin-top: 18px; color: #fff8ef; font-family: Georgia, serif; font-size: 54px; line-height: 1.1; }
.package-area > span { font-size: 25px; color: #c1b6aa; }
.package-illustration { display: grid; place-items: center; height: 140px; overflow: hidden; }
.stand-floor { display: block; width: 100px; height: 75px; border: 1px solid #dab680; background-color: #725334; background-image: repeating-linear-gradient(0deg, transparent 0 23px, #c4a17180 24px 25px), repeating-linear-gradient(90deg, transparent 0 23px, #c4a17180 24px 25px); transform: rotateX(55deg) rotateZ(-35deg); box-shadow: -7px 9px 30px #c98c5520; }
.stand-floor--corporate { width: 150px; height: 100px; }
.stand-floor--island { width: 180px; height: 135px; }
.package-description { color: #d0c5b8; font-size: 14px; line-height: 1.65; min-height: 70px; }
.package-price { display: grid; gap: 7px; margin-top: auto; padding: 18px 0 22px; }
.package-price small { color: #bcb1a4; font-size: 12px; }
.package-price strong { font-size: 20px; font-weight: 500; color: #f1ca90; }
.package-select { display: block; padding: 14px 5px; border: 1px solid #8f7960; border-radius: 999px; text-align: center; font-size: 11px; letter-spacing: .12em; }
.package-selected { display: none; }
.package-card:hover { border-color: var(--brand-2); }
.package-card:has(:focus-visible) { outline: 3px solid var(--brand-2); outline-offset: 4px; }
.package-card:has(:checked) { border-color: var(--brand-2); background: linear-gradient(145deg, #3a2c20, #1e1a16); box-shadow: inset 0 0 0 1px var(--brand-2); }
.package-card:has(:checked) .package-select { background: linear-gradient(110deg, var(--brand-2), var(--brand)); color: #21180f; border-color: transparent; font-weight: 800; }
.package-card:has(:checked) .package-unselected { display: none; }
.package-card:has(:checked) .package-selected { display: inline; }
.package-summary { margin: 0; padding: 15px 18px; border-left: 2px solid var(--brand); color: #e7c99f; background: #d4a3690d; font-size: 14px; line-height: 1.7; }
@media (max-width: 760px) {
    .package-grid { grid-template-columns: 1fr; }
    .package-card { padding: 24px; }
    .package-description { min-height: 0; }
    .package-illustration { height: 130px; }
    .package-top { flex-direction: row; justify-content: space-between; padding-right: 20px; flex-wrap: wrap; }
}

/* Exhibited product groups */
.product-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-groups .option { align-items: center; gap: 16px; min-height: 86px; padding: 20px; border-radius: 14px; border-color: rgba(241,202,144,.18); background: linear-gradient(135deg, rgba(241,202,144,.06), rgba(255,255,255,.025)); }
.product-groups .option input { width: 21px; height: 21px; margin: 0; }
.product-groups .option strong { color: #eee5da; font-size: 15px; font-weight: 600; line-height: 1.55; }
.product-groups .option:has(input:checked) { border-color: var(--brand-2); background: linear-gradient(135deg, rgba(212,163,105,.2), rgba(212,163,105,.07)); }
.product-groups .option:has(input:checked) strong { color: #f1ca90; }
.product-groups .option:has(input:focus-visible) { outline: 3px solid var(--brand-2); outline-offset: 3px; }
@media (max-width: 640px) {
    .product-groups { grid-template-columns: 1fr; }
    .product-groups .option { min-height: 74px; padding: 16px; }
}

@media (max-width: 860px) {
    .site-menu { grid-template-columns: minmax(0, 1fr) auto; gap: 22px; padding: 24px; }
    .header-brand { width: min(280px, 100%); }
    .menu-copy { grid-column: 1 / -1; }
    .site-menu .language-switch { grid-column: 2; grid-row: 1; }
}
@media (max-width: 520px) {
    .site-menu { padding: 20px 16px; gap: 20px 12px; border-radius: 16px; }
    .site-menu .menu-title { font-size: 16px; padding: 12px; letter-spacing: .025em; }
    .menu-subtitle { padding: 13px 14px; font-size: 14px; }
    .header-brand .event-date { font-size: 16px; letter-spacing: .07em; }
    .header-brand .event-location { font-size: 10px; }
}

.package-card .package-price { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(241,202,144,.25); border-radius: 12px; background: rgba(212,163,105,.09); }
.package-card .package-price strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.package-card .package-price small { color: #e0cbb3; }
.package-card .package-select { margin-top: auto; }
.package-card .package-description { padding-bottom: 20px; }

.standard-package-grid { grid-template-columns: repeat(2, minmax(0, 420px)); }

.stand-showcase { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.5fr); gap: 22px; align-items: center; }
.stand-showcase .standard-package-grid { grid-template-columns: minmax(0, 1fr); }
.standard-package-grid .package-card { justify-content: center; padding: 24px 20px; }
.stand-area-title { display: block; padding: 8px 24px 20px 0; color: #fff5e8; font-family: Georgia, serif; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; }
.stand-gallery { min-width: 0; }
.stand-gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stand-thumb { display: grid; gap: 7px; padding: 5px 5px 9px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #ffffff08; color: var(--muted); cursor: zoom-in; }
.stand-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.stand-thumb span { font-size: 11px; }
.stand-thumb:hover, .stand-thumb:focus-visible { border-color: var(--brand-2); color: var(--brand-2); background: #d4a36918; }
body.stand-gallery-open { overflow: hidden; }
.stand-lightbox { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 16px; margin: auto; border: 1px solid var(--brand); border-radius: 18px; background: #201c18; color: #fff5e8; box-shadow: 0 24px 90px #0008; }
.stand-lightbox::backdrop { background: #080706dc; backdrop-filter: blur(6px); }
.stand-lightbox-toolbar, .stand-lightbox-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stand-lightbox-toolbar { padding-bottom: 12px; }
.stand-lightbox-navigation { justify-content: center; padding-top: 12px; }
.stand-lightbox button { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: #ffffff08; color: var(--brand-2); font-size: 24px; cursor: pointer; }
.stand-lightbox button:hover, .stand-lightbox button:focus-visible { border-color: var(--brand-2); background: #d4a36922; }
#standLightboxImage { display: block; width: 100%; height: auto; max-height: calc(100dvh - 180px); object-fit: contain; border-radius: 8px; }
#standCounter { min-width: 50px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
    .stand-showcase { grid-template-columns: 1fr; gap: 16px; }
    .standard-package-grid .package-card { padding: 20px; }
    .stand-area-title { padding: 0 28px 16px 0; }
    .stand-gallery-thumbs { gap: 6px; }
    .stand-thumb { padding: 3px 3px 7px; }
    .stand-thumb span { font-size: 10px; }
}

@media (max-width: 700px) {
    .standard-package-grid { grid-template-columns: minmax(0, 1fr); }
}
