/*
 * Reklamamarkazi.uz — "Neon / CMYK" dizayn tizimi (2026-10-28)
 * Tailwind build kerak emas: oddiy CSS, layouts/site.blade.php orqali ulanadi.
 * Tuzilishi: 1) tokenlar  2) baza  3) header/drawer  4) tugma/karta/chip
 *            5) bo'limlar  6) galereya + lightbox  7) formalar/dropzone
 *            8) footer  9) eski sahifalar uchun "skin"  10) mobil
 */

/* 1. Tokenlar ------------------------------------------------------------ */
:root {
    color-scheme: dark;
    --rm-bg: #07070b;
    --rm-bg-2: #0d0d14;
    --rm-bg-3: #14141d;
    --rm-surface: rgba(255, 255, 255, .045);
    --rm-surface-2: rgba(255, 255, 255, .075);
    --rm-line: rgba(255, 255, 255, .10);
    --rm-line-2: rgba(255, 255, 255, .18);
    --rm-text: #f3f4f8;
    --rm-muted: #a1a6b8;
    --rm-dim: #6f7487;

    --rm-c: #00b8ff;
    --rm-m: #ff3fa9;
    --rm-y: #ffd400;
    --rm-k: #0a0a0f;
    --rm-ok: #3ee08f;
    --rm-err: #ff5a6e;

    --rm-grad: linear-gradient(100deg, var(--rm-c) 0%, var(--rm-m) 52%, var(--rm-y) 100%);
    --rm-grad-soft: linear-gradient(100deg, rgba(0, 184, 255, .18), rgba(255, 63, 169, .16) 52%, rgba(255, 212, 0, .14));
    --rm-glow-c: 0 0 0 1px rgba(0, 184, 255, .35), 0 10px 40px -8px rgba(0, 184, 255, .45);
    --rm-glow-m: 0 0 0 1px rgba(255, 63, 169, .35), 0 10px 40px -8px rgba(255, 63, 169, .45);

    --rm-r-sm: 12px;
    --rm-r: 18px;
    --rm-r-lg: 28px;
    --rm-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);

    --rm-font: "Manrope", "Instrument Sans", "Segoe UI", system-ui, sans-serif;
    --rm-display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
    --rm-container: 1240px;
    --rm-header-h: 72px;
}

/* 2. Baza ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body.rm-neon {
    margin: 0;
    min-height: 100vh;
    font-family: var(--rm-font);
    color: var(--rm-text);
    background-color: var(--rm-bg);
    background-image:
        radial-gradient(900px 500px at 8% -10%, rgba(0, 184, 255, .13), transparent 60%),
        radial-gradient(800px 480px at 100% 0%, rgba(255, 63, 169, .11), transparent 60%),
        radial-gradient(900px 600px at 50% 120%, rgba(255, 212, 0, .06), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

.rm-neon ::selection { background: var(--rm-m); color: #fff; }
.rm-neon img, .rm-neon video, .rm-neon svg { max-width: 100%; }
.rm-neon a { color: inherit; }
.rm-neon :focus-visible { outline: 2px solid var(--rm-c); outline-offset: 3px; border-radius: 6px; }

.rm-container {
    width: 100%;
    max-width: var(--rm-container);
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

.rm-grad-text {
    background: var(--rm-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* CMYK chiziq — brend detali */
.rm-cmyk-bar { display: flex; height: 4px; border-radius: 99px; overflow: hidden; width: 96px; }
.rm-cmyk-bar i { flex: 1; }
.rm-cmyk-bar i:nth-child(1) { background: var(--rm-c); }
.rm-cmyk-bar i:nth-child(2) { background: var(--rm-m); }
.rm-cmyk-bar i:nth-child(3) { background: var(--rm-y); }
.rm-cmyk-bar i:nth-child(4) { background: #fff; opacity: .85; }

/* 3. Header / drawer ----------------------------------------------------- */
.rm-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid transparent;
    background: rgba(7, 7, 11, .55);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: background .25s, border-color .25s;
}
.rm-header.is-scrolled { background: rgba(7, 7, 11, .86); border-bottom-color: var(--rm-line); }
.rm-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: var(--rm-grad);
    opacity: 0;
    transition: opacity .25s;
}
.rm-header.is-scrolled::after { opacity: .55; }

.rm-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--rm-header-h);
}

.rm-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--rm-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -.02em;
}
.rm-logo b { font-weight: 700; color: var(--rm-y); }
.rm-logo__dots { display: grid; grid-template-columns: repeat(2, 9px); gap: 3px; }
.rm-logo__dots i { width: 9px; height: 9px; border-radius: 50%; }
.rm-logo__dots i:nth-child(1) { background: var(--rm-c); box-shadow: 0 0 10px var(--rm-c); }
.rm-logo__dots i:nth-child(2) { background: var(--rm-m); box-shadow: 0 0 10px var(--rm-m); }
.rm-logo__dots i:nth-child(3) { background: var(--rm-y); box-shadow: 0 0 10px var(--rm-y); }
.rm-logo__dots i:nth-child(4) { background: #fff; }

.rm-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.rm-nav a {
    position: relative;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--rm-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, background .2s;
}
.rm-nav a:hover { color: var(--rm-text); background: var(--rm-surface); }
.rm-nav a.is-active { color: var(--rm-text); }
.rm-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 13px; right: 13px; bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--rm-grad);
}

.rm-header__actions { display: flex; align-items: center; gap: 10px; }

