/* =========================================================
   Rayalancer Front-end Styles
   Version: 1.2
   ========================================================= */

/* =========================================================
   01. Fonts
   ========================================================= */

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-Thin.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-extralight.ttf") format("truetype");
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-ExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

/* =========================================================
   02. Design Tokens
   ========================================================= */

:root {
    --color-primary-navy: #060543;
    --color-primary-purple: #6958ea;
    --color-purple-light: #8a7cff;

    --color-background: #050519;
    --color-background-soft: #080821;
    --color-surface: #0b0b25;
    --color-surface-elevated: #111132;

    --color-text: #ffffff;
    --color-text-muted: #aaa9c4;

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-strong: rgba(138, 124, 255, 0.35);

    --color-success: #24c78e;

    --gradient-primary:
        linear-gradient(
            135deg,
            #6958ea 0%,
            #8a7cff 100%
        );

    --shadow-primary:
        0 18px 50px rgba(105, 88, 234, 0.25);

    --container-width: 1280px;
    --header-height: 84px;
}

/* =========================================================
   03. Reset and Base
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(
            circle at 80% 8%,
            rgba(105, 88, 234, 0.15),
            transparent 28%
        ),
        var(--color-background);
    color: var(--color-text);
    font-family:
        "Peyda",
        Tahoma,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

body.mobile-menu-is-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(
        calc(100% - 64px),
        var(--container-width)
    );
    margin-inline: auto;
}

.site-main {
    min-height: 100vh;
}

/* =========================================================
   04. Buttons
   ========================================================= */

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow:
        0 10px 30px rgba(105, 88, 234, 0.25);
}

.button--primary:hover {
    box-shadow: var(--shadow-primary);
}

.button--ghost {
    border-color: var(--color-border-strong);
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
}

.button--ghost:hover {
    border-color: var(--color-purple-light);
    background: rgba(105, 88, 234, 0.1);
}

.button--large {
    min-height: 56px;
    padding-inline: 25px;
}

.button--header {
    min-height: 44px;
    padding-inline: 17px;
    font-size: 14px;
}

.button--full {
    width: 100%;
}

/* =========================================================
   05. Header
   ========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition:
        background-color 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease,
        backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
    border-color: var(--color-border);
    background: rgba(5, 5, 25, 0.88);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
}

.header-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-brand {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.site-brand__logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.site-brand__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    direction: ltr;
    line-height: 1.1;
}

.site-brand__content strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.site-brand__content small {
    margin-top: 4px;
    color: var(--color-text-muted);
    font-size: 9px;
    letter-spacing: 0.8px;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline: auto;
}

.navigation-item {
    position: relative;
}

.navigation-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.navigation-link svg {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.navigation-link:hover,
.navigation-link.is-active,
.navigation-item.is-open .navigation-link {
    background: rgba(105, 88, 234, 0.1);
    color: #ffffff;
}

.navigation-item.is-open .navigation-link svg {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

/* =========================================================
   06. Mega Menu
   ========================================================= */

.navigation-item--mega {
    position: static;
}

.navigation-item--mega::after {
    content: "";
    position: absolute;
    z-index: 1040;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
}

.mega-menu {
    position: absolute;
    z-index: 1050;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    width: 100%;
    max-width: 1340px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 210px repeat(var(--service-hub-count, 5), minmax(140px, 1fr));
    align-items: start;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(12, 13, 38, 0.98) 0%, rgba(6, 7, 24, 0.99) 100%);
    backdrop-filter: blur(24px) saturate(190%);
    box-shadow:
        0 35px 90px -10px rgba(0, 0, 0, 0.8),
        0 0 50px -10px rgba(105, 88, 234, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.985);
    pointer-events: none;
    transition:
        opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
        visibility 280ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 28px;
    left: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(169, 139, 255, 0.85) 35%, rgba(105, 88, 234, 0.95) 65%, transparent 100%);
    pointer-events: none;
}

.navigation-item--mega:hover .mega-menu,
.navigation-item--mega:focus-within .mega-menu,
.navigation-item--mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mega-menu__intro {
    align-self: start;
    padding: 18px;
    border: 1px solid rgba(138, 124, 255, 0.16);
    border-radius: 15px;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(105, 88, 234, 0.18),
            transparent 60%
        ),
        rgba(105, 88, 234, 0.05);
}

.mega-menu__badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(105, 88, 234, 0.12);
    color: var(--color-purple-light);
    font-size: 10px;
    font-weight: 600;
}

.mega-menu__intro strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.55;
}

.mega-menu__intro p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.75;
}

.mega-menu__main-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    color: var(--color-purple-light);
    font-size: 12px;
    font-weight: 600;
    transition: color 180ms ease;
}

.mega-menu__main-link:hover {
    color: #ffffff;
}

.mega-menu__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    padding: 4px 6px;
}

.mega-menu__title {
    width: 100%;
    min-height: 38px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.mega-menu__column a {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.mega-menu__column a:hover {
    background: rgba(105, 88, 234, 0.12);
    color: #ffffff;
}

.mega-menu__column a.mega-menu__direct-link,
.mega-menu__direct-link {
    width: 100%;
    min-height: 36px;
    margin-top: 4px;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border: 1px solid rgba(138, 124, 255, 0.25);
    border-radius: 9px;
    background: rgba(105, 88, 234, 0.08);
    color: var(--color-purple-light);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.mega-menu__direct-link span {
    flex: 1;
    min-width: 0;
}

.mega-menu__direct-link svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 180ms ease;
}

.mega-menu__column a.mega-menu__direct-link:hover,
.mega-menu__direct-link:hover {
    border-color: var(--color-purple-light);
    background: rgba(105, 88, 234, 0.18);
    color: #ffffff;
}

.mega-menu__direct-link:hover svg {
    transform: translateX(-3px);
}

/* =========================================================
   07. Mobile Menu
   ========================================================= */

.mobile-menu-trigger {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.mobile-menu-trigger span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 200ms ease,
        visibility 200ms ease;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1100;
    width: min(390px, 90vw);
    padding: 22px;
    overflow-y: auto;
    border-left: 1px solid var(--color-border);
    background: var(--color-background-soft);
    transform: translateX(105%);
    visibility: hidden;
    transition:
        transform 240ms ease,
        visibility 240ms ease;
}

.mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 27px;
    cursor: pointer;
}

.mobile-navigation {
    display: flex;
    flex-direction: column;
    padding-block: 18px;
}

.mobile-navigation > a,
.mobile-navigation summary {
    display: block;
    padding: 12px 4px;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
}

.mobile-navigation details {
    border-bottom: 1px solid var(--color-border);
}

.mobile-navigation details:first-of-type {
    border-top: 1px solid var(--color-border);
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    padding: 0 12px 12px 0;
}

.mobile-submenu a {
    padding: 8px 0;
    color: var(--color-text-muted);
    font-size: 14px;
}

.mobile-service-group__direct {
    display: block;
    margin-top: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 9px;
    background: rgba(105, 88, 234, 0.1);
    color: var(--color-purple-light) !important;
    font-size: 13px;
    font-weight: 600;
}

.mobile-menu__actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

/* =========================================================
   08. Hero
   ========================================================= */

.home-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding:
        calc(var(--header-height) + 28px)
        0
        58px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.hero-background--one {
    width: 520px;
    height: 520px;
    top: 35px;
    right: -210px;
    background: rgba(105, 88, 234, 0.16);
}

.hero-background--two {
    width: 420px;
    height: 420px;
    bottom: -240px;
    left: -130px;
    background: rgba(78, 57, 205, 0.12);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(500px, 1.05fr);
    align-items: center;
    gap: 54px;
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid rgba(138, 124, 255, 0.24);
    border-radius: 999px;
    background: rgba(105, 88, 234, 0.08);
    color: var(--color-purple-light);
    font-size: 13px;
    font-weight: 600;
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 5px rgba(36, 199, 142, 0.1);
}

.hero-content h1 {
    max-width: 620px;
    margin: 20px 0 18px;
    font-size: clamp(42px, 3.55vw, 56px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -1px;
    text-wrap: balance;
}

.hero-content h1 span {
    display: block;
    margin-top: 5px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 620px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.hero-quick-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.hero-quick-contact > span {
    color: #ffffff;
    font-weight: 600;
}

.hero-quick-contact a {
    transition: color 180ms ease;
}

.hero-quick-contact a:hover {
    color: var(--color-purple-light);
}

.hero-quick-contact i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.hero-visual {
    position: relative;
    width: 100%;
    direction: rtl;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    z-index: 0;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.34);
    filter: blur(85px);
    pointer-events: none;
}

.hero-blueprint-media {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
}

.hero-blueprint-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 35px 65px rgba(0, 0, 0, 0.42))
        drop-shadow(0 0 25px rgba(105, 88, 234, 0.12));
}

/* =========================================================
   09. Trust Bar
   ========================================================= */

.home-trust {
    position: relative;
    z-index: 4;
    padding-bottom: 38px;
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.trust-item {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-left: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 12px;
    text-align: center;
}

.trust-item:last-child {
    border-left: 0;
}

.trust-item span {
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   11. Floating Contact
   ========================================================= */

.floating-contact {
    position: fixed;
    z-index: 900;
    right: auto;
    bottom: 24px;
    left: 22px;
}

.floating-contact__trigger {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
    font-weight: 700;
    cursor: pointer;
}

.floating-contact__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.floating-contact__panel {
    position: absolute;
    right: auto;
    bottom: calc(100% + 12px);
    left: 0;
    width: 280px;
    display: grid;
    gap: 5px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: rgba(17, 17, 50, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    backdrop-filter: blur(16px);
    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease;
}

.floating-contact__panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact__panel strong {
    font-size: 14px;
}

.floating-contact__panel > span {
    margin-bottom: 8px;
    color: var(--color-text-muted);
    font-size: 11px;
}

.floating-contact__panel a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--color-text-muted);
    font-size: 12px;
    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.floating-contact__panel a:hover {
    background: rgba(105, 88, 234, 0.12);
    color: #ffffff;
}

.mobile-contact-bar {
    display: none;
}

/* =========================================================
   12. Services Section
   ========================================================= */

.home-services {
    position: relative;
    padding: 104px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(105, 88, 234, 0.025),
            transparent 28%
        );
}

.home-services::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -180px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.13);
    filter: blur(90px);
    pointer-events: none;
}

.home-services::after {
    content: "";
    position: absolute;
    bottom: -220px;
    left: -160px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(138, 124, 255, 0.08);
    filter: blur(95px);
    pointer-events: none;
}

.services-container {
    position: relative;
    z-index: 2;
}

.section-heading {
    max-width: 790px;
    margin-bottom: 48px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--color-purple-light);
    font-size: 13px;
    font-weight: 700;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    box-shadow: 36px 0 0 rgba(138, 124, 255, 0.35);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.7px;
    text-wrap: balance;
}

.section-heading h2 span {
    color: var(--color-purple-light);
}

.section-heading p {
    max-width: 720px;
    margin: 17px auto 0;
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 2;
}

