/* =========================================================
   FARASO V1.1
   MAIN PAGE STYLES
========================================================= */

:root {

    --faraso-primary: #e21d2f;
    --faraso-primary-dark: #b90f20;

    --faraso-dark: #111318;
    --faraso-dark-2: #191c22;

    --faraso-text: #17191d;
    --faraso-muted: #747982;

    --faraso-bg: #f6f7f9;
    --faraso-white: #ffffff;

    --border: rgba(17, 19, 24, .09);

    --shadow-sm:
        0 10px 30px rgba(17, 19, 24, .06);

    --shadow-md:
        0 20px 60px rgba(17, 19, 24, .10);

    --shadow-lg:
        0 30px 100px rgba(17, 19, 24, .16);

    --radius: 24px;

    --transition:
        .35s cubic-bezier(.2,.8,.2,1);

}


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Vazirmatn", sans-serif;

    color: var(--faraso-text);

    background: var(--faraso-white);

    overflow-x: hidden;

}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--faraso-primary);
    color: white;
}


/* =========================================================
   PRELOADER
========================================================= */

#preloader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    background:
        radial-gradient(
            circle at center,
            #242831 0%,
            #111318 55%,
            #08090c 100%
        );

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        opacity .8s ease,
        visibility .8s ease;

}

#preloader.loaded {

    opacity: 0;

    visibility: hidden;

}

.loader-wrapper {

    width: 260px;

    text-align: center;

}

.loader-ring {

    width: 92px;
    height: 92px;

    margin: auto;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.12);

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

}

.loader-ring::before {

    content: "";

    position: absolute;

    inset: -1px;

    border-radius: 50%;

    border: 2px solid transparent;

    border-top-color: var(--faraso-primary);

    animation:
        loaderSpin 1.1s linear infinite;

}

.loader-ring span {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--faraso-primary);

    box-shadow:
        0 0 20px var(--faraso-primary);

}

.loader-logo {

    position: absolute;

    width: 92px;
    height: 92px;

    display: flex;

    align-items: center;
    justify-content: center;

}

.loader-logo img {

    width: 58px;

    max-height: 58px;

    object-fit: contain;

}

.loader-title {

    margin-top: 25px;

    color: white;

    font-size: 13px;

    opacity: .7;

}

.loader-progress {

    margin-top: 20px;

    width: 100%;
    height: 2px;

    background: rgba(255,255,255,.08);

    overflow: hidden;

}

.loader-progress span {

    display: block;

    height: 100%;

    width: 0;

    background: var(--faraso-primary);

    animation:
        loaderProgress 2.2s ease forwards;

}

@keyframes loaderSpin {

    to {
        transform: rotate(360deg);
    }

}

@keyframes loaderProgress {

    to {
        width: 100%;
    }

}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    background: var(--faraso-dark);

    color: rgba(255,255,255,.65);

    font-size: 12px;

}

.top-bar-content {

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.top-right,
.top-left {

    display: flex;

    align-items: center;

    gap: 20px;

}

.top-bar i {
    color: var(--faraso-primary);
}

.top-left a {

    transition: var(--transition);

}

.top-left a:hover {
    color: white;
}

.top-divider {

    width: 1px;
    height: 14px;

    background: rgba(255,255,255,.15);

}


/* =========================================================
   HEADER
========================================================= */

.main-header {

    position: sticky;

    top: 0;

    z-index: 5000;

    background:
        rgba(255,255,255,.92);

    backdrop-filter:
        blur(20px);

    border-bottom:
        1px solid var(--border);

    transition: var(--transition);

}

.main-header.scrolled {

    box-shadow:
        0 10px 40px rgba(0,0,0,.08);

}

.header-inner {

    height: 86px;

    display: flex;

    align-items: center;

    gap: 35px;

}


/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;

}

.brand-logo {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

}

.brand-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;

}

.brand-text {

    display: flex;

    flex-direction: column;

    gap: 2px;

}

.brand-text strong {

    font-size: 21px;

    font-weight: 900;

}

.brand-text span {

    color: var(--faraso-muted);

    font-size: 9px;

}


/* NAV */

.desktop-nav {

    display: flex;

    align-items: center;

    gap: 4px;

    flex: 1;

}

.nav-link {

    position: relative;

    padding: 12px 13px;

    color: #3c4047;

    font-size: 13px;

    font-weight: 600;

    background: transparent;

    transition: var(--transition);

}

.nav-link i {

    font-size: 9px;

    margin-right: 4px;

}

.nav-link::after {

    content: "";

    position: absolute;

    right: 13px;
    left: 13px;
    bottom: 2px;

    height: 2px;

    background: var(--faraso-primary);

    transform:
        scaleX(0);

    transform-origin: right;

    transition: var(--transition);

}

.nav-link:hover,
.nav-link.active {

    color: var(--faraso-primary);

}