/* Telefon va Telegram (header) */
.rm-phone, .rm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    border-radius: 12px;
    color: var(--rm-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.rm-phone { padding: 0 10px; }
.rm-icon-btn { width: 38px; border: 1px solid var(--rm-line-2); background: var(--rm-surface); }
.rm-phone svg, .rm-icon-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.rm-phone svg { color: var(--rm-c); }
.rm-phone:hover { background: var(--rm-surface); }
.rm-icon-btn:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
@media (max-width: 1480px) {
    .rm-phone span { display: none; }
    .rm-phone { width: 38px; padding: 0; border: 1px solid var(--rm-line-2); background: var(--rm-surface); }
}

.rm-burger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--rm-line-2);
    border-radius: 14px;
    background: var(--rm-surface);
    color: var(--rm-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.rm-burger span, .rm-burger span::before, .rm-burger span::after {
    display: block;
    width: 18px; height: 2px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
    transition: transform .25s, background .25s;
}
.rm-burger span::before, .rm-burger span::after { content: ""; position: absolute; left: 0; }
.rm-burger span::before { top: -6px; }
.rm-burger span::after { top: 6px; }
.rm-burger[aria-expanded="true"] span { background: transparent; }
.rm-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.rm-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.rm-drawer {
    display: none;
    border-top: 1px solid var(--rm-line);
    background: rgba(7, 7, 11, .97);
}
.rm-drawer.is-open { display: block; animation: rm-drop .22s ease-out; }
.rm-drawer__inner { display: grid; gap: 6px; padding-block: 16px 22px; }
.rm-drawer a:not(.rm-btn) {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--rm-surface);
    border: 1px solid var(--rm-line);
    text-decoration: none;
    font-weight: 700;
}
.rm-drawer a.is-active { border-color: rgba(0, 184, 255, .5); }
.rm-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

@keyframes rm-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 4. Tugmalar, kartalar, chiplar ---------------------------------------- */
.rm-btn {
    --_bg: var(--rm-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: var(--_bg);
    background-size: 160% 100%;
    background-position: 0 0;
    color: #0a0a0f;
    font: 800 15px/1 var(--rm-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(255, 63, 169, .65);
    transition: background-position .4s, transform .15s, box-shadow .25s;
}
.rm-btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(0, 184, 255, .7); }
.rm-btn:active { transform: translateY(0); }
.rm-btn[disabled], .rm-btn.is-disabled { opacity: .5; pointer-events: none; }
.rm-btn--ghost {
    background: var(--rm-surface);
    color: var(--rm-text);
    border: 1px solid var(--rm-line-2);
    box-shadow: none;
}
.rm-btn--ghost:hover { background: var(--rm-surface-2); border-color: rgba(0, 184, 255, .55); box-shadow: var(--rm-glow-c); }
.rm-btn--sm { min-height: 38px; padding: 0 15px; font-size: 13px; border-radius: 12px; }
.rm-btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; border-radius: 16px; }
.rm-btn--block { width: 100%; }

.rm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--rm-line-2);
    border-radius: 999px;
    background: var(--rm-surface);
    color: var(--rm-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.rm-kicker::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--rm-m);
    box-shadow: 0 0 12px var(--rm-m);
}
.rm-kicker--c::before { background: var(--rm-c); box-shadow: 0 0 12px var(--rm-c); }
.rm-kicker--y::before { background: var(--rm-y); box-shadow: 0 0 12px var(--rm-y); }

.rm-card {
    position: relative;
    border: 1px solid var(--rm-line);
    border-radius: var(--rm-r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
    box-shadow: var(--rm-shadow);
}
.rm-card--pad { padding: clamp(20px, 3vw, 36px); }
/* Gradient chegarali karta (hover yoki doimiy) */
.rm-card--neon::before, .rm-card--hover::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: var(--rm-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.rm-card--hover::before { opacity: 0; transition: opacity .3s; }
.rm-card--hover { transition: transform .3s, background .3s; }
.rm-card--hover:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)); }
.rm-card--hover:hover::before { opacity: 1; }

.rm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--rm-line-2);
    border-radius: 999px;
    background: var(--rm-surface);
    color: var(--rm-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, border-color .2s, background .2s;
}
.rm-chip:hover { color: var(--rm-text); border-color: rgba(255, 255, 255, .35); }
.rm-chip.is-active { color: #0a0a0f; background: var(--rm-grad); border-color: transparent; }
.rm-chip small { opacity: .7; font-weight: 600; }

.rm-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: var(--rm-surface-2);
    color: var(--rm-text);
}
.rm-badge--c { background: rgba(0, 184, 255, .14); color: #7fdcff; }
.rm-badge--m { background: rgba(255, 63, 169, .14); color: #ff9fd3; }
.rm-badge--y { background: rgba(255, 212, 0, .14); color: #ffe466; }

.rm-alert {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--rm-line-2);
    background: var(--rm-surface);
    font-weight: 600;
}
.rm-alert--ok { border-color: rgba(62, 224, 143, .4); background: rgba(62, 224, 143, .09); color: #9af5c4; }
.rm-alert--err { border-color: rgba(255, 90, 110, .45); background: rgba(255, 90, 110, .09); color: #ffb3bd; }
.rm-alert ul { margin: 6px 0 0; padding-left: 18px; }

/* 5. Bo'limlar ----------------------------------------------------------- */
.rm-section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.rm-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.rm-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 32px;
    margin-bottom: clamp(26px, 4vw, 44px);
}
.rm-h1, .rm-h2, .rm-h3 { font-family: var(--rm-display); letter-spacing: -.035em; margin: 0; }
.rm-h1 { font-size: clamp(36px, 6.4vw, 78px); line-height: 1.02; font-weight: 800; }
.rm-h2 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.06; font-weight: 700; }
.rm-h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.rm-lead { color: var(--rm-muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; margin: 0; max-width: 640px; }
.rm-stack > * + * { margin-top: 18px; }

/* Sahifa sarlavhasi (ichki sahifalar) */
.rm-pagehead { padding-block: clamp(48px, 7vw, 92px) clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.rm-pagehead .rm-h1 { font-size: clamp(34px, 5.4vw, 64px); margin-top: 18px; }
.rm-pagehead .rm-lead { margin-top: 18px; }
.rm-pagehead__glow {
    position: absolute;
    inset: auto -10% -40% 40%;
    height: 340px;
    background: radial-gradient(closest-side, rgba(255, 63, 169, .22), transparent);
    filter: blur(20px);
    pointer-events: none;
}

/* Hero (bosh sahifa) */
.rm-hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); overflow: hidden; }
.rm-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rm-hero__title .rm-grad-text { display: inline-block; }
.rm-hero__lead { margin-top: 24px; }
.rm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.rm-hero__stats { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 44px; }
.rm-hero__stats div { display: grid; gap: 4px; }
.rm-hero__stats b { font-family: var(--rm-display); font-size: 26px; letter-spacing: -.03em; }
.rm-hero__stats span { color: var(--rm-dim); font-size: 13px; font-weight: 600; }

.rm-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    pointer-events: none;
    animation: rm-float 14s ease-in-out infinite;
}
.rm-hero__blob--c { width: 380px; height: 380px; background: var(--rm-c); left: -140px; top: 10%; opacity: .22; }
.rm-hero__blob--m { width: 420px; height: 420px; background: var(--rm-m); right: -120px; top: -60px; opacity: .2; animation-delay: -5s; }
.rm-hero__blob--y { width: 300px; height: 300px; background: var(--rm-y); right: 25%; bottom: -160px; opacity: .12; animation-delay: -9s; }
@keyframes rm-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -24px); } }