.services-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --rotate-x: 0deg;
    --rotate-y: 0deg;

    position: relative;
    grid-column: span 4;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at var(--pointer-x) var(--pointer-y),
            rgba(138, 124, 255, 0.14),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.85),
            rgba(8, 8, 31, 0.92)
        );
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
    transform:
        perspective(900px)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y));
    transform-style: preserve-3d;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8),
            transparent 78%
        );
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    top: -90px;
    left: -90px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.16);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(138, 124, 255, 0.38);
    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.27),
        0 0 0 1px rgba(105, 88, 234, 0.08);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card--featured {
    grid-column: span 7;
    min-height: 360px;
    padding: 30px;
}

.service-card--wide {
    grid-column: span 5;
    min-height: 360px;
}

/* سطر آخر اگر فقط ۲ کارت باقی ماند، هر کدام ۵۰٪ عرض را پر می‌کنند */
.service-card:nth-last-child(2):nth-child(3n+1),
.service-card:nth-last-child(2):nth-child(3n+1) ~ .service-card {
    grid-column: span 6;
}

.service-card__top,
.service-card__content,
.service-card__footer,
.service-card__feature-visual {
    position: relative;
    z-index: 2;
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.service-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.3);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(105, 88, 234, 0.22),
            rgba(105, 88, 234, 0.06)
        );
    color: var(--color-purple-light);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 30px rgba(105, 88, 234, 0.12);
}

.service-card__icon svg {
    width: 27px;
    height: 27px;
}

.service-card__number {
    color: rgba(255, 255, 255, 0.22);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-card__content {
    margin-top: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card__content h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.55;
}

.service-card__content p {
    margin: 10px 0 0;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.95;
}

.service-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.service-card__list li {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #cfcee0;
    font-size: 11px;
}

.service-card__footer {
    margin-top: auto;
    padding-top: 24px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--color-purple-light);
    font-size: 13px;
    font-weight: 700;
}

.service-card__link span {
    transition: transform 180ms ease;
}

.service-card:hover .service-card__link span {
    transform: translateX(-4px);
}

.service-card__feature-visual {
    position: absolute;
    left: 28px;
    bottom: 26px;
    width: min(42%, 265px);
    display: grid;
    gap: 8px;
}

.service-card__mini-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(138, 124, 255, 0.16);
    border-radius: 13px;
    background: rgba(5, 5, 25, 0.58);
    color: var(--color-text-muted);
    font-size: 10px;
    backdrop-filter: blur(10px);
}

.service-card__mini-panel strong {
    color: #ffffff;
    font-size: 11px;
}

.service-card--featured .service-card__content,
.service-card--featured .service-card__footer {
    max-width: 52%;
}

.services-guidance {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 20px;
    padding: 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(138, 124, 255, 0.18);
    border-radius: 20px;
    background:
        linear-gradient(
            105deg,
            rgba(105, 88, 234, 0.14),
            rgba(255, 255, 255, 0.025)
        );
}

.services-guidance::before {
    content: "";
    position: absolute;
    top: -80px;
    right: 42%;
    width: 260px;
    height: 180px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.16);
    filter: blur(60px);
    pointer-events: none;
}

.services-guidance__content {
    position: relative;
    z-index: 2;
}

.services-guidance strong {
    display: block;
    font-size: 18px;
}

.services-guidance p {
    margin: 5px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.services-guidance .button {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.reveal-item {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 650ms ease,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   13. Responsive: Laptop
   ========================================================= */

@media (max-width: 1180px) {
    .desktop-navigation,
    .header-actions {
        display: none;
    }

    .mobile-menu-trigger {
        display: flex;
        margin-right: auto;
    }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .home-hero {
        min-height: 650px;
        padding-top: calc(var(--header-height) + 30px);
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(420px, 1.05fr);
        gap: 38px;
    }

    .hero-content h1 {
        font-size: clamp(39px, 4vw, 48px);
    }

    .hero-description {
        font-size: 16px;
    }
}

/* =========================================================
   14. Responsive: Tablet
   ========================================================= */

@media (max-width: 991px) {
    .container {
        width: min(
            calc(100% - 48px),
            var(--container-width)
        );
    }

    .home-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 65px);
        overflow: hidden;
    }

    .hero-grid {
        width: min(
            calc(100% - 48px),
            var(--container-width)
        );
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 52px;
    }

    .hero-content,
    .hero-visual {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-content {
        order: 1;
        margin-inline: auto;
        text-align: center;
    }

    .hero-visual {
        order: 2;
        margin-inline: auto;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero-content h1 {
        width: 100%;
        max-width: 760px;
        margin-inline: auto;
    }

    .hero-description {
        width: 100%;
        max-width: 680px;
        margin-inline: auto;
    }

    .hero-actions,
    .hero-quick-contact {
        justify-content: center;
    }

    .hero-blueprint-media {
        width: min(100%, 700px);
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-blueprint-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .trust-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-item {
        border-bottom: 1px solid var(--color-border);
    }
}

/* =========================================================
   15. Responsive: Mobile
   ========================================================= */

@media (max-width: 767px) {

:root {
        --header-height: 72px;
    }

body {
        padding-bottom: 72px;
    }

.container {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
    }

.site-brand__logo {
        width: 44px;
        height: 44px;
    }

.site-brand__content strong {
        font-size: 13px;
    }

.site-brand__content small {
        font-size: 8px;
    }

.home-hero {
        padding:
            calc(var(--header-height) + 42px)
            0
            58px;
    }

.hero-grid {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
        gap: 44px;
    }

.hero-content {
        overflow: visible;
    }

.eyebrow {
        max-width: 100%;
        margin-inline: auto;
        white-space: normal;
        text-align: center;
    }

.hero-content h1 {
        max-width: 520px;
        margin:
            22px
            auto
            18px;
        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.5;
        letter-spacing: -0.4px;
        text-align: center;
        overflow-wrap: normal;
        word-break: normal;
    }

.hero-content h1 span {
        margin-top: 4px;
    }

.hero-description {
        max-width: 520px;
        font-size: 15px;
        line-height: 2.05;
        text-align: center;
    }

.hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 26px;
    }

.hero-actions .button {
        width: 100%;
        min-width: 0;
        min-height: 56px;
        padding-inline: 16px;
        white-space: normal;
        text-align: center;
    }

.hero-quick-contact {
        max-width: 100%;
        gap: 8px;
        margin-top: 20px;
        font-size: 11px;
    }

.hero-visual {
        margin-top: 0;
        overflow: visible;
    }

.hero-visual::before {
        inset: 18% 10%;
        filter: blur(55px);
    }

.hero-blueprint-media {
        width: 100%;
        max-width: 560px;
    }

.hero-blueprint-image {
        transform: none;
    }

.home-trust {
        padding-top: 25px;
        padding-bottom: 10px;
    }

.trust-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

.trust-list::-webkit-scrollbar {
        display: none;
    }

.trust-item {
        flex: 0 0 230px;
        min-width: 230px;
        border-bottom: 0;
        scroll-snap-align: start;
    }

.floating-contact {
        display: none;
    }

.mobile-contact-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 950;
        height: 68px;
        display: grid;
        grid-template-columns: 1fr 1fr 2fr;
        gap: 1px;
        padding:
            7px
            max(8px, env(safe-area-inset-right))
            calc(7px + env(safe-area-inset-bottom))
            max(8px, env(safe-area-inset-left));
        border-top: 1px solid var(--color-border);
        background: rgba(5, 5, 25, 0.94);
        backdrop-filter: blur(18px);
    }

.mobile-contact-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 10px;
        color: var(--color-text-muted);
        font-size: 11px;
    }

.mobile-contact-bar__primary {
        background: var(--gradient-primary);
        color: #ffffff !important;
        font-weight: 700;
    }
}

/* =========================================================
   16. Responsive: Small Mobile
   ========================================================= */

@media (max-width: 480px) {
    .site-brand__content {
        display: none;
    }

    .home-hero {
        padding-top: calc(var(--header-height) + 34px);
    }

    .hero-grid {
        gap: 38px;
    }

    .eyebrow {
        font-size: 11px;
    }

    .hero-content h1 {
        max-width: 390px;
        font-size: clamp(29px, 8.4vw, 36px);
        line-height: 1.52;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-blueprint-media {
        width: calc(100% + 8px);
        margin-inline: -4px;
    }
}

/* =========================================================
   17. Services Responsive Enhancements
   ========================================================= */

@media (max-width: 1199px) and (min-width: 992px) {
    .services-bento {
        gap: 16px;
    }

    .service-card {
        grid-column: span 6;
    }

    .service-card--featured {
        grid-column: span 7;
    }

    .service-card--wide {
        grid-column: span 5;
    }
}

@media (max-width: 991px) {
    .home-services {
        padding: 88px 0;
    }

    .services-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .services-bento > .service-card,
    .service-card,
    .service-card--featured,
    .service-card--wide {
        grid-column: span 1 !important;
        min-height: 320px;
    }

    .service-card--featured .service-card__content,
    .service-card--featured .service-card__footer {
        max-width: 100%;
    }

    .service-card__feature-visual {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-services {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2 {
        font-size: clamp(29px, 8vw, 38px);
    }

    .section-heading p {
        font-size: 15px;
    }

    .services-bento {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .services-bento > .service-card,
    .service-card,
    .service-card--featured,
    .service-card--wide {
        grid-column: span 1 !important;
        min-height: auto;
        padding: 23px;
        transform: none !important;
    }

    .service-card__content {
        margin-top: 20px;
    }

    .service-card__content h3 {
        font-size: 21px;
    }

    .services-guidance {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .services-guidance .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

*,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

.reveal-item {
        opacity: 1;
        transform: none;
    }

.service-card {
        transform: none !important;
    }

.advantages-core__orbit {
    animation: none;
}
}

/* =========================================================
   Project Estimator
   ========================================================= */

.home-estimator {
    position: relative;
    padding: 108px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(105, 88, 234, 0.11),
            transparent 32%
        );
}

.home-estimator::before {
    content: "";
    position: absolute;
    bottom: -240px;
    left: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.09);
    filter: blur(100px);
    pointer-events: none;
}

.estimator-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(380px, 0.92fr);
    gap: 20px;
    align-items: start;
}

.estimator-form-card,
.estimator-result-card {
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.82),
            rgba(8, 8, 31, 0.9)
        );
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.22);
}

.estimator-form-card {
    min-height: 620px;
    padding: 30px;
}

.estimator-progress {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.estimator-progress__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--color-text-muted);
    font-size: 12px;
}

.estimator-progress__header strong {
    color: #ffffff;
}