.nav-link:hover::after,
.nav-link.active::after {

    transform: scaleX(1);

}


/* MEGA MENU */

.nav-mega {

    position: static;

}

.mega-trigger {

    cursor: pointer;

}

.mega-menu {

    position: absolute;

    right: 0;
    left: 0;

    top: 100%;

    background: white;

    border-top:
        1px solid var(--border);

    box-shadow:
        0 35px 80px rgba(0,0,0,.14);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(12px);

    transition: var(--transition);

}

.nav-mega:hover .mega-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}

.mega-inner {

    max-width: 1400px;

    margin: auto;

    padding: 42px 30px;

    display: grid;

    grid-template-columns:
        280px 1fr;

    gap: 60px;

}

.mega-intro {

    border-left:
        1px solid var(--border);

    padding-left: 40px;

}

.mega-label {

    font-size: 11px;

    color: var(--faraso-primary);

    font-weight: 800;

}

.mega-intro h3 {

    margin-top: 12px;

    font-size: 25px;

    line-height: 1.65;

}

.mega-intro p {

    color: var(--faraso-muted);

    font-size: 12px;

    line-height: 2;

    margin: 12px 0 22px;

}

.mega-main-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--faraso-primary);

    font-size: 12px;

    font-weight: 800;

}

.mega-columns {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 45px;

}

.mega-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.mega-column h4 {

    font-size: 13px;

    margin-bottom: 7px;

}

.mega-column h4 i {

    color: var(--faraso-primary);

    margin-left: 7px;

}

.mega-column a {

    color: var(--faraso-muted);

    font-size: 12px;

    transition: var(--transition);

}

.mega-column a:hover {

    color: var(--faraso-primary);

    transform:
        translateX(-5px);

}


/* HEADER ACTIONS */

.header-actions {

    display: flex;

    align-items: center;

    gap: 7px;

}

.header-icon-btn {

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #f5f6f8;

    color: #333;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);

}

.header-icon-btn:hover {

    background: var(--faraso-dark);

    color: white;

    transform:
        translateY(-2px);

}

.action-badge {

    position: absolute;

    top: -3px;
    right: -3px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: var(--faraso-primary);

    color: white;

    font-size: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

}

.login-btn {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 12px;

    background: var(--faraso-dark);

    color: white;

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);

}

.login-btn:hover {

    background: var(--faraso-primary);

    color: white;

    transform:
        translateY(-2px);

}

.mobile-menu-btn {

    display: none;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: var(--faraso-dark);

    color: white;

}


/* =========================================================
   SEARCH
========================================================= */

.search-overlay {

    position: fixed;

    inset: 0;

    z-index: 9990;

    background:
        rgba(10,11,14,.72);

    backdrop-filter:
        blur(15px);

    display: flex;

    align-items: flex-start;
    justify-content: center;

    padding-top: 130px;

    opacity: 0;

    visibility: hidden;

    transition: var(--transition);

}

.search-overlay.active {

    opacity: 1;

    visibility: visible;

}

.search-box {

    width: min(750px, 90%);

    background: white;

    border-radius: 25px;

    padding: 35px;

    position: relative;

    transform:
        translateY(-20px);

    transition: var(--transition);

}

.search-overlay.active .search-box {

    transform:
        translateY(0);

}

.search-close {

    position: absolute;

    top: 20px;
    left: 20px;

    width: 35px;
    height: 35px;

    border-radius: 10px;

    background: #f1f2f4;

}

.search-label {

    display: block;

    font-size: 13px;

    font-weight: 800;

    margin-bottom: 15px;

}

.search-input-wrapper {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #f5f6f8;

    border-radius: 15px;

    padding: 0 18px;

}

.search-input-wrapper i {

    color: var(--faraso-primary);

}

.search-input-wrapper input {

    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    padding: 17px 0;

    font-size: 13px;

}

.search-results {

    margin-top: 15px;

}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    min-height: 700px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(226,29,47,.10),
            transparent 32%
        ),
        linear-gradient(
            120deg,
            #ffffff,
            #f4f5f7
        );

    display: flex;

    align-items: center;

}

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .25;

    background-image:
        linear-gradient(
            rgba(20,20,20,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20,20,20,.035) 1px,
            transparent 1px
        );

    background-size:
        50px 50px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent
        );

}

.hero-glow {

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

}

.hero-glow-one {

    background:
        rgba(226,29,47,.12);

    right: 35%;
    top: 20%;

}

.hero-glow-two {

    background:
        rgba(20,40,80,.08);

    left: -100px;
    bottom: -100px;

}

.hero-row {

    min-height: 700px;

}

.hero-content {

    position: relative;

    z-index: 2;

    padding: 80px 0;

}

.hero-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 100px;

    padding: 9px 14px;

    font-size: 11px;

    font-weight: 700;

    box-shadow:
        0 8px 30px rgba(0,0,0,.04);

}