.rm-screen {
    position: relative;
    aspect-ratio: 4 / 3.1;
    border-radius: 30px;
    padding: 10px;
    background: linear-gradient(140deg, rgba(0, 184, 255, .7), rgba(255, 63, 169, .7) 55%, rgba(255, 212, 0, .7));
    box-shadow: 0 40px 120px -30px rgba(255, 63, 169, .55), 0 30px 90px -40px rgba(0, 184, 255, .6);
}
.rm-screen__inner { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #050508; }
.rm-screen__inner img, .rm-screen__inner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-screen__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.rm-screen__slide.is-active { opacity: 1; }
.rm-screen__caption {
    position: absolute;
    left: 14px; right: 14px; bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(7, 7, 11, .7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--rm-line);
}
.rm-screen__caption strong { display: block; font-size: 15px; }
.rm-screen__caption span { display: block; color: var(--rm-muted); font-size: 12.5px; margin-top: 2px; }
.rm-screen__empty {
    position: absolute; inset: 0;
    display: grid; place-items: center; text-align: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 184, 255, .35), transparent 45%),
        radial-gradient(circle at 70% 65%, rgba(255, 63, 169, .35), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(255, 212, 0, .25), transparent 50%), #07070b;
}
.rm-screen__empty b { font-family: var(--rm-display); font-size: clamp(15px, 2.2vw, 26px); letter-spacing: -.03em; padding: 0 16px; overflow-wrap: anywhere; }
.rm-screen__chip {
    position: absolute;
    z-index: 2;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(13, 13, 20, .88);
    border: 1px solid var(--rm-line-2);
    backdrop-filter: blur(12px);
    box-shadow: var(--rm-shadow);
    font-size: 12px;
    color: var(--rm-muted);
    font-weight: 700;
}
.rm-screen__chip b { display: block; color: var(--rm-text); font-size: 16px; margin-top: 2px; }
.rm-screen__chip--tl { left: -18px; top: 26px; }
.rm-screen__chip--br { right: -16px; bottom: 80px; }
/* Hero: kalkulyator kartasi (orqada showreel xira fon) */
.rm-screen--calc { aspect-ratio: auto; }
.rm-screen--calc .rm-screen__inner { height: auto; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.rm-screen--calc .rm-screen__slide img, .rm-screen--calc .rm-screen__slide video { filter: saturate(1.1); }
.rm-screen--calc .rm-screen__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(7, 7, 11, .45), rgba(7, 7, 11, .15) 75%);
    pointer-events: none;
}
.rm-quick {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    margin: 56px 28px;
    padding: 22px;
    display: grid;
    gap: 14px;
    border-radius: 22px;
    background: rgba(13, 13, 20, .72);
    border: 1px solid var(--rm-line-2);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
    box-sizing: border-box;
}
.rm-quick__head b { display: block; font-family: var(--rm-display); font-size: 18px; letter-spacing: -.02em; }
.rm-quick__head span { display: block; margin-top: 4px; color: var(--rm-dim); font-size: 12px; font-weight: 600; }
.rm-quick__field { display: grid; gap: 6px; min-width: 0; }
.rm-quick__field > span { font-size: 12px; font-weight: 700; color: var(--rm-muted); }
.rm-quick .rm-input { min-height: 44px; padding: 9px 12px; font-size: 15px; }
.rm-quick select.rm-input { appearance: auto; }
.rm-quick select option { background: var(--rm-bg-2); }
.rm-quick__size { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.rm-quick__x { padding-bottom: 12px; color: var(--rm-dim); font-weight: 800; }
.rm-quick__result { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--rm-line); }
.rm-quick__result small { display: block; color: var(--rm-dim); font-size: 12px; font-weight: 600; }
.rm-quick__result b { display: block; margin-top: 4px; font-family: var(--rm-display); font-size: 26px; letter-spacing: -.02em; background: var(--rm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-quick__ai { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.rm-quick__ai input { width: 18px; height: 18px; accent-color: var(--rm-m); flex: 0 0 auto; }
.rm-quick__ai em { font-style: normal; color: var(--rm-y); }
/* Chiplar ramka burchagidan tashqariga chiqadi — formani to'smaydi */
.rm-screen--calc ~ .rm-screen__chip--tl { top: -22px; left: -26px; }
.rm-screen--calc ~ .rm-screen__chip--br { bottom: -22px; right: auto; left: -26px; }
.rm-quick__result b.is-text { font-size: 18px; }

.rm-dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rm-ok); box-shadow: 0 0 0 4px rgba(62, 224, 143, .2); margin-right: 6px; animation: rm-pulse 1.8s infinite; }
@keyframes rm-pulse { 50% { box-shadow: 0 0 0 8px rgba(62, 224, 143, 0); } }

/* Marquee (xizmat nomlari lentasi) */
.rm-marquee { overflow: hidden; border-block: 1px solid var(--rm-line); background: rgba(255, 255, 255, .02); }
.rm-marquee__track { display: flex; width: max-content; animation: rm-marquee 38s linear infinite; }
.rm-marquee span {
    display: inline-flex; align-items: center; gap: 22px;
    padding: 18px 22px;
    font-family: var(--rm-display);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.rm-marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rm-grad); }
@keyframes rm-marquee { to { transform: translateX(-50%); } }

