:root {
    --brand-navy: #2c3e50;
    --brand-navy-soft: #34495e;
    --brand-blue: #2196f3;
    --brand-blue-dark: #1976d2;
    --brand-canvas: #f5f7fa;
    --brand-soft: #ecf0f1;
    --brand-surface: #ffffff;
    --brand-text: #263238;
    --brand-muted: #6c757d;
    --brand-border: #dee2e6;
    --brand-green: #4caf50;
    --brand-amber: #fbc02d;
    --brand-red: #d32f2f;
    --brand-cyan: #4ba3b4;
    --brand-shadow: 0 18px 55px rgba(44, 62, 80, .12)
}

html,
body {
    max-width: 100%;
    overflow-x: hidden
}

body {
    color: var(--brand-text);
    background: var(--brand-surface)
}

body,
button,
input,
textarea,
select {
    font-family: Poppins, Arial, sans-serif
}

[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
    font-family: Cairo, Arial, sans-serif
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    padding: 10px clamp(18px, 5vw, 78px);
    color: #fff;
    background: var(--brand-navy);
    box-shadow: 0 4px 20px rgba(31, 45, 61, .2)
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none
}

.logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    padding: 3px;
    background: #fff;
    border-radius: 8px
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.brand-copy strong {
    font-size: 1.18rem;
    letter-spacing: .02em
}

.brand-copy small {
    margin-top: 3px;
    color: #dfe8ef;
    font-size: .72rem
}

nav ul {
    gap: 4px;
    list-style: none
}

nav ul li a,
.lang a {
    display: inline-block;
    margin: 0;
    padding: 10px 13px;
    color: #eef4f8;
    font-size: .95rem;
    font-weight: 500;
    border-radius: 4px;
    text-shadow: none
}

nav ul li a:hover,
.lang a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font-size: .95rem;
    text-shadow: none
}

.se {
    display: none
}

.lang {
    align-items: center
}

.lang a {
    margin: 0 2px
}

.lang span {
    color: rgba(255, 255, 255, .45)
}

#menu,
#close {
    color: #fff;
    font-size: 28px
}

.home {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    min-height: 680px;
    padding: 80px clamp(24px, 6vw, 100px);
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(33, 150, 243, .18), transparent 28%),
        linear-gradient(135deg, #fff 0%, #f4f8fc 62%, #eaf3fb 100%)
}

.home::before,
.home::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(33, 150, 243, .12);
    border-radius: 50%
}

.home::before {
    width: 420px;
    height: 420px;
    inset-inline-start: -240px;
    bottom: -260px
}

.home::after {
    width: 260px;
    height: 260px;
    inset-inline-end: -130px;
    top: -150px
}

.home .txt {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 680px;
    padding: 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--brand-blue-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 99px
}

.txt h1 {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(2.55rem, 4.5vw, 4.8rem);
    line-height: 1.14;
    letter-spacing: -.04em;
    text-shadow: none
}

[dir="rtl"] .txt h1 {
    letter-spacing: 0;
    line-height: 1.38
}

.txt h1 span {
    color: var(--brand-blue)
}

.txt p {
    max-width: 620px;
    margin-top: 24px;
    color: var(--brand-muted);
    font-size: 1.08rem;
    line-height: 1.9
}

.btns {
    display: flex;
    gap: 12px;
    margin-top: 34px
}

.prime,
.second {
    width: auto;
    min-width: 164px;
    margin: 0;
    padding: 14px 22px;
    color: #fff;
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    border-radius: 4px;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none
}

.second {
    color: var(--brand-navy);
    background: #fff;
    border-color: #c8d3dc
}

.prime:hover,
.second:hover {
    color: #fff;
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    box-shadow: 0 10px 24px rgba(33, 150, 243, .2)
}

.product-preview {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e2e9;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(44, 62, 80, .2);
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg)
}

[dir="rtl"] .product-preview {
    transform: perspective(1400px) rotateY(3deg) rotateX(1deg)
}

.preview-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px 18px;
    color: #fff;
    background: var(--brand-navy)
}

.preview-topbar > div {
    display: flex;
    flex: 1;
    flex-direction: column
}

.preview-topbar small {
    margin-top: 2px;
    color: #dce5eb;
    font-size: .72rem
}

.preview-topbar > i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px
}

.preview-logo {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--brand-blue-dark);
    background: #fff;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 800
}

.preview-body {
    display: grid;
    grid-template-columns: 62px 1fr;
    min-height: 430px;
    background: #f8fafc
}

