/* ===== Base / Typo ===== */
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
:root {
    --ink: #0f172a;
    --muted: #475569;
    --sky: #0ea5e9;
    --sky-2: #38bdf8;
    --bg: #fff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 22px 60px rgba(2, 132, 199, 0.14);
}
body {
    font-family:
        "Rubik",
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 18px;
    letter-spacing: 0.2px;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
.container {
    width: min(1140px, 92%);
    margin: 0 auto;
} /* ===== Background ===== */
.bg-gradient {
    position: fixed;
    inset: -20% -10% auto -10%;
    height: 120vh;
    z-index: -2;
    background:
        radial-gradient(1200px 600px at 80% -10%, #e0f2fe 0%, transparent 60%),
        radial-gradient(900px 500px at 10% 10%, #f0f9ff 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%);
    animation: drift 18s ease-in-out infinite alternate;
    filter: saturate(1.05);
}
@keyframes drift {
    0% {
        transform: translateY(-2%);
    }
    100% {
        transform: translateY(2%);
    }
}
#bgParticles {
    position: fixed;
    inset: 0;
    z-index: -1;
} /* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
} /* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand__img {
    height: 26px;
    width: auto;
    display: block;
    transition: transform 0.15s ease;
}
.brand__byText {
    font-weight: 600;
    color: #426597;
    user-select: none;
}
.brand__by:hover .brand__img {
    transform: translateY(-1px);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo__cube {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sky), var(--sky-2));
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}
.logo__text {
    font-weight: 700;
    letter-spacing: 0;
    font-size: 21px;
    color: var(--ink);
}
@media (min-width: 900px) {
    .logo__text {
        font-size: 22px;
    }
} /* Nav + Mobile toggle */
.nav {
    display: flex;
    gap: 20px;
}
.nav__link {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 6px;
}
.nav__link:hover {
    color: var(--sky);
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff; /* MUHIM: 3 ta chiziqni ustma-ust joylashtirish */
    flex-direction: column; /* <-- shu sababli oldin 1 chiziqdek ko‘rinyapti */
    align-items: center;
    justify-content: center;
    gap: 4px; /* chiziqlar orasidagi masofa */
    cursor: pointer;
}
.nav-toggle:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
}
.nav-toggle__bar {
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    display: block;
} /* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease;
    touch-action: manipulation;
}
.btn--primary {
    background: var(--sky);
    color: #fff;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(14, 165, 233, 0.35);
}
.btn--outline {
    border-color: var(--sky);
    color: var(--sky);
    background: transparent;
}
.btn--outline:hover {
    background: #e0f2fe;
}
.btn--block {
    display: block;
    text-align: center;
} /* Inline icons */
.ico-inline {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
}
.ico-inline--tg {
    fill: none;
    stroke: #0ea5e9;
    stroke-width: 2;
}
.btn--primary .ico-inline--tg {
    stroke: #fff;
} /* CALL icon */
.btn--call {
    position: relative;
}
.call-ico {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
}
.btn--call .call-ico {
    animation: ring 1.6s ease-in-out infinite;
}
@keyframes ring {
    0% {
        transform: rotate(0);
    }
    10% {
        transform: rotate(14deg);
    }
    20% {
        transform: rotate(-14deg);
    }
    30% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(6deg);
    }
    60% {
        transform: rotate(-6deg);
    }
    100% {
        transform: rotate(0);
    }
} /* ===== Hero ===== */
.hero {
    padding: 78px 0 42px;
}
.hero__wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}
.hero__title {
    font-size: clamp(28px, 5.2vw, 52px);
    line-height: 1.08;
    margin: 0 0 12px;
}
.hero__title span {
    color: var(--sky);
}
.hero__subtitle {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 18px;
}
.hero__cta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.hero__badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #334155;
}
.hero__badges li {
    background: #e2e8f0;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
} /* CBCT visual */
.cbct-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.cbct-img {
    width: 100%;
    height: auto;
    display: block;
}
.cbct-frame figcaption {
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}
.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sky);
    top: 12%;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px #0ea5e9);
    animation: scan 3s linear infinite;
}
@keyframes scan {
    0% {
        top: 12%;
    }
    50% {
        top: 88%;
    }
    100% {
        top: 12%;
    }
}
.glow {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45);
    animation: glowPulse 2.6s ease-in-out infinite;
}
@keyframes glowPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.35);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(14, 165, 233, 0);
    }
} /* ===== Sections ===== */
.section {
    padding: 68px 0;
}
.section--alt {
    background: var(--bg-alt);
}
.section__title {
    text-align: center;
    font-size: 32px;
    margin: 0 0 30px;
} /* Services */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.list {
    margin: 0;
    padding-left: 22px;
    color: var(--muted);
}
.list--check li {
    position: relative;
    margin: 10px 0;
}
.list--check li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0.6em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sky);
} /* FOV cards */
.fov-note {
    text-align: center;
    color: #475569;
    margin: -6px 0 18px;
}
.fov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.fov-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.fov-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(2, 132, 199, 0.18);
}
.fov-card__img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.95;
}
.fov-card__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    font-size: 15px;
    color: #e2e8f0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.75) 100%);
}
.fov-card__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-weight: 800;
    font-size: 14px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
    animation: tagPop 0.9s ease both;
}
.fov-card__tag--st {
    background: #0369a1;
}
@keyframes tagPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.fov-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
}
.badge {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
}
.badge--st {
    color: #0369a1;
    background: #e0f2fe;
    border-color: #bae6fd;
} /* Formats + icons */
.formats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.fmt.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}
.ico {
    width: 18px;
    height: 18px;
    stroke: #0ea5e9;
    fill: none;
    stroke-width: 2;
}
.ico-dicom {
    fill: #0ea5e9;
    stroke: none;
    animation: pulse 2.2s ease-in-out infinite;
}
.ico-cd {
    fill: #0ea5e9;
    stroke: none;
    animation: spin 3.2s linear infinite;
    transform-origin: 50% 50%;
}
.ico-tg {
    fill: #229ed9;
    stroke: none;
    animation: float 5s ease-in-out infinite;
}
.ico-stl {
    stroke: #0ea5e9;
}
@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
} /* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.price-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.price-card--featured {
    border-color: var(--sky);
    box-shadow: var(--shadow);
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.price {
    font-size: 28px;
    margin: 10px 0 16px;
}
.price span {
    font-weight: 800;
} /* Form */
.form {
    max-width: 540px;
    margin: 0 auto;
}
.form__row {
    margin-bottom: 16px;
}
.form__row--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form__label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}
.form__input {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 17px;
    outline: none;
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.form__input:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}
.form__err {
    display: block;
    color: #b91c1c;
    font-size: 13px;
    min-height: 1em;
}
.form__hint {
    color: #64748b;
    font-size: 15px;
} /* Contacts / Footer */
.contacts {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: start;
}
.contacts__actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.contacts__map {
    display: flex;
    justify-content: center;
}
.contacts__map iframe {
    width: 100%;
    max-width: 640px;
    height: 300px;
    border: 0;
    border-radius: 12px;
}
.footer {
    border-top: 1px solid var(--border);
    background: #fff;
}
.footer__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}
.footer__nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer__nav a {
    color: #475569;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
}