/* Grid yordamchilari */
.rm-grid { display: grid; gap: 18px; }
.rm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Jarayon qadamlari */
.rm-step { padding: 24px; }
.rm-step__num {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    font-family: var(--rm-display);
    font-weight: 700;
    color: #0a0a0f;
    background: var(--rm-grad);
}
.rm-step:nth-child(4n+1) .rm-step__num { background: var(--rm-c); }
.rm-step:nth-child(4n+2) .rm-step__num { background: var(--rm-m); }
.rm-step:nth-child(4n+3) .rm-step__num { background: var(--rm-y); }
.rm-step:nth-child(4n+4) .rm-step__num { background: #fff; }
.rm-step h3 { margin: 18px 0 6px; font-size: 17px; }
.rm-step p { margin: 0; color: var(--rm-muted); font-size: 14px; line-height: 1.6; }

/* Xizmat kartasi */
.rm-service { overflow: hidden; display: flex; flex-direction: column; }
.rm-service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--rm-r-lg) - 1px) calc(var(--rm-r-lg) - 1px) 0 0; background: var(--_fallback, var(--rm-bg-3)); }
.rm-service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.rm-service:hover .rm-service__media img { transform: scale(1.06); }
.rm-service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 11, .85)); }
.rm-service__num {
    position: absolute; z-index: 1; left: 18px; top: 16px;
    font-family: var(--rm-display); font-weight: 800; font-size: 44px; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
}
.rm-service__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.rm-service__body p { margin: 0; color: var(--rm-muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.rm-service__actions { display: flex; gap: 8px; margin-top: 8px; }
.rm-service__price { align-self: flex-start; }

/* Fikrlar */
.rm-review { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.rm-review__stars { color: var(--rm-y); letter-spacing: 3px; font-size: 16px; }
.rm-review p { margin: 0; color: #d9dbe5; line-height: 1.7; flex: 1; }
.rm-review__who { display: flex; align-items: center; gap: 12px; }
.rm-avatar { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #0a0a0f; background: var(--rm-grad); flex: 0 0 auto; }
.rm-review__who b { display: block; }
.rm-review__who small { color: var(--rm-dim); }

/* Hamkorlar */
.rm-partner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.rm-partner__logo { width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; padding: 8px; box-sizing: border-box; }
.rm-partner__logo img { width: 100%; height: 100%; object-fit: contain; }
.rm-partner__logo--txt { background: var(--rm-grad); color: #0a0a0f; font-weight: 800; font-size: 22px; }
.rm-partner b { display: block; }
.rm-partner small { color: var(--rm-dim); }
.rm-partner a { text-decoration: none; }

/* Stat bloklari */
.rm-stat { padding: 22px; }
.rm-stat strong { display: block; font-family: var(--rm-display); font-size: 26px; letter-spacing: -.03em; }
.rm-stat span { display: block; margin-top: 8px; color: var(--rm-muted); font-size: 14px; line-height: 1.55; }

/* CTA banneri */
.rm-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: clamp(26px, 4vw, 48px);
    border-radius: 32px;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 184, 255, .35), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 63, 169, .35), transparent 45%),
        var(--rm-bg-2);
    border: 1px solid var(--rm-line-2);
}
.rm-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hujjat matni (oferta) */
.rm-doc h2 { font-family: var(--rm-display); font-size: 18px; letter-spacing: -.02em; margin: 28px 0 10px; }
.rm-doc h2:first-child { margin-top: 0; }
.rm-doc p { color: #cfd2de; line-height: 1.75; margin: 0 0 10px; }

/* Fikrlar + hamkorlar yonma-yon */
.rm-trust--split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }

/* Ixcham "Biz haqimizda" */
.rm-about-strip { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: center; }
.rm-about-strip__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rm-about-strip__stats strong { display: block; font-family: var(--rm-display); font-size: 22px; letter-spacing: -.03em; }
.rm-about-strip__stats span { display: block; margin-top: 6px; color: var(--rm-muted); font-size: 13.5px; line-height: 1.5; }

/* Buyurtma: forma + yopishqoq summa paneli */
.rm-order { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.rm-order__sticky { position: sticky; top: calc(var(--rm-header-h) + 16px); display: grid; gap: 16px; padding: 22px; }
.rm-order__sum { padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--rm-line); }
.rm-order__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rm-line); font-weight: 800; }
.rm-order__total b { white-space: nowrap; font-family: var(--rm-display); font-size: 21px; letter-spacing: -.02em; background: var(--rm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-order__click { padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(62, 224, 143, .3); background: rgba(62, 224, 143, .07); }
.rm-order-bar { display: none; }

/* Buyurtma sahifasi: 4 qadam */
.rm-ord { padding-top: clamp(36px, 5vw, 64px); }
.rm-ord .hidden { display: none !important; }
.rm-ord__intro { text-align: center; max-width: 820px; margin: 0 auto clamp(24px, 4vw, 40px); }
.rm-ord__intro .rm-h1 { margin-top: 18px; font-size: clamp(30px, 4.6vw, 54px); }
.rm-ord__intro .rm-lead { margin: 16px auto 0; }
.rm-ord__steps { display: grid; gap: 16px; counter-reset: rmstep; min-width: 0; }
.rm-ord__step { padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 18px; counter-increment: rmstep; box-shadow: none; }
.rm-ord__head { display: flex; gap: 14px; align-items: flex-start; }
.rm-ord__head h2 { margin: 0; font-family: var(--rm-display); font-size: 19px; letter-spacing: -.02em; }
.rm-ord__head p { margin: 4px 0 0; color: var(--rm-dim); font-size: 13.5px; line-height: 1.5; }
.rm-ord__n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--rm-grad); color: #0a0a0f; font-family: var(--rm-display); font-weight: 800; }
.rm-ord__n::before { content: counter(rmstep); }

/* Xizmat kartochkalari */
.rm-svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rm-svc__item {
    display: grid; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 14px; cursor: pointer;
    border: 1px solid var(--rm-line-2); background: rgba(0, 0, 0, .3); color: var(--rm-text);
    font: inherit; transition: border-color .15s, background .15s, box-shadow .15s;
}
.rm-svc__item b { font-size: 14px; }
.rm-svc__item small { color: var(--rm-dim); font-size: 12px; font-weight: 700; }
.rm-svc__item:hover { border-color: rgba(255, 255, 255, .35); }
.rm-svc__item.is-active { border-color: var(--rm-m); background: rgba(255, 63, 169, .1); box-shadow: var(--rm-glow-m); }
.rm-svc__item.is-active small { color: #ff9fd3; }

/* O'lcham: inputlar + chizma */
.rm-size { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.rm-size__inputs { display: grid; gap: 12px; }
.rm-num { display: grid; gap: 6px; }
.rm-num > span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; }
.rm-num > span em { font-style: normal; font-weight: 600; color: var(--rm-dim); font-size: 12px; }
.rm-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.rm-dot--c { background: var(--rm-c); box-shadow: 0 0 8px var(--rm-c); }
.rm-dot--m { background: var(--rm-m); box-shadow: 0 0 8px var(--rm-m); }
.rm-dot--y { background: var(--rm-y); box-shadow: 0 0 8px var(--rm-y); }
.rm-num__box { display: grid; grid-template-columns: 46px 1fr 46px; border: 1px solid var(--rm-line-2); border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, .35); transition: border-color .2s, box-shadow .2s; }
.rm-num__box:focus-within { border-color: var(--rm-c); box-shadow: 0 0 0 4px rgba(0, 184, 255, .15); }
.rm-num__box button { border: 0; background: rgba(255, 255, 255, .04); color: var(--rm-text); font-size: 20px; font-weight: 700; cursor: pointer; }
.rm-num__box button:hover { background: rgba(255, 255, 255, .1); }
.rm-num__box input { min-width: 0; height: 48px; border: 0; background: transparent; color: var(--rm-text); text-align: center; font: 800 18px var(--rm-font); outline: none; -moz-appearance: textfield; }
.rm-num__box input::-webkit-outer-spin-button, .rm-num__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rm-num__box input::placeholder { color: var(--rm-dim); font-weight: 600; }
.rm-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rm-dim); font-weight: 700; }
.rm-presets button { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rm-line-2); background: transparent; color: var(--rm-muted); font: 700 12.5px var(--rm-font); cursor: pointer; }
.rm-presets button:hover { color: var(--rm-text); border-color: var(--rm-c); }

