:root {
    --charcoal: #111311;
    --paper: #f3f0ea;
    --ink: #171817;
    --muted: #756f68;
    --copper: #b86f50;
    --mint: #bfe9d5;
    --sky: #c7e7f7;
    --page-max: 600px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--charcoal); }
body { margin: 0; color: var(--ink); background: var(--charcoal); }
img, video { display: block; max-width: 100%; }

.page-shell {
    width: min(100%, var(--page-max));
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 116px;
    background: var(--paper);
}

.brand-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--charcoal);
    color: #f8f5ef;
}

.brand-bar img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    mix-blend-mode: screen;
}

.brand-bar strong { display: block; font-size: 17px; letter-spacing: .02em; }
.brand-bar span { display: block; margin-top: 2px; color: #b9b5ae; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.language-picker { margin-left: auto; }
.language-picker select { min-height: 34px; padding: 0 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: #f8f5ef; background: #242724; font: 700 11px/1 Inter, system-ui, sans-serif; }
.language-picker select:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.media-section { padding: 14px 14px 0; }
.media-section--first { padding-top: 14px; }
.composite-image { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 15px 35px rgba(22, 17, 12, .16); }

.video-section { padding-top: 22px; }
.factory-video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 4px; background: #262a26; box-shadow: 0 15px 35px rgba(22, 17, 12, .14); }
.copy-card {
    position: relative;
    margin-top: 12px;
    padding: 17px 58px 19px 18px;
    overflow: hidden;
    border: 1px solid rgba(184, 111, 80, .24);
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: 0 10px 24px rgba(36, 28, 23, .09);
}

.copy-card--factory { background: linear-gradient(135deg, #fffdfa 0%, #f6fbf8 100%); }
.copy-card--feedback { background: linear-gradient(135deg, #fffdfa 0%, #f4faff 100%); }
.copy-card__label { margin: 0 0 7px; color: var(--copper); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.copy-card h2 { margin: 0; color: var(--ink); font-size: 24px; line-height: 1.28; letter-spacing: 0; font-weight: 720; }
.copy-card__sticker {
    position: absolute;
    top: 16px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #29322d;
    font: 800 22px/1 Georgia, serif;
    transform: rotate(8deg);
    box-shadow: 0 4px 0 rgba(24, 28, 25, .12);
}
.copy-card__sticker--flask { background: var(--mint); }
.copy-card__sticker--box { background: var(--sky); font-size: 19px; }
.spark { position: absolute; color: var(--copper); line-height: 1; pointer-events: none; }
.spark--one { right: 11px; bottom: 9px; font-size: 14px; }
.spark--two { right: 44px; bottom: 7px; color: #e1ad55; font-size: 9px; }

.feedback-section { padding-top: 26px; padding-bottom: 8px; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feedback-grid img { width: 100%; aspect-ratio: 828 / 1792; object-fit: cover; object-position: top center; border-radius: 4px; box-shadow: 0 10px 25px rgba(22, 17, 12, .12); }
.feedback-section .copy-card { margin-bottom: 8px; }

.channel-bar {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, var(--page-max));
    margin: 0 auto;
    padding: 11px 12px calc(11px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(17, 19, 17, .97);
    box-shadow: 0 -12px 28px rgba(17, 19, 17, .2);
}

.channel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 68px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 7px 16px rgba(0, 0, 0, .22);
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.channel-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.channel-button:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 8px rgba(0, 0, 0, .2); }
.channel-button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.channel-button svg { width: 28px; height: 28px; flex: 0 0 auto; }
.channel-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.channel-button--whatsapp { background: linear-gradient(180deg, #28c969 0%, #19a951 100%); }
.channel-button--telegram { background: linear-gradient(180deg, #3ea7e5 0%, #2685c1 100%); }
.channel-button--preview { cursor: default; opacity: .92; }

.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 (min-width: 601px) {
    .page-shell { box-shadow: 0 0 45px rgba(0, 0, 0, .22); }
}

@media (max-width: 360px) {
    .brand-bar { padding-right: 12px; padding-left: 12px; }
    .media-section { padding-right: 10px; padding-left: 10px; }
    .channel-bar { padding-right: 10px; padding-left: 10px; }
    .copy-card { padding: 15px 52px 17px 15px; }
    .copy-card h2 { font-size: 19px; }
    .channel-button { min-height: 64px; padding: 0 8px; font-size: 15px; }
    .channel-button svg { width: 26px; height: 26px; }
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 12, 10, .58);
}

.contact-modal.is-open { display: flex; }

.contact-modal__card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 20px 18px;
    border: 1px solid rgba(184, 111, 80, .18);
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.contact-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #efeae1;
    color: #4a463f;
    font: 700 22px/1 system-ui, sans-serif;
    cursor: pointer;
}

.contact-modal__channel {
    padding-right: 40px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.contact-modal__label {
    margin: 12px 0 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-modal__message {
    width: 100%;
    min-height: 92px;
    padding: 12px;
    border: 1px solid #e6dfd4;
    border-radius: 10px;
    background: #f7f3ec;
    color: var(--ink);
    font: 400 15px/1.45 Inter, system-ui, sans-serif;
    resize: none;
}

.contact-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.contact-modal__open,
.contact-modal__copy {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    font: 800 16px/1 system-ui, sans-serif;
    cursor: pointer;
}

.contact-modal__open {
    border: 0;
    background: var(--ink);
    color: #fff;
}

.contact-modal__copy {
    border: 1px solid #ddd4c6;
    background: #fff;
    color: var(--ink);
}

.contact-modal__open:active,
.contact-modal__copy:active { transform: translateY(1px); }
