@font-face {
    font-family: DaxWebPro-Medi;
    src: url("fonts/DaxWebPro-Medi.woff") format("woff");
    font-display: swap;
}

:root {
    --red: #ce243e;
    --red-dark: #a81c31;
    --red-soft: #fbeaed;
    --green: #1abd63;
    --green-soft: #e6f8ee;
    --text: #333333;
    --muted: #797979;
    --bg: #f4f5f7;
    --card: #ffffff;
    --border: #e4e6ea;
    --radius: 14px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --heading: DaxWebPro-Medi, "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3 {
    font-family: var(--heading);
    font-weight: normal;
    line-height: 1.25;
    margin: 0;
}

h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 12px; }

p { margin: 0 0 12px; }

a {
    color: var(--red);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

a:hover { color: var(--red-dark); }

img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.topbar {
    background: var(--card);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    display: flex;
    align-items: center;
    height: 72px;
}

.logo { height: 52px; width: auto; }

.lang-switch {
    margin-left: auto;
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg);
    border-radius: 999px;
}

.lang-switch button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.lang-switch button img { width: 22px; height: auto; border-radius: 3px; }

.lang-switch button:hover { color: var(--text); }

.lang-switch button[aria-pressed="true"] {
    background: var(--card);
    color: var(--red);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Hero */

.hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    padding: 48px 0 56px;
    border-radius: 0 0 40px 40px;
}

.hero h1 { margin-bottom: 16px; letter-spacing: 0.01em; }

.hero .lead { font-size: 1.1rem; opacity: 0.95; }

.hero a { color: #fff; font-weight: 600; }
.hero a:hover { color: #ffe1e6; }

.hero-note { margin: 24px 0 0; opacity: 0.95; }

.services {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.services li {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    padding: 18px 20px;
    font-weight: 600;
}

.services-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    font-family: var(--heading);
}

/* Sections & cards */

.section { margin: 48px 0; }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card-ok { border-top: 4px solid var(--green); }
.card-wait { border-top: 4px solid var(--red); }

.checklist, .bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist li, .bullets li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 12px;
}

.checklist li:last-child, .bullets li:last-child { margin-bottom: 0; }

.checklist li::before {
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

.checklist .yes::before { content: "✓"; background: var(--green-soft); color: var(--green); }
.checklist .no::before { content: "✕"; background: var(--red-soft); color: var(--red); }

.bullets li { padding-left: 22px; }

.bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.numbered {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: n;
}

.numbered > li {
    counter-increment: n;
    position: relative;
    padding-left: 48px;
    margin-bottom: 18px;
}

.numbered > li:last-child { margin-bottom: 0; }

.numbered > li::before,
.step::before {
    content: counter(n);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-family: var(--heading);
    display: flex;
    align-items: center;
    justify-content: center;
}

.numbered .bullets { margin-top: 12px; }

/* Install steps */

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: n;
}

.step {
    counter-increment: n;
    position: relative;
    padding: 0 0 32px 56px;
}

.step::before {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    z-index: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 38px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.step p { padding-top: 5px; }

.gallery {
    --cols: 3;
    --col: 210px;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, var(--col)));
    gap: 14px;
    margin-top: 8px;
}

.gallery-wide { --col: 250px; }

.shot {
    display: block;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.09);
    cursor: zoom-in;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.shot:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}

.store {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.badge { height: 52px; width: auto; display: block; }

.qr { width: 180px; display: block; }

/* Docs */

.doc-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.doc-link:hover {
    color: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 36, 62, 0.15);
}

.doc-icon {
    flex: none;
    width: 48px;
    height: 56px;
    border-radius: 8px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ */

.faq {
    display: grid;
    gap: 20px;
}

.faq h3 { color: var(--red); }

/* Footer */

.footer {
    background: var(--red);
    color: #fff;
    padding: 36px 0;
    border-radius: 40px 40px 0 0;
    text-align: center;
}

.footer p { margin: 0; }
.footer a { color: #fff; font-weight: 600; }
.footer a:hover { color: #ffe1e6; }

/* Lightbox */

.lightbox {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 95vw;
    max-height: 95vh;
    cursor: zoom-out;
}

.lightbox[open] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }

.lightbox img {
    display: block;
    max-width: calc(95vw - 120px);
    max-height: 90vh;
    min-height: min(70vh, 600px);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-nav {
    flex: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-nav:hover { background: var(--red); }

.lightbox.single .lightbox-nav { visibility: hidden; }

/* Responsive */

@media (max-width: 760px) {
    body { font-size: 16px; }

    .services, .grid-2 { grid-template-columns: 1fr; }

    .hero { padding: 32px 0 40px; border-radius: 0 0 24px 24px; }

    .topbar-inner { height: 60px; }
    .logo { height: 42px; }

    .section { margin: 36px 0; }
    .card { padding: 18px; }

    .step { padding-left: 48px; }
    .step::before { width: 32px; height: 32px; font-size: 1rem; }
    .step:not(:last-child)::after { left: 15px; top: 32px; }

    .badge { height: 44px; }
    .qr { width: 150px; }
    .store { padding: 12px; }

    .gallery, .gallery-wide { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .footer { border-radius: 24px 24px 0 0; }
}

@media (max-width: 480px) {
    .lang-switch button { padding: 6px 10px; font-size: 0; gap: 0; }
    .lang-switch button img { width: 24px; }

    .lightbox img { max-width: calc(100vw - 32px); min-height: 0; }
    .lightbox-nav { position: fixed; bottom: 16px; }
    .lightbox-nav.prev { left: 16px; }
    .lightbox-nav.next { right: 16px; }
}