.rm-draw { margin: 0; padding: 10px; border-radius: 18px; border: 1px solid var(--rm-line); background: radial-gradient(circle at 50% 40%, rgba(255, 63, 169, .07), transparent 70%), rgba(0, 0, 0, .35); }
.rm-draw svg { display: block; width: 100%; height: auto; }
.rm-draw figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 4px 2px; color: var(--rm-muted); font-size: 12.5px; line-height: 1.45; }

.rm-calc { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.rm-calc > div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--rm-line); min-width: 0; }
.rm-calc small { display: block; color: var(--rm-dim); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-calc small i { font-style: normal; cursor: help; }
.rm-calc b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; }
.rm-calc__main { border-color: rgba(255, 63, 169, .35) !important; background: rgba(255, 63, 169, .07) !important; }
.rm-calc__main b { background: var(--rm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--rm-display); }

/* AI kaliti va blok */
.rm-aiswitch { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--rm-line-2); background: rgba(0, 0, 0, .3); cursor: pointer; }
.rm-aiswitch input { position: absolute; opacity: 0; pointer-events: none; }
.rm-aiswitch__ui { position: relative; flex: 0 0 auto; width: 44px; height: 26px; margin-top: 2px; border-radius: 99px; background: rgba(255, 255, 255, .15); transition: background .2s; }
.rm-aiswitch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.rm-aiswitch input:checked + .rm-aiswitch__ui { background: var(--rm-grad); }
.rm-aiswitch input:checked + .rm-aiswitch__ui::after { transform: translateX(18px); }
.rm-aiswitch input:focus-visible + .rm-aiswitch__ui { outline: 2px solid var(--rm-c); outline-offset: 2px; }
.rm-aiswitch:has(input:checked) { border-color: rgba(255, 63, 169, .5); background: rgba(255, 63, 169, .07); }
.rm-aiswitch > span > b { display: block; font-size: 15px; }
.rm-aiswitch small { display: block; margin-top: 4px; color: var(--rm-muted); font-size: 12.5px; line-height: 1.55; }
.rm-aiswitch small b { display: inline; font-size: inherit; }
.rm-aiswitch small .text-white { color: var(--rm-text); }
.rm-aibox { display: grid; gap: 14px; }
.rm-ai__hint { font-style: normal; font-weight: 600; color: var(--rm-dim); font-size: 12px; margin-left: 6px; }
.rm-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.rm-styles__item { display: grid; gap: 8px; padding: 8px; border-radius: 14px; border: 1px solid var(--rm-line-2); background: rgba(0, 0, 0, .3); color: var(--rm-text); font: 700 12.5px var(--rm-font); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rm-styles__item i { display: block; height: 46px; border-radius: 9px; }
.rm-styles__item:hover { border-color: rgba(255, 255, 255, .35); }
.rm-styles__item.is-active { border-color: var(--rm-m); box-shadow: var(--rm-glow-m); }
.rm-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); cursor: pointer; padding: 0; }
.rm-swatches button.is-on { border-color: #fff; box-shadow: 0 0 0 3px var(--rm-m); }
.rm-ai__warn { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 212, 0, .08); border: 1px solid rgba(255, 212, 0, .4); color: #e9e2c0; font-size: 13px; line-height: 1.55; }
.rm-ai__warn b { color: #ffe466; font-size: 13.5px; }
.rm-ai__warn[hidden] { display: none; }
.rm-ai__tips { padding: 12px 14px; border-radius: 14px; background: rgba(0, 184, 255, .07); border: 1px solid rgba(0, 184, 255, .25); color: var(--rm-muted); font-size: 13px; line-height: 1.55; }
.rm-ai__tips b { color: #7fdcff; }
.rm-aibox__count { font-size: 13px; color: var(--rm-muted); }
.rm-aibox__count b { color: var(--rm-y); }
.rm-aibox__count span { color: var(--rm-dim); margin-left: 6px; }
.rm-aiprev { overflow: hidden; border-radius: 16px; border: 1px solid var(--rm-line); background: #000; }
.rm-aiprev__note { padding: 10px 14px; color: var(--rm-dim); font-size: 12px; border-bottom: 1px solid var(--rm-line); }
.rm-aiprev__frame { display: flex; align-items: center; justify-content: center; max-height: 70vh; margin: 0 auto; background: rgba(0, 0, 0, .6); }
.rm-aiprev__frame img { width: 100%; max-height: 70vh; object-fit: contain; }
.rm-aiprev__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; border-top: 1px solid var(--rm-line); }

.rm-phonebox { display: flex; border: 1px solid var(--rm-line-2); border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, .35); transition: border-color .2s, box-shadow .2s; }
.rm-phonebox:focus-within { border-color: var(--rm-c); box-shadow: 0 0 0 4px rgba(0, 184, 255, .15); }
.rm-phonebox b { display: grid; place-items: center; padding: 0 14px; border-right: 1px solid var(--rm-line); color: var(--rm-y); }
.rm-phonebox input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 0; background: transparent; color: var(--rm-text); font: 700 16px var(--rm-font); outline: none; }

/* Summa paneli qatorlari */
.rm-order__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--rm-muted); }
.rm-order__row + .rm-order__row { margin-top: 8px; }
.rm-order__row b { color: var(--rm-text); }
.rm-order__clickhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--rm-muted); }
.rm-order__clickhead > b { color: #8af0bb; font-size: 14px; }
.rm-order__trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--rm-dim); font-size: 12.5px; font-weight: 600; }
.rm-order__trust a { color: inherit; }
/* Uzun tugma matni ("... va Click orqali to'lash") panelni kengaytirmasin */
.rm-order__sticky { grid-template-columns: minmax(0, 1fr); }
.rm-order__sticky .rm-btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
/* Ichki inputlar: fokus ramkasi tashqi qutida, inputning o'zida emas */
.rm-neon .site-main .rm-num__box input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.rm-neon .site-main .rm-phonebox input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus { border-color: transparent !important; box-shadow: none !important; }