.estimator-progress__track {
    height: 6px;
    margin-top: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.estimator-progress__track span {
    width: 20%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(105, 88, 234, 0.45);
    transition: width 350ms ease;
}

.estimator-form {
    padding-top: 28px;
}

.estimator-step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.estimator-step.is-active {
    animation:
        estimator-step-in
        420ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.estimator-step.has-error {
    animation: estimator-error-shake 320ms ease;
}

.estimator-step legend {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.55;
}

.estimator-step__description {
    margin: 7px 0 22px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.estimator-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.estimator-options--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.estimator-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.estimator-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.estimator-option__control {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.025);
    color: #d7d6e7;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.estimator-options--compact .estimator-option__control {
    min-height: 66px;
}

.estimator-option__control strong {
    color: #ffffff;
    font-size: 14px;
}

.estimator-option__control small {
    margin-top: 5px;
    color: var(--color-text-muted);
    font-size: 11px;
}

.estimator-option:hover .estimator-option__control {
    border-color: rgba(138, 124, 255, 0.28);
    background: rgba(105, 88, 234, 0.065);
    transform: translateY(-2px);
}

.estimator-option input:checked +
.estimator-option__control {
    border-color: var(--color-purple-light);
    background:
        linear-gradient(
            145deg,
            rgba(105, 88, 234, 0.18),
            rgba(105, 88, 234, 0.06)
        );
    box-shadow:
        0 0 0 3px rgba(105, 88, 234, 0.08),
        0 16px 35px rgba(0, 0, 0, 0.16);
}

.estimator-option input:focus-visible +
.estimator-option__control {
    outline: 2px solid var(--color-purple-light);
    outline-offset: 3px;
}

.estimator-error {
    display: none;
    margin-top: 14px;
    color: #f18a98;
    font-size: 12px;
}

.estimator-step.has-error .estimator-error {
    display: block;
}

.estimator-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}

.estimator-navigation button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.estimator-result-card {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    overflow: hidden;
}

.estimator-result__visual {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(105, 88, 234, 0.25),
            transparent 48%
        ),
        var(--color-background-soft);
}

.estimator-result__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 32px 32px;
}

.estimator-result__visual.is-missing::after {
    content: "R";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(138, 124, 255, 0.32);
    font-size: 90px;
    font-weight: 900;
}

.estimator-result__visual img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.estimator-result__visual-badge {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 16px;
    padding: 6px 10px;
    border: 1px solid rgba(138, 124, 255, 0.26);
    border-radius: 999px;
    background: rgba(5, 5, 25, 0.72);
    color: var(--color-purple-light);
    font-size: 10px;
    backdrop-filter: blur(10px);
}

.estimator-result__content {
    padding: 27px;
}

.estimator-result__eyebrow {
    color: var(--color-purple-light);
    font-size: 12px;
    font-weight: 700;
}

.estimator-result__content h3 {
    margin: 8px 0;
    font-size: 24px;
    line-height: 1.55;
}

.estimator-result__content > p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.9;
}

.estimator-result__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
}

.estimator-result__metrics div {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.estimator-result__metrics span,
.estimator-result__recommendation span {
    color: var(--color-text-muted);
    font-size: 10px;
}

.estimator-result__metrics strong {
    margin-top: 5px;
    color: #ffffff;
    font-size: 12px;
}

.estimator-result__recommendation {
    margin: 10px 0 18px;
    padding: 14px;
    border: 1px solid rgba(138, 124, 255, 0.18);
    border-radius: 13px;
    background: rgba(105, 88, 234, 0.07);
}

.estimator-result__recommendation strong {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.8;
}

.estimator-result__complete {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    padding: 13px;
    border: 1px solid rgba(36, 199, 142, 0.2);
    border-radius: 13px;
    background: rgba(36, 199, 142, 0.07);
}

.estimator-result__complete[hidden] {
    display: none;
}

.estimator-result__complete > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(36, 199, 142, 0.12);
    color: var(--color-success);
    font-weight: 900;
}

.estimator-result__complete div {
    display: flex;
    flex-direction: column;
}

.estimator-result__complete strong {
    font-size: 12px;
}

.estimator-result__complete small {
    margin-top: 3px;
    color: var(--color-text-muted);
    font-size: 10px;
    line-height: 1.7;
}

@keyframes estimator-step-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes estimator-error-shake {
    0%,
    100% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-6px);
    }
}

@media (max-width: 991px) {
    .estimator-shell {
        grid-template-columns: 1fr;
    }

    .estimator-result-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 767px) {
    .home-estimator {
        padding: 72px 0;
    }

    .estimator-form-card {
        min-height: auto;
        padding: 22px;
    }

    .estimator-options,
    .estimator-options--compact {
        grid-template-columns: 1fr;
    }

    .estimator-step legend {
        font-size: 21px;
    }

    .estimator-navigation {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
    }

    .estimator-navigation .button {
        width: 100%;
        padding-inline: 10px;
        font-size: 12px;
    }

    .estimator-result__content {
        padding: 22px;
    }
}

/* =========================================================
   Portfolio Section
   ========================================================= */

.home-portfolio {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(105, 88, 234, 0.035),
            transparent 25%
        );
}

.home-portfolio::before {
    content: "";
    position: absolute;
    top: 12%;
    left: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.1);
    filter: blur(100px);
    pointer-events: none;
}

.home-portfolio .section-heading {
    max-width: 850px;
}

.portfolio-bento {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.portfolio-card,
.portfolio-card--featured {
    min-width: 0;
    height: 100%;
    grid-column: auto;
    grid-row: auto;
}

.portfolio-card__link {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.82),
            rgba(8, 8, 31, 0.92)
        );
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.2);
    transition:
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.portfolio-card__link:hover {
    border-color: rgba(138, 124, 255, 0.38);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(105, 88, 234, 0.08);
    transform: translateY(-6px);
}

.portfolio-card__media,
.portfolio-card--featured .portfolio-card__media {
    position: relative;
    min-height: 0;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(105, 88, 234, 0.22),
            transparent 52%
        ),
        var(--color-background-soft);
}

.portfolio-card--featured .portfolio-card__link {
    border-color: rgba(138, 124, 255, 0.38);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(105, 88, 234, 0.08);
}

.portfolio-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    pointer-events: none;
}

.portfolio-card__media.is-missing::after {
    content: "R";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(138, 124, 255, 0.22);
    font-size: 96px;
    font-weight: 900;
}

.portfolio-card__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 500ms ease;
}

.portfolio-card__link:hover .portfolio-card__media img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            transparent 42%,
            rgba(5, 5, 25, 0.72) 100%
        );
    pointer-events: none;
}

.portfolio-card__type {
    position: absolute;
    z-index: 3;
    right: 18px;
    top: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(138, 124, 255, 0.26);
    border-radius: 999px;
    background: rgba(5, 5, 25, 0.72);
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.portfolio-card__open {
    position: absolute;
    z-index: 3;
    left: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(5, 5, 25, 0.68);
    color: #ffffff;
    font-size: 17px;
    backdrop-filter: blur(10px);
    transition:
        transform 220ms ease,
        background-color 220ms ease;
}

.portfolio-card__link:hover .portfolio-card__open {
    background: var(--color-primary-purple);
    transform: rotate(-8deg);
}

.portfolio-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.portfolio-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.portfolio-card__heading h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.55;
}

.portfolio-card__heading > span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(36, 199, 142, 0.08);
    color: var(--color-success);
    font-size: 10px;
}

.portfolio-card__content > p {
    margin: 11px 0 0;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.95;
}

.portfolio-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.portfolio-card__services li {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: #cfcee0;
    font-size: 10px;
}

.portfolio-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--color-purple-light);
    font-size: 13px;
    font-weight: 700;
}

.portfolio-card__cta i {
    font-style: normal;
    transition: transform 180ms ease;
}

.portfolio-card__link:hover .portfolio-card__cta i {
    transform: translateX(-5px);
}

.portfolio-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 20px;
    padding: 25px 28px;
    border: 1px solid rgba(138, 124, 255, 0.18);
    border-radius: 20px;
    background:
        linear-gradient(
            110deg,
            rgba(105, 88, 234, 0.12),
            rgba(255, 255, 255, 0.025)
        );
}

.portfolio-footer strong {
    display: block;
    font-size: 18px;
}

.portfolio-footer p {
    margin: 5px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.portfolio-footer .button {
    flex: 0 0 auto;
}

@media (max-width: 991px) {

.portfolio-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.portfolio-card,
    .portfolio-card--featured {
        grid-column: span 1;
        grid-row: auto;
    }

.portfolio-card--featured .portfolio-card__media {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .home-portfolio {
        padding: 72px 0;
    }

    .portfolio-bento {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-card__media,
    .portfolio-card--featured .portfolio-card__media {
        min-height: 245px;
    }

    .portfolio-card__content {
        padding: 22px;
    }

    .portfolio-card__heading {
        flex-direction: column;
        gap: 9px;
    }

    .portfolio-card__heading h3 {
        font-size: 21px;
    }

    .portfolio-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .portfolio-footer .button {
        width: 100%;
    }
}

/* =========================================================
   Process Section
   ========================================================= */

.home-process {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(105, 88, 234, 0.08),
            transparent 40%
        );
}

.home-process::before {
    content: "";
    position: absolute;
    top: 35%;
    right: -200px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.1);
    filter: blur(100px);
    pointer-events: none;
}

.process-timeline {
    position: relative;
    max-width: 1050px;
    margin-inline: auto;
}

.process-timeline__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(50%);
}

.process-timeline__rail span {
    width: 100%;
    height: 0;
    display: block;
    border-radius: 999px;
    background: var(--gradient-primary);
    box-shadow:
        0 0 18px rgba(105, 88, 234, 0.55);
    transition:
        height
        900ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step {
    position: relative;
    min-height: 190px;
    display: grid;
    grid-template-columns: 1fr 72px 1fr;
    align-items: center;
}

.process-step:nth-child(even) .process-step__card {
    grid-column: 1;
}

.process-step:nth-child(odd) .process-step__card {
    grid-column: 3;
}

.process-step__marker {
    position: relative;
    z-index: 3;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
}

.process-step__marker span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.3);
    border-radius: 50%;
    background: var(--color-background-soft);
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 800;
    box-shadow:
        0 0 0 8px var(--color-background),
        0 12px 30px rgba(0, 0, 0, 0.24);
    transition:
        background-color 220ms ease,
        color 220ms ease,
        box-shadow 220ms ease;
}

.process-step.is-active .process-step__marker span {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow:
        0 0 0 8px var(--color-background),
        0 0 32px rgba(105, 88, 234, 0.45);
}

.process-step__card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 23px;
    border: 1px solid var(--color-border);
    border-radius: 19px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.78),
            rgba(8, 8, 31, 0.9)
        );
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.process-step__card:hover,
.process-step.is-active .process-step__card {
    border-color: rgba(138, 124, 255, 0.34);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.27),
        0 0 0 1px rgba(105, 88, 234, 0.07);
    transform: translateY(-4px);
}

.process-step__icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.24);
    border-radius: 15px;
    background: rgba(105, 88, 234, 0.09);
    color: var(--color-purple-light);
}

.process-step__icon svg {
    width: 25px;
    height: 25px;
}

.process-step__content h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.6;
}

.process-step__content p {
    margin: 7px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.9;
}

.process-summary {
    max-width: 1050px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 30px auto 0;
    padding: 24px 27px;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 20px;
    background:
        linear-gradient(
            110deg,
            rgba(105, 88, 234, 0.14),
            rgba(255, 255, 255, 0.025)
        );
}

.process-summary div {
    display: flex;
    flex-direction: column;
}

.process-summary div > span {
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 700;
}

.process-summary strong {
    margin-top: 4px;
    font-size: 17px;
}