.preview-sidebar {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 20px 10px;
    background: var(--brand-soft);
    border-inline-end: 1px solid var(--brand-border)
}

.preview-sidebar span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #72808b;
    border-radius: 4px
}

.preview-sidebar span.active {
    color: #fff;
    background: var(--brand-blue)
}

.preview-main {
    padding: 24px
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px
}

.preview-heading > div {
    display: flex;
    flex-direction: column
}

.preview-heading small {
    color: var(--brand-muted);
    font-size: .72rem
}

.preview-heading strong {
    color: var(--brand-navy);
    font-size: 1.1rem
}

.preview-heading button {
    padding: 8px 12px;
    color: #fff;
    background: var(--brand-blue);
    border: 0;
    border-radius: 4px;
    font-size: .72rem
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px
}

.preview-stats article {
    display: grid;
    grid-template-columns: 28px 1fr;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-inline-start: 4px solid var(--brand-blue);
    border-radius: 5px
}

.preview-stats article:nth-child(2) {
    border-inline-start-color: var(--brand-green)
}

.preview-stats article:nth-child(3) {
    border-inline-start-color: var(--brand-amber)
}

.preview-stats i {
    grid-row: 1 / 3;
    color: var(--brand-blue)
}

.preview-stats span {
    color: var(--brand-muted);
    font-size: .68rem
}

.preview-stats strong {
    margin-top: 4px;
    color: var(--brand-navy);
    font-size: 1.2rem
}

.preview-rows {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 6px
}

.preview-rows > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--brand-border)
}

.preview-rows > div:last-child {
    border-bottom: 0
}

.preview-rows p {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin: 0
}

.preview-rows p strong {
    color: var(--brand-text);
    font-size: .78rem
}

.preview-rows p small {
    margin-top: 3px;
    color: var(--brand-muted);
    font-size: .66rem
}

.preview-rows b {
    padding: 5px 8px;
    color: var(--brand-blue-dark);
    background: #e3f2fd;
    border-radius: 99px;
    font-size: .64rem
}

.status {
    width: 9px;
    height: 34px;
    border-radius: 99px
}

.status.blue { background: var(--brand-blue) }
.status.amber { background: var(--brand-amber) }
.status.green { background: var(--brand-green) }

.features,
.services,
.systems,
.about,
.contact {
    width: 100%;
    margin: 0;
    padding: 96px clamp(24px, 6vw, 96px);
    visibility: visible
}

.features,
.systems,
.contact {
    background: var(--brand-canvas)
}

.services,
.about {
    background: #fff
}

.section-head {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center
}

.section-head h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(2rem, 3.4vw, 3rem);
    letter-spacing: -.02em
}

.section-head .tw {
    color: var(--brand-blue);
    text-shadow: none
}

.section-head p {
    width: 100%;
    max-width: 680px;
    margin-top: 14px;
    color: var(--brand-muted);
    line-height: 1.9
}

.features > br,
.services > br,
.section-head > br {
    display: none
}

.boxes {
    max-width: 1220px;
    gap: 22px;
    margin: auto;
    justify-content: center;
    align-items: stretch
}

.features .wrapper {
    display: flex;
    flex: 1 1 300px;
    max-width: 380px
}

.feature-box {
    width: 100%;
    height: auto;
    min-height: 330px;
    margin: 0;
    padding: 40px 32px;
    justify-content: center;
    gap: 16px;
    color: var(--brand-text);
    background: #fff;
    border: 1px solid var(--brand-border);
    border-top: 4px solid var(--brand-blue);
    border-radius: 6px;
    box-shadow: 0 12px 36px rgba(44, 62, 80, .08)
}

.features .wrapper:nth-child(2) .feature-box { border-top-color: var(--brand-green) }
.features .wrapper:nth-child(3) .feature-box { border-top-color: var(--brand-amber) }

.gradient-border::after {
    display: none
}

.feature-box img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 6px;
    box-shadow: none
}

.feature-box h2,
.boxes h2 {
    color: var(--brand-navy)
}

.feature-box p,
.boxes p {
    color: var(--brand-muted);
    line-height: 1.8
}

.service {
    width: calc(50% - 12px);
    height: auto;
    min-height: 280px;
    margin: 0;
    padding: 34px;
    gap: 10px;
    color: var(--brand-text);
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 6px;
    box-shadow: 0 10px 32px rgba(44, 62, 80, .07)
}

.service:hover {
    transform: translateY(-5px);
    border-color: #a9cce7;
    box-shadow: var(--brand-shadow)
}