.pulse-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--faraso-primary);

    box-shadow:
        0 0 0 6px rgba(226,29,47,.1);

}

.hero-content h1 {

    margin-top: 28px;

    font-size:
        clamp(42px, 5vw, 74px);

    font-weight: 900;

    line-height: 1.35;

    letter-spacing: -2px;

}

.hero-content h1 span {

    color: var(--faraso-primary);

}

.hero-content h1 strong {

    display: inline-block;

    font-weight: 900;

}

.hero-description {

    max-width: 610px;

    color: var(--faraso-muted);

    line-height: 2.2;

    font-size: 14px;

    margin-top: 22px;

}

.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 32px;

    flex-wrap: wrap;

}

.btn-primary-faraso,
.btn-secondary-faraso {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 0 23px;

    border-radius: 14px;

    font-size: 12px;

    font-weight: 800;

    transition: var(--transition);

}

.btn-primary-faraso {

    background:
        var(--faraso-primary);

    color: white;

    box-shadow:
        0 15px 35px rgba(226,29,47,.2);

}

.btn-primary-faraso:hover {

    background:
        var(--faraso-primary-dark);

    color: white;

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 45px rgba(226,29,47,.28);

}

.btn-secondary-faraso {

    border:
        1px solid var(--border);

    background: white;

}

.btn-secondary-faraso:hover {

    color: white;

    background: var(--faraso-dark);

    transform:
        translateY(-4px);

}

.hero-trust {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 50px;

}

.trust-item {

    display: flex;

    flex-direction: column;

}

.trust-item strong {

    font-size: 22px;

    font-weight: 900;

}

.trust-item span {

    color: var(--faraso-muted);

    font-size: 10px;

    margin-top: 3px;

}

.trust-divider {

    width: 1px;
    height: 32px;

    background:
        var(--border);

}


/* HERO VISUAL */

.hero-visual {

    min-height: 580px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

}

.visual-ring {

    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(226,29,47,.13);

}

.ring-one {

    width: 520px;
    height: 520px;

    animation:
        ringPulse 6s ease-in-out infinite;

}

.ring-two {

    width: 390px;
    height: 390px;

    border-style: dashed;

    animation:
        ringRotate 25s linear infinite;

}

@keyframes ringPulse {

    50% {
        transform: scale(1.06);
        opacity: .5;
    }

}

@keyframes ringRotate {

    to {
        transform: rotate(360deg);
    }

}

.hero-product-card {

    width: min(440px, 80%);

    height: 470px;

    border-radius: 35px;

    position: relative;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e9ebef
        );

    box-shadow:
        0 40px 100px rgba(0,0,0,.16);

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 2;

}

.hero-product-card::before {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        rgba(226,29,47,.12);

    filter:
        blur(45px);

}

.hero-camera {

    position: relative;

    z-index: 2;

    width: 82%;

    max-height: 350px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 30px 25px rgba(0,0,0,.25)
        );

    transition:
        transform .8s cubic-bezier(.2,.8,.2,1);

}

.hero-product-card:hover .hero-camera {

    transform:
        scale(1.07)
        translateY(-8px);

}

.hero-product-info {

    position: absolute;

    right: 22px;
    left: 22px;
    bottom: 20px;

    z-index: 4;

    padding: 17px;

    border-radius: 17px;

    background:
        rgba(255,255,255,.78);

    backdrop-filter:
        blur(15px);

    display: flex;

    flex-direction: column;

}

.hero-product-info span {

    color: var(--faraso-muted);

    font-size: 10px;

}

.hero-product-info strong {

    margin-top: 4px;

    font-size: 13px;

}

.floating-card {

    position: absolute;

    z-index: 5;

    background:
        rgba(255,255,255,.88);

    backdrop-filter:
        blur(18px);

    border:
        1px solid rgba(255,255,255,.7);

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);

    border-radius: 17px;

    padding: 13px;

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 175px;

    animation:
        floating 4s ease-in-out infinite;

}

.floating-card strong {

    display: block;

    font-size: 11px;

}

.floating-card span {

    display: block;

    color: var(--faraso-muted);

    font-size: 9px;

    margin-top: 2px;

}

.floating-icon {

    width: 38px;
    height: 38px;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(226,29,47,.09);

    color:
        var(--faraso-primary);

}

.floating-card-top {

    top: 90px;
    right: 15px;

}

.floating-card-bottom {

    bottom: 90px;
    left: 0;

    animation-delay:
        -2s;

}

.live-dot {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background:
        #22b573;

    box-shadow:
        0 0 0 6px rgba(34,181,115,.1);

}

@keyframes floating {

    50% {
        transform: translateY(-10px);
    }

}

.hero-scroll {

    position: absolute;

    bottom: 25px;
    right: 50%;

    transform:
        translateX(50%);

    display: flex;

    align-items: center;

    gap: 9px;

    color: #9a9da4;

    font-size: 9px;

}