@media (max-width: 767px) {
    .home-process {
        padding: 72px 0;
    }

    .process-timeline {
        padding-right: 34px;
    }

    .process-timeline__rail {
        right: 16px;
        transform: none;
    }

    .process-step {
        min-height: auto;
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
        margin-bottom: 18px;
    }

    .process-step__marker,
    .process-step:nth-child(even) .process-step__card,
    .process-step:nth-child(odd) .process-step__card {
        grid-column: auto;
    }

    .process-step__marker {
        grid-column: 1;
        align-self: start;
        justify-content: flex-start;
    }

    .process-step__marker span {
        width: 34px;
        height: 34px;
        box-shadow:
            0 0 0 5px var(--color-background);
    }

    .process-step__card {
        grid-column: 2 !important;
        padding: 19px;
    }

    .process-step__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .process-step__content h3 {
        font-size: 17px;
    }

    .process-summary {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .process-summary .button {
        width: 100%;
    }
}

/* =========================================================
   Advantages Section
   ========================================================= */

.home-advantages {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(105, 88, 234, 0.11),
            transparent 33%
        ),
        linear-gradient(
            180deg,
            rgba(105, 88, 234, 0.02),
            transparent
        );
}

.home-advantages::before,
.home-advantages::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.home-advantages::before {
    top: 20%;
    right: -180px;
    width: 430px;
    height: 430px;
    background: rgba(105, 88, 234, 0.1);
}

.home-advantages::after {
    bottom: -220px;
    left: -160px;
    width: 460px;
    height: 460px;
    background: rgba(138, 124, 255, 0.07);
}

.advantages-stage {
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.advantage-card {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --rotate-x: 0deg;
    --rotate-y: 0deg;

    position: relative;
    min-height: 245px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at var(--pointer-x) var(--pointer-y),
            rgba(138, 124, 255, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.8),
            rgba(8, 8, 31, 0.9)
        );
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    transform:
        perspective(900px)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y));
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.advantage-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );
    background-size: 32px 32px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85),
            transparent
        );
    pointer-events: none;
}

.advantage-card:hover {
    border-color: rgba(138, 124, 255, 0.38);
    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(105, 88, 234, 0.08);
}

.advantage-card__header,
.advantage-card h3,
.advantage-card p {
    position: relative;
    z-index: 2;
}

.advantage-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.advantage-card__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.26);
    border-radius: 15px;
    background: rgba(105, 88, 234, 0.09);
    color: var(--color-purple-light);
}

.advantage-card__icon svg {
    width: 25px;
    height: 25px;
}

.advantage-card__number {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.advantage-card h3 {
    margin: 22px 0 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.6;
}

.advantage-card p {
    margin: 8px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.95;
}

.advantages-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 20px;
    padding: 26px 28px;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 20px;
    background:
        linear-gradient(
            110deg,
            rgba(105, 88, 234, 0.14),
            rgba(255, 255, 255, 0.025)
        );
}

.advantages-actions strong {
    display: block;
    font-size: 18px;
}

.advantages-actions p {
    margin: 5px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.advantages-actions__buttons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 991px) {
    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .advantages-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .advantages-actions__buttons {
        width: 100%;
    }
}

@media (max-width: 767px) {

.advantages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

.advantage-card {
        min-height: auto;
        padding: 22px;
        transform: none !important;
    }

.advantages-actions {
        padding: 22px;
    }

.advantages-actions__buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

.advantages-actions__buttons .button {
        width: 100%;
    }
}

.advantages-core {
    position: relative;
    width: 420px;
    height: 420px;
    display: grid;
    place-items: center;
    margin: 0 auto 54px;
}

.advantages-core__glow {
    position: absolute;
    inset: 72px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(138, 124, 255, 0.26),
            rgba(105, 88, 234, 0.12) 45%,
            rgba(5, 5, 25, 0.85) 78%
        );
    box-shadow:
        0 0 100px rgba(105, 88, 234, 0.22),
        inset 0 0 40px rgba(138, 124, 255, 0.08);
    border: 1px solid rgba(138, 124, 255, 0.22);
}

.advantages-core__orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.advantages-core__orbit--one {
    border: 1px solid rgba(138, 124, 255, 0.16);
    animation: advantages-orbit-clockwise 18s linear infinite;
}

.advantages-core__orbit--two {
    inset: 34px;
    border: 1px dashed rgba(138, 124, 255, 0.14);
    animation: advantages-orbit-counter 14s linear infinite;
}

.advantages-core__orbit--three {
    inset: 72px;
    border: 1px solid rgba(138, 124, 255, 0.12);
    animation: advantages-orbit-clockwise 11s linear infinite;
}

.advantages-core__orbit span {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-purple-light);
    box-shadow:
        0 0 18px rgba(138, 124, 255, 0.8),
        0 0 36px rgba(138, 124, 255, 0.35);
}

.advantages-core__orbit--one span:nth-child(1) {
    top: 40px;
    right: 88px;
}

.advantages-core__orbit--one span:nth-child(2) {
    bottom: 48px;
    left: 102px;
}

.advantages-core__orbit--two span:nth-child(1) {
    top: 78px;
    left: 22px;
}

.advantages-core__orbit--two span:nth-child(2) {
    right: 18px;
    bottom: 100px;
}

.advantages-core__orbit--three span:nth-child(1) {
    bottom: 18px;
    right: 74px;
}

.advantages-core__content {
    position: relative;
    z-index: 3;
    width: 250px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.86),
            rgba(8, 8, 31, 0.94)
        );
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
}

.advantages-core__content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 24px 24px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85),
            transparent 90%
        );
    pointer-events: none;
}

.advantages-core__logo {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(105, 88, 234, 0.22),
            rgba(138, 124, 255, 0.08)
        );
    border: 1px solid rgba(138, 124, 255, 0.24);
    box-shadow:
        0 14px 32px rgba(105, 88, 234, 0.18);
}

.advantages-core__logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.advantages-core__content small {
    display: block;
    color: var(--color-text-muted);
    font-size: 11px;
}

.advantages-core__content strong {
    display: block;
    margin-top: 4px;
    color: var(--color-purple-light);
    font-size: 28px;
    font-weight: 800;
}

.advantages-core__content p {
    margin: 10px 0 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.95;
}

.advantages-core__badge {
    position: absolute;
    z-index: 4;
    padding: 8px 12px;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 10, 35, 0.72);
    color: #d7d6e7;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
}

.advantages-core__badge--top-right {
    top: 52px;
    right: -18px;
}

.advantages-core__badge--top-left {
    top: 86px;
    left: -42px;
}

.advantages-core__badge--bottom-right {
    bottom: 88px;
    right: -34px;
}

.advantages-core__badge--bottom-left {
    bottom: 56px;
    left: -24px;
}

@keyframes advantages-orbit-clockwise {
    to {
        transform: rotate(360deg);
    }
}

@keyframes advantages-orbit-counter {
    to {
        transform: rotate(-360deg);
    }
}
/* =========================================================
   Advantages Core — Floating Mobile Layout
   ========================================================= */

@media (max-width: 767px) {
    .home-advantages {
        padding: 72px 0;
        overflow: hidden;
    }

    .advantages-core {
        position: relative;
        width: min(100%, 340px);
        height: auto;
        aspect-ratio: 1 / 1;
        display: block;
        margin: 0 auto 38px;
        padding: 0;
    }

    /* Glow مرکزی */

    .advantages-core__glow {
        position: absolute;
        inset: 18%;
        width: auto;
        height: auto;
        transform: none;
    }

    /* مدارها */

    .advantages-core__orbit {
        position: absolute;
        width: auto;
        height: auto;
        border-radius: 50%;
    }

    .advantages-core__orbit--one {
        inset: 0;
    }

    .advantages-core__orbit--two {
        inset: 8.5%;
    }

    .advantages-core__orbit--three {
        inset: 18%;
    }

    .advantages-core__orbit span {
        width: 8px;
        height: 8px;
    }

    .advantages-core__orbit--one span:nth-child(1) {
        top: 10%;
        right: 21%;
    }

    .advantages-core__orbit--one span:nth-child(2) {
        bottom: 12%;
        left: 23%;
    }

    .advantages-core__orbit--two span:nth-child(1) {
        top: 26%;
        left: 0;
    }

    .advantages-core__orbit--two span:nth-child(2) {
        right: 0;
        bottom: 29%;
    }

    .advantages-core__orbit--three span:nth-child(1) {
        right: 25%;
        bottom: 0;
    }

    /* کارت مرکزی */

    .advantages-core__content {
        position: absolute;
        z-index: 5;
        top: 50%;
        left: 50%;
        width: 66%;
        min-height: 62%;
        margin: 0;
        padding: 20px 16px;
        border-radius: 23px;
        transform: translate(-50%, -50%);
    }

    .advantages-core__logo {
        width: 64px;
        height: 64px;
        margin-bottom: 11px;
        border-radius: 17px;
    }

    .advantages-core__logo img {
        width: 41px;
        height: 41px;
    }

    .advantages-core__content small {
        font-size: 9.5px;
    }

    .advantages-core__content strong {
        margin-top: 3px;
        font-size: 19px;
        white-space: nowrap;
    }

    .advantages-core__content p {
        margin-top: 8px;
        font-size: 10px;
        line-height: 1.85;
    }

    /* Badgeهای شناور مشابه دسکتاپ */

    .advantages-core__badge {
        position: absolute;
        z-index: 6;
        width: auto;
        min-width: 84px;
        max-width: 106px;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 9px;
        border-radius: 999px;
        font-size: 9px;
        line-height: 1.45;
        white-space: normal;
        text-align: center;
    }

    .advantages-core__badge--top-right {
        top: 15%;
        right: -1%;
        bottom: auto;
        left: auto;
    }

    .advantages-core__badge--top-left {
        top: 29%;
        right: auto;
        bottom: auto;
        left: -2%;
    }

    .advantages-core__badge--bottom-right {
        top: auto;
        right: -3%;
        bottom: 25%;
        left: auto;
    }

    .advantages-core__badge--bottom-left {
        top: auto;
        right: auto;
        bottom: 11%;
        left: -1%;
    }
}

@media (max-width: 420px) {
    .advantages-core {
        width: min(100%, 310px);
        margin-bottom: 34px;
    }

    .advantages-core__content {
        width: 65%;
        min-height: 61%;
        padding: 18px 13px;
        border-radius: 21px;
    }

    .advantages-core__logo {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .advantages-core__logo img {
        width: 37px;
        height: 37px;
    }

    .advantages-core__content strong {
        font-size: 17px;
    }

    .advantages-core__content p {
        font-size: 9.3px;
        line-height: 1.8;
    }

    .advantages-core__badge {
        min-width: 76px;
        max-width: 91px;
        min-height: 35px;
        padding: 5px 7px;
        font-size: 8.2px;
    }

    .advantages-core__badge--top-right {
        top: 14%;
        right: 0;
    }

    .advantages-core__badge--top-left {
        top: 30%;
        left: 0;
    }

    .advantages-core__badge--bottom-right {
        right: 0;
        bottom: 25%;
    }

    .advantages-core__badge--bottom-left {
        bottom: 10%;
        left: 0;
    }
}
/* =========================================================
   Comparison Section
   ========================================================= */

.home-comparison {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(105, 88, 234, 0.08),
            transparent 38%
        );
}