.service > i {
    width: 52px;
    height: 52px;
    color: #fff;
    background: var(--brand-blue);
    border-radius: 5px
}

.service h2 {
    padding-top: 6px;
    color: var(--brand-navy);
    font-size: 1.28rem;
    line-height: 1.5
}

.service p {
    color: var(--brand-muted);
    line-height: 1.8
}

.systems {
    background: var(--brand-navy)
}

.systems .section-head h2,
.systems .section-head p {
    color: #fff
}

.systems .section-head p {
    color: #d5e0e8
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1320px;
    margin: 0 auto 28px
}

.product-card {
    position: relative;
    display: flex;
    min-height: 460px;
    padding: 34px;
    overflow: hidden;
    flex-direction: column;
    color: var(--brand-text);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-top: 6px solid var(--brand-green);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2)
}

.product-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    inset-inline-end: -90px;
    bottom: -100px;
    background: rgba(76, 175, 80, .08);
    border-radius: 50%;
    pointer-events: none
}

.lawyer-product {
    border-top-color: var(--brand-amber)
}

.lawyer-product::after {
    background: rgba(251, 192, 45, .1)
}

.product-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px
}

.product-card-head > div {
    display: flex;
    flex: 1;
    flex-direction: column
}

.product-card-head small {
    color: var(--brand-muted);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.product-card-head h3 {
    margin-top: 2px;
    color: var(--brand-navy);
    font-size: 1.75rem;
    line-height: 1.2
}

.product-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: var(--brand-green);
    border-radius: 6px;
    font-size: 1.45rem
}

.lawyer-product .product-icon {
    background: #d89f0d
}

.product-badge {
    padding: 7px 10px;
    color: #2e7d32;
    background: #e8f5e9;
    border-radius: 99px;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap
}

.lawyer-product .product-badge {
    color: #8a6200;
    background: #fff8e1
}

.product-card > p {
    color: var(--brand-muted);
    line-height: 1.9
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #46545f;
    font-size: .86rem;
    line-height: 1.6
}

.product-features i {
    display: grid;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: var(--brand-green);
    border-radius: 50%;
    font-size: .58rem
}

.lawyer-product .product-features i {
    background: #d89f0d
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--brand-border)
}

.product-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    color: #fff;
    background: var(--brand-blue);
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none
}

.product-actions a:hover {
    background: var(--brand-blue-dark)
}

.product-actions span {
    color: var(--brand-muted);
    font-size: .76rem;
    text-align: end
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1320px;
    margin: 0 auto
}

.system-card {
    min-height: 290px;
    padding: 32px 26px;
    color: var(--brand-text);
    background: #fff;
    border: 0;
    border-top: 5px solid var(--brand-blue);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
}

.system-card:nth-child(2) { border-top-color: var(--brand-green) }
.system-card:nth-child(3) { border-top-color: var(--brand-amber) }
.system-card:nth-child(4) { border-top-color: var(--brand-cyan) }

.system-card:hover {
    transform: translateY(-7px);
    border-color: var(--brand-blue);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .22)
}

.system-card i {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    color: #fff;
    background: var(--brand-blue);
    border-radius: 5px
}

.system-card h3 {
    color: var(--brand-navy)
}

.system-card p {
    color: var(--brand-muted);
    line-height: 1.8
}

.system-card > span {
    color: rgba(44, 62, 80, .08)
}

.about-cont {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto
}

.about-cont div {
    width: auto;
    padding: 0
}

.kuwait {
    position: relative;
    padding: 12px !important;
    background: var(--brand-canvas);
    border: 1px solid var(--brand-border);
    border-radius: 8px
}

.kuwait::after {
    content: "";
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, transparent 55%, rgba(33, 150, 243, .25));
    border-radius: 5px;
    pointer-events: none
}

.kuwait img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(.8);
    border-radius: 5px;
    box-shadow: none
}

.about-us p {
    padding: 8px 0;
    color: var(--brand-muted);
    font-size: 1.04rem;
    line-height: 2
}

.about-us hr {
    border: 0;
    border-top: 1px solid var(--brand-border)
}

.news {
    max-width: 1180px;
    margin: 70px auto 0;
    padding: 46px 28px;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-navy), var(--brand-navy-soft));
    border-radius: 8px
}

.news h2 {
    padding: 0;
    color: #fff;
    font-size: 2rem
}

.news p {
    width: 100%;
    margin: 14px auto 26px;
    color: #dce6ed
}