.hero-scroll i {

    font-size: 18px;

    animation:
        scrollMouse 1.8s infinite;

}

@keyframes scrollMouse {

    50% {
        transform: translateY(5px);
    }

}


/* =========================================================
   QUICK SERVICES
========================================================= */

.quick-services {

    position: relative;

    z-index: 5;

    margin-top: -1px;

    background: white;

    border-bottom:
        1px solid var(--border);

}

.quick-services-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

}

.quick-service {

    min-height: 110px;

    padding: 20px 25px;

    display: flex;

    align-items: center;

    gap: 14px;

    border-left:
        1px solid var(--border);

    transition: var(--transition);

}

.quick-service:first-child {
    border-left: 0;
}

.quick-service:hover {

    background:
        #fafafa;

}

.quick-icon {

    width: 45px;
    height: 45px;

    border-radius: 14px;

    background:
        #f4f5f7;

    color:
        var(--faraso-primary);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 19px;

}

.quick-service strong {

    display: block;

    font-size: 12px;

}

.quick-service span {

    display: block;

    color: var(--faraso-muted);

    font-size: 9px;

    margin-top: 4px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section-padding {

    padding:
        100px 0;

}

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;

}

.section-label {

    display: inline-block;

    color: var(--faraso-primary);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .4px;

    margin-bottom: 10px;

}

.section-heading h2 {

    font-size:
        clamp(27px,3vw,42px);

    line-height: 1.5;

    font-weight: 900;

}

.section-heading h2 span,
.about-content h2 span,
.manager-content h2 span,
.why-title h2 span {

    color:
        var(--faraso-primary);

}

.section-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        var(--faraso-primary);

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;

    transition: var(--transition);

}

.section-link:hover {

    gap: 15px;

}

.center-heading {

    justify-content: center;

    text-align: center;

}


/* =========================================================
   OFFER
========================================================= */

.offer-section {

    padding: 80px 0;

    background:
        var(--faraso-bg);

}

.offer-box {

    min-height: 430px;

    border-radius: 35px;

    overflow: hidden;

    position: relative;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    background:
        linear-gradient(
            110deg,
            #17191e,
            #242832
        );

    color: white;

    box-shadow:
        var(--shadow-lg);

}

.offer-box::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background:
        rgba(226,29,47,.18);

    filter:
        blur(80px);

    left: 35%;

    top: -150px;

}

.offer-content {

    position: relative;

    z-index: 2;

    padding: 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.section-mini-label {

    color:
        #ff6170;

    font-size: 10px;

    font-weight: 900;

}

.offer-content h2 {

    font-size: 42px;

    margin-top: 12px;

    font-weight: 900;

}

.offer-content h2 span {

    color:
        #ff4051;

}

.offer-content p {

    max-width: 450px;

    color:
        rgba(255,255,255,.55);

    font-size: 12px;

    line-height: 2;

    margin: 10px 0 25px;

}

.offer-timer {

    display: flex;

    align-items: center;

    gap: 10px;

}

.offer-timer div {

    min-width: 58px;

    display: flex;

    flex-direction: column;

    align-items: center;

}

.offer-timer strong {

    font-size: 27px;

}

.offer-timer span {

    font-size: 8px;

    color:
        rgba(255,255,255,.4);

}

.offer-timer i {

    color:
        var(--faraso-primary);

    font-style: normal;

}

.offer-button {

    width: fit-content;

    margin-top: 28px;

    padding: 14px 20px;

    border-radius: 13px;

    background:
        var(--faraso-primary);

    color: white;

    font-size: 11px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 10px;

    transition: var(--transition);

}

.offer-button:hover {

    color: white;

    background:
        var(--faraso-primary-dark);

    transform:
        translateY(-3px);

}

.offer-product-area {

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

}

.offer-product {

    width: 400px;
    height: 400px;

    display: flex;

    align-items: center;
    justify-content: center;

}

.offer-product img {

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 30px 35px rgba(0,0,0,.4)
        );

    animation:
        offerFloat 5s ease-in-out infinite;

}

@keyframes offerFloat {

    50% {
        transform:
            translateY(-12px)
            rotate(-2deg);
    }

}

.offer-badge {

    position: absolute;

    top: 35px;
    right: 45px;

    z-index: 3;

    background:
        var(--faraso-primary);

    border-radius: 100px;

    padding: 10px 16px;

    font-size: 10px;

}

.offer-badge strong {

    font-size: 16px;

}


/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {

    background: white;

}

.category-grid {

    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr;

    grid-template-rows:
        250px 250px;

    gap: 15px;

}

.category-card {

    position: relative;

    overflow: hidden;

    border-radius: 22px;

    background:
        #e8eaed;

    color: white;

    isolation: isolate;

}

.category-large {

    grid-row:
        span 2;

}