.home-comparison::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -200px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.08);
    filter: blur(105px);
    pointer-events: none;
}

.comparison-shell {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 25px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.82),
            rgba(8, 8, 31, 0.94)
        );
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.comparison-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 36px 36px;
    pointer-events: none;
}

.comparison-shell__scan {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    right: 33.333%;
    width: 1px;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(138, 124, 255, 0.55),
            transparent
        );
    box-shadow: 0 0 28px rgba(105, 88, 234, 0.34);
    animation: comparison-scan-pulse 3.5s ease-in-out infinite;
}

.comparison-head,
.comparison-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(180px, 0.72fr)
        minmax(0, 1fr)
        minmax(0, 1fr);
}

.comparison-head {
    border-bottom: 1px solid var(--color-border);
}

.comparison-head > div {
    min-height: 98px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 22px;
}

.comparison-head__subject {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.comparison-head__common {
    border-inline: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.018);
}

.comparison-head__rayalancer {
    background:
        linear-gradient(
            145deg,
            rgba(105, 88, 234, 0.15),
            rgba(105, 88, 234, 0.045)
        );
}

.comparison-head span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.comparison-head small {
    margin-top: 4px;
    color: var(--color-text-muted);
    font-size: 10px;
}

.comparison-head__rayalancer span {
    color: var(--color-purple-light);
}

.comparison-row {
    border-bottom: 1px solid var(--color-border);
    transition:
        background-color 200ms ease,
        transform 200ms ease;
}

.comparison-row:last-child {
    border-bottom: 0;
}

.comparison-row:hover {
    background: rgba(105, 88, 234, 0.035);
}

.comparison-row > div {
    min-height: 118px;
    display: flex;
    align-items: center;
    padding: 20px 22px;
}

.comparison-row__subject {
    gap: 13px;
}

.comparison-row__subject h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}

.comparison-row__icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 13px;
    background: rgba(105, 88, 234, 0.07);
    color: var(--color-purple-light);
}

.comparison-row__icon svg {
    width: 22px;
    height: 22px;
}

.comparison-row__common,
.comparison-row__rayalancer {
    align-items: flex-start !important;
    gap: 11px;
}

.comparison-row__common {
    border-inline: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.012);
}

.comparison-row__rayalancer {
    background: rgba(105, 88, 234, 0.035);
}

.comparison-row p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.95;
}

.comparison-row__rayalancer p {
    color: #d5d4e5;
}

.comparison-status {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.comparison-status--common {
    background: rgba(245, 185, 66, 0.08);
    color: #dcae55;
}

.comparison-status--success {
    background: rgba(36, 199, 142, 0.1);
    color: var(--color-success);
}

.comparison-conclusion {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 24px 27px;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 20px;
    background:
        linear-gradient(
            110deg,
            rgba(105, 88, 234, 0.15),
            rgba(255, 255, 255, 0.025)
        );
}

.comparison-conclusion__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.25);
    border-radius: 17px;
    background: rgba(105, 88, 234, 0.09);
}

.comparison-conclusion__icon img {
    width: 39px;
    height: 39px;
    object-fit: contain;
}

.comparison-conclusion strong {
    display: block;
    font-size: 17px;
}

.comparison-conclusion p {
    margin: 4px 0 0;
    color: var(--color-text-muted);
    font-size: 12px;
}

.comparison-conclusion .button {
    flex: 0 0 auto;
}

@keyframes comparison-scan-pulse {
    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .comparison-head,
    .comparison-row {
        grid-template-columns:
            minmax(150px, 0.62fr)
            minmax(0, 1fr)
            minmax(0, 1fr);
    }

    .comparison-row > div {
        padding: 18px;
    }
}

@media (max-width: 767px) {
    .home-comparison {
        padding: 72px 0;
    }

    .comparison-shell {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .comparison-shell::before,
    .comparison-shell__scan,
    .comparison-head {
        display: none;
    }

    .comparison-list {
        display: grid;
        gap: 14px;
    }

    .comparison-row {
        display: block;
        overflow: hidden;
        border: 1px solid var(--color-border);
        border-radius: 19px;
        background:
            linear-gradient(
                145deg,
                rgba(17, 17, 50, 0.82),
                rgba(8, 8, 31, 0.94)
            );
    }

    .comparison-row > div {
        min-height: auto;
        padding: 18px;
    }

    .comparison-row__subject {
        border-bottom: 1px solid var(--color-border);
    }

    .comparison-row__subject h3 {
        font-size: 17px;
    }

    .comparison-row__common,
    .comparison-row__rayalancer {
        position: relative;
        padding-top: 40px !important;
        border: 0;
    }

    .comparison-row__common {
        border-bottom: 1px solid var(--color-border);
    }

    .comparison-row__common::before,
    .comparison-row__rayalancer::before {
        position: absolute;
        top: 12px;
        right: 18px;
        font-size: 10px;
        font-weight: 700;
    }

    .comparison-row__common::before {
        content: "روش اجرای رایج";
        color: #dcae55;
    }

    .comparison-row__rayalancer::before {
        content: "روش رایا لنسر";
        color: var(--color-purple-light);
    }

    .comparison-conclusion {
        grid-template-columns: auto 1fr;
        padding: 21px;
    }

    .comparison-conclusion .button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .comparison-shell__scan {
        animation: none;
    }
}
/* =========================================================
   Results Section
   ========================================================= */

.home-results {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(105, 88, 234, 0.025),
            transparent 30%
        );
}

.home-results::before {
    content: "";
    position: absolute;
    top: 15%;
    right: -180px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.09);
    filter: blur(105px);
    pointer-events: none;
}

.results-bento {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.result-card {
    position: relative;
    grid-column: span 5;
    min-height: 315px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.82),
            rgba(8, 8, 31, 0.92)
        );
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.2);
    transition:
        transform 240ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.result-card--wide {
    grid-column: span 7;
}

.result-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.82),
            transparent
        );
    pointer-events: none;
}

.result-card:hover {
    border-color: rgba(138, 124, 255, 0.36);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(105, 88, 234, 0.08);
    transform: translateY(-5px);
}

.result-card__scan {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: -25%;
    width: 22%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(138, 124, 255, 0.08),
            transparent
        );
    transform: skewX(-18deg);
    animation: result-card-scan 6s ease-in-out infinite;
    pointer-events: none;
}

.result-card__header,
.result-card__category,
.result-card h3,
.result-card > p,
.result-card__signal,
.result-card__footer {
    position: relative;
    z-index: 2;
}

.result-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.result-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.26);
    border-radius: 15px;
    background: rgba(105, 88, 234, 0.09);
    color: var(--color-purple-light);
}

.result-card__icon svg {
    width: 26px;
    height: 26px;
}

.result-card__number {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.result-card__category {
    align-self: flex-start;
    margin-top: 22px;
    padding: 5px 9px;
    border: 1px solid rgba(138, 124, 255, 0.16);
    border-radius: 999px;
    background: rgba(105, 88, 234, 0.07);
    color: var(--color-purple-light);
    font-size: 10px;
    font-weight: 700;
}

.result-card h3 {
    margin: 13px 0 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.55;
}

.result-card > p {
    margin: 8px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.95;
}

.result-card__signal {
    position: relative;
    height: 22px;
    margin-top: 20px;
    overflow: hidden;
}

.result-card__signal::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.result-card__signal span {
    position: absolute;
    top: 50%;
    right: 0;
    width: 48%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--color-purple-light)
        );
}

.result-card__signal i {
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-purple-light);
    box-shadow: 0 0 18px rgba(138, 124, 255, 0.75);
    transform: translateY(-50%);
    animation: result-signal-move 3.8s ease-in-out infinite;
}

.result-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 19px;
    border-top: 1px solid var(--color-border);
}

.result-card__footer > span {
    color: var(--color-text-muted);
    font-size: 10px;
}

.result-card__footer strong {
    color: #ffffff;
}

.result-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 700;
}

.result-card__footer a i {
    font-style: normal;
    transition: transform 180ms ease;
}

.result-card__footer a:hover i {
    transform: translateX(-4px);
}

.results-proof,
.testimonial-card {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 20px;
    background:
        linear-gradient(
            110deg,
            rgba(105, 88, 234, 0.14),
            rgba(255, 255, 255, 0.025)
        );
}

.results-proof {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 24px 27px;
}

.results-proof__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.23);
    border-radius: 17px;
    background: rgba(105, 88, 234, 0.08);
}

.results-proof__icon img {
    width: 39px;
    height: 39px;
    object-fit: contain;
}

.results-proof strong {
    display: block;
    font-size: 17px;
}

.results-proof p {
    margin: 4px 0 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.results-testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.testimonial-card {
    margin: 0;
    padding: 25px;
}

.testimonial-card p {
    margin: 0;
    font-size: 15px;
    line-height: 2;
}

.testimonial-card footer {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

.testimonial-card footer span {
    color: var(--color-text-muted);
    font-size: 11px;
}

@keyframes result-card-scan {
    0%,
    25% {
        left: -30%;
        opacity: 0;
    }

    45% {
        opacity: 1;
    }

    75%,
    100% {
        left: 115%;
        opacity: 0;
    }
}

@keyframes result-signal-move {
    0%,
    100% {
        right: 0;
    }

    50% {
        right: calc(100% - 8px);
    }
}

@media (max-width: 991px) {
    .results-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .result-card,
    .result-card--wide {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .home-results {
        padding: 72px 0;
    }

    .results-bento {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .result-card,
    .result-card--wide {
        min-height: auto;
        padding: 22px;
    }

    .result-card__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .results-proof {
        grid-template-columns: auto 1fr;
        padding: 21px;
    }

    .results-proof .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .results-testimonials {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .result-card__scan,
    .result-card__signal i {
        animation: none;
    }
}
/* =========================================================
   Blog Section
   ========================================================= */

.home-blog {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(105, 88, 234, 0.09),
            transparent 34%
        );
}

.home-blog::before {
    content: "";
    position: absolute;
    bottom: -220px;
    left: -170px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.08);
    filter: blur(105px);
    pointer-events: none;
}

.blog-heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.blog-heading .section-heading {
    max-width: 820px;
    margin-bottom: 0;
}

.blog-heading .section-heading p {
    margin-inline: 0;
}

.blog-heading > .button {
    flex: 0 0 auto;
    margin-bottom: 6px;
}

.blog-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, 0.85fr);
    gap: 18px;
}

.blog-featured {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --rotate-x: 0deg;
    --rotate-y: 0deg;

    min-width: 0;
    transform:
        perspective(1000px)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y));
    transition: transform 220ms ease;
}

.blog-featured__link,
.blog-card__link {
    position: relative;
    height: 100%;
    display: flex;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.82),
            rgba(8, 8, 31, 0.92)
        );
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.2);
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 240ms ease;
}

.blog-featured__link {
    flex-direction: column;
    border-radius: 24px;
}

.blog-featured__link:hover,
.blog-card__link:hover {
    border-color: rgba(138, 124, 255, 0.38);
    box-shadow:
        0 32px 85px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(105, 88, 234, 0.08);
}