/* Ko'rinishga kirganda animatsiya */
/* Faqat JS ishlaganda yashiriladi (layout <head> da html.rm-js qo'yiladi) */
.rm-js .rm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rm-js .rm-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .rm-js .rm-reveal { opacity: 1; transform: none; transition: none; }
    .rm-hero__blob, .rm-marquee__track { animation: none; }
}

/* 6. Galereya + lightbox ------------------------------------------------- */
.rm-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.rm-filter::-webkit-scrollbar { display: none; }

/* Qatorma-qator panjara: tartib admin paneldagi sudrab tartiblash bilan bir xil o'qiladi */
.rm-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rm-masonry .rm-shot img { aspect-ratio: 4 / 3; object-fit: cover; }

.rm-shot {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--rm-line);
    background: var(--rm-bg-3);
    cursor: zoom-in;
    text-decoration: none;
}
.rm-shot img { display: block; width: 100%; height: auto; transition: transform .6s ease, filter .4s; }
.rm-shot:hover img { transform: scale(1.04); }
.rm-shot__meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(7, 7, 11, .9));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}
.rm-shot:hover .rm-shot__meta, .rm-shot:focus-visible .rm-shot__meta { opacity: 1; transform: none; }
.rm-shot__meta b { display: block; font-size: 15px; }
.rm-shot__meta small { color: #7fdcff; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
@media (hover: none) { .rm-shot__meta { opacity: 1; transform: none; } }

.rm-empty {
    padding: 44px 24px;
    text-align: center;
    color: var(--rm-muted);
    border: 1px dashed var(--rm-line-2);
    border-radius: var(--rm-r-lg);
}

.rm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    grid-template-rows: auto 1fr auto;
    background: rgba(4, 4, 7, .94);
    backdrop-filter: blur(10px);
}
.rm-lightbox.is-open { display: grid; animation: rm-fade .2s ease; }
@keyframes rm-fade { from { opacity: 0; } }
.rm-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: var(--rm-muted); font-size: 14px; font-weight: 700; }
.rm-lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.rm-lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.rm-lightbox__caption { padding: 14px 18px 22px; text-align: center; }
.rm-lightbox__caption b { display: block; font-size: 16px; }
.rm-lightbox__caption span { display: block; color: var(--rm-muted); font-size: 14px; margin-top: 4px; }
.rm-lightbox__btn {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--rm-line-2);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}
.rm-lightbox__btn:hover { background: rgba(255, 255, 255, .14); }
.rm-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.rm-lightbox__nav--prev { left: 12px; }
.rm-lightbox__nav--next { right: 12px; }

/* 7. Formalar va dropzone ----------------------------------------------- */
.rm-field { display: grid; gap: 8px; }
.rm-field > span, .rm-label { font-size: 13.5px; font-weight: 700; color: #cfd2de; }
.rm-input, .rm-select, .rm-textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--rm-line-2);
    border-radius: 14px;
    background: rgba(0, 0, 0, .35);
    color: var(--rm-text);
    font: 600 15px var(--rm-font);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.rm-input::placeholder, .rm-textarea::placeholder { color: var(--rm-dim); }
.rm-input:focus, .rm-select:focus, .rm-textarea:focus { border-color: var(--rm-c); box-shadow: 0 0 0 4px rgba(0, 184, 255, .15); }
.rm-hint { color: var(--rm-dim); font-size: 12.5px; }
.rm-error { color: #ff8b99; font-size: 13px; font-weight: 600; }

.rm-option { position: relative; display: block; cursor: pointer; }
.rm-option input { position: absolute; opacity: 0; pointer-events: none; }
.rm-option__box {
    display: grid; gap: 4px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--rm-line-2);
    background: rgba(0, 0, 0, .3);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.rm-option__box b { font-size: 18px; }
.rm-option__box em { font-style: normal; color: var(--rm-y); font-weight: 800; }
.rm-option__box small { color: var(--rm-dim); }
.rm-option input:checked + .rm-option__box { border-color: var(--rm-m); background: rgba(255, 63, 169, .08); box-shadow: var(--rm-glow-m); }
.rm-option input:focus-visible + .rm-option__box { outline: 2px solid var(--rm-c); outline-offset: 2px; }

.rm-code {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .4);
    border: 1px solid var(--rm-line);
}
.rm-code code { font: 700 16px/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--rm-y); letter-spacing: .04em; word-break: break-all; }

.rm-otp { text-align: center; font-size: 28px !important; letter-spacing: .5em; font-family: ui-monospace, Consolas, monospace !important; }

