:root {
    --bg: #12141a; --surface: #1c1f27; --surface-2: #232733; --border: #2c303b; --border-strong: #3a3f4c;
    --text: #e7e9ee; --muted: #a3a9b8; --faint: #7d8392; --primary: #1971c2; --primary-hover: #1864ab;
    --accent: #4dabf7; --green: #8ce99a; --orange: #ffa94d;
    --radius: 14px; --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); white-space: nowrap; }
.btn:hover { background: #2a2f3d; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-hover); }
.btn:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 20, 26, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; margin-inline-end: auto; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--faint); letter-spacing: 0.3px; }
nav.links { display: flex; gap: 22px; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
nav.links a:hover { color: var(--text); }
@media (max-width: 860px) { nav.links { display: none; } }

/* hero */
.hero { padding: 72px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(77, 171, 247, 0.12); border: 1px solid rgba(77, 171, 247, 0.35); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.5px; }
h1 span { color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-shot { border-radius: var(--radius); border: 1px solid var(--border-strong); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); background: var(--surface); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--faint); font-size: 13px; }
.trust span::before { content: "✓"; color: var(--green); margin-inline-end: 6px; font-weight: 700; }
@media (max-width: 900px) {
    .hero { padding: 40px 0 24px; }
    .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* sections */
section.block { padding: 64px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 32px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.3px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.three, .grid.two, .grid.four { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; background: rgba(77, 171, 247, 0.12); flex: none; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }

/* two ways */
.option { display: flex; flex-direction: column; gap: 14px; }
.option .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.blue { background: rgba(77, 171, 247, 0.16); color: #74c0fc; }
.tag.green { background: rgba(140, 233, 154, 0.16); color: var(--green); }
.option ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.option li { color: var(--muted); font-size: 15px; padding-inline-start: 24px; position: relative; }
.option li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 700; }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.shots figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; }
.shots figcaption strong { color: var(--text); display: block; }
@media (max-width: 760px) { .shots, .shots.three { grid-template-columns: minmax(0, 1fr); } }
.phone-row { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; margin-top: 16px; }
.phone-row img { border-radius: 22px; border: 1px solid var(--border-strong); }
@media (max-width: 760px) { .phone-row { grid-template-columns: minmax(0, 1fr); } .phone-row img { max-width: 260px; margin: 0 auto; } }

/* faq */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* final cta and footer */
.final { text-align: center; }
.final .cta { justify-content: center; }
footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* sign-in dialog */
dialog { border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); color: var(--text); padding: 0; width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.dlg { padding: 22px; display: grid; gap: 14px; }
.dlg h3 { margin: 0; font-size: 19px; }
.dlg p { margin: 0; color: var(--muted); font-size: 14px; }
.dlg label { font-weight: 700; font-size: 14px; }
.slug-row { display: flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; background: var(--bg); }
.slug-row span { padding: 0 10px; display: flex; align-items: center; color: var(--faint); font-size: 14px; background: var(--surface-2); white-space: nowrap; }
.slug-row input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; color: var(--text); font: inherit; padding: 0 12px; }
.dlg .error { color: #ff8787; font-size: 14px; }
.dlg .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* video, text and language switch */
.video-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: #000; }
.video-box video { width: 100%; display: block; }
.text-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.text-block.no-media { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.text-block .body { color: var(--muted); font-size: 17px; white-space: pre-line; }
.text-block img, .text-block video { border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 760px) { .text-block { grid-template-columns: minmax(0, 1fr); } }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-4 { grid-template-columns: minmax(0, 1fr); } }
.tag.orange { background: rgba(255, 169, 77, 0.16); color: var(--orange); }
.lang-switch { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 8px; }
.lang-switch:hover { color: var(--text); }
.preview-bar { position: sticky; top: 0; z-index: 30; background: #f59f00; color: #1f1300; text-align: center; font-weight: 700; font-size: 13px; padding: 6px 12px; }
html[dir="rtl"] .option li::before { inset-inline-start: 0; }
.shots.one { grid-template-columns: minmax(0, 1fr); }

/* phones: buttons fill the row */
@media (max-width: 560px) {
    .cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta .btn { width: 100%; padding: 0 12px; }
    .top .btn { min-height: 40px; padding: 0 14px; }
    .slug-row span { display: none; }
}

/* clients, contact, ticks, video placeholder */
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.client { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 140px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.client img { max-height: 64px; width: auto; object-fit: contain; }
.client strong { font-size: 16px; }
.client span { color: var(--muted); font-size: 14px; }
a.client:hover { border-color: var(--border-strong); }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 820px; margin: 0 auto; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--text); text-align: center; }
.contact-card span:last-child { color: var(--accent); font-weight: 600; }
.contact-card:hover { border-color: var(--accent); }
.contact-note { color: var(--faint); font-size: 14px; margin-top: 18px; }
ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
ul.ticks li { position: relative; padding-inline-start: 26px; color: var(--muted); }
ul.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 700; }
.text-block .eyebrow { margin-bottom: 14px; }
.text-block.reverse > figure, .text-block.reverse > div:last-child { order: -1; }
.text-media { margin: 0; }
.text-media figcaption { color: var(--faint); font-size: 13px; margin-top: 8px; text-align: center; }
.video-soon { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(135deg, #1c1f27, #232733); }
.video-soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.video-soon span { position: relative; font-weight: 800; font-size: 18px; color: var(--text); background: rgba(18, 20, 26, 0.75); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-strong); }
.video-caption { text-align: center; margin-top: 16px; display: grid; gap: 4px; }
.video-caption span { color: var(--muted); }
.option-action { margin-top: auto; padding-top: 6px; }
.option-action .btn { width: 100%; }
@media (max-width: 760px) { .text-block.reverse > figure, .text-block.reverse > div:last-child { order: 0; } }