.sub {
    display: flex;
    justify-content: center;
    margin: 0 auto
}

.sub input[type="email"],
.sub input[type="text"] {
    width: min(360px, 65vw);
    height: 52px;
    padding: 12px 16px;
    color: var(--brand-text);
    background: #fff;
    border: 1px solid #fff;
    border-radius: 4px 0 0 4px
}

[dir="rtl"] .sub input[type="email"],
[dir="rtl"] .sub input[type="text"] {
    border-radius: 0 4px 4px 0
}

.sub input[type="submit"] {
    height: 52px;
    margin: 0;
    padding: 12px 22px;
    color: #fff;
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    border-radius: 0 4px 4px 0
}

[dir="rtl"] .sub input[type="submit"] {
    border-radius: 4px 0 0 4px
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 34px;
    align-items: stretch;
    max-width: 1160px;
    margin: 0 auto
}

.contact .form,
.contact-brand-panel {
    width: auto;
    padding: 38px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(44, 62, 80, .08)
}

.contact form {
    margin: 0;
    padding: 0
}

.contact .input-container {
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cfd8df;
    border-radius: 4px
}

.contact form input,
.contact form textarea,
.contact form select {
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 13px 14px;
    color: var(--brand-text);
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.contact form textarea {
    height: 150px;
    resize: vertical
}

.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
    border: 0;
    outline: 0;
    box-shadow: none
}

.contact .input-container:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .12)
}

.contact .icon {
    display: grid;
    min-width: 48px;
    padding: 0;
    place-items: center;
    color: var(--brand-blue);
    background: #eef6fd;
    border-inline-start: 1px solid #d7e5f0
}

[dir="ltr"] .contact .icon {
    border-inline-start: 0;
    border-inline-end: 1px solid #d7e5f0
}

.send {
    width: 100%;
    margin-top: 6px;
    padding: 14px 22px;
    color: #fff;
    background: var(--brand-blue);
    border-radius: 4px
}

.send:hover {
    background: var(--brand-blue-dark);
    box-shadow: 0 10px 24px rgba(33, 150, 243, .22)
}

.tracking-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-blue-dark)
}

.contact-brand-panel {
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    background: var(--brand-navy);
    border-color: var(--brand-navy)
}

.contact-brand-panel .eyebrow {
    color: #8ec9f7
}

.contact-brand-panel h3 {
    color: #fff;
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    line-height: 1.45
}

.contact-brand-panel > p {
    margin-top: 18px;
    color: #d8e2e9;
    line-height: 1.9
}

.contact-brand-panel ul {
    display: grid;
    gap: 13px;
    margin-top: 26px;
    padding: 0;
    list-style: none
}

.contact-brand-panel li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eef4f7
}

.contact-brand-panel li i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #fff;
    background: var(--brand-green);
    border-radius: 50%;
    font-size: .68rem
}

.contact-direct {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 5px
}

.contact-direct > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--brand-blue);
    border-radius: 4px
}

.contact-direct span {
    display: flex;
    flex-direction: column;
    color: #bfcdd7;
    font-size: .78rem
}

.contact-direct strong {
    margin-top: 3px;
    color: #fff;
    font-size: .96rem
}

.form-status {
    display: block;
    margin-bottom: 14px;
    padding: 12px 14px;
    color: var(--brand-navy);
    background: #e3f2fd;
    border-inline-start: 4px solid var(--brand-blue);
    border-radius: 4px;
    list-style: none
}

.website-field {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important
}

footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr .8fr .9fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 64px clamp(24px, 6vw, 96px) 46px;
    color: #dce5eb;
    background: #22313f
}

footer .column,
footer .center {
    width: auto;
    padding: 0
}

footer .column {
    gap: 8px
}

footer .column h2,
footer .column h3,
footer .column h4,
footer .column p,
footer .column a {
    color: #dce5eb;
    text-align: start
}

footer .column h2 {
    color: #fff;
    font-size: 2rem
}

footer .tw {
    color: #64b5f6;
    text-shadow: none
}

footer .column p {
    line-height: 1.8
}

footer .icon,
footer .loc {
    padding: 0 8px;
    color: #64b5f6;
    background: transparent
}

.social {
    justify-content: flex-start
}

.social span {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 8px 0 0;
    padding: 0;
    place-items: center;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px
}

[dir="rtl"] .social span {
    margin: 0 0 0 8px
}

.social i {
    color: #fff;
    font-size: 1.15rem
}

.footer-links ul {
    padding: 0
}