.blog-featured__media {
    position: relative;
    min-height: 390px;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(105, 88, 234, 0.24),
            transparent 52%
        ),
        var(--color-background-soft);
}

.blog-featured__media::before,
.blog-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    pointer-events: none;
}

.blog-featured__media.is-missing::after,
.blog-card__media.is-missing::after {
    content: "R";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(138, 124, 255, 0.22);
    font-size: 90px;
    font-weight: 900;
}

.blog-featured__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 500ms ease;
}

.blog-featured__link:hover
.blog-featured__media img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.blog-featured__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(5, 5, 25, 0.78)
        );
    pointer-events: none;
}

.blog-featured__category,
.blog-featured__arrow {
    position: absolute;
    z-index: 3;
    top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.blog-featured__category {
    right: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(138, 124, 255, 0.26);
    border-radius: 999px;
    background: rgba(5, 5, 25, 0.7);
    color: var(--color-purple-light);
    font-size: 11px;
    font-weight: 700;
}

.blog-featured__arrow {
    left: 18px;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(5, 5, 25, 0.7);
    color: #ffffff;
    transition:
        background-color 200ms ease,
        transform 200ms ease;
}

.blog-featured__link:hover
.blog-featured__arrow {
    background: var(--color-primary-purple);
    transform: rotate(-8deg);
}

.blog-featured__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 27px;
}

.blog-featured__content h3 {
    margin: 12px 0 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.55;
}

.blog-featured__content > p {
    margin: 10px 0 0;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.95;
}

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--color-text-muted);
    font-size: 10px;
}

.blog-meta > span[aria-hidden="true"] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--color-purple-light);
    font-size: 12px;
    font-weight: 700;
}

.blog-card__cta i {
    font-style: normal;
    transition: transform 180ms ease;
}

.blog-featured__link:hover
.blog-card__cta i,
.blog-card__link:hover
.blog-card__cta i {
    transform: translateX(-5px);
}

.blog-secondary-list {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-card {
    min-width: 0;
}

.blog-card__link {
    border-radius: 21px;
}

.blog-card__media {
    position: relative;
    width: 42%;
    min-height: 100%;
    flex: 0 0 42%;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(105, 88, 234, 0.21),
            transparent 54%
        ),
        var(--color-background-soft);
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 450ms ease;
}

.blog-card__link:hover
.blog-card__media img {
    transform: scale(1.055);
    filter: saturate(1.08);
}

.blog-card__media > span {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
    padding: 6px 9px;
    border: 1px solid rgba(138, 124, 255, 0.23);
    border-radius: 999px;
    background: rgba(5, 5, 25, 0.72);
    color: var(--color-purple-light);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(9px);
}

.blog-card__content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 21px;
}

.blog-card__content h3 {
    margin: 10px 0 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.65;
}

.blog-card__content > p {
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-topics {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 20px;
    padding: 18px 22px;
    border: 1px solid rgba(138, 124, 255, 0.18);
    border-radius: 18px;
    background: rgba(105, 88, 234, 0.05);
}

.blog-topics > span {
    flex: 0 0 auto;
    color: var(--color-text-muted);
    font-size: 11px;
}

.blog-topics nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.blog-topics a {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: #d1d0e1;
    font-size: 10px;
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.blog-topics a:hover {
    border-color: rgba(138, 124, 255, 0.3);
    background: rgba(105, 88, 234, 0.1);
    color: #ffffff;
}

@media (max-width: 991px) {
    .blog-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-secondary-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .blog-card__link {
        flex-direction: column;
    }

    .blog-card__media {
        width: 100%;
        min-height: 220px;
        flex-basis: auto;
    }
}

@media (max-width: 767px) {
    .home-blog {
        padding: 72px 0;
    }

    .blog-heading {
        margin-bottom: 34px;
    }

    .blog-heading > .button {
        width: 100%;
    }

    .blog-featured__media {
        min-height: 250px;
    }

    .blog-featured__content {
        padding: 22px;
    }

    .blog-featured__content h3 {
        font-size: 22px;
    }

    .blog-secondary-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blog-card__media {
        min-height: 230px;
    }

    .blog-card__content {
        padding: 22px;
    }

    .blog-card__content h3 {
        font-size: 20px;
    }

    .blog-topics {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }
}
/* =========================================================
   FAQ Section
   ========================================================= */

.home-faq {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 32%,
            rgba(105, 88, 234, 0.1),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(105, 88, 234, 0.02),
            transparent
        );
}

.home-faq::before {
    content: "";
    position: absolute;
    right: -200px;
    bottom: -220px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.08);
    filter: blur(105px);
    pointer-events: none;
}

.faq-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(320px, 0.78fr)
        minmax(0, 1.22fr);
    align-items: start;
    gap: 42px;
}

.faq-intro {
    position: sticky;
    top: calc(var(--header-height) + 28px);
}

.faq-intro h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.7px;
}

.faq-intro h2 span {
    display: block;
    color: var(--color-purple-light);
}

.faq-intro > p {
    margin: 17px 0 0;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 2;
}

.faq-intro__visual {
    position: relative;
    min-height: 245px;
    display: grid;
    place-items: center;
    margin: 27px 0 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(105, 88, 234, 0.19),
            transparent 46%
        ),
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.8),
            rgba(8, 8, 31, 0.92)
        );
}

.faq-intro__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );
    background-size: 30px 30px;
    pointer-events: none;
}

.faq-intro__logo {
    position: relative;
    z-index: 3;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin-bottom: 40px;
    border: 1px solid rgba(138, 124, 255, 0.25);
    border-radius: 22px;
    background: rgba(105, 88, 234, 0.1);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.24),
        0 0 35px rgba(105, 88, 234, 0.16);
}

.faq-intro__logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.faq-intro__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(138, 124, 255, 0.14);
    border-radius: 50%;
    transform: translate(-50%, -57%);
    animation: faq-orbit-rotate 15s linear infinite;
}

.faq-intro__orbit::before,
.faq-intro__orbit::after {
    content: "";
    position: absolute;
    border: 1px dashed rgba(138, 124, 255, 0.1);
    border-radius: 50%;
}

.faq-intro__orbit::before {
    inset: 23px;
}

.faq-intro__orbit::after {
    inset: 50px;
}

.faq-intro__orbit span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-purple-light);
    box-shadow: 0 0 16px rgba(138, 124, 255, 0.75);
}

.faq-intro__orbit span:nth-child(1) {
    top: 19px;
    right: 37px;
}

.faq-intro__orbit span:nth-child(2) {
    right: -4px;
    bottom: 68px;
}

.faq-intro__orbit span:nth-child(3) {
    bottom: 14px;
    left: 53px;
}

.faq-intro__message {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 17px;
    left: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(138, 124, 255, 0.18);
    border-radius: 13px;
    background: rgba(5, 5, 25, 0.72);
    text-align: center;
    backdrop-filter: blur(10px);
}

.faq-intro__message small {
    display: block;
    color: var(--color-text-muted);
    font-size: 9px;
}

.faq-intro__message strong {
    display: block;
    margin-top: 2px;
    font-size: 11px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.72),
            rgba(8, 8, 31, 0.88)
        );
    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 220ms ease;
}

.faq-item.is-open {
    border-color: rgba(138, 124, 255, 0.34);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(105, 88, 234, 0.06);
}

.faq-item.is-open::before {
    opacity: 1;
}

.faq-item__heading {
    margin: 0;
}

.faq-item__trigger {
    width: 100%;
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 19px 21px;
    background: transparent;
    color: #ffffff;
    text-align: right;
    cursor: pointer;
}

.faq-item__number {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.faq-item__question {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}

.faq-item__icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 12px;
    background: rgba(105, 88, 234, 0.07);
}

.faq-item__icon i {
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-purple-light);
    transition:
        opacity 200ms ease,
        transform 260ms ease;
}

.faq-item__icon i:last-child {
    transform: rotate(90deg);
}

.faq-item.is-open
.faq-item__icon i:last-child {
    opacity: 0;
    transform: rotate(180deg);
}

.faq-item__panel {
    overflow: hidden;
}

.faq-item__panel[hidden] {
    display: none;
}

.faq-item__answer {
    padding:
        0
        74px
        22px
        74px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__answer p {
    margin: 18px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 2;
}

.faq-item__answer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: var(--color-purple-light);
    font-size: 12px;
    font-weight: 700;
}

.faq-item__answer a span {
    transition: transform 180ms ease;
}

.faq-item__answer a:hover span {
    transform: translateX(-4px);
}

@keyframes faq-orbit-rotate {
    to {
        transform:
            translate(-50%, -57%)
            rotate(360deg);
    }
}

@media (max-width: 991px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .faq-intro {
        position: relative;
        top: auto;
    }

    .faq-intro__visual {
        max-width: 620px;
    }
}

@media (max-width: 767px) {
    .home-faq {
        padding: 72px 0;
    }

    .faq-intro h2 {
        font-size: clamp(29px, 8vw, 38px);
    }

    .faq-intro > p {
        font-size: 14px;
    }

    .faq-intro__visual {
        min-height: 230px;
    }

    .faq-item__trigger {
        min-height: 76px;
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 17px;
    }

    .faq-item__number {
        display: none;
    }

    .faq-item__question {
        font-size: 14px;
    }

    .faq-item__icon {
        width: 34px;
        height: 34px;
    }

    .faq-item__answer {
        padding:
            0
            17px
            19px;
    }

    .faq-item__answer p {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-intro__orbit {
        animation: none;
    }
}
/* =========================================================
   Final CTA Section
   ========================================================= */

.home-final-cta {
    position: relative;
    padding: 112px 0 92px;
    overflow: hidden;
}

.home-final-cta::before,
.home-final-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.home-final-cta::before {
    top: 5%;
    right: -190px;
    width: 500px;
    height: 500px;
    background: rgba(105, 88, 234, 0.13);
}

.home-final-cta::after {
    bottom: -260px;
    left: -190px;
    width: 520px;
    height: 520px;
    background: rgba(138, 124, 255, 0.08);
}

.final-cta-panel {
    --cta-pointer-x: 50%;
    --cta-pointer-y: 50%;

    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.06fr)
        minmax(420px, 0.94fr);
    align-items: center;
    gap: 52px;
    min-height: 570px;
    overflow: hidden;
    padding: 58px;
    border: 1px solid rgba(138, 124, 255, 0.25);
    border-radius: 32px;
    background:
        radial-gradient(
            circle at var(--cta-pointer-x) var(--cta-pointer-y),
            rgba(138, 124, 255, 0.13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            rgba(17, 17, 50, 0.94),
            rgba(6, 6, 28, 0.98)
        );
    box-shadow:
        0 42px 110px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.final-cta-panel__spotlight {
    position: absolute;
    z-index: 0;
    top: calc(var(--cta-pointer-y) - 170px);
    left: calc(var(--cta-pointer-x) - 170px);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.12);
    filter: blur(75px);
    pointer-events: none;
}

.final-cta-panel__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    mask-image:
        linear-gradient(
            110deg,
            rgba(0, 0, 0, 0.9),
            transparent 78%
        );
    pointer-events: none;
}