.category-image {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            #333,
            #999
        );

    transition:
        transform .8s
        cubic-bezier(.2,.8,.2,1);

}

.camera-category {

    background:
        linear-gradient(
            135deg,
            #20252d,
            #66707e
        );

}

.nvr-category {

    background:
        linear-gradient(
            135deg,
            #25292e,
            #707780
        );

}

.network-category {

    background:
        linear-gradient(
            135deg,
            #172d30,
            #3d7476
        );

}

.alarm-category {

    background:
        linear-gradient(
            135deg,
            #302023,
            #71434a
        );

}

.access-category {

    background:
        linear-gradient(
            135deg,
            #26292d,
            #666c72
        );

}

.category-card:hover .category-image {

    transform:
        scale(1.08);

}

.category-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.75),
            rgba(0,0,0,.05)
        );

    z-index: 1;

}

.category-content {

    position: absolute;

    right: 24px;
    left: 24px;
    bottom: 22px;

    z-index: 2;

}

.category-content > span {

    font-size: 10px;

    opacity: .55;

}

.category-content h3 {

    font-size: 18px;

    font-weight: 800;

    margin-top: 5px;

}

.category-content p {

    font-size: 9px;

    opacity: .65;

}

.category-content i {

    position: absolute;

    left: 0;
    bottom: 0;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);

}

.category-card:hover .category-content i {

    background:
        var(--faraso-primary);

    transform:
        translateX(-5px);

}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {

    background:
        var(--faraso-bg);

}

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 18px;

}

.product-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: 22px;

    overflow: hidden;

    position: relative;

    transition: var(--transition);

}

.product-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-md);

}

.product-image {

    height: 260px;

    position: relative;

    background:
        #f2f3f5;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

}

.product-image img {

    width: 85%;
    height: 85%;

    object-fit: contain;

    transition:
        transform .7s
        cubic-bezier(.2,.8,.2,1);

}

.product-card:hover .product-image img {

    transform:
        scale(1.08);

}

.product-tag {

    position: absolute;

    top: 14px;
    right: 14px;

    padding: 6px 9px;

    border-radius: 7px;

    background:
        var(--faraso-primary);

    color: white;

    font-size: 8px;

    font-weight: 800;

}

.product-favorite {

    position: absolute;

    top: 12px;
    left: 12px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 7px 20px rgba(0,0,0,.08);

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);

}

.product-favorite:hover {

    color:
        var(--faraso-primary);

    transform:
        scale(1.1);

}

.product-info {

    padding: 20px;

}

.product-brand {

    color:
        var(--faraso-primary);

    font-size: 9px;

    font-weight: 900;

}

.product-info h3 {

    font-size: 14px;

    margin-top: 7px;

    line-height: 1.7;

}

.product-meta {

    display: flex;

    gap: 8px;

    margin-top: 8px;

    flex-wrap: wrap;

}

.product-meta span {

    color:
        var(--faraso-muted);

    background:
        #f5f6f7;

    padding: 5px 7px;

    border-radius: 6px;

    font-size: 8px;

}

.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 18px;

}

.product-price {

    display: flex;

    flex-direction: column;

}

.product-price small {

    color:
        var(--faraso-muted);

    font-size: 8px;

}

.product-price strong {

    font-size: 16px;

}

.product-action {

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background:
        var(--faraso-dark);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);

}

.product-action:hover {

    background:
        var(--faraso-primary);

    transform:
        translateX(-4px);

}


/* =========================================================
   BRANDS
========================================================= */

.brands-section {

    background: white;

}

.brands-grid {

    display: grid;

    grid-template-columns:
        repeat(6,1fr);

    gap: 14px;

}

.brand-card {

    min-height: 170px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background:
        white;

    transition: var(--transition);

    position: relative;

    overflow: hidden;

}

.brand-card::before {

    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    top: -60px;
    right: -60px;

    background:
        currentColor;

    opacity: .04;

    transition: var(--transition);

}

.brand-card:hover {

    transform:
        translateY(-8px);

    border-color:
        transparent;

    box-shadow:
        var(--shadow-md);

}

.brand-card:hover::before {

    transform:
        scale(2.5);

}

.hikvision-brand {
    color: #e5252a;
}

.dahua-brand {
    color: #ff6900;
}

.tvt-brand {
    color: #20a35a;
}

.faraso-brand {
    color: var(--faraso-primary);
}

.brand-logo-placeholder {

    font-size: 17px;

    font-weight: 900;

    color: currentColor;

}

.brand-card > span {

    color:
        var(--faraso-muted);

    font-size: 9px;

    display: flex;

    align-items: center;

    gap: 7px;

}

.brand-card > span i {

    transition: var(--transition);

}

.brand-card:hover > span i {

    transform:
        translateX(-5px);

}


/* =========================================================
   ABOUT
========================================================= */

.about-section {

    background:
        var(--faraso-bg);

}

.about-wrapper {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 90px;

    align-items: center;

}

