:root {
    --bg: #0c0d12;
    --bg-2: #111219;
    --surface: #161822;
    --surface-2: #1c1f2b;
    --border: #252838;
    --border-2: #33374b;
    --text: #eeecf5;
    --muted: #a3a1b4;
    --accent: #b79bea;
    --accent-2: #8a67dd;
    --accent-3: #6fd0c8;
    --accent-ink: #170d2b;
    --grad: linear-gradient(135deg, #c9b3f3 0%, #9a78e6 55%, #7c5bd6 100%);
    --radius: 20px;
    --wrap: 1160px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #d4c3f7; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 900; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: rgba(183, 155, 234, .35); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 800px; }
.muted { color: var(--muted); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 38em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons (clean light / dark pair) ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(180deg, #f6f6f8 0%, #dcdce1 100%); color: #121217;
    font: inherit; font-weight: 700; font-size: 1rem; border: 0; border-radius: 12px;
    padding: 12px 24px; cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .5), 0 10px 24px -12px rgba(0, 0, 0, .9);
    transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.btn:hover { color: #121217; transform: translateY(-1px); filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .5), 0 14px 30px -12px rgba(0, 0, 0, .95); }
.btn:active { transform: translateY(0); filter: brightness(.97); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateY(2px); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-block { width: 100%; padding-block: 14px; }
.btn-block:hover svg { transform: translate(-3px, -3px); }
[dir="ltr"] .btn-block:hover svg { transform: translate(3px, -3px); }
.btn-ghost {
    background: #16171d; color: #ecebf2;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 24px -14px rgba(0, 0, 0, .9);
}
.btn-ghost:hover { color: #fff; background: #1c1d25; border-color: rgba(255, 255, 255, .18); filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 30px -14px rgba(0, 0, 0, .95); }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 10px 10px 0; pointer-events: none; transition: padding .45s var(--ease); }
.nav-shell {
    pointer-events: auto;
    display: flex; align-items: center; gap: 36px;
    width: 100%; max-width: 100%; margin-inline: auto; min-height: 72px; padding: 0 20px;
    background: #111217; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px;
    transition: max-width .5s var(--ease), min-height .45s var(--ease), border-radius .45s var(--ease),
                background .35s, box-shadow .35s, border-color .35s, padding .45s var(--ease);
}
.nav.scrolled { padding-top: 16px; }
.nav.scrolled .nav-shell {
    max-width: min(1120px, calc(100% - 12px)); min-height: 66px; border-radius: 18px; padding: 0 14px 0 18px;
    background: rgba(20, 21, 28, .72);
    backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
    border-color: rgba(255, 255, 255, .10);
    box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 900; font-size: 1.45rem; }
.brand:hover { color: var(--text); }
.brand img { width: auto; height: 44px; object-fit: contain; }
.brand-lg img { height: 48px; filter: drop-shadow(0 6px 16px rgba(138, 103, 221, .4)); }
.brand-lg { font-size: 1.6rem; }
.brand-full { flex: 0 0 auto; gap: 10px; }
.brand-full .brand-pin { height: 40px; filter: drop-shadow(0 4px 12px rgba(138, 103, 221, .45)); transition: transform .35s var(--ease); }
.brand-full:hover .brand-pin { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; gap: 4px; }
.brand-text small { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.brand-full .brand-wordmark { height: 20px; width: auto; filter: brightness(1.25) saturate(1.1); }

.nav-links { display: flex; align-items: center; gap: 30px; flex: 1; }
.nav-links a:not(.nav-cta):not(.lang) { color: #e9e8ef; font-weight: 700; font-size: .98rem; transition: color .2s, opacity .2s; opacity: .88; }
.nav-links a:not(.nav-cta):not(.lang):hover { color: #fff; opacity: 1; }
.nav-links .lang {
    margin-inline-start: auto;
    display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .92rem;
    padding: 7px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links .lang:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #f4f3f7, #d9d8df); color: #121217; font-weight: 800; font-size: .95rem;
    padding: 10px 20px; border-radius: 12px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 6px 18px -8px rgba(0, 0, 0, .7);
    transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.nav-cta:hover { color: #121217; transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 24px -10px rgba(183, 155, 234, .6); }

.nav-toggle { display: none; margin-inline-start: auto; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: var(--text); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.burger { position: relative; width: 20px; height: 14px; }
.burger i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.nav-toggle.open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.open .burger i:nth-child(2) { opacity: 0; }
.nav-toggle.open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .nav { padding: 8px 8px 0; }
    .nav-shell, .nav.scrolled .nav-shell { min-height: 60px; padding: 0 10px 0 14px; gap: 12px; }
    .nav.scrolled .nav-shell { max-width: 100%; }
    .brand-full .brand-pin { height: 34px; }
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute; inset-inline: 8px; top: calc(100% + 8px);
        flex-direction: column; align-items: stretch; gap: 2px;
        background: rgba(22, 24, 32, .97); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
        padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
        opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top;
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav { position: sticky; }
    .nav-links.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .nav-links a:not(.nav-cta):not(.lang) { padding: 12px 10px; border-radius: 10px; }
    .nav-links a:not(.nav-cta):not(.lang):hover { background: rgba(255, 255, 255, .04); }
    .nav-links .lang { margin: 6px 0; align-self: flex-start; }
    .nav-cta { margin-top: 4px; padding: 12px 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; margin-top: -82px; padding-top: 150px; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(600px 400px at 75% 20%, rgba(138, 103, 221, .30), transparent 70%),
        radial-gradient(500px 360px at 15% 70%, rgba(111, 208, 200, .10), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; color: #d6c8f6;
    background: rgba(183, 155, 234, .09); border: 1px solid rgba(183, 155, 234, .25);
    padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 0 0 rgba(111, 208, 200, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111, 208, 200, .55); } 70% { box-shadow: 0 0 0 10px rgba(111, 208, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 208, 200, 0); } }
.hero .lead { margin-bottom: 32px; }

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store {
    display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #121219, #07070b); color: #fff; border: 1px solid #34343f; border-radius: 14px;
    padding: 9px 20px 9px 18px; min-width: 172px;
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.store:hover { color: #fff; transform: translateY(-2px); border-color: rgba(183, 155, 234, .7); box-shadow: 0 12px 28px -14px rgba(138, 103, 221, .7); }
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store-text small { font-size: .72rem; opacity: .75; }
.store-text strong { font-size: 1.12rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.store.is-soon { cursor: default; }
.store.is-soon:hover { transform: none; border-color: #34343f; box-shadow: none; }

/* ---------- Phones ---------- */
.phone {
    position: relative; border-radius: 36px; padding: 8px; background: linear-gradient(160deg, #20222e, #07080c 60%);
    border: 1px solid #2e3142;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .04) inset;
}
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 420 / 933; object-fit: cover; }
.hero-phones { position: relative; height: 580px; }
.hero-phones .phone { position: absolute; width: 256px; }
.phone-front { inset-inline-start: 6%; top: 10px; z-index: 2; animation: float 7s ease-in-out infinite; }
.phone-back { inset-inline-start: 44%; top: 70px; opacity: .8; animation: float-b 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-b { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(10px); } }
[dir="rtl"] .phone-back { animation-name: float-b-rtl; }
@keyframes float-b-rtl { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(10px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.orb-1 { width: 260px; height: 260px; background: rgba(138, 103, 221, .45); top: 30%; inset-inline-start: 20%; }
.orb-2 { width: 160px; height: 160px; background: rgba(111, 208, 200, .22); bottom: 4%; inset-inline-start: 60%; }

@media (max-width: 900px) {
    .hero { padding-top: 110px; padding-bottom: 40px; margin-top: -68px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-phones { height: 470px; max-width: 390px; margin-inline: auto; width: 100%; }
    .hero-phones .phone { width: 212px; }
    .phone-front { inset-inline-start: 4%; }
    .phone-back { inset-inline-start: 40%; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.kicker {
    display: inline-block; margin-bottom: 12px; font-weight: 800; font-size: .88rem; letter-spacing: .06em;
    color: var(--accent); text-transform: uppercase;
}
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); vertical-align: middle; margin-inline-end: 10px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .step {
    position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before, .step::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(135deg, rgba(201, 179, 243, .7), transparent 40%, transparent 60%, rgba(111, 208, 200, .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .35s;
}
.card:hover, .step:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(138, 103, 221, .65); border-color: transparent; }
.card:hover::before, .step:hover::before { opacity: 1; }
.card p, .step p { margin: 0; }
.icon {
    display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 179, 243, .2), rgba(124, 91, 214, .12)); color: #d6c8f6;
    border: 1px solid rgba(183, 155, 234, .25); margin-bottom: 18px; transition: transform .35s var(--ease);
}
.card:hover .icon { transform: scale(1.08) rotate(-4deg); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

.trust { background: radial-gradient(700px 400px at 20% 50%, rgba(138, 103, 221, .12), transparent 70%), var(--bg-2); border-block: 1px solid rgba(255, 255, 255, .04); }
.trust-grid { display: grid; grid-template-columns: 290px 1fr; gap: 64px; align-items: center; }
.trust-grid .phone { max-width: 290px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li {
    position: relative; padding: 12px 18px; padding-inline-start: 52px; font-weight: 700;
    background: rgba(255, 255, 255, .025); border: 1px solid var(--border); border-radius: 14px;
}
.checks li::before {
    content: ""; position: absolute; inset-inline-start: 14px; top: 50%; margin-top: -12px; width: 24px; height: 24px; border-radius: 50%;
    background: rgba(111, 208, 200, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fd0c8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 900px) {
    .trust-grid { grid-template-columns: 1fr; gap: 40px; }
    .trust-grid .phone { max-width: 240px; margin-inline: auto; }
}

.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.screens .phone { transition: transform .4s var(--ease); }
.screens .phone:hover { transform: translateY(-8px); }
@media (max-width: 900px) {
    .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 4px 4px 14px; scrollbar-width: none; }
    .screens::-webkit-scrollbar { display: none; }
    .screens .phone { flex: 0 0 62%; scroll-snap-align: center; }
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-n {
    display: inline-flex; width: 44px; height: 44px; border-radius: 14px; align-items: center; justify-content: center;
    background: var(--grad); color: var(--accent-ink); font-weight: 900; font-size: 1.1rem; margin-bottom: 16px;
    box-shadow: 0 10px 24px -10px rgba(138, 103, 221, .8);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; transition: border-color .25s, background .25s; }
.faq:hover { border-color: var(--border-2); }
.faq[open] { border-color: rgba(183, 155, 234, .4); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: 0 0 28px; height: 28px; border-radius: 50%; background: rgba(183, 155, 234, .12); transition: transform .3s var(--ease), background .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--accent); transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon { transform: rotate(180deg); background: rgba(183, 155, 234, .22); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px; margin: 0; }
.faq[open] .faq-a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contact & form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-list { margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list div { display: grid; gap: 2px; padding: 14px 18px; background: rgba(255, 255, 255, .025); border: 1px solid var(--border); border-radius: 14px; }
.contact-list dt { color: var(--muted); font-size: .88rem; }
.contact-list dd { margin: 0; font-weight: 800; }
.form {
    position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: 24px; padding: 30px; display: grid; gap: 18px;
    box-shadow: 0 40px 80px -50px rgba(138, 103, 221, .6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-weight: 700; font-size: .92rem; color: #d9d7e4; }
.field input, .field textarea {
    font: inherit; font-weight: 600; color: var(--text); background: rgba(8, 9, 13, .7);
    border: 1.5px solid var(--border-2); border-radius: 14px; padding: 13px 16px; width: 100%;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #666478; font-weight: 500; }
.field input:hover, .field textarea:hover { border-color: #43475e; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(8, 9, 13, .9); box-shadow: 0 0 0 4px rgba(183, 155, 234, .16); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e08b8b; box-shadow: 0 0 0 4px rgba(224, 139, 139, .12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 700; text-align: center; }
.form-status.ok { color: #8fdcae; }
.form-status.err { color: #f0a3a3; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* ---------- Inner pages ---------- */
.page { padding: 60px 0 96px; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 28px; }
.page-body { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 48px); color: #dad8e4; }
.page-body h2 { font-size: 1.25rem; margin-top: 1.6em; }
.page-body h2:first-child { margin-top: 0; }
.page-body ol, .page-body ul { padding-inline-start: 1.3em; }
.page-body li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--bg-2); padding: 64px 0 28px; margin-top: 24px; }
.footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(183, 155, 234, .55), rgba(111, 208, 200, .35), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-about p { margin-top: 16px; max-width: 26em; }
.footer-h { font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); transition: color .2s, padding .2s; }
.footer ul a:hover { color: var(--text); padding-inline-start: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-contact svg { flex: 0 0 auto; color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 44px; padding-top: 22px; font-size: .92rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; border: 1px solid var(--border-2); padding: 6px 14px; border-radius: 999px; transition: color .2s, border-color .2s, transform .25s var(--ease); }
.to-top:hover { color: var(--text); border-color: rgba(183, 155, 234, .6); transform: translateY(-2px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-phones.reveal { transform: translateY(40px) scale(.97); }
.js .hero-phones.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js .reveal { opacity: 1; transform: none; }
}