.final-cta-content,
.final-cta-visual {
    position: relative;
    z-index: 2;
}

.final-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 999px;
    background: rgba(105, 88, 234, 0.07);
    color: var(--color-purple-light);
    font-size: 12px;
    font-weight: 700;
}

.final-cta-eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 5px rgba(36, 199, 142, 0.1);
}

.final-cta-content h2 {
    max-width: 680px;
    margin: 22px 0 0;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -1px;
    text-wrap: balance;
}

.final-cta-content h2 span {
    display: block;
    margin-top: 5px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.final-cta-content > p {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 2;
}

.final-cta-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.final-cta-benefits li {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: #d2d1e2;
    font-size: 11px;
}

.final-cta-benefits li span {
    color: var(--color-success);
    font-weight: 900;
}

.final-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

.final-cta-visual {
    min-height: 440px;
    display: grid;
    place-items: center;
}

.final-cta-visual::before {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.25);
    filter: blur(75px);
    pointer-events: none;
}

.final-cta-orbit {
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(138, 124, 255, 0.15);
    border-radius: 50%;
    animation: final-cta-orbit 19s linear infinite;
}

.final-cta-orbit::before,
.final-cta-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.final-cta-orbit::before {
    inset: 38px;
    border: 1px dashed rgba(138, 124, 255, 0.12);
}

.final-cta-orbit::after {
    inset: 82px;
    border: 1px solid rgba(138, 124, 255, 0.1);
}

.final-cta-orbit span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-purple-light);
    box-shadow: 0 0 20px rgba(138, 124, 255, 0.8);
}

.final-cta-orbit span:nth-child(1) {
    top: 44px;
    right: 91px;
}

.final-cta-orbit span:nth-child(2) {
    right: -4px;
    bottom: 164px;
}

.final-cta-orbit span:nth-child(3) {
    bottom: 40px;
    left: 104px;
}

.final-cta-core {
    position: relative;
    z-index: 3;
    width: min(100%, 390px);
    overflow: hidden;
    border: 1px solid rgba(138, 124, 255, 0.26);
    border-radius: 23px;
    background:
        linear-gradient(
            145deg,
            rgba(18, 18, 54, 0.92),
            rgba(7, 7, 29, 0.97)
        );
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(18px);
}

.final-cta-core__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px;
    border-bottom: 1px solid var(--color-border);
}

.final-cta-core__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    direction: ltr;
}

.final-cta-core__brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.final-cta-core__brand div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.3;
}

.final-cta-core__brand small {
    color: var(--color-text-muted);
    font-size: 9px;
}

.final-cta-core__brand strong {
    font-size: 12px;
}

.final-cta-core__status {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(36, 199, 142, 0.08);
    color: var(--color-success);
    font-size: 9px;
    font-weight: 700;
}

.final-cta-flow {
    display: grid;
    padding: 20px;
}

.final-cta-flow__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--color-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.final-cta-flow__item.is-active {
    border-color: rgba(138, 124, 255, 0.3);
    background: rgba(105, 88, 234, 0.09);
}

.final-cta-flow__item > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(105, 88, 234, 0.12);
    color: var(--color-purple-light);
    font-size: 9px;
    font-weight: 800;
}

.final-cta-flow__item div {
    display: flex;
    flex-direction: column;
}

.final-cta-flow__item strong {
    font-size: 11px;
}

.final-cta-flow__item small {
    margin-top: 2px;
    color: var(--color-text-muted);
    font-size: 9px;
}

.final-cta-flow__line {
    width: 1px;
    height: 21px;
    margin-right: 29px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.final-cta-flow__line span {
    width: 100%;
    height: 55%;
    display: block;
    background: var(--gradient-primary);
    animation: final-cta-line 2.2s ease-in-out infinite;
}

.final-cta-core__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 18px;
    border-top: 1px solid var(--color-border);
    background: rgba(105, 88, 234, 0.035);
}

.final-cta-core__footer div {
    display: flex;
    flex-direction: column;
}

.final-cta-core__footer small {
    color: var(--color-text-muted);
    font-size: 8px;
}

.final-cta-core__footer strong {
    margin-top: 2px;
    font-size: 10px;
}

.final-cta-core__footer > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
}

.final-cta-floating {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 999px;
    background: rgba(8, 8, 33, 0.82);
    color: #d6d5e6;
    font-size: 10px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.final-cta-floating span {
    color: var(--color-success);
    font-weight: 900;
}

.final-cta-floating--one {
    top: 35px;
    right: -15px;
}

.final-cta-floating--two {
    bottom: 36px;
    left: -22px;
}

.final-contact-methods {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.final-contact-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 17px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 50, 0.72),
            rgba(8, 8, 31, 0.88)
        );
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background-color 200ms ease;
}

.final-contact-card:hover {
    border-color: rgba(138, 124, 255, 0.3);
    background: rgba(105, 88, 234, 0.07);
    transform: translateY(-3px);
}

.final-contact-card__icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 13px;
    background: rgba(105, 88, 234, 0.08);
    color: var(--color-purple-light);
}

.final-contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.final-contact-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.final-contact-card__content strong {
    font-size: 13px;
}

.final-contact-card__content small {
    margin-top: 2px;
    color: var(--color-text-muted);
    font-size: 10px;
}

.final-contact-card__arrow {
    color: var(--color-purple-light);
    transition: transform 180ms ease;
}

.final-contact-card:hover
.final-contact-card__arrow {
    transform: translateX(-4px);
}

@keyframes final-cta-orbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes final-cta-line {
    0% {
        transform: translateY(-110%);
    }

    50%,
    100% {
        transform: translateY(190%);
    }
}