.about-visual {

    position: relative;

}

.about-image {

    height: 500px;

    border-radius: 30px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #20242a,
            #59616b
        );

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

}

.about-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.about-image-placeholder {

    position: absolute;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    color: rgba(255,255,255,.7);

}

.about-image-placeholder i {

    font-size: 60px;

}

.about-image-placeholder span {

    font-size: 18px;

    font-weight: 900;

}

.experience-card {

    position: absolute;

    left: -25px;
    bottom: 30px;

    padding: 20px 25px;

    border-radius: 18px;

    background:
        var(--faraso-dark);

    color: white;

    box-shadow:
        var(--shadow-lg);

    display: flex;

    flex-direction: column;

}

.experience-card strong {

    font-size: 18px;

}

.experience-card span {

    font-size: 8px;

    color:
        rgba(255,255,255,.5);

}

.about-content p,
.manager-content p {

    color:
        var(--faraso-muted);

    line-height: 2.3;

    font-size: 13px;

    max-width: 650px;

    margin-top: 15px;

}

.about-features {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 15px;

    margin: 30px 0;

}

.about-features div {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 11px;

    font-weight: 700;

}

.about-features i {

    color:
        var(--faraso-primary);

}


/* =========================================================
   MANAGER
========================================================= */

.manager-section {

    background:
        var(--faraso-dark);

    color: white;

}

.manager-box {

    min-height: 500px;

    display: grid;

    grid-template-columns:
        1fr .8fr;

    align-items: center;

    gap: 80px;

}

.manager-content .section-label {

    color:
        #ff6672;

}

.manager-content h2 {

    font-size:
        clamp(30px,4vw,50px);

    line-height: 1.5;

}

.manager-content p {

    color:
        rgba(255,255,255,.55);

}

.manager-visual {

    display: flex;

    justify-content: center;

}

.manager-frame {

    width: 310px;
    height: 400px;

    border-radius: 35px;

    overflow: hidden;

    background:
        #272b32;

    position: relative;

    box-shadow:
        0 30px 80px rgba(0,0,0,.3);

}

.manager-frame img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.manager-placeholder {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    color:
        rgba(255,255,255,.4);

    gap: 12px;

}

.manager-placeholder i {

    font-size: 70px;

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background:
        var(--faraso-bg);

}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 15px;

}

.service-card {

    position: relative;

    min-height: 340px;

    padding: 28px;

    border-radius: 24px;

    background: white;

    border:
        1px solid var(--border);

    overflow: hidden;

    transition: var(--transition);

}

.service-card::before {

    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background:
        rgba(226,29,47,.06);

    top: -80px;
    left: -80px;

    transition: var(--transition);

}

.service-card:hover {

    background:
        var(--faraso-dark);

    color: white;

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-md);

}

.service-card:hover::before {

    transform:
        scale(2);

}

.service-number {

    color:
        var(--faraso-primary);

    font-size: 11px;

    font-weight: 900;

}

.service-icon {

    margin-top: 50px;

    width: 55px;
    height: 55px;

    border-radius: 16px;

    background:
        rgba(226,29,47,.08);

    color:
        var(--faraso-primary);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;

}

.service-card h3 {

    margin-top: 25px;

    font-size: 17px;

}

.service-card p {

    color:
        var(--faraso-muted);

    font-size: 10px;

    line-height: 2;

    margin-top: 10px;

}

.service-card:hover p {

    color:
        rgba(255,255,255,.5);

}

.service-link {

    position: absolute;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        var(--faraso-primary);

    font-size: 9px;

    font-weight: 800;

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {

    background: white;

}

.projects-grid {

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr;

    gap: 15px;

    min-height: 430px;

}

.project-card {

    border-radius: 24px;

    overflow: hidden;

    position: relative;

    background:
        #252930;

    color: white;

}

.project-image {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            145deg,
            #252930,
            #646b73
        );

}

.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .8s
        cubic-bezier(.2,.8,.2,1);

}

.project-card:hover img {

    transform:
        scale(1.08);

}

.project-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.85),
            transparent 65%
        );

}

.project-content {

    position: absolute;

    right: 25px;
    left: 25px;
    bottom: 25px;

}

.project-content span {

    color:
        rgba(255,255,255,.5);

    font-size: 9px;

}

.project-content h3 {

    font-size: 17px;

    margin-top: 5px;

}

.project-content p {

    font-size: 9px;

    color:
        rgba(255,255,255,.5);

}

.project-content i {

    position: absolute;

    left: 0;
    bottom: 0;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);

}

.project-card:hover .project-content i {

    background:
        var(--faraso-primary);

}


/* =========================================================
   WHY
========================================================= */

.why-section {

    background:
        var(--faraso-bg);

}

.why-layout {

    display: grid;

    grid-template-columns:
        .7fr 1.3fr;

    gap: 100px;

    align-items: start;

}