/* Dropzone (rm-upload.js `input[data-rm-drop]` ni o'raydi) */
.rm-drop {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1.5px dashed var(--rm-line-2);
    border-radius: 18px;
    background: rgba(0, 0, 0, .28);
    transition: border-color .2s, background .2s;
}
.rm-drop.is-over { border-color: var(--rm-c); background: rgba(0, 184, 255, .08); }
.rm-drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.rm-drop__prompt { display: flex; align-items: center; gap: 14px; pointer-events: none; }
.rm-drop__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--rm-grad-soft); border: 1px solid var(--rm-line-2); font-size: 20px; flex: 0 0 auto; }
.rm-drop__prompt b { display: block; font-size: 14.5px; }
.rm-drop__prompt small { display: block; color: var(--rm-dim); margin-top: 2px; font-size: 12.5px; }
.rm-drop__files { display: grid; gap: 8px; position: relative; z-index: 2; }
.rm-drop__file { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--rm-surface); border: 1px solid var(--rm-line); }
.rm-drop__thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--rm-bg-3); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--rm-muted); flex: 0 0 auto; }
.rm-drop__name { min-width: 0; flex: 1; }
.rm-drop__name b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-drop__name small { color: var(--rm-dim); font-size: 12px; }
.rm-drop__clear { border: 0; background: transparent; color: var(--rm-muted); font-size: 20px; cursor: pointer; width: 36px; height: 36px; border-radius: 10px; }
.rm-drop__clear:hover { background: rgba(255, 90, 110, .15); color: #ff8b99; }
.rm-drop__files:empty, .rm-drop__warn:empty { display: none; }
.rm-drop__warn { position: relative; z-index: 2; color: #ff8b99; font-size: 12.5px; font-weight: 700; }
.rm-neon [hidden] { display: none !important; }

/* 8. Footer -------------------------------------------------------------- */
.rm-footer { position: relative; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--rm-line); background: linear-gradient(180deg, rgba(13, 13, 20, .6), #050508); overflow: hidden; }
.rm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--rm-grad); opacity: .7; }
.rm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 36px; }
.rm-footer h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-dim); }
.rm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rm-footer ul a { color: var(--rm-muted); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.rm-footer ul a:hover { color: var(--rm-text); }
.rm-footer__about p { color: var(--rm-muted); line-height: 1.7; margin: 16px 0 18px; font-size: 14.5px; max-width: 380px; }
.rm-footer__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-branch { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--rm-line); background: var(--rm-surface); text-decoration: none; margin-bottom: 8px; transition: border-color .2s; }
.rm-branch:hover { border-color: rgba(0, 184, 255, .5); }
.rm-branch i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #0a0a0f; flex: 0 0 auto; }
.rm-branch:nth-of-type(1) i { background: var(--rm-c); }
.rm-branch:nth-of-type(2) i { background: var(--rm-m); }
.rm-branch:nth-of-type(3) i { background: var(--rm-y); }
.rm-branch b { display: block; font-size: 14px; }
.rm-branch small { color: var(--rm-muted); font-size: 13px; }
.rm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; border-top: 1px solid var(--rm-line); color: var(--rm-dim); font-size: 13px; }

/* 9. Eski sahifalar uchun "skin" ---------------------------------------- */
/* Tailwind bilan yozilgan sahifalar (buyurtma formasi va b.) markupi va
   JS'i o'zgarmagan holda yangi ranglarga moslashadi. */