@media (max-width: 1080px) {
    .final-cta-panel {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .final-cta-content {
        text-align: center;
    }

    .final-cta-content h2,
    .final-cta-content > p {
        margin-inline: auto;
    }

    .final-cta-benefits,
    .final-cta-actions {
        justify-content: center;
    }

    .final-cta-visual {
        width: min(620px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .home-final-cta {
        padding: 72px 0 84px;
    }

    .final-cta-panel {
        min-height: auto;
        gap: 38px;
        padding: 28px 20px;
        border-radius: 24px;
    }

    .final-cta-content h2 {
        margin-top: 18px;
        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.52;
    }

    .final-cta-content > p {
        font-size: 14px;
    }

    .final-cta-benefits {
        display: grid;
        grid-template-columns: 1fr;
    }

    .final-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .final-cta-actions .button {
        width: 100%;
    }

    .final-cta-visual {
        min-height: 390px;
    }

    .final-cta-orbit {
        width: 330px;
        height: 330px;
    }

    .final-cta-core {
        width: min(100%, 315px);
    }

    .final-cta-floating {
        max-width: 120px;
        padding: 7px 9px;
        font-size: 8px;
        white-space: normal;
        text-align: center;
    }

    .final-cta-floating--one {
        top: 16px;
        right: -4px;
    }

    .final-cta-floating--two {
        bottom: 20px;
        left: -3px;
    }

    .final-contact-methods {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .final-cta-visual {
        min-height: 350px;
    }

    .final-cta-orbit {
        width: 290px;
        height: 290px;
    }

    .final-cta-core {
        width: min(100%, 285px);
    }

    .final-cta-core__header {
        padding: 14px;
    }

    .final-cta-core__brand img {
        width: 41px;
        height: 41px;
    }

    .final-cta-flow {
        padding: 14px;
    }

    .final-cta-flow__item {
        padding: 11px;
    }

    .final-cta-floating {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .final-cta-orbit,
    .final-cta-flow__line span {
        animation: none;
    }
}
/* =========================================================
   Final CTA — Mobile Layout Fix
   ========================================================= */

@media (max-width: 767px) {
    .home-final-cta {
        padding: 72px 0 84px;
    }

    .final-cta-panel {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 28px 18px;
        border-radius: 24px;
    }

    .final-cta-content {
        min-width: 0;
        text-align: center;
    }

    .final-cta-eyebrow {
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .final-cta-content h2 {
        margin-top: 18px;
        font-size: clamp(29px, 8.2vw, 39px);
        line-height: 1.55;
        letter-spacing: -0.4px;
    }

    .final-cta-content > p {
        font-size: 14px;
        line-height: 2;
    }

    .final-cta-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .final-cta-benefits li {
        justify-content: center;
        border-radius: 12px;
    }

    .final-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .final-cta-actions .button {
        width: 100%;
    }

    /* بخش تصویری */

    .final-cta-visual {
        position: relative;
        width: 100%;
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 10px;
        padding-top: 28px;
        overflow: visible;
    }

    .final-cta-visual::before {
        inset: 5% 12% 24%;
        filter: blur(55px);
    }

    /* مدار پشت کارت */

    .final-cta-orbit {
        top: 0;
        left: 50%;
        width: min(84vw, 330px);
        height: min(84vw, 330px);
        translate: -50% 0;
        z-index: 0;
    }

    .final-cta-orbit::before {
        inset: 30px;
    }

    .final-cta-orbit::after {
        inset: 64px;
    }

    .final-cta-orbit span {
        width: 8px;
        height: 8px;
    }

    .final-cta-orbit span:nth-child(1) {
        top: 36px;
        right: 70px;
    }

    .final-cta-orbit span:nth-child(2) {
        right: -3px;
        bottom: 125px;
    }

    .final-cta-orbit span:nth-child(3) {
        bottom: 32px;
        left: 78px;
    }

    /* کارت اصلی */

    .final-cta-core {
        position: relative;
        z-index: 3;
        grid-column: 1 / -1;
        width: min(100%, 320px);
        margin: 0 auto 8px;
        border-radius: 21px;
    }

    .final-cta-core__header {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
        padding: 16px;
    }

    .final-cta-core__brand {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        direction: ltr;
    }

    .final-cta-core__brand img {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .final-cta-core__brand div {
        min-width: 0;
    }

    .final-cta-core__brand small,
    .final-cta-core__brand strong {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .final-cta-core__brand small {
        font-size: 8px;
    }

    .final-cta-core__brand strong {
        font-size: 11px;
    }

    .final-cta-core__status {
        align-self: flex-start;
        padding: 5px 9px;
        font-size: 8.5px;
    }

    .final-cta-flow {
        padding: 16px;
    }

    .final-cta-flow__item {
        padding: 12px;
    }

    .final-cta-flow__item > span {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .final-cta-flow__item strong {
        font-size: 12px;
    }

    .final-cta-flow__item small {
        font-size: 9px;
    }

    .final-cta-flow__line {
        margin-right: 29px;
    }

    .final-cta-core__footer {
        padding: 14px 16px;
    }

    /* Badgeها زیر کارت قرار می‌گیرند */

    .final-cta-floating {
        position: relative;
        inset: auto;
        z-index: 4;
        width: 100%;
        max-width: none;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 7px 8px;
        border-radius: 12px;
        font-size: 8.5px;
        line-height: 1.5;
        white-space: normal;
        text-align: center;
    }

    .final-cta-floating--one {
        grid-column: 1;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .final-cta-floating--two {
        grid-column: 2;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    /* روش‌های تماس */

    .final-contact-methods {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .final-contact-card {
        min-height: 82px;
    }
}

@media (max-width: 420px) {
    .final-cta-panel {
        padding: 25px 14px;
    }

    .final-cta-content h2 {
        font-size: clamp(28px, 8.5vw, 35px);
    }

    .final-cta-visual {
        gap: 8px;
        padding-top: 24px;
    }

    .final-cta-orbit {
        width: 285px;
        height: 285px;
    }

    .final-cta-orbit::before {
        inset: 27px;
    }

    .final-cta-orbit::after {
        inset: 58px;
    }

    .final-cta-core {
        width: min(100%, 295px);
    }

    .final-cta-core__header {
        padding: 14px;
    }

    .final-cta-core__brand img {
        width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .final-cta-flow {
        padding: 13px;
    }

    .final-cta-flow__item {
        padding: 11px;
    }

    .final-cta-core__footer {
        padding: 13px 14px;
    }

    .final-cta-core__footer strong {
        font-size: 9.5px;
    }

    .final-cta-floating {
        display: flex;
        min-height: 40px;
        padding: 6px;
        font-size: 7.8px;
    }
}
/* =========================================================
   Site Footer
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 84px 0 0;
    border-top: 1px solid var(--color-border);
    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 37, 0.98),
            rgba(4, 4, 20, 1)
        );
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            transparent 80%
        );
    pointer-events: none;
}

.site-footer__glow {
    position: absolute;
    top: -250px;
    right: 25%;
    width: 600px;
    height: 500px;
    border-radius: 50%;
    background: rgba(105, 88, 234, 0.11);
    filter: blur(120px);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.25fr)
        repeat(2, minmax(180px, 0.85fr))
        minmax(260px, 1fr);
    align-items: start;
    gap: 45px;
    padding-bottom: 62px;
}

.footer-brand__identity {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    direction: ltr;
}

.footer-brand__identity img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.footer-brand__identity div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.15;
}

.footer-brand__identity strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.7px;
}

.footer-brand__identity small {
    margin-top: 5px;
    color: var(--color-text-muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.footer-brand > p {
    max-width: 380px;
    margin: 20px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 2;
}

.footer-trust-list {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.footer-trust-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d3d2e3;
    font-size: 11px;
}

.footer-trust-list li span {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(36, 199, 142, 0.08);
    color: var(--color-success);
    font-size: 10px;
    font-weight: 900;
}

.footer-brand__button {
    margin-top: 23px;
}

.footer-column__title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.footer-column ul {
    display: grid;
    gap: 5px;
}

.footer-column li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.7;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.footer-column li a > span {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: rgba(138, 124, 255, 0.38);
    transition:
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.footer-column li a:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.footer-column li a:hover > span {
    background: var(--color-purple-light);
    box-shadow: 0 0 12px rgba(138, 124, 255, 0.7);
}

.footer-contact > p {
    margin: 0 0 16px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.9;
}

.footer-contact__methods {
    display: grid;
    gap: 9px;
}

.footer-contact__methods > a {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 11px;
    min-height: 64px;
    padding: 11px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.footer-contact__methods > a:hover {
    border-color: rgba(138, 124, 255, 0.3);
    background: rgba(105, 88, 234, 0.07);
    transform: translateY(-2px);
}

.footer-contact__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.2);
    border-radius: 12px;
    background: rgba(105, 88, 234, 0.07);
    color: var(--color-purple-light);
}

.footer-contact__icon svg {
    width: 20px;
    height: 20px;
}

.footer-contact__methods > a > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.footer-contact__methods strong {
    font-size: 11px;
}

.footer-contact__methods small {
    margin-top: 2px;
    color: var(--color-text-muted);
    font-size: 9px;
}

.footer-bottom {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 26px;
    border-top: 1px solid var(--color-border);
}

.footer-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 10px;
}

.footer-copyright strong {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
}

.footer-legal a {
    color: var(--color-text-muted);
    font-size: 10px;
    transition: color 180ms ease;
}

.footer-legal a:hover {
    color: var(--color-purple-light);
}

.footer-back-to-top {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 124, 255, 0.22);
    border-radius: 12px;
    background: rgba(105, 88, 234, 0.07);
    color: var(--color-purple-light);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.footer-back-to-top:hover {
    border-color: rgba(138, 124, 255, 0.4);
    background: rgba(105, 88, 234, 0.14);
    transform: translateY(-3px);
}

.footer-back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1180px) {
    .footer-main {
        grid-template-columns:
            minmax(280px, 1.2fr)
            repeat(2, minmax(170px, 0.8fr))
            minmax(250px, 1fr);
    }

    .footer-column:nth-of-type(3) {
        display: none;
    }
}

@media (max-width: 991px) {
    .site-footer {
        padding-top: 72px;
    }

    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 38px 28px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 680px;
    }

    .footer-contact__methods {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding:
            64px
            0
            calc(18px + 68px);
    }

    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 34px 18px;
        padding-bottom: 44px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand__identity {
        justify-content: center;
    }

    .footer-brand > p {
        margin-inline: auto;
        font-size: 12px;
    }

    .footer-trust-list {
        width: fit-content;
        margin-inline: auto;
        text-align: right;
    }

    .footer-brand__button {
        width: 100%;
    }

    .footer-column__title {
        font-size: 13px;
    }

    .footer-column li a {
        font-size: 11px;
    }

    .footer-contact {
        padding-top: 6px;
    }

    .footer-contact__methods {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
        gap: 18px;
        padding: 22px 0;
    }

    .footer-copyright {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        order: 3;
    }

    .footer-back-to-top {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 420px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-column:nth-of-type(3) {
        display: block;
    }

    .footer-column {
        padding-bottom: 18px;
        border-bottom: 1px solid var(--color-border);
    }

    .footer-contact {
        border-bottom: 0;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-copyright {
        align-items: center;
    }

    .footer-back-to-top {
        grid-column: 1;
        grid-row: auto;
        margin-inline: auto;
    }
}
/* =========================================================
   Estimator Contact & Submission
   ========================================================= */

.estimator-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.estimator-contact-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.estimator-contact-field {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.estimator-contact-field--full {
    grid-column: 1 / -1;
}

.estimator-contact-field > span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.estimator-contact-field > span i {
    color: #f18a98;
    font-style: normal;
}

.estimator-contact-field > span small {
    margin-right: 4px;
    color: var(--color-text-muted);
    font-size: 9px;
    font-weight: 400;
}

.estimator-contact-field input,
.estimator-contact-field textarea {
    width: 100%;
    outline: 0;
    border: 1px solid var(--color-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    color: #ffffff;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.estimator-contact-field input {
    height: 52px;
    padding: 0 14px;
}

.estimator-contact-field textarea {
    min-height: 115px;
    padding: 12px 14px;
    resize: vertical;
    line-height: 1.9;
}

.estimator-contact-field input:focus,
.estimator-contact-field textarea:focus {
    border-color: var(--color-purple-light);
    background: rgba(105, 88, 234, 0.05);
    box-shadow:
        0 0 0 4px rgba(105, 88, 234, 0.09);
}

.estimator-contact-field input.is-invalid {
    border-color: rgba(241, 118, 135, 0.65);
    box-shadow:
        0 0 0 4px rgba(241, 118, 135, 0.08);
}

.estimator-submit-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.8;
}

.estimator-submit-message[hidden] {
    display: none;
}

.estimator-submit-message.is-error {
    border: 1px solid rgba(241, 118, 135, 0.25);
    background: rgba(241, 118, 135, 0.08);
    color: #ffabb7;
}

.estimator-submit-message.is-success {
    border: 1px solid rgba(36, 199, 142, 0.25);
    background: rgba(36, 199, 142, 0.08);
    color: #73e0ba;
}

.estimator-result__request-id {
    display: block;
    margin-top: 4px;
    color: var(--color-purple-light);
    font-size: 9px;
}

.estimator-form.is-submitting {
    opacity: 0.78;
    pointer-events: none;
}

@media (max-width: 767px) {
    .estimator-contact-grid {
        grid-template-columns: 1fr;
    }

    .estimator-contact-field--full {
        grid-column: auto;
    }
/* =========================================================
   Dynamic services mega menu
   ========================================================= */

.mega-menu--dynamic {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 1340px;
    grid-template-columns:
        minmax(190px, 210px)
        repeat(
            var(--service-hub-count, 5),
            minmax(140px, 1fr)
        );
    gap: 14px;
    padding: 20px;
}

.mega-menu--dynamic .mega-menu__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    margin-bottom: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.mega-menu--dynamic .mega-menu__title::after {
    content: "←";
    color: var(--color-purple-light);
    font-size: 12px;
}

.mega-menu--dynamic .mega-menu__title:hover {
    background: rgba(105, 88, 234, 0.12);
}

.mega-menu__empty {
    display: block;
    padding: 9px;
    color: var(--color-text-muted);
    font-size: 11px;
    line-height: 1.9;
}

.mobile-submenu__all {
    margin-bottom: 8px;
    color: var(--color-purple-light) !important;
    font-weight: 700;
}

.mobile-service-group {
    border-top: 1px solid var(--color-border);
}

.mobile-service-group > summary {
    padding: 11px 0;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.mobile-service-group > summary::-webkit-details-marker {
    display: none;
}

.mobile-service-group > summary::after {
    content: "+";
    float: left;
    color: var(--color-purple-light);
}

.mobile-service-group[open] > summary::after {
    content: "−";
}

.mobile-service-group__links {
    display: grid;
    gap: 2px;
    padding: 0 12px 10px 0;
}

.mobile-service-group__links a {
    padding: 7px 0;
    color: var(--color-text-muted);
    font-size: 12px;
}

.mobile-service-group__hub {
    color: var(--color-purple-light) !important;
    font-weight: 700;
}

@media (max-width: 1280px) {
    .mega-menu--dynamic {
        right: 0;
        left: 0;
        width: 100%;
        grid-template-columns:
            minmax(175px, 195px)
            repeat(
                var(--service-hub-count, 5),
                minmax(120px, 1fr)
            );
        gap: 10px;
        padding: 16px 14px;
    }

    .mega-menu__intro {
        padding: 14px 12px;
    }

    .mega-menu__intro strong {
        font-size: 13.5px;
    }

    .mega-menu__intro p {
        font-size: 11px;
    }

    .mega-menu--dynamic .mega-menu__title {
        font-size: 12px;
        padding: 6px 7px;
    }

    .mega-menu__column a {
        font-size: 11.5px;
        padding: 5px 6px;
    }

    .mega-menu__column a.mega-menu__direct-link,
    .mega-menu__direct-link {
        font-size: 11.5px;
        padding: 6px 8px;
    }
}

@media (max-width: 1060px) {
    .mega-menu--dynamic {
        right: -120px;
        width: min(960px, calc(100vw - 24px));
        grid-template-columns:
            minmax(175px, 195px)
            repeat(
                var(--service-hub-count, 5),
                minmax(105px, 1fr)
            );
        gap: 8px;
        padding: 14px 10px;
    }
}x, 1.2fr)
            repeat(
                var(--service-hub-count, 3),
                minmax(130px, 1fr)
            );
    }
}