.why-title h2 {

    font-size:
        clamp(30px,4vw,48px);

    line-height: 1.6;

}

.why-items {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 35px;

}

.why-item {

    display: flex;

    gap: 15px;

}

.why-icon {

    width: 48px;
    height: 48px;

    border-radius: 14px;

    background: white;

    color:
        var(--faraso-primary);

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    box-shadow:
        var(--shadow-sm);

}

.why-item h3 {

    font-size: 13px;

}

.why-item p {

    color:
        var(--faraso-muted);

    font-size: 10px;

    line-height: 2;

    margin-top: 7px;

}


/* =========================================================
   CONSULTATION
========================================================= */

.consultation-section {

    padding:
        70px 0;

    background:
        var(--faraso-bg);

}

.consultation-box {

    min-height: 300px;

    border-radius: 30px;

    background:
        var(--faraso-primary);

    color: white;

    padding: 60px;

    position: relative;

    overflow: hidden;

}

.consultation-pattern {

    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.12);

    left: -120px;
    top: -120px;

}

.consultation-pattern::before {

    content: "";

    position: absolute;

    inset: 60px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.08);

}

.consultation-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

}

.consultation-content > span {

    font-size: 10px;

    opacity: .65;

}

.consultation-content h2 {

    font-size:
        clamp(28px,4vw,48px);

    line-height: 1.5;

    margin-top: 8px;

}

.consultation-content h2 strong {

    display: block;

}

.consultation-content p {

    max-width: 550px;

    font-size: 11px;

    line-height: 2;

    opacity: .7;

    margin-top: 12px;

}

.consultation-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    background: white;

    color:
        var(--faraso-primary);

    padding: 14px 20px;

    border-radius: 13px;

    font-size: 11px;

    font-weight: 900;

    margin-top: 22px;

    transition: var(--transition);

}

.consultation-button:hover {

    color:
        var(--faraso-primary);

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.15);

}

.consultation-icon {

    position: absolute;

    left: 100px;
    bottom: -80px;

    font-size: 300px;

    color:
        rgba(255,255,255,.07);

}


/* =========================================================
   FOOTER
========================================================= */

.main-footer {

    background:
        #0d0f13;

    color: white;

    padding-top: 75px;

}

.footer-main {

    display: grid;

    grid-template-columns:
        1.6fr 1fr 1fr 1fr 1.2fr;

    gap: 45px;

    padding-bottom: 60px;

}

.footer-brand p {

    max-width: 300px;

    color:
        rgba(255,255,255,.45);

    font-size: 10px;

    line-height: 2;

    margin-top: 20px;

}

.main-footer .brand-text strong {

    color: white;

}

.main-footer .brand-text span {

    color:
        rgba(255,255,255,.4);

}

.social-links {

    display: flex;

    gap: 7px;

    margin-top: 22px;

}

.social-links a {

    width: 35px;
    height: 35px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.06);

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);

}

.social-links a:hover {

    background:
        var(--faraso-primary);

    transform:
        translateY(-3px);

}

.footer-column,
.footer-contact {

    display: flex;

    flex-direction: column;

    gap: 13px;

}

.footer-column h4,
.footer-contact h4 {

    font-size: 12px;

    margin-bottom: 10px;

}

.footer-column a,
.footer-contact a,
.footer-contact div {

    color:
        rgba(255,255,255,.45);

    font-size: 10px;

    transition: var(--transition);

}

.footer-column a:hover,
.footer-contact a:hover {

    color:
        white;

    transform:
        translateX(-4px);

}

.footer-contact a,
.footer-contact div {

    display: flex;

    align-items: center;

    gap: 9px;

}

.footer-contact i {

    color:
        var(--faraso-primary);

}

.footer-bottom {

    min-height: 70px;

    border-top:
        1px solid rgba(255,255,255,.07);

    display: flex;

    align-items: center;

    justify-content: space-between;

    color:
        rgba(255,255,255,.3);

    font-size: 9px;

}


/* =========================================================
   TOAST
========================================================= */

.faraso-toast {

    position: fixed;

    z-index: 10000;

    left: 25px;
    bottom: 25px;

    min-width: 280px;

    background:
        var(--faraso-dark);

    color: white;

    padding: 13px;

    border-radius: 16px;

    display: flex;

    align-items: center;

    gap: 11px;

    box-shadow:
        var(--shadow-lg);

    transform:
        translateY(120px);

    opacity: 0;

    transition: var(--transition);

}

.faraso-toast.show {

    transform:
        translateY(0);

    opacity: 1;

}

.toast-icon {

    width: 37px;
    height: 37px;

    border-radius: 11px;

    background:
        rgba(34,181,115,.12);

    color:
        #31c982;

    display: flex;

    align-items: center;
    justify-content: center;

}

.faraso-toast strong {

    display: block;

    font-size: 10px;

}