.footer-links li {
    margin: 8px 0
}

footer .center {
    text-align: center
}

footer .center .logo {
    justify-content: center
}

footer .center .logo img {
    width: 74px;
    height: 74px
}

footer h4 {
    color: #b9c6cf;
    font-weight: 400;
    line-height: 1.7
}

@media (max-width: 1180px) {
    header {
        padding-inline: 24px
    }

    .brand-copy small {
        display: none
    }

    nav ul li a,
    .lang a {
        padding-inline: 8px;
        font-size: .84rem
    }

    .home {
        grid-template-columns: 1fr;
        padding-top: 70px
    }

    .home .txt {
        max-width: 780px
    }

    .product-preview {
        width: min(820px, 100%);
        margin: 0 auto;
        transform: none
    }

    [dir="rtl"] .product-preview {
        transform: none
    }

    .systems-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr))
    }

    footer {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 820px) {
    header {
        flex-wrap: wrap
    }

    #menu {
        display: block
    }

    nav {
        display: none;
        width: 100%;
        margin-top: 10px
    }

    nav ul,
    [dir="rtl"] nav ul {
        display: grid;
        grid-template-columns: 1fr;
        padding: 8px 0;
        background: var(--brand-navy-soft);
        border-radius: 4px
    }

    nav ul li {
        padding: 0
    }

    nav ul li a,
    .lang a {
        width: 100%;
        padding: 11px 14px
    }

    .lang {
        padding-inline: 10px
    }

    .home {
        min-height: auto;
        padding: 64px 22px
    }

    .txt h1 {
        font-size: clamp(2.3rem, 9vw, 3.7rem)
    }

    .preview-body {
        grid-template-columns: 52px 1fr
    }

    .preview-main {
        padding: 18px
    }

    .preview-stats {
        grid-template-columns: 1fr
    }

    .features,
    .services,
    .systems,
    .about,
    .contact {
        padding: 72px 22px
    }

    .service {
        width: 100%
    }

    .product-showcase {
        grid-template-columns: 1fr
    }

    .about-cont,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .contact-brand-panel {
        order: -1
    }
}

@media (max-width: 560px) {
    .logo img {
        width: 46px;
        height: 46px
    }

    .brand-copy strong {
        font-size: 1rem
    }

    .home {
        padding: 52px 16px
    }

    .txt p {
        font-size: .96rem
    }

    .btns {
        flex-direction: column
    }

    .prime,
    .second {
        width: 100%
    }

    .preview-topbar {
        min-height: 62px;
        padding: 10px 12px
    }

    .preview-topbar strong {
        font-size: .82rem
    }

    .preview-topbar small,
    .preview-heading small {
        display: none
    }

    .preview-body {
        grid-template-columns: 44px 1fr;
        min-height: 390px
    }

    .preview-sidebar {
        padding-inline: 5px
    }

    .preview-sidebar span {
        width: 34px;
        height: 34px
    }

    .preview-main {
        padding: 14px 10px
    }

    .preview-heading strong {
        font-size: .86rem
    }

    .preview-heading button {
        padding: 7px;
        font-size: .62rem
    }

    .preview-stats {
        gap: 8px
    }

    .preview-stats article {
        padding: 10px
    }

    .preview-rows > div {
        gap: 8px;
        padding: 11px 9px
    }

    .preview-rows p small,
    .preview-rows b {
        display: none
    }

    .features,
    .services,
    .systems,
    .about,
    .contact {
        padding: 58px 16px
    }

    .section-head {
        margin-bottom: 34px
    }

    .feature-box,
    .service,
    .system-card,
    .product-card,
    .contact .form,
    .contact-brand-panel {
        padding: 28px 22px
    }

    .systems-grid {
        grid-template-columns: 1fr
    }

    .product-card {
        min-height: 0
    }

    .product-card-head {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .product-badge {
        margin-inline-start: 72px
    }

    .product-features {
        grid-template-columns: 1fr
    }

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

    .product-actions a {
        justify-content: center
    }

    .product-actions span {
        text-align: center
    }

    .sub {
        align-items: stretch;
        flex-direction: column;
        gap: 8px
    }

    .sub input[type="email"],
    .sub input[type="text"],
    .sub input[type="submit"] {
        width: 100%;
        border-radius: 4px
    }

    footer {
        grid-template-columns: 1fr;
        padding: 48px 22px
    }

    footer .center {
        text-align: start
    }

    footer .center .logo {
        justify-content: flex-start
    }
}