.year {
    font-size: 14px;
}

.author {
    text-decoration: none;
    color: #000308;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    justify-content: end;
    gap: 10px;
    padding-top: 5px;
    align-items: center;
}

.author:hover {
    color: mediumblue;
}
.dev__logo {
    width: 30px;
    height: 30px;
    text-decoration: none;
}
.footer__nav a:hover {
    color: var(--sky);
} /* Phone text */
.phone-text {
    color: inherit;
    font-weight: 700;
} /* FAB */
.fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #229ed9;
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(34, 158, 217, 0.35);
    transition: transform 0.2s ease;
}
.fab:hover {
    transform: translateY(-2px) scale(1.02);
} /* Reveal / Tilt / Parallax / Stagger */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.6s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
.tilt {
    transform-style: preserve-3d;
    will-change: transform;
}
.parallax {
    transform: translateY(0);
    will-change: transform;
}
.stagger li {
    opacity: 0;
    transform: translateY(8px);
} /* ======= Breakpoints ======= */ /* ≤960px: so'ralgan moslashuvlar */
.hide-960 {
    display: inline-block;
}
.show-960 {
    display: none;
}
@media (max-width: 960px) {
    /* Toggle va nav */
    .nav-toggle {
        display: inline-flex;
    }
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 6px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
        z-index: 19;
        text-align: center;
    }
    .nav.nav--open {
        display: flex;
    }
    body.menu-open {
        overflow: hidden;
    }
    .hero__cta {
        justify-content: center; /* 2 ta btn o'rtaga keladi */
        align-items: center;
        width: 100%;
    } /* Brand: by — o'ngroqqa surish (ko'proq gap) */
    .brand {
        gap: 14px;
    }
    .brand__by--logo {
        margin-left: 16px;
    } /* Header call tugmasini yashirish */
    .hide-960 {
        display: none !important;
    }
    .show-960 {
        display: inline-flex;
    } /* Center content */
    .hero__content,
    .section__title,
    .formats,
    .pricing {
        text-align: center;
    }
    .hero__badges {
        justify-content: center;
    } /* Button heightni kichiklashtirish */
    .btn {
        padding: 10px 16px;
        border-radius: 12px;
        font-size: 15.5px;
    } /* Gridlar */
    .hero__wrap {
        grid-template-columns: 1fr;
    }
    .grid,
    .pricing {
        grid-template-columns: 1fr 1fr;
    } /* Contact map allaqachon center; balandlik biroz katta */
    .contacts__map iframe {
        max-width: 560px;
        height: 260px;
    }
} /* ≤768px: hammasi to'liq center */
@media (max-width: 768px) {
    .grid,
    .pricing {
        grid-template-columns: 1fr;
    }
    .fov-grid {
        grid-template-columns: 1fr;
    }
    .footer__wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contacts {
        grid-template-columns: 1fr;
    }
    .contacts__map iframe {
        height: 240px;
    }
} /* ≤480px: kichikroq tugmalar */
@media (max-width: 480px) {
    .hero {
        padding: 56px 0 28px;
    }
    .btn {
        padding: 9px 14px;
        font-size: 15px;
    }
    .price {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