.rm-neon .site-main .text-yellow-400 { color: var(--rm-y); }
.rm-neon .site-main .text-yellow-300 { color: #ffe36b; }
.rm-neon .site-main .text-sky-300 { color: #7fdcff; }
.rm-neon .site-main .bg-yellow-400 {
    background: var(--rm-grad);
    background-size: 160% 100%;
    color: #0a0a0f;
    box-shadow: 0 10px 30px -10px rgba(255, 63, 169, .6);
    transition: background-position .4s, transform .15s;
}
.rm-neon .site-main .bg-yellow-400:hover { background-position: 100% 0; }
.rm-neon .site-main .hover\:bg-yellow-300:hover { background: var(--rm-grad); background-position: 100% 0; }
.rm-neon .site-main .hover\:bg-yellow-400:hover { background: var(--rm-grad); color: #0a0a0f; }
.rm-neon .site-main .bg-yellow-400\/10 { background-color: rgba(255, 63, 169, .07); }
.rm-neon .site-main .border-yellow-400\/20,
.rm-neon .site-main .border-yellow-400\/30,
.rm-neon .site-main .border-yellow-400\/40 { border-color: rgba(255, 63, 169, .32); }
.rm-neon .site-main .border-white\/10 { border-color: var(--rm-line); }
.rm-neon .site-main .bg-black { background-color: rgba(0, 0, 0, .38); }
.rm-neon .site-main .bg-black\/90, .rm-neon .site-main .bg-black\/80 { background-color: rgba(13, 13, 20, .72); }
.rm-neon .site-main .bg-white\/\[0\.05\], .rm-neon .site-main .bg-white\/5 { background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); }
.rm-neon .site-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.rm-neon .site-main select:focus,
.rm-neon .site-main textarea:focus { border-color: var(--rm-c) !important; box-shadow: 0 0 0 4px rgba(0, 184, 255, .14); }
.rm-neon .site-main .focus-within\:border-yellow-400:focus-within { border-color: var(--rm-c); box-shadow: 0 0 0 4px rgba(0, 184, 255, .14); }
.rm-neon .site-main input[type="checkbox"], .rm-neon .site-main input[type="radio"] { accent-color: var(--rm-m); }
.rm-neon .site-main select option { background: var(--rm-bg-2); color: var(--rm-text); }
.rm-neon .site-main h1.font-black, .rm-neon .site-main h2.font-black { font-family: var(--rm-display); letter-spacing: -.035em; font-weight: 800; }

/* about.blade.php */
.rm-neon .about-page { background: transparent !important; }
.rm-neon .about-kicker { background: rgba(255, 63, 169, .1); border-color: rgba(255, 63, 169, .35); color: #ff9fd3; }
.rm-neon .about-title { font-family: var(--rm-display); letter-spacing: -.035em; }
.rm-neon .about-title span { background: var(--rm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-neon .about-btn { background: var(--rm-grad); color: #0a0a0f; box-shadow: 0 12px 34px -10px rgba(255, 63, 169, .6); }
.rm-neon .about-showcase { background: var(--rm-bg-2); }
.rm-neon .about-showcase::before { background: var(--rm-grad); box-shadow: 0 0 48px rgba(255, 63, 169, .25); }
.rm-neon .about-floating-card b, .rm-neon .about-value-card i { color: #7fdcff; }
.rm-neon .about-value-card i { background: rgba(0, 184, 255, .12); }
.rm-neon .about-stat strong { background: var(--rm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* contact.blade.php */
.rm-neon .contact-page { background: transparent !important; }
.rm-neon .contact-badge, .rm-neon .contact-icon, .rm-neon .real-map-header span { background: var(--rm-grad); color: #0a0a0f; }
.rm-neon .contact-card:hover { border-color: rgba(0, 184, 255, .5); }
.rm-neon .branch-address, .rm-neon .work-box { background: rgba(0, 0, 0, .35); }
.rm-neon .contact-btn { background: var(--rm-grad); color: #0a0a0f; }
.rm-neon .contact-btn:hover { background: var(--rm-grad); filter: brightness(1.08); }
.rm-neon .contact-btn-outline { color: #7fdcff; border-color: rgba(0, 184, 255, .6); }
.rm-neon .contact-btn-outline:hover { background: var(--rm-c); color: #0a0a0f; }
.rm-neon .branch-mini-card a { color: #7fdcff; }
.rm-neon .cta-card { background: radial-gradient(circle at 15% 20%, rgba(255, 63, 169, .22), transparent 30%), radial-gradient(circle at 85% 80%, rgba(0, 184, 255, .2), transparent 30%), var(--rm-bg-2) !important; }

/* contact-chat.blade.php (suzuvchi chat) */
.rm-neon .floating-chat-main { background: var(--rm-grad); box-shadow: 0 18px 42px rgba(255, 63, 169, .35), 0 0 0 8px rgba(0, 184, 255, .08); }
.rm-neon .floating-chat-tab.is-active, .rm-neon .floating-chat-bubble.outgoing, .rm-neon .floating-chat-submit { background: var(--rm-grad); border-color: transparent; color: #0a0a0f; }
.rm-neon .floating-chat-action i { background: rgba(0, 184, 255, .14); color: #7fdcff; }

/* 10. Mobil -------------------------------------------------------------- */
@media (max-width: 1080px) {
    .rm-nav { display: none; }
    .rm-burger { display: inline-flex; }
    .rm-header__actions { margin-left: auto; }
    .rm-footer__grid { grid-template-columns: 1fr 1fr; }
    .rm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
    .rm-order { grid-template-columns: 1fr; }
    .rm-order__sticky { position: static; }
    .rm-has-order-bar .rm-order-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(7, 7, 11, .94); backdrop-filter: blur(14px);
        border-top: 1px solid var(--rm-line-2);
    }
    .rm-order-bar small { display: block; color: var(--rm-dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
    .rm-order-bar b { font-family: var(--rm-display); font-size: 19px; }
    .rm-has-order-bar .rm-footer { padding-bottom: 72px; }
    .rm-has-order-bar .floating-chat-widget { bottom: 84px !important; }
}

@media (max-width: 900px) {
    .rm-size { grid-template-columns: 1fr; }
    .rm-draw { order: -1; }
    .rm-trust--split, .rm-about-strip { grid-template-columns: 1fr; }
    .rm-hero__grid { grid-template-columns: 1fr; }
    .rm-screen__chip--tl { left: 10px; top: 10px; }
    .rm-screen__chip--br { right: 10px; bottom: 76px; }
    /* Telefonda kalkulyator ustidagi chiplar formani to'smasin */
    .rm-screen--calc ~ .rm-screen__chip { display: none; }
    .rm-quick { margin: 14px; }
    .rm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rm-cta { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --rm-header-h: 62px; }
    .rm-container { padding-inline: 16px; }
    .rm-header__actions .rm-btn { display: none; }
    .rm-logo { font-size: 16px; }
    .rm-grid--2, .rm-grid--3, .rm-grid--4 { grid-template-columns: 1fr; }
    .rm-about-strip__stats { grid-template-columns: 1fr; gap: 12px; }
    .rm-svc { grid-template-columns: 1fr 1fr; }
    .rm-neon .site-main .rm-ord__head h2 { font-size: 17px !important; line-height: 1.25 !important; }
    .rm-calc { grid-template-columns: 1fr 1fr; }
    .rm-calc__main { grid-column: 1 / -1; }
    .rm-footer__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
    .rm-hero__actions .rm-btn { flex: 1 1 100%; }
    .rm-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rm-shot { border-radius: 14px; }
    .rm-lightbox__stage { padding: 0 8px; }
    .rm-lightbox__nav { top: auto; bottom: -58px; transform: none; }
    .rm-lightbox__nav--prev { left: calc(50% - 60px); }
    .rm-lightbox__nav--next { right: calc(50% - 60px); }
    .rm-lightbox__caption { padding-top: 70px; }

    /* eski mobile-fix.css dan olingan zarur qoidalar */
    .site-main > section:not(.rm-section):not(.rm-pagehead) { padding-left: 14px !important; padding-right: 14px !important; padding-top: 36px !important; padding-bottom: 36px !important; }
    .site-main .grid { grid-template-columns: 1fr !important; }
    .site-main input, .site-main select, .site-main textarea { font-size: 16px !important; }
    .site-main [class*="p-10"] { padding: 24px !important; }
    .site-main [class*="p-8"] { padding: 22px !important; }
    .site-main h1:not(.rm-h1):not(.rm-h2) { font-size: clamp(27px, 8vw, 38px) !important; line-height: 1.1 !important; overflow-wrap: anywhere; }
    .site-main h2:not(.rm-h2) { font-size: clamp(24px, 7vw, 32px) !important; line-height: 1.14 !important; overflow-wrap: anywhere; }
    .rm-neon .about-hero > *, .rm-neon .contact-page * { min-width: 0; }
}