.faraso-toast span {

    display: block;

    color:
        rgba(255,255,255,.45);

    font-size: 8px;

    margin-top: 3px;

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    z-index: 4000;

    left: 25px;
    bottom: 25px;

    width: 43px;
    height: 43px;

    border-radius: 13px;

    background:
        var(--faraso-primary);

    color: white;

    box-shadow:
        0 10px 30px rgba(226,29,47,.25);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition: var(--transition);

}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {

    width: min(360px, 90%);

}

.mobile-brand {

    display: flex;

    align-items: center;

    gap: 10px;

}

.mobile-brand img {

    width: 42px;
    height: 42px;

    object-fit: contain;

}

.mobile-brand strong {

    display: block;

    font-size: 15px;

}

.mobile-brand small {

    display: block;

    font-size: 8px;

    color:
        var(--faraso-muted);

}

.mobile-nav {

    display: flex;

    flex-direction: column;

}

.mobile-nav a {

    padding: 16px 5px;

    border-bottom:
        1px solid var(--border);

    font-size: 12px;

    display: flex;

    align-items: center;

    gap: 12px;

}

.mobile-nav i {

    color:
        var(--faraso-primary);

}

.mobile-account {

    margin-top: 30px;

}

.mobile-account a {

    display: flex;

    align-items: center;

    gap: 10px;

    background:
        var(--faraso-dark);

    color: white;

    padding: 15px;

    border-radius: 13px;

    font-size: 11px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .desktop-nav {
        gap: 0;
    }

    .nav-link {
        padding-inline: 8px;
    }

    .header-inner {
        gap: 15px;
    }

    .login-btn span {
        display: none;
    }

    .products-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .brands-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .footer-main {
        grid-template-columns:
            repeat(3,1fr);
    }

}

@media (max-width: 992px) {

    .top-bar {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .hero-section,
    .hero-row {
        min-height: auto;
    }

    .hero-content {
        padding:
            80px 0 30px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .quick-services-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .quick-service:nth-child(3) {
        border-top:
            1px solid var(--border);
    }

    .quick-service:nth-child(4) {
        border-top:
            1px solid var(--border);
    }

    .offer-box {
        grid-template-columns:
            1fr;
    }

    .offer-product-area {
        min-height: 330px;
    }

    .category-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            260px 260px 260px;
    }

    .category-large {
        grid-row:
            span 2;
    }

    .products-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .about-wrapper,
    .manager-box,
    .why-layout {
        grid-template-columns:
            1fr;

        gap: 50px;
    }

    .manager-box {
        padding:
            60px 0;
    }

    .services-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .projects-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .project-main {
        grid-column:
            span 2;
    }

}

@media (max-width: 576px) {

    .header-inner {
        height: 72px;
    }

    .brand-text span {
        display: none;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .header-icon-btn {
        width: 37px;
        height: 37px;
    }

    .header-actions {
        margin-right: auto;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-trust {
        gap: 12px;
        justify-content: space-between;
    }

    .trust-item strong {
        font-size: 18px;
    }

    .trust-item span {
        font-size: 8px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-product-card {
        height: 370px;
        width: 90%;
    }

    .ring-one {
        width: 390px;
        height: 390px;
    }

    .ring-two {
        width: 300px;
        height: 300px;
    }

    .floating-card {
        min-width: 145px;
        transform: scale(.85);
    }

    .floating-card-top {
        right: -5px;
    }

    .floating-card-bottom {
        left: -5px;
    }

    .quick-services-grid {
        grid-template-columns:
            1fr;
    }

    .quick-service {
        border-left: 0;
        border-bottom:
            1px solid var(--border);
    }

    .section-padding {
        padding:
            70px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .offer-content {
        padding: 35px 25px;
    }

    .offer-content h2 {
        font-size: 31px;
    }

    .offer-product-area {
        min-height: 280px;
    }

    .offer-product {
        width: 280px;
        height: 280px;
    }

    .category-grid {
        grid-template-columns:
            1fr;

        grid-template-rows:
            repeat(5,230px);
    }

    .category-large {
        grid-row:
            auto;
    }

    .products-grid {
        grid-template-columns:
            1fr;
    }

    .brands-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .about-image {
        height: 380px;
    }

    .about-features {
        grid-template-columns:
            1fr;
    }

    .manager-frame {
        width: 260px;
        height: 340px;
    }

    .services-grid {
        grid-template-columns:
            1fr;
    }

    .projects-grid {
        grid-template-columns:
            1fr;

        min-height: auto;
    }

    .project-main {
        grid-column:
            auto;
    }

    .project-card {
        min-height: 300px;
    }

    .why-items {
        grid-template-columns:
            1fr;
    }

    .consultation-box {
        padding:
            40px 25px;
    }

    .consultation-icon {
        left: -50px;
        font-size: 230px;
    }

    .footer-main {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-brand {
        grid-column:
            span 2;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

